/* ==========================================================================
   Fernanda Carvalho · Comunicação & Editorial
   Identidade: azul-marinho + rosé-gold (extraídos do logotipo FC)
   ========================================================================== */

:root {
  --navy: #021a36;
  --navy-2: #06264a;
  --navy-3: #0d3563;
  --navy-deep: #01101f;

  --rose-1: #fdf4ef;
  --rose-2: #fbcfc6;
  --rose-3: #de8f82;
  --rose-deep: #a4505a; /* rosé escuro: texto sobre fundo claro (contraste ≥ 5:1) */
  --rose-grad: linear-gradient(135deg, #fdf4ef 0%, #fbcfc6 26%, #de8f82 62%, #f3b8aa 100%);

  --cream: #fbf6f2;
  --cream-2: #f3e9e3;
  --paper: #fffdfb;
  --line: rgba(2, 26, 54, 0.12);
  --line-dark: rgba(251, 207, 198, 0.18);

  --ink: #0d2038;
  --muted: #526078;
  --on-dark: rgba(253, 244, 239, 0.78);

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 78px;
  --shadow-soft: 0 24px 60px -28px rgba(2, 26, 54, 0.35);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--rose-3); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--rose-2); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top 0.2s; }
.skip:focus { top: 12px; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 132px); position: relative; }
.on-dark { background: var(--navy); color: var(--rose-1); }
.on-dark p { color: var(--on-dark); }
.bg-paper { background: var(--paper); }
.bg-cream-2 { background: var(--cream-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 0.72rem/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; flex: none; }
.on-dark .eyebrow { color: var(--rose-2); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 60ch; }
.on-dark .lead { color: var(--on-dark); }
.section-head { max-width: 760px; display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); }
.grad { background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; padding-right: 0.06em; }
.grad-deep { color: var(--rose-deep); font-style: italic; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 16px 28px; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.88rem/1 var(--sans); letter-spacing: 0.02em; text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--rose-grad); color: var(--navy); box-shadow: 0 12px 32px -12px rgba(222, 143, 130, 0.7); }
.btn-primary:hover { box-shadow: 0 18px 40px -12px rgba(222, 143, 130, 0.9); }
.btn-ghost { border-color: rgba(251, 207, 198, 0.4); color: var(--rose-1); background: transparent; }
.btn-ghost:hover { background: rgba(251, 207, 198, 0.1); border-color: var(--rose-2); }
.btn-dark { background: var(--navy); color: var(--rose-1); }
.btn-dark:hover { background: var(--navy-3); }
.btn-outline { border-color: rgba(2, 26, 54, 0.28); color: var(--navy); background: transparent; }
.btn-outline:hover { border-color: var(--navy); background: rgba(2, 26, 54, 0.04); }
.btn-sm { padding: 12px 20px; font-size: 0.8rem; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font-weight: 600; font-size: 0.9rem; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--rose-deep); border-bottom: 1px solid transparent; transition: border-color 0.2s, gap 0.2s; }
.link-arrow:hover { border-color: currentColor; gap: 12px; }
.on-dark .link-arrow { color: var(--rose-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(2, 26, 54, 0.82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line-dark); transition: background 0.3s, box-shadow 0.3s; }
.site-header.scrolled { background: rgba(2, 26, 54, 0.95); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.7); }
.header-in { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; color: var(--rose-1); }
.logo img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(251, 207, 198, 0.25); }
.logo-text { display: grid; line-height: 1.15; }
.logo-text strong { font: 600 1.25rem/1.1 var(--serif); letter-spacing: 0.02em; }
.logo-text small { font: 500 0.6rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--rose-2); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav a:not(.btn) { color: var(--on-dark); font-size: 0.84rem; font-weight: 500; text-decoration: none; padding: 6px 0; position: relative; transition: color 0.2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--rose-2); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:not(.btn):hover, .nav a.active { color: var(--rose-1); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-dark); background: transparent; color: var(--rose-1); place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease), background 0.2s; position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--rose-1); overflow: hidden; isolation: isolate; padding-block: clamp(48px, 7vw, 96px) clamp(72px, 8vw, 120px); }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(10px); }
.hero::before { width: 780px; height: 780px; right: -220px; top: -260px; background: radial-gradient(closest-side, rgba(222, 143, 130, 0.28), transparent); }
.hero::after { width: 700px; height: 700px; left: -300px; bottom: -340px; background: radial-gradient(closest-side, rgba(13, 53, 99, 0.9), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy { display: grid; gap: 28px; justify-items: start; }
.hero h1 { color: var(--rose-1); text-wrap: balance; }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 24px; margin-top: 4px; border-top: 1px solid var(--line-dark); width: 100%; max-width: 560px; }
.hero-proof li { display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 500; color: var(--on-dark); }
.hero-proof svg { width: 20px; height: 20px; stroke: var(--rose-2); flex: none; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 470px); padding: 0 0 22px 22px; }
.arch { position: relative; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5.25; background: var(--navy-2); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.8); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 62%, rgba(2, 26, 54, 0.55)); pointer-events: none; }
.hero-visual::before { content: ""; position: absolute; inset: 22px 22px 0 0; border: 1.5px solid var(--rose-3); border-radius: 999px 999px 28px 28px; opacity: 0.7; pointer-events: none; }
.badge { position: absolute; z-index: 2; display: flex; align-items: center; gap: 14px; background: rgba(253, 244, 239, 0.96); color: var(--navy); border-radius: 18px; padding: 14px 18px; box-shadow: 0 22px 50px -20px rgba(0, 0, 0, 0.6); }
.badge-book { left: -4px; bottom: 0; max-width: 300px; }
.badge-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; flex: none; }
.badge-ico svg { width: 22px; height: 22px; stroke: var(--rose-2); }
.badge small { display: block; font: 600 0.6rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 5px; }
.badge strong { font: 600 1.02rem/1.15 var(--serif); display: block; }
.badge-role { right: -10px; top: 18%; padding: 10px 16px; border-radius: 999px; font: 600 0.72rem/1 var(--sans); letter-spacing: 0.08em; background: var(--navy-2); color: var(--rose-1); border: 1px solid var(--line-dark); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.7); }

