:root {
    /* Sistema de Cores */
    --primary: #FF7A1A;
    --primary-dark: #E56A0F;
    --primary-light: rgba(255, 122, 26, 0.08);
    --success: #10B981;
    --error: #EF4444;
    
    /* Sistema de Neutros */
    --dark: #202020;
    --darker: #121212;
    --gray: #3C3C3C;
    --gray-light: #666666;
    --gray-lighter: #F8F8F8;
    --white: #FFFFFF;
    
    /* Sistema de Texto */
    --text-primary: #202020;
    --text-secondary: #3C3C3C;
    --text-light: #666666;
    --text-on-dark: #FFFFFF;
    
    /* Sistema de Espaçamento */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    
    /* Sistema de Bordas */
    --border: 1px solid #EAEAEA;
    --border-dark: 1px solid #333333;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 999px;
    
    /* Sistema de Transições */
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
    
    /* Sistema de Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-primary: 0 4px 12px rgba(255, 122, 26, 0.15);
    --shadow-primary-lg: 0 8px 25px rgba(255, 122, 26, 0.2);
    --shadow-overlay: 0 0 0 100vmax rgba(0, 0, 0, 0.5);
    
    /* Sistema de Alturas */
    --header-height: 88px; /* Aumentado de 80px */
    --header-height-mobile: 76px; /* Aumentado de 72px */
    --hero-bg-image: url('assets/image/banners/hero-bg.jpg');
    --cta-bg-image: url('assets/image/banners/cta-bg.jpg');
    --legal-bg-image: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--white);
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

/* ======================== */
/* OBJETIVO 1: CONTAINER MAIS LARGO (1500px) */
/* OBJETIVO 3: GRID/CONTAINER mais largo */
/* ======================== */

.container {
    max-width: 1500px; /* ATUALIZADO: 1200px → 1500px */
    margin: 0 auto;
    padding: 0 clamp(var(--space-sm), 3vw, var(--space-md));
    width: 100%;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(var(--space-sm), 3vw, var(--space-md));
    width: 100%;
}

/* Sistema de Tipografia Responsiva */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    line-height: 1.3;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.4;
}

.text-lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-secondary);
}

.text-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-small {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-light);
}

/* Sistema de Seções com scroll-margin para header fixo */
.section {
    padding: clamp(var(--space-lg), 6vw, var(--space-xxl)) 0;
    width: 100%;
    scroll-margin-top: calc(var(--header-height) + 20px);
}

/* Âncoras específicas para ajuste do header fixo */
#problema,
#solucao,
#funcionalidades,
#depoimentos,
#cotacao,
#faq {
    scroll-margin-top: calc(var(--header-height) + 20px);
}

@media (max-width: 768px) {
    .section,
    #problema,
    #solucao,
    #funcionalidades,
    #depoimentos,
    #cotacao,
    #faq {
        scroll-margin-top: calc(var(--header-height-mobile) + 20px);
    }
}

/* ======================== */
/* OBJETIVO 2: SKIP LINK CORRETO */
/* ======================== */

.skip-to-content {
    position: fixed;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: white;
    padding: 12px 20px;
    text-decoration: none;
    z-index: 1001;
    transition: transform 0.3s, opacity 0.3s;
    outline: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 10px; /* ATUALIZADO: var(--radius-md) → 10px */
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-150%);
}

.skip-to-content:focus {
    top: 16px;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

/* Utilitários de acessibilidade e responsividade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.desktop-only {
    display: inline-flex;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: inline-flex !important;
    }
}

/* ======================== */
/* OBJETIVO 1: HEADER com mais altura e alinhamento */
/* OBJETIVO 6: LOGOS maiores no header */
/* ======================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(32, 32, 32, 0.92);
    backdrop-filter: blur(10px);
    transition: background-color var(--transition-base), 
                box-shadow var(--transition-base),
                backdrop-filter var(--transition-base);
    padding: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header.scrolled {
    background-color: rgba(18, 18, 18, 0.98);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(15px);
}

/* OBJETIVO 4: Header alinhamento e mais alto */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    position: relative;
    height: 100%;
    width: 100%;
    min-height: 92px; /* NOVO: Adicionado min-height maior */
}

/* Logo aumentada */
.logo-img {
    height: clamp(56px, 8vw, 75px); /* Aumentado de 52-70px para 56-75px */
    width: auto;
    display: block;
    transition: transform var(--transition-base);
    max-width: 100%;
}

/* OBJETIVO 9: Header logo maior (ajuste fino) */
.logo-img {
    height: clamp(56px, 8vw, 85px); /* ATUALIZADO: 75px → 85px */
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Navegação Desktop */
.nav {
    display: flex;
    gap: clamp(38px, 4.8vw, 72px);
    align-items: center;
    height: 100%;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    padding: var(--space-xs) 0;
    position: relative;
    outline: none;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
    .nav-link:hover {
        color: var(--primary);
    }
    
    .nav-link:hover::after {
        width: 100%;
    }
}

.nav-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
    color: var(--primary);
}

.nav-link:active {
    color: var(--primary);
    transform: translateY(1px);
}

