/* RESET E VARIÁVEIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #0B1A33;
    --navy-light: #1A2C4A;
    --gold: #C5A572;
    --gold-light: #E4D2B1;
    --white: #FFFFFF;
    --offwhite: #F5F7FA;
    --gray-light: #EFF1F5;
    --text-dark: #1E2B3C;
    --text-body: #2C3E50;
    --shadow-sm: 0 10px 30px -10px rgba(0,20,40,0.15);
    --shadow-hover: 0 20px 40px -15px rgba(0,20,40,0.25);
    --border-radius: 12px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background-color: var(--white);
    line-height: 1.5;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin-top: 0.5rem;
}

.section-subhead {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--navy-light);
    max-width: 700px;
    margin-bottom: 3rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER FIXO */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-menu a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
    padding-bottom: 4px;
}
.nav-menu a:hover,
.nav-menu a.active { /* Estilo para link ativo */
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--navy);
    cursor: pointer;
}

/* HERO SECTION (Geral e Simples) */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(11,26,51,0.03) 0%, rgba(197,165,114,0.05) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-logo img {
    height: 60px;
    width: auto;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.2rem;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.hero .highlight {
    color: var(--gold);
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    color: var(--navy-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

/* Estilos para Hero Simples em outras páginas */
.hero-simple {
    min-height: 50vh;
    padding-top: 120px;
    background: linear-gradient(135deg, rgba(11,26,51,0.03) 0%, rgba(197,165,114,0.05) 100%);
    display: flex; /* Para centralizar o conteúdo */
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-simple .container {
    display: block; /* Anula o grid para o hero simples */
    max-width: 800px;
}
.hero-simple h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.hero-simple p {
    font-size: 1.25rem;
    color: var(--navy-light);
    text-align: center;
    margin: 0 auto; /* Centraliza o parágrafo */
    max-width: 100%; /* Permite que o parágrafo ocupe a largura do container */
}


.cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: 1px solid transparent;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 10px 20px -8px rgba(11,26,51,0.3);
}
.btn-primary:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
    box-shadow: 0 20px 30px -10px var(--gold);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--navy);
    color: var(--navy);
}
.btn-secondary:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    height: 500px;
    background: url('../img/hero-bg.jpg') center/cover; /* Caminho ajustado */
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    border: 2px solid rgba(197,165,114,0.3);
}
.hero-image::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 1px solid var(--gold);
    border-radius: 40px;
    z-index: -1;
    opacity: 0.5;
}

/* elementos geométricos */
.shape {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid var(--gold);
    opacity: 0.1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -100px;
    right: -100px;
    z-index: 0;
}

/* SEÇÕES GERAIS */
section {
    padding: 6rem 0;
    position: relative;
}

.section-bg-light {
    background-color: var(--offwhite);
}

/* CARDS */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(197,165,114,0.1);
    position: relative;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}
.card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}
.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* seção duas colunas */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.text-block {
    font-size: 1.1rem;
    color: var(--text-body);
}
.text-block p {
    margin-bottom: 1.5rem;
}

.image-block {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    height: 400px;
    background: var(--navy-light); /* Fallback */
    /* Imagens de fundo para image-block devem ser definidas no HTML ou com classes específicas */
}

/* timeline */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.timeline-item {
    text-align: center;
    position: relative;
}
.timeline-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.4;
    line-height: 1;
}
.timeline-item h4 {
    font-size: 1.5rem;
    margin: 1rem 0 0.5rem;
}

/* ícones grid */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    text-align: center;
}
.icon-item {
    padding: 1.5rem;
    background: rgba(197,165,114,0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}
.icon-item:hover {
    background: var(--gold-light);
    transform: scale(1.02);
}
.icon-item i {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 1rem;
}

/* planos */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.plano-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    text-align: center;
    display: flex; /* Para alinhar o conteúdo verticalmente */
    flex-direction: column;
    justify-content: space-between; /* Empurra o botão para baixo */
}
.plano-card:hover {
    border-color: var(--gold);
    transform: scale(1.02);
}
.plano-card h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.plano-card ul { /* Estilos para as listas de planos */
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    text-align: left;
    flex-grow: 1; /* Permite que a lista ocupe o espaço disponível */
}
.plano-card ul li {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--text-body);
    position: relative;
    padding-left: 25px;
}
.plano-card ul li::before {
    content: "\f00c"; /* Ícone de check do Font Awesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--gold);
    position: absolute;
    left: 0;
    top: 0;
}
.plano-card .btn {
    margin-top: 1.5rem; /* Garante espaçamento do botão */
}


/* formulário minimalista */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin-top: 2rem;
}
.contact-form input, .contact-form textarea {
    padding: 1rem 1.5rem;
    border: 1px solid var(--gray-light);
    border-radius: 50px; /* Para inputs */
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background: var(--white);
}
.contact-form textarea {
    border-radius: var(--border-radius); /* Para textarea, menos arredondado */
    resize: vertical; /* Permite redimensionar verticalmente */
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197,165,114,0.2);
}
.contact-form button {
    align-self: flex-start;
}

/* footer */
footer {
    background: var(--navy);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}
footer small {
    opacity: 0.7;
}

/* ANIMAÇÕES SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* responsividade */
@media (max-width: 992px) {
    h2 { font-size: 2.5rem; }
    .hero h1 { font-size: 3.2rem; }
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .cta-group { justify-content: center; }
    .two-col { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr 1fr; }
    .planos-grid { grid-template-columns: 1fr; }

    /* Menu mobile */
    .nav-menu {
        display: none; /* Esconde o menu por padrão em telas menores */
        flex-direction: column;
        position: absolute;
        top: 70px; /* Abaixo do header */
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 1rem 0;
        border-top: 1px solid var(--gray-light);
    }
    .nav-menu.active {
        display: flex; /* Mostra o menu quando a classe 'active' é adicionada */
    }
    .nav-menu li {
        text-align: center;
        margin: 0.5rem 0;
    }
    .nav-menu a {
        padding: 10px 0;
        display: block;
        border-bottom: none; /* Remove a borda inferior para itens de menu mobile */
    }
    .nav-menu a:hover,
    .nav-menu a.active {
        background-color: var(--offwhite);
        color: var(--gold);
    }
    .menu-toggle {
        display: block; /* Mostra o ícone do menu em telas menores */
    }
    header { padding: 1rem; }
    .hero-logo img { margin-left: auto; margin-right: auto; }

    /* Ajustes para hero simples em mobile */
    .hero-simple h1 {
        font-size: 2.8rem;
    }
    .hero-simple p {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .timeline { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .hero-simple h1 {
        font-size: 2.2rem;
    }
    .container {
        padding: 0 1rem; /* Menor padding em telas muito pequenas */
    }
    .section-subhead {
        margin-bottom: 2rem;
    }
    .card-grid, .icon-grid {
        gap: 1rem;
    }
    .plano-card {
        padding: 2rem 1.5rem;
    }
    .contact-form {
        margin-top: 1rem;
    }
}