/* =============================================================================
   SOS Negócio — Design System (tema WordPress)
   "Liberte-se da burocracia"

   CSS da Base Aprovada (sosnegocio-mockup/baseline/assets/css/theme.css), com
   os tokens a apontar para os presets do theme.json e o que o WordPress pede
   a mais (páginas legais, formulário real, barra de administração, sem JS).

   Navy transmite confiança e rigor; o dourado dá vida (do logótipo e das
   ilustrações). A tinta é navy-carvão, nunca preto puro.

   Arquitetura:
     1. Tokens          2. Reset/base      3. Tipografia
     4. Layout          5. Componentes     6. Secções
     7. Páginas/WP      8. Movimento       9. Responsivo
   10. Variantes      11. Cookies        12. A11y
   ========================================================================== */

/* 1. TOKENS ----------------------------------------------------------------- */
:root {
  /* Superfícies */
  --paper:        var(--wp--preset--color--papel, #F6F8FB);
  --paper-2:      var(--wp--preset--color--papel-2, #EDF1F7);
  --surface:      var(--wp--preset--color--branco, #FFFFFF);
  --ink:          var(--wp--preset--color--tinta, #15223A);
  --ink-2:        var(--wp--preset--color--tinta-2, #46546E);
  --ink-3:        var(--wp--preset--color--tinta-3, #5F6B82);
  --line:         rgba(21,34,58,.10);
  --line-2:       rgba(21,34,58,.16);

  /* Marca — navy */
  --brand:        var(--wp--preset--color--navy, #1E4E8C);
  --brand-700:    var(--wp--preset--color--navy-700, #173E72);
  --brand-deep:   var(--wp--preset--color--navy-profundo, #0E2A50);
  --brand-ink:    var(--wp--preset--color--navy-tinta, #0A1E3C);
  --brand-tint:   var(--wp--preset--color--navy-claro, #E9F0F9);
  --brand-tint-2: var(--wp--preset--color--navy-claro-2, #D1E0F2);

  /* Acento — dourado */
  --amber:        var(--wp--preset--color--dourado, #F0C040);
  --amber-700:    var(--wp--preset--color--dourado-700, #D29A12);
  --amber-tint:   var(--wp--preset--color--dourado-claro, #FBF1D5);

  /* Estados do formulário */
  --erro:         #B42318;
  --erro-tint:    #FDECEA;
  --ok:           #146C43;
  --ok-tint:      #E7F4EC;

  /* Sombras — suaves, com tom navy */
  --sh-xs: 0 1px 2px rgba(21,34,58,.05);
  --sh-sm: 0 2px 10px rgba(21,34,58,.06);
  --sh-md: var(--wp--preset--shadow--suave, 0 14px 34px -16px rgba(21,34,58,.20));
  --sh-lg: var(--wp--preset--shadow--alta, 0 36px 70px -30px rgba(14,42,80,.34));
  --sh-brand: 0 18px 40px -16px rgba(30,78,140,.40);

  /* Raios */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Tipografia */
  --font-sans: var(--wp--preset--font-family--inter, "Inter", ui-sans-serif, system-ui, sans-serif);
  --font-display: var(--wp--preset--font-family--fraunces, "Fraunces", Georgia, serif);
  --font-mono: var(--wp--preset--font-family--space-mono, "Space Mono", ui-monospace, monospace);

  --fs-eyebrow: .78rem;
  --fs-h1: var(--wp--preset--font-size--titulo-1, clamp(2.7rem, 1.5rem + 4.8vw, 4.75rem));
  --fs-h2: var(--wp--preset--font-size--titulo-2, clamp(2rem, 1.35rem + 2.6vw, 3.1rem));
  --fs-h3: var(--wp--preset--font-size--titulo-3, clamp(1.2rem, 1.05rem + .6vw, 1.5rem));
  --fs-lead: var(--wp--preset--font-size--destaque, clamp(1.1rem, 1rem + .55vw, 1.375rem));
  --fs-body: var(--wp--preset--font-size--normal, 1.0625rem);
  --fs-sm: var(--wp--preset--font-size--pequeno, .9375rem);

  --lh-tight: 1.04;
  --lh-snug: 1.18;
  --lh-body: 1.62;

  /* Layout */
  --container: var(--wp--custom--container, 1200px);
  --gutter: var(--wp--custom--gutter, clamp(1.25rem, 1rem + 2vw, 2.5rem));
  --section-y: clamp(4.5rem, 3rem + 7vw, 8.5rem);

  /* Movimento */
  --ease: var(--wp--custom--ease, cubic-bezier(.22, .61, .36, 1));
  --ease-out: var(--wp--custom--ease-out, cubic-bezier(.16, 1, .3, 1));
  --dur: .55s;

  --ring: 0 0 0 3px rgba(30,78,140,.28);
  --topo: 0px; /* altura da barra de administração do WordPress */
}
body.admin-bar { --topo: 32px; }
@media (max-width: 782px) { body.admin-bar { --topo: 46px; } }

/* 2. RESET / BASE ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo) + 96px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv05", "cv11";
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--brand-tint-2); color: var(--brand-ink); }

/* 3. TIPOGRAFIA ------------------------------------------------------------- */
h1, h2, h3, h4 { line-height: var(--lh-snug); font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); letter-spacing: -.035em; font-weight: 800; }
h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); }

.display { font-family: var(--font-display); font-optical-sizing: auto; }
.display-italic { font-family: var(--font-display); font-style: italic; font-weight: 500; }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-3); }
.measure { max-width: 56ch; }
.measure-sm { max-width: 44ch; }

/* Eyebrow — a assinatura das secções: um separador em mono */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand-700);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  opacity: .8;
}

/* 4. LAYOUT ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); }
.section--wash { background: linear-gradient(180deg, var(--brand-tint) 0%, var(--paper) 100%); }

.stack > * + * { margin-top: 1.1rem; }
.section-head { max-width: 64ch; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.section-head .display { margin-top: 1rem; }
.section-head .lead { margin-top: 1.1rem; }
.text-center { text-align: center; }
.center-head { margin-inline: auto; }
.center-head .lead { margin-inline: auto; }

.grid { display: grid; gap: clamp(1rem, .6rem + 1.5vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* 5. COMPONENTES ------------------------------------------------------------ */

/* Botões */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.5rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: var(--fs-sm);
  line-height: 1.3;
  letter-spacing: -.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: var(--sh-brand);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 48px -18px rgba(30,78,140,.55); background: var(--brand-700); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn .arrow { transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; transform: none; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}
.btn--ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--brand-700); transform: translateY(-2px); }

.btn--lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn--light { background: #fff; color: var(--brand-deep); box-shadow: var(--sh-md); }
.btn--light:hover { background: #fff; color: var(--brand-700); }
.btn--amber { --btn-bg: var(--amber); --btn-fg: #3a2406; box-shadow: 0 18px 40px -16px rgba(210,154,18,.5); }
.btn--amber:hover { background: var(--amber-700); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* Cartões */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--brand-tint-2); }

/* Serviço */
.service { display: flex; flex-direction: column; gap: 1rem; }
.service .ic {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--brand-tint);
  color: var(--brand-700);
  transition: background .35s, color .35s, transform .35s var(--ease-out);
}
.service .ic svg { width: 26px; height: 26px; stroke-width: 1.6; }
.service:hover .ic { background: var(--brand); color: #fff; transform: rotate(-4deg); }
.service h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.service p { color: var(--ink-2); font-size: var(--fs-sm); }

/* Valores */
.value { display: flex; flex-direction: column; gap: .6rem; }
.value .num { font-family: var(--font-mono); font-size: .8rem; color: var(--brand); letter-spacing: .1em; }
.value h3 { font-size: 1.1rem; }
.value p { font-size: var(--fs-sm); color: var(--ink-2); }

/* Números */
.stat .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.4rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); }
.stat .n .unit { color: var(--brand); }
.stat .l { margin-top: .5rem; font-size: var(--fs-sm); color: var(--ink-2); }

/* Passos */
.step { position: relative; padding-left: 0; }
.step .badge {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700;
  background: var(--surface); color: var(--brand-700);
  border: 1px solid var(--brand-tint-2);
  box-shadow: var(--sh-xs);
  margin-bottom: 1.1rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { color: var(--ink-2); font-size: var(--fs-sm); }

/* Planos */
.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 1.4rem + 1vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.25rem;
  box-shadow: var(--sh-sm);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
  height: 100%;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.plan--featured { background: var(--brand-deep); color: #fff; border-color: transparent; box-shadow: var(--sh-lg); }
.plan--featured .plan-name, .plan--featured .plan-desc { color: rgba(255,255,255,.85); }
.plan--featured .plan-price { color: #fff; }
.plan--featured .feat li { color: rgba(255,255,255,.9); }
.plan--featured .feat svg { color: var(--amber); }
.plan-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: var(--r-pill);
  background: var(--amber); color: #3a2406;
}
.plan-name { font-weight: 700; font-size: 1.15rem; letter-spacing: -.02em; }
.plan-desc { color: var(--ink-2); font-size: var(--fs-sm); }
.plan-price { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; letter-spacing: -.03em; line-height: 1; }
.plan-price small { font-family: var(--font-sans); font-size: .9rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; white-space: nowrap; }
.plan--featured .plan-price small { color: rgba(255,255,255,.75); }
.plan .btn { margin-top: auto; }
.feat { display: flex; flex-direction: column; gap: .7rem; }
.feat li { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--ink-2); }
.feat svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--brand); margin-top: .15rem; }
/* O que inclui é uma lista nativa do WordPress: o visto é desenhado pelo CSS */
.feat { list-style: none; padding-left: 0; margin: 0; }
.feat li::before {
  content: ""; flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; background: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan--featured .feat li::before { background: var(--amber); }
.feat li:has(> svg)::before { content: none; }

/* Faixa de princípios */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 1rem + 3vw, 4rem); padding-block: 1.75rem; }
.trust .item { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink-2); font-weight: 500; font-size: var(--fs-sm); }
.trust .item svg { width: 1.2rem; height: 1.2rem; color: var(--brand); }

/* 6. SECÇÕES ---------------------------------------------------------------- */

/* Cabeçalho */
.site-header {
  position: sticky; top: var(--topo); z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(246,248,251,.84);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px -18px rgba(14,42,80,.4);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .85rem; flex: none; }
.brand-logo { height: 50px; width: auto; display: block; transition: height .35s var(--ease); }
.is-stuck .brand-logo { height: 44px; }
.brand-tag { font-size: .72rem; color: var(--ink-3); font-weight: 500; max-width: 13ch; line-height: 1.25; padding-left: .9rem; border-left: 1px solid var(--line-2); }
.logo-chip { display: inline-flex; background: #fff; border-radius: 16px; padding: .7rem 1rem; box-shadow: var(--sh-md); }
.logo-chip img { height: 48px; width: auto; display: block; }

.menu { display: flex; gap: .3rem; align-items: center; }
.menu a { padding: .5rem .85rem; border-radius: var(--r-pill); font-size: var(--fs-sm); font-weight: 500; color: var(--ink-2); transition: color .2s, background .2s; white-space: nowrap; }
.menu a:hover { color: var(--ink); background: var(--brand-tint); }
.menu a[aria-current="true"], .menu a[aria-current="page"] { color: var(--brand-700); background: var(--brand-tint); }
.nav-cta { display: flex; align-items: center; gap: .75rem; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); place-items: center; }
.burger span { position: relative; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease); }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* Topo da página inicial */
.hero { position: relative; isolation: isolate; padding-top: clamp(3rem, 2rem + 4vw, 5.5rem); padding-bottom: var(--section-y); overflow: hidden; }
.hero::before, .page-head::before, .erro-404::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 0%, rgba(240,192,64,.18), transparent 70%),
    radial-gradient(70% 60% at 8% 8%, rgba(30,78,140,.12), transparent 65%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { margin-block: 1.25rem 1.4rem; }
.hero h1 em { font-family: var(--font-display); font-style: italic; font-weight: 500; color: var(--brand); letter-spacing: -.02em; }
.hero .lead { max-width: 48ch; }
.hero .btn-row { margin-top: 2rem; }
.hero-note { margin-top: 1.5rem; display: flex; align-items: center; gap: .6rem; font-size: var(--fs-sm); color: var(--ink-3); }
.hero-note svg { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; }

/* Ilustrações da marca */
.illo-wrap { position: relative; }
.illo { width: 100%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 28px 46px rgba(14,42,80,.14)); }
.illo-blob { position: absolute; z-index: 1; border-radius: 50%; filter: blur(10px); }
.illo-blob--navy { background: rgba(30,78,140,.10); }
.illo-blob--gold { background: rgba(240,192,64,.22); }

/* Ilustração do topo com cartões flutuantes */
.hero-visual { position: relative; }
.float-card {
  position: absolute; z-index: 3; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r);
  box-shadow: var(--sh-lg); padding: .85rem 1.05rem;
  display: flex; align-items: center; gap: .7rem;
}
.float-card .check { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.float-card .check svg { width: 18px; height: 18px; }
.float-card .ttl { font-weight: 700; font-size: .9rem; line-height: 1.15; }
.float-card .sub { font-size: .76rem; color: var(--ink-3); }
.float-card--tudo { left: -3%; bottom: 6%; }
.float-card--badge { right: -2%; top: 4%; background: var(--brand-deep); color: #fff; border-color: transparent; }
.float-card--badge .bn { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; line-height: 1; color: var(--amber); }
.float-card--badge .bl { font-size: .72rem; color: rgba(255,255,255,.82); max-width: 12ch; line-height: 1.25; }

/* Números */
.stat-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem,.5rem+2vw,2.5rem);
  margin-top: clamp(2.5rem,1.5rem+3vw,4rem);
  padding-top: clamp(2rem,1.5rem+2vw,3rem);
  border-top: 1px solid var(--line);
}