/* ---------- Faixa (marquee) ---------- */
.marquee { background: var(--navy-2); border-block: 1px solid var(--line-dark); overflow: hidden; padding: 20px 0; color: var(--rose-2); }
.marquee .track { display: flex; width: max-content; gap: 40px; animation: slide 36s linear infinite; }
.marquee .group { display: flex; gap: 40px; align-items: center; }
.marquee span { font: 500 clamp(1.1rem, 2vw, 1.5rem)/1 var(--serif); letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--rose-3); font-size: 0.8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(36px, 7vw, 104px); align-items: center; }
.about-photo { position: relative; width: min(100%, 480px); justify-self: center; padding: 0 22px 22px 0; }
.about-photo::before { content: ""; position: absolute; inset: 22px 0 0 22px; border-radius: var(--radius); background: var(--rose-grad); opacity: 0.55; }
.about-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-soft); background: #8e8e92; }
.about-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.about-copy { display: grid; gap: 22px; }
.about-copy .lead { max-width: 56ch; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); }

.books-link { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; transition: border-color 0.3s, transform 0.3s var(--ease); }
.books-link:hover { border-color: var(--rose-3); transform: translateX(4px); }
.bl-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); display: grid; place-items: center; }
.bl-ico svg { width: 22px; height: 22px; stroke: var(--rose-2); }
.bl-txt { display: grid; line-height: 1.3; }
.bl-txt strong { font: 600 1.25rem/1.2 var(--serif); color: var(--navy); }
.bl-txt small { font-size: 0.8rem; color: var(--muted); }
.bl-go { width: 20px; height: 20px; color: var(--rose-deep); }

