/**
 * Main Stylesheet - CRA Ar Condicionado
 * Design System, Layout Fluido & Estilização do Funil Interativo
 * Desenvolvido por: Pedro Moret
 */

/* --------------------------------------------------------------------------
   1. Variáveis Globais & Resets (Design System Idêntico a Quem Somos)
   -------------------------------------------------------------------------- */
:root {
    /* Cores Principais */
    --primary-blue: #0A66C2;
    --primary-hover: #08519C;
    --primary-light: #EBF3FA;
    --accent-cyan: #38BDF8;
    --deep-navy: #061C3F;
    --ice-clean: #F8FAFC;

    /* Destaque / Conversão */
    --cta-red: #E53935;
    --cta-red-hover: #C62828;

    /* WhatsApp */
    --whatsapp-green: #25D366;
    --whatsapp-hover: #20BD5A;

    /* Neutros e Estrutura */
    --white: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --border-light: rgba(226, 232, 240, 0.8);

    /* Gradientes da Marca */
    --bg-gradient-soft: linear-gradient(180deg, #FFFFFF 0%, #F1F5F9 100%);
    --bg-gradient-hero: linear-gradient(135deg, #061C3F 0%, #0A66C2 100%);
    --accent-gradient: linear-gradient(135deg, #0A66C2 0%, #38BDF8 100%);

    /* Bordas e Raio */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    /* Sombras Elevadas */
    --shadow-sm: 0 2px 8px rgba(6, 28, 63, 0.04);
    --shadow-md: 0 8px 24px rgba(6, 28, 63, 0.06);
    --shadow-lg: 0 16px 32px rgba(6, 28, 63, 0.08);
    --shadow-xl: 0 24px 48px -12px rgba(6, 28, 63, 0.12);
    --shadow-hover: 0 20px 40px -10px rgba(10, 102, 194, 0.18);

    /* Transições de Alta Performance */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--ice-clean);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   2. Cabeçalho & Navegação Desktop (Glassmorphism & Identidade /quem-somos)
   -------------------------------------------------------------------------- */

.header-site {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #FFFFFF; /* Fundo totalmente branco opaco */
    border-bottom: 1px solid var(--border-light);
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.header-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 20px;
}

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    user-select: none;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.brand-logo:hover {
    transform: scale(1.02);
}

.brand-img {
    height: auto;
    max-height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* Navegação Desktop */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--deep-navy);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-link:hover {
    color: var(--primary-blue);
    background-color: var(--primary-light);
}

/* Dropdown no Desktop */
.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    transition: transform 0.25s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    list-style: none;
    padding: 10px 0;
    margin-top: 8px;
    z-index: 1010;
}

/* Ponte Invisível anti-perda de foco */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    width: 100%;
    height: 14px;
    background: transparent;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInDropdown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    display: block;
    padding: 11px 18px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background-color: var(--primary-light);
    color: var(--primary-blue);
    padding-left: 22px;
}

/* Botão CTA Header */
.btn-cta-header {
    background: linear-gradient(135deg, var(--cta-red) 0%, #D32F2F 100%);
    color: var(--white);
    padding: 11px 22px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.88rem;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.28);
    white-space: nowrap;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-cta-header:hover {
    background: linear-gradient(135deg, #EF5350 0%, var(--cta-red-hover) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(229, 57, 53, 0.4);
}

.menu-toggle {
    display: none;
}

/* --------------------------------------------------------------------------
   3. Estilização do Funil Interativo / Wizard (Estilo Card Moderno)
   -------------------------------------------------------------------------- */

/* Transição dos Passos */
.wizard-step {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    display: none;
}

.wizard-step.active {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

/* Grid de Opções (Cards) */
.options-grid {
    display: grid;
    gap: 14px;
    margin-top: 14px;
}

/* Botões em formato de Cards Premium */
.wizard-card-btn {
    background-color: var(--white);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    outline: none;
    user-select: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.wizard-card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.5px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

/* Efeito Hover nos Cards */
.wizard-card-btn:hover {
    border-color: rgba(10, 102, 194, 0.35);
    background-color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.wizard-card-btn:hover::before {
    opacity: 1;
}

/* Estado Selecionado do Card */
.wizard-card-btn.selected {
    border-color: var(--primary-blue);
    background: linear-gradient(180deg, #F0F7FF 0%, #E6F0FA 100%);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.22), var(--shadow-md);
    color: var(--primary-blue);
    font-weight: 700;
}

.wizard-card-btn.selected::before {
    opacity: 1;
}

/* Botão de Voltar */
.btn-wizard-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.btn-wizard-back:hover {
    color: var(--primary-blue) !important;
    background-color: var(--primary-light);
}

/* Select de Cidades Otimizado */
#select-municipio {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--white);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%3c0A66C2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
    cursor: pointer;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    outline: none;
    box-shadow: var(--shadow-sm);
}

#select-municipio:focus {
    border-color: var(--primary-blue) !important;
    box-shadow: 0 0 0 4px rgba(10, 102, 194, 0.15);
}

/* Botão do WhatsApp no Funil */
#btn-submit-whatsapp {
    background-color: var(--whatsapp-green) !important;
    transition: all var(--transition-fast);
}

#btn-submit-whatsapp:hover {
    background-color: var(--whatsapp-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.38) !important;
}

#btn-submit-whatsapp:active {
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   4. Comportamento Mobile / Tablet (Abaixo de 992px)
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    
    .menu-toggle {
        display: flex;
        align-items: center;
        gap: 8px;
        background-color: #F8FAFC;
        border: 1px solid var(--border-color);
        border-radius: 50px;
        cursor: pointer;
        padding: 8px 16px;
        line-height: 1;
        transition: all var(--transition-fast);
        outline: none;
        flex-shrink: 0;
    }

    .menu-toggle:hover {
        background-color: #F1F5F9;
        border-color: #CBD5E1;
    }

    .menu-toggle-text {
        color: var(--deep-navy);
        font-size: 0.85rem;
        font-weight: 800;
        letter-spacing: 0.8px;
        text-transform: uppercase;
    }

    .hamburger-lines {
        width: 20px;
        height: 14px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
    }

    .hamburger-lines span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: var(--deep-navy);
        border-radius: 2px;
        transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .hamburger-lines span:nth-child(2) {
        width: 65%;
    }

    .menu-toggle.active {
        border-color: rgba(229, 57, 53, 0.3);
        background-color: #FEF2F2;
    }

    .menu-toggle.active .menu-toggle-text {
        color: var(--cta-red);
    }

    .menu-toggle.active .hamburger-lines span {
        background-color: var(--cta-red);
    }

    .menu-toggle.active .hamburger-lines span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .menu-toggle.active .hamburger-lines span:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    .menu-toggle.active .hamburger-lines span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* Gaveta de Menu Mobile Floating Card */
    .main-nav {
        display: none;
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: 100%;
        max-width: 320px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px 16px;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-xl);
        border: 1px solid var(--border-light);
        z-index: 1000;
    }

    .main-nav.active {
        display: block !important;
        animation: fadeInMenu 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 6px;
    }

    .nav-menu li, .nav-dropdown {
        width: 100%;
    }

    .nav-link {
        display: flex;
        justify-content: space-between;
        width: 100%;
        font-size: 0.95rem;
        padding: 12px 14px;
        border-radius: var(--radius-sm);
    }

    /* Dropdown estático dentro da gaveta mobile */
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 10px;
        margin-top: 4px;
        display: block;
        background-color: #F8FAFC;
        border-radius: var(--radius-md);
    }

    .dropdown-item {
        padding: 10px 14px;
        font-size: 0.88rem;
    }

    .btn-cta-header {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        margin-left: 0;
        padding: 13px 20px;
    }
}