/* Passos (ao lado de uma ilustração) */
.steps-list { display: flex; flex-direction: column; gap: 1.6rem; }
.steps-list .step { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start; }
.steps-list .step .badge { margin-bottom: 0; }
.split-head .display { margin: 1rem 0 1.6rem; }
.split-copy .display { margin: 1rem 0 1.1rem; }
.split-copy .btn-row { margin-top: 2rem; }

/* Faixa de chamada */
.cta-band { background: radial-gradient(120% 140% at 0% 0%, var(--brand) 0%, var(--brand-deep) 55%, var(--brand-ink) 100%); color: #fff; border-radius: var(--r-xl); padding: clamp(2.5rem, 1.5rem + 5vw, 5rem); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::after { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: radial-gradient(circle, rgba(240,192,64,.26), transparent 60%); z-index: -1; }
.cta-band .eyebrow { color: rgba(255,255,255,.85); }
.cta-band .eyebrow::before { background: var(--amber); }
.cta-band h2 { color: #fff; max-width: 18ch; margin-top: 1rem; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 50ch; margin-top: 1rem; }
.cta-band .btn-row { margin-top: 2rem; position: relative; z-index: 1; }
.cta-band .tel-nota { color: rgba(255,255,255,.7); font-size: .8rem; margin-top: .9rem; }

/* Quem somos */
.about-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(2rem, 1.4rem + 3vw, 3.5rem); box-shadow: var(--sh-sm); }
.about-card .hero-grid { gap: clamp(2rem,1rem + 3vw,4rem); }
.quote-mark { display: block; font-family: var(--font-display); font-size: 4rem; line-height: .5; color: var(--brand-tint-2); margin-top: 1.4rem; }
.about-quote { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.4; color: var(--ink); margin-top: .6rem; font-weight: 500; }
.about-card .lead { margin-top: 1.5rem; }
.values-stack { display: grid; gap: 1rem; }

/* Contactos */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-copy .display { margin: 1rem 0; }
.contact-copy h1.display { font-size: var(--fs-h2); line-height: var(--lh-snug); letter-spacing: -.03em; font-weight: 700; }
.contact-copy .lead { margin-bottom: 2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.1rem; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.field label .opcional { font-weight: 400; color: var(--ink-3); }
.field input, .field textarea {
  font: inherit; font-size: var(--fs-sm); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: .8rem .95rem; transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #7C889E; opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 120px; }
.field.tem-erro input, .field.tem-erro textarea { border-color: var(--erro); }
.field.tem-erro input:focus, .field.tem-erro textarea:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.2); }
.field-erro { font-size: .82rem; color: var(--erro); font-weight: 500; }
.field-erro:empty { display: none; }
.form-card { padding: clamp(1.75rem,1.4rem + 1vw,2.5rem); }
.form-card:hover { transform: none; }
.form-card .grid-2 { gap: 1rem; }
.form-nota { font-size: .8rem; margin-top: .9rem; text-align: center; color: var(--ink-3); }
.form-nota a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.form-estado { border-radius: var(--r-sm); padding: .9rem 1rem; font-size: var(--fs-sm); margin-bottom: 1.1rem; display: flex; gap: .6rem; align-items: flex-start; }
.form-estado:empty { display: none; }
.form-estado svg { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .1rem; }
.form-estado--erro { background: var(--erro-tint); color: var(--erro); }
.form-estado--ok { background: var(--ok-tint); color: var(--ok); }
.form-enviado { text-align: center; padding-block: 1.5rem; }
.form-enviado .check { width: 56px; height: 56px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin: 0 auto 1.2rem; }
.form-enviado .check svg { width: 26px; height: 26px; }
.form-enviado h3 { font-size: 1.3rem; }
.form-enviado p { color: var(--ink-2); margin-top: .5rem; font-size: var(--fs-sm); }
.armadilha { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row b { display: block; font-size: var(--fs-sm); }
.info-row span, .info-row a { font-size: var(--fs-sm); color: var(--ink-2); }
.info-row a:hover { color: var(--brand-700); }
.info-row .tel-nota { display: block; font-size: .78rem; color: var(--ink-3); }

/* Rodapé */
.site-footer { background: var(--brand-ink); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-blurb { margin-top: 1.1rem; max-width: 34ch; font-size: var(--fs-sm); line-height: 1.6; }
.footer-col h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-family: var(--font-mono); font-weight: 700; margin-bottom: 1.1rem; }
.footer-col a, .footer-col p { color: rgba(255,255,255,.72); font-size: var(--fs-sm); display: block; padding-block: .3rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-col .tel-nota { font-size: .76rem; color: rgba(255,255,255,.55); padding-block: 0 .3rem; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; justify-content: space-between; align-items: center; padding-top: 2rem; font-size: .82rem; color: rgba(255,255,255,.6); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-legal a { color: rgba(255,255,255,.66); transition: color .2s; }
.footer-legal a:hover { color: #fff; }
.footer-livro { display: inline-flex; align-items: center; gap: .5rem; }
.footer-livro svg { width: 1rem; height: 1rem; }

/* 7. PÁGINAS / WORDPRESS ---------------------------------------------------- */

/* O conteúdo das páginas empilha secções: sem espaço entre elas */
.wp-site-blocks > * + *, main > .wp-block-post-content > * + *, .wp-block-post-content > .section + .section { margin-block-start: 0; }
.wp-block-post-content > .section, .wp-block-post-content > section { margin-block: 0; }
.wp-site-blocks { padding: 0; }

/* Cabeça das páginas interiores */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 3.6rem); margin-top: 1.1rem; }
.page-head .lead { margin-top: 1.1rem; max-width: 60ch; }
.page-head .meta { margin-top: 1.4rem; font-size: .82rem; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: .04em; }

/* Texto corrido (páginas legais) */
.prose-section { padding-block: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) var(--section-y); }
.prose { max-width: 72ch; font-size: var(--fs-body); color: var(--ink-2); }
.prose > * + * { margin-top: 1.1rem; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); margin-top: 2.6rem; color: var(--ink); letter-spacing: -.02em; }
.prose h3 { font-size: 1.15rem; margin-top: 2.2rem; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .7rem; }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--brand); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose ul { list-style: disc; }
.prose li + li { margin-top: .45rem; }
.prose strong { color: var(--ink); }
.prose .aviso { background: var(--amber-tint); border-radius: var(--r-sm); padding: 1rem 1.1rem; color: var(--ink); font-size: var(--fs-sm); }

