/* ==========================================================================
   FLUXUS PEACOCK — design system
   bg #090909 · purple #7C3AED / #A855F7 · Inter (display+body) · JetBrains Mono (data)
   Signature element: the "linha do pavão" — a single flowing feather-curve
   that threads through the page and becomes the case-study growth line.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root{
  --bg:      #161616;
  --bg2:     #1c1c1c;
  --bg3:     #222222;
  --line:    rgba(255,255,255,.08);
  --white:   #f6f4f8;
  --g400:    #9a95a3;
  --g500:    #6b6672;
  --p:       #7c3aed;
  --p-light: #a855f7;
  --p-glow:  rgba(124,58,237,.35);
  --p-faint: rgba(124,58,237,.08);

  --display: 'Inter', -apple-system, sans-serif;
  --body:    'Inter', -apple-system, sans-serif;
  --mono:    'JetBrains Mono', monospace;

  --wrap: 1180px;
  --ease: cubic-bezier(.16,.84,.44,1);
}

body{
  background: var(--bg);
  color: var(--g400);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection{ background: var(--p); color: var(--white); }

/* ---------- type ---------- */
h1,h2,h3,h4{
  font-family: var(--display);
  color: var(--white);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
}
h1{ font-size: clamp(2rem, 3.8vw, 3.2rem); }
h2{ font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -.02em; }
h3{ font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }

p.lead{ font-size: 1.15rem; line-height: 1.75; color: var(--g400); font-weight: 400; }
p.body{ font-size: .98rem; line-height: 1.85; color: var(--g400); }
strong.w{ color: var(--white); font-weight: 600; }
em.g{
  font-style: normal;
  background: linear-gradient(100deg, var(--p-light), var(--p));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.mono{ font-family: var(--mono); letter-spacing: .02em; }

/* ---------- layout ---------- */
section{ position: relative; z-index: 1; }
.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 48px; }
.pad{ padding: 152px 0; }
.pad-sm{ padding: 96px 0; }
.cx{ text-align: center; }
.divider{ border: none; border-top: 1px solid var(--line); }

.eyebrow{
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--p-light);
  margin-bottom: 28px;
}
.eyebrow::before{ content:''; width: 22px; height: 1px; background: var(--p); opacity:.6; }

/* ---------- nav ---------- */
header.nav{
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(9,9,9,.72); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-in{
  max-width: var(--wrap); margin: 0 auto; padding: 18px 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.nav-brand img{ width: 30px; height: 30px; object-fit: contain; border-radius: 4px; }
.nav-brand span{ font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--white); letter-spacing: -.01em; }
.nav-brand span em{ font-style: normal; color: var(--p-light); }

.nav-links{ display:flex; gap: 36px; list-style:none; }
.nav-links a{
  color: var(--g400); text-decoration:none; font-size: .88rem; font-weight: 500;
  transition: color .25s var(--ease); position: relative;
}
.nav-links a:hover, .nav-links a.active{ color: var(--white); }
.nav-links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-8px; height:1px; background: var(--p-light);
}

.nav-cta{
  padding: 10px 20px; border-radius: 999px; background: var(--white); color: var(--bg);
  font-size: .84rem; font-weight: 600; text-decoration: none; transition: all .25s var(--ease);
  white-space: nowrap;
}
.nav-cta:hover{ background: var(--p-light); color: var(--white); transform: translateY(-1px); }
.nav-toggle{ display:none; background:none; border:none; color:var(--white); font-size:1.4rem; cursor:pointer; }

