/* ===================================================
    FONTE CUSTOMIZADA — Sentico Sans DT ExtraBold
 Arquivo local .ttf usado apenas nos títulos (--font-display)
    ==================================================== */
@font-face {
    font-family: 'Sentico Sans DT';
    src: url('../../FONTS/SenticoSansDT-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
/* ===================================================
   VARIÁVEIS DE COR — Extraídas da identidade visual da TRIAS
   - Navy:   #0D1B2A  (fundo escuro)
   - Orange: #E8622A  (destaque laranja)
   - Teal:   #3BBFBF  (verde-água)
   - Beige:  #F0EDE8  (fundo claro)
   - Light:  #FAFAF8  (quase branco)
==================================================== */
:root {
    --navy:    #0D1B2A;
    --navy2:   #122032;
    --orange:  #E8622A;
    --teal:    #3BBFBF;
    --beige:   #F0EDE8;
    --light:   #FAFAF8;
    --gray:    #8A8880;
    --font-display: 'Sentico Sans DT', sans-serif; /* ← títulos grandes */
    --font-body:    'DM Sans', sans-serif;          /* ← textos corridos, não muda */
    }


/* ===================================================
   RESET GLOBAL
==================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--beige);
    color: var(--navy);
    overflow-x: hidden;
    cursor: none; /* Cursor customizado */
}

/* Esconde a scrollbar padrão do navegador */
::-webkit-scrollbar { display: none; }
html { scrollbar-width: none; -ms-overflow-style: none; }

/* ===================================================
   CURSOR PERSONALIZADO — Pixel "t." inspirado no logo
==================================================== */
#cursor {
    position: fixed;
    width: 12px; height: 12px;
    background: var(--orange);
    border-radius: 2px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease, width 0.2s, height 0.2s, background 0.2s;
}
#cursor.hovered {
    width: 40px; height: 40px;
    background: var(--teal);
    opacity: 0.5;
    border-radius: 50%;
}

/* ===================================================
   BARRA DE PROGRESSO DE SCROLL — linha laranja no topo
==================================================== */
#scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--orange), var(--teal));
    z-index: 1000;
    transition: width 0.1s linear;
}

/* ===================================================
   NAVEGAÇÃO
==================================================== */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 40px;
    background: rgba(240, 237, 232, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13,27,42,0.08);
    z-index: 500;
    transition: background 0.3s;
}
nav.dark {
    background: rgba(13, 27, 42, 0.92);
}
nav.dark .nav-logo-text { color: var(--light); }
nav.dark .nav-links a   { color: var(--light); }

/* Logo na nav */
.nav-logo { 
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.nav-logo-pixel {
    /* Pixel "t." em CSS puro — inspirado no símbolo da marca */
    display: grid;
    grid-template-columns: repeat(4, 6px);
    grid-template-rows:    repeat(5, 6px);
    gap: 1px;
}
.px { background: var(--orange); border-radius: 1px; }
.px-teal { background: var(--teal); }
.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 800; font-size: 22px;
    letter-spacing: 2px;
    color: var(--navy);
    transition: color 0.3s;
}
.nav-logo-text span { color: var(--orange); }

/* Links da nav */
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
    font-size: 13px; font-weight: 500;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--navy); text-decoration: none;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }

/* Botão WhatsApp na nav */
.btn-wa {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px;
    background: var(--orange);
    color: #fff !important;
    font-weight: 700; font-size: 13px;
    letter-spacing: 1px; text-transform: uppercase;
    border-radius: 4px; text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}
.btn-wa:hover { background: var(--teal); transform: translateY(-2px); }
.btn-wa svg { width: 16px; height: 16px; fill: #fff; }

/* Botão de menu com seta (mobile) */
.menu-toggle {
    display: none;
    align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--navy);
    transition: transform 0.2s;
    padding: 0;
}
.menu-toggle:hover { transform: scale(1.1); }
.menu-toggle svg { width: 20px; height: 20px; }

