/* CIPA360 marketing site - shared stylesheet.
   Palette: deep professional blue + safety green accent; fixed semantic
   colors, generous whitespace, system font stack. */

:root {
  /* ---- Marca: primaria (teal) -----------------------------------------
         Nomes por PAPEL, nao por matiz. A marca ja mudou de cor uma vez;
         token chamado --blue guardando teal engana quem chega depois. --- */
  --primaria:            #0E6E72;
  --primaria-escura:       #0A5457;
  --primaria-profunda:       #06292B;
  --primaria-media:        #0A3E41;
  --primaria-clara:     #16969C;
  --primaria-lavada:       #E9F3F3;
  --primaria-lavada-2:     #E0EEEE;
  --primaria-tenue:       #F2F9F9;
  --primaria-tenue-2:     #FAFCFC;
  --primaria-no-escuro:    #CDE8E7;
  --primaria-no-escuro-2:  #A5CFCD;
  --primaria-no-escuro-3:  #7FADAB;

  /* ---- Marca: acento (damasco) ----------------------------------------
         O papel e dividido: --acento e o damasco #F2A65A da marca, para
         PREENCHIMENTO; --acento-tinta e o ambar escuro, para TEXTO e traco.
         O damasco puro nao tem contraste sobre fundo claro. ------------ */
  --acento-tinta:           #8F5D1C;
  --primaria-profunda-2:      #0C5B5E;
  --primaria-profunda-3:      #0A4448;
  --acento:    #F2A65A;
  --acento-escuro:  #D98F3E;
  --acento-lavado:      #FDF3E8;
  --acento-lavado-2:    #FBEDDD;
  --acento-suave:      #F5C79A;
  --acento-brilho:      #FFC98A;
  --acento-no-escuro:   #F9CFA0;
  --acento-no-escuro-2: #F7C68E;
  --primaria-brilho:       #7FE3E8;
  --primaria-sombra:     #062326;
  --primaria-suave:       #17878C;
  --acento-tinta-2:      #8F5D1C;
  --muted-4:         #8898aa;
  --line-wash:       #e6edf5;

  /* ---- Neutros -------------------------------------------------------- */
  --white:           #ffffff;
  --ink:             #0A2E30;
  --ink-deep:        #03101f;
  --muted:           #57687a;
  --muted-2:         #5b6b82;
  --muted-3:         #94a3b4;
  --line:            #dde5ee;
  --line-2:          #e3e9f0;
  --line-strong:     #cdd9e6;
  --line-field:      #c6d0dc;
  --bg:              var(--white);
  --bg-soft:         #f5f8fb;
  /* Texto/icone sobre preenchimento de marca. Hoje e branco como --bg, mas
     sao papeis diferentes: uma paleta de fundo creme move --bg e nao este. */
  --on-brand:        var(--white);

  /* ---- Categorias de icone (semanticas, NAO seguem a marca) ------------ */
  --hue-blue:        #1d4e89;
  --hue-blue-wash:   #e8f1fb;
  --hue-green:       #178a4c;
  --hue-green-wash:  #e7f6ec;
  --hue-amber:       #b26a00;
  --hue-amber-wash:  #fdf2df;
  --hue-violet:      #5b3fa8;
  --hue-violet-wash: #f0ecfb;
  --hue-teal:        #0b6e72;
  --hue-teal-wash:   #e2f6f5;
  --hue-rose:        #b4234a;
  --hue-rose-wash:   #fdeaee;

  /* ---- Marca de terceiro: NAO acompanha o rebranding ------------------- */
  --whatsapp:        #25d366;
  --whatsapp-hover:  #1fb457;

  --radius: 12px;
  --shadow: 0 8px 28px color-mix(in srgb, var(--primaria-escura) 10%, transparent);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--white) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; gap: 28px;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
}
.brand svg { display: block; }
.brand .num { color: var(--primaria); }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  text-decoration: none; color: var(--muted);
  font-size: 14.5px; font-weight: 600;
}
.site-nav a:hover, .site-nav a.active { color: var(--primaria); }
.header-cta {
  display: inline-block; background: var(--primaria); color: var(--on-brand);
  text-decoration: none; font-weight: 700; font-size: 14.5px;
  padding: 9px 18px; border-radius: 8px; white-space: nowrap;
}
.header-cta:hover { background: var(--primaria-escura); }