/* Página não encontrada */
.erro-404 { position: relative; isolation: isolate; overflow: hidden; text-align: center; }
.erro-404 .container { max-width: 760px; }
.erro-404 h1 { margin-top: 1.2rem; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem); }
.erro-404 .lead { margin: 1.2rem auto 0; max-width: 46ch; }
.erro-404 .btn-row { justify-content: center; margin-top: 2rem; }
.erro-404 .illo { max-width: 360px; margin: 0 auto 2rem; }

/* Blocos nativos em páginas simples */
main > .wp-block-post-content > p, main > .wp-block-post-content > h2, main > .wp-block-post-content > h3, main > .wp-block-post-content > ul {
  max-width: 72ch; margin-inline: auto; padding-inline: var(--gutter);
}

/* A parte «Cabeçalho» é só um invólucro: sem ela, o cabeçalho não ficaria preso ao topo */
.sos-parte-cabecalho { display: contents; }

/* Listas próprias dos blocos */
ol.steps-list { list-style: none; padding: 0; }
.hero-grid--centro { align-items: center; }
.plans-note { margin-top: 1.5rem; font-size: var(--fs-sm); }
.tel-nota-inline { margin-left: .35rem; color: var(--ink-3); font-size: .9em; }
.sos-dados-legais > * + * { margin-top: 1.1rem; }

