:root {
  --navy: #0A0F1A;
  --navy-2: #111a2c;
  --navy-3: #1a2540;
  --gold: #C9A24A;
  --gold-dark: #8a6a22;
  --gold-soft: rgba(201, 162, 74, .14);
  --silver: #B8BCC4;
  --white: #FFFFFF;
  --gray: #F5F6F8;
  --ink: #1b2233;
  --muted: #4c5568;
  --line: #e1e4ea;
  --danger: #b3261e;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(10, 15, 26, .05), 0 8px 24px rgba(10, 15, 26, .06);
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --header-h: 89px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gold { color: var(--gold); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
main:focus, [tabindex="-1"]:focus { outline: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn .icon { width: 20px; height: 20px; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.btn:hover .icon { transform: translate(2px, -2px); }
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-20deg); transition: left .8s cubic-bezier(.2, .7, .2, 1); }
.btn-gold:hover::after { left: 130%; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8b45f; }
.btn-gold:active { transform: translateY(1px); }
.btn-outline-light { color: var(--white); border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .875rem; }
.btn-lg { min-height: 54px; padding: .9em 1.7em; font-size: 1rem; }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn.is-pending { opacity: .5; cursor: not-allowed; pointer-events: none; }
.pending-note { display: block; margin-top: .45rem; font-size: .8rem; color: var(--silver); font-style: italic; }
[data-compact] .pending-note, .footer-social .pending-note { display: inline; margin: 0; }
.btn-row .pending-note { flex-basis: 100%; margin-top: -.25rem; }

/* ---------- Header ---------- */
.site-header {
  transition: box-shadow .4s ease;
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(201, 162, 74, .25);
  color: var(--white);
}
.header-bar { display: flex; align-items: center; gap: 28px; min-height: 88px; max-width: 1520px; transition: min-height .4s cubic-bezier(.2, .7, .2, 1); }
.site-header.is-scrolled { box-shadow: 0 12px 32px rgba(0, 0, 0, .35); }
@media (min-width: 1280px) { .site-header.is-scrolled .header-bar { min-height: 72px; } }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); flex-shrink: 0; }
.brand img { width: 44px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-head); }
.brand-small { font-size: .6rem; letter-spacing: .5em; color: var(--gold); font-weight: 600; margin-bottom: 3px; }
.brand-big { font-size: 1.15rem; letter-spacing: .2em; font-weight: 600; color: #dfe2e7; }

.primary-tabs { display: flex; gap: 10px; }
.tab {
  font-family: var(--font-head); font-size: .9rem; font-weight: 600;
  padding: .6em 1.15em; border-radius: 6px; text-decoration: none; white-space: nowrap;
  color: var(--silver); border: 1px solid rgba(255, 255, 255, .22);
  transition: color .2s, border-color .2s, background-color .2s;
}
.tab:hover { color: var(--white); border-color: rgba(255, 255, 255, .5); }
.tab[aria-current="page"] { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, .06); }