/* Menu dropdown mobile */
.mobile-menu {
    display: none;
    position: fixed; top: 70px; left: 0; right: 0;
    background: rgba(240, 237, 232, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(13,27,42,0.08);
    flex-direction: column;
    padding: 0;
    gap: 12px;
    z-index: 490;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
}
.mobile-menu.open {
    max-height: 400px;
    padding: 20px;
    opacity: 1;
    visibility: visible;
}
.mobile-menu a {
    padding: 12px 16px;
    color: var(--navy);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s;
    border-radius: 4px;
}
.mobile-menu a:hover {
    color: var(--orange);
    background: rgba(232, 98, 42, 0.08);
}

/* Quando navbar está em modo dark */
nav.dark ~ .mobile-menu {
    background: rgba(13, 27, 42, 0.95);
}
nav.dark ~ .mobile-menu a {
    color: var(--light);
}
nav.dark ~ .mobile-menu a:hover {
    color: var(--orange);
}

/* Toggle button color when in dark mode */
nav.dark .menu-toggle {
    color: var(--light);
}

/* ===================================================
   HERO — Seção principal com texto animado e gradiente
==================================================== */
#hero {
    min-height: 100vh;
    display: flex; flex-direction: column;
    justify-content: center; align-items: flex-start;
    padding: 120px 40px 80px;
    position: relative; overflow: hidden;
    background: var(--navy);
}

/* Floating Elements */
.float-element {
    position: absolute;
    opacity: 0.08;
    animation: float 8s ease-in-out infinite;
    border: 2px solid;
    z-index: 3;
}

.float-1 {
    width: 400px;
    height: 400px;
    border-color: var(--orange);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.float-2 {
    width: 300px;
    height: 300px;
    border-color: var(--teal);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    bottom: 10%;
    right: 10%;
    animation-delay: 2s;
}

.float-3 {
    width: 250px;
    height: 250px;
    border-color: var(--orange);
    border-radius: 50% 50% 30% 70% / 30% 70% 70% 30%;
    top: 40%;
    right: 5%;
    animation-delay: 4s;
}

.float-4 {
    width: 200px;
    height: 200px;
    border-color: var(--teal);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    bottom: 30%;
    left: 15%;
    animation-delay: 6s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    25% {
        transform: translate(30px, -30px) rotate(90deg) scale(1.1);
    }

    50% {
        transform: translate(-20px, -60px) rotate(180deg) scale(0.9);
    }

    75% {
        transform: translate(-40px, -30px) rotate(270deg) scale(1.05);
    }
}

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


@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(50px, 50px);
    }
}

/* Fundo com gradiente mesh animado */
.hero-bg {
    position: absolute; inset: 0;
    background:
            radial-gradient(ellipse 60% 60% at 80% 20%, rgba(59,191,191,0.18) 0%, transparent 60%),
            radial-gradient(ellipse 50% 50% at 20% 80%, rgba(232,98,42,0.15) 0%, transparent 55%),
            var(--navy);
    animation: bgPulse 8s ease-in-out infinite alternate;
}
@keyframes bgPulse {
    0%   { opacity: 1; }
    100% { opacity: 0.85; filter: brightness(1.05); }
}

/* Textura de ruído sutil no hero */
.hero-noise {
    position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.4; pointer-events: none;
}

/* Tag de categoria */
.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(59,191,191,0.4);
    border-radius: 100px;
    font-size: 11px; font-weight: 500;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 28px;
    position: relative; z-index: 2;
    opacity: 0; animation: fadeUp 0.7s 0.2s forwards;
}

/* Headline principal — grande e impactante */
.hero-headline {
    font-family: var(--font-display);
    font-weight: 900; font-size: clamp(50px, 8vw, 100px);
    line-height: 0.92; letter-spacing: -1px;
    color: var(--light);
    position: relative; z-index: 2;
    max-width: 800px;
}
.hero-headline em { color: var(--orange); font-style: normal; }
.hero-headline .line {
    display: block;
    opacity: 0; transform: translateY(30px);
    animation: fadeUp 0.7s forwards;
}
.hero-headline .line:nth-child(1) { animation-delay: 0.4s; }
.hero-headline .line:nth-child(2) { animation-delay: 0.55s; }
.hero-headline .line:nth-child(3) { animation-delay: 0.7s; }

