/* =========================================
   RESET & VARIÁVEIS DE DESIGN
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #F8F7F5;
    --bg-card: #FFFFFF;
    --text-primary: #1A1A1A;
    --text-muted: #666666;
    --accent-gold: #C9C388;
    --border-color: #E5E5E0;
    --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

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

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

/* =========================================
   HEADER & CABEÇALHO
========================================= */
.header {
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo span {
    color: var(--text-muted);
    font-weight: 400;
}

/* Esconde o botão de 3 riscos definitivamente */
.menu-toggle {
    display: none !important;
}

/* Navegação Visível Continuamente */
.navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 20px;
    width: 100%;
}

.navigation a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0;
}

.navigation a:hover,
.navigation a.active {
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-gold);
}

/* Botões */
.header-button, .button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--text-primary);
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 6px;
    border: 1px solid var(--text-primary);
    cursor: pointer;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.header-button:hover, .button-primary:hover {
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--text-primary) !important;
}

/* =========================================
   LAYOUT DESKTOP (Telas Maiores que 868px)
========================================= */
@media (min-width: 869px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .navigation {
        width: auto;
        gap: 24px;
    }

    .header-button {
        width: auto;
    }
}

/* =========================================
   HERO & CONTEÚDO PRINCIPAL
========================================= */
.hero {
    padding: 60px 0 40px 0;
}

.small-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hero h1 span {
    display: block;
    color: var(--text-muted);
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 28px;
}

.section {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 800;
}

.section-title p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Grid de Cards */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
}

.card-number {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.5;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer p {
    color: var(--text-muted);
    font-size: 14px;
}