.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius-sm); background: transparent; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--white); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.section-nav ul { display: flex; gap: 6px clamp(18px, 2.4vw, 40px); list-style: none; align-items: center; overflow-x: auto; scrollbar-width: none; }
.section-nav a { font-size: .95rem; color: #d5d8de; text-decoration: none; white-space: nowrap; padding: 8px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.section-nav a:hover { color: var(--white); }
.section-nav a.is-active { color: var(--white); border-bottom-color: var(--gold); }
body[data-current-view="diagnostic"] .section-nav a.is-active { color: var(--silver); border-bottom-color: transparent; }

.mobile-menu { border-top: 1px solid rgba(255, 255, 255, .08); padding: 12px 0 20px; max-height: calc(100vh - 68px); overflow-y: auto; }
.mobile-menu ul { list-style: none; }
.mobile-menu-label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 12px 0 6px; font-weight: 600; }
.mobile-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-tabs .tab { display: block; text-align: center; border: 1px solid rgba(255, 255, 255, .15); padding: .7em; }
.mobile-sections a { display: block; padding: 11px 0; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .07); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-dark { background: var(--navy); color: #e7e9ee; }
.section-dark .section-title, .section-dark h1, .section-dark h3 { color: var(--white); }
.section-light { background: var(--white); }
.section-gray { background: var(--gray); }
.section-title { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; max-width: 20ch; margin-bottom: clamp(32px, 4vw, 48px); }
.section-intro { font-size: 1.125rem; max-width: 62ch; color: var(--muted); margin-bottom: 2.5rem; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .section-title, .section-head .section-intro { margin: 0; }
.section-head .section-intro { padding-bottom: .4em; }
.section-dark .section-intro { color: var(--silver); }
.eyebrow { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d5d8de; max-width: 58ch; }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .4s cubic-bezier(.2, .7, .2, 1), transform .4s cubic-bezier(.2, .7, .2, 1); }
.card h3 { font-size: 1.1rem; font-weight: 700; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card-dark { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); box-shadow: none; }
.card-dark p { color: var(--silver); }
.card:hover { border-color: rgba(201, 162, 74, .55); transform: translateY(-4px); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0 clamp(96px, 10vw, 150px); }
/* --hero-photo takes a background photo, e.g. url("../img/hero-bg.jpg"); the overlays keep the text readable */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 38% 55% at 76% 46%, rgba(201, 162, 74, .2), transparent 70%),
    linear-gradient(90deg, rgba(10, 15, 26, .97) 0%, rgba(10, 15, 26, .82) 50%, rgba(10, 15, 26, .6) 100%),
    var(--hero-photo, linear-gradient(180deg, #0c1324 0%, var(--navy) 100%)) center / cover no-repeat;
}
.hero-arc { position: absolute; height: auto; }
.hero-arc-tr { top: 0; right: 0; width: clamp(120px, 14vw, 240px); }
.hero-arc-bl { bottom: 0; left: 0; width: clamp(150px, 17vw, 300px); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 4vw, 72px); align-items: center; max-width: 1520px; }
.hero-copy { min-width: 0; }
.hero-media { margin: 0; justify-self: center; width: 100%; max-width: 580px; transform: translate3d(calc(var(--px, 0) * 16px), calc(var(--py, 0) * 16px), 0); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.hero-media img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .5)); animation: float 7s ease-in-out infinite; }
.hero-arc path { stroke-dasharray: 600; animation: arc-draw 1.8s cubic-bezier(.65, 0, .35, 1) .3s both; }
html:not(.no-intro):not(.intro-done) #inicio .hero-arc path { animation-delay: 1.6s; }
.hero .eyebrow { font-size: clamp(.78rem, 1vw, .95rem); letter-spacing: .2em; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 4.5rem); font-weight: 700; text-wrap: wrap; line-height: 1.05; margin-bottom: 1.6rem; }
.hero h1 .line { display: block; }
.hero .lead { font-size: clamp(1.08rem, 1.5vw, 1.35rem); max-width: 46ch; }
.hero .btn-row { margin-top: 2.5rem; gap: 20px; }
.hero .btn-lg { min-height: 64px; padding: 0 1.9em; font-size: 1.05rem; }
.hero .btn .icon { width: 22px; height: 22px; }
.hero .btn-outline-light { border-color: rgba(255, 255, 255, .6); }

.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--gold); text-decoration: none; }
.scroll-mouse { position: relative; width: 24px; height: 38px; border: 2px solid currentColor; border-radius: 12px; }
.scroll-mouse::before { content: ""; position: absolute; left: 50%; top: 7px; width: 2px; height: 7px; margin-left: -1px; border-radius: 2px; background: currentColor; animation: scroll-dot 1.8s ease-in-out infinite; }
.scroll-cue svg { width: 18px; height: 18px; }
.scroll-cue::after { content: ""; width: 1px; height: 26px; background: linear-gradient(currentColor, transparent); }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.25rem; }

