/* ==========================================================================
   CésãoLabs Apps — landing de conversão
   Paleta: evolução da marca (navy / teal / laranja) + verde WhatsApp p/ CTA
   ========================================================================== */

:root {
    --navy: #06162d;
    --navy-2: #0a2036;
    --navy-3: #10304f;
    --teal: #0fb493;
    --teal-soft: #7fe3cf;
    --orange: #ff8c42;
    --ice: #f2faf8;
    --line: #d7ebe5;
    --text: #132033;
    --muted: #5b6b7e;
    --muted-light: #a8bdd0;
    --whats: #1fb355;
    --whats-dark: #178f44;
    --radius: 16px;
    --shadow: 0 10px 30px rgba(6, 22, 45, .12);
    --font-head: "Sora", "Segoe UI", sans-serif;
    --font-body: "Inter", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }
.center { text-align: center; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }

h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 12px; }

.kicker {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}

.section { padding: 84px 0; }
.section-sub { color: var(--muted); max-width: 640px; margin-bottom: 36px; font-size: 1.06rem; }
.center .section-sub, .cta-final .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 15px 26px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }

.btn-whatsapp {
    background: var(--whats);
    color: #fff;
    box-shadow: 0 8px 22px rgba(31, 179, 85, .35);
}
.btn-whatsapp:hover { background: var(--whats-dark); box-shadow: 0 10px 26px rgba(31, 179, 85, .45); }

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .35);
}
.btn-ghost:hover { border-color: var(--teal-soft); color: var(--teal-soft); }

.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-lg { padding: 18px 36px; font-size: 1.15rem; }

.ico-whats { width: 22px; height: 22px; fill: currentColor; flex: none; }

/* ---------- Topbar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 22, 45, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.15rem;
}
.brand img { border-radius: 50%; }
.topbar-nav { display: flex; gap: 26px; }
.topbar-nav a {
    color: var(--muted-light);
    text-decoration: none;
    font-size: .93rem;
    font-weight: 500;
}
.topbar-nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(900px 500px at 85% 10%, rgba(15, 180, 147, .22), transparent 60%),
        radial-gradient(700px 420px at 5% 90%, rgba(255, 140, 66, .12), transparent 60%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0c3b46 100%);
    color: #fff;
    overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
    padding-top: 90px;
    padding-bottom: 100px;
}
.hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.3rem);
    font-weight: 800;
    margin-bottom: 20px;
    min-height: 6.5em;
    overflow: hidden;
}
.hl-play { color: var(--teal-soft); display: inline-flex; align-items: center; gap: 8px; }
.hl-apple { color: var(--orange); display: inline-flex; align-items: center; gap: 8px; }
.store-icon { height: 1.2em; width: auto; display: inline-block; line-height: 1; }
.hero-sub {
    color: var(--muted-light);
    font-size: 1.13rem;
    max-width: 520px;
    margin-bottom: 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.trust-row {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: var(--teal-soft);
    font-size: .9rem;
    font-weight: 600;
}

/* Mockups de celular */
.hero-visual { position: relative; height: 460px; }
.phone {
    position: absolute;
    width: 230px;
    height: 470px;
    border-radius: 34px;
    border: 10px solid #0d1522;
    background: #0d1522;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
    overflow: hidden;
}
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-front { left: 46%; top: 0; transform: rotate(6deg); z-index: 2; animation: float-front 6s ease-in-out infinite; }
.phone-back { left: 8%; top: 46px; transform: rotate(-8deg); opacity: .92; animation: float-back 7.5s ease-in-out infinite; }

