/* ==========================================================================
   CLEAN LIGHT-THEME DESIGN SYSTEM - LANDING PAGE MK
   ========================================================================== */

/* Variables & Design Tokens */
:root {
    --primary: #0A7A77;               /* Verde Petróleo da Marca (Teal) */
    --primary-light: #129C99;         /* Tom mais claro para hovers */
    --primary-dark: #054C4A;          /* Tom mais escuro para estados ativos/foco */
    
    --secondary: #0E2927;             /* Verde Petróleo Escuro (Elegância e Robustez) */
    --secondary-light: #18423F;       /* Tom intermediário */
    --secondary-dark: #071716;        /* Fundo alternativo muito escuro */
    
    --accent: #5AB9AB;                /* Mint Green (V3 accent) */
    --accent-light: #78C9BD;          /* Mint Green light hover */
    --accent-dark: #3F9587;           /* Mint Green dark active */
    
    --bg-main: #FFFFFF;               /* Fundo principal limpo */
    --bg-offset: #F4F8F7;             /* Fundo de alternância cinza-teal ultraclaro */
    --card-bg: #FFFFFF;               /* Fundo de cartões */
    
    --text-main: #1F302E;             /* Texto principal (slate-teal escuro) */
    --text-muted: #526B68;            /* Texto secundário/apoio */
    --text-light: #FFFFFF;            /* Texto claro */
    --text-light-muted: rgba(255, 255, 255, 0.7);
    
    --border-color: rgba(10, 122, 119, 0.1); /* Bordas sutis */
    --border-focus: rgba(10, 122, 119, 0.3);
    
    /* Sombras suaves e realistas para estética premium light */
    --shadow-sm: 0 4px 10px rgba(10, 122, 119, 0.02);
    --shadow-md: 0 10px 25px -5px rgba(10, 122, 119, 0.05), 0 8px 16px -6px rgba(10, 122, 119, 0.03);
    --shadow-lg: 0 20px 35px -10px rgba(10, 122, 119, 0.06), 0 12px 20px -8px rgba(10, 122, 119, 0.04);
    --shadow-premium: 0 30px 60px -15px rgba(10, 122, 119, 0.08);
    
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --max-width: 1240px;
    --header-height: 90px;
}

/* Reset Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

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

input, select, textarea, button {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Scroll reveal initial states */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Common Layout Elements */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

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

.section-pre-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
    background-color: rgba(10, 122, 119, 0.08); /* Primary with opacity */
    padding: 6px 16px;
    border-radius: 50px;
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--secondary);
}

.section-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.section-description {
    font-size: 16px;
    margin-top: 16px;
    color: var(--text-muted);
}

.title-bar {
    display: none;
}

/* Buttons Styling */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(10, 122, 119, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 122, 119, 0.25);
}