/* ---------- Opening screen: wipe reveal, curtain, zoom settle ---------- */
.intro { position: fixed; inset: 0; z-index: 200; cursor: pointer; animation: intro-gone 0s linear 2.2s forwards; }
.intro-panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--navy); }
.intro-top { top: 0; animation: curtain-up .8s cubic-bezier(.7, 0, .2, 1) 1.35s forwards; }
.intro-bottom { bottom: 0; animation: curtain-down .8s cubic-bezier(.7, 0, .2, 1) 1.35s forwards; }
.intro-seam { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 20%, #EDCD7E 50%, var(--gold) 80%, transparent); box-shadow: 0 0 12px rgba(201, 162, 74, .6); transform: scaleX(0); animation: seam-grow .45s ease-out .95s forwards, fade-out .3s ease-in 1.4s forwards; }
.intro-mark { position: absolute; inset: 0; display: grid; place-items: center; animation: mark-out .4s ease-in 1.15s forwards; }
.intro-logo { position: relative; width: min(340px, 62vw); }
.intro-logo img { display: block; width: 100%; height: auto; clip-path: inset(0 100% 0 0); animation: wipe .85s cubic-bezier(.65, 0, .35, 1) .1s forwards; }
.intro-wipe { position: absolute; top: -4%; bottom: -4%; left: 0; width: 2px; background: linear-gradient(transparent, #EDCD7E, transparent); box-shadow: 0 0 14px rgba(201, 162, 74, .8); opacity: 0; animation: wipe-bar .85s cubic-bezier(.65, 0, .35, 1) .1s forwards; }
html:not(.no-intro):not(.intro-done) #inicio .hero-bg { animation: zoom-settle 1.3s cubic-bezier(.2, .7, .2, 1) 1.35s both; }
html:not(.no-intro):not(.intro-done) #inicio .hero-inner { animation: zoom-settle-soft 1.1s cubic-bezier(.2, .7, .2, 1) 1.35s both; }
.no-intro .intro, .intro-done .intro { display: none; }
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes wipe-bar { 0% { left: 0; opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes seam-grow { to { transform: scaleX(1); } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes mark-out { to { opacity: 0; transform: scale(.96); } }
@keyframes curtain-up { to { transform: translateY(-100%); } }
@keyframes curtain-down { to { transform: translateY(100%); } }
@keyframes zoom-settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes zoom-settle-soft { from { transform: scale(1.06); opacity: .4; } to { transform: scale(1); opacity: 1; } }
@keyframes intro-gone { to { visibility: hidden; pointer-events: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes arc-draw { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(.82); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Page entrance after switching tabs (children carry --i) ---------- */
.is-entering .hero-copy > *, .is-entering .hero-media, .is-entering .form-hero-copy > *, .is-entering .form-hero-steps li { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }

/* ---------- Tab switch curtain ---------- */
.route-wipe { position: fixed; inset: 0; z-index: 150; pointer-events: none; visibility: hidden; }
.route-wipe span { position: absolute; inset: 0; background: var(--navy) url("../img/logo-simbolo.png") center / 72px no-repeat; transform: translateX(101%); }
.route-wipe span::before, .route-wipe span::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; background: linear-gradient(transparent, #EDCD7E 30%, #EDCD7E 70%, transparent); box-shadow: 0 0 18px rgba(201, 162, 74, .85); }
.route-wipe span::before { left: 0; }
.route-wipe span::after { right: 0; }
.route-wipe.is-covering, .route-wipe.is-leaving { visibility: visible; pointer-events: auto; }
.route-wipe.is-covering span { transform: translateX(0); transition: transform .48s cubic-bezier(.75, 0, .25, 1); }
.route-wipe.is-leaving span { transform: translateX(-101%); transition: transform .55s cubic-bezier(.75, 0, .25, 1); }

/* ---------- Scroll reveal (only when JS adds .js-reveal; content stays visible otherwise) ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js-reveal .reveal.reveal-left { transform: translateX(-36px); }
.js-reveal .reveal.reveal-zoom { transform: scale(.94); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .pain-item.reveal::before { transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0ms) + 250ms); }
.js-reveal .pain-item.reveal.is-in::before { transform: scaleX(.12); }
.js-reveal .pain-item.reveal.is-in:hover::before { transform: scaleX(1); transition-delay: 0s; }
.js-reveal .step.reveal::before { clip-path: inset(0 100% 0 0); transition: clip-path .9s cubic-bezier(.2, .7, .2, 1) calc(var(--d, 0ms) + 300ms); }
.js-reveal .step.reveal.is-in::before { clip-path: inset(0 0 0 0); }
.js-reveal .diagram .d-ring { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.8s cubic-bezier(.65, 0, .35, 1) .2s; }
.js-reveal .diagram .d-links line { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .8s cubic-bezier(.2, .7, .2, 1) .9s; }
.js-reveal .diagram .d-core, .js-reveal .diagram .d-pt { opacity: 0; transform: scale(.6); transform-box: fill-box; transform-origin: center; transition: opacity .6s ease, transform .8s cubic-bezier(.3, 1.4, .5, 1); }
.js-reveal .diagram .d-core { transition-delay: .5s; }
.js-reveal .diagram .d-pt { transition-delay: calc(1.1s + var(--k) * 140ms); }
.js-reveal .diagram.is-in .d-ring, .js-reveal .diagram.is-in .d-links line { stroke-dashoffset: 0; }
.js-reveal .diagram.is-in .d-core, .js-reveal .diagram.is-in .d-pt { opacity: 1; transform: none; }

/* ---------- Dores ---------- */
.pain-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(24px, 4vw, 56px); }
.pain-item { position: relative; padding: 28px 0 36px; border-top: 1px solid var(--line); }
.pain-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 100%; height: 2px; background: var(--gold); transform: scaleX(.12); transform-origin: left; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.pain-item:hover::before { transform: scaleX(1); }
.pain-item h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.3; margin-bottom: .6em; }
.pain-item p { color: var(--muted); margin: 0; }
.closing-line { text-wrap: balance; margin: 3rem auto 0; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 40ch; color: var(--navy); }

/* ---------- Tese ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split p { color: #cfd3da; }
.highlight { margin: 2rem 0 0; padding: 20px 0 0 22px; border-left: 2px solid var(--gold); font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; color: var(--white); line-height: 1.4; padding-top: 0; }
.diagram { margin: 0; max-width: 440px; justify-self: center; width: 100%; }
.diagram svg { width: 100%; height: auto; display: block; }
.d-center { fill: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.d-node circle { fill: var(--navy); stroke: var(--gold); stroke-width: 1.5; }
.d-node text { fill: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 13.5px; }

/* ---------- O que é ---------- */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.duo-card { border-top: 3px solid var(--gold); }
.duo-card h3 { font-size: 1.2rem; }
.duo-sub { display: block; font-weight: 500; font-size: .95rem; color: var(--gold-dark); margin-top: 4px; }
.duo-plus { align-self: center; font-family: var(--font-head); font-size: 2.25rem; color: var(--gold); font-weight: 500; }

/* ---------- Pilares ---------- */
.pillar-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #d6dae2; }
.pillar { position: relative; padding: 32px clamp(20px, 3vw, 40px) 36px; border-left: 1px solid #d6dae2; }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar h3 { font-size: 1.3rem; margin-bottom: .7em; }
.pillar h3::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 14px; background: var(--gold); transition: width .6s cubic-bezier(.2, .7, .2, 1); }
.pillar:hover h3::after { width: 72px; }
.pillar p { color: var(--muted); margin: 0; }
.integrator { margin: 28px 0 0; padding: 22px 26px; background: var(--navy); color: #dfe2e7; border-radius: var(--radius); border-left: 3px solid var(--gold); }
.integrator strong { color: var(--gold); }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 2.5rem; }
.phase { background: var(--gray); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.phase-cycle { background: var(--navy); border-color: var(--navy); color: #dfe2e7; }
.phase-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 18px; }
.phase-cycle .phase-label { color: var(--gold); }
.steps { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; position: relative; }
.step { position: relative; padding-top: 52px; }
.step::before { content: ""; position: absolute; top: 19px; left: 40px; right: -14px; height: 1px; background: var(--silver); }
.step:last-child::before { display: none; }
.step-num { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; background: var(--white); color: var(--navy); border: 1px solid var(--silver); }
.phase-cycle .step-num { background: var(--navy-3); color: var(--white); border-color: rgba(255, 255, 255, .25); }
.step-key .step-num { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.step-tag { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(201, 162, 74, .5); border-radius: 4px; padding: 1px 6px; margin-bottom: 8px; }
.step h4 { font-size: 1rem; margin-bottom: .4em; }
.step p { font-size: .92rem; margin: 0; color: var(--muted); }
.phase-cycle .step p { color: var(--silver); }
.phase-cycle .step h4 { color: var(--white); }
.highlight-band { margin: 28px 0 0; padding: 22px 26px; border: 1px solid rgba(201, 162, 74, .5); background: var(--gold-soft); border-radius: var(--radius); font-size: 1.05rem; }
.highlight-band strong { font-family: var(--font-head); }

/* ---------- Diferenciais ---------- */
.diff-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .14); }
.diff-item { padding: 32px 28px 12px 0; transition: background-color .4s cubic-bezier(.2, .7, .2, 1); }
.diff-item + .diff-item { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.diff-item h3 { font-size: 1.15rem; color: var(--white); }
.diff-item h3::before { content: ""; display: block; width: 8px; height: 8px; margin-bottom: 18px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(201, 162, 74, .18); transition: box-shadow .4s cubic-bezier(.2, .7, .2, 1); }
.diff-item:hover h3::before { box-shadow: 0 0 0 9px rgba(201, 162, 74, .12); }
.diff-item p { color: var(--silver); margin: 0; }
.quote-band { background: var(--gold); color: var(--navy); padding: 40px 0; }
.quote-band p { margin: 0 auto; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 2.4vw, 1.6rem); text-align: center; max-width: 900px; line-height: 1.4; }

/* ---------- Conselho ---------- */
.council-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.council-card h3 { font-size: 1.1rem; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.members { list-style: none; display: flex; flex-wrap: wrap; gap: 18px 26px; margin: 20px 0 20px; }
.members li { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 112px; text-align: center; font-weight: 600; font-family: var(--font-head); font-size: .9rem; line-height: 1.3; color: var(--navy); }
.members li:hover .avatar { transform: scale(1.06); }
.avatar { transition: transform .5s cubic-bezier(.2, .7, .2, 1); width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; object-fit: cover; background: var(--navy); color: var(--gold); border: 2px solid var(--gold); box-shadow: 0 0 0 4px var(--white), 0 6px 16px rgba(10, 15, 26, .18); font-size: 1.1rem; letter-spacing: .04em; flex-shrink: 0; }
.disclaimer { margin: 28px 0 0; font-size: .95rem; color: var(--muted); padding-left: 14px; border-left: 2px solid var(--silver); }

/* ---------- CTA ---------- */
.cta-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); }
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-inner .section-title { max-width: none; }
.cta-inner .section-title::before { left: 50%; transform: translateX(-50%); }
.cta-inner p { max-width: 60ch; color: var(--silver); margin-bottom: 2rem; }

/* ---------- FAQ ---------- */
.accordion { margin-top: 2rem; border-top: 1px solid var(--line); max-width: 860px; }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; }
.acc-item button { transition: color .3s, padding-left .4s cubic-bezier(.2, .7, .2, 1);
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; text-align: left; cursor: pointer; padding: 22px 4px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy);
}
.acc-item button::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--gold-dark); border-bottom: 2px solid var(--gold-dark); transform: rotate(45deg); transition: transform .45s cubic-bezier(.2, .7, .2, 1), margin .45s cubic-bezier(.2, .7, .2, 1); flex-shrink: 0; margin-top: -4px; }
.acc-item button[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: 4px; }
.acc-item button:hover { color: var(--gold-dark); padding-left: 12px; }
/* Answers start collapsed only when JS can open them */
.acc-panel { display: grid; grid-template-rows: 1fr; color: var(--muted); max-width: 70ch; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1); }
.js .acc-panel:not(.is-open) { grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .45s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .45s; }
.acc-inner { overflow: hidden; }
.acc-inner p { margin: 0; padding: 0 4px 22px; transition: opacity .35s ease .08s, transform .45s cubic-bezier(.2, .7, .2, 1) .08s; }
.js .acc-panel:not(.is-open) .acc-inner p { opacity: 0; transform: translateY(-8px); transition-delay: 0s; }

/* ---------- Contato ---------- */
.contact-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card .card-icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 16px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; }
.contact-card .btn { margin-top: auto; }
.contact-card h3 { margin-bottom: .8rem; }
.handle { margin-bottom: 1rem !important; color: var(--white) !important; }

/* ---------- Footer ---------- */
.site-footer { background: #070b14; color: var(--silver); padding: 64px 0 28px; font-size: .95rem; border-top: 1px solid rgba(201, 162, 74, .25); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-brand img { display: block; width: 150px; height: auto; margin-bottom: 22px; }
.footer-quote { font-family: var(--font-head); color: #dfe2e7; max-width: 38ch; line-height: 1.5; }
.footer-h { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 44px; padding-top: 22px; font-size: .85rem; }
.footer-legal p { margin: 0 0 6px; }
.placeholder-tag { color: #8d93a0; font-style: italic; }

.wa-float { animation: pop .5s cubic-bezier(.3, 1.6, .5, 1) 1s both; transition: transform .35s cubic-bezier(.2, .7, .2, 1); position: fixed; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--navy); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.08); }
/* keep the last footer line clear of the floating WhatsApp button */
body:has(.wa-float:not([hidden])) .site-footer { padding-bottom: 96px; }

/* ---------- Diagnostic form ---------- */
.form-hero { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 110px) 0; }
.form-hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1520px; }
.form-hero-copy { min-width: 0; }
.form-hero h1 { font-size: clamp(2.3rem, 4.6vw, 4.2rem); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--white); max-width: 14ch; margin-bottom: 1.4rem; }
.form-hero .eyebrow { font-size: clamp(.78rem, 1vw, .95rem); letter-spacing: .2em; margin-bottom: 1.5rem; }
.form-hero .lead { max-width: 50ch; }
.form-start { margin-top: 1.6rem; }
.form-start:hover .icon { transform: translateY(3px); }
.form-hero .notice { margin-top: 2rem; }
.form-hero-steps { list-style: none; display: grid; gap: 14px; }
.form-hero-steps a { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); background: rgba(255, 255, 255, .03); color: var(--white); text-decoration: none; transition: border-color .4s cubic-bezier(.2, .7, .2, 1), transform .4s cubic-bezier(.2, .7, .2, 1), background-color .4s cubic-bezier(.2, .7, .2, 1); }
.form-hero-steps a:hover { border-color: rgba(201, 162, 74, .6); background: rgba(201, 162, 74, .07); transform: translateX(6px); }
.fh-num { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border: 1.5px solid var(--gold); border-radius: 50%; color: var(--gold); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.fh-text strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.fh-text span { color: var(--silver); font-size: .92rem; }
.notice { margin: 1.5rem 0 0; line-height: 1.55; padding: 14px 18px; border: 1px solid rgba(201, 162, 74, .45); border-radius: var(--radius-sm); color: #e7e9ee; background: rgba(201, 162, 74, .08); font-size: .97rem; max-width: 62ch; }
.form-section { padding-top: 48px; }
.form-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; max-width: 1080px; }

.progress { list-style: none; position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 4px; }
.progress a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); text-decoration: none; color: var(--muted); font-size: .92rem; font-weight: 500; }
.progress a:hover { background: var(--white); color: var(--navy); }
.p-num { transition: background-color .3s, border-color .3s; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; border: 1.5px solid var(--silver); font-family: var(--font-head); font-weight: 700; font-size: .85rem; background: var(--white); }
.progress .is-done .p-num { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); background: var(--gold); border-color: var(--gold); color: var(--navy); font-size: 0; }
.progress .is-done .p-num::before { content: "✓"; font-size: .95rem; }
.progress .is-done a { color: var(--navy); }