@keyframes float-front {
    0%, 100% { transform: rotate(6deg) translateY(0); }
    50% { transform: rotate(6deg) translateY(-14px); }
}
@keyframes float-back {
    0%, 100% { transform: rotate(-8deg) translateY(0); }
    50% { transform: rotate(-8deg) translateY(12px); }
}
@media (prefers-reduced-motion: reduce) {
    .phone-front, .phone-back { animation: none; }
}
.store-pills {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1;
}
.pill {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .22);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ---------- Botão mágico (CTA "conte sua ideia") ---------- */
.sparkle-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 20px 44px;
    border-radius: 999px;
    text-decoration: none;
    background: #1fb355;
    box-shadow: 0 0 0 rgba(31, 179, 85, .6);
    animation: sparkle-pulse 2.6s ease-in-out infinite;
    overflow: visible;
}
.sparkle-label {
    position: relative;
    z-index: 2;
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: var(--font-head);
    white-space: nowrap;
    text-shadow:
        -2px -2px 0 #0a5c35,
        -2px 0 0 #0a5c35,
        -2px 2px 0 #0a5c35,
        0 -2px 0 #0a5c35,
        0 2px 0 #0a5c35,
        2px -2px 0 #0a5c35,
        2px 0 0 #0a5c35,
        2px 2px 0 #0a5c35;
}
.sparkle-glow {
    position: absolute;
    inset: -18px;
    z-index: 0;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 210, 130, .55), transparent 70%);
    filter: blur(10px);
    animation: sparkle-glow-pulse 2.6s ease-in-out infinite;
}
.sparkle-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.sparkle-particles i {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, .9);
    opacity: 0;
    animation: sparkle-fly 3.2s ease-in infinite;
}
.sparkle-particles i:nth-child(1) { left: 8%;  top: 60%; animation-delay: 0s; }
.sparkle-particles i:nth-child(2) { left: 20%; top: 20%; animation-delay: .3s; }
.sparkle-particles i:nth-child(3) { left: 38%; top: 80%; animation-delay: .7s; }
.sparkle-particles i:nth-child(4) { left: 52%; top: 15%; animation-delay: 1.1s; }
.sparkle-particles i:nth-child(5) { left: 66%; top: 70%; animation-delay: 1.5s; }
.sparkle-particles i:nth-child(6) { left: 78%; top: 25%; animation-delay: 1.9s; }
.sparkle-particles i:nth-child(7) { left: 90%; top: 55%; animation-delay: .5s; }
.sparkle-particles i:nth-child(8) { left: 45%; top: 45%; animation-delay: 2.2s; }

@keyframes sparkle-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 26px rgba(31, 179, 85, .45); }
    50% { transform: scale(1.045); box-shadow: 0 10px 34px rgba(31, 179, 85, .65); }
}
@keyframes sparkle-glow-pulse {
    0%, 100% { opacity: .6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}
@keyframes sparkle-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes sparkle-fly {
    0% { opacity: 0; transform: translateY(0) scale(.4); }
    15% { opacity: 1; }
    50% { opacity: 1; transform: translateY(-26px) scale(1); }
    85% { opacity: 0; }
    100% { opacity: 0; transform: translateY(-40px) scale(.4); }
}
@media (prefers-reduced-motion: reduce) {
    .sparkle-cta, .sparkle-glow, .sparkle-particles i { animation: none; }
}

.cta-note {
    margin-top: 18px;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.7;
}

.wall-cta.sparkle-cta {
    margin-top: 0;
    padding: 10px 18px;
}
.wall-cta .sparkle-label { font-size: .82rem; }
.wall-cta .sparkle-particles i { animation-play-state: paused; }
.wall-item:hover .wall-cta .sparkle-particles i,
.wall-item:focus-within .wall-cta .sparkle-particles i {
    animation-play-state: running;
}

/* ---------- Mural de apps ---------- */
.apps-wall {
    padding: 84px 0 100px;
    overflow: hidden;
}
.apps-wall .container { text-align: center; }
.wall-hint {
    color: var(--muted);
    font-size: .95rem;
    margin-top: -8px;
}
.wall-viewport {
    display: flex;
    gap: 20px;
    max-width: 1120px;
    height: 560px;
    margin: 40px auto 0;
    padding: 0 24px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.wall-col {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}
.wall-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.wall-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}
.wall-item img {
    width: 100%;
    height: auto;
    display: block;
}
.wall-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: 22px;
    background: rgba(6, 22, 45, .68);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.wall-item:hover .wall-overlay,
.wall-item:focus-within .wall-overlay {
    opacity: 1;
    pointer-events: auto;
}
.wall-overlay h4 {
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.05rem;
}
.wall-overlay p {
    color: var(--muted-light);
    font-size: .85rem;
}
.wall-col-up .wall-track { animation-name: wall-up; }
.wall-col-down .wall-track { animation-name: wall-down; }
.wall-track { animation-timing-function: linear; animation-iteration-count: infinite; }
.wall-speed-1 .wall-track { animation-duration: 32s; }
.wall-speed-2 .wall-track { animation-duration: 28s; }
.wall-speed-3 .wall-track { animation-duration: 24s; }
.wall-speed-4 .wall-track { animation-duration: 22s; }
.wall-speed-5 .wall-track { animation-duration: 26s; }
.wall-col:hover .wall-track,
.wall-col:focus-within .wall-track {
    animation-play-state: paused;
}

@keyframes wall-up {
    from { transform: translateY(0); }
    to { transform: translateY(-50%); }
}
@keyframes wall-down {
    from { transform: translateY(-50%); }
    to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
    .wall-track { animation: none; }
}
@media (max-width: 860px) {
    .wall-hide-mobile { display: none; }
    .wall-viewport { height: 460px; }
}

/* ---------- Prova discreta ---------- */
.proof-band {
    background: var(--ice);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
}
.proof-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.proof-inner p { color: var(--muted); max-width: 660px; font-size: .95rem; }
.proof-inner a { color: var(--teal); font-weight: 600; }
.stores-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.stores-badges img { height: 46px; width: auto; }

/* ---------- Features ---------- */
.section-dark {
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-3) 100%);
    color: #fff;
}
.section-dark .kicker { color: var(--teal-soft); }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 36px;
}
.feature {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius);
    padding: 26px 24px;
}
.f-ico { font-size: 1.7rem; display: block; margin-bottom: 12px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature p { color: var(--muted-light); font-size: .95rem; }

/* ---------- Passos ---------- */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 36px;
    margin: 40px 0 44px;
}
.step {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    background: #fff;
    box-shadow: var(--shadow);
}
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px;
    right: -29px;
    width: 22px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230fb493' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
    z-index: 2;
}
.step-gear {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    color: var(--teal);
}
.step-gear svg { width: 100%; height: 100%; fill: currentColor; }
.step-gear em {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .82rem;
    color: var(--navy);
}
.step-gear-spin svg {
    animation: gear-spin 7s linear infinite;
    transform-origin: 50% 50%;
}
@keyframes gear-spin {
    to { transform: rotate(360deg); }
}
.step-gear-store { color: var(--muted); }
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Carrinho em revezamento (engrenagem = roda) + confete ---------- */
.steps-wrap { position: relative; }
.step-car {
    position: absolute;
    bottom: 14px;
    left: 0;
    width: 50px;
    height: 24px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
}
.step-car .car-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}
.step-car .car-wheel {
    position: absolute;
    top: 15px;
    width: 13px;
    height: 13px;
    transform-origin: 50% 50%;
    animation: gear-spin 1s linear infinite;
}
.car-wheel-a { left: 6px; }
.car-wheel-b { left: 31px; }