/* 8. MOVIMENTO -------------------------------------------------------------- */
/* Só com JS (classe «js» posta no <head>): sem JS, tudo fica visível. */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js [data-reveal].in { opacity: 1; transform: none; }
html.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
html.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
html.js [data-reveal][data-delay="3"] { transition-delay: .24s; }
html.js [data-reveal][data-delay="4"] { transition-delay: .32s; }
html.sem-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-card--badge { animation: floaty 5s var(--ease) infinite; }
.float-card--tudo { animation: floaty 6.5s var(--ease) infinite .4s; }
@keyframes menu-entra { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* 9. RESPONSIVO ------------------------------------------------------------- */
@media (max-width: 1120px) {
  .brand-tag { display: none; }
  .menu a { padding-inline: .7rem; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-inline: auto; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .illo-wrap--split { max-width: 520px; margin-inline: auto; }

  /* Menu em painel a partir daqui (5 entradas + botão não cabem numa linha) */
  html.js .menu, html.js .nav-cta .btn { display: none; }
  html.js .burger { display: grid; }
  html.js .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: .75rem var(--gutter) 1.5rem; border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
  }
  html.js body.nav-open .menu { display: flex; animation: menu-entra .3s var(--ease-out); }
  html.js .menu a { padding: .9rem .6rem; border-radius: 12px; font-size: 1.05rem; }
  html.js .menu .menu-cta { display: flex; margin-top: .75rem; }
  body.nav-open .site-header { background: var(--paper); border-bottom-color: var(--line); }

  /* Sem JS: o menu fica visível, em linha, por baixo do logótipo */
  html:not(.js) .nav { flex-wrap: wrap; }
  html:not(.js) .menu { order: 3; width: 100%; flex-wrap: wrap; }
}
.menu .menu-cta { display: none; }

@media (max-width: 720px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .form-card .grid-2 { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }

  /* Ilustração do topo sem os cartões flutuantes */
  .hero-visual { order: -1; max-width: 360px; margin: 0 auto 1rem; }
  .float-card, .illo-blob { display: none; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .brand-logo, .is-stuck .brand-logo { height: 44px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* =============================================================================
   10. VARIANTES DAS SECÇÕES (as três propostas)
   Portadas de sosnegocio-mockup/variation-1|2|3. Cada uma é uma opção de um
   bloco que já existe, para se poderem misturar numa página qualquer.
   ========================================================================== */

/* Sobre fundo escuro */
.eyebrow--light { color: var(--amber); }
.eyebrow--light::before { background: var(--amber); }
.btn--ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.42); }
.btn--ghost-light:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.logo-chip--sm { padding: .45rem .7rem; border-radius: 12px; }
.logo-chip--sm img { height: 34px; width: auto; display: block; }

/* Barra de progresso da leitura */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 300; background: linear-gradient(90deg, var(--brand), var(--amber)); transition: width .1s linear; }

/* Cabeçalho sobre um topo escuro */
.site-header--escuro .menu a { color: rgba(255,255,255,.82); }
.site-header--escuro .menu a:hover, .site-header--escuro .menu a[aria-current] { color: #fff; background: rgba(255,255,255,.12); }
.site-header--escuro .brand-tag { color: rgba(255,255,255,.7); border-left-color: rgba(255,255,255,.28); }
.site-header--escuro.is-stuck .brand-tag { color: var(--ink-3); border-left-color: var(--line-2); }
.site-header--escuro .burger { border-color: rgba(255,255,255,.3); }
.site-header--escuro .burger span, .site-header--escuro .burger span::before, .site-header--escuro .burger span::after { background: #fff; }
.site-header--escuro.is-stuck { background: rgba(246,248,251,.85); }
.site-header--escuro.is-stuck .menu a { color: var(--ink-2); }
.site-header--escuro.is-stuck .menu a:hover { color: var(--ink); background: var(--brand-tint); }
.site-header--escuro.is-stuck .burger span, .site-header--escuro.is-stuck .burger span::before, .site-header--escuro.is-stuck .burger span::after { background: var(--ink); }
body.nav-open .site-header--escuro .menu a { color: var(--ink-2); }

/* Topo escuro (palco) — o fundo sobe por trás do cabeçalho, para o menu claro
   ficar sobre o escuro (é o que o mockup mostra; com o cabeçalho na altura
   normal do documento, o menu branco caía sobre papel). */
.hero--escuro { color: #fff; background: var(--brand-ink); padding-top: clamp(5rem, 3.5rem + 5vw, 8rem); overflow: visible; }
.hero--escuro::before { content: none; }
.hero__palco { position: absolute; inset: -160px 0 0; z-index: -1; background:
  radial-gradient(70% 60% at 82% 12%, rgba(240,192,64,.20), transparent 60%),
  radial-gradient(80% 70% at 8% 0%, rgba(51,109,160,.45), transparent 60%),
  linear-gradient(180deg, #0A1E3C, #0E2A50); }
.hero--escuro h1 { color: #fff; font-size: clamp(2.9rem, 1.6rem + 5.2vw, 5.4rem); font-weight: 900; letter-spacing: -.04em; line-height: .98; }
.hero--escuro h1 em { color: var(--amber); font-weight: 600; }
.hero--escuro .lead { color: rgba(255,255,255,.82); max-width: 46ch; }
.hero--escuro .hero-note { color: rgba(255,255,255,.66); }
.hero--escuro .illo { filter: drop-shadow(0 30px 60px rgba(0,0,0,.4)); }
.hero--escuro .illo-blob { display: none; }
.art-glow { position: absolute; inset: -10% -6% -6% -6%; z-index: 1; border-radius: 50%; background: radial-gradient(circle, rgba(240,192,64,.16), transparent 62%); filter: blur(8px); }
.hero-note--simples { color: var(--ink-3); }
.hero--escuro .hero-note--simples { color: rgba(255,255,255,.66); }

/* Lista em linha no topo (números da V1, princípios da V3) */
.hero-itens { display: flex; flex-wrap: wrap; gap: 1.2rem 2.2rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line); list-style: none; }
/* Só princípios (com visto): linha simples, sem filete — como na v3. */
.hero-itens:has(.hero-item--visto) { gap: .6rem 1.4rem; margin-top: 1.6rem; padding-top: 0; border-top: 0; }
.hero--escuro .hero-itens { border-top-color: rgba(255,255,255,.14); }
.hero-item { font-size: var(--fs-sm); color: var(--ink-3); }
.hero-item strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: var(--ink); line-height: 1; margin-bottom: .2rem; }
.hero--escuro .hero-item { color: rgba(255,255,255,.7); }
.hero--escuro .hero-item strong { color: #fff; }
.hero-item--visto { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink-2); }
.hero-item--visto svg { width: 1.1rem; height: 1.1rem; color: var(--brand); flex: none; }
.hero--escuro .hero-item--visto { color: rgba(255,255,255,.85); }
.hero--escuro .hero-item--visto svg { color: var(--amber); }

/* Cartão de diagnóstico no topo */
.hero--form .hero-grid { grid-template-columns: 1.05fr .95fr; }
.lead-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); box-shadow: var(--sh-lg); }
.lead-card__tag { position: absolute; top: -.85rem; right: 1.6rem; font-family: var(--font-mono); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--amber); color: #3a2a06; padding: .4rem .8rem; border-radius: var(--r-pill); box-shadow: var(--sh-sm); }
.lead-card h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.lead-card__sub { color: var(--ink-2); font-size: var(--fs-sm); margin: .5rem 0 1.4rem; }
.lead-card__fine, .sos-form--compacto .form-nota { font-size: .76rem; color: var(--ink-3); text-align: center; margin-top: .9rem; line-height: 1.5; }
.sos-form--compacto .field { margin-bottom: .9rem; }
.sos-form--compacto .grid-2 { gap: .9rem; }

/* Captação por email numa linha */
.inline-capture { display: flex; gap: .5rem; margin-top: 2rem; max-width: 480px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-pill); padding: .4rem .4rem .4rem 1.25rem; box-shadow: var(--sh-sm); transition: border-color .2s, box-shadow .2s; }
.inline-capture:focus-within { border-color: var(--brand); box-shadow: var(--ring); }
.inline-capture input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: var(--fs-sm); color: var(--ink); }
.inline-capture input:focus { outline: none; }
.inline-capture .btn { flex: none; }
.hero--escuro .inline-capture { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); }
.hero--escuro .inline-capture input { color: #fff; }
.hero--escuro .inline-capture input::placeholder { color: rgba(255,255,255,.6); }

/* Serviços: cartões maiores em 2/3 colunas, numerados, faixa horizontal, chamada */
.grid-3 .service .ic, .grid-2 .service .ic { width: 56px; height: 56px; border-radius: 16px; }
.grid-3 .service .ic svg, .grid-2 .service .ic svg { width: 28px; height: 28px; }
.grid-3 .service h3, .grid-2 .service h3 { font-size: 1.3rem; }
/* O número do cartão: no mockup é dourado, que em texto pequeno sobre papel
   não chega ao contraste mínimo — fica na cor da marca, como os outros
   números do tema (o dourado mantém-se onde o fundo é escuro). */
.service__n { font-family: var(--font-mono); font-weight: 700; color: var(--brand-700); letter-spacing: .1em; font-size: .85rem; }
.service--chamada .service__n { color: var(--amber); }
.service--chamada { background: var(--brand-deep); color: #fff; border-color: transparent; box-shadow: var(--sh-lg); justify-content: center; }
.service--chamada h3 { color: #fff; }
.service--chamada p { color: rgba(255,255,255,.82); margin-bottom: .4rem; }
.service--chamada:hover { border-color: transparent; }
.servicos--faixa { background: var(--paper-2); overflow: clip; }
.servicos-faixa__pista { overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 1rem; }
/* O contorno fica por dentro: a secção corta o que sai para fora. */
.servicos-faixa__pista:focus-visible { outline: 2px solid var(--brand); outline-offset: -4px; }
.servicos-faixa { display: flex; gap: 1.4rem; padding-inline: var(--gutter); }
.service--faixa { flex: 0 0 clamp(255px, 28vw, 330px); scroll-snap-align: start; gap: .7rem; padding: 1.9rem 1.7rem; border-radius: var(--r-lg); }
.service--faixa h3 { font-size: 1.25rem; }

/* Faixa escura (princípios da V1) */
.section--dark { background: radial-gradient(120% 130% at 100% 0%, var(--brand-deep), var(--brand-ink)); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.78); }
.vbox { padding-top: 1.4rem; border-top: 2px solid rgba(240,192,64,.5); }
.vbox__n { font-family: var(--font-mono); font-weight: 700; color: var(--amber); font-size: .85rem; letter-spacing: .1em; }
.vbox h3 { font-size: 1.2rem; margin: .5rem 0 .4rem; }
.vbox p { color: rgba(255,255,255,.74); font-size: var(--fs-sm); }

/* Declaração (frase grande que se acende palavra a palavra) */
.declaracao { text-align: center; }
.declaracao__frase { font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; font-size: clamp(1.9rem, 1.1rem + 3.6vw, 3.6rem); max-width: 18ch; margin: 1.2rem auto 1.8rem; }
.declaracao__frase .palavra { display: inline-block; }
.declaracao__frase .palavra--destaque { color: var(--brand); font-style: italic; }
/* Acende-se pela cor, não pela opacidade: mesmo apagada a frase lê-se toda
   (a 16% de opacidade, como no mockup, o contraste ficava abaixo do mínimo). */
html.js .declaracao__frase--animar .palavra { color: var(--ink-3); transition: color .5s var(--ease-out); }
html.js .declaracao__frase--animar.acesa .palavra { color: var(--ink); }
html.js .declaracao__frase--animar.acesa .palavra--destaque { color: var(--brand); }
.declaracao .lead { margin-inline: auto; }

/* Números em faixa própria (V2) */
.stat-row--faixa .n { font-size: clamp(2.6rem, 1.9rem + 2.6vw, 3.8rem); }
.beneficio--numeros .stat-row { border-top: 0; padding-top: 0; }

/* Botão no fim dos passos */
.btn-row--passos { margin-top: 2rem; }

/* Dúvidas frequentes */
.container--estreito { max-width: 820px; }
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-xs); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chevron { width: 12px; height: 12px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .3s var(--ease); flex: none; margin-top: -4px; }
.faq-item[open] .chevron { transform: rotate(225deg); margin-top: 4px; }
.faq-item[open] summary { color: var(--brand-700); }
.faq-item p { padding: 0 1.4rem 1.3rem; color: var(--ink-2); font-size: var(--fs-sm); max-width: 62ch; }

/* Barra fixa de telemóvel */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 30px -16px rgba(21,34,58,.4); transform: translateY(110%); transition: transform .4s var(--ease); }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta span { font-weight: 700; font-size: var(--fs-sm); color: var(--ink); }
.sticky-cta .btn { padding: .7rem 1.1rem; }