@keyframes fadeInMenu {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Celulares Menores */
@media (max-width: 576px) {
    .header-site {
        padding: 12px 14px;
    }

    .brand-img {
        max-height: 36px;
    }

    .menu-toggle {
        padding: 6px 12px;
    }

    .options-grid {
        grid-template-columns: 1fr !important;
    }

    .wizard-card-btn {
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px 18px;
        gap: 14px;
    }
}

@media (max-width: 380px) {
    .brand-img {
        max-height: 30px;
    }

    .menu-toggle-text {
        font-size: 0.72rem;
    }

    .menu-toggle {
        padding: 6px 8px;
        gap: 4px;
    }
}

/* ==========================================================
   SEÇÃO DE SERVIÇOS & CARDS (DESIGN ULTRA MODERNO & REFUSÃO)
   ========================================================== */

.services-section {
    width: 100%;
    padding: 85px 20px 95px;
    background: linear-gradient(180deg, #F8FAFC 0%, var(--ice-clean, #F1F5F9) 100%);
    position: relative;
}

/* Container interno para manter tudo no limite de 1200px centralizado */
.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Helper contra quebras indesejadas */
.nobreak {
    white-space: nowrap;
}

/* Cabeçalho da Seção */
.services-header {
    text-align: center;
    margin-bottom: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10, 102, 194, 0.07);
    border: 1px solid rgba(10, 102, 194, 0.18);
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 16px rgba(10, 102, 194, 0.06);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.services-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(10, 102, 194, 0.35);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background-color: var(--primary-blue, #0A66C2);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-blue, #0A66C2);
}

.services-subtitle {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary-blue, #0A66C2);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.services-title {
    font-size: clamp(2rem, 3.8vw, 2.6rem);
    color: var(--text-dark, #0F172A);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.6px;
    max-width: 850px;
    text-wrap: balance;
}

.highlight-title {
    background: linear-gradient(135deg, var(--primary-blue, #0A66C2) 0%, #084B8F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.header-divider {
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue, #0A66C2) 0%, var(--accent-cyan, #38BDF8) 100%);
    border-radius: 4px;
    margin: 20px 0 18px 0;
}

.services-desc {
    color: #475569;
    font-size: clamp(0.98rem, 1.8vw, 1.1rem);
    max-width: 720px;
    line-height: 1.7;
    margin: 0;
    text-wrap: pretty;
}

/* Grid de Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Individual com Glassmorphism e Iluminação */
.service-card {
    background: var(--glass-bg, rgba(255, 255, 255, 0.85));
    border-radius: 20px;
    border: 1px solid var(--glass-border-light, rgba(10, 102, 194, 0.12));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(10, 37, 64, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Borda luminosa superior ativada no Hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue, #0A66C2), var(--accent-cyan, #38BDF8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    background: #FFFFFF;
    border-color: rgba(10, 102, 194, 0.25);
    box-shadow: 0 16px 36px -6px rgba(10, 37, 64, 0.12), 0 4px 12px -2px rgba(10, 102, 194, 0.08);
}

.service-card:hover::before {
    opacity: 1;
}

/* Cabeçalho do Card */
.service-card-header {
    padding: 24px 28px 16px 28px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
}

.service-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--primary-blue, #0A66C2);
    background: #EFF6FF;
    border: 1px solid rgba(10, 102, 194, 0.18);
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Corpo do Card */
.service-card-body {
    padding: 26px 28px;
    flex-grow: 1;
}

.service-card-title {
    font-size: 1.3rem;
    color: var(--text-dark, #0F172A);
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* Lista de Recursos com Checkmark Azul (Estilo Guia de Referência) */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 14px;
    font-size: 0.94rem;
    color: #334155;
    line-height: 1.55;
    font-weight: 600;
}

.service-list li:last-child {
    margin-bottom: 0;
}

/* Checkmark em Círculo Azul idêntico aos chips da referência */
.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: var(--primary-blue, #0A66C2);
    border-radius: 50%;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 11px;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / 11px;
    box-shadow: 0 2px 6px rgba(10, 102, 194, 0.25);
    transition: transform 0.25s ease;
}

.service-card:hover .service-list li::before {
    transform: scale(1.08);
}

/* Rodapé do Card com Botão CTA Red */
.service-card-footer {
    padding: 0 28px 28px 28px;
}

.btn-service-action {
    background: linear-gradient(135deg, var(--cta-red, #E53935) 0%, #D32F2F 100%);
    color: var(--white, #FFFFFF);
    text-align: center;
    padding: 13px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    display: block;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.28);
}

.btn-service-action:hover {
    background: linear-gradient(135deg, #EF5350 0%, #C62828 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(229, 57, 53, 0.4);
}

/* ==========================================================
   RESPONSIVO
   ========================================================== */

@media (max-width: 768px) {
    .services-section {
        padding: 56px 18px 75px;
    }
    
    .services-header {
        margin-bottom: 42px;
    }

    .service-card-header,
    .service-card-body,
    .service-card-footer {
        padding-left: 22px;
        padding-right: 22px;
    }
}

/* ==========================================================
   HERO SECTION (PADRÃO ULTRA MODERNO & REFUSÃO DE ESTILO)
   ========================================================== */

.hero-section {
    position: relative;
    overflow: hidden;
    /* Fundo em radial-gradient para criar profundidade e reflexo central de luz */
    background: radial-gradient(circle at 50% 0%, #123A63 0%, #0A2540 50%, var(--deep-navy, #061C3F) 100%);
    color: var(--white, #FFFFFF);
    padding: 85px 20px 95px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    left: -50%;
    top: -50%;
    /* Aura cyan suave iluminando o topo da seção */
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -100px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05), transparent 72%);
    pointer-events: none;
}

/* Helper para impedir quebra de termos compostos */
.nobreak {
    white-space: nowrap;
}

/* ==========================================================
   CONTAINER DA HERO
   ========================================================== */

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 880px;
    margin: 0 auto;
}

/* ==========================================================
   BADGE DE AUTORIDADE (GLASSMORPHISM & HOVER CUBIC-BEZIER)
   ========================================================== */

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 20px;
    margin-bottom: 24px;
    border-radius: 50px;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.hero-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.4);
}

.hero-badge-icon {
    color: var(--accent-cyan, #38BDF8);
    flex-shrink: 0;
    font-size: 0.85rem;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.5));
}

.hero-badge-text {
    color: var(--accent-cyan, #38BDF8);
    font-size: clamp(0.72rem, 1.5vw, 0.82rem);
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* ==========================================================
   CREDENCIAL INSTITUCIONAL — SELO CFT PREMIUM
   ========================================================== */

.hero-cft-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    margin: 0 auto 28px auto;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.03) 100%);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cft-badge:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.7);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

/* Tag/Micro-Selo Dourado com a sigla CFT */
.cft-tag {
    background: linear-gradient(135deg, #F3D068 0%, #B88E14 100%);
    color: #0B132B;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.6px;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
}

/* Texto do Registro */
.hero-cft-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: clamp(0.72rem, 1.6vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 1;
    color: #F8EFBA;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Ícone de Escudo / Verificação */
.hero-cft-check {
    width: 14px;
    height: 14px;
    color: #F3D068;
    flex-shrink: 0;
}

/* ==========================================================
   RESPONSIVO — CREDENCIAL CFT
   ========================================================== */

@media (max-width: 640px) {
    .hero-cft-badge {
        padding: 5px 14px 5px 5px;
        margin-bottom: 22px;
        gap: 8px;
    }

    .cft-tag {
        font-size: 0.62rem;
        padding: 3px 8px;
    }

    .hero-cft-text {
        font-size: 0.7rem;
    }

    .hero-cft-check {
        width: 12px;
        height: 12px;
    }
}

/* ==========================================================
   H1 & DESCRIÇÃO (GRADIENTE DE TEXTO E TIPOGRAFIA DE IMPACTO)
   ========================================================== */

.hero-title {
    font-size: clamp(2.1rem, 4.5vw, 2.9rem); 
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    color: #FFFFFF;
    margin-bottom: 22px;
    text-wrap: balance; 
    word-break: normal;
    overflow-wrap: break-word;
}

/* Texto Gradiente Cyan Luminoso */
.highlight-cyan {
    background: linear-gradient(135deg, #38BDF8 0%, #7DD3FC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(56, 189, 248, 0.3));
}

.hero-desc {
    max-width: 760px;
    margin: 0 auto;
    color: #E2E8F0;
    font-size: clamp(1.025rem, 2.2vw, 1.18rem); 
    line-height: 1.7;
    font-weight: 400;
    text-wrap: pretty; 
}

/* ==========================================================
   MÉTRICAS / PROVA SOCIAL (CARD VIDRO TRANSLÚCIDO)
   ========================================================== */

.hero-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 40px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px 0 rgba(10, 37, 64, 0.15);
    width: 100%;
    box-sizing: border-box;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 0;
}

.stat-number {
    font-size: clamp(1.2rem, 2.2vw, 1.5rem); 
    font-weight: 800;
    color: var(--accent-cyan, #38BDF8);
    line-height: 1.1;
    white-space: nowrap;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.stat-label {
    font-size: 0.72rem;
    color: #CBD5E1;
    font-weight: 700;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    flex-shrink: 0;
}

/* ==========================================================
   RESPONSIVO / MOBILE (AJUSTES DE ESPAÇAMENTO E CARD VIDRO)
   ========================================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 18px 70px;
    }

    .hero-stats-grid {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .stat-item {
        width: 100%;
    }

    .stat-number {
        font-size: 1.3rem;
        white-space: nowrap;
    }

    .stat-label {
        font-size: 0.75rem;
        white-space: nowrap;
        letter-spacing: 0.5px;
    }

    .stat-divider {
        width: 70%;
        height: 1px;
        background: rgba(255, 255, 255, 0.12);
    }
}

/* ==========================================================
   FLOCOS DE NEVE
   ========================================================== */

.snow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -30px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 2rem;
    user-select: none;
    animation: fall linear infinite;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.4));
}

.snowflake:nth-child(1) { left: 8%;  animation-duration: 9s;  animation-delay: 0s;   opacity: 0.5; }
.snowflake:nth-child(2) { left: 22%; animation-duration: 12s; animation-delay: 2s;   opacity: 0.6; }
.snowflake:nth-child(3) { left: 38%; animation-duration: 10s; animation-delay: 1s;   opacity: 0.4; }
.snowflake:nth-child(4) { left: 58%; animation-duration: 13s; animation-delay: 0.5s; opacity: 0.5; }
.snowflake:nth-child(5) { left: 72%; animation-duration: 11s; animation-delay: 3s;   opacity: 0.4; }
.snowflake:nth-child(6) { left: 85%; animation-duration: 14s; animation-delay: 1.5s; opacity: 0.3; }
.snowflake:nth-child(7) { left: 94%; animation-duration: 15s; animation-delay: 4s;   opacity: 0.5; }

@keyframes fall {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(105vh) rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .snowflake {
        animation: none;
        display: none;
    }
}

/* ==========================================================
   NOWRAP
   ========================================================== */

.nowrap {
    white-space: nowrap;
    display: inline-block;
}