/* Menu de celular. Abaixo de 860px a navegação some da barra e passa a
   abrir num painel, senão o site fica sem navegação nenhuma no telefone. */
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .site-header .container { position: relative; }
  .site-nav { display: none; }
  /* flex: none é essencial: sem ele o botão encolhe quando a barra aperta,
     e vira um traço de 22px que parece defeito de renderização. */
  .nav-toggle { display: flex; flex: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 10px; margin-left: auto;
    background: var(--bg); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--primaria); }
  .nav-toggle[aria-expanded="true"] { background: var(--primaria); border-color: var(--primaria); }
  .nav-toggle[aria-expanded="true"] span { background: var(--bg); }
  .site-nav.aberto { display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
    background: var(--bg); border-top: 1px solid var(--line);
    box-shadow: 0 18px 34px color-mix(in srgb, var(--ink-deep) 14%, transparent); padding: 6px 0; }
  .site-nav.aberto a { padding: 14px 20px; font-size: 16px; }
  .site-nav.aberto a + a { border-top: 1px solid var(--line); }
}

/* O "Pedir demonstração" da barra tem 168px e, somado à marca e ao botão de
   menu, estoura a largura do telefone: a página passa a rolar de lado e o
   botão de menu encolhe. Abaixo de 600px ele sai da barra e entra no painel,
   onde cabe inteiro. */
.nav-cta { display: none; }
@media (max-width: 600px) {
  .header-cta { display: none; }
  .site-nav.aberto .nav-cta { display: block; color: var(--primaria); font-weight: 800; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 420px at 85% -60px, var(--primaria-lavada), transparent),
    linear-gradient(180deg, var(--primaria-tenue-2), var(--bg));
  padding: 76px 0 64px;
}
.hero-kicker {
  display: inline-block; background: var(--ok-wash); color: var(--ok);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 46px); line-height: 1.15;
  letter-spacing: -0.03em; max-width: 720px;
}
.hero h1 em { font-style: normal; color: var(--primaria); }
.hero p.lead {
  margin-top: 18px; font-size: 18.5px; color: var(--muted); max-width: 640px;
}
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 26px; border-radius: 9px; font-size: 16px;
}
.btn-primary { background: var(--primaria); color: var(--on-brand); }
.btn-primary:hover { background: var(--primaria-escura); }
.btn-ghost {
  color: var(--primaria); border: 1.5px solid var(--primaria);
  background: transparent;
}
.btn-ghost:hover { background: var(--primaria-lavada); }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.hero-tool { margin-top: 18px; font-size: 15px; font-weight: 600; }
.hero-tool a { color: var(--primary); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.hero-tool a:hover { opacity: .8; }

/* ---------- Sections ---------- */
section.block { padding: 64px 0; }
section.block.soft { background: var(--bg-soft); }
.block h2 {
  font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.02em;
  max-width: 680px;
}
.block .sub { margin-top: 10px; color: var(--muted); max-width: 640px; }

/* Cards grid */
.grid { display: grid; gap: 20px; margin-top: 36px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.card .icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--primaria-lavada); color: var(--primaria);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.card h3 { font-size: 17.5px; margin-bottom: 6px; letter-spacing: -0.01em; }
.card p { font-size: 14.5px; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 0; margin-top: 36px; }
.step {
  display: flex; gap: 20px; padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
/* Imagem dentro do passo é irmã do número (44px + 20px de gap): sem
   min-width: 0 ela não encolhe, porque elemento substituído tem largura
   mínima intrínseca, e escapa para fora da tela no celular. */
.step > img { min-width: 0; max-width: 100%; }
.step-num {
  counter-increment: step; flex: 0 0 44px; height: 44px;
  border-radius: 50%; background: var(--primaria); color: var(--on-brand);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14.5px; max-width: 640px; }

/* Compliance list */
.check-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.check-list li {
  padding-left: 32px; position: relative; font-size: 15.5px;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ok-wash); color: var(--ok);
  font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.check-list li strong { font-weight: 700; }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--primaria-escura), var(--primaria));
  color: var(--on-brand); border-radius: 16px; padding: 44px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.cta-band h2 { color: var(--on-brand); font-size: clamp(22px, 3vw, 28px); }
.cta-band p { color: color-mix(in srgb, var(--white) 85%, transparent); margin-top: 6px; max-width: 520px; }
.cta-band .btn-primary { background: var(--bg); color: var(--primaria-escura); }
.cta-band .btn-primary:hover { background: var(--primaria-lavada); }

