/* ============================================================
   VERTA — Landing page
   Visual law & legal design · seções alternadas escuro/claro
   Metodologia: BEM · Tipografia: DM Sans (styles/fonts.css)
   ------------------------------------------------------------
   Sumário
   01 Tokens
   02 Reset / base
   03 Utilitários
   04 Temas (escuro / claro)
   05 Botões
   06 Navegação
   07 Hero
   08 Manifesto
   09 Problema
   10 Serviços (scroll lateral)
   11 Diferencial (matriz)
   12 Prova
   13 Parceria DLS
   14 Contato
   15 Rodapé
   16 Animações de entrada
   17 Responsivo
   18 prefers-reduced-motion
   ============================================================ */

/* ===== 01 · TOKENS ===================================== */
:root {
  /* superfícies escuras */
  --ink:          #06000c;
  --ink-2:        #0b0316;
  --ink-3:        #130726;
  --violet-deep:  #280041;
  --violet:       #5f3c91;
  --violet-bright:#7d4fc0;
  --violet-glow:  rgba(125, 79, 192, .55);

  /* superfície clara */
  --paper:        #efe9f6;
  --paper-card:   #fdfcff;
  --ink-text:     #1b1030;

  /* acento */
  --cyan:         #90cada;
  --cyan-bright:  #c0e6f1;
  --cyan-glow:    rgba(144, 202, 218, .45);

  /* semânticos (reatribuídos por tema) */
  --white:        #f3f0f8;     /* texto primário */
  --muted:        rgba(243, 240, 248, .60);
  --muted-2:      rgba(243, 240, 248, .40);
  --line:         rgba(144, 202, 218, .16);
  --line-soft:    rgba(243, 240, 248, .10);
  --glass:        rgba(255, 255, 255, .03);
  --glass-2:      rgba(255, 255, 255, .05);

  /* tipografia */
  --font: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --fs-hero:  clamp(2.3rem, 4.6vw, 4rem);
  --fs-h2:    clamp(2rem, 5.2vw, 4.5rem);
  --fs-h3:    clamp(1.2rem, 1.9vw, 1.55rem);
  --fs-lede:  clamp(1.06rem, 1.55vw, 1.45rem);
  --fs-body:  clamp(1rem, 1.05vw, 1.12rem);
  --fs-mono:  clamp(.72rem, .9vw, .82rem);

  /* layout */
  --maxw:        1320px;
  --maxw-text:   920px;
  --gutter:      clamp(1.25rem, 5vw, 6rem);
  --section-pad: clamp(5rem, 13vh, 11rem);
  --r-card:      14px;
  --r-pill:      100px;

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ===== 02 · RESET / BASE ============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--white);
  background: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--cyan); color: var(--ink); }

body::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-track { background: var(--ink); }
body::-webkit-scrollbar-thumb { background: #2a1942; border-radius: 100px; border: 3px solid var(--ink); }
body::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* ===== 03 · UTILITÁRIOS =============================== */
.u-accent { color: var(--cyan); }

.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -120%);
  z-index: 200; background: var(--cyan); color: var(--ink);
  padding: .7rem 1.3rem; border-radius: 0 0 12px 12px;
  font-weight: 600; font-size: .85rem; transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); outline: none; }

