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

/* ==========================================================================
   VARIÁVEIS
   ========================================================================== */
:root {
    --gold: #d4a87a;
    --gold-light: #e8c99a;
    --gold-dark: #c4956a;
    --purple: #742670;
    --purple-light: #a03da0;
    --bg: #000000;
    --bg-surface: #0a0508;
    --bg-card: #0f0a0d;
    --text: #fff5e6;
    --text-muted: rgba(255, 245, 230, 0.6);
    --border: rgba(212, 168, 122, 0.2);
    --border-hover: rgba(212, 168, 122, 0.5);
}

/* ==========================================================================
   1. REGRAS GERAIS E CONFIGURAÇÕES DO BODY
   ========================================================================== */
body {
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    padding: 0;
}

p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   2. BOTÕES DE ACESSO
   ========================================================================== */
.top-access-btns {
    position: fixed;
    top: 14px;
    right: 18px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.access-btn {
    padding: 5px 14px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.78rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: none;
}
.access-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.4); }

.access-btn-login {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 2px;
    padding: 7px 20px;
}
.access-btn-login:hover {
    background: var(--gold);
    color: #0a0508;
}

.access-btn-cadastro {
    background: rgba(163, 78, 158, 0.15);
    border-color: rgba(163, 78, 158, 0.4);
    color: #c87fc3;
}
.access-btn-cadastro:hover { background: rgba(163, 78, 158, 0.3); }

.user-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3px 10px 3px 4px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.user-chip:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(163, 78, 158, 0.4); }

.user-avatar-mini {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(163, 78, 158, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: #c87fc3;
    overflow: hidden;
    flex-shrink: 0;
}
.user-avatar-mini img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

.user-chip-nome {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   3. HEADER COM BANNER E MENU
   ========================================================================== */
header.header-com-banner {
    position: relative !important;
    overflow: hidden !important;
    width: 100% !important;
    aspect-ratio: 1280 / 250 !important;
    padding: 0 !important;
    z-index: 1 !important;
    border-bottom: 1px solid rgba(163, 78, 158, 0.2) !important;
}

.header-bg-static {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
}

.header-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, rgba(10, 5, 8, 0.65), rgba(10, 5, 8, 0.35)) !important;
    z-index: 2 !important;
}

.header-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    padding: 20px 110px !important;
    box-sizing: border-box !important;
}

.header-content nav {
    width: auto !important;
    gap: 2.5rem !important;
    display: flex !important;
    justify-content: space-between !important;
    margin: 0 !important;
    margin-bottom: 5px !important;
    font-size: 20px !important;
}

nav a {
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 18px !important;
    letter-spacing: 0.2em !important;
    text-decoration: none !important;
    font-weight: bold !important;
    margin: 0 !important;
    transition: color 0.2s !important;
}

nav a:hover,
nav a.active {
    color: var(--gold) !important;
    text-decoration: none !important;
}

/* ==========================================================================
   4. PÁGINA DE CONTATO — CONTEÚDO PRINCIPAL
   ========================================================================== */

/* Título da seção */
.contato-title {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.8rem, 6vw, 5rem);
    color: var(--gold);
    margin: 3.5rem auto 0.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.1;
}

.contato-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 auto 3rem;
}

/* Linha ornamental */
.ornament-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 0 auto 3.5rem;
    max-width: 400px;
}

.ornament-line::before,
.ornament-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold-dark));
}

.ornament-line::after {
    background: linear-gradient(to left, transparent, var(--gold-dark));
}

.ornament-diamond {
    width: 6px;
    height: 6px;
    background: var(--gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* Grid de cards de contato */
.contato-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    text-align: left;
}

/* Card base */
.contato-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem 1.75rem;
    position: relative;
    transition: border-color 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.contato-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold-dark), var(--purple));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contato-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.contato-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    display: block;
    opacity: 0.8;
}

.card-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.card-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.card-value a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.2s;
}

.card-value a:hover {
    color: var(--gold-light);
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    font-style: italic;
}

/* ==========================================================================
   5. SEÇÃO GRUPO DO WHATSAPP
   ========================================================================== */
.whatsapp-section {
    max-width: 680px;
    margin: 0 auto 5rem;
    padding: 0 2rem;
}

.whatsapp-card {
    background: linear-gradient(135deg, #0a0f0a 0%, #0f150f 50%, #0a0f0a 100%);
    border: 1px solid rgba(37, 211, 102, 0.25);
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.whatsapp-card::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.45);
}

.whatsapp-badge {
    display: inline-block;
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #4ade80;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    padding: 4px 14px;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.whatsapp-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--text);
    margin: 0 0 1rem;
    line-height: 1.3;
}

.whatsapp-title em {
    font-style: italic;
    color: #4ade80;
}

.whatsapp-desc {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0 0 2rem;
    font-style: italic;
}

.whatsapp-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.perk-tag {
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.2);
    color: rgba(200, 240, 210, 0.8);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    padding: 5px 14px;
    font-family: 'Cormorant Garamond', serif;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #0a0f0a;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 36px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.25s ease;
}

.whatsapp-btn:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ==========================================================================
   6. FOOTER
   ========================================================================== */
.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #c4956a55, transparent);
}

.footer {
    background: #000000;
    color: rgba(255, 245, 230, 0.7);
    text-align: center;
    padding: 2rem 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.05em;
}

.social-media p {
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 0.4rem;
}

.social-media a {
    color: var(--purple);
    text-decoration: none;
    font-size: 15px;
    display: block;
    margin-bottom: 0.5rem;
}