/* ---------- Livros ---------- */
.shelf { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.book { display: grid; gap: 24px; align-content: start; min-width: 0; }
.book-art { aspect-ratio: 1 / 1.274; display: flex; justify-content: center; align-items: flex-end; border-bottom: 1px solid rgba(2, 26, 54, 0.22); }
.book-art img { height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; border-radius: 4px 8px 8px 4px; box-shadow: 0 34px 50px -26px rgba(2, 26, 54, 0.6); transform-origin: bottom center; transition: transform 0.5s var(--ease); }
.book-art img.blend { mix-blend-mode: multiply; box-shadow: none; border-radius: 0; }
.book:hover .book-art img { transform: translateY(-8px) rotate(-1deg); }
.book-meta { display: grid; gap: 8px; align-content: start; }
.book-meta .tag { font: 600 0.64rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-deep); }
.book-meta h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); color: var(--navy); }
.book-meta p { font-size: 0.9rem; color: var(--muted); max-width: 34ch; }

/* ---------- Serviços ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.service { position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); display: grid; gap: 14px; align-content: start; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.service::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--rose-grad); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: rgba(222, 143, 130, 0.6); }
.service:hover::before { transform: scaleX(1); }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--navy); display: grid; place-items: center; }
.service-ico svg { width: 26px; height: 26px; stroke: var(--rose-2); }
.service .num { font: 500 1.1rem/1 var(--serif); color: var(--rose-deep); letter-spacing: 0.1em; }
.service p.tagline { font-family: var(--serif); font-size: 1.28rem; line-height: 1.25; color: var(--navy); font-style: italic; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chips li { font-size: 0.74rem; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--cream-2); color: var(--muted); }

/* ---------- Diagnóstico ---------- */
.diag { background: radial-gradient(900px 500px at 85% 0%, rgba(222, 143, 130, 0.2), transparent 60%), radial-gradient(800px 600px at 0% 100%, rgba(13, 53, 99, 0.9), transparent 65%), var(--navy); overflow: hidden; }
.diag-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.diag-intro { display: grid; gap: 26px; position: sticky; top: calc(var(--header-h) + 32px); }
.diag-points { display: grid; gap: 16px; margin-top: 4px; }
.diag-points li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: center; color: var(--on-dark); font-size: 0.95rem; }
.diag-points .ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; background: rgba(251, 207, 198, 0.06); }
.diag-points svg { width: 20px; height: 20px; stroke: var(--rose-2); }
.diag-points strong { color: var(--rose-1); display: block; font-weight: 600; }