/* Menu Mobile */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    outline: none;
    min-height: 44px;
    min-width: 44px;
    position: relative;
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.mobile-menu-toggle .fa-bars,
.mobile-menu-toggle .fa-times {
    transition: transform var(--transition-base);
}

/* Overlay para menu mobile */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Menu mobile como drawer elegante */
@media (max-width: 768px) {
    .header {
        height: var(--header-height-mobile);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 100px var(--space-md) var(--space-xl);
        transition: right var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-link {
        color: var(--white);
        font-size: 1.125rem;
        font-weight: 500;
        padding: var(--space-md) var(--space-sm);
        border-radius: var(--radius-md);
        text-align: left;
        min-height: 56px;
        display: flex;
        align-items: center;
        transition: all var(--transition-base);
        margin-bottom: var(--space-xs);
        border: 1px solid transparent;
        height: auto;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:focus-visible {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
        background-color: rgba(255, 122, 26, 0.1);
        border-color: rgba(255, 122, 26, 0.3);
        color: var(--primary);
    }
    
    .nav-link:active {
        background-color: rgba(255, 122, 26, 0.15);
        color: var(--primary);
        transform: translateY(0);
    }
    
    /* Ajuste do header para mobile */
    .header-inner {
        min-height: var(--header-height-mobile);
        padding: var(--space-xs) 0;
    }
    
    .logo-img {
        height: clamp(52px, 7vw, 65px); /* Aumentado de 48-60px para 52-65px */
    }
}

/* Botões - Estados consistentes */
.btn-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px clamp(16px, 2vw, 24px);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.95rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
    position: relative;
    min-width: 44px;
}

@media (hover: hover) and (pointer: fine) {
    .btn-header:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-primary);
    }
}

.btn-header:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-header:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    padding: clamp(14px, 2vw, 16px) clamp(24px, 3vw, 32px);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    min-width: 200px;
    min-height: 56px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    outline: none;
    position: relative;
}

@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background-color: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-primary-lg);
    }
}

.btn-primary:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

.btn-primary:active {
    transform: translateY(0);
    transition-duration: 0.1s;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: clamp(14px, 2vw, 16px) clamp(24px, 3vw, 32px);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    min-width: 200px;
    min-height: 56px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    outline: none;
}

@media (hover: hover) and (pointer: fine) {
    .btn-secondary:hover {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: var(--primary);
        color: var(--primary);
        transform: translateY(-2px);
    }
}

.btn-secondary:focus-visible {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.btn-secondary:active {
    transform: translateY(0);
}

/* ======================== */
/* OBJETIVO 3: HEADER cobrindo HERO no mobile */
/* ======================== */

.hero {
    min-height: 75vh;
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(135deg, rgba(32, 32, 32, 0.76) 0%, rgba(42, 42, 42, 0.72) 100%),
        var(--hero-bg-image);
    background-size: 120% 120%, cover;
    background-position:
        center calc(50% + var(--parallax-offset, 0px)),
        center calc(50% + var(--parallax-offset, 0px));
    background-repeat: no-repeat, no-repeat;
    color: var(--white);
    position: relative;
    overflow: hidden;
    /* ATUALIZADO: Adicionado padding-top responsivo considerando header */
    padding-top: clamp(calc(var(--header-height) + 40px), 12vh, calc(var(--header-height) + 100px));
    padding-bottom: clamp(var(--space-lg), 8vh, var(--space-xxl));
    width: 100%;
    margin-top: 0;
}

/* ======================== */
/* OBJETIVO 5: HERO textos quebrando demais no mobile */
/* ======================== */

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    min-height: clamp(430px, 62vh, 640px);
}

.hero-text-block {
    max-width: 980px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: var(--space-sm);
    color: var(--white);
    font-size: clamp(2rem, 5.2vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.025em;
    padding: 0;
    text-wrap: pretty;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    word-break: normal;
    overflow-wrap: break-word;
}

.hero h1 .hero-title-line {
    display: block;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
    font-weight: 400;
    padding: 0;
    text-wrap: pretty;
    word-break: normal;
}

/* Mobile específico para subtítulo */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
        line-height: 1.6;
        padding: 0;
        text-wrap: balance; /* NOVO: Melhor balanceamento em mobile */
    }
    
    .hero h1 {
        text-wrap: balance;
        line-height: 1.2;
        word-break: normal;
        overflow-wrap: normal;
        font-size: clamp(1.7rem, 7.8vw, 2.5rem);
    }
    
    .hero h1 .hero-title-line {
        white-space: normal;
    }

    .hero-content {
        min-height: auto;
        gap: var(--space-md);
    }
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-xl);
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(var(--space-lg), 4vw, var(--space-xl));
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-xl) var(--space-sm) 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* Linha do Tempo Horizontal */
.timeline-horizontal {
    position: relative;
    margin: var(--space-xl) 0;
    width: 100%;
}

.timeline-progress {
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(255, 122, 26, 0.3) 100%);
    z-index: 1;
}

.timeline-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(var(--space-md), 3vw, var(--space-xl));
    position: relative;
    z-index: 2;
    width: 100%;
}