/* Prose pages (guides, legal) */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -0.02em; margin-bottom: 8px; }
.prose .updated { color: var(--muted); font-size: 13.5px; margin-bottom: 28px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.prose h3 { font-size: 17.5px; margin: 24px 0 6px; }
.prose p { margin: 10px 0; }
.prose ul, .prose ol { margin: 10px 0 10px 24px; }
.prose li { margin: 5px 0; }
.prose .note {
  background: var(--primaria-lavada); border-left: 4px solid var(--primaria);
  border-radius: 0 8px 8px 0; padding: 14px 18px; margin: 18px 0;
  font-size: 14.5px;
}
.prose table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose th { background: var(--bg-soft); }
.prose a { color: var(--primaria); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  margin-top: 64px; padding: 44px 0 36px;
  font-size: 14px; color: var(--muted);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--ink); font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 10px;
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--primaria); }
.site-footer ul { list-style: none; }
.site-footer li { margin: 6px 0; }
.footer-legal {
  margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 12.5px; line-height: 1.7;
}

/* ---------- Product imagery ---------- */
.shot { width: 100%; height: auto; display: block; }
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 36px; align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.tour-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; margin-top: 46px;
}
.tour-row .tour-copy h3 { font-size: 21px; letter-spacing: -0.01em; margin-bottom: 8px; }
.tour-row .tour-copy p { color: var(--muted); font-size: 15.5px; }
.tour-row.flip .tour-media { order: 2; }
@media (max-width: 900px) {
  .tour-row { grid-template-columns: 1fr; gap: 18px; }
  .tour-row.flip .tour-media { order: 0; }
}
.timeline-figure { margin: 36px 0 8px; }
.timeline-figure img { width: 100%; height: auto; display: block; }
.figure-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* ================= Dynamic layer: color, motion, graphics ================= */

/* ---------- Dark gradient hero ---------- */
.hero-dark {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 12% -10%, color-mix(in srgb, var(--primaria-brilho) 22%, transparent), transparent 60%),
    radial-gradient(1100px 560px at 95% 10%, color-mix(in srgb, var(--primaria-clara) 45%, transparent), transparent 60%),
    linear-gradient(150deg, var(--primaria-profunda) 0%, var(--primaria-media) 55%, var(--primaria-profunda-3) 100%);
  padding: 84px 0 76px;
}
.hero-dark::before, .hero-dark::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.5; pointer-events: none;
  animation: blob-drift 16s ease-in-out infinite alternate;
}
.hero-dark::before {
  width: 420px; height: 420px; left: -140px; bottom: -180px;
  background: var(--acento);
}
.hero-dark::after {
  width: 520px; height: 520px; right: -160px; top: -220px;
  background: var(--primaria-clara); animation-delay: -8s;
}
@keyframes blob-drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(60px, -40px, 0) scale(1.15); }
}
.hero-dark .container { position: relative; z-index: 1; }
.hero-dark h1 { color: var(--primaria-tenue); }
.hero-dark h1 em {
  color: transparent;
  background: linear-gradient(90deg, var(--acento-brilho), var(--primaria-brilho));
  -webkit-background-clip: text; background-clip: text;
}
.hero-dark p.lead { color: var(--primaria-no-escuro-2); }
.hero-dark .hero-note { color: var(--primaria-no-escuro-3); }
.hero-dark .hero-note a { color: var(--acento-suave); }
.hero-dark .hero-tool a { color: var(--acento-no-escuro); }
.hero-dark .hero-kicker {
  background: color-mix(in srgb, var(--acento) 16%, transparent); color: var(--acento-no-escuro-2);
  border: 1px solid color-mix(in srgb, var(--acento-no-escuro-2) 35%, transparent);
}
.hero-dark .btn-primary {
  background: linear-gradient(120deg, var(--acento), var(--acento-escuro));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--acento-escuro) 40%, transparent);
}
.hero-dark .btn-primary:hover { filter: brightness(1.08); }
.hero-dark .btn-ghost {
  color: var(--primaria-no-escuro); border-color: color-mix(in srgb, var(--primaria-no-escuro) 45%, transparent);
}
.hero-dark .btn-ghost:hover { background: color-mix(in srgb, var(--primaria-no-escuro) 8%, transparent); }

