/* ==========================================
   VARIÁVEIS GLOBAIS
   ========================================== */
:root {
    /* Cores principais */
    --color-dark: #060E31;
    --color-dark-light: #1a1a1a;
    --color-dark-lighter: #333333;
    --color-blue: #2047f4;
    --color-blue-light: #2047f4;
    --color-white: #ffffff;
    --color-white-dark: #ffffff;
    --color-text: #060E31;
    --color-text-muted: #060E31;

    /* Fontes */
    /* --font-display: Inter, Adjusted Arial Fallback, sans-serif;*/
    --font-display: 'Poppins', sans-serif; 
    --font-body: 'Poppins', sans-serif;

    /* Utilidades */
    --ease-smooth: cubic-bezier(0.2, 1, 0.3, 1);
    --shadow-soft: 0 20px 50px -10px rgba(0, 0, 0, 0.08);
}

/* ==========================================
   RESET E ESTILOS BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-white);
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
   CLASSES UTILITÁRIAS
   ========================================== */
.container {
    max-width: 1288px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================
   TIPOGRAFIA
   ========================================== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-body);
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-family: var(--font-body);
    font-weight: 700;
    max-width: 870px;
    line-height: 1.1;
    transition: font-size 300ms ease;
    font-size: 48px;
}

h2 {
    font-size: 32px;
    font-weight: 700;
}

h3 {
    font-size: 24px;
    font-weight: 700;
}

h4 {
    font-size: 20px;
    font-weight: 600;
}

.eyebrow {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-blue);
    margin-bottom: 16px;
}

/* ==========================================
   BOTÕES
   ========================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--color-blue);
    color: white;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 1.2s var(--ease-smooth);
    position: relative;
    overflow: hidden;
    min-height: 41px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s var(--ease-smooth);
}

.btn-primary:hover {
    background: #3a47cc;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-microcopy {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    color: #374151;
}

/* ==========================================
   CABEÇALHO (HEADER)
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
    background-color: var(--color-white);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1288px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: clamp(112px, 12vw, 160px);
    height: auto;
    transition: opacity 0.3s ease;
}

.logo:hover .logo-img {
    opacity: 0.8;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header-nav-link {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-nav-link:hover {
    color: #0f172a;
    text-decoration: underline;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-login {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.3s ease;
}

.header-login:hover {
    color: #0f172a;
    text-decoration: underline;
}

.header-divider {
    width: 1px;
    height: 24px;
    background: rgba(0, 0, 0, 0.15);
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 41px;
    padding: 10px 22px 10px;
    font-size: 12px;
    font-weight: 800;
    line-height: 20px;
    color: #ffffff;
    background: var(--color-blue);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Menu Mobile - Escondido por padrão */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-cta {
    text-align: center;
    margin-top: 8px;
}

/* ==========================================
   SEÇÃO HERO
   ========================================== */
.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 120px 0 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    pointer-events: none;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 600px);
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    height: auto;
}

.hero-image-container {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    max-width: 580px;
    height: auto;
    aspect-ratio: 580 / 534;
    border-radius: 10px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.hero-image::before,
.hero-image::after {
    display: none;
}

p {
    font-family: var(--font-display);
}

.hero h1 {
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--color-dark);
    margin-bottom: 24px;
    max-width: 100%;
}

.hero-description {
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0;
    color: var(--color-dark);
    max-width: 100%;
    margin-bottom: 40px;
}

.hero-description strong {
    color: var(--color-text);
    font-weight: 600;
}

.hero-content .btn-primary {
    padding: 8px 28px;
    font-size: 12px;
    width: 100%;
    max-width: 327px;
    font-weight: 800;
}

/* Botão CTA Mobile - Escondido por padrão */
.hero-cta-mobile {
    display: none;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   HERO - THUMBNAIL DE VÍDEO
   ========================================== */
.hero-video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
}

.hero-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-video-thumbnail:hover img {
    transform: scale(1.03);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button-bg {
    transition: fill-opacity 0.2s ease;
}

.hero-video-thumbnail:hover .play-button-bg {
    fill: #FF0000;
    fill-opacity: 1;
}

/* ==========================================
   HERO - BARRA DE MÉTRICAS
   ========================================== */
.hero-metrics {
    display: flex;
    justify-content: space-between;
    padding: 48px 0;
    width: 100%;
    margin-top: 48px;
}

.hero-metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 40px;
    border-left: 1px solid rgba(0, 0, 0, 0.12);
    flex: 1;
}

