/* ============================================================================
   Wipp Loja Criativa — Stylesheet
   ----------------------------------------------------------------------------
   Organizado em camadas (@layer) para uma cascata previsível:
     1. tokens      → variáveis de design (cores, tipografia, espaços)
     2. base        → reset e estilos de elementos
     3. layout      → container e utilidades estruturais
     4. components  → botões, cards, ícones, modal, etc.
     5. sections    → estilos específicos de cada seção da página
     6. motion      → animações e microinterações
     7. utilities   → helpers pontuais
     8. responsive  → ajustes por breakpoint
   ========================================================================== */
@layer tokens, base, layout, components, sections, motion, utilities, responsive;

/* ============================================================ TOKENS ===== */
@layer tokens {
  :root {
    /* Marca */
    --neon: #c7ff00;
    --neon-deep: #a6d900;
    --navy: #111333;
    --ink: #050505;
    --white: #fafaf5;
    --bg: #f4f4f0;

    /* Apoio */
    --purple: #7b3ff2;
    --purple-deep: #5b2bd6;
    --lilac: #b6a6ff;
    --pink: #ff4fa3;
    --yellow: #ffd83d;
    --orange: #ff8a00;

    /* Texto */
    --muted: #5d5e70;            /* cinza de apoio com contraste AA sobre branco */
    --purple-text: #5b2bd6;      /* roxo legível para eyebrows/destaques */

    /* Layout */
    --maxw: 1200px;
    --r-sm: 14px;
    --r: 22px;
    --r-lg: 32px;

    /* Sombra / movimento */
    --shadow: 0 18px 50px -22px rgba(17, 19, 51, 0.35);
    --shadow-hover: 0 30px 70px -26px rgba(17, 19, 51, 0.5);
    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* Tipografia */
    --font-display: "Space Grotesk", system-ui, sans-serif;
    --font-body: "Inter", system-ui, sans-serif;
    --font-script: "Caveat", cursive;
  }
}

/* ============================================================== BASE ===== */
@layer base {
  *,
  *::before,
  *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    -webkit-text-size-adjust: 100%;
  }

  body {
    font-family: var(--font-body);
    color: var(--navy);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  ul { list-style: none; }

  h1, h2, h3, h4 {
    font-family: var(--font-display);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 700;
  }

  /* Foco visível acessível e elegante */
  :focus-visible {
    outline: 3px solid var(--purple);
    outline-offset: 3px;
    border-radius: 4px;
  }
  .section--dark :focus-visible,
  .stats :focus-visible,
  .founder :focus-visible,
  .hero :focus-visible { outline-color: var(--ink); }
}

/* ============================================================ LAYOUT ===== */
@layer layout {
  .container {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 40px);
  }

  .section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
  .section--alt { background: var(--bg); }
  .section--dark { background: var(--navy); color: var(--white); }
}