/* hero screenshot: glow + gentle float + floating badge */
.hero-media { position: relative; }
.hero-media .shot {
  filter: drop-shadow(0 30px 60px color-mix(in srgb, var(--ink-deep) 55%, transparent));
  animation: float-y 7s ease-in-out infinite;
}
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.float-badge {
  position: absolute; left: 2%; bottom: 30px;
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border-radius: 14px;
  box-shadow: 0 18px 44px color-mix(in srgb, var(--ink-deep) 45%, transparent);
  padding: 12px 18px 12px 12px;
  animation: float-y 7s ease-in-out infinite; animation-delay: -3.5s;
}
.float-badge .fb-title { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.float-badge .fb-value { font-size: 17px; font-weight: 800; color: var(--ink); }
.float-badge svg { display: block; }
.float-badge .donut-arc {
  stroke: var(--acento);
  stroke-dasharray: 113;             /* 2*pi*18 */
  stroke-dashoffset: 45.2;           /* 60% shown */
  animation: donut-fill 1.6s ease-out 0.4s backwards;
}
@keyframes donut-fill { from { stroke-dashoffset: 113; } }
.float-badge.fb-docusign img { display: block; height: 22px; width: auto; }
.float-badge.fb-docusign .fb-value { font-size: 14px; }
.float-badge.fb-right { left: auto; right: 2%; bottom: auto; top: 22px; animation-delay: -1.8s; }
@media (max-width: 960px) { .float-badge { display: none; } }

/* Faixa Docusign logo abaixo da hero (movida do bloco de garantias) */
.strip-hero-wrap { padding: 34px 0 6px; }
.strip-hero-wrap .integration-strip { margin-top: 0; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
  border-bottom: 1px solid var(--line);
}
.stats-strip .container {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 18px; padding-top: 34px; padding-bottom: 34px;
}
@media (max-width: 860px) { .stats-strip .container { grid-template-columns: repeat(2, 1fr); } }
.stat .stat-num {
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--primaria), var(--acento-tinta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .stat-label { font-size: 13.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Colored icon tiles ---------- */
.card .icon { transition: transform 0.25s ease; }
.card:hover .icon { transform: scale(1.12) rotate(-4deg); }
.icon.hue-blue   { background: var(--hue-blue-wash); color: var(--hue-blue); }
.icon.hue-teal   { background: var(--hue-teal-wash); color: var(--hue-teal); }
.icon.hue-green  { background: var(--hue-green-wash); color: var(--hue-green); }
.icon.hue-amber  { background: var(--hue-amber-wash); color: var(--hue-amber); }
.icon.hue-violet { background: var(--hue-violet-wash); color: var(--hue-violet); }
.icon.hue-rose   { background: var(--hue-rose-wash); color: var(--hue-rose); }

/* ---------- Motion: hover lift + scroll reveal ---------- */
.card, .tour-media .shot { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.tour-media:hover .shot { transform: translateY(-6px) scale(1.012); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }
.grid > .reveal:nth-child(2), .stats-strip .reveal:nth-child(2) { transition-delay: 0.1s; }
.grid > .reveal:nth-child(3), .stats-strip .reveal:nth-child(3) { transition-delay: 0.2s; }
.grid > .reveal:nth-child(4), .stats-strip .reveal:nth-child(4) { transition-delay: 0.3s; }
.grid > .reveal:nth-child(5) { transition-delay: 0.4s; }
.grid > .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ---------- Section eyebrows ---------- */
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase;
  margin-bottom: 12px; padding: 4px 12px; border-radius: 999px;
}
.eyebrow.e-blue  { background: var(--hue-blue-wash); color: var(--hue-blue); }
.eyebrow.e-green { background: var(--hue-green-wash); color: var(--hue-green); }
.eyebrow.e-amber { background: var(--hue-amber-wash); color: var(--hue-amber); }
.eyebrow.e-violet{ background: var(--hue-violet-wash); color: var(--hue-violet); }

/* ---------- Animated CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--primaria-escura), var(--primaria), var(--primaria-profunda-2), var(--primaria-escura));
  background-size: 300% 300%;
  animation: band-shift 14s ease infinite;
}
@keyframes band-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.cta-band::after {
  content: ""; position: absolute; width: 380px; height: 380px;
  right: -120px; top: -160px; border-radius: 50%;
  background: color-mix(in srgb, var(--acento-brilho) 18%, transparent); filter: blur(50px);
  /* decorativo: nunca pode capturar cliques (cobre o botao da direita) */
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Timeline draw-in ---------- */
.timeline-figure svg .trail-fill {
  transform-origin: 60px 130px; transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.timeline-figure.in svg .trail-fill { transform: scaleX(1); }
.timeline-figure svg .tl-dot { opacity: 0; transition: opacity 0.4s ease; }
.timeline-figure.in svg .tl-dot { opacity: 1; }
.timeline-figure.in svg .tl-dot:nth-of-type(2) { transition-delay: 0.2s; }
.timeline-figure.in svg .tl-dot:nth-of-type(3) { transition-delay: 0.4s; }
.timeline-figure.in svg .tl-dot:nth-of-type(4) { transition-delay: 0.6s; }
.timeline-figure.in svg .tl-dot:nth-of-type(5) { transition-delay: 0.8s; }
.timeline-figure.in svg .tl-dot:nth-of-type(6) { transition-delay: 1.0s; }
.timeline-figure.in svg .tl-dot:nth-of-type(7) { transition-delay: 1.2s; }
.pulse-dot { animation: pulse-ring 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulse-ring {
  0%   { opacity: 0.55; transform: scale(1); }
  70%  { opacity: 0;    transform: scale(2.1); }
  100% { opacity: 0;    transform: scale(2.1); }
}

/* ---------- Reduced motion: kill it all ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-dark::before, .hero-dark::after, .hero-media .shot, .float-badge,
  .cta-band, .float-badge .donut-arc, .pulse-dot { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .timeline-figure svg .trail-fill { transform: scaleX(1); transition: none; }
  .timeline-figure svg .tl-dot { opacity: 1; transition: none; }
  .card, .card:hover, .tour-media .shot { transition: none; transform: none; }
}

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed; left: 18px; bottom: 18px; z-index: 90;
  max-width: 420px; background: var(--bg);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 50px color-mix(in srgb, var(--primaria-sombra) 22%, transparent);
  padding: 16px 18px; font-size: 13.5px; line-height: 1.55; color: var(--ink);
  transform: translateY(16px); opacity: 0;
  animation: cookie-in 0.5s ease 0.6s forwards;
}
@keyframes cookie-in { to { transform: none; opacity: 1; } }
.cookie-notice a { color: var(--primaria); }
.cookie-notice .cookie-actions { margin-top: 10px; }
.cookie-notice button {
  background: var(--primaria); color: var(--on-brand); border: none; cursor: pointer;
  font-weight: 700; font-size: 13.5px; padding: 8px 18px; border-radius: 8px;
  font-family: inherit;
}
.cookie-notice button:hover { background: var(--primaria-escura); }
@media (max-width: 520px) { .cookie-notice { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-notice { animation: none; transform: none; opacity: 1; } }

/* ---------- Docusign integration strip ---------- */
.integration-strip {
  display: flex; align-items: center; gap: 26px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 30px; margin-top: 46px; flex-wrap: wrap;
}
.integration-strip .ds-logo { height: 30px; width: auto; flex: 0 0 auto; }
.integration-strip .int-copy { flex: 1; min-width: 280px; }
.integration-strip .int-copy h3 { font-size: 17.5px; margin-bottom: 4px; }
.integration-strip .int-copy p { font-size: 14.5px; color: var(--muted); margin: 0; }
.integration-strip .int-tm { flex-basis: 100%; font-size: 11.5px; color: var(--muted-3); margin-top: 2px; }

/* ---------- Guarantee band (Bloco 2) ---------- */
.assure-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
@media (max-width: 900px) { .assure-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .assure-grid { grid-template-columns: 1fr; } }
.assure {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; border-top: 3px solid var(--acento);
}
.assure h3 { font-size: 16px; letter-spacing: -0.01em; margin-bottom: 4px; }
.assure p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- FAQ (Bloco 4) ---------- */
.faq-list { margin-top: 26px; max-width: 780px; display: grid; gap: 10px; }
.faq-item {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 0 18px;
}
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 15.5px;
  padding: 14px 0; list-style: none; position: relative; padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%;
  transform: translateY(-50%); color: var(--primaria);
  font-size: 20px; font-weight: 700; transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }

/* WhatsApp CTA */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--whatsapp); color: var(--on-brand);
}
.btn-whatsapp:hover { background: var(--whatsapp-hover); }

/* ---- Utility classes migrated from inline style="" (CSP: drop
   'unsafe-inline' from style-src on the marketing site). ---- */
.sty-0880fec8 { padding-top: 48px; }
.sty-1e53fd2e { margin-top: 14px; font-size: 13.5px; }
.sty-3875a039 { border-bottom: none; padding-bottom: 8px; }
.sty-395304d6 { max-width: 460px; margin-top: 14px; }
.sty-44b73de6 { flex: 1; min-width: 280px; }
.sty-5fa6d763 { max-width: 640px; }
.sty-6a6b3751 { font-size: 13.5px; color: var(--muted); margin-top: 28px; }
.sty-6d609662 { color: var(--primaria); font-weight: 600; }
.sty-80963aa4 { margin-top: 56px; }
.sty-8b875dd0 { padding-top: 16px; }
.sty-9ec0c16f { font-size: clamp(20px, 2.6vw, 26px); }
.sty-a655304b { flex: 0 0 44px; }
.sty-a9715332 { color: var(--acento-suave); }
.sty-b5bd942b { margin-top: 40px; }
.sty-b5e04d6d { padding: 56px 0 40px; }
.sty-b96f5331 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; }
.sty-c06a247c { max-width: 760px; }
.sty-c450fc3d { padding-top: 24px; }
.sty-ced0681e { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sty-e5a6d3c3 { margin-top: 10px; }
.sty-ec0f7ffa { margin-top: 0; }
.sty-f70d8a52 { height: 34px; width: auto; }
.sty-fa63f933 { margin-top: 12px; max-width: 320px; }

/* Floating WhatsApp CTA (bottom-right; cookie notice is bottom-left).
   Class-based + inline SVG so it stays CSP-clean (no inline style). */
.wa-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 95;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--whatsapp); color: var(--on-brand);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--whatsapp) 45%, transparent), 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.wa-float:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--whatsapp) 55%, transparent), 0 2px 6px rgba(0, 0, 0, 0.2);
}
.wa-float:focus-visible { outline: 3px solid var(--bg); outline-offset: 3px; }
.wa-float svg { width: 32px; height: 32px; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .wa-float::after {
    content: ""; position: absolute; inset: 0; border-radius: 50%;
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--whatsapp) 50%, transparent);
    animation: wa-pulse 2.6s ease-out infinite;
  }
  @keyframes wa-pulse { to { box-shadow: 0 0 0 18px color-mix(in srgb, var(--whatsapp) 0%, transparent); } }
}
@media (max-width: 520px) {
  .wa-float { width: 52px; height: 52px; }
  .wa-float svg { width: 28px; height: 28px; }
}