.btn-accent {
    background-color: var(--accent);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(197, 139, 84, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(197, 139, 84, 0.35);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.icon-right {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn:hover .icon-right {
    transform: translateX(4px);
}

/* Shimmer animation effect for premium buttons */
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(30deg);
    transition: none;
}

.btn-shimmer:hover::after {
    left: 130%;
    transition: all 0.8s ease-in-out;
}

/* Header & Navigation Styling - Light Glassmorphism */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
    box-shadow: 0 8px 25px rgba(10, 122, 119, 0.04);
}

.header-container {
    height: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-link {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 42px;
    width: auto;
    transition: var(--transition-smooth);
}

.main-header.scrolled .brand-logo {
    height: 36px;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-item {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

.nav-item:hover, .nav-item.active {
    color: var(--primary);
}

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

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-header {
    padding: 10px 20px;
    font-size: 14px;
}

.header-mobile-btn {
    display: none !important;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   SECTIONS STYLING
   ========================================================================== */

/* Seção 1: Dobra Principal (Hero Section) - Clean Light */
.section-hero {
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 70px;
    background-color: var(--bg-main);
    color: var(--text-main);
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 80% 20%, rgba(10, 122, 119, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(10, 122, 119, 0.03) 0%, transparent 40%),
        linear-gradient(180deg, #FFFFFF 0%, var(--bg-offset) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(10, 122, 119, 0.05);
    border: 1px solid rgba(10, 122, 119, 0.12);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(10, 122, 119, 0.4);
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 36px;
    font-weight: 400;
}

.hero-actions {
    margin-bottom: 48px;
    width: 100%;
}

.hero-trust {
    display: flex;
    gap: 24px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    width: 100%;
}

.trust-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: var(--primary);
    font-size: 16px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.abstract-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(10, 122, 119, 0.15) 0%, transparent 70%);
    opacity: 0.8;
    filter: blur(30px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* High-tech Graphic styles - Clean Light styling */
.tech-graphic {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.graphic-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(10, 122, 119, 0.18);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.graphic-circle.outer {
    width: 320px;
    height: 320px;
    animation: rotate-clockwise 40s linear infinite;
}

.graphic-circle.middle {
    width: 240px;
    height: 240px;
    border-style: solid;
    border-color: rgba(10, 122, 119, 0.08);
    animation: rotate-counter-clockwise 25s linear infinite;
}

.graphic-circle.inner {
    width: 160px;
    height: 160px;
}

.graphic-center-logo {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--primary);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(10, 122, 119, 0.2);
}

.graphic-center-logo i {
    font-size: 32px;
    color: #FFFFFF;
}

.graphic-node {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.graphic-node:hover {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 8px 20px rgba(10, 122, 119, 0.2);
    transform: scale(1.1);
}

.graphic-node.node-1 {
    top: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: orbit-1 12s ease-in-out infinite alternate;
}

.graphic-node.node-2 {
    bottom: 20%;
    left: 15%;
    animation: orbit-2 15s ease-in-out infinite alternate;
}

.graphic-node.node-3 {
    bottom: 20%;
    right: 15%;
    animation: orbit-3 14s ease-in-out infinite alternate;
}

/* Subtle Curve Divider at Section Bottom */
.section-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
    z-index: 5;
}

.section-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 45px;
}

.section-divider .shape-fill {
    fill: var(--bg-offset);
}

/* Seção 2: Conexão com os Desafios do Mercado - Clean Light */
.section-desafios {
    padding: 60px 0 100px 0;
    background-color: var(--bg-offset);
}

.desafios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.desafio-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.desafio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.desafio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 122, 119, 0.2);
}

.desafio-card:hover::before {
    transform: scaleX(1);
}

.card-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background-color: rgba(10, 122, 119, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.desafio-card:hover .card-icon-wrapper {
    background-color: var(--primary);
    color: #FFFFFF;
    transform: rotate(10deg);
}

.card-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 16px;
    color: var(--secondary);
}

.card-text {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Seção 3: Soluções & Os 5 Pilares Operacionais - Clean Light */
.section-solucoes {
    padding: 100px 0;
    background-color: var(--bg-main);
    color: var(--text-main);
}

.solutions-switcher-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

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

.solution-trigger-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    border-radius: 16px;
    background-color: transparent;
    border-left: 4px solid rgba(10, 122, 119, 0.1);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.solution-trigger-item:hover {
    background-color: rgba(10, 122, 119, 0.03);
    border-left-color: var(--primary);
}

.solution-trigger-item.active {
    background-color: var(--bg-offset);
    border-left-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.pilar-trigger-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.pilar-trigger-content {
    display: flex;
    flex-direction: column;
}

.pilar-trigger-content h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 0;
    line-height: 1.3;
}

.solution-trigger-item.active .pilar-trigger-content h3 {
    margin-bottom: 4px;
}

.pilar-trigger-desc {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin-top 0.3s ease;
}

.solution-trigger-item.active .pilar-trigger-desc {
    max-height: 150px;
    opacity: 1;
    margin-top: 8px;
}

.pilar-trigger-content p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Painel de Exibição das Imagens (Fade) */
.solutions-display-panel {
    position: relative;
    width: 100%;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-image-item {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateY(15px);
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 1;
}

.solution-image-item.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 3;
}

.solution-display-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
}

.dashboard-mockup {
    background-color: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(10, 122, 119, 0.1);
    transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
    transition: var(--transition-smooth);
    width: 100%;
}

.solution-image-item.active .dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background-color: #F0F4F3;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    position: relative;
    border-bottom: 1px solid rgba(10, 122, 119, 0.08);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.mockup-address {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFFFFF;
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-muted);
    padding: 2px 24px;
    width: 220px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 1px solid rgba(10, 122, 119, 0.12);
}

.mockup-body {
    padding: 0;
    line-height: 0;
}

.dashboard-img {
    width: 100%;
    height: auto;
}

/* Seção 4: O Diferencial MK & Etapas do Processo - Clean Light */
.section-processo {
    padding: 100px 0;
    background-color: var(--bg-offset);
}

.processo-subtitle {
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid de Processo de Importação (Substituindo a Timeline Vertical) */
.timeline-wrapper {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 0;
}

.timeline-line {
    display: none; /* Esconde a linha vertical */
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px 24px; /* Espaço vertical e horizontal */
}

.timeline-step {
    position: relative;
    width: 100% !important;
    padding: 0 !important;
    align-self: auto !important;
    display: flex;
    flex-direction: column;
}

/* Grid de Processo de Importação (Horizontal Scrollable Timeline with Grab & Navigation) */
.timeline-outer-container {
    position: relative;
    width: 100%;
}

.timeline-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 8;
    pointer-events: none;
    transition: opacity var(--transition-smooth);
}

.timeline-fade.fade-left {
    left: 0;
    background: linear-gradient(to right, var(--bg-offset) 0%, rgba(244, 248, 247, 0) 100%);
    opacity: 0;
}

.timeline-fade.fade-right {
    right: 0;
    background: linear-gradient(to left, var(--bg-offset) 0%, rgba(244, 248, 247, 0) 100%);
}

.timeline-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 25px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    cursor: grab;
}

.timeline-wrapper.grabbing {
    cursor: grabbing;
    user-select: none;
}

/* Hide scrollbar for Chrome, Safari and Edge */
.timeline-wrapper::-webkit-scrollbar {
    display: none;
}

.timeline-nav-btn {
    position: absolute;
    top: calc(50% - 12px);
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    color: var(--primary);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-smooth);
}