.timeline-step {
    text-align: center;
    padding-top: 100px;
    position: relative;
    width: 100%;
}

.step-number {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-primary);
}

.step-icon {
    width: clamp(60px, 8vw, 80px);
    height: clamp(60px, 8vw, 80px);
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin: 0 auto 16px;
    border: 2px solid var(--primary);
}

.timeline-step h3 {
    color: var(--text-primary);
    margin-bottom: 12px;
    padding: 0 var(--space-xs);
    font-size: clamp(1.125rem, 3vw, 1.5rem);
}

.timeline-step p {
    color: var(--gray);
    max-width: 280px;
    margin: 0 auto;
    padding: 0 var(--space-xs);
    line-height: 1.6;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

/* Dashboard Section */
.dashboard-lado-a-lado {
    display: flex;
    align-items: flex-start;
    gap: clamp(30px, 4vw, 40px);
    margin-top: 60px;
    width: 100%;
}

.dashboard-texto-coluna {
    flex: 0 0 40%;
    max-width: 40%;
}

.dashboard-imagem-coluna {
    flex: 0 0 60%;
    max-width: 60%;
    position: relative;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: auto;
    box-shadow: none;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
    transform: translateY(30px);
    opacity: 0;
}

.dashboard-imagem-coluna.visible {
    transform: translateY(0);
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .dashboard-imagem-coluna:hover {
        transform: translateY(-6px);
    }
}

.dashboard-imagem-wrapper {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
}

.dashboard-imagem-grande,
.dashboard-imagem {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    transition: filter 0.8s ease, transform 0.8s ease, opacity 0.8s ease;
    filter: blur(8px) saturate(0.95) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.08));
    opacity: 0.9;
    transform: scale(0.985);
    object-fit: contain;
}

.dashboard-imagem-coluna.visible .dashboard-imagem {
    filter: blur(0) saturate(1) drop-shadow(0 14px 28px rgba(0, 0, 0, 0.16));
    opacity: 1;
    transform: scale(1);
}

@media (hover: hover) and (pointer: fine) {
    .dashboard-imagem-coluna:hover .dashboard-imagem {
        transform: scale(1.01);
    }
}

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: var(--space-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.feature-check {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.features-legend {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.legend-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.legend-pill-available {
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
}

.legend-pill-future {
    background: rgba(60, 60, 60, 0.12);
    color: var(--gray);
}

/* Seção: Funcionalidades */
.version-features {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.version-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    padding: 0 var(--space-sm);
}

.version-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
}

/* ======================== */
/* OBJETIVO 4: GRID "O QUE VOCÊ VAI TER AGORA" - RESPONSIVIDADE MELHOR */
/* ======================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    width: 100%;
}

.feature-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg) var(--space-md);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    min-height: 240px;
    align-items: center;
    justify-content: center;
    outline: none;
}

.feature-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.feature-status-available {
    background: rgba(16, 185, 129, 0.15);
    color: #047857;
}

.feature-status-future {
    background: rgba(60, 60, 60, 0.12);
    color: var(--gray);
}

.feature-card.available {
    border-color: rgba(255, 122, 26, 0.28);
}

.feature-card.future {
    opacity: 1;
    border-color: rgba(60, 60, 60, 0.2);
    border-style: dashed;
    background: linear-gradient(135deg, #f6f6f6 0%, #fcfcfc 100%);
}

.feature-card.future::after {
    content: 'Em breve';
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    background: rgba(60, 60, 60, 0.1);
    color: var(--gray);
    border: 1px solid rgba(60, 60, 60, 0.24);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-md);
    }

    .feature-card.available:hover {
        background: var(--primary);
        border-color: var(--primary);
        box-shadow: var(--shadow-primary-lg);
    }

    .feature-card.available:hover h3 {
        color: var(--white);
    }

    .feature-card.available:hover .feature-icon {
        background: rgba(255, 255, 255, 0.2);
    }

    .feature-card.available:hover .feature-icon i {
        color: var(--white);
    }

    .feature-card.future:hover {
        opacity: 1;
        border-color: rgba(60, 60, 60, 0.35);
        box-shadow: var(--shadow-md);
    }
}

.feature-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 50%;
    background: var(--primary-light);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary);
    display: inline-block;
    position: relative;
}

.feature-icon i.offline-wifi-icon::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 120%;
    background: currentColor;
    left: 50%;
    top: -10%;
    transform: translateX(-50%) rotate(42deg);
    border-radius: 2px;
}

.feature-card.available .feature-icon {
    background: rgba(255, 122, 26, 0.14);
}

.feature-card.available .feature-icon i {
    color: var(--primary);
}

.feature-card.future .feature-icon {
    background: rgba(60, 60, 60, 0.08);
}

.feature-card.future .feature-icon i {
    color: var(--gray);
}

.feature-card.future h3 {
    color: var(--gray);
}

.feature-icon-bg {
    width: 100%;
    height: 100%;
    background-color: var(--primary-light);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.feature-icon-main {
    color: var(--primary);
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.feature-card.available .feature-icon-bg {
    background-color: var(--primary);
}

.feature-card.available .feature-icon-main {
    color: var(--white);
}

.feature-card h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    line-height: 1.4;
    padding: 0 var(--space-xs);
}

/* Banner CTA */
.cta-banner {
    padding: clamp(60px, 12vh, 120px) 0;
    background-image:
        linear-gradient(135deg, rgba(32, 32, 32, 0.95) 0%, rgba(42, 42, 42, 0.9) 100%),
        var(--cta-bg-image);
    background-size: 120% 120%, cover;
    background-position:
        center calc(50% + var(--parallax-offset, 0px)),
        center calc(50% + var(--parallax-offset, 0px));
    background-repeat: no-repeat, no-repeat;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.cta-banner h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    padding: 0 var(--space-sm);
    color: var(--white);
}

.cta-banner .hero-subtitle,
.cta-banner p {
    color: rgba(255, 255, 255, 0.95);
}

/* ======================== */
/* OBJETIVO 7: DEPOIMENTOS - FIXAR VISUAL CLARO E DESATIVAR DARK OVERRIDE */
/* ======================== */

.testimonials-section {
    position: relative;
    overflow: visible;
    padding: var(--space-xxl) 0;
    /* SEMPRE CLARO: background claro fixo */
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    width: 100%;
}

.carousel-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.carousel-container {
    overflow: hidden;
    padding: 28px 0 16px;
    position: relative;
    width: 100%;
    touch-action: pan-y;
}

.carousel-container::before,
.carousel-container::after {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 0;
    transition: transform var(--transition-slow);
    padding: 0;
    width: 100%;
    touch-action: pan-y;
}

.carousel-slide {
    flex: 0 0 100%;
    opacity: 1;
    transition: opacity var(--transition-base);
    width: 100%;
    padding: 0 clamp(8px, 1.5vw, 20px);
}

/* CARDS DE DEPOIMENTOS - SEMPRE CLAROS E MODERNOS */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: clamp(var(--space-lg), 3.2vw, var(--space-xl));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    height: 100%;
    display: grid;
    grid-template-columns: minmax(220px, 270px) 1fr;
    gap: clamp(var(--space-md), 2.5vw, var(--space-lg));
    align-items: center;
    position: relative;
    border: 1px solid rgba(234, 234, 234, 0.9);
    transition: all var(--transition-base);
    min-height: 280px;
    overflow: hidden;
    text-align: left;
    max-width: 1120px;
    margin: 0 auto;
    width: 100%;
}

.testimonial-card::before {
    content: none;
}

@media (hover: hover) and (pointer: fine) {
    .testimonial-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 44px rgba(0, 0, 0, 0.13);
        border-color: rgba(255, 122, 26, 0.3);
    }
}