.step-car-1 { animation: car-drive-1 12s linear infinite; }
.step-car-2 { animation: car-drive-2 12s linear infinite; }
.step-car-3 { animation: car-drive-3 12s linear infinite; }

@keyframes car-drive-1 {
    0% { left: 0%; opacity: 1; }
    23% { left: 78%; opacity: 1; }
    25%, 100% { left: 78%; opacity: 0; }
}
@keyframes car-drive-2 {
    0%, 24% { left: 0%; opacity: 0; }
    25% { left: 0%; opacity: 1; }
    48% { left: 78%; opacity: 1; }
    50%, 100% { left: 78%; opacity: 0; }
}
@keyframes car-drive-3 {
    0%, 49% { left: 0%; opacity: 0; }
    50% { left: 0%; opacity: 1; }
    73% { left: 78%; opacity: 1; }
    75%, 100% { left: 78%; opacity: 0; }
}

.steps-confetti {
    position: absolute;
    top: -10px;
    right: 4%;
    z-index: 4;
    pointer-events: none;
}
.steps-confetti i {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--c, var(--teal));
    border-radius: 2px;
    opacity: 0;
    animation: confetti-fly 12s linear infinite;
}
@keyframes confetti-fly {
    0%, 75% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(.5); }
    78% { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    92%, 100% { opacity: 0; transform: translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(.8); }
}
.step:nth-child(1)::after { animation: arrow-bump-1 12s linear infinite; }
.step:nth-child(2)::after { animation: arrow-bump-2 12s linear infinite; }
.step:nth-child(3)::after { animation: arrow-bump-3 12s linear infinite; }
@keyframes arrow-bump-1 {
    0%, 23%, 30%, 100% { transform: scale(1); }
    25% { transform: scale(1.4); }
    27% { transform: scale(0.9); }
}
@keyframes arrow-bump-2 {
    0%, 48%, 55%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
    52% { transform: scale(0.9); }
}
@keyframes arrow-bump-3 {
    0%, 73%, 80%, 100% { transform: scale(1); }
    75% { transform: scale(1.4); }
    77% { transform: scale(0.9); }
}
@media (prefers-reduced-motion: reduce) {
    .step-gear-spin svg { animation: none; }
    .step-car, .steps-confetti { display: none; }
    .step:nth-child(1)::after,
    .step:nth-child(2)::after,
    .step:nth-child(3)::after { animation: none; }
}
@media (max-width: 960px) {
    .step:not(:last-child)::after { display: none; }
    .step-car, .steps-confetti { display: none; }
}