.timeline-nav-btn:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.timeline-nav-btn.prev-btn {
    left: -23px;
}

.timeline-nav-btn.next-btn {
    right: -23px;
}

@media (max-width: 1024px) {
    .timeline-nav-btn {
        display: none;
    }
}

.timeline-line {
    display: none; /* Esconde a linha vertical antiga */
}

.timeline-grid {
    display: flex;
    gap: 32px;
    padding: 30px 24px 10px 24px; /* Margens perfeitamente alinhadas com as margens da página (24px) */
    width: max-content; /* Garante que o container se estenda na horizontal */
}

.timeline-step {
    position: relative;
    flex: 0 0 290px; /* Largura fixa para cada card, impedindo que encolham */
    display: flex;
    flex-direction: column;
}

/* Linha horizontal conectando os badges com setas maiores e mais espaçadas para a direita (→) */
.timeline-step::after {
    content: '';
    position: absolute;
    top: -6px; /* Alinhado para centralizar o SVG de 12px de altura */
    left: 64px;
    width: calc(100% - 8px); /* Conecta exatamente do fim do badge atual ao início do próximo */
    height: 12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cline x1='0' y1='6' x2='48' y2='6' stroke='rgba(10, 122, 119, 0.15)' stroke-width='2'/%3E%3Cpolyline points='20,2 25,6 20,10' fill='none' stroke='%230A7A77' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: center;
    z-index: 5;
}

/* Esconde a linha conectora no último elemento do fluxo (Etapa 8) */
.timeline-step:last-child::after {
    display: none;
}

.step-badge {
    position: absolute;
    top: -20px;
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(10, 122, 119, 0.1);
    transition: var(--transition-smooth);
}

.timeline-step:hover .step-badge {
    background-color: var(--primary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(10, 122, 119, 0.2);
    transform: scale(1.1);
}

.step-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px 24px 24px; /* Mais padding no topo para acomodar o badge */
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 20px; /* Cria espaço para o badge que flutua no topo */
}

.timeline-step:hover .step-content {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 122, 119, 0.25);
}