/* Verificador de documento. O CSP do site estatico proibe estilo inline
   (style-src 'self'), entao estas regras precisam viver aqui. */
.vf-card { max-width: 720px; margin-top: 18px; padding: 26px 28px; }
.vf-label { font-weight: 700; display: block; margin-bottom: 6px; }
.vf-linha { display: flex; gap: 10px; flex-wrap: wrap; }
.vf-code { flex: 1; min-width: 220px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 18px; letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 14px; border: 1px solid var(--line-field); border-radius: 10px; }
.vf-res { margin-top: 18px; }
.vf-filewrap { margin-top: 18px; border-top: 1px solid var(--line-2); padding-top: 16px; }
.vf-hint { font-size: 14px; color: var(--muted-2); margin: 0 0 10px; }
.vf-fileres { margin-top: 12px; }
.vf-prose { margin-top: 26px; }

/* Telas estreitas (320px ainda é comum em Android de entrada e no iPhone SE).
   Dois blocos da home reservavam 280px de largura mínima dentro de caixas com
   30 a 40px de recheio de cada lado, o que não cabe e fazia a página rolar de
   lado. */
@media (max-width: 560px) {
  .integration-strip { padding: 20px 16px; gap: 16px; }
  .integration-strip .int-copy { min-width: 0; }
  .cta-band { padding: 28px 20px; gap: 18px; }
  .sty-44b73de6 { min-width: 0; }
}

/* ---------- Cor dentro de SVG embutido ----------
   Atributo de apresentacao (fill="...", stroke="...", stop-color="...") nao
   aceita var() de forma confiavel fora do Chromium, entao a cor do diagrama
   da linha do tempo (inline em guia-nr5.html e como-funciona.html, o mesmo
   SVG nos dois) e do donut do index vem por classe. */
.tl-ink          { fill: var(--ink); }
.tl-muted        { fill: var(--muted); }
.tl-grey         { fill: var(--muted-4); }
.tl-on           { fill: var(--on-brand); }
.tl-blue         { fill: var(--primaria); }
.tl-blue-2       { fill: var(--primaria-suave); }
.tl-green        { fill: var(--acento-tinta); }
.tl-green-2      { fill: var(--acento-tinta-2); }
.tl-stroke-green { stroke: var(--acento-tinta); }
.tl-stop-blue    { stop-color: var(--primaria); }
.tl-stop-green   { stop-color: var(--acento-tinta); }
.donut-track     { stroke: var(--line-wash); }