.testimonial-card:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.1);
}

.testimonial-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0;
    padding: 0 clamp(12px, 1.8vw, 20px) 0 0;
    border-bottom: none;
    border-right: 1px solid rgba(234, 234, 234, 0.85);
    min-height: 100%;
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--primary-light);
    border: 2px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    margin-bottom: 6px;
    color: var(--text-primary);
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 600;
}

.testimonial-info p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.testimonial-rating {
    display: inline-flex;
    gap: 4px;
    margin-top: 8px;
    color: var(--primary);
    font-size: 0.85rem;
}

.testimonial-text {
    flex: 1;
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: clamp(1.26rem, 1.55vw, 1.56rem);
    position: relative;
    padding-left: 0;
    margin: 0;
    font-weight: 400;
    font-style: normal;
    text-align: left;
    align-self: center;
    justify-self: start;
    max-width: 56ch;
    width: 100%;
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: pretty;
}

.testimonial-text::before {
    content: none;
}

@media (max-width: 980px) {
    .testimonial-card {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .testimonial-header {
        flex-direction: row;
        align-items: center;
        border-right: none;
        border-bottom: 1px solid rgba(234, 234, 234, 0.85);
        padding: 0 0 var(--space-sm) 0;
    }
}

/* Controles do Carrossel */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
    padding: 0 var(--space-sm);
}

.carousel-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    outline: none;
    min-height: 56px;
    min-width: 56px;
}

@media (hover: hover) and (pointer: fine) {
    .carousel-btn:hover {
        background: var(--primary);
        color: var(--white);
        transform: scale(1.1);
        box-shadow: var(--shadow-primary);
    }
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

.carousel-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    background: var(--white);
    color: var(--primary);
}

.carousel-dots {
    display: none !important;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(32, 32, 32, 0.25);
    background: rgba(32, 32, 32, 0.16);
    cursor: pointer;
    padding: 0;
    transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
}

.carousel-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.15);
}

.carousel-dot:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

/* Formulário de Cotação */
.quote-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.03) 0%, transparent 100%);
    z-index: 0;
}

.quote-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(var(--space-lg), 4vw, var(--space-xl));
    align-items: start;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* LADO ESQUERDO: História Expandida */