/* ========================================================= COMPONENTS ==== */
@layer components {
  /* ---------- Ícones (Lucide, sprite inline) ---------- */
  .icon {
    width: 1.5rem;
    height: 1.5rem;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .icon--sm { width: 1.15rem; height: 1.15rem; }

  /* ---------- Botões ---------- */
  .btn {
    --btn-bg: var(--neon);
    --btn-fg: var(--ink);
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
      background 0.25s, color 0.25s, border-color 0.25s;
  }
  .btn .icon { width: 1.15rem; height: 1.15rem; }
  .btn__arrow { transition: transform 0.25s var(--ease); }
  .btn:hover .btn__arrow { transform: translateX(3px); }

  .btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
  .btn--primary { background: var(--neon); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(199, 255, 0, 0.7); }
  .btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px -10px rgba(199, 255, 0, 0.9); }
  .btn--dark { background: var(--navy); color: var(--white); }
  .btn--dark:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px -16px rgba(17, 19, 51, 0.8); }
  .btn--ghost-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
  .btn--ghost-dark:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }
  .btn--dark-outline { background: transparent; border-color: rgba(5, 5, 5, 0.25); color: var(--ink); }
  .btn--dark-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-3px); border-color: var(--ink); }
  .btn--dark-outline:hover .icon { color: var(--white); }

  /* ---------- Eyebrow / cabeçalhos de seção ---------- */
  .eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--purple-text);
    background: rgba(123, 63, 242, 0.14);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
  }
  .eyebrow--dark { color: var(--ink); background: rgba(17, 19, 51, 0.14); }
  .eyebrow--neon { color: var(--neon); background: rgba(199, 255, 0, 0.16); }

  .sec-head { max-width: 760px; margin-bottom: 3rem; }
  .sec-head--center { margin-inline: auto; text-align: center; }
  .sec-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
  .sec-head__lead { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
  .sec-head__destaque { margin-top: 1.4rem; font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 700; color: var(--ink); line-height: 1.2; }
  .sec-head__catalog-btn { margin-top: 1.6rem; display: inline-flex; align-items: center; gap: 0.5rem; }

  .hl { color: var(--purple); }
  .on-dark { color: var(--white); }
  .on-dark .hl,
  .section--dark .hl { color: var(--neon); }
  .script { font-family: var(--font-script); font-weight: 700; color: var(--purple); font-size: 1.15em; line-height: 0.8; }

  /* ---------- Cards de soluções ---------- */
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
  .card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(17, 19, 51, 0.08);
    border-radius: var(--r);
    padding: 2rem 1.8rem;
    transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
    

  }
  .card::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--neon), transparent 60%);
    opacity: 0; transition: opacity 0.3s;
  }
  .card:hover { box-shadow: var(--shadow-hover); border-color: transparent; }
  .card:hover::before { opacity: 0.16; }
  .card__icon {
    display: grid; place-items: center;
    width: 62px; height: 62px;
    background: var(--bg); border-radius: 16px;
    margin-bottom: 1.1rem; color: var(--purple);
    position: relative; z-index: 1;
    transition: background 0.3s, color 0.3s, transform 0.3s var(--ease);
  }
  .card__icon .icon { width: 1.75rem; height: 1.75rem; }
  .card:hover .card__icon { background: var(--neon); color: var(--ink); transform: translateY(-2px); }
  .card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
  .card p { color: var(--muted); position: relative; z-index: 1; }

  /* ---------- Checklist ---------- */
  .checklist { display: grid; gap: 0.7rem; margin-bottom: 2rem; }
  .checklist li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; }
  .checklist .icon {
    width: 1.05rem; height: 1.05rem; padding: 0; stroke-width: 3;
    color: var(--ink);
    background: var(--neon); border-radius: 50%;
    box-sizing: content-box; padding: 5px; flex: none;
  }

  /* ---------- Modal ---------- */
  .modal { position: fixed; inset: 0; z-index: 80; display: none; align-items: center; justify-content: center; padding: 24px; }
  .modal.open { display: flex; }
  .modal__backdrop { position: absolute; inset: 0; background: rgba(5, 5, 10, 0.6); backdrop-filter: blur(4px); }
  .modal__panel {
    position: relative; background: #fff; border-radius: var(--r-lg);
    max-width: 840px; width: 100%;
    display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
    box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.6);
  }
  .modal__img { background: #0e1030; }
  .modal__img img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
  .modal__content { padding: 2.2rem; }
  .modal__content h3 { font-size: 1.8rem; margin-bottom: 0.8rem; }
  .modal__content p { color: var(--muted); margin-bottom: 1.6rem; }
  .modal__close {
    position: absolute; top: 14px; right: 14px;
    width: 38px; height: 38px; border-radius: 50%; border: 0;
    background: rgba(255, 255, 255, 0.92); color: var(--ink); cursor: pointer;
    display: grid; place-items: center; z-index: 2; transition: transform 0.2s;
  }
  .modal__close:hover { transform: rotate(90deg); }

  /* Product modal */
  .pmodal__panel { max-width: 720px; }
  .pmodal__img { background: #f6f6f2; display: flex; align-items: center; justify-content: center; padding: 2rem; }
  .pmodal__img img { max-width: 100%; max-height: 380px; width: 100%; object-fit: contain; border-radius: var(--r-sm); }
  .pmodal__body { padding: 2.4rem; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
  .pmodal__body .eyebrow { margin-bottom: 0; font-size: 0.78rem; }
  .pmodal__body h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); line-height: 1.2; margin: 0; }
  .pmodal__lead { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }
  .pmodal__actions { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; margin-top: 0.4rem; }
  .pmodal__colors { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; font-weight: 500; color: var(--navy); }

  /* ---------- WhatsApp flutuante (cor da marca) ---------- */
  .wa-float {
    position: fixed; right: 20px; bottom: 20px; z-index: 55;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--neon); color: var(--ink); display: grid; place-items: center;
    box-shadow: 0 12px 30px -8px rgba(199, 255, 0, 0.65);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  }
  .wa-float:hover { transform: scale(1.1); box-shadow: 0 18px 40px -8px rgba(199, 255, 0, 0.85); }
  .wa-float svg { width: 28px; height: 28px; }

  /* ---------- Barra de progresso de scroll ---------- */
  .progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 100%;
    transform: scaleX(0); transform-origin: 0 50%;
    background: linear-gradient(90deg, var(--neon), var(--purple));
    z-index: 70; pointer-events: none;
  }
}