.anchor-offset { display: block; position: absolute; top: 0; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ===== 04 · TEMAS ===================================== */
.theme-dark {
  background: var(--ink);
  color: var(--white);
}

.theme-light {
  background: var(--paper);
  color: var(--ink-text);
  /* reatribui os semânticos para fundo claro */
  --white:    #1b1030;
  --muted:    rgba(27, 16, 48, .64);
  --muted-2:  rgba(27, 16, 48, .42);
  --line:     rgba(95, 60, 145, .22);
  --line-soft:rgba(27, 16, 48, .10);
  --glass:    rgba(95, 60, 145, .04);
  --glass-2:  rgba(95, 60, 145, .07);
}
.theme-light .u-accent { color: var(--violet); text-shadow: none; }

.hero, .manifesto, .problem, .services, .diff, .proof, .dls, .contact { position: relative; }

/* ===== 05 · BOTÕES ==================================== */
.btn {
  --btn-bg: transparent; --btn-fg: var(--white);
  position: relative; display: inline-flex; align-items: center; gap: .6em;
  padding: .85em 1.5em; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .95rem; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn__icon { width: 1.05em; height: 1.05em; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1rem; }

.btn--primary { --btn-bg: var(--cyan); --btn-fg: #04121a; box-shadow: 0 0 0 0 var(--cyan-glow); }
.btn--primary:hover { background: var(--cyan-bright); box-shadow: 0 14px 50px -12px var(--cyan-glow); transform: translateY(-2px); }

.btn--ghost { border-color: var(--line); color: var(--white); background: var(--glass); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.theme-light .btn--ghost:hover { border-color: var(--violet); color: var(--violet); }

.btn--outline { border-color: rgba(144, 202, 218, .4); color: var(--cyan); }
.btn--outline:hover { background: var(--cyan); color: #04121a; transform: translateY(-2px); }

/* ===== 06 · NAVEGAÇÃO ================================= */
.site-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: clamp(.9rem, 2vw, 1.5rem) var(--gutter);
  /* sobre o hero: sem fundo */
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease), color .35s var(--ease);
}
/* no scroll: vidro translúcido + blur */
.site-nav.is-scrolled {
  padding-top: clamp(.6rem, 1.2vw, 1rem); padding-bottom: clamp(.6rem, 1.2vw, 1rem);
  background: rgba(6, 0, 12, .58);
  border-bottom-color: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
/* no scroll sobre seção clara: vidro invertido */
.site-nav--on-light.is-scrolled {
  background: rgba(239, 233, 246, .72);
  border-bottom-color: rgba(27, 16, 48, .08);
}
.site-nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

/* --- estado padrão: seção escura --- */
.site-nav__brand { display: inline-flex; flex: 0 0 auto; }
.site-nav__logo { width: clamp(86px, 9vw, 116px); height: auto; fill: #fff; transition: fill .35s var(--ease); }
.site-nav__brand:hover .site-nav__logo { fill: var(--cyan); }
.site-nav__cta { flex: 0 0 auto; }

/* --- estado invertido: seção clara --- */
.site-nav--on-light .site-nav__logo { fill: var(--ink); }
.site-nav--on-light .site-nav__brand:hover .site-nav__logo { fill: var(--violet); }


/* ===== 07 · HERO ===================================== */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: clamp(7rem, 16vh, 11rem) var(--gutter) clamp(4rem, 8vh, 6rem);
  overflow: hidden;
}
/* vídeo de fundo */
.hero__banner {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  opacity: .6;
}
@media (max-width: 640px) {
  .hero__banner { object-position: center center; }
}
/* atmosfera local: campo de cor + grão (não é imagem) */
.hero::before {
  content: ""; position: absolute; inset: -15%;
  background:
    radial-gradient(40vw 40vw at 22% 28%, rgba(125, 79, 192, .42), transparent 62%),
    radial-gradient(38vw 38vw at 82% 16%, rgba(95, 60, 145, .34), transparent 60%),
    radial-gradient(46vw 46vw at 70% 88%, rgba(40, 0, 65, .8),  transparent 64%);
  filter: blur(44px) saturate(120%);
  animation: drift 30s ease-in-out infinite alternate; z-index: 1;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
.hero__inner {
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}
.hero__title { font-weight: 200; font-size: var(--fs-hero); line-height: .94; letter-spacing: -.035em; margin-bottom: clamp(1.5rem, 3vw, 2.6rem); }
.hero__line { display: block; }
.hero__line--accent { color: var(--cyan); font-weight: 300; text-shadow: 0 0 60px var(--cyan-glow); }
.hero__lede { max-width: 46ch; font-size: var(--fs-lede); font-weight: 300; color: var(--muted); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }

@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2.5%, -2%, 0) scale(1.08); }
  100% { transform: translate3d(-2%, 2.5%, 0) scale(1.04); }
}

/* ===== 08 · MANIFESTO ================================= */
.manifesto { padding: var(--section-pad) var(--gutter); }
.manifesto__content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: var(--maxw); margin: 0 auto;
  align-items: center;
}
.manifesto__eyebrow {
  font-size: var(--fs-mono); font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--violet);
  margin-bottom: clamp(.8rem, 1.5vw, 1.1rem);
}
.manifesto__title {
  font-size: var(--fs-h2); font-weight: 300; line-height: 1.06;
  letter-spacing: -.025em; color: var(--ink-text);
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}
.manifesto__body { max-width: 46ch; display: flex; flex-direction: column; gap: 1.2rem; }
.manifesto__body p { color: rgba(27, 16, 48, .65); font-size: 1rem; font-weight: 400; }
.manifesto__body strong { color: var(--violet); font-weight: 600; }
.manifesto__media { aspect-ratio: 4/5; border-radius: var(--r-card); overflow: hidden; }
.manifesto__media img { width: 100%; height: 100%; object-fit: cover; }

