/* --- 1. DESIGN SYSTEM & VARIÁVEIS --- */
:root {
    /* Tema Claro (Padrão) */
    --color-bg-body: #FFFFFF;
    --color-bg-card: #EEEEEE;

    /* VOLTANDO AO ORIGINAL: Bege para contraste das seções */
    --color-bg-alt: #F5F5DC;

    --color-bg-white: #FFFFFF;

    /* Footer Modo Claro */
    --color-bg-footer: #2C2C2C;
    --color-text-footer: #E0E0E0;
    --color-footer-border: #444444;

    --color-text-main: #333333;
    --color-text-light: #666666;

    --color-accent-gold: #D4AF37;
    --color-accent-gold-dark: #b5952f;
    --color-whatsapp: #25D366;

    --shadow-card: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-text: 0 2px 5px rgba(0, 0, 0, 0.3);

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --spacing-container: 1200px;
    --transition: all 0.3s ease;
}

/* --- TEMA ESCURO --- */
[data-theme="dark"] {
    /* Preto Suave (Não é #000000) */
    --color-bg-body: #121212;
    --color-bg-white: #121212;
    /* Isso corrige o Header */

    --color-bg-footer: #0a0a0a;
    --color-bg-alt: #181818;
    --color-bg-card: #1E1E1E;

    /* Textos */
    --color-text-main: #E0E0E0;
    --color-text-light: #B0B0B0;
    --color-text-footer: #cccccc;
    --color-footer-border: #333;

    /* Cores de Ação */
    --color-accent-gold: #D4AF37;
    --color-accent-gold-dark: #F0C040;

    --shadow-card: 0 5px 15px rgba(0, 0, 0, 0.5);
    --shadow-text: none;
}

/* --- CORREÇÃO SCROLLBAR (BARRA PRETA) --- */
/* Isso força a barra de rolagem a ser clara, evitando o fundo preto */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #ffffff;
    /* Fundo do trilho branco */
}

::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 6px;
    border: 3px solid #ffffff;
}

[data-theme="dark"] ::-webkit-scrollbar-track {
    background: #121212;
    /* Fundo escuro no modo Dark */
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
    background-color: #444;
    border: 3px solid #121212;
}

/* --- RESET & BASICS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- UTILITIES --- */
.container {
    width: 90%;
    max-width: var(--spacing-container);
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-accent-gold);
    margin: 15px auto 0;
}

/* --- HERO SECTION --- */
#hero {
    height: 90vh;
    /* Altura padrão (Mobile e telas menores) */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            rgba(0, 0, 0, 0.3) 100%), url('../imagens/fotonadia.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    color: #ffffff;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    font-weight: 500;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 1), 0 0 5px rgba(0, 0, 0, 0.5);
}

/* --- SELO DESTAQUE --- */
.seal-container {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 1px;
}

.seal-badge {
    width: 130px;
    height: 130px;
    background-color: rgba(15, 15, 15, 0.85);
    border: 2px solid var(--color-accent-gold);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    animation: pulse-glow 2s infinite;
    position: relative;
    z-index: 10;
}

.seal-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-accent-gold);
    line-height: 1;
    margin-bottom: 15px;
    margin-top: -10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.plus-fix {
    position: relative;
    top: 3px;
    font-size: 0.9em;
}

.seal-text {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: #ffffff;
    text-transform: uppercase;
    font-weight: 660;
    letter-spacing: 1px;
    line-height: 1.3;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.6);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
        transform: scale(1);
    }
}

/* --- FLOATING WHATSAPP --- */
.float-wa {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-whatsapp);
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.float-wa:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
}

/* --- RESPONSIVIDADE & AJUSTES --- */

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .seal-container {
        margin-top: 35px;
    }

    .seal-badge {
        width: 140px;
        height: 140px;
    }

    .seal-number {
        font-size: 2rem;
    }
}

/* --- CORREÇÃO FINAL PARA IMAGEM 1920x1250 --- */
@media (min-width: 1024px) {
    #hero {
        /* A MÁGICA: Altura baseada na proporção da imagem (65% da largura) */
        /* Assim a foto cresce e diminui proporcionalmente sem cortar nada */
        height: 65vw !important;
        
        /* Segurança: não deixa ficar menor que 600px em notebooks pequenos */
        min-height: 600px !important; 

        /* Garante o enquadramento */
        background-position: center top !important;
        background-size: cover !important;
        
        /* Opcional: Removemos a largura fixa para ela encher a tela toda */
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    /* 2. ESPAÇAMENTOS MAIORES (SÓ PARA PC) */
    .hero-content h1 {
        margin-bottom: 35px; /* Mais espaço no título */
    }

    .hero-content p {
        margin-bottom: 50px; /* Mais espaço no texto/botão */
    }

    .seal-container {
        margin-top: 60px; /* Mais espaço no selo */
    }
}