.history-expanded {
    background: linear-gradient(135deg, var(--dark) 0%, #2A2A2A 100%);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.history-expanded h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.3;
}

.history-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.history-text {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-size: clamp(0.95rem, 2vw, 1rem);
}

.history-text p {
    margin-bottom: var(--space-md);
}

.history-text p:last-child {
    margin-bottom: 0;
}

.history-highlights {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.history-highlights li {
    text-align: center;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-mini {
    text-align: center;
    padding: var(--space-sm);
}

.stat-mini .number {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-mini .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
}

/* LADO DIREITO: Formulário */
.form-minimal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 100%;
}

.form-minimal-header {
    margin-bottom: var(--space-lg);
}

.form-minimal-header h3 {
    color: var(--text-primary);
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.form-minimal-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Campos do formulário */
.form-fields {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-field {
    margin-bottom: 0;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e1e5e9;
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all var(--transition-base);
    background: #fcfcfc;
    color: var(--text-primary);
    outline: none;
    line-height: 1.5;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.1);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
.form-field textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Estilo para select */
.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233C3C3C' 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: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* Textarea */
.form-field textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

/* Botão */
.submit-minimal {
    margin-top: var(--space-md);
}

.btn-submit-minimal {
    width: 100%;
    padding: 16px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    outline: none;
    min-height: 56px;
}

@media (hover: hover) and (pointer: fine) {
    .btn-submit-minimal:hover {
        background: var(--primary-dark);
        transform: translateY(-2px);
        box-shadow: var(--shadow-primary-lg);
    }
}

.btn-submit-minimal:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 2px;
}

.btn-submit-minimal:active {
    transform: translateY(0);
}

/* FAQ */
.faq-section {
    background-color: var(--gray-lighter);
    width: 100%;
    overflow: hidden;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    padding: 0 var(--space-sm);
}

.faq-item {
    border-bottom: var(--border);
    transform: translateY(20px);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
    width: 100%;
}

.faq-item.visible {
    transform: translateY(0);
    opacity: 1;
}

.faq-question {
    width: 100%;
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-base);
    gap: var(--space-sm);
    outline: none;
    line-height: 1.4;
    min-height: 44px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.faq-icon {
    transition: transform var(--transition-base);
    font-size: 0.875rem;
    min-width: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding-bottom var(--transition-base);
}

.faq-item.active .faq-answer {
    padding-bottom: var(--space-lg);
    max-height: 1200px;
}

.form-field .error-message {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 4px;
    display: block;
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
    border-color: var(--error);
}

/* Páginas legais */
.legal-page main {
    padding-top: 0;
}

@media (max-width: 768px) {
    .legal-page main {
        padding-top: 0;
    }
}

.legal-banner {
    margin-top: 0;
    padding: calc(var(--header-height) + clamp(26px, 5vh, 40px)) 0 clamp(36px, 6vh, 56px);
    background-image:
        linear-gradient(135deg, rgba(32, 32, 32, 0.94) 0%, rgba(42, 42, 42, 0.9) 100%),
        var(--legal-bg-image);
    background-size: 120% 120%, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    color: var(--white);
    text-align: center;
}

@media (max-width: 768px) {
    .legal-banner {
        margin-top: 0;
        padding-top: calc(var(--header-height-mobile) + clamp(24px, 4.5vh, 36px));
    }
}

.legal-banner h1 {
    margin-bottom: var(--space-sm);
    color: var(--white);
}

.legal-banner p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
}

.legal-content-section {
    padding-top: var(--space-xl);
}

.legal-content {
    color: var(--text-secondary);
}

.legal-content h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    font-size: clamp(1.12rem, 2.4vw, 1.35rem);
}

.legal-content p,
.legal-content li {
    line-height: 1.75;
}

.legal-content ul {
    margin: 0 0 var(--space-md) var(--space-md);
}

.legal-meta {
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

/* ======================== */
/* OBJETIVO 6: FOOTER COM LOGO MAIOR */
/* OBJETIVO 8: Footer logo maior */
/* ======================== */

.footer {
    background-color: var(--darker);
    color: var(--white);
    padding: var(--space-xxl) 0 var(--space-xl);
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(170px, 1fr));
    gap: clamp(var(--space-lg), 3.5vw, var(--space-xl));
    margin-bottom: var(--space-xl);
    width: 100%;
}

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    display: block;
    margin-bottom: var(--space-md);
}

/* OBJETIVO 8: Footer logo maior */
.footer-logo-img {
    height: clamp(132px, 9.6vw, 220px);
    width: auto;
    max-width: 100%;
}

.footer-brand-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    max-width: 36ch;
}

.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
    .footer-social-link:hover {
        border-color: var(--primary);
        color: var(--primary);
        transform: translateY(-2px);
    }
}

.footer-social-link:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.footer-column {
    min-width: 0;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: var(--space-md);
    font-size: 1.125rem;
    line-height: 1.3;
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a,
.footer-links-list .contact-item {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    transition: color var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
    outline: none;
    font-size: 0.95rem;
}

@media (hover: hover) and (pointer: fine) {
    .footer-links-list a:hover {
        color: var(--primary);
    }
}

.footer-links-list a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.footer-links-list .contact-item {
    cursor: default;
    line-height: 1.45;
}

.footer-links-list .contact-item:hover {
    color: rgba(255, 255, 255, 0.82);
}

.footer-links-list .contact-item i,
.footer-links-list a i {
    color: var(--primary);
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
}

.footer-bottom-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
}