.form { min-width: 0; }
.req-note { font-size: .9rem; color: var(--muted); margin-bottom: 16px; }
.req { color: var(--danger); font-weight: 700; }
.optional { font-weight: 400; color: var(--muted); font-size: .9em; }

.form-block { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); margin: 0 0 24px; box-shadow: var(--shadow); min-width: 0; scroll-margin-top: calc(var(--header-h) + 16px); }
.form-block > legend { float: left; width: 100%; padding: 0 0 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--navy); display: flex; align-items: center; gap: 12px; }
.form-block > legend + * { clear: both; }
.block-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: .95rem; flex-shrink: 0; }
.block-instructions { color: var(--muted); margin-bottom: 24px; }
.block-instructions strong { color: var(--navy); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.field { margin-bottom: 14px; min-width: 0; }
.field > label, .choice-group > legend { display: block; font-weight: 600; font-size: .95rem; color: var(--navy); margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid #c4c9d3; border-radius: var(--radius-sm);
  padding: .7em .85em; min-height: 48px; transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A0F1A' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-dark); box-shadow: 0 0 0 3px rgba(201, 162, 74, .3); }
.has-error, input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--danger) !important; }
.field-hint { font-size: .83rem; color: var(--muted); margin: 5px 0 0; }
.field-error { color: var(--danger); font-size: .87rem; font-weight: 500; margin: 5px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field-error::before { content: "⚠ "; }

.choice-group, .rating { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.choice-group.has-error, .rating.has-error { border: 0 !important; }
.choice-group.has-error .choice, .rating.has-error .rating-opt span { border-color: var(--danger); }
.legend-hint { font-weight: 400; color: var(--muted); font-size: .9em; }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choices-inline { grid-template-columns: repeat(3, 1fr); }
.choice { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 50px; border: 1px solid #c4c9d3; border-radius: var(--radius-sm); cursor: pointer; transition: border-color .15s, background-color .15s; }
.choice:hover { border-color: var(--gold-dark); }
.choice input { width: 20px; height: 20px; accent-color: var(--navy); margin: 0; flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--navy); background: var(--gold-soft); box-shadow: inset 3px 0 0 var(--gold); font-weight: 600; }
.choice:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .97rem; }
.check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--navy); flex-shrink: 0; }
.check a { color: var(--gold-dark); font-weight: 600; }
.consent { padding: 18px; border-radius: var(--radius-sm); background: var(--gray); margin-top: 8px; }