/* Sublinha decorativa animada */
.hero-line {
    display: block; width: 0; height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--teal));
    margin: 24px 0 32px;
    position: relative; z-index: 2;
    animation: expandLine 0.8s 1s forwards;
}
@keyframes expandLine {
    to { width: 200px; }
}

/* Subtítulo do hero */
.hero-sub {
    font-size: clamp(15px, 2vw, 18px); font-weight: 300;
    color: rgba(250,250,248,0.65);
    max-width: 480px; line-height: 1.65;
    position: relative; z-index: 2;
    opacity: 0; animation: fadeUp 0.7s 1s forwards;
    margin-bottom: 40px;
}

/* CTAs do hero */
.hero-ctas {
    display: flex; gap: 16px; flex-wrap: wrap;
    position: relative; z-index: 2;
    opacity: 0; animation: fadeUp 0.7s 1.2s forwards;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px;
    background: var(--orange); color: #fff;
    font-weight: 700; font-size: 14px;
    letter-spacing: 1px; text-transform: uppercase;
    border-radius: 4px; text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(232,98,42,0.35);
}
.btn-primary:hover {
    background: var(--teal);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(59,191,191,0.35);
}
.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 32px;
    border: 1.5px solid rgba(250,250,248,0.25); color: var(--light);
    font-weight: 500; font-size: 14px;
    letter-spacing: 1px; text-transform: uppercase;
    border-radius: 4px; text-decoration: none;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.btn-secondary:hover {
    border-color: var(--teal); color: var(--teal);
    transform: translateY(-3px);
}

/* Scroll hint — no final do hero, centralizado horizontalmente */
.hero-scroll {
    position: absolute; bottom: 36px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    z-index: 2; opacity: 0.7;
    animation: fadeUp 0.7s 1.6s forwards;
}
.hero-scroll span { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--light); }
.scroll-dot {
    width: 1px; height: 40px;
    background: linear-gradient(to bottom, var(--orange), transparent);
    animation: scrollAnim 1.5s ease-in-out infinite;
}
@keyframes scrollAnim {
    0%,100% { transform: scaleY(1); opacity: 0.5; }
    50%      { transform: scaleY(1.3); opacity: 1; }
}

/* Stats flutuantes no hero */
.hero-stats {
    position: absolute; right: 40px; bottom: 80px;
    display: flex; flex-direction: column; gap: 20px;
    z-index: 2;
    opacity: 0; animation: fadeRight 0.8s 1.4s forwards;
}
.stat-item { text-align: right; }
.stat-num {
    font-family: var(--font-display);
    font-weight: 800; font-size: 42px;
    color: var(--light); line-height: 1;
}
.stat-num span { color: var(--orange); }
.stat-label {
    font-size: 11px; font-weight: 400;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(250,250,248,0.45);
}

/* Animações utilitárias */
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeRight {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}


/* ===================================================
   SEÇÃO DE SERVIÇOS — Cards interativos com hover
==================================================== */
#services {
    padding: 100px 40px;
    background: var(--light);
}

.section-label {
    font-size: 11px; font-weight: 500;
    letter-spacing: 3px; text-transform: uppercase;
    color: var(--orange); margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 800; font-size: clamp(36px, 5vw, 60px);
    line-height: 1; color: var(--navy); margin-bottom: 60px;
}
.section-title em { color: var(--teal); font-style: normal; }

/* Grid de serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2px;
}
.service-card {
    position: relative; overflow: hidden;
    padding: 48px 36px;
    background: var(--beige);
    transition: background 0.35s, transform 0.35s;
    cursor: none;
}
.service-card:hover {
    background: var(--navy);
    transform: translateY(-4px);
}

/* Número do serviço */
.service-num {
    font-family: var(--font-display);
    font-weight: 900; font-size: 80px;
    color: rgba(13,27,42,0.06);
    position: absolute; top: 16px; right: 24px;
    line-height: 1; transition: color 0.35s;
}
.service-card:hover .service-num { color: rgba(59,191,191,0.1); }