.hero-metric:first-child {
    padding-left: 0;
    border-left: none;
}

.hero-metric:last-child {
    padding-right: 0;
}

.hero-metric-value {
    font-family: var(--font-body);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-metric-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.5;
    max-width: 220px;
}

/* ==========================================
   MODAL DE VÍDEO
   ========================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    transition: opacity 0.2s ease;
}

.video-modal-close:hover {
    opacity: 0.7;
}

.video-modal-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.video-modal-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================
   SEÇÃO PROBLEMA (SOBRE)
   ========================================== */
.problem {
    padding: 48px 0 48px;
    background: #F5F7FF;
    position: relative;
    z-index: 10;
}

.problem-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.problem-header h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

/* Cards de Problema - Layout Horizontal */
.problem-stack {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1280px;
    margin: 0 auto;
}

.problem-card-horizontal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.problem-card-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.problem-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.problem-card-description {
    font-size: 15px;
    font-weight: 400;
    color: #374151;
    line-height: 1.7;
}

.problem-card-list {
    list-style: none;
    padding: 0;
    margin: 8px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.problem-card-list li {
    font-size: 14px;
    font-weight: 400;
    color: #374151;
    line-height: 1.5;
    padding-left: 28px;
    position: relative;
}

.problem-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-image: url("../images/svg/checkmark-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.problem-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    min-height: 41px;
    background: var(--color-blue);
    color: white;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 8px;
}

.problem-card-btn:hover {
    background: #3a47cc;
    transform: translateY(-2px);
}

.problem-card-image-box {
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 350px;
    overflow: hidden;
    background: #E8EEF6;
}

.problem-card-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -40px;
    border-radius: 12px;
    transform: scale(1.02);
}

.problem-card-image-box.problem-card-image-box--large {
    background: #E8EEF6;
    border-radius: 12px;
    height: 350px;
    padding: 0;
}

.problem-card-image-box.problem-card-image-box--large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: none;
    margin-left: 0;
}

/* ==========================================
   SEÇÃO TRÊS CARDS (PROCESSO)
   ========================================== */
.three-cards {
    padding: 48px 0 48px;
    background: #ffffff;
}

.three-cards-section {
    max-width: 1280px;
    min-height: auto;
    margin: 0 auto;
    padding: 70px 24px 0;
    text-align: center;
}

.three-cards-title {
    font-weight: 700;
    font-size: 48.9px;
    letter-spacing: -0.56px;
    color: var(--color-dark);
    line-height: 1.2;
    max-width: 800px;
    margin: 0 auto 16px;
}

.three-cards-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0 auto 96px;
    max-width: 600px;
    letter-spacing: 0.2px;
}

.three-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.info-card {
    background: #e8edf3;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.info-card-content {
    background-color: #E8EEF6;
    padding: 40px 36px 24px;
    order: 1;
    flex-grow: 1;
}

.info-card-number {
    font-weight: 700;
    font-size: 64px;
    line-height: 1;
    letter-spacing: 0;
    color: #000;
    margin-bottom: 8px;
    display: block;
}