/* ---------- ambient / peacock line motif ---------- */
.ambient{
  position: fixed; inset: -20px; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 35% at 15% 0%, rgba(124,58,237,.06) 0%, transparent 60%),
    radial-gradient(ellipse 45% 30% at 85% 100%, rgba(168,85,247,.04) 0%, transparent 55%);
}
.peacock-thread{
  position: absolute; inset: 0; width: 100%; height: 100%;
  overflow: visible; pointer-events: none; z-index: 0;
}
.peacock-thread path{
  fill: none; stroke: url(#threadGrad); stroke-width: 1.4;
  opacity: .35; stroke-linecap: round;
}
.peacock-mark{
  position: absolute; opacity: .05; pointer-events: none; z-index: 0;
  filter: saturate(1.4);
}

/* ---------- buttons ---------- */
.btn{
  display: inline-flex; align-items:center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; transition: all .3s var(--ease), background-position .5s var(--ease);
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary{
  background: linear-gradient(120deg, var(--p), var(--p-light)); color: var(--white);
  box-shadow: 0 8px 30px var(--p-glow); background-size: 160% 160%; background-position: 0% 50%;
}
.btn-primary:hover{
  transform: translateY(-2px); box-shadow: 0 14px 44px var(--p-glow);
  background-position: 100% 50%;
}
.btn-ghost{ background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--p-light); color: var(--p-light); }
.btn:disabled{ opacity:.4; cursor:not-allowed; pointer-events:none; }
.btn-row{ display:flex; gap:18px; flex-wrap:wrap; align-items:center; }

/* ---------- noise texture (very subtle) ---------- */
body::before{
  content:''; position: fixed; inset:0; z-index: 1; pointer-events:none;
  opacity:.025; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- diagonal section divider ---------- */
.diag-divider{
  height: 90px; margin-top: -1px;
  background: var(--bg);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  position: relative; z-index: 1;
}

/* ---------- brand signature (hero) ---------- */
.brand-sig{
  margin-top: 52px; padding-top: 24px; border-top: 1px solid var(--line);
  display: inline-block; font-size: .95rem; color: var(--white); letter-spacing:.04em;
}
.brand-sig .g{ color: var(--p-light); }

/* ---------- exclusividade ---------- */
.exclu{ background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.exclu h3{ font-size: 1.6rem; }

/* ---------- hero ---------- */
.hero{ padding: 220px 0 140px; position: relative; min-height: 90vh; display:flex; align-items:center; }
.hero-single{ max-width: 880px; }
.hero h1{ margin-bottom: 28px; }
.hero p.lead{ max-width: 560px; margin-bottom: 44px; }

/* ---------- scarcity pill ---------- */
.scarcity-pill{
  display:inline-flex; align-items:center; gap: 10px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--p-faint); border: 1px solid rgba(124,58,237,.3);
  color: var(--p-light); font-size: .76rem; letter-spacing:.06em;
  margin-bottom: 30px;
}
.scarcity-pill .dot{
  width: 7px; height: 7px; border-radius: 50%; background: var(--p-light);
  box-shadow: 0 0 0 0 rgba(168,85,247,.6);
  animation: pulseDot 1.8s infinite;
}
@keyframes pulseDot{
  0%   { box-shadow: 0 0 0 0 rgba(168,85,247,.55); }
  70%  { box-shadow: 0 0 0 8px rgba(168,85,247,0); }
  100% { box-shadow: 0 0 0 0 rgba(168,85,247,0); }
}
@media (prefers-reduced-motion: reduce){ .scarcity-pill .dot{ animation:none; } }

/* ---------- sobre ---------- */
.sobre .wrap{ max-width: 760px; }
.sobre h2{ margin-bottom: 30px; }

/* ---------- segmentos ---------- */
.segmentos-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.segmento{
  padding: 36px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg2); transition: border-color .3s var(--ease);
}
.segmento:hover{ border-color: rgba(124,58,237,.35); }
.segmento h3{ margin-bottom: 14px; }
@media (max-width: 720px){ .segmentos-grid{ grid-template-columns: 1fr; } }

/* ---------- case study ---------- */
.case{ background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-head{ max-width: 640px; margin-bottom: 72px; }
.case-stats{ display:grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items:center; margin-bottom: 80px; }
.stat{ text-align:center; }
.stat .num{ font-family: var(--mono); font-size: clamp(2.4rem,5vw,4rem); font-weight: 700; color: var(--white); }
.stat .num.after{ color: var(--p-light); }
.stat .lbl{ font-size:.82rem; color: var(--g500); margin-top:10px; letter-spacing:.03em; }
.case-arrow{ color: var(--p); font-size: 1.8rem; }

.growth-chart{ position: relative; height: 260px; margin-bottom: 40px; }
.growth-chart svg{ width:100%; height:100%; overflow: visible; }
.growth-chart .gline{ fill:none; stroke: url(#growthGrad); stroke-width: 3; stroke-linecap: round; }
.growth-chart .gdot{ fill: var(--white); }
.growth-chart .glabel{ font-family: var(--mono); font-size: 13px; fill: var(--g400); }
.growth-chart .glabel.hi{ fill: var(--p-light); font-weight: 600; }

.case-name{ text-align:center; }
.case-name .biz{ color: var(--white); font-weight:600; }
.case-name .delta{ display:inline-block; margin-top: 12px; padding: 8px 18px; border-radius: 999px; background: var(--p-faint); border: 1px solid rgba(124,58,237,.3); color: var(--p-light); font-family: var(--mono); font-size: .82rem; }

/* ---------- processo ---------- */
.processo-list{ counter-reset: step; margin-top: 20px; }
.step{
  display:grid; grid-template-columns: 90px 1fr; gap: 32px;
  padding: 40px 0; border-top: 1px solid var(--line);
  position: relative;
}
.step:last-child{ border-bottom: 1px solid var(--line); }
.step-num{ font-family: var(--mono); font-size: .95rem; color: var(--p-light); padding-top: 4px; }
.step h3{ margin-bottom: 10px; }
.step p{ max-width: 520px; }
.step-connector{
  position:absolute; left: 44px; top: 100%; width:1px; height:0; background: var(--p);
  opacity:.4;
}

/* ---------- instagram ---------- */
.insta{ text-align:center; }
.insta-card{
  display:inline-flex; flex-direction:column; align-items:center; gap: 18px;
  padding: 56px 64px; border-radius: 12px; border: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 0%, var(--p-faint), transparent 70%);
}
.insta-handle{ font-family: var(--mono); font-size: 1.3rem; color: var(--white); text-decoration:none; }
.insta-handle:hover{ color: var(--p-light); }

/* ---------- faq ---------- */
.faq-list{ margin-top: 20px; }
.faq-item{ border-top: 1px solid var(--line); }
.faq-item:last-child{ border-bottom: 1px solid var(--line); }
.faq-q{
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
  padding: 28px 0; cursor: pointer; color: var(--white); font-weight: 600; font-size: 1.05rem;
}
.faq-q::after{
  content:'+'; font-family: var(--mono); font-size: 1.3rem; color: var(--p-light);
  transition: transform .3s var(--ease); flex-shrink:0;
}
.faq-item.open .faq-q::after{ transform: rotate(45deg); }
.faq-a{
  max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .4s var(--ease);
  padding: 0;
}
.faq-item.open .faq-a{ max-height: 280px; padding-bottom: 28px; }
.faq-a p{ font-size: .95rem; }

/* ---------- form ---------- */
.form-section{ background: var(--bg2); border-top: 1px solid var(--line); }
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form-copy h2{ margin-bottom: 22px; }
.form-copy .mono{ display:block; color: var(--g500); font-size: .85rem; margin-top: 30px; }

form.diag{ display:grid; gap: 18px; }
form.diag .row2{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
form.diag label{ display:block; font-size: .78rem; color: var(--g500); margin-bottom: 8px; letter-spacing:.03em; text-transform:uppercase; font-family: var(--mono); }
form.diag input, form.diag select, form.diag textarea{
  width:100%; background: var(--bg); border:1px solid var(--line); border-radius: 6px;
  padding: 14px 16px; color: var(--white); font-family: var(--body); font-size: .95rem;
  transition: border-color .25s var(--ease);
}
form.diag input:focus, form.diag select:focus, form.diag textarea:focus{
  outline:none; border-color: var(--p-light);
}
form.diag textarea{ resize: vertical; min-height: 100px; }
form.diag button{ margin-top: 8px; justify-self: start; }

/* ---------- footer ---------- */
footer{ padding: 64px 0 40px; border-top: 1px solid var(--line); }
.foot-in{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap: 40px; }
.foot-brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.foot-brand img{ width:34px; height:34px; object-fit:contain; border-radius:6px; }
.foot-brand span{ font-family: var(--display); font-weight:700; color: var(--white); font-size:1.1rem; }
.foot-links{ display:flex; gap: 36px; list-style:none; }
.foot-links a{ color: var(--g400); text-decoration:none; font-size:.9rem; transition: color .25s var(--ease); }
.foot-links a:hover{ color: var(--p-light); }
.foot-bottom{
  margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size: .8rem; color: var(--g500); font-family: var(--mono);
}

/* ==========================================================================
   MULTISTEP — diagnostico.html (formulário conversacional)
   ========================================================================== */
.ms-progress{ position: fixed; top:0; left:0; height: 3px; background: linear-gradient(90deg, var(--p), var(--p-light)); z-index: 200; transition: width .4s var(--ease); width: 20%; }
.ms-wrap{ min-height: 100vh; display:grid; grid-template-columns: 1fr 1fr; }

.ms-left{
  position: relative; background: linear-gradient(165deg, #101010, var(--bg3));
  padding: 64px 56px; display:flex; flex-direction:column; justify-content:center;
  overflow:hidden; border-right: 1px solid var(--line);
}
.ms-left .peacock-thread{ opacity:.5; }
.ms-left .peacock-mark{ width: 640px; right:-160px; bottom:-160px; top:auto; opacity:.06; }
.ms-left-in{ position:relative; z-index:1; max-width: 460px; }
.ms-left h2{ font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom:16px; }
.ms-left .lead{ margin-bottom: 40px; }

.ms-proof{ display:flex; align-items:center; gap:20px; margin-bottom: 32px; }
.ms-proof .stat{ text-align:left; }
.ms-proof .num{ font-family: var(--mono); font-size: 1.6rem; font-weight:700; color: var(--white); }
.ms-proof .num.after{ color: var(--p-light); }
.ms-proof .lbl{ font-size:.7rem; color: var(--g500); margin-top:4px; }
.ms-proof .arrow{ color: var(--p); font-size:1.2rem; }
.ms-delta-inline{ display:inline-block; margin-bottom: 36px; padding: 6px 14px; border-radius:999px; background: var(--p-faint); border:1px solid rgba(124,58,237,.3); color: var(--p-light); font-family: var(--mono); font-size:.75rem; }

.ms-quote{
  padding: 22px 24px; border-radius: 10px; border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.ms-quote p{ color: var(--g400); font-size:.95rem; line-height:1.7; }
.ms-quote .who{ margin-top:14px; font-family: var(--mono); font-size:.76rem; color: var(--p-light); }

.ms-right{ position:relative; padding: 40px 64px; display:flex; flex-direction:column; }
.ms-topbar{ display:flex; align-items:center; justify-content:space-between; margin-bottom: 40px; }
.ms-back{ background:none; border:none; color: var(--g400); font-size:1.3rem; cursor:pointer; padding:6px; line-height:1; transition: color .2s var(--ease); }
.ms-back:hover{ color: var(--white); }
.ms-back:disabled{ opacity:0; pointer-events:none; }
.ms-logo{ width:34px; height:34px; object-fit:contain; border-radius:7px; }

.ms-form{ flex:1; display:flex; flex-direction:column; justify-content:center; max-width: 520px; margin: 0 auto; width:100%; }
.ms-step{ display:none; }
.ms-step.active{ display:block; animation: msIn .5s var(--ease); }
@keyframes msIn{ from{ opacity:0; transform: translateY(14px);} to{ opacity:1; transform:translateY(0);} }

.ms-eyebrow{ font-family: var(--mono); font-size:.8rem; color: var(--g500); margin-bottom:10px; }
.ms-question{ font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight:700; color: var(--white); margin-bottom: 28px; letter-spacing:-.01em; }

.ms-input{
  width:100%; background: transparent; border:none; border-bottom: 2px solid var(--line);
  padding: 14px 4px; color: var(--white); font-family: var(--body); font-size: 1.15rem;
  transition: border-color .25s var(--ease); margin-bottom: 30px;
}
.ms-input::placeholder{ color: var(--g500); }
.ms-input:focus{ outline:none; border-color: var(--p-light); }

.ms-options{ display:grid; grid-template-columns: 1fr 1fr; gap:12px; margin-bottom: 30px; }
.ms-opt{
  padding: 16px 18px; border-radius:8px; border:1px solid var(--line); background: var(--bg2);
  color: var(--g400); font-size:.95rem; font-weight:500; cursor:pointer; text-align:left;
  transition: all .2s var(--ease);
}
.ms-opt:hover{ border-color: rgba(124,58,237,.4); color: var(--white); }
.ms-opt.selected{ border-color: var(--p-light); background: var(--p-faint); color: var(--white); }

.ms-actions{ display:flex; justify-content:flex-end; }
.ms-legal{ margin-top: 32px; font-size:.78rem; color: var(--g500); }

.ms-success{ display:none; text-align:center; }
.ms-success.active{ display:block; animation: msIn .5s var(--ease); }
.ms-success h2{ margin-bottom:14px; }

@media (max-width: 900px){
  .ms-wrap{ grid-template-columns: 1fr; }
  .ms-left{ padding: 40px 28px; border-right:none; border-bottom:1px solid var(--line); min-height:auto; }
  .ms-left-in{ max-width:none; }
  .ms-right{ padding: 32px 24px 60px; }
}
.lp-topbar{
  position: fixed; top:0; left:0; right:0; z-index: 110;
  background: linear-gradient(120deg, var(--p), var(--p-light));
  color: var(--white); text-align:center; padding: 10px 16px;
  font-family: var(--mono); font-size: .78rem; letter-spacing:.03em;
}
.lp-topbar a{ color: var(--white); text-decoration: underline; font-weight:600; }
.lp-nav{
  position: fixed; top: 38px; left:0; right:0; z-index: 100;
  background: rgba(22,22,22,.75); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.lp-nav .nav-in{ justify-content: center; gap: 14px; }
.lp-nav img{ width: 28px; height:28px; object-fit:contain; border-radius:6px; }
.lp-nav span{ font-family: var(--display); font-weight:700; color: var(--white); }
.lp-nav span em{ font-style:normal; color: var(--p-light); }

.lp-hero{ padding: 210px 0 100px; text-align:center; }
.lp-hero .wrap{ max-width: 760px; }
.lp-badge{
  display:inline-flex; align-items:center; gap:8px; margin: 0 auto 26px; width:fit-content;
  padding: 8px 16px; border-radius: 999px; background: var(--p-faint);
  border: 1px solid rgba(124,58,237,.3); color: var(--p-light);
  font-family: var(--mono); font-size: .74rem; letter-spacing:.05em;
}
.lp-hero .btn-row{ justify-content:center; }
.lp-hero .lead{ max-width: 560px; margin: 0 auto 40px; }

.lp-bars{ display:flex; align-items:flex-end; justify-content:center; gap: 56px; height: 220px; margin: 8px 0 20px; }
.lp-bar-col{ display:flex; flex-direction:column; align-items:center; gap: 14px; width: 120px; }
.lp-bar{
  width: 64px; border-radius: 8px 8px 0 0; background: var(--bg3); position:relative;
  transition: height 1.2s var(--ease);
}
.lp-bar.before{ height: 46px; background: var(--bg3); }
.lp-bar.after{ height: 0; background: linear-gradient(180deg, var(--p-light), var(--p)); }
.lp-bar.after.grown{ height: 210px; }
.lp-bar-val{ font-family: var(--mono); font-size: .85rem; color: var(--white); font-weight:600; }
.lp-bar-lbl{ font-family: var(--mono); font-size: .7rem; color: var(--g500); letter-spacing:.03em; }

.lp-funnel{ display:flex; flex-direction:column; align-items:center; gap:0; max-width: 420px; margin: 0 auto; }
.lp-funnel-step{
  width:100%; text-align:center; padding: 18px 20px; border: 1px solid var(--line);
  background: var(--bg2); color: var(--white); font-size: .92rem; font-weight:600;
  position:relative;
}
.lp-funnel-step:first-child{ border-radius: 8px 8px 0 0; }
.lp-funnel-step:last-child{ border-radius: 0 0 8px 8px; background: linear-gradient(120deg, var(--p), var(--p-light)); border-color:transparent; }
.lp-funnel-step + .lp-funnel-step{ border-top: none; }
.lp-funnel-step small{ display:block; font-family:var(--mono); font-weight:400; color: var(--g500); font-size:.72rem; margin-top:4px; }
.lp-funnel-step:last-child small{ color: rgba(255,255,255,.85); }

.lp-final{ text-align:center; padding-bottom: 40px; }
.lp-final .scarcity-pill{ margin: 0 auto 22px; }
.lp-foot{ text-align:center; padding: 40px 0; color: var(--g500); font-family: var(--mono); font-size: .8rem; }
.lp-foot a{ color: var(--g400); }

@media (max-width: 640px){
  .lp-bars{ gap: 32px; }
  .lp-hero{ padding-top: 190px; }
}
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform: translateY(0); }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ transition:none; opacity:1; transform:none; }
  .faq-a{ transition:none; }
}

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--p-light); outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 980px){
  .wrap{ padding: 0 28px; }
  .nav-in{ padding: 16px 28px; }
  .nav-links{ display:none; }
  .nav-toggle{ display:block; }
  .hero{ padding-top: 160px; }
  .case-stats{ grid-template-columns: 1fr; gap: 8px; }
  .case-arrow{ transform: rotate(90deg); margin: 8px 0; }
  .form-grid{ grid-template-columns: 1fr; gap: 40px; }
  form.diag .row2{ grid-template-columns: 1fr; }
  .pad{ padding: 100px 0; }
  .foot-links{ flex-wrap:wrap; gap: 20px; }
}