.quiz { background: var(--cream); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.75); position: relative; min-height: 520px; }
.quiz p { color: var(--muted); }
.q-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.q-top > span:first-child { white-space: nowrap; }
.q-tag { padding: 6px 14px; border-radius: 999px; background: var(--cream-2); color: var(--rose-deep); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.q-bar { height: 5px; border-radius: 5px; background: rgba(2, 26, 54, 0.1); overflow: hidden; margin-bottom: clamp(24px, 3vw, 36px); }
.q-bar i { display: block; height: 100%; width: 0; background: var(--rose-grad); border-radius: 5px; transition: width 0.5s var(--ease); }
.q-step { animation: rise 0.45s var(--ease) both; }
@keyframes rise { from { transform: translateY(14px); } }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.q-legend { font: 500 clamp(1.5rem, 2.6vw, 2.05rem)/1.15 var(--serif); color: var(--navy); margin-bottom: 24px; padding: 0; outline: none; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: center; padding: 16px 20px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease), box-shadow 0.25s; font-size: 0.95rem; line-height: 1.45; color: var(--ink); }
.opt:hover { border-color: rgba(222, 143, 130, 0.8); transform: translateX(3px); }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt-mark { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(2, 26, 54, 0.3); display: grid; place-items: center; transition: 0.25s; }
.opt-mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); transform: scale(0); transition: transform 0.25s var(--ease); }
.opt.is-selected { border-color: var(--navy); background: #fff; box-shadow: 0 14px 30px -18px rgba(2, 26, 54, 0.5); }
.opt.is-selected .opt-mark { border-color: var(--navy); }
.opt.is-selected .opt-mark::after { transform: scale(1); }
.opt:has(input:focus-visible) { outline: 2px solid var(--rose-3); outline-offset: 3px; }
.q-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; }
.q-nav .btn[disabled] { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }
.q-back { background: none; border: 0; padding: 10px 4px; font-weight: 600; font-size: 0.85rem; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.q-back:hover { color: var(--navy); }
.q-back[hidden] { display: none; }

.result { animation: rise 0.6s var(--ease) both; display: grid; gap: 28px; }
.res-top { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 36px); align-items: center; }
.ring { position: relative; width: clamp(120px, 15vw, 156px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .bg { stroke: rgba(2, 26, 54, 0.1); }
.ring .fg { stroke: url(#ringGrad); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; transition: stroke-dashoffset 1.3s var(--ease) 0.2s; }
.ring .val { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font: 600 2.4rem/1 var(--serif); color: var(--navy); }
.ring .val small { font: 600 0.62rem/1 var(--sans); letter-spacing: 0.14em; color: var(--muted); margin-top: 6px; text-transform: uppercase; }
.res-level small { font: 600 0.68rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-deep); }
.res-level h3 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); color: var(--navy); margin: 8px 0 10px; }
.res-level p { font-size: 0.95rem; }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; gap: 7px; }
.bar-row .lbl { display: flex; justify-content: space-between; font-size: 0.84rem; font-weight: 600; color: var(--navy); }
.bar-row .lbl span:last-child { color: var(--muted); font-weight: 500; }
.bar-row .track { height: 8px; border-radius: 8px; background: rgba(2, 26, 54, 0.1); overflow: hidden; }
.bar-row .fill { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--navy-3); transition: width 1s var(--ease) 0.3s; }
.bar-row.priority .fill { background: var(--rose-grad); }
.bar-row .flag { color: var(--rose-deep); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; margin-left: 8px; }
.next { background: var(--navy); color: var(--rose-1); border-radius: 20px; padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; }
.next small { font: 600 0.66rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-2); }
.next h4 { font-size: 1.7rem; color: var(--rose-1); }
.next p { color: var(--on-dark); font-size: 0.93rem; }
.next .nxt { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line-dark); font-size: 0.88rem; color: var(--rose-1); }
.next .nxt b { color: var(--rose-2); font-weight: 600; }
.res-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.res-fallback { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 0.82rem; line-height: 1.5; resize: vertical; }
.res-fallback[hidden] { display: none; }
.res-note { font-size: 0.76rem; line-height: 1.5; }
.res-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.res-links button { background: none; border: 0; padding: 4px 0; font-size: 0.82rem; font-weight: 600; color: var(--muted); border-bottom: 1px solid transparent; }
.res-links button:hover { color: var(--navy); border-color: currentColor; }