/* =========================================================== SECTIONS ==== */
@layer sections {
  /* ---------- Header ---------- */
  .header {
    position: fixed; inset: 0 0 auto 0; z-index: 60;
    padding: 0.55rem 0;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
  }
  .header__inner { display: flex; align-items: center; gap: 1.5rem; }
  .header.scrolled {
    background: rgba(250, 250, 245, 0.72);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 8px 30px -18px rgba(17, 19, 51, 0.4);
  }
  .brand { display: flex; align-items: baseline; gap: 0.5rem; }
  .brand__logo { height: 30px; width: auto; }
  .brand__sub { font-family: var(--font-script); font-size: 1.25rem; color: var(--navy); font-weight: 700; }
  .nav { display: flex; gap: 1.6rem; margin-left: auto; }
  .nav a {
    font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
    color: var(--navy); position: relative; padding: 0.2rem 0; transition: color 0.2s;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; bottom: -3px;
    height: 2px; width: 0; background: var(--purple); transition: width 0.25s var(--ease);
  }
  .nav__social { display: flex; align-items: center; padding: 0.2rem; opacity: 0.65; transition: opacity 0.2s, color 0.2s; }
  .nav__social:hover { opacity: 1; color: var(--neon); }
  .nav a:hover, .nav a.active { color: var(--purple); }
  .nav a:hover::after, .nav a.active::after { width: 100%; }
  .header__cta { margin-left: 0.4rem; }
  .hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; margin-left: auto; }
  .hamburger span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
  .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav__backdrop { display: none; }

  /* ---------- Hero ---------- */
  .hero { position: relative; background: var(--neon); overflow: hidden; padding: clamp(7rem, 14vw, 10rem) 0 clamp(4rem, 8vw, 7rem); }
  .hero__texture { position: absolute; inset: 0; background: url("../assets/hero/texture.webp") center / cover; mix-blend-mode: multiply; opacity: 0.22; filter: contrast(1.1); pointer-events: none; }
  .hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.88fr 1.12fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .hero__title { font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--ink); max-width: 20ch; }
  .hero__lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #1b1d10; max-width: 46ch; font-weight: 500; }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
  .hero__mini { display: flex; gap: 2rem; margin-top: 2.4rem; flex-wrap: wrap; }
  .hero__mini div { display: flex; flex-direction: column; }
  .hero__mini strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); line-height: 1; }
  .hero__mini span { font-size: 0.85rem; color: #2a2c14; text-transform: uppercase; letter-spacing: 0.08em; }

  .hero__media { position: relative; }
  .hero__photo {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(17, 19, 51, 0.55);
    transform: rotate(1.2deg);

  }
  .hero__photo img { width: 100%; height: 100%; object-fit: cover; }
  .floatcard {
    position: absolute; background: var(--white); border-radius: 14px; padding: 0.7rem 1rem;
    font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--navy);
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.5rem;
  }
  .floatcard .icon { width: 1.25rem; height: 1.25rem; color: var(--purple); }
  .floatcard--1 { top: 8%; left: -6%; }
  .floatcard--2 { bottom: 10%; right: -7%; }
  .floatcard--2 .icon { color: var(--orange); }
  .sticker {
    font-family: var(--font-script); font-weight: 700; color: var(--ink);
    background: var(--neon); border: 2px solid var(--ink); border-radius: 999px;
    padding: 0.2rem 1rem; font-size: 1.5rem; display: inline-block; transform: rotate(-8deg);
  }
  .sticker--wow { position: absolute; top: -4%; right: 14%; background: var(--pink); color: #fff; border-color: #fff; box-shadow: var(--shadow); }
  .scrolldown { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(5, 5, 5, 0.5); border-radius: 14px; z-index: 3; }
  .scrolldown span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--ink); border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s infinite; }

  /* ---------- Valor (editorial) ---------- */
  .valor__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
  .valor__copy { max-width: 680px; }
  .valor__copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 1.2rem; }
  .valor__copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.5rem; max-width: 48ch; }
  .valor__media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .sol-tagline { font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 600; color: var(--ink); text-align: center; margin-top: 2.5rem; max-width: 60ch; margin-inline: auto; line-height: 1.4; }

  /* Carrossel */
  .sol-carousel { overflow: hidden; width: 100%; margin-top: 3rem; padding-bottom: 0.5rem; }
  .sol-carousel__track { display: flex; gap: 1rem; width: max-content; animation: solScroll 32s linear infinite; }
  .sol-carousel:hover .sol-carousel__track { animation-play-state: paused; }
  @keyframes solScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .sol-carousel__item { width: 180px; height: 180px; flex-shrink: 0; border: none; padding: 0; background: none; border-radius: var(--r); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow); }
  .sol-carousel__item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(100%); transition: filter .4s ease, transform .4s ease; }
  .sol-carousel__item:hover img { filter: grayscale(0%); transform: scale(1.06); }

  /* Lightbox */
  .sol-lightbox { position: fixed; inset: 0; background: rgba(5,5,10,.92); z-index: 800; display: flex; align-items: center; justify-content: center; padding: 1rem; }
  .sol-lightbox[hidden] { display: none; }
  .sol-lb__img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--r); box-shadow: 0 40px 100px rgba(0,0,0,.6); }
  .sol-lb__close { position: fixed; top: 1.2rem; right: 1.4rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
  .sol-lb__close:hover { background: rgba(255,255,255,.25); }
  .sol-lb__nav { position: fixed; top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
  .sol-lb__nav:hover { background: rgba(255,255,255,.25); }
  .sol-lb__prev { left: 1.2rem; }
  .sol-lb__next { right: 1.2rem; }
  .valor__abertura { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); display: block; }
  .valor__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); box-shadow: var(--shadow); }
  .valor__img--a { grid-column: 1 / -1; aspect-ratio: 16/9; }
  .valor__img--b { aspect-ratio: 1/1; }
  .valor__img--c { aspect-ratio: 1/1; }

  /* ---------- Stats ---------- */
  .stats { position: relative; overflow: hidden; padding: clamp(4rem, 8vw, 6.5rem) 0; background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: #fff; }
  .stats__title { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
  .stats .eyebrow--dark { color: #fff; background: rgba(255, 255, 255, 0.18); }
  .stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 1rem; }
  .stat { text-align: center; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--r-lg); padding: 2.4rem 1.8rem; backdrop-filter: blur(4px); transition: transform 0.3s var(--ease), background 0.3s; }
  .stat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.13); }
  .stat__num { display: flex; justify-content: center; align-items: baseline; font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--neon); }
  .stat__num .prefix { font-size: 0.55em; margin-right: 0.05em; }
  .stat__num .suffix { font-size: 0.5em; margin-left: 0.05em; }
  .stat p { margin-top: 0.8rem; font-size: 1.05rem; color: rgba(255, 255, 255, 0.92); }

  /* ---------- Processo (timeline) ---------- */
  .timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; list-style: none; }
  .timeline::before { content: ""; position: absolute; top: 34px; left: 6%; right: 6%; height: 3px; background: repeating-linear-gradient(90deg, var(--neon-deep) 0 14px, transparent 14px 24px); }
  .step { position: relative; text-align: left; }
  .step__num { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--white); border: 3px solid var(--neon); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--navy); position: relative; z-index: 2; margin-bottom: 1.1rem; transition: transform 0.3s var(--ease), background 0.3s; }
  .step:hover .step__num { transform: translateY(-4px) scale(1.06); background: var(--neon); }
  .step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
  .step p { color: var(--muted); font-size: 0.95rem; }

  /* ---------- Cases ---------- */
  .cases { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .case { display: flex; flex-direction: column; background: #1a1c44; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-lg); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s;  }
  .case:hover { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6); }
  .case__img { aspect-ratio: 16/11; overflow: hidden; background: #0e1030; cursor: pointer; }
  .case__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
  .case:hover .case__img img { transform: scale(1.05); }
  .case__body { padding: 1.6rem 1.7rem 1.8rem; }
  .tag { display: inline-block; background: var(--neon); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 0.8rem; }
  .case__body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
  .case__body p { color: rgba(255, 255, 255, 0.7); }
  .case__more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; padding: 0; background: none; border: 0; color: var(--neon); font-family: var(--font-display); font-weight: 600; cursor: pointer; font-size: 0.95rem; }
  .case__more .icon { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
  .case__more:hover { text-decoration: underline; }
  .case__more:hover .icon { transform: translateX(3px); }

  /* ---------- Case cards — novo layout horizontal com métricas ---------- */
  .case-cards { display: flex; flex-direction: column; gap: 2.5rem; }

  .case-card {
    --card-accent: #0066CC;
    display: grid;
    grid-template-columns: 360px 1fr;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }
  .case-card:hover { transform: translateY(-4px); box-shadow: 0 16px 56px rgba(0,0,0,0.13); }
  .case-card--reverse {
    grid-template-columns: 1fr 360px;
  }
  .case-card--reverse .case-card__photo { order: 2; }
  .case-card--reverse .case-card__body  { order: 1; }

  .case-card__photo { position: relative; overflow: hidden; min-height: 320px; }
  .case-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.55s var(--ease); }
  .case-card:hover .case-card__photo img { transform: scale(1.04); }

  /* Botão "Ver imagem" sobre a foto */
  .photo-zoom {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    background: rgba(0,0,0,0.42);
    color: #fff; font-family: var(--font-display); font-weight: 600;
    font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
    border: none; cursor: pointer;
    opacity: 0; transition: opacity 0.25s var(--ease);
  }
  .case-card__photo:hover .photo-zoom,
  .case-card__photo:focus-within .photo-zoom { opacity: 1; }

  /* Lightbox */
  .lightbox {
    position: fixed; inset: 0; z-index: 300;
    display: flex; align-items: center; justify-content: center; padding: 2rem;
    opacity: 0; pointer-events: none; transition: opacity 0.3s;
  }
  .lightbox.open { opacity: 1; pointer-events: all; }
  .lightbox__backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.88); cursor: pointer;
  }
  .lightbox__img {
    position: relative; z-index: 1;
    max-width: min(90vw, 780px); max-height: 88vh;
    object-fit: contain; border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  }
  .lightbox__close {
    position: absolute; top: 1.2rem; right: 1.2rem; z-index: 2;
    width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,0.15); color: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .lightbox__close:hover { background: rgba(255,255,255,0.3); }

  .case-card__body {
    padding: clamp(1.8rem, 3vw, 2.8rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
  }

  .case-card__tag {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--card-accent);
    background: rgba(0,0,0,0.06);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
  }

  .case-card__client {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    line-height: 1.15;
  }

  .case-card__metrics {
    display: flex;
    gap: 0.9rem;
    flex-wrap: wrap;
  }

  .metric {
    flex: 1;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.9rem 1rem;
    background: rgba(0,0,0,0.04);
    border-radius: 14px;
  }

  .metric__value {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--card-accent);
    line-height: 1;
  }

  .metric__label {
    font-size: 0.72rem;
    font-weight: 500;
    color: #888;
    margin-top: 0.3rem;
  }

  .case-card__desc {
    font-size: 0.97rem;
    line-height: 1.75;
    color: #555;
    max-width: 52ch;
    margin: 0;
  }

  .case-card__quote {
    margin: 0;
    padding: 1rem 1.2rem;
    border-left: 3px solid var(--card-accent);
    background: rgba(0,0,0,0.03);
    border-radius: 0 10px 10px 0;
  }
  .case-card__quote p {
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.65;
    color: #444;
    margin: 0 0 0.4rem;
  }
  .case-card__quote cite {
    font-size: 0.78rem;
    font-weight: 700;
    font-style: normal;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--card-accent);
  }

  @media (max-width: 800px) {
    .case-card,
    .case-card--reverse {
      grid-template-columns: 1fr;
    }
    .case-card--reverse .case-card__photo { order: 0; }
    .case-card--reverse .case-card__body  { order: 0; }
    .case-card__photo { min-height: 260px; }
  }

  /* ---------- Produtos (galeria) ---------- */
  .filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 0; position: sticky; top: 70px; z-index: 30; background: var(--bg); padding: 0.9rem 0; border-bottom: 1px solid rgba(17,19,51,0.08); }