/* ---------- FAQ ---------- */
.section-ice { background: var(--ice); }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 18px 22px;
    margin-bottom: 12px;
}
.faq-item summary {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.04rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--teal);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin-top: 12px; color: var(--muted); }

/* ---------- CTA final ---------- */
.cta-final {
    background:
        radial-gradient(700px 400px at 50% 0%, rgba(15, 180, 147, .25), transparent 65%),
        linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff;
    padding: 100px 0;
}
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 14px; }
.cta-final .section-sub { color: var(--muted-light); }
.cta-alt { margin-top: 22px; color: var(--muted-light); font-size: .95rem; }
.cta-alt a { color: var(--teal-soft); }

/* ---------- Footer ---------- */
.footer {
    background: #04101f;
    color: var(--muted-light);
    padding: 44px 0;
    font-size: .92rem;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand img { border-radius: 50%; }
.footer-brand strong { color: #fff; font-family: var(--font-head); }
.footer-info { text-align: right; }
.footer-info a { color: var(--teal-soft); text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 60;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--whats);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(31, 179, 85, .5);
    transition: transform .15s ease;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 120px; }
    .hero-visual { height: 420px; max-width: 420px; margin: 0 auto; width: 100%; }
    .phone { width: 200px; height: 410px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .topbar-nav { display: none; }
    .proof-inner { justify-content: center; text-align: center; }
}

@media (max-width: 640px) {
    .section { padding: 60px 0; }
    .steps, .feature-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
    .footer-inner { flex-direction: column; }
    .footer-info { text-align: left; }
    .hero-visual { height: 400px; }
    .phone-back { left: 0; }
    .phone-front { left: 38%; }

    /* No celular a página fica enorme com tudo empilhado —
       mantém só o hero e o CTA final, escondendo o miolo do site. */
    #exemplos,
    .proof-band,
    .features,
    #como-funciona,
    #faq {
        display: none;
    }
    .hero-ctas .btn-ghost { display: none; }
}

/* ---------- Fluxo em rede neural (como funciona) ---------- */
.neural-net {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 48px 0 44px;
}
.net-links {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
.net-links line {
    stroke: var(--teal);
    stroke-width: 1.5px;
    vector-effect: non-scaling-stroke;
    opacity: .5;
    stroke-dasharray: 6 6;
    animation: net-flow 1.4s linear infinite;
}
@keyframes net-flow {
    to { stroke-dashoffset: -12; }
}
.net-layer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
}
.net-node {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 20px;
    box-shadow: var(--shadow);
}
.net-node-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}
.net-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .9rem;
    flex: none;
    box-shadow: 0 0 0 6px rgba(15, 180, 147, .14);
}
.net-owner {
    display: inline-block;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
}
.net-owner-voce { background: #fff1e5; color: #c05f14; }
.net-owner-lab { background: #e4f7f1; color: #0a7a63; }
.net-owner-juntos { background: #e9f0fe; color: #3d5bc4; }
.net-node h3 { font-size: 1.05rem; margin-bottom: 6px; }
.net-node p { color: var(--muted); font-size: .93rem; }

@media (max-width: 980px) {
    .neural-net { grid-template-columns: 1fr; gap: 20px; }
    .net-links { display: none; }
    .net-layer { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .net-links line { animation: none; }
}

/* ---------- Efeito de digitação no hero ---------- */
.typing-caret {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    margin-left: 2px;
    background: currentColor;
    animation: typing-blink 1s infinite;
    vertical-align: -0.15em;
}

@keyframes typing-blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .typing-caret { animation: none; opacity: 1; }
}

/* ---------- Palavras-chave PNL com fundo verde pulsando ---------- */
.pnl-keyword {
    background: var(--whats);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    animation: pnl-pulse 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes pnl-pulse {
    0%, 100% { background: var(--whats); box-shadow: 0 0 0 0 rgba(31, 179, 85, .7); }
    50% { background: var(--whats); box-shadow: 0 0 12px 4px rgba(31, 179, 85, .4); }
}

@media (prefers-reduced-motion: reduce) {
    .pnl-keyword { animation: none; }
}

/* ---------- Fade in/out para transição de slides ---------- */
.hero h1.fade-in {
    animation: fade-in-text 0.6s ease-in forwards;
}

.hero h1.fade-out {
    animation: fade-out-text 0.6s ease-out forwards;
}

@keyframes fade-in-text {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fade-out-text {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* ---------- Indicadores de slides (bolinhas) ---------- */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--whats);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slide-dot:hover {
    background: rgba(31, 179, 85, .3);
    transform: scale(1.2);
}

.slide-dot.active {
    background: var(--whats);
    box-shadow: 0 0 8px rgba(31, 179, 85, .6);
}