@media (max-width: 980px) {
  /* Em telemóvel fica tudo numa coluna, pela ordem do mockup: primeiro o que a
     empresa faz, depois o cartão de diagnóstico. */
  .hero--form .hero-grid, .hero--escuro .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body:has(.sticky-cta) { padding-bottom: 4.5rem; }
  .lead-card__tag { right: 1rem; }
  .service--faixa { flex-basis: 78%; }
  .inline-capture { flex-direction: column; border-radius: var(--r-lg); padding: .8rem; gap: .6rem; }
  .inline-capture input { padding: .5rem .4rem; }
  .inline-capture .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .declaracao__frase--animar .palavra { color: var(--ink); }
  html.js .declaracao__frase--animar .palavra--destaque { color: var(--brand); }
  .scroll-progress { display: none; }
}

/* =============================================================================
   11. CONSENTIMENTO DE COOKIES (inc/analytics.php)
   Só existe com ferramentas ligadas em SOS Negócio → Analytics e cookies.
   Recusar e aceitar com o mesmo peso; não tapa o conteúdo nem prende o foco.
   ========================================================================== */
.btn--sm { padding: .6rem 1.1rem; font-size: var(--fs-sm); }
.consentimento {
  position: fixed; z-index: 400;
  inset-inline: max(1rem, env(safe-area-inset-left));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  max-width: 46rem; margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface); color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-lg);
  font-size: var(--fs-sm); line-height: 1.55;
}
.consentimento__texto { flex: 1 1 18rem; }
.consentimento__texto a { color: var(--brand-700); text-decoration: underline; }
.consentimento__titulo, .consentimento-escolha h2 { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); margin-bottom: .35rem; }
.consentimento__acoes { display: flex; flex-wrap: wrap; gap: .6rem; }
.consentimento-escolha {
  margin: auto; max-height: calc(100vh - 2rem); overflow: auto;
  width: min(100% - 2rem, 34rem); padding: 1.75rem;
  border: 0; border-radius: var(--r-lg);
  background: var(--surface); color: var(--ink-2); box-shadow: var(--sh-lg);
}
.consentimento-escolha::backdrop { background: rgba(10, 30, 60, .45); }
.consentimento-escolha fieldset { border: 0; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .9rem; }
.consentimento-escolha__opcao { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.consentimento-escolha__opcao input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--brand); }
.consentimento-escolha__opcao span { display: block; font-size: var(--fs-sm); }
/* Enquanto o aviso está à vista, a barra fixa de telemóvel espera (não se sobrepõem). */
body:has(.consentimento:not([hidden])) .sticky-cta { display: none; }
/* Ligação «Definições de cookies» na linha legal do rodapé (é um botão: abre a janela). */
.footer-cookies { background: none; border: 0; padding: 0; font: inherit; color: rgba(255,255,255,.66); text-decoration: underline; cursor: pointer; transition: color .2s; }
.footer-cookies:hover { color: #fff; }
/* Tabela dos cookies em uso, na política de cookies e na de privacidade. */
.tabela-cookies { overflow-x: auto; margin-block: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--r); }
.tabela-cookies:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.tabela-cookies table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.tabela-cookies th, .tabela-cookies td { padding: .65rem .85rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tabela-cookies thead th { background: var(--paper-2); color: var(--ink); font-weight: 600; white-space: nowrap; }
.tabela-cookies tbody tr:last-child > * { border-bottom: 0; }
.tabela-cookies code { font-family: var(--font-mono); font-size: .85em; white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .consentimento:not([hidden]) { animation: consentimento-entra .35s var(--ease); }
  @keyframes consentimento-entra { from { opacity: 0; transform: translateY(1rem); } }
}
@media print { .consentimento { display: none; } }

/* 12. A11Y ------------------------------------------------------------------ */
.skip {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip:focus { top: calc(var(--topo) + 1rem); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}