/* ===== 09 · PROBLEMA ================================= */
.problem {
  padding: var(--section-pad) var(--gutter);
  background: url("../assets/footer.jpg") center / cover no-repeat;
  background-attachment: fixed;
}
.problem::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(6, 0, 12, .72);
  pointer-events: none;
}
.problem__inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 1; }
.problem__title { font-size: clamp(1.9rem, 4.6vw, 4rem); font-weight: 300; line-height: 1.08; letter-spacing: -.025em; max-width: 18ch; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.problem__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 5vw, 5rem); max-width: 1000px; margin-left: auto; }
.problem__lead { max-width: 60ch; display: flex; flex-direction: column; gap: 1.4rem; }
.problem__lead p { font-size: var(--fs-lede); font-weight: 300; color: var(--white); }
.problem__lead p + p { color: var(--muted); }
.problem__lead strong { color: var(--cyan); font-weight: 600; }

/* ===== 10 · SERVIÇOS (GRADE 3 × 2) =================== */
.services { padding: var(--section-pad) 0; }
.services__intro {
  max-width: var(--maxw); margin: 0 auto clamp(2.5rem, 5vw, 4rem); padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem;
}
.services__title { font-size: var(--fs-h2); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; }
.services__lead { max-width: 40ch; color: var(--muted); font-size: var(--fs-body); }

.services__grid {
  --cols: 3;
  --grid-gap: clamp(1rem, 2vw, 1.6rem);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: var(--grid-gap);
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter); list-style: none;
}

/* card — largura igual, 4 por linha (linha de baixo centralizada) */
.card {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--grid-gap)) / var(--cols));
  min-width: 0;
  display: flex; flex-direction: column; gap: 1.1rem;
  min-height: clamp(300px, 30vh, 360px);
  padding: clamp(1.6rem, 2.4vw, 2.3rem);
  background: #fff;
  border-radius: var(--r-card);
  transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-5px); }