.footer-legal-links {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    justify-self: center;
}

.footer-bottom-inner > .text-small {
    justify-self: start;
    text-align: left;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-base);
}

@media (hover: hover) and (pointer: fine) {
    .footer-legal-links a:hover {
        color: var(--primary);
    }
}

.footer-legal-links a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.developer-credit {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.4;
    justify-self: end;
    margin: 0;
}

.developer-credit-logo {
    display: block;
    width: auto;
    height: clamp(56px, 4.8vw, 78px);
    opacity: 0.92;
}

/* Nota NEXA - Estilização limpa */
.footer-note {
    width: 100%;
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: var(--space-md);
}

.footer-note p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.footer-note strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

/* Botão WhatsApp flutuante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 999;
    transition: all var(--transition-base);
    text-decoration: none;
    outline: none;
    min-height: 60px;
    min-width: 60px;
}

@media (hover: hover) and (pointer: fine) {
    .whatsapp-float:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 30px rgba(37, 211, 102, 0.4);
    }
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float:focus-visible {
    outline: 2px solid #25D366;
    outline-offset: 2px;
}

/* Utilitários */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

/* Animações de scroll */
.fade-in-up {
    transform: translateY(24px);
    opacity: 0;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.fade-in-up.visible {
    transform: translateY(0);
    opacity: 1;
}

/* OBJETIVO 6: Criar delays 7 e 8 */
.stagger-delay-1 { transition-delay: 0.1s; }
.stagger-delay-2 { transition-delay: 0.2s; }
.stagger-delay-3 { transition-delay: 0.3s; }
.stagger-delay-4 { transition-delay: 0.4s; }
.stagger-delay-5 { transition-delay: 0.5s; }
.stagger-delay-6 { transition-delay: 0.6s; }
.stagger-delay-7 { transition-delay: 0.7s; } /* NOVO */
.stagger-delay-8 { transition-delay: 0.8s; } /* NOVO */

/* ======================== */
/* RESPONSIVIDADE MOBILE */
/* ======================== */

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .carousel-slide {
        flex: 0 0 100%;
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .timeline-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(var(--space-lg), 4vw, var(--space-xxl));
    }
    
    .timeline-step {
        padding-top: 90px;
    }
    
    .step-number {
        top: 35px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
        gap: var(--space-xl);
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }
    
    .carousel-slide {
        flex: 0 0 100%;
        width: 100%;
    }
    
    .carousel-track {
        padding: 0;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 5vw, 3rem);
    }
    
    .dashboard-imagem-coluna {
        min-height: auto;
    }
    
    .footer-logo-img {
        height: clamp(114px, 8.2vw, 176px);
    }
}

/* PADDING MOBILE 320–375px: 16px (mínimo) */
@media (max-width: 375px) {
    /* Containers principais */
    .container,
    .container-narrow {
        padding: 0 16px !important;
    }
    
    /* Hero section */
    .hero-content,
    .cta-content {
        padding: 0 16px !important;
    }
    
    /* Seções com cards */
    .version-features .container,
    .testimonials-section .container,
    .quote-section .container,
    .faq-section .container-narrow {
        padding: 0 16px !important;
    }
    
    /* Carrossel */
    .carousel-controls {
        padding: 0 16px !important;
    }
    
    /* Footer */
    .footer .container {
        padding: 0 16px !important;
    }
    
    /* Menu mobile drawer */
    .nav {
        padding: 100px 16px var(--space-xl) !important;
        max-width: 280px;
    }
    
    /* Cards internos */
    .testimonial-card,
    .feature-card,
    .form-minimal,
    .history-expanded {
        padding: var(--space-md) !important;
    }
    
    /* Espaçamento do carrossel mobile */
    .carousel-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    
    .carousel-track {
        padding: 0 !important;
        gap: 0 !important;
    }
    
    .carousel-container::before,
    .carousel-container::after {
        display: none;
    }
}

/* PADDING MOBILE 390–430px: 20px */
@media (min-width: 376px) and (max-width: 430px) {
    /* Containers principais */
    .container,
    .container-narrow {
        padding: 0 20px !important;
    }
    
    /* Hero section */
    .hero-content,
    .cta-content {
        padding: 0 20px !important;
    }
    
    /* Seções com cards */
    .version-features .container,
    .testimonials-section .container,
    .quote-section .container,
    .faq-section .container-narrow {
        padding: 0 20px !important;
    }
    
    /* Carrossel */
    .carousel-controls {
        padding: 0 20px !important;
    }
    
    /* Footer */
    .footer .container {
        padding: 0 20px !important;
    }
    
    /* Menu mobile drawer */
    .nav {
        padding: 100px 20px var(--space-xl) !important;
        max-width: 300px;
    }
    
    /* Cards internos */
    .testimonial-card,
    .feature-card,
    .form-minimal,
    .history-expanded {
        padding: var(--space-lg) !important;
    }
    
    /* Espaçamento do carrossel mobile */
    .carousel-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    
    .carousel-track {
        padding: 0 !important;
        gap: 0 !important;
    }
    
    .carousel-container::before,
    .carousel-container::after {
        width: 10px !important;
        opacity: 0.35;
    }
}