/* Ícone */
.service-icon {
    width: 48px; height: 48px;
    background: var(--orange);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    transition: background 0.35s, transform 0.35s;
}
.service-card:hover .service-icon { background: var(--teal); transform: rotate(5deg); }
.service-icon svg { width: 24px; height: 24px; fill: #fff; }

.service-name {
    font-family: var(--font-display);
    font-weight: 800; font-size: 26px;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--navy); margin-bottom: 12px;
    transition: color 0.35s;
}
.service-card:hover .service-name { color: var(--light); }

.service-desc {
    font-size: 14px; line-height: 1.7;
    color: var(--gray); transition: color 0.35s;
}
.service-card:hover .service-desc { color: rgba(250,250,248,0.6); }

/* Linha decorativa que cresce no hover */
.service-bar {
    position: absolute; bottom: 0; left: 0;
    height: 3px; width: 0;
    background: linear-gradient(90deg, var(--orange), var(--teal));
    transition: width 0.4s ease;
}
.service-card:hover .service-bar { width: 100%; }

/* ===================================================
   SEÇÃO POR QUÊ TRIAS — Alternância claro/escuro
==================================================== */
#why {
    padding: 100px 40px;
    background: var(--navy);
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: center;
}
/* ===================================================
   MANIFESTO VISUAL — substitui o gráfico na seção #why
==================================================== */
.manifesto-wrap {
    position: relative;
    padding: 48px;
    border: 1px solid rgba(250,250,248,0.08);
    border-radius: 16px;
    background: rgba(250,250,248,0.03);
    overflow: hidden;
}

/* Linha decorativa laranja no topo */
.manifesto-wrap::before {
    content: '';
    position: absolute; top: 0; left: 48px;
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--teal));
}

/* Aspas decorativas de fundo */
.manifesto-quote-bg {
    position: absolute; top: 24px; right: 32px;
    font-family: var(--font-display);
    font-size: 160px; line-height: 1;
    color: rgba(250,250,248,0.03);
    pointer-events: none; user-select: none;
}

/* Texto principal do manifesto */
.manifesto-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(22px, 2.5vw, 32px);
    line-height: 1.2;
    color: var(--light);
    position: relative; z-index: 1;
    margin-bottom: 32px;
}
.manifesto-text em {
    color: var(--orange);
    font-style: normal;
}
.manifesto-text span {
    color: rgba(250,250,248,0.35);
}

/* Linha separadora */
.manifesto-divider {
    width: 40px; height: 2px;
    background: var(--teal);
    margin-bottom: 24px;
}

/* Gráfico de tendência de crescimento */
.manifesto-chart {
    width: 100%;
    max-width: 550px;
    height: 140px;
    margin: 32px 0;
    animation: fadeUp 0.8s ease-out 0.3s both;
}

.manifesto-chart svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 16px rgba(232, 98, 42, 0.15));
    overflow: visible;
}

/* Responsivo para tablets e desktops */
@media (min-width: 768px) {
    .manifesto-chart {
        max-width: 100%;
        height: 160px;
    }
}

@media (min-width: 1024px) {
    .manifesto-chart {
        max-width: 100%;
        height: 180px;
    }
}