.chip { font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; padding: 0.55rem 1.15rem; border-radius: 999px; border: 1.5px solid rgba(17, 19, 51, 0.2); background: transparent; color: var(--navy); cursor: pointer; transition: all 0.2s; white-space: nowrap; }
  .chip:hover { border-color: var(--purple); color: var(--purple); }
  .chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
  .gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .gitem { position: relative; display: flex; flex-direction: column; border-radius: var(--r-sm); overflow: hidden; background: #fff; box-shadow: 0 10px 30px -20px rgba(17, 19, 51, 0.5); cursor: pointer; }
  .gitem img { width: 100%; height: auto; transition: transform 0.5s var(--ease); }
  .gitem:hover img { transform: scale(1.05); }
  .gitem figcaption { position: static; opacity: 1; transform: none; padding: 0.55rem 0.8rem 0.65rem; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 0.83rem; line-height: 1.3; background: #fff; border-top: 1px solid rgba(0,0,0,0.06); }
  .gitem.is-hidden { display: none; }

  /* ---------- Logowall ---------- */
  .logowall { background: #fff; border: 1px solid rgba(17, 19, 51, 0.08); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3rem); box-shadow: var(--shadow); }
  .logowall img { width: 100%; height: auto; }

  /* Marquee de logos */
  .section--tight { padding-bottom: clamp(2rem,4vw,3rem); }
  .logomarquee { margin-top: 2rem; }
  .logomarquee__track { display: flex; justify-content: center; }
  .logomarquee__img { width: 100%; max-width: 1200px; height: auto; }

  /* ---------- Fundadora ---------- */
  .founder { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
  .founder__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .founder__photo { aspect-ratio: 3/4; overflow: hidden; border: 5px solid var(--neon); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7); border-radius: var(--r); }
  .founder__photo img { width: 100%; height: 100%; object-fit: cover; }
  .founder__quote { position: relative; }
  .quote-mark { display: block; font-family: var(--font-display); font-size: 5rem; line-height: 0.8; color: var(--neon); height: 0.6em; }
  .founder__quote p { font-size: clamp(1.3rem, 2.4vw, 1.9rem); font-family: var(--font-display); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; color: #fff; }
  .founder__quote footer { margin-top: 1.6rem; display: flex; flex-direction: column; }
  .founder__quote strong { font-family: var(--font-display); font-size: 1.15rem; }
  .founder__quote span { color: var(--neon); font-size: 0.95rem; letter-spacing: 0.04em; }

  /* Bio founder */
  .founder__bio h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: #fff; margin-bottom: 1.4rem; line-height: 1.2; }
  .founder__bio > p { font-size: 1.05rem; color: rgba(255,255,255,0.82); line-height: 1.7; margin-bottom: 1rem; }
  .founder__quote--inline { position: relative; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.15); }
  .founder__quote--inline .quote-mark { font-size: 3.6rem; height: 0.5em; }
  .founder__quote--inline p { font-size: clamp(1.05rem, 2vw, 1.3rem); font-family: var(--font-display); font-weight: 500; line-height: 1.4; color: #fff; }
  .founder__quote--inline footer { margin-top: 1.2rem; display: flex; flex-direction: column; }
  .founder__quote--inline strong { font-family: var(--font-display); font-size: 1rem; color: #fff; }
  .founder__quote--inline span { color: var(--neon); font-size: 0.88rem; letter-spacing: 0.04em; }

  /* Credentials block */
  .founder__creds { margin-top: 1.6rem; padding: 1.2rem 1.4rem; background: rgba(255,255,255,0.06); border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); }
  .founder__badge { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; color: var(--neon); text-transform: uppercase; margin-bottom: 0.4rem; }
  .founder__brands { font-size: 0.98rem; font-weight: 600; color: #fff; margin-bottom: 0.6rem; }
  .founder__creds p { font-size: 0.92rem; color: rgba(255,255,255,0.72); line-height: 1.6; margin: 0; }

  /* Processo / Do conceito ao produto final */
  .processo { background: #fff; }
  .processo__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
  .processo__text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--ink); margin-bottom: 1rem; }
  .processo__tags { font-size: 1.05rem; color: #444; line-height: 1.8; }
  .processo__diferenciais { margin-top: 1.4rem; font-size: 1rem; color: #555; line-height: 1.75; padding-top: 1.2rem; border-top: 1px solid rgba(0,0,0,0.1); }
  .processo__quote { position: relative; border-left: 3px solid var(--neon); padding-left: 1.6rem; }
  .processo__quote .quote-mark { font-size: 3.6rem; height: 0.5em; color: var(--neon); }
  .processo__quote p { font-size: clamp(1.1rem, 2vw, 1.4rem); font-family: var(--font-display); font-weight: 500; line-height: 1.4; color: var(--ink); }
  .processo__quote footer { margin-top: 1.2rem; display: flex; flex-direction: column; }
  .processo__quote strong { font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
  .processo__quote span { color: var(--purple); font-size: 0.88rem; letter-spacing: 0.04em; }
  @media (max-width: 680px) { .processo__inner { grid-template-columns: 1fr; } }

  /* ---------- Argumento 52% ---------- */
  .argument { padding: clamp(4rem, 9vw, 7rem) 0; background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: #fff; }
  .argument__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .argument__copy h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 1.2rem; }
  .argument__copy .hl { color: var(--neon); }
  .argument__copy p { color: rgba(255, 255, 255, 0.92); font-size: 1.1rem; margin-bottom: 1.8rem; max-width: 46ch; }
  .argument__stat { text-align: center; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: var(--r-lg); padding: 2.6rem 2rem; }
  .bignum { display: flex; justify-content: center; align-items: flex-start; font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: 0.9; color: var(--neon); }
  .bignum .pct { font-size: 0.5em; margin-top: 0.25em; }
  .argument__stat p { font-size: 1.15rem; margin-top: 1rem; color: #fff; }
  .argument__stat cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.85rem; color: rgba(255, 255, 255, 0.78); }

  /* ---------- Banner pós-galeria ---------- */
  .gallery-cta { background: var(--bg); padding: clamp(3rem, 6vw, 4.5rem) 0; }
  .gallery-cta__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.2rem; }
  .gallery-cta__icon { width: clamp(110px, 14vw, 160px); height: auto; flex-shrink: 0; }
  .gallery-cta__text h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; color: #111333; margin-bottom: 0.4rem; }
  .gallery-cta__text p { font-size: 1rem; color: #555; }
  @media (max-width: 600px) { .gallery-cta__inner { flex-direction: column; text-align: center; } }

  /* ---------- CTA final ---------- */
  .finalcta { position: relative; overflow: hidden; padding: clamp(5rem, 10vw, 8rem) 0; background: var(--neon); border-top: 3px solid #fff; border-bottom: 3px solid #fff; }
  .finalcta__inner { position: relative; text-align: center; max-width: 780px; margin-inline: auto; }
  .finalcta h2 { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--ink); margin-bottom: 1.2rem; }
  .finalcta p { font-size: 1.15rem; color: #1b1d10; max-width: 52ch; margin: 0 auto 2.2rem; }
  .finalcta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
  .sticker--click { display: inline-grid; place-items: center; font-size: 2.4rem; background: var(--white); border-color: var(--ink); margin-bottom: 1rem; transform: rotate(6deg); padding: 0.5rem; }
  .sticker--click .icon { width: 1.8rem; height: 1.8rem; color: var(--ink); }

  /* Variante com selo lateral (cases page) */
  .finalcta__inner--stamp { display: flex; align-items: center; gap: clamp(2rem, 5vw, 4rem); max-width: 1000px; text-align: left; }
  .finalcta__inner--stamp .finalcta__text { flex: 1; }
  .finalcta__inner--stamp p { margin-inline: 0; }
  .finalcta__inner--stamp .finalcta__actions { justify-content: flex-start; }
  .finalcta__stamp { flex-shrink: 0; width: clamp(200px, 22vw, 280px); height: auto; }
  @media (max-width: 640px) {
    .finalcta__inner--stamp { flex-direction: column; text-align: center; }
    .finalcta__inner--stamp p { margin-inline: auto; }
    .finalcta__inner--stamp .finalcta__actions { justify-content: center; }
  }

  /* ---------- Footer ---------- */
  .footer { background: #002D72; color: rgba(255, 255, 255, 0.9); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
  .footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  .footer__stamp { width: 200px; height: 200px; object-fit: contain; display: block; }
  .footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
  .footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 0.6rem; }
  .footer__nav a, .footer__contact a { color: rgba(255, 255, 255, 0.72); transition: color 0.2s; width: fit-content; }
  .footer__nav a:hover, .footer__contact a:hover { color: var(--neon); }
  .footer__insta { display: inline-flex; align-items: center; gap: 0.45rem; }
  .footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; padding-top: 1.6rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
}

/* ============================================================= MOTION ==== */
@layer motion {
  @keyframes scrolldot { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 14px); } 100% { opacity: 0; } }

  /* Flutuação dos elementos do hero */
  .float { animation: floaty 5s ease-in-out infinite; }
  .float--slow { animation-duration: 7s; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  .floatcard--2.float { animation-name: floaty2; }
  @keyframes floaty2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

  /* Drift lento dos blobs decorativos */
  .blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: 0.5; z-index: 1; pointer-events: none; }
  .blob--a { width: 380px; height: 380px; background: rgba(123, 63, 242, 0.25); top: -10%; right: -6%; animation: drift 18s ease-in-out infinite; }
  .blob--b { width: 420px; height: 420px; background: rgba(199, 255, 0, 0.18); bottom: -20%; left: -8%; animation: drift 22s ease-in-out infinite reverse; }
  .blob--c { width: 360px; height: 360px; background: rgba(199, 255, 0, 0.14); bottom: -15%; right: -5%; animation: drift 20s ease-in-out infinite; }
  @keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-24px, 20px) scale(1.08); } }

  /* Reveal on scroll */
  .reveal { opacity: 0; transform: translateY(28px) scale(0.985); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .reveal--right { transform: translateX(34px) scale(0.985); }
  .reveal.in { opacity: 1; transform: none; }

  /* Fade-in dos itens ao filtrar a galeria */
  @keyframes gitemIn { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
  .gallery.is-filtering .gitem:not(.is-hidden) { animation: gitemIn 0.45s var(--ease-out) both; }
}

/* ========================================================== UTILITIES ==== */
@layer utilities {
  .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  [hidden] { display: none !important; }
}

/* ========================================================= RESPONSIVE ==== */
@layer responsive {
  @media (max-width: 1024px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .timeline { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1rem; }
    .timeline::before { display: none; }
  }

  @media (max-width: 860px) {
    html { scroll-padding-top: 72px; }
    .nav {
      position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
      flex-direction: column; gap: 0.4rem; background: var(--white);
      padding: 5.5rem 1.6rem 2rem; margin-left: 0;
      transform: translateX(105%); transition: transform 0.35s var(--ease);
      box-shadow: -20px 0 60px -20px rgba(17, 19, 51, 0.4); z-index: 65;
    }
    .nav.open { transform: none; }
    .nav a { font-size: 1.1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(17, 19, 51, 0.07); }
    .hamburger { display: flex; position: relative; z-index: 66; }
    .header__cta { display: none; }
    .header__inner { justify-content: space-between; }
    .nav__backdrop { display: block; position: fixed; inset: 0; background: rgba(5, 5, 10, 0.4); opacity: 0; visibility: hidden; transition: opacity 0.3s; z-index: 59; }
    .nav__backdrop.show { opacity: 1; visibility: visible; }
    .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
    .hero__media { max-width: 460px; margin-inline: auto; }
    .floatcard--1 { left: 0; }
    .floatcard--2 { right: 0; }
    .valor__grid { grid-template-columns: 1fr; gap: 3rem; }
    .valor__media { max-width: 460px; gap: 0.8rem; }
    .founder__grid { grid-template-columns: 1fr; gap: 2.4rem; text-align: left; }
    .founder__photo { max-width: 300px; }
    .argument__grid { grid-template-columns: 1fr; gap: 2.4rem; }
    .cases { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: 1fr; gap: 1rem; }
    .modal__panel { grid-template-columns: 1fr; max-width: 440px; max-height: 88vh; overflow: auto; }
    .pmodal__panel { max-width: 92vw; }
    .pmodal__body { padding: 1.6rem; gap: 0.8rem; }
    .pmodal__img { padding: 1.4rem; }
    .pmodal__img img { max-height: 260px; }
    .pmodal__actions { flex-direction: row; flex-wrap: wrap; }
    .reveal--right { transform: translateY(28px) scale(0.985); }
    .sol-mosaic { grid-template-columns: repeat(3, 1fr); }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
    .footer__brand { grid-column: 1 / -1; display: flex; justify-content: center; padding-bottom: 0.5rem; }
    .footer__stamp { width: 150px; height: 150px; }
    .footer__legal { flex-direction: column; align-items: center; text-align: center; gap: 0.4rem; }
  }
  @media (max-width: 560px) {
    .cards { grid-template-columns: 1fr; }
    .sol-mosaic { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
    .filters { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-right: 1rem; }
    .filters::-webkit-scrollbar { display: none; }
    .timeline { grid-template-columns: 1fr; gap: 0; }
    .step { display: grid; grid-template-columns: 68px 1fr; column-gap: 1.1rem; row-gap: 0.2rem; padding-bottom: 2.2rem; align-items: start; position: relative; }
    .step__num { margin-bottom: 0; grid-column: 1; grid-row: 1 / span 2; }
    .step h3 { grid-column: 2; align-self: center; }
    .step p { grid-column: 2; }
    .step::before { content: ""; position: absolute; left: 33px; top: 68px; bottom: 0; width: 3px; background: repeating-linear-gradient(var(--neon-deep) 0 10px, transparent 10px 18px); }
    .step:last-child::before { display: none; }
    .logowall { padding: 1rem 0.8rem; }
    .footer__stamp { width: 130px; height: 130px; }
    .hero__mini { gap: 1.4rem; }
    .btn--lg { width: 100%; justify-content: center; }
    .hero__actions, .finalcta__actions { width: 100%; }
  }

  /* Respeita preferência por menos movimento */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
    .progress { display: none; }
  }
}

/* ============================================ PÁGINAS INTERIORES (multipágina) === */
@layer sections {
  /* Cabeçalho de página (páginas sem hero próprio) */
  .pagehead {
    padding: clamp(7.5rem, 15vh, 11rem) 0 clamp(1.5rem, 4vw, 2.5rem);
    background: var(--bg);
    position: relative;
  }
  .pagehead .sec-head { margin-bottom: 0; }
  .pagehead h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--navy);
    margin: 0.4rem 0 0.6rem;
  }
  .pagehead--dark { background: var(--navy); }
  .pagehead--dark h1 { color: var(--white); }
  .pagehead--dark .sec-head__lead { color: rgba(255,255,255,0.78); }

  /* Primeira seção de páginas que começam direto numa seção:
     respiro extra para não ficar sob o header fixo */
  .section--first { padding-top: clamp(7.5rem, 15vh, 11rem); }
  .section--dark.section--first { padding-top: clamp(7.5rem, 15vh, 11rem); }
  .section--first h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
  }

  /* Garante fundo da seção founder em todas as páginas */
  .founder { background: #111333 !important; color: #fff; }
  .founder__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
}
