/*
Theme Name: Marketing Tema Feminino Escuro
Theme URI: http://seudominio.com
Author: Thiago
Author URI: http://seudominio.com
Description: Tema premium, elegante e dark com toques de vermelho para marketing.
Version: 1.0.0
Text Domain: marketing-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Montserrat:wght@300;400;500&display=swap');

:root {
    --bg-color: #0d0d0d;
    --text-color: #f7f7f7;
    --primary-color: #d32f2f; /* Vermelho rubi/elegante */
    --primary-hover: #b71c1c;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Layout Variables */
    --section-padding: 100px 0;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 30px; /* Bordas arredondadas e femininas */
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    background-color: var(--bg-color); /* Fundo sólido para fixar se quiser */
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    margin-bottom: 0; /* Removendo margem pois agora está em flex */
    flex-shrink: 0;
}

/* Garante que o logotipo não fique distorcido e tenha um fundo leve se for camuflado */
.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    width: auto !important;
    max-width: 280px;
    height: auto !important;
    max-height: 90px;
    object-fit: contain; /* Impede esticamento ou achatamento sob qualquer circunstância */
    background: transparent;
    padding: 0;
    border-radius: 0;
    /* Caso a palavra preta suma muito no fundo preto, use filter: drop-shadow(0px 0px 4px rgba(255,255,255,0.7)); mas por padrão deixaremos totalmente natural */
}

.site-title {
    font-size: 32px;
    margin-bottom: 15px;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-navigation a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Standard Layout */
.site-content {
    padding: 60px 0;
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 48px;
    color: var(--primary-color);
    font-style: italic;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    border: 1px solid var(--border-color);
    padding: 40px;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

/* Oportunidades List */
.jobs-list {
    max-width: 800px;
    margin: 0 auto;
}

.job-item {
    border-bottom: 1px solid var(--border-color);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-item:last-child {
    border-bottom: none;
}

.job-title {
    font-size: 22px;
    margin-bottom: 5px;
}

.job-meta {
    font-size: 14px;
    color: #999;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
    text-align: center;
    font-size: 14px;
    color: #777;
    background-color: var(--bg-color);
}

/* --- HOME PAGE STYLES --- */

/* Hero */
.hero-section {
    position: relative;
    padding: 15vh 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(211, 47, 47, 0.1) 0%, rgba(13, 13, 13, 1) 70%);
}

.hero-title {
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.highlight-red {
    color: var(--primary-color);
    font-style: italic;
}

.hero-subtitle {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #cccccc;
    font-weight: 300;
}

/* Sections */
.pillars-section {
    padding: var(--section-padding);
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-heading h2 {
    font-size: 36px;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

/* Buttons */
.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--text-color);
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* About Teaser */
.about-teaser {
    background-color: #111111;
    padding: var(--section-padding);
}

.about-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 42px;
    line-height: 1.2;
}

.about-text p {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 30px;
}

.about-image-placeholder {
    flex: 1;
    display: flex;
    justify-content: center;
}

.image-frame {
    width: 350px;
    height: 450px;
    border: 1px solid var(--border-color);
    border-radius: 150px 150px 0 0; /* Arco delicado */
    position: relative;
    background: linear-gradient(to bottom, rgba(211,47,47,0.05), transparent);
}

.image-frame::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--primary-color);
    border-radius: 150px 150px 0 0;
    z-index: -1;
}

/* CTA Banner */
.cta-banner {
    padding: var(--section-padding);
    text-align: center;
    background: linear-gradient(rgba(13,13,13,0.95), rgba(13,13,13,0.95)), url('assets/images/hero_bg.png') center/cover;
}

.cta-banner h2 {
    font-size: 42px;
}

.cta-banner p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-flex {
        flex-direction: column;
    }
    .hero-title {
        font-size: 42px;
    }
    .image-frame {
        width: 100%;
        max-width: 300px;
        height: 400px;
    }
}

/* --- CHECKOUT PAGE STYLES --- */
.checkout-box {
    background-color: #111111;
    border: 1px solid rgba(211, 47, 47, 0.4);
    border-radius: 12px;
    padding: 50px;
    max-width: 600px;
    margin: 0 auto 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(211, 47, 47, 0.05);
}

.checkout-box form, .checkout-box .simulated-checkout {
    /* Reseta estilos base caso o plugin tente quebrar o CSS */
    color: #fff;
    text-align: center;
}

.cart-summary {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.05);
}

.cart-summary-header {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cart-item-info h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.cart-item-info p {
    font-size: 13px;
    color: #aaa;
    max-width: 250px;
}

.cart-item-price {
    font-size: 22px;
    font-weight: 500;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 18px;
    font-weight: bold;
}

/* --- USER MENU DROPDOWN --- */
.user-menu-wrapper {
    position: relative;
    margin-left: 20px;
    flex-shrink: 0;
}

.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 5px 14px 5px 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.user-menu-toggle:hover {
    border-color: var(--primary-color);
}

.user-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name-mini {
    color: #ccc;
    font-size: 13px;
    font-weight: 400;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 260px;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 9999;
    overflow: hidden;
}

.user-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.user-avatar-dropdown {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.user-dropdown-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
}

.user-dropdown-item {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #ccc;
    transition: all 0.2s ease;
}

.user-dropdown-item:hover {
    background: rgba(211,47,47,0.1);
    color: #fff;
}

.user-dropdown-logout {
    color: #ff5555;
}

.user-dropdown-logout:hover {
    background: rgba(255,85,85,0.1);
    color: #ff3333;
}

/* --- PROFILE PAGE STYLES --- */
.profile-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.profile-form-group label {
    display: block;
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #222;
    color: #fff;
    font-size: 15px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.profile-form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.profile-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

@media (max-width: 768px) {
    .user-name-mini {
        display: none;
    }
    .user-menu-toggle {
        padding: 4px;
        border-radius: 50%;
    }
    .user-dropdown {
        right: -10px;
        width: 240px;
    }
}