/* Animação da linha do gráfico */
.chart-line {
    stroke-dasharray: 1500;
    stroke-dashoffset: 1500;
    animation: drawLine 2s ease-out 0.4s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Animação dos pontos do gráfico */
.chart-dot {
    opacity: 0;
    animation: popDot 0.5s ease-out forwards;
}

.chart-dot-1 { animation-delay: 0.6s; }
.chart-dot-2 { animation-delay: 0.8s; }
.chart-dot-3 { animation-delay: 1s; }
.chart-dot-4 { animation-delay: 1.2s; }
.chart-dot-5 { animation-delay: 1.4s; }
.chart-dot-6 { animation-delay: 1.6s; }
.chart-dot-7 { animation-delay: 1.8s; }
.chart-dot-8 { animation-delay: 2s; }

@keyframes popDot {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    70% {
        opacity: 1;
        transform: scale(1.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Frase de encerramento menor */
.manifesto-sub {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(250,250,248,0.4);
    line-height: 1.7;
}
.manifesto-sub strong {
    color: var(--teal);
    font-weight: 600;
}
.why-text .section-label { color: var(--teal); }
.why-text .section-title { color: var(--light); }

.why-list { margin-top: 40px; }
.why-item {
    display: flex; gap: 20px; align-items: flex-start;
    padding: 24px 0; border-bottom: 1px solid rgba(250,250,248,0.08);
    opacity: 0; transform: translateX(-20px);
    transition: opacity 0.5s, transform 0.5s;
}
.why-item.visible { opacity: 1; transform: translateX(0); }
.why-item:last-child { border-bottom: none; }

.why-dot {
    width: 10px; height: 10px; border-radius: 2px;
    background: var(--orange); flex-shrink: 0; margin-top: 6px;
}
.why-item-title {
    font-family: var(--font-display);
    font-weight: 700; font-size: 20px;
    color: var(--light); letter-spacing: 0.5px; margin-bottom: 6px;
}
.why-item-desc {
    font-size: 14px; color: rgba(250,250,248,0.55); line-height: 1.65;
}

/* Gráfico animado do lado direito */
.why-visual {
    position: relative;
}
.chart-container {
    background: rgba(250,250,248,0.04);
    border: 1px solid rgba(250,250,248,0.08);
    border-radius: 16px; padding: 36px;
}
.chart-title {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: rgba(250,250,248,0.4); margin-bottom: 32px;
}
.chart-bars { display: flex; align-items: flex-end; gap: 12px; height: 160px; }
.bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; }
.bar-track { flex: 1; width: 100%; background: rgba(250,250,248,0.05); border-radius: 4px; position: relative; overflow: hidden; }
.bar-fill {
    position: absolute; bottom: 0; left: 0; right: 0;
    border-radius: 4px;
    width: 100%; height: 0%;
    transition: height 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.bar-fill.orange { background: linear-gradient(to top, var(--orange), rgba(232,98,42,0.5)); }
.bar-fill.teal   { background: linear-gradient(to top, var(--teal),   rgba(59,191,191,0.5)); }
.bar-label {
    font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
    color: rgba(250,250,248,0.4); text-align: center;
}
.chart-metric {
    margin-top: 28px; padding-top: 28px;
    border-top: 1px solid rgba(250,250,248,0.08);
    display: flex; justify-content: space-between;
}
.metric { text-align: center; }
.metric-val {
    font-family: var(--font-display);
    font-weight: 800; font-size: 32px; color: var(--light);
}
.metric-val span { color: var(--teal); }
.metric-desc { font-size: 11px; color: rgba(250,250,248,0.4); margin-top: 4px; }

/* ===================================================
   SEÇÃO DE PROCESSO — Timeline horizontal interativa
==================================================== */
#process {
    padding: 100px 40px;
    background: var(--beige);
    overflow: hidden;
}

.process-steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2px; margin-top: 60px;
}
.step {
    padding: 36px 28px 36px;
    background: var(--light);
    position: relative; overflow: hidden;
    cursor: none;
    transition: background 0.3s;
}
.step.active, .step:hover { background: var(--navy); }

.step-num {
    font-family: var(--font-display);
    font-weight: 900; font-size: 64px;
    color: rgba(13,27,42,0.06); line-height: 1;
    position: absolute; top: 12px; right: 16px;
    transition: color 0.3s;
}
.step.active .step-num,
.step:hover .step-num { color: rgba(59,191,191,0.12); }

.step-icon-wrap {
    width: 40px; height: 40px;
    background: rgba(232,98,42,0.12);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; transition: background 0.3s;
}
.step.active .step-icon-wrap,
.step:hover .step-icon-wrap { background: rgba(59,191,191,0.2); }
.step-icon-wrap svg { width: 20px; height: 20px; stroke: var(--orange); fill: none; stroke-width: 1.8; transition: stroke 0.3s; }
.step.active .step-icon-wrap svg,
.step:hover .step-icon-wrap svg { stroke: var(--teal); }

.step-title {
    font-family: var(--font-display);
    font-weight: 800; font-size: 20px;
    text-transform: uppercase; letter-spacing: 1px;
    color: var(--navy); margin-bottom: 10px; transition: color 0.3s;
}
.step.active .step-title,
.step:hover .step-title { color: var(--light); }

.step-desc {
    font-size: 13px; line-height: 1.7;
    color: var(--gray); transition: color 0.3s;
}
.step.active .step-desc,
.step:hover .step-desc { color: rgba(250,250,248,0.55); }

.step-bar {
    position: absolute; bottom: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--teal), var(--orange));
    transition: width 0.4s;
}
.step.active .step-bar { width: 100%; }
.step:hover .step-bar { width: 100%; }