.step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.step-desc {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Seção 5: Autoridade e Indicadores de Sucesso (Power Numbers) - Clean Light */
.section-indicadores {
    padding: 100px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.indicadores-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.indicador-card {
    background-color: var(--bg-offset);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
}

.indicador-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(10, 122, 119, 0.2);
    background-color: #FFFFFF;
}

.indicador-number-wrapper {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.indicador-num {
    font-size: 44px;
    font-weight: 800;
}

.indicador-suffix {
    font-weight: 700;
}

.indicador-num + .indicador-suffix {
    margin-left: 6px;
}

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

/* Seção 6: Captação e Qualificação Comercial (Formulário) - Premium Light */
/* CTA Intermediário */
.section-cta-middle {
    padding: 60px 0;
    background-color: var(--bg-offset);
    text-align: center;
    border-top: 1px solid var(--border-color);
}

/* Seção de Contato & Captação (Dobra Inferior) */
.section-contato {
    padding: 100px 0;
    background-color: var(--bg-main);
    position: relative;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.contato-human {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Expert Card */
.expert-card {
    background-color: var(--bg-offset);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.expert-quote {
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    color: var(--secondary);
    line-height: 1.7;
    position: relative;
}

.expert-quote::before {
    content: '“';
    font-size: 80px;
    font-family: serif;
    position: absolute;
    top: -40px;
    left: -20px;
    color: rgba(10, 122, 119, 0.1);
    line-height: 1;
}

.expert-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.expert-avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(10, 122, 119, 0.08);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.expert-details h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary);
}

.expert-details p {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* B2B Qualify Form - Premium Light Style */
.qualify-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 36px 30px;
    box-shadow: var(--shadow-premium);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.qualify-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(10, 122, 119, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.form-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.form-subtitle {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.45;
}

.form-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Anti-spam honeypot */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background-color: #FFFFFF;
    border: 1.5px solid rgba(10, 122, 119, 0.15);
    color: var(--text-main);
    padding: 11px 16px;
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition-smooth);
    outline: none;
}

.form-control::placeholder {
    color: #A0B0AF;
    opacity: 1;
}

.form-control:focus {
    border-color: var(--primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(10, 122, 119, 0.1);
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a7a77' 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 14px center;
    background-size: 14px;
    padding-right: 36px;
    cursor: pointer;
}

select.form-control option {
    background-color: #FFFFFF;
    color: var(--text-main);
}

/* Success State Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--card-bg);
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-overlay.active {
    transform: translateY(0);
}

.success-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(10, 122, 119, 0.05);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 24px;
    animation: scaleUp 0.5s ease forwards;
}

@keyframes scaleUp {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.success-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
}

.success-text {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Seção 7: Perguntas Frequentes (FAQ) - Clean Light */
.section-faq {
    padding: 100px 0;
    background-color: var(--bg-main);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(10, 122, 119, 0.2);
    box-shadow: var(--shadow-md);
}

.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

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

.faq-icon-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(10, 122, 119, 0.05);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.faq-trigger[aria-expanded="true"] .faq-icon-indicator {
    transform: rotate(180deg);
    background-color: var(--primary);
    color: #FFFFFF;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    padding: 0 30px 24px 30px;
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid rgba(10, 122, 119, 0.05);
    padding-top: 16px;
}

/* ==========================================================================
   FOOTER STYLING - Premium Light 3-Column Grid
   ========================================================================== */
.main-footer {
    background-color: var(--bg-offset);
    color: var(--text-main);
    padding: 80px 0 32px 0;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 42px;
    width: auto;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-btn:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(10, 122, 119, 0.15);
}

.footer-links h4, .footer-contact h4 {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--secondary);
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 14.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-link::before {
    content: '→';
    color: var(--primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.footer-link:hover {
    color: var(--primary);
    padding-left: 6px;
}

.footer-link:hover::before {
    opacity: 1;
}

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

.contact-item {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact-item i {
    font-size: 18px;
    color: var(--primary);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: var(--text-muted);
}

.copyright-text strong {
    color: var(--primary);
}

/* ==========================================================================
   ANIMATIONS & MEDIA QUERIES
   ========================================================================== */

/* Keyframe Animations */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(10, 122, 119, 0.4); }
    70% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 8px rgba(10, 122, 119, 0); }
    100% { transform: scale(1); opacity: 0; box-shadow: 0 0 0 0 rgba(10, 122, 119, 0); }
}

@keyframes rotate-clockwise {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rotate-counter-clockwise {
    0% { transform: translate(-50%, -50%) rotate(360deg); }
    100% { transform: translate(-50%, -50%) rotate(0deg); }
}

@keyframes orbit-1 {
    0% { transform: translate(-50%, -50%) translate(0, 0); }
    100% { transform: translate(-50%, -50%) translate(15px, -10px); }
}

@keyframes orbit-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-10px, 15px) scale(1.02); }
}

@keyframes orbit-3 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15px, 10px) scale(0.98); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media Queries (Responsive Design) */

/* Tablet & Smaller Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 34px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .visual-wrapper {
        width: 320px;
        height: 320px;
    }
    
    .graphic-circle.outer { width: 270px; height: 270px; }
    .graphic-circle.middle { width: 200px; height: 200px; }
    
    .desafios-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    

    
    .pilares-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pilar-dashboard-section {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 32px;
    }
    
    .dashboard-mockup {
        transform: none;
    }
    
    .pilar-dashboard-section:hover .dashboard-mockup {
        transform: none;
    }
    
    .indicadores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .solutions-switcher-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .solutions-display-panel {
        min-height: 380px;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #FFFFFF;
        border-left: 1px solid var(--border-color);
        z-index: 999;
        transition: var(--transition-smooth);
        padding: 100px 40px 40px 40px;
        box-shadow: -10px 0 30px rgba(10, 122, 119, 0.05);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-item {
        font-size: 18px;
        color: var(--text-main);
    }
    
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .btn-header {
        display: none;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-actions {
        display: flex;
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .desafios-grid {
        grid-template-columns: 1fr;
    }
    

    
    .indicadores-grid {
        grid-template-columns: 1fr;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .solution-trigger-item {
        padding: 16px 20px;
        gap: 14px;
        border-radius: 12px;
    }
    
    .pilar-trigger-content h3 {
        font-size: 16px;
    }
    
    .pilar-trigger-content p {
        font-size: 13.5px;
    }
    
    .solution-trigger-item.active .pilar-trigger-desc {
        max-height: 250px;
    }
    
    .solutions-display-panel {
        min-height: 280px;
    }
    
    .timeline-fade {
        width: 40px;
    }
}

/* ==========================================================================
   HERO VERSION 2 (DARK BACKGROUND CARGO SHIP)
   ========================================================================== */

/* Custom styles for Hero v2 (Dark background with cargo ship) */
.section-hero.v2 {
    background-image: url('../images/hero-bg-v2.png');
    background-size: cover;
    background-position: center 80%;
    background-repeat: no-repeat;
}

.section-hero.v2 .hero-bg-overlay {
    background-image: linear-gradient(
        180deg, 
        rgba(7, 23, 22, 0.82) 0%, 
        rgba(14, 41, 39, 0.88) 100%
    );
}

.section-hero.v2 .hero-title {
    color: var(--text-light);
}

.section-hero.v2 .hero-title span {
    color: var(--accent); /* Novo tom cobre/terracota */
}

.section-hero.v2 .hero-subtitle {
    color: var(--text-light-muted);
}

.section-hero.v2 .hero-badge {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.section-hero.v2 .badge-text {
    color: var(--text-light);
}

.section-hero.v2 .badge-dot {
    background-color: var(--accent);
    box-shadow: 0 0 10px rgba(201, 106, 43, 0.5);
}

.section-hero.v2 .hero-trust {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.section-hero.v2 .trust-item {
    color: var(--text-light-muted);
}

.section-hero.v2 .trust-item i {
    color: var(--accent);
}

/* Body context-dependent navigation header */
body.has-dark-hero .main-header:not(.scrolled) .nav-item {
    color: var(--text-light-muted);
}

body.has-dark-hero .main-header:not(.scrolled) .nav-item:hover,
body.has-dark-hero .main-header:not(.scrolled) .nav-item.active {
    color: var(--text-light);
}

body.has-dark-hero .main-header:not(.scrolled) .nav-item::after {
    background-color: var(--accent);
}

body.has-dark-hero .main-header:not(.scrolled) .brand-logo {
    filter: brightness(0) invert(1);
}

body.has-dark-hero .main-header:not(.scrolled) .mobile-toggle .bar {
    background-color: var(--text-light);
}

body.has-dark-hero .main-header:not(.scrolled) .btn-header {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-light);
}

body.has-dark-hero .main-header:not(.scrolled) .btn-header:hover {
    background-color: var(--accent-light);
    border-color: var(--accent-light);
}