.info-card-title {    
    font-size: 24px;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.info-card-description {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    line-height: 1.6;
}

.info-card-image {
    background-color: #E8EEF6;
    padding: 0 24px;
    order: 2;
    overflow: hidden;
}

.info-card-image img {
    width: 67%;
    max-height: 305px;
    object-fit: contain;
    object-position: bottom center;
    margin: 0 auto;
    display: block;
}

/* ==========================================
   SEÇÃO DEPOIMENTOS (CASES)
   ========================================== */
.testimonials {
    padding: 48px 0;
    background: #ffffff;
}

.testimonials-header {
    margin-bottom: 32px;
}

.testimonials-header h2 {
    text-align: center;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
    letter-spacing: -0.5px;
    padding-bottom: 10px;
}

/* Abas de Depoimentos */
.testimonials-tabs {
    display: flex;
    gap: 32px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 48px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.testimonials-tabs::-webkit-scrollbar {
    display: none;
}

.testimonials-tab {
    position: relative;
    background: none;
    border: none;
    padding: 0 0 24px 0;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.testimonials-tab:hover {
    color: var(--color-dark);
}

.testimonials-tab.active {
    color: var(--color-dark);
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonials-tab.active .tab-indicator {
    opacity: 1;
}

/* Navegação por Pontos */
.testimonials-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #d1d5db;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.testimonial-dot:hover {
    background: #9ca3af;
}

.testimonial-dot.active {
    width: 16px;
    height: 16px;
    background: var(--color-blue);
}

/* Container de Painéis */
.testimonials-panels {
    position: relative;
    overflow: hidden;
    margin:0 auto;
    max-width: 792px;
}

.testimonial-panel {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
    pointer-events: none;
}

.testimonial-panel.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

/* Grid de Conteúdo */
.testimonials-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 0 auto;
}

/* Card de Depoimento */
.testimonial-card {
    background: #e0f7fa;
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.testimonial-card-header img {
    width: 80px;
}

.testimonial-logo {
    max-width: 150px;
}

.testimonial-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 2px;
}

.testimonial-badge {
    display: inline-block;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
}

.testimonial-quote {
    flex-grow: 1;
    margin-bottom: 10px;
}

.testimonial-quote p {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--color-dark);
    line-height: 1.5;
    letter-spacing: -0.2px;
}

.testimonial-author-mobile {
    display: none;
    margin-top: 24px;
}

.testimonial-author-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark);
}

.testimonial-author-role {
    font-size: 14px;
    color: #6b7280;
    margin-top: 0px;
}

/* Card de Imagem */
.testimonial-image-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 280px;
    /* aspect-ratio: 1 / 1; */
}

.testimonial-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.testimonial-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    color: white;
    z-index: 1;
}