/* ===================================================
   CONTADOR ANIMADO — Seção de números
==================================================== */
#numbers {
    padding: 80px 40px;
    background: var(--orange);
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 2px;
}
.num-item {
    padding: 40px 28px; background: var(--orange);
    text-align: center;
    transition: background 0.25s;
}
.num-item:hover { background: rgba(232,98,42,0.7); }
.num-val {
    font-family: var(--font-display);
    font-weight: 900; font-size: clamp(48px, 5vw, 72px);
    color: var(--light); line-height: 1;
}
.num-label {
    font-size: 11px; font-weight: 500;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(250,250,248,0.7); margin-top: 8px;
}

/* ===================================================
   FAQ ACCORDION — Dúvidas frequentes com animação
==================================================== */
#faq {
    padding: 100px 40px;
    background: var(--navy);
    max-width: 100%;
}
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq-inner .section-label { color: var(--teal); }
.faq-inner .section-title { color: var(--light); }

.faq-list { margin-top: 48px; }
.faq-item {
    border-bottom: 1px solid rgba(250,250,248,0.08);
    overflow: hidden;
}
.faq-q {
    display: flex; justify-content: space-between; align-items: center;
    padding: 24px 0;
    font-family: var(--font-display); font-weight: 700; font-size: 20px;
    color: var(--light); cursor: none;
    transition: color 0.2s;
}
.faq-q:hover { color: var(--orange); }
.faq-icon {
    width: 28px; height: 28px; flex-shrink: 0;
    border: 1.5px solid rgba(250,250,248,0.2); border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    transition: border-color 0.2s, background 0.2s, transform 0.3s;
}
.faq-icon svg { width: 14px; height: 14px; stroke: var(--light); fill: none; stroke-width: 2; transition: stroke 0.2s; }
.faq-item.open .faq-icon {
    background: var(--orange); border-color: var(--orange);
    transform: rotate(45deg);
}
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-a {
    max-height: 0; overflow: hidden;
    font-size: 14px; color: rgba(250,250,248,0.55); line-height: 1.75;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 24px; }