/* ---------- Palco / galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 28px); align-items: start; }
.shot { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy-2); text-align: left; box-shadow: var(--shadow-soft); }
.gallery .shot:nth-child(2) { margin-top: clamp(0px, 4vw, 56px); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.shot:hover img { transform: scale(1.05); }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(1, 16, 31, 0.88)); pointer-events: none; }
.shot figcaption, .shot .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; color: var(--rose-1); display: grid; gap: 4px; }
.shot .cap small { font: 600 0.62rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-2); }
.shot .cap strong { font: 500 1.45rem/1.15 var(--serif); }
.shot .zoom { position: absolute; z-index: 2; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: rgba(2, 26, 54, 0.6); backdrop-filter: blur(6px); display: grid; place-items: center; opacity: 0; transform: scale(0.8); transition: 0.3s var(--ease); }
.shot .zoom svg { width: 18px; height: 18px; stroke: var(--rose-1); }
.shot:hover .zoom, .shot:focus-visible .zoom { opacity: 1; transform: none; }
.shot-note { margin-top: 28px; font-size: 0.9rem; color: var(--muted); max-width: 60ch; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100%; height: 100%; margin: 0; }
dialog.lightbox::backdrop { background: rgba(1, 16, 31, 0.92); backdrop-filter: blur(6px); }
.lb-in { height: 100%; display: grid; place-items: center; padding: 24px; grid-template-rows: 1fr auto; gap: 14px; }
.lb-in img { max-height: calc(100dvh - 120px); width: auto; max-width: min(100%, 900px); object-fit: contain; border-radius: 14px; align-self: center; }
.lb-cap { color: var(--rose-1); text-align: center; font: 500 1.2rem/1.3 var(--serif); }
.lb-close { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(2, 26, 54, 0.8); color: var(--rose-1); display: grid; place-items: center; }
.lb-close svg { width: 20px; height: 20px; stroke: currentColor; }

/* ---------- Perspectiva ---------- */
.persp { background: var(--navy-2); }
.persp-head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.diffs { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.diff { padding: 28px 24px; border: 1px solid var(--line-dark); border-radius: var(--radius); background: rgba(251, 207, 198, 0.04); display: grid; gap: 10px; align-content: start; transition: background 0.3s, transform 0.4s var(--ease), border-color 0.3s; }
.diff:hover { background: rgba(251, 207, 198, 0.09); transform: translateY(-4px); border-color: rgba(251, 207, 198, 0.4); }
.diff .n { font: 500 2.4rem/1 var(--serif); color: var(--rose-3); }
.diff h3 { font-size: 1.4rem; color: var(--rose-1); }
.diff p { font-size: 0.9rem; }

/* ---------- Portfólio (cards) ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.work { display: grid; gap: 14px; align-content: space-between; min-height: 300px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--cream-2); text-decoration: none; position: relative; overflow: hidden; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.work.alt { background: #f1d9d3; }
.work.navy { background: var(--navy); color: var(--rose-1); }
.work.navy p { color: var(--on-dark); }
.work .tag { font: 600 0.64rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-deep); }
.work.navy .tag { color: var(--rose-2); }
.work h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin: 10px 0; }
.work.navy h3 { color: var(--rose-1); }
.work p { color: var(--muted); font-size: 0.93rem; }
.work .go { font-weight: 600; font-size: 0.86rem; display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; }
.work .go svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); stroke: currentColor; }
.work:hover .go svg { transform: translate(3px, -3px); }
.disclaimer { font-size: 0.85rem; padding: 14px 18px; border-left: 2px solid var(--rose-3); background: rgba(222, 143, 130, 0.1); border-radius: 0 12px 12px 0; max-width: 62ch; color: var(--ink); }

/* ---------- Como trabalhamos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2vw, 32px); counter-reset: s; position: relative; }
.step { position: relative; display: grid; gap: 12px; align-content: start; padding-top: 28px; border-top: 1px solid rgba(2, 26, 54, 0.2); }
.step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--rose-3); box-shadow: 0 0 0 5px rgba(222, 143, 130, 0.25); }
.step .num { font: 500 1rem/1 var(--serif); letter-spacing: 0.14em; color: var(--rose-deep); }
.step h3 { font-size: 1.9rem; }
.step p { font-size: 0.92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-list { border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; font: 500 1.4rem/1.25 var(--serif); color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary .plus { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: 0.3s var(--ease); position: relative; }
summary .plus::before, summary .plus::after { content: ""; position: absolute; width: 12px; height: 1.5px; background: var(--navy); transition: transform 0.3s var(--ease); }
summary .plus::after { transform: rotate(90deg); }
details[open] summary .plus { background: var(--navy); border-color: var(--navy); transform: rotate(180deg); }
details[open] summary .plus::before, details[open] summary .plus::after { background: var(--rose-2); }
details[open] summary .plus::after { transform: rotate(0); }
details .ans { padding: 0 60px 26px 0; color: var(--muted); font-size: 0.95rem; max-width: 62ch; animation: rise 0.4s var(--ease) both; }

/* ---------- Briefing ---------- */
.brief { background: radial-gradient(800px 500px at 100% 0%, rgba(222, 143, 130, 0.22), transparent 60%), var(--navy); overflow: hidden; }
.brief-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.brief-copy { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 32px); }
.contact-line { display: flex; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 0.9rem; color: var(--on-dark); }
.contact-line svg { width: 20px; height: 20px; stroke: var(--rose-2); flex: none; }
.form { background: var(--cream); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1fr; gap: 20px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.75); }
.form label { display: grid; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); font-size: 0.95rem; font-weight: 400; letter-spacing: 0; transition: border-color 0.25s, box-shadow 0.25s; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(222, 143, 130, 0.28); }
.form .full { grid-column: 1 / -1; }
.form .form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { font-size: 0.82rem; color: var(--muted); max-width: none; line-height: 1.55; }
.form textarea.copy-fallback { min-height: 0; font-size: 0.82rem; }
.form textarea.copy-fallback[hidden] { display: none; }
.form-status.ok { color: #1c6b46; font-weight: 600; }
.form-status.err { color: #a12d3a; font-weight: 600; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark); padding: clamp(48px, 6vw, 80px) 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.foot-grid h4 { font: 600 0.7rem/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--rose-2); margin-bottom: 18px; }
.foot-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.foot-grid a { text-decoration: none; transition: color 0.2s; }
.foot-grid a:hover { color: var(--rose-2); }
.foot-brand p { margin-top: 18px; max-width: 34ch; font-size: 0.9rem; }
.foot-tag { font: italic 500 1.5rem/1.2 var(--serif); color: var(--rose-2); margin-top: 20px; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.78rem; color: rgba(253, 244, 239, 0.55); }

/* ---------- Animação de entrada ---------- */
/* só desliza: o conteúdo fica sempre visível, mesmo se o observador não rodar */
.js .reveal { transform: translateY(28px); transition: transform 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { transform: none; }

/* ---------- Página de portfólio ---------- */
.page-hero { background: var(--navy); color: var(--rose-1); padding-block: clamp(56px, 8vw, 110px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(222, 143, 130, 0.26), transparent); }
.page-hero .inner { display: grid; gap: 26px; max-width: 880px; }
.page-hero h1 { color: var(--rose-1); }
.page-hero .eyebrow { color: var(--rose-2); }
.page-hero .lead { color: var(--on-dark); }
.page-hero .by { font: 500 1.2rem/1.3 var(--serif); color: var(--rose-2); letter-spacing: 0.04em; }
.case { display: grid; grid-template-columns: 0.42fr 1fr; gap: clamp(24px, 5vw, 80px); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.case:last-of-type { border-bottom: 1px solid var(--line); }
.case .idx { font: 500 clamp(3.4rem, 7vw, 6rem)/0.9 var(--serif); color: var(--rose-3); opacity: 0.8; }
.case .eyebrow { margin-bottom: 14px; }
.case-body { display: grid; gap: 18px; }
.case-body p { max-width: 60ch; color: var(--muted); }
.case-body strong { color: var(--navy); display: block; font: 600 0.7rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 6px; }
.quote { font: italic 500 clamp(1.5rem, 2.6vw, 2.1rem)/1.25 var(--serif); color: var(--rose-deep); border-left: 2px solid var(--rose-3); padding-left: 22px; max-width: 28ch; }
.formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.format { padding: 32px; border-radius: var(--radius); background: var(--cream-2); display: grid; gap: 10px; }
.format p { color: var(--muted); font-size: 0.95rem; }
.flow { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 18px; }
.flow span { padding: 10px 18px; border-radius: 999px; background: var(--navy); color: var(--rose-1); font-size: 0.82rem; font-weight: 600; }
.flow i { font-style: normal; color: var(--rose-3); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.post-grid--2 { grid-template-columns: repeat(2, 1fr); }
.post-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s; }
.bg-paper .post-card { background: var(--cream); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: rgba(222, 143, 130, 0.6); }
.post-card .thumb { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { display: grid; gap: 10px; padding: 24px 24px 26px; align-content: start; }
.post-card .tag { font: 600 0.64rem/1.4 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose-deep); }
.post-card h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); color: var(--navy); text-wrap: balance; }
.post-card p { color: var(--muted); font-size: 0.92rem; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.76rem; font-weight: 500; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card .post-meta { margin-top: 4px; }

.post-wrap { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.post-head { display: grid; gap: 20px; padding-top: clamp(40px, 6vw, 80px); justify-items: start; }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; text-decoration: none; color: var(--muted); transition: color 0.2s, gap 0.2s; }
.post-back:hover { color: var(--navy); gap: 12px; }
.post-back svg { width: 16px; height: 16px; }
.post-head h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); color: var(--navy); text-wrap: balance; }
.post-lead { font: italic 500 clamp(1.25rem, 2vw, 1.5rem)/1.4 var(--serif); color: var(--muted); }
.post-cover { margin: clamp(28px, 4vw, 44px) 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy-2); box-shadow: var(--shadow-soft); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { padding-block: clamp(32px, 5vw, 56px); font-size: 1.05rem; line-height: 1.85; color: var(--ink); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); color: var(--navy); margin-top: 2em; text-wrap: balance; }
.prose h3 { font-size: 1.45rem; color: var(--navy); margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 0.6em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li::marker { color: var(--rose-deep); font-weight: 600; }
.prose a { color: var(--rose-deep); text-underline-offset: 3px; }
.prose blockquote { border-left: 2px solid var(--rose-3); padding-left: 22px; font: italic 500 1.4rem/1.4 var(--serif); color: var(--rose-deep); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.post-cta { margin-bottom: clamp(56px, 8vw, 96px); background: var(--navy); color: var(--rose-1); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; justify-items: start; }
.post-cta h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--rose-1); text-wrap: balance; }
.post-cta p { color: var(--on-dark); font-size: 0.95rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .diffs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .diag-grid, .brief-grid, .faq-grid { grid-template-columns: 1fr; }
  .diag-intro, .brief-copy { position: static; }
  .persp-head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .menu-btn { display: grid; }
  .nav { position: absolute; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; background: rgba(2, 26, 54, 0.98); border-bottom: 1px solid var(--line-dark); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.45s var(--ease), visibility 0s 0.45s; }
  .nav.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path 0.45s var(--ease); }
  .nav a:not(.btn) { padding: 16px 0; font-size: 1rem; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 20px; }
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; width: min(100%, 400px); }
  .about-photo { width: min(100%, 420px); }
  .services, .works, .formats { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .gallery .shot:nth-child(2) { margin-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .case { grid-template-columns: 1fr; gap: 12px; }
  .badge-role { right: 0; }
  .res-top { grid-template-columns: 1fr; justify-items: start; }
}
@media (max-width: 600px) {
  .post-grid, .post-grid--2 { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .diffs, .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form .full { grid-column: auto; }
  .logo-text small { display: none; }
  .badge-book { left: 0; max-width: 250px; padding: 12px 14px; }
  .badge-book strong { font-size: 0.92rem; }
  details .ans { padding-right: 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-proof { gap: 10px 20px; }
  .btn { width: 100%; }
  .actions .btn { flex: 1 1 100%; }
  .q-nav .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .marquee .track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .marquee, .no-print, .skip { display: none !important; }
  body { background: #fff; }
  .page-hero { background: #fff; color: #000; padding: 0 0 24px; }
  .page-hero h1, .page-hero .by { color: #000; }
  .page-hero::before { display: none; }
  .section { padding-block: 24px; }
  .case { break-inside: avoid; }
  .js .reveal { opacity: 1; transform: none; }
}