.testimonial-image-overlay .testimonial-author-name {
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.testimonial-image-overlay .testimonial-author-role {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

/* ==========================================
   SEÇÃO FAQ (DÚVIDAS)
   ========================================== */
.faq {
    padding: 48px 0;
    background: #ffffff;
}

.faq .container {
    max-width: 792px;
    margin: 0 auto;
}

.faq-header {
    text-align: left;
    margin-bottom: 32px;
}

.faq-title {
    text-align: center;
    font-size: 48.9px;
    line-height: 56px;
    letter-spacing: -1.12px;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.faq-subtitle {
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 0.8;
}

.faq-list {
    max-width: 100%;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-family: var(--font-display);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-dark);
    line-height: 1.3;
    letter-spacing: -0.18px;
    transition: color 0.2s ease;
}

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

.faq-question span {
    flex: 1;
    padding-right: 24px;
}

.faq-icon-wrapper {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #EBEEF7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.faq-item.active .faq-icon-wrapper {
    background: var(--color-blue);
}

.faq-icon {
    color: var(--color-dark);
    transition: transform 0.3s ease, color 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-answer p {
    padding: 16px 48px 24px 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================
   SEÇÃO DESCOBERTA (NÃO UTILIZADA)
   ========================================== */
.discovery-section {
    padding: 80px 0 0;
    background: linear-gradient(180deg, #162A89 0%, #060B23 100%);
    position: relative;
    overflow: hidden;
}

.discovery-bars {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 0;
}

.discovery-bars-svg {
    height: 140%;
    width: auto;
    margin-top: -5%;
}

.discovery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    position: relative;
    z-index: 1;
}

.discovery-content {
    max-width: 550px;
    padding-bottom: 80px;
    align-self: center;
}

.discovery-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 24px;
}

.discovery-title em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.discovery-description {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

.discovery-description strong {
    color: #ffffff;
    font-weight: 600;
}

.discovery-btn {
    display: inline-flex;
    padding: 16px 32px;
    font-size: 16px;
}

.discovery-image {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    z-index: 1;
    align-self: end;
    margin-right: -5%;
}

.discovery-image > img {
    max-width: 90%;
    height: auto;
    position: relative;
    z-index: 1;
    display: block;
}

.discovery-tag {
    position: absolute;
    z-index: 2;
    height: auto;
}

.discovery-tag--time {
    top: 35%;
    left: -10%;
    width: 160px;
}

.discovery-tag--diagnostic {
    bottom: 35%;
    right: 5%;
    width: 200px;
}

/* ==========================================
   SEÇÃO CTA (CHAMADA PARA AÇÃO)
   ========================================== */
    
    /* .cta-section {
        padding: 48px 0;
        background: linear-gradient(to bottom, #162A89 0%, #060B23 100%);
        min-height: 654px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    .cta-section::after {
        content: "";
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background-image: image-set(
          url("../images/homem-computador.webp") type("image/webp"),
          url("../images/homem-computador.png") type("image/png")
        );
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 0;
    }

    .cta-section > .container {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .cta-section .cta-content {
        max-width: 442px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    } */

    .cta-section {
        padding: 48px 16px;
        background: linear-gradient(to bottom, #162A89 0%, #060B23 100%);
        min-height: auto; /* mobile não precisa de altura fixa */
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
        text-align: center; /* centraliza texto */
      }
      
      /* REMOVE imagem no mobile */
      .cta-section::after {
        content: none;
      }
      
      .cta-section > .container {
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
      }
      
      .cta-section .cta-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center; /* centraliza conteúdo */
      }

    .cta-section h2 {
        background: linear-gradient(90deg, #FFFFFF 0%, rgba(23, 55, 216, 0.9) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
        line-height: 1.2;
        font-size: clamp(30px, 3.5vw, 42px);
        font-weight: 700;
        letter-spacing: -0.5px;
    }

    .cta-section h2 br {
        display: none;
    }

    .cta-section .cta-subtitle {
        font-size: clamp(14px, 1.7vw, 20px);
        font-weight: 400;
        color: #ABA4C9;
        line-height: 1.2;
        margin: 0
    }

/* .cta-section {
    padding: 48px 0;
    background: var(--color-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(38, 48, 172, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section .eyebrow {
    color: var(--color-blue);
}

.cta-section h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.cta-section .cta-subtitle {
    font-size: 20px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    margin-top: 1.2rem;
}

.cta-section .btn-primary {
    background: var(--color-blue);
    color: #FFFFFF;
    font-weight: 600;
}

.cta-section .btn-primary:hover {
    background: #3a47cc;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 20px 50px -10px rgba(38, 48, 172, 0.5);
}

.cta-section .btn-microcopy {
    color: rgba(255, 255, 255, 0.5);
} */

/* ==========================================
   RODAPÉ (FOOTER)
   ========================================== */
.footer {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, #060B23 0%, #0a1128 100%);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}

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

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 28px;
    width: auto;
    transition: opacity 0.3s ease;
}

.footer-logo:hover .footer-logo-img {
    opacity: 0.8;
}

.footer-tagline {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-style: normal;
}

.footer-tagline span {
    color: var(--color-blue);
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-list a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--color-blue);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* ==========================================
   ANIMAÇÕES DE SCROLL
   ========================================== */

/* Estado base - escondido */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Estado revelado */
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Animação de subir */
.scroll-reveal.fade-up {
    transform: translateY(60px);
}

.scroll-reveal.fade-up.revealed {
    transform: translateY(0);
}

/* Animação de aparecer (sem movimento) */
.scroll-reveal.fade-in {
    transform: translateY(0);
}

/* Animação da esquerda */
.scroll-reveal.fade-left {
    transform: translateX(-40px);
}

.scroll-reveal.fade-left.revealed {
    transform: translateX(0);
}

/* Animação da direita */
.scroll-reveal.fade-right {
    transform: translateX(40px);
}

.scroll-reveal.fade-right.revealed {
    transform: translateX(0);
}

/* Animação de escala */
.scroll-reveal.scale-up {
    transform: scale(0.9);
}

.scroll-reveal.scale-up.revealed {
    transform: scale(1);
}

/* Filhos escalonados - estado base */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Filhos escalonados - estado revelado */
.stagger-children>*.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Atrasos personalizados */
.scroll-reveal[data-delay="100"] {
    transition-delay: 0.1s;
}

.scroll-reveal[data-delay="200"] {
    transition-delay: 0.2s;
}

.scroll-reveal[data-delay="300"] {
    transition-delay: 0.3s;
}

.scroll-reveal[data-delay="400"] {
    transition-delay: 0.4s;
}

.scroll-reveal[data-delay="500"] {
    transition-delay: 0.5s;
}

/* ==========================================
   RESPONSIVIDADE - TABLET (max-width: 968px)
   ========================================== */
@media (max-width: 968px) {
    /* Hero */
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }

    .hero-image-container {
        order: -1;
        min-height: auto;
        height: auto;
        justify-content: center;
    }

    .hero-image {
        width: 100%;
        max-width: 400px;
        height: auto;
        margin: 0 auto;
    }

    .hero-video-thumbnail {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 16 / 9;
        margin: 0 auto;
    }

    .hero-content {
        text-align: center;
        min-height: auto;
        height: auto;
        align-items: center;
    }

    .hero h1,
    .hero-description {
        max-width: 100%;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 32px 0;
    }

    .hero-metric {
        flex: 0 0 50%;
        padding: 0 24px;
    }

    .hero-metric:nth-child(odd) {
        border-left: none;
        padding-left: 0;
    }

    .hero-metric:nth-child(even) {
        border-left: 1px solid rgba(0, 0, 0, 0.12);
        padding-right: 0;
    }

    .hero-metric:last-child {
        padding-right: 0;
    }

    /* Seção Problema */
    .problem-header {
        margin-bottom: 40px;
    }

    .problem-card-horizontal {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .problem-card-image-box {
        order: -1;
        min-height: 280px;
        padding: 24px;
    }

    .problem-card-image-box.problem-card-image-box--large {
        padding: 0;
        height: auto;
        min-height: 250px;
    }

    .problem-card-title {
        font-size: 24px;
    }
    
    .problem-card-image-box img {
        object-fit: cover;
        object-position: center center;
    }

    /* Três Cards */
    .three-cards-section {
        margin-top: 40px;
    }

    .three-cards-title {
        font-size: 32px;
    }

    .three-cards-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .three-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
        margin: 0 auto;
    }

    .info-card {
        min-height: 500px;
    }

    .info-card-content {
        padding: 32px 32px 20px;
    }

    .info-card-number {
        font-size: 54px;
    }

    .info-card-title {
        font-size: 22px;
    }

    /* Depoimentos */
    .testimonials-content {
        grid-template-columns: 1fr;
    }

    .testimonial-image-card {
        min-height: 350px;
    }

    /* Descoberta */
    .discovery-section {
        padding: 60px 0 0;
    }

    .discovery-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .discovery-content {
        max-width: 100%;
        padding-bottom: 40px;
    }

    .discovery-title {
        font-size: 36px;
    }

    .discovery-tag--diagnostic {
        right: 5%;
    }

    .discovery-bars {
        width: 100%;
        right: 0;
        justify-content: center;
    }

    .discovery-image > img {
        max-width: 70%;
    }

    /* Rodapé */
    .footer-links {
        gap: 48px;
    }
}

/* ==========================================
   RESPONSIVIDADE - TABLET INTERMEDIÁRIO (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
    /* Cabeçalho */
    .header-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero h1 {
        font-size: 38px;
        line-height: 44px;
    }

    .hero-description {
        font-size: 16px;
        line-height: 24px;
    }

    .hero-content .btn-primary {
        width: 80%;
        max-width: 280px;
    }

    .logo-img {
        width: 128px;
    }

    /* Três Cards */
    .three-cards-title {
        font-size: 36px;
    }

    /* FAQ */
    .faq {
        padding: 4rem 0;
    }

    .faq-title {
        font-size: 38px;
        line-height: 44px;
    }

    .faq-subtitle {
        font-size: 18px;
    }

    .faq-question {
        padding: 24px 0;
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 15px;
        padding-right: 24px;
    }

    .faq-icon-wrapper {
        width: 28px;
        height: 28px;
    }

    /* Depoimentos */
    .testimonials-panels {
        min-height: auto;
    }

    .testimonial-image-card {
        min-height: 300px;
    }

    /* Rodapé */
    .footer-inner {
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-links {
        gap: 40px;
    }
}

/* ==========================================
   RESPONSIVIDADE - MOBILE (max-width: 640px)
   ========================================== */
@media (max-width: 640px) {
    /* Cabeçalho */
    .header {
        padding: 10px 0;
    }

    .header-inner {
        padding: 0 20px;
    }

    .header-cta,
    .header-nav,
    .header-login,
    .header-divider {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 110px 0 80px;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 38px;
    }

    /* .hero-image-container {
        display: none;
    } */

    .hero-cta-mobile {
        display: inline-flex;
        margin-bottom: 24px;
    }

    .hero-metrics {
        flex-wrap: wrap;
        gap: 24px 0;
        margin-top: 40px;
        padding: 32px 0;
    }

    .hero-metric {
        flex: 0 0 50%;
        padding: 0 16px;
        border-left: none;
    }

    .hero-metric:nth-child(odd) {
        padding-left: 0;
        border-right: 1px solid rgba(0, 0, 0, 0.12);
    }

    .hero-metric:nth-child(even) {
        padding-left: 16px;
        padding-right: 0;
        border-left: none;
    }

    .hero-metric-value {
        font-size: 22px;
    }

    .hero-metric-label {
        font-size: 12px;
    }

    /* Seção Problema */
    .problem {
        padding: 20px 0;
    }

    .problem-header {
        margin-bottom: 20px;
    }

    .problem-header h2 {
        font-size: 26px;
    }

    .problem-stack {
        gap: 48px;
    }

    .problem-card-horizontal {
        gap: 24px;
    }

    .problem-card-title {
        font-size: 22px;
    }

    .problem-card-image-box {
        min-height: 220px;
        padding: 20px;
    }

    .problem-card-image-box.problem-card-image-box--large {
        padding: 0;
        min-height: 200px;
    }

    .problem-card-text {
        align-items: center;
    }

    /* Três Cards */
    .three-cards {
        padding: 20px 0;
    }

    .three-cards-section {
        padding: 40px 16px 0;
        min-height: auto;
        margin-top: 60px;
    }

    .three-cards-title {
        font-size: 28px;
    }

    .three-cards-subtitle {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .three-cards-grid {
        max-width: 100%;
    }

    .info-card {
        min-height: 450px;
    }

    .info-card-content {
        padding: 24px 24px 16px;
    }

    .info-card-number {
        font-size: 48px;
    }

    .info-card-title {
        font-size: 20px;
    }

    .info-card-description {
        font-size: 14px;
    }

    .info-card-image {
        padding: 0 16px;
    }

    .info-card-image img {
        max-height: 300px;
    }

    /* Depoimentos */
    .testimonials {
        padding: 20px 0;
    }

    .testimonials-tabs {
        gap: 24px;
    }

    .testimonials-tab {
        font-size: 16px;
        padding-bottom: 16px;
    }

    .testimonial-card {
        padding: 24px;
    }

    .testimonial-quote p {
        font-size: 18px;
    }

    .testimonial-author-mobile {
        display: block;
    }

    .testimonial-image-card {
        display: none;
    }

    /* FAQ */
    .faq {
        padding: 20px 0;
    }

    /* Descoberta */
    .discovery-section {
        padding: 40px 0 0;
    }

    .discovery-content {
        padding-bottom: 30px;
    }

    .discovery-title {
        font-size: 28px;
    }

    .discovery-description {
        font-size: 16px;
    }

    .discovery-tag {
        width: 120px;
    }

    .discovery-tag--time {
        top: 20%;
        left: 0;
    }

    .discovery-tag--diagnostic {
        bottom: 20%;
        right: 5%;
    }

    /* CTA */
    /* .cta-section {
        padding: 32px 0;
    }

    .cta-section h2 {
        font-size: 28px;
        padding: 0 16px;
    }

    .cta-section .cta-subtitle {
        font-size: 16px;
        padding: 0 16px;
        margin-bottom: 32px;
    }

    .cta-section .btn-primary {
        font-size: 14px;
        padding: 16px 24px;
    } */

    /* Rodapé */
    .footer {
        padding: 48px 0 24px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        align-items: center;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
        width: 100%;
    }

    .footer-column {
        align-items: center;
    }

    .footer-list {
        align-items: center;
    }

    .footer-bottom {
        padding-top: 24px;
    }
}

/* ==========================================
   ACESSIBILIDADE - MOVIMENTO REDUZIDO
   ========================================== */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .stagger-children>* {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ==========================================
   MOBILE FIRST
   ========================================== */
@media (min-width: 1024px) {
    .cta-section {
      min-height: 654px;
      text-align: left;
    }
  
    .cta-section::after {
      content: "";
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      background-image: url("../images/homem-computador.png");
      background-size: contain;
      background-position: center center;
      background-repeat: no-repeat;
      z-index: 0;
    }

    @supports (background-image: image-set(url("test.webp") type("image/webp"))) {
        .cta-section::after {
            background-image: image-set(
            url("../images/homem-computador.webp") type("image/webp"),
            url("../images/homem-computador.png") type("image/png")
            );
        }
    }
  
    .cta-section .cta-content {
      max-width: 442px;
      align-items: flex-start;
    }

    .cta-section h2 br {
        display: inline;
    }
}