/* ===================================================
   CTA FINAL — Grande e chamativo com botão de WhatsApp
==================================================== */
#cta {
    padding: 100px 40px;
    background: var(--beige);
    text-align: center; position: relative; overflow: hidden;
}
.cta-bg {
    position: absolute; inset: 0;
    background:
            radial-gradient(ellipse 60% 70% at 50% 50%, rgba(59,191,191,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.cta-label { color: var(--orange); }
.cta-title {
    font-family: var(--font-display);
    font-weight: 900; font-size: clamp(48px, 7vw, 88px);
    line-height: 0.95; letter-spacing: -1px;
    color: var(--navy); max-width: 700px; margin: 0 auto 16px;
    position: relative; z-index: 1;
}
.cta-title em { color: var(--orange); font-style: normal; }
.cta-sub {
    font-size: 16px; color: var(--gray);
    max-width: 440px; margin: 16px auto 48px;
    line-height: 1.7; position: relative; z-index: 1;
}
.cta-actions { position: relative; z-index: 1; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Botão WhatsApp destacado — pulsante */
.btn-wa-big {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 20px 40px;
    background: #25D366; color: #fff;
    font-weight: 700; font-size: 16px;
    letter-spacing: 0.5px;
    border-radius: 6px; text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(37,211,102,0.3);
    animation: pulsate 2.5s ease-in-out infinite;
}
.btn-wa-big:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 40px rgba(37,211,102,0.5);
    animation: none;
}
.btn-wa-big svg { width: 22px; height: 22px; fill: #fff; }

@keyframes pulsate {
    0%,100% { box-shadow: 0 4px 24px rgba(37,211,102,0.3); }
    50%      { box-shadow: 0 4px 40px rgba(37,211,102,0.6); }
}

/* ===================================================
   FOOTER — Minimalista com logo e links
==================================================== */
footer {
    background: var(--navy2);
    padding: 48px 40px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 24px;
}
.footer-logo {
    font-family: var(--font-display);
    font-weight: 800; font-size: 20px;
    letter-spacing: 3px; color: var(--light);
}
.footer-logo span { color: var(--orange); }
.footer-copy {
    font-size: 12px; color: rgba(250,250,248,0.3);
    letter-spacing: 0.5px;
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
    font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(250,250,248,0.4); text-decoration: none;
    transition: color 0.2s;
}
.footer-social a:hover { color: var(--teal); }

/* ===================================================
   BOTÃO FLUTUANTE DE WHATSAPP — Sempre visível
==================================================== */
#wa-float {
    position: fixed; bottom: 32px; right: 32px;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(37,211,102,0.5);
    z-index: 800; cursor: none;
    animation: pulsate 2.5s ease-in-out infinite;
    transition: transform 0.2s;
    text-decoration: none;
}
#wa-float:hover { transform: scale(1.12); animation: none; }
#wa-float svg { width: 30px; height: 30px; fill: #fff; }
#wa-float .tooltip {
    position: absolute; right: 72px;
    background: var(--navy); color: var(--light);
    padding: 8px 14px; border-radius: 6px;
    font-size: 12px; white-space: nowrap;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s;
}
#wa-float:hover .tooltip { opacity: 1; }
/* Estilos aplicados via JavaScript durante o scroll */
#wa-float.scrolling-down {
    transform: translateY(-45px);
    /* Move o botão para cima */
}

#wa-float.scrolling-up {
    transform: translateY(25px);
    /* Move o botão para baixo */
}

/* ===================================================
   REVEAL ON SCROLL — Elementos que aparecem ao rolar   
==================================================== */
.reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   RESPONSIVIDADE — Navegação diminui gradualmente
==================================================== */
/* Desktop: 1200px e acima — tamanho normal */

/* Tablet Grande: 1200px — começa a reduzir */
@media (max-width: 1200px) {
    nav { padding: 16px 30px; }
    .nav-links { gap: 24px; }
    .nav-links a { font-size: 12px; }
    .btn-wa { padding: 8px 18px; font-size: 12px; }
}

/* Tablet Médio: 1024px */
@media (max-width: 1024px) {
    nav { padding: 14px 24px; }
    .nav-links { gap: 18px; }
    .nav-links a { font-size: 11px; letter-spacing: 1px; }
    .btn-wa { padding: 7px 16px; font-size: 11px; }
}

/* Tablet Pequeno: 768px */
@media (max-width: 768px) {
    nav { padding: 12px 20px; }
    .nav-links { gap: 12px; }
    .nav-links a { font-size: 10px; letter-spacing: 0.8px; }
    .btn-wa { padding: 6px 14px; font-size: 10px; }
}