.card__icon {
  position: relative;
  width: clamp(56px, 6vw, 76px); aspect-ratio: 1; border-radius: 10px; overflow: hidden;
  background: #ece4f6; flex: 0 0 auto;
}
.card__icon-static,
.card__icon-motion {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.card__icon-static { z-index: 1; }
.card__icon-motion { z-index: 2; opacity: 0; transition: opacity .3s var(--ease); }
.card:hover .card__icon-motion { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .card__icon-motion { opacity: 0 !important; }
}
.card__title { margin-top: auto; color: var(--violet); font-size: clamp(1.02rem, 1.3vw, 1.18rem); font-weight: 600; letter-spacing: -.01em; }
.card__text { color: #6b6478; font-size: 1rem; }

/* ícone sem caixa de fundo */
.card__icon--bare { background: transparent; border-radius: 0; overflow: visible; }

/* card em destaque escuro — arquivos editáveis */
.card--featured { background: var(--violet-deep); }
.card--featured .card__title { color: var(--cyan); }
.card--featured .card__text { color: rgba(243, 240, 248, .82); }

/* ===== 11 · DIFERENCIAL (MATRIZ) ===================== */
.diff { padding: var(--section-pad) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.diff__head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.diff__title { font-size: var(--fs-h2); font-weight: 300; line-height: 1.02; letter-spacing: -.03em; margin-bottom: 1.2rem; }
.diff__intro { color: var(--muted); font-size: var(--fs-body); max-width: 52ch; }
.diff__matrix { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; background: linear-gradient(180deg, var(--glass-2), transparent); backdrop-filter: blur(8px); }
.matrix { width: 100%; border-collapse: collapse; }
.matrix th, .matrix td { text-align: left; padding: clamp(.9rem, 2vw, 1.4rem) clamp(1rem, 2.5vw, 1.8rem); }
.matrix thead th { font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); padding-top: clamp(1.2rem, 2.6vw, 1.85rem); padding-bottom: clamp(1.2rem, 2.6vw, 1.85rem); }
.matrix__col { text-align: center; }
.matrix__col--us { color: var(--cyan); }
.matrix tbody tr { transition: background .2s var(--ease); }
.matrix tbody tr:hover th, .matrix tbody tr:hover td { background: rgba(144, 202, 218, .07); }
.matrix tbody th { font-weight: 400; font-size: var(--fs-body); color: var(--white); border-bottom: 1px solid var(--line-soft); max-width: 30ch; }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.matrix__cell { text-align: center; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.matrix__cell--no { color: var(--muted-2); }
.matrix__cell--yes { color: var(--cyan); }
.matrix__check { display: block; margin: 0 auto; filter: drop-shadow(0 0 6px var(--cyan-glow)); }
.matrix tr > *:nth-child(2) {
  background: rgba(144, 202, 218, .11);
  border-left: 1px solid rgba(144, 202, 218, .22);
  border-right: 1px solid rgba(144, 202, 218, .22);
}
.matrix thead th.matrix__col--us {
  background: rgba(144, 202, 218, .18);
  color: var(--cyan);
  border-top: 2px solid var(--cyan);
}

/* linha a linha */
.js .diff__matrix tbody tr { opacity: 0; transform: translateX(-10px); }
.diff__matrix.is-visible tbody tr { animation: matrix-row-in .45s var(--ease) both; }
.diff__matrix.is-visible tbody tr:nth-child(1) { animation-delay: .3s; }
.diff__matrix.is-visible tbody tr:nth-child(2) { animation-delay: .5s; }
.diff__matrix.is-visible tbody tr:nth-child(3) { animation-delay: .7s; }
.diff__matrix.is-visible tbody tr:nth-child(4) { animation-delay: .9s; }
.diff__matrix.is-visible tbody tr:nth-child(5) { animation-delay: 1.1s; }
@keyframes matrix-row-in {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: none; }
}

/* ===== 12 · CANAL ARBITRAGEM (parceria) ============== */
.canal {
  padding: var(--section-pad) var(--gutter);
  background:
    radial-gradient(75% 120% at 50% 0%, rgba(144, 202, 218, .14), transparent 60%),
    linear-gradient(160deg, #200d39 0%, #2c1450 58%, #190a2e 100%);
}
.canal__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: minmax(180px, 28%) 1fr;
  gap: clamp(2rem, 6vw, 5rem); align-items: center;
}
.canal__logo-wrap { display: flex; align-items: center; justify-content: center; }
.canal__logo { width: 100%; max-width: 260px; height: auto; }
.canal__content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; text-align: left; }
.canal__title { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 300; letter-spacing: -.025em; line-height: 1.1; color: #fff; }
.canal__text { font-size: clamp(1.05rem, 1.5vw, 1.2rem); font-weight: 300; color: rgba(243, 240, 248, .74); max-width: 52ch; }
.canal__cta { margin-top: .4rem; }

/* ===== 13 · PARCERIA DLS ============================= */
.dls {
  padding: var(--section-pad) var(--gutter);
  background: radial-gradient(80% 60% at 50% 0%, rgba(125, 79, 192, .18), transparent 70%), var(--ink-2);
}
.dls > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.dls__head { text-align: center; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.dls__cobrand { display: inline-flex; align-items: center; gap: 1.2rem; margin-bottom: 1.6rem; }
.dls__cobrand-logo { display: block; width: auto; flex: 0 0 auto; }
.dls__cobrand-logo--verta { height: 18px; filter: brightness(0) invert(1); }
.dls__cobrand-logo--dls { height: 54px; }
.dls__cobrand-x { color: var(--muted-2); font-weight: 300; font-size: 1.4rem; line-height: 1; }
.dls__title { font-size: var(--fs-h2); font-weight: 300; line-height: 1.04; letter-spacing: -.03em; margin: 0 auto 1.4rem; max-width: 18ch; }
.dls__lede { color: var(--muted); font-size: var(--fs-lede); font-weight: 300; max-width: 56ch; margin: 0 auto; }
.dls__lede strong { color: var(--white); font-weight: 600; }
.dls__split { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.dls__contrib { border: 1px solid var(--line-soft); border-radius: var(--r-card); padding: clamp(1.5rem, 3vw, 2.2rem); background: var(--glass); }
.dls__contrib-name { font-size: var(--fs-h3); font-weight: 500; margin-bottom: .8rem; display: inline-flex; align-items: center; gap: .6rem; }
.dls__contrib-name::before { content: ""; width: 9px; height: 9px; background: var(--cyan); rotate: 45deg; }
.dls__contrib-text { color: var(--muted); font-size: var(--fs-body); }
.dls__combined { text-align: center; color: var(--white); font-size: var(--fs-lede); font-weight: 300; max-width: 64ch; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.dls__combined-tag { display: inline-block; font-size: .75em; font-weight: 600; color: var(--cyan); border: 1px solid var(--line); border-radius: var(--r-pill); padding: .15em .8em; margin: 0 .15em; vertical-align: middle; letter-spacing: .04em; box-shadow: 0 0 18px var(--cyan-glow), inset 0 0 10px rgba(144, 202, 218, .08); text-shadow: 0 0 12px var(--cyan-glow); }

.dls__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); max-width: 920px; }
.plan { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.8rem, 3.5vw, 2.8rem); background: linear-gradient(180deg, var(--glass-2), transparent); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.plan:hover { transform: translateY(-4px); border-color: rgba(144,202,218,.4); }
.plan--featured { border-color: rgba(125, 79, 192, .5); background: var(--violet-deep); }
.plan__badge { position: absolute; top: -1px; right: clamp(1.5rem, 3vw, 2.5rem); transform: translateY(-50%); background: var(--cyan); color: #04121a; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: .35em .9em; border-radius: var(--r-pill); }
.plan__head { margin-bottom: 1.2rem; }
.plan__name { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -.02em; }
.plan__kind { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.plan__price { font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 200; letter-spacing: -.04em; line-height: 1; margin-bottom: 1.4rem; display: flex; align-items: baseline; gap: .15em; }
.plan__currency { font-size: .4em; font-weight: 400; color: var(--muted); }
.plan__per { font-size: .3em; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.8rem; flex: 1; }
.plan__features li { position: relative; padding-left: 1.7rem; color: var(--muted); font-size: var(--fs-body); }
.plan__features li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1rem; height: 1rem;
  background: var(--cyan); border-radius: 50%; opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 13l4 4L19 7' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.plan__cta { justify-content: center; width: 100%; }

.dls__media-note { max-width: 920px; margin: clamp(1.8rem, 3vw, 2.4rem) auto 0; font-size: .85rem; color: var(--muted-2); text-align: center; }

/* ===== 14b · FAB WHATSAPP ============================ */
.wa-fab {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 90;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--cyan); color: #04121a;
  display: grid; place-items: center;
  box-shadow: 0 8px 32px -8px rgba(144, 202, 218, .55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-fab:hover { transform: scale(1.1) translateY(-2px); box-shadow: 0 16px 44px -10px rgba(144, 202, 218, .7); }
.wa-fab svg { width: 32px; height: 32px; }

/* ===== 14 · CONTATO ================================== */
.contact { padding: clamp(6rem, 16vh, 12rem) var(--gutter); text-align: center; overflow: hidden; }
.contact__inner { max-width: var(--maxw-text); margin: 0 auto; position: relative; z-index: 2; }
.contact__title { font-size: clamp(2.4rem, 7vw, 6rem); font-weight: 200; line-height: 1; letter-spacing: -.04em; margin-bottom: 1.6rem; }
.contact__body { color: var(--muted); font-size: var(--fs-lede); font-weight: 300; max-width: 52ch; margin: 0 auto 2.6rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ===== 15 · RODAPÉ =================================== */
.site-footer {
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
  background: url("../assets/footer.jpg") center / cover no-repeat;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(6, 0, 12, .78);
  pointer-events: none;
}
.site-footer__inner { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-soft); }
.site-footer__logo { width: 200px; height: auto; margin-bottom: .9rem; }
.site-footer__tag { font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: .26em; color: var(--cyan); font-weight: 500; }
.site-footer__nav, .site-footer__contact { display: flex; flex-direction: column; gap: .7rem; }
.site-footer__nav a, .site-footer__contact a { color: var(--muted); transition: color .3s; width: fit-content; }
.site-footer__nav a:hover, .site-footer__contact a:hover { color: var(--cyan); }
.site-footer__site { color: var(--white); font-weight: 600; margin-top: .3rem; }
.site-footer__base { position: relative; z-index: 1; max-width: var(--maxw); margin: 1.6rem auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .8rem; color: var(--muted-2); }

/* ===== 16 · ANIMAÇÕES DE ENTRADA ===================== */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.dls__plans .plan:nth-child(2) { transition-delay: .1s; }
.services__grid .card:nth-child(2) { transition-delay: .07s; }
.services__grid .card:nth-child(3) { transition-delay: .14s; }
.services__grid .card:nth-child(4) { transition-delay: .04s; }
.services__grid .card:nth-child(5) { transition-delay: .10s; }
.services__grid .card:nth-child(6) { transition-delay: .18s; }
.services__grid .card:nth-child(7) { transition-delay: .12s; }

.js .hero [data-line] { opacity: 0; transform: translateY(42px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
body.is-ready .hero [data-line] { opacity: 1; transform: none; }
.hero__title .hero__line:nth-child(1) { --d: .12s; }
.hero__title .hero__line:nth-child(2) { --d: .20s; }
.hero__title .hero__line:nth-child(3) { --d: .28s; }
.hero__lede   { --d: .42s; }
.hero__actions{ --d: .54s; }

/* ===== 17 · RESPONSIVO ============================== */
@media (max-width: 1024px) {
  .services__grid { --cols: 2; }
  .manifesto__content { grid-template-columns: 1fr; }
  .manifesto__media { aspect-ratio: 16/9; order: -1; }
}
@media (max-width: 860px) {
  .problem { background-attachment: scroll; }
  .site-nav__links { display: none; }
  .problem__cols { grid-template-columns: 1fr; }
  .problem__title { max-width: 100%; }
  .dls__split { grid-template-columns: 1fr; }
  .dls__plans { grid-template-columns: 1fr; max-width: 480px; }
  .canal__inner { grid-template-columns: 1fr; gap: 2rem; justify-items: center; text-align: center; }
  .canal__content { align-items: center; text-align: center; }
  .canal__logo { max-width: 220px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .services__intro { align-items: start; }
}
@media (max-width: 620px) {
  .services__grid { --cols: 1; }
}

/* dispositivos touch: sem hover, vídeo sempre ativo, gap compacto */
@media (hover: none) {
  .card { gap: .5rem; }
  .card__title { margin-top: .25rem; }
  .card__icon-static { opacity: 0; }
  .card__icon-motion { opacity: 1; }
}
@media (max-width: 560px) {
  .hero__title { letter-spacing: -.02em; }
  .matrix thead th { font-size: .62rem; padding-left: .8rem; padding-right: .8rem; }
  .matrix th, .matrix td { padding: .8rem .7rem; }
  .matrix tbody th { font-size: .92rem; }
  .matrix__cell { font-size: .8rem; }
  .matrix__cell--no { font-size: .72rem; }
  .btn--lg { width: 100%; justify-content: center; }
  .hero__actions, .contact__actions { width: 100%; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== 18 · PREFERS-REDUCED-MOTION ================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero::before { animation: none !important; }
  .js [data-reveal], .js .hero [data-line] { opacity: 1 !important; transform: none !important; }
  .js .diff__matrix tbody tr { opacity: 1 !important; transform: none !important; animation: none !important; }
}