.rating { padding: 20px 0; border-top: 1px solid var(--line); margin: 0; }
.rating:first-child { border-top: 0; padding-top: 0; }
.rating > legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; }
.rating > legend + * { clear: both; }
.rating-dim { display: block; font-family: var(--font-head); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-dark); font-weight: 700; margin-bottom: 4px; }
.rating-q { display: block; font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.rating-scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; }
.rating-opt { position: relative; cursor: pointer; }
.rating-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rating-opt span { display: grid; place-items: center; height: 46px; border: 1px solid #c4c9d3; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 600; color: var(--navy); background: var(--white); transition: background-color .25s, border-color .25s, color .25s, transform .3s cubic-bezier(.2, .7, .2, 1); }
.rating-opt:hover span { border-color: var(--gold-dark); transform: translateY(-2px); }
.rating-opt input:checked + span { animation: pop .38s cubic-bezier(.3, 1.6, .5, 1); background: var(--navy); color: var(--gold); border-color: var(--navy); box-shadow: 0 0 0 2px var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.rating-opt input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.rating-ends { display: flex; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.rating-value { font-size: .85rem; margin: 6px 0 0; color: var(--muted); font-weight: 500; }

.submit-row { margin-top: 8px; }
.submit-row .btn { width: 100%; }

.error-summary { border: 1px solid var(--danger); border-left-width: 4px; background: #fdf3f2; border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 24px; }
.error-summary h2 { font-size: 1.05rem; color: var(--danger); margin-bottom: 8px; }
.error-summary ul { padding-left: 20px; display: grid; gap: 4px; }
.error-summary a { color: var(--danger); font-size: .93rem; }

.form-status:empty { display: none; }
.form-status { margin-top: 20px; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); }
.form-status h2 { font-size: 1.15rem; margin-bottom: 8px; }
.form-status p:last-child { margin-bottom: 0; }
.form-status.is-demo { border-color: var(--gold); border-left-width: 4px; background: #fffaf0; }
.form-status.is-success { border-color: #2e7d4f; border-left-width: 4px; background: #f1faf4; }
.form-status.is-error { border-color: var(--danger); border-left-width: 4px; background: #fdf3f2; }

/* ---------- Privacy dialog ---------- */
.privacy-dialog { width: min(640px, calc(100% - 32px)); max-height: calc(100vh - 48px); border: 0; border-radius: var(--radius); padding: 0; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); color: var(--ink); }
.privacy-dialog::backdrop { background: rgba(10, 15, 26, .7); }
.dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { margin: 0; font-size: 1.25rem; }
.dialog-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: none; font-size: 1.5rem; cursor: pointer; line-height: 1; }
.dialog-body { padding: 20px 24px; }
.dialog-body ul { padding-left: 20px; display: grid; gap: 6px; }
.dialog-foot { padding: 16px 24px 22px; text-align: right; }
.pending-badge { display: inline-block; background: #fff3d6; color: #7a5b12; border: 1px solid var(--gold); border-radius: 4px; padding: 2px 10px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Responsive ---------- */
@media (min-width: 1181px) {
  .hero { display: flex; align-items: center; min-height: min(calc(100vh - var(--header-h)), 920px); }
  .hero-inner { width: 100%; }
}

@media (max-width: 1279px) {
  :root { --header-h: 116px; }
  .header-bar { flex-wrap: wrap; gap: 0 24px; min-height: 0; padding-top: 12px; }
  .brand { margin-right: auto; }
  .section-nav { order: 10; flex-basis: 100%; justify-content: flex-start; margin-top: 12px; border-top: 1px solid rgba(255, 255, 255, .06); }
  .section-nav ul { height: 46px; gap: 6px 28px; }
  .section-nav a { font-size: .85rem; padding: 4px 0; }
}

@media (max-width: 1180px) {
  .scroll-cue { display: none; }
  .hero-bg {
    background:
      radial-gradient(ellipse 70% 30% at 50% 84%, rgba(201, 162, 74, .2), transparent 70%),
      linear-gradient(180deg, rgba(10, 15, 26, .9) 0%, rgba(10, 15, 26, .7) 100%),
      var(--hero-photo, linear-gradient(180deg, #0c1324 0%, var(--navy) 100%)) center / cover no-repeat;
  }
  .hero-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .hero h1, .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row { justify-content: center; }
  .hero-media { justify-self: center; max-width: 420px; }
}

@media (max-width: 1080px) {
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .diff-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
  .timeline { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .primary-tabs, .section-nav { display: none; }
  .header-bar { flex-wrap: nowrap; min-height: 68px; padding-top: 0; }
  .menu-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }
  .header-bar { gap: 12px; }
  .split { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar, .pillar:first-child { padding: 28px 0 32px; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid #d6dae2; }
  .section-head { grid-template-columns: 1fr; }
  .form-hero-inner { grid-template-columns: 1fr; }
  .form-layout { grid-template-columns: 1fr; gap: 20px; }
  .progress { position: static; grid-template-columns: repeat(3, 1fr); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; }
  .progress a { flex-direction: column; gap: 6px; text-align: center; font-size: .78rem; padding: 8px 4px; line-height: 1.25; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .steps { grid-auto-flow: row; gap: 22px; }
  .step { padding: 0 0 0 58px; min-height: 40px; }
  .step::before { top: 44px; bottom: -22px; left: 19px; right: auto; width: 1px; height: auto; }
  .js-reveal .step.reveal::before { clip-path: inset(0 0 100% 0); }
  .step:last-child::before { display: none; }
  .duo { grid-template-columns: 1fr; }
  .duo-plus { justify-self: center; line-height: 1; }
  .council-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .choices, .choices-inline { grid-template-columns: 1fr; }
  .rating-scale { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .pain-grid, .diff-grid { grid-template-columns: 1fr; }
  .diff-item, .diff-item + .diff-item { padding-left: 0; border-left: 0; }
  .diff-item + .diff-item { border-top: 1px solid rgba(255, 255, 255, .14); }
  .card { padding: 22px; }
  .btn-row .btn { width: 100%; }
  .brand-text { display: none; }
  .header-cta { font-size: .8rem; padding: .5em .8em; }
  .footer-grid { grid-template-columns: 1fr; }
  .progress .p-text { font-size: .72rem; }
}

@media (max-width: 360px) {
  .header-cta { padding: .45em .6em; font-size: .75rem; }
  .rating-scale { gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .intro, .route-wipe { display: none; }
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