/* Mobile: 640px e abaixo — navegação desaparece, menu aparece */
@media (max-width: 640px) {
    nav {
        padding: 12px 16px;
        justify-content: space-between;
        gap: 12px;
    }
    
    /* Esconde os links de desktop */
    .nav-links { 
        display: none; 
    }
    
    /* Mantém o botão WhatsApp de desktop */
    .btn-wa { 
        display: inline-flex;
        padding: 8px 16px;
        font-size: 11px;
        flex-shrink: 0;
    }
    
    /* Mostra o botão de menu (seta) */
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }
    
    /* Mostra o menu dropdown */
    .mobile-menu {
        display: flex;
    }
}

/* Responsividade geral das seções */
@media (max-width: 900px) {
    #hero { padding: 100px 20px 80px; }
    .hero-stats { display: none; }
    .hero-scroll { bottom: 24px; opacity: 0.6; } /* Ajustado para tablets */
    #services, #why, #process, #numbers, #faq, #cta { padding: 60px 20px; }
    #why { grid-template-columns: 1fr; gap: 40px; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    #numbers { grid-template-columns: 1fr 1fr; }
    footer { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
    .process-steps { grid-template-columns: 1fr; }
    #numbers { grid-template-columns: 1fr 1fr; }
    .hero-scroll { bottom: 16px; opacity: 0.4; } /* Ajustado para mobile */
}

/* ===================================================
   SEÇÃO INSTAGRAM — Carrossel infinito direita → esquerda
   Posts sem bordas arredondadas, movimento contínuo e suave
==================================================== */
#instagram {
    padding: 100px 40px;
    background: var(--light);
}
.insta-sub {
    font-size: 15px; color: var(--gray);
    margin-top: -40px; margin-bottom: 48px;
    max-width: 440px; line-height: 1.7;
}

/* Wrapper com overflow oculto — cria a "janela" do carrossel */
.insta-track-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Faixas de gradiente nas bordas para efeito de fade */
.insta-track-wrapper::before,
.insta-track-wrapper::after {
    content: '';
    position: absolute; top: 0; bottom: 0;
    width: 80px; z-index: 2; pointer-events: none;
}
.insta-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--light), transparent);
}
.insta-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--light), transparent);
}

/* Trilha que se move — contém os posts duplicados para loop infinito */
.insta-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee 28s linear infinite;
}

/* Pausa o movimento ao passar o mouse */
.insta-track:hover { animation-play-state: paused; }

/* Animação de deslocamento: move exatamente metade (posts originais) */
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Card individual — sem bordas arredondadas */
.insta-card {
    text-decoration: none;
    display: block;
    flex-shrink: 0;
    width: 260px;
    overflow: hidden;
    border-radius: 0; /* Sem bordas arredondadas */
    transition: opacity 0.3s, transform 0.3s;
}
.insta-card:hover { opacity: 0.85; transform: scale(1.02); }

/* Thumbnail no formato 4:5 (1080x1350) — retrato */
.insta-thumb {
    position: relative;
    width: 260px;
    aspect-ratio: 4 / 5; /* Proporção exata do post 1080x1350 */
    overflow: hidden;
}
.insta-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; /* Garante que a imagem preencha sem distorcer */
    transition: transform 0.4s ease;
}
.insta-card:hover .insta-bg { transform: scale(1.04); }

/* Overlay com ícone no hover */
.insta-overlay {
    position: absolute; inset: 0;
    background: rgba(13,27,42,0.45);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 10px; opacity: 0;
    transition: opacity 0.3s; z-index: 2;
}
.insta-card:hover .insta-overlay { opacity: 1; }
.insta-overlay span {
    font-size: 11px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; color: #fff;
}

/* Botão "Ver perfil completo" */
.insta-cta { text-align: center; margin-top: 40px; }
.btn-insta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    border: 1.5px solid var(--navy); color: var(--navy);
    font-weight: 600; font-size: 13px;
    letter-spacing: 1px; text-transform: uppercase;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.btn-insta:hover { background: var(--navy); color: var(--light); }

@media (max-width: 768px) {
    #instagram { padding: 60px 20px; }
    .insta-card { width: 200px; }
    .insta-thumb { width: 200px; }
}