/* ESTILOS GERAIS PARA MOBILE (768px e abaixo) */
@media (max-width: 768px) {
    /* Ajustes gerais de ritmo e respiro */
    .section {
        padding: clamp(var(--space-md), 5vw, var(--space-xl)) 0;
    }
    
    .hero {
        padding-top: clamp(calc(var(--header-height-mobile) + 40px), 10vh, calc(var(--header-height-mobile) + 80px)); /* Ajuste mobile */
        padding-bottom: clamp(var(--space-lg), 6vh, var(--space-xl));
        min-height: 65vh;
    }
    
    .hero-buttons {
        margin-bottom: var(--space-lg);
        gap: var(--space-sm);
    }
    
    .hero-stats {
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
    }
    
    .testimonials-section {
        padding: var(--space-xl) 0;
    }
    
    .carousel-container {
        padding: 40px 0;
    }
    
    .carousel-container::before,
    .carousel-container::after {
        width: 20px !important;
        opacity: 0.45;
    }
    
    /* DEPOIMENTOS MOBILE ESPECÍFICO */
    .carousel-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    
    .testimonial-card {
        min-height: 260px;
        padding: var(--space-lg) !important;
        box-shadow: var(--shadow-md);
    }
    
    .testimonial-header {
        margin-bottom: 0;
        padding: 0 0 var(--space-sm) 0;
        border-right: none;
        border-bottom: 1px solid rgba(234, 234, 234, 0.85);
    }
    
    .testimonial-avatar {
        width: 56px;
        height: 56px;
    }
    
    .testimonial-text {
        font-size: clamp(1.08rem, 3.8vw, 1.2rem);
        line-height: 1.72;
        padding-left: 0;
        text-align: left;
        max-width: 100%;
    }
    
    .testimonial-text::before {
        content: none;
    }
    
    /* Cards de funcionalidades mobile - 2 colunas (OBJETIVO 4) */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .feature-card {
        min-height: 240px;
        padding: var(--space-lg) var(--space-md) !important;
        box-shadow: var(--shadow-sm);
    }
    
    .feature-card.future::after {
        top: 12px;
        right: 12px;
        padding: 4px 9px;
        font-size: 0.64rem;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-sm);
    }
    
    .feature-icon-main,
    .feature-icon i {
        font-size: 2rem;
    }
    
    /* Dashboard responsivo */
    .dashboard-lado-a-lado {
        flex-direction: column;
        gap: var(--space-xl);
        margin-top: var(--space-xl);
    }
    
    .dashboard-texto-coluna,
    .dashboard-imagem-coluna {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .dashboard-imagem-coluna {
        min-height: auto;
        box-shadow: none;
        order: -1;
    }
    
    .features-list li {
        margin-bottom: var(--space-md);
        gap: var(--space-xs);
    }
    
    /* Timeline mobile */
    .timeline-steps {
        grid-template-columns: 1fr;
        gap: var(--space-xxl);
    }
    
    .timeline-progress {
        display: none;
    }
    
    .timeline-step {
        padding-top: 80px;
    }
    
    .step-number {
        top: 20px;
    }
    
    .timeline-step p {
        max-width: 100%;
        line-height: 1.6;
        font-size: 0.95rem;
    }
    
    /* Quote section mobile */
    .quote-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .stats-mini {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .history-highlights {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .stat-mini {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: var(--space-xs) 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .stat-mini:last-child {
        border-bottom: none;
    }
    
    .stat-mini .label {
        font-size: 0.85rem;
        line-height: 1.2;
    }
    
    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-column {
        width: 100%;
    }
    
    .footer-bottom-inner {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .footer-bottom-inner p {
        width: 100%;
        text-align: center;
    }
    
    /* Logo footer mobile - Aumentada */
    .footer-logo-img {
        height: clamp(108px, 8vw, 152px);
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
        bottom: 20px;
        right: 20px;
        min-height: 56px;
        min-width: 56px;
    }
    
    /* Nota NEXA mobile */
    .footer-note p {
        font-size: 0.75rem;
        padding: 0 var(--space-xs);
    }
}

@media (max-width: 600px) {
    .hero {
        min-height: 60vh;
        padding-top: clamp(calc(var(--header-height-mobile) + 30px), 8vh, calc(var(--header-height-mobile) + 60px));
        padding-bottom: clamp(var(--space-md), 5vh, var(--space-lg));
    }
    
    .hero h1 {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
        line-height: 1.2;
        text-wrap: balance;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0;
        text-wrap: pretty;
    }
    
    .text-lead {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .timeline-step p {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .testimonial-header {
        margin-bottom: 0;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .history-expanded,
    .form-minimal {
        padding: var(--space-lg) var(--space-md) !important;
    }
    
    .history-expanded h2,
    .form-minimal-header h3 {
        font-size: clamp(1.125rem, 3vw, 1.25rem);
    }
    
    .btn-submit-minimal {
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 52px;
    }
    
    .form-field input,
    .form-field select,
    .form-field textarea {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    
    .carousel-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
        min-height: 48px;
        min-width: 48px;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: var(--space-md) 0;
        line-height: 1.4;
        min-height: 44px;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Telas muito pequenas (<= 360px) - 1 coluna para features (OBJETIVO 4) */
@media (max-width: 360px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .feature-card {
        min-height: 220px;
        padding: var(--space-md) !important;
    }
    
    .feature-card.future::after {
        top: 10px;
        right: 10px;
        padding: 4px 8px;
        font-size: 0.62rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon-main,
    .feature-icon i {
        font-size: 1.75rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    /* Ajuste extra para carrossel em telas muito pequenas */
    .carousel-container::before,
    .carousel-container::after {
        display: none;
    }
    
    .carousel-track {
        padding: 0 !important;
    }
    
    /* Footer ajustado para telas muito pequenas */
    .footer-logo-img {
        height: clamp(96px, 7.2vw, 126px);
    }
}

@media (max-width: 320px) {
    /* PADDING EXTRA PARA 320px */
    .container,
    .container-narrow {
        padding: 0 14px !important;
    }
    
    .features-grid {
        grid-template-columns: 1fr !important;
    }
    
    .nav {
        padding: 100px 14px var(--space-xl) !important;
        max-width: 270px;
    }
    
    .carousel-track {
        padding: 0 !important;
    }
    
    .carousel-slide {
        flex: 0 0 100% !important;
        width: 100% !important;
    }
    
    .hero h1 {
        font-size: 1.25rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.85rem;
        padding: 10px 16px;
        min-height: 44px;
    }
    
    .faq-question {
        font-size: 0.95rem;
    }
    
    /* Logo ajustada para 320px */
    .logo-img {
        height: 50px;
    }
    
    .footer-logo-img {
        height: clamp(90px, 6.5vw, 116px);
    }
    
    /* Hide gradients on very small screens */
    .carousel-container::before,
    .carousel-container::after {
        display: none;
    }
}

/* ======================== */
/* OBJETIVO 7: DEPOIMENTOS - GARANTIR VISUAL CLARO EM DARK MODE */
/* ======================== */

/* Dark Mode Preference - EXCEÇÃO para depoimentos */
@media (prefers-color-scheme: dark) {
    .form-minimal {
        background: #1a1a1a;
        border-color: #333;
    }

    .form-minimal-header h3,
    .form-minimal-header p {
        color: #ffffff;
    }

    .form-field label {
        color: rgba(255, 255, 255, 0.88);
    }
    
    .form-field input,
    .form-field select,
    .form-field textarea {
        background: #2a2a2a;
        border-color: #444;
        color: #fff;
    }
    
    .form-field input:focus,
    .form-field select:focus,
    .form-field textarea:focus {
        background: #333;
    }
    
    /* EXCEÇÃO: Depoimentos SEMPRE CLAROS mesmo em dark mode */
    .testimonials-section {
        /* SOBRESCREVE qualquer dark mode */
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    }
    
    .carousel-container::before {
        /* SEMPRE CLARO */
        background: linear-gradient(to right, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0)) !important;
    }
    
    .carousel-container::after {
        /* SEMPRE CLARO */
        background: linear-gradient(to left, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0)) !important;
    }
    
    /* Cards de depoimentos SEMPRE CLAROS */
    .testimonial-card {
        background: var(--white) !important;
        border-color: rgba(234, 234, 234, 0.8) !important;
    }
    
    .testimonial-header {
        border-bottom-color: rgba(234, 234, 234, 0.8) !important;
    }
    
    .testimonial-info h4 {
        color: var(--text-primary) !important;
    }
    
    .testimonial-info p {
        color: var(--text-secondary) !important;
    }
    
    .testimonial-text {
        color: var(--text-secondary) !important;
    }
    
    /* Header dark mode */
    .header {
        background-color: rgba(26, 26, 26, 0.92);
        border-bottom-color: rgba(255, 255, 255, 0.1);
    }
    
    .header.scrolled {
        background-color: rgba(18, 18, 18, 0.98);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .fade-in-up,
    .testimonial-card,
    .dashboard-imagem-coluna,
    .faq-item,
    .feature-card,
    .carousel-track,
    .header,
    .nav-link::after,
    .faq-icon,
    .step-icon,
    .nav {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
        animation: none !important;
    }
    
    .dashboard-imagem-coluna,
    .fade-in-up {
        opacity: 1;
        transform: none;
    }

    .dashboard-imagem {
        filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1)) !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .dashboard-imagem-coluna.visible,
    .fade-in-up.visible,
    .faq-item.visible {
        transform: none;
        opacity: 1;
    }

    .hero,
    .cta-banner {
        --parallax-offset: 0px !important;
        background-position: center 50% !important;
    }
}