.copyright p {
    font-size: 12px;
    opacity: 0.5;
    margin-top: 0.5rem;
}

/* ==========================================================================
   7. ANIMAÇÕES DE ENTRADA
   ========================================================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.contato-title     { animation: fadeUp 0.7s ease both; }
.contato-subtitle  { animation: fadeUp 0.7s 0.1s ease both; }
.ornament-line     { animation: fadeUp 0.7s 0.15s ease both; }
.contato-grid      { animation: fadeUp 0.7s 0.2s ease both; }
.whatsapp-section  { animation: fadeUp 0.7s 0.35s ease both; }

/* ==========================================================================
   8. RESPONSIVO
   ========================================================================== */
@media (max-width: 700px) {
    .header-content {
        padding: 20px 20px !important;
    }

    .header-content nav {
        width: 100% !important;
        font-size: 14px !important;
    }

    nav a {
        font-size: 13px !important;
        letter-spacing: 0.1em !important;
    }

    .contato-grid {
        grid-template-columns: 1fr;
        padding: 0 1.25rem;
    }

    .whatsapp-section {
        padding: 0 1.25rem;
    }

    .whatsapp-card {
        padding: 2rem 1.5rem;
    }
}

/* ==========================================================================
   MENU HAMBURGUER + RESPONSIVIDADE MOBILE (ADAPTADO)
   ========================================================================== */

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: rgba(10, 5, 8, 0.7);
    border: 1px solid rgba(163, 78, 158, 0.4);
    border-radius: 4px;
    cursor: pointer;
    z-index: 1100;
    position: fixed;
    top: 16px;
    left: 16px;
    transition: border-color 0.3s;
}
.hamburger-btn:hover { border-color: #a34e9e; }
.hamburger-btn span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: #d4a87a;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 5, 8, 0.6);
    z-index: 1050;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nav-overlay.visible { opacity: 1; }

/* Gaveta lateral */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 260px;
    background: #0f0610;
    border-right: 1px solid rgba(163, 78, 158, 0.2);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    padding: 0 0 40px;
    box-sizing: border-box;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0,0,0,0.5);
}

.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(to right, #7a12a3, #d4a87a, #7a12a3);
}

.mobile-drawer-logo {
    padding: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(163, 78, 158, 0.15);
    overflow: hidden;
    height: 100px;
    flex-shrink: 0;
}

.mobile-drawer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.mobile-drawer nav {
    display: flex;
    flex-direction: column !important;
    padding: 8px 24px 0 !important;
    gap: 0 !important;
    width: auto !important;
    font-size: unset !important;
    justify-content: unset !important;
    margin-bottom: 0 !important;
}

.mobile-drawer nav a {
    font-family: 'Cormorant Garamond', serif !important;
    font-size: 13px !important;
    letter-spacing: 0.25em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(163, 78, 158, 0.1) !important;
    transition: color 0.2s, padding-left 0.2s !important;
    display: block !important;
    margin: 0 !important;
}

.mobile-drawer nav a:last-child { border-bottom: none !important; }

.mobile-drawer nav a:hover,
.mobile-drawer nav a.active {
    color: #d4a87a !important;
    padding-left: 8px !important;
}

.mobile-drawer-access {
    margin-top: auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid rgba(163, 78, 158, 0.15);
}

.mobile-drawer-access .access-btn {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}


/* ── DRAWER USUÁRIA ── */
    .drawer-user-area {
        padding: 1rem 1.2rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        margin-bottom: 0.5rem;
    }
    .drawer-user-chip {
        display: flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }
    .drawer-user-avatar {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(163,78,158,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        color: #c87fc3;
        overflow: hidden;
        flex-shrink: 0;
    }
    .drawer-user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
    .drawer-user-info { display: flex; flex-direction: column; }
    .drawer-user-nome { font-size: 0.9rem; color: rgba(255,255,255,0.8); }
    .drawer-user-sub  { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
    .drawer-btn-sair {
        background: none;
        border: none;
        color: rgba(255,255,255,0.3);
        font-family: inherit;
        font-size: 0.78rem;
        cursor: pointer;
        padding: 0.5rem 0;
        text-align: left;
        transition: color 0.2s;
        width: 100%;
        margin-top: 0.4rem;
    }
    .drawer-btn-sair:hover { color: rgba(255,255,255,0.6); }

/* ==========================================================================
   MEDIA QUERIES — CONTATO
   ========================================================================== */
@media (max-width: 768px) {

    /* Header & Navbar */
    header.header-com-banner {
        aspect-ratio: unset !important;
        height: 90px !important;
    }
    .header-content {
        padding: 20px 20px !important;
    }
    .header-content nav { display: none !important; }

    .hamburger-btn { display: flex; }

    /* Grid de Contato adaptado para Mobile */
    .contato-grid {
        grid-template-columns: 1fr;
        padding: 0 1.25rem;
        margin-bottom: 3rem;
    }
    
    .contato-card {
        padding: 1.75rem 1.5rem;
    }

    /* Seção WhatsApp adaptada */
    .whatsapp-section {
        padding: 0 1.25rem;
        margin-bottom: 3.5rem;
    }

    .whatsapp-card {
        padding: 2.2rem 1.5rem;
    }

    .whatsapp-perks {
        gap: 0.4rem;
    }

    .perk-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    
    .whatsapp-btn {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        padding: 12px 24px;
    }
}

@media (max-width: 480px) {
    .contato-title {
        margin-top: 2.5rem;
    }
    .ornament-line {
        margin-bottom: 2.5rem;
    }
}