/* ==================================================================
   Benchmark de Criativos 2026 — Agência Rei
   Identidade clara (marfim · tinta · dourado), mesma linguagem de medicos.agenciarei.com
   ================================================================== */

:root {
  --ink: #0E1B26;
  --ink-2: #152A3B;
  --ink-3: #1E3A50;
  --ivory: #F8F5EF;
  --sand: #EFE8DB;
  --paper: #FFFFFF;
  --gold: #B8945A;
  --gold-2: #D8BD8A;
  --gold-3: #F1E3C4;
  --text: #17222C;
  --muted: #5A6570;
  --muted-light: rgba(248, 245, 239, .68);
  --line: rgba(14, 27, 38, .1);
  --line-light: rgba(248, 245, 239, .12);

  --gold-grad: linear-gradient(135deg, #E2C793, var(--gold) 60%, #A07F48);
  --gold-text: linear-gradient(120deg, #C9A462, #A8823F);
  --gold-text-light: linear-gradient(120deg, #F1DDB3, var(--gold-2));

  --display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(14, 27, 38, .04), 0 4px 16px rgba(14, 27, 38, .05);
  --shadow: 0 2px 4px rgba(14, 27, 38, .04), 0 24px 60px -20px rgba(14, 27, 38, .22);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --container: 1180px;
  --gutter: 24px;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--ivory);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--gold-3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ---------- LAYOUT ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: clamp(72px, 10vw, 128px) 0; }
.section--white { background: var(--paper); }
.section--dark { background: var(--ink); color: var(--ivory); overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 360px at 90% 0%, rgba(216, 189, 138, .14), transparent 70%);
}
.section-head { position: relative; max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lead { margin-top: 20px; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- TIPOGRAFIA ---------- */
.h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.06; letter-spacing: -.035em;
  color: var(--ink); text-wrap: balance;
}
.h2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; letter-spacing: -.03em;
  color: var(--ink); text-wrap: balance;
}
.h1 em, .h2 em, .footer__tagline em {
  font-style: normal; color: var(--gold);
  background: var(--gold-text); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section--dark .h2 { color: var(--ivory); }
.section--dark .h2 em, .footer__tagline em { background-image: var(--gold-text-light); }
.lead { font-size: clamp(1.04rem, 1.4vw, 1.18rem); color: var(--muted); line-height: 1.6; max-width: 60ch; }
.lead strong { color: var(--ink); font-weight: 700; }
.section--dark .lead { color: var(--muted-light); }
.section--dark .lead strong { color: var(--ivory); }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }

.ornament { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 36px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament span { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }

.label {
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- COMPONENTES BASE ---------- */
.card {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); white-space: nowrap;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .7); border: 1px solid rgba(184, 148, 90, .35);
}

/* Botão de prompt — pílula tinta com ponto dourado (botão da marca), versão contornada */
.btn-prompt {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 52px; padding: 6px 6px 6px 22px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink);
  font-weight: 700; font-size: .92rem; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn-prompt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-prompt__icon {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ivory); color: var(--gold); border: 1px solid var(--line);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.btn-prompt__icon svg { width: 17px; height: 17px; }
.btn-prompt:hover {
  background: var(--ink); color: var(--ivory); border-color: var(--ink);
  transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(14, 27, 38, .55);
}
.btn-prompt:hover::before { transform: translateX(120%); }
.btn-prompt:hover .btn-prompt__icon { background: var(--gold); color: var(--ink); border-color: var(--gold); transform: rotate(-12deg); }
.btn-prompt:active { transform: translateY(0); }
.btn-prompt.is-copied { background: #EAF6EF; border-color: #A7D9BC; color: #1F6B45; box-shadow: none; transform: none; }
.btn-prompt.is-copied .btn-prompt__icon { background: #1F8A55; border-color: #1F8A55; color: #fff; transform: none; }

/* ---------- HEADER ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 239, .82);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.header__inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand__logo { height: 36px; width: auto; }
.brand__meta {
  display: none; flex-direction: column; gap: 2px;
  padding-left: 18px; border-left: 1px solid var(--line);
  font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3;
}
.brand__meta-label { color: var(--muted); }
.brand__meta-quarter { color: var(--gold); }
@media (min-width: 768px) { .brand__meta { display: flex; } }
@media (max-width: 480px) { .tag { display: none; } }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(64px, 9vw, 112px) 0 clamp(72px, 9vw, 112px);
  background:
    radial-gradient(900px 520px at 85% 10%, rgba(216, 189, 138, .28), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(30, 58, 80, .08), transparent 60%),
    var(--ivory);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 30%, #000 10%, transparent 70%);
  opacity: .5;
}
.hero__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 64px); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1fr 340px; } }
.hero .h1 { max-width: 17ch; }
.hero .lead { margin-top: 26px; max-width: 54ch; }
.hero__seal {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 18px 8px 8px; margin-bottom: 28px;
  border: 1px solid rgba(184, 148, 90, .35); border-radius: 999px;
  background: rgba(255, 255, 255, .65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: .88rem; font-weight: 600; line-height: 1.35; color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.hero__seal-icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); }
.hero__seal-icon img { width: 18px; height: auto; }

.stats {
  position: relative; display: grid; gap: 28px;
  padding: clamp(28px, 3vw, 36px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.stats::before {
  content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 2px;
  background: var(--gold-grad); border-radius: 0 0 2px 2px;
}
@media (min-width: 640px) and (max-width: 1023px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat + .stat { padding-top: 28px; border-top: 1px solid var(--line); }
@media (min-width: 640px) and (max-width: 1023px) { .stat + .stat { padding-top: 0; border-top: 0; padding-left: 24px; border-left: 1px solid var(--line); } }
.stat__value {
  font-family: var(--display); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(2.2rem, 4vw, 2.75rem); line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.stat__value--gold { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { margin-top: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- FUNIL ---------- */
.funnel {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.funnel__shape { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.funnel__shape path { fill: rgba(184, 148, 90, .07); }
.funnel__grid { position: relative; display: grid; gap: 56px; }
@media (min-width: 900px) { .funnel__grid { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 24px; align-items: start; } }
.funnel__divider { display: none; }
@media (min-width: 900px) { .funnel__divider { display: block; width: 1px; height: 120px; align-self: center; background: linear-gradient(to bottom, transparent, rgba(184, 148, 90, .45), transparent); } }
.metric { display: flex; flex-direction: column; align-items: center; text-align: center; }
.metric__icon {
  width: 80px; height: 80px; border-radius: 24px; display: grid; place-items: center;
  animation: float 4s var(--ease) infinite;
}
.metric__icon svg { width: 32px; height: 32px; }
.metric__icon--1 { background: linear-gradient(135deg, var(--ink-2), var(--ink)); color: var(--gold-2); box-shadow: 0 18px 40px -16px rgba(14, 27, 38, .6); }
.metric__icon--2 { background: var(--gold-grad); color: var(--ink); box-shadow: 0 18px 40px -14px rgba(184, 148, 90, .7); animation-duration: 5s; }
.metric__icon--3 { background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); animation-duration: 6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.metric__head { margin-top: 28px; display: grid; gap: 4px; }
.metric__title { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.metric__subtitle { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--gold); letter-spacing: -.01em; }
.metric__value {
  margin: 14px 0 12px; font-family: var(--display); font-weight: 800;
  font-size: clamp(3rem, 6vw, 4rem); letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums;
}
.metric__desc { font-size: .95rem; color: var(--muted); max-width: 250px; line-height: 1.55; }
.curve { width: 100%; max-width: 230px; margin-top: 24px; }
.curve svg { width: 100%; height: 48px; overflow: visible; }
.curve__legend { display: flex; justify-content: space-between; margin-top: 12px; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.curve__legend .common { color: rgba(14, 27, 38, .3); }
.curve__legend .elite { color: var(--gold); }

/* ---------- GANCHOS ---------- */
.hooks { display: grid; gap: 24px; }
@media (min-width: 1024px) { .hooks { grid-template-columns: 1.6fr minmax(320px, .9fr); align-items: start; } }
.chart { padding: clamp(20px, 3vw, 40px); padding-top: 72px; }
.chart__hint {
  position: absolute; top: 22px; right: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  padding: 7px 12px; border-radius: 999px; background: var(--ivory); border: 1px solid rgba(184, 148, 90, .3);
}
.chart__hint svg { width: 12px; height: 12px; animation: nudge 1.5s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }

.bars { display: grid; gap: 4px; }
.bar-row {
  width: 100%; display: grid; grid-template-columns: 1fr; gap: 6px;
  padding: 10px 12px; border-radius: var(--radius-sm); cursor: pointer;
  transition: background .3s var(--ease);
}
@media (min-width: 640px) { .bar-row { grid-template-columns: minmax(150px, 210px) 1fr; align-items: center; gap: 16px; } }
.bar-row:hover { background: var(--ivory); }
.bar-label { font-size: .8rem; font-weight: 700; color: var(--muted); transition: color .3s var(--ease); }
@media (min-width: 640px) { .bar-label { text-align: right; } }
.bar-row:hover .bar-label { color: var(--ink); }
.bar-row[aria-selected="true"] .bar-label { color: var(--gold); }
.bar-track { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bar-fill-wrap, .bar-spacer { flex-shrink: 1; flex-basis: 0; min-width: 0; }
.bar-value { flex: 0 0 auto; font-family: var(--display); font-weight: 800; font-size: .92rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar-row[aria-selected="true"] .bar-value { color: var(--ink); }
.bar-fill {
  height: 26px; border-radius: 0 8px 8px 0; background: var(--sand);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.chart.in-view .bar-fill, .hooks.in-view .bar-fill { transform: scaleX(1); }
.bar-row.is-top .bar-fill { background: var(--gold-3); }
.bar-row[aria-selected="true"] .bar-fill { background: var(--gold-grad); box-shadow: 0 8px 20px -10px rgba(184, 148, 90, .8); }

.detail { padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; animation: slide-in .45s var(--ease); }
@keyframes slide-in { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.detail__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.detail__tag { margin-top: 6px; font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.detail__nav { display: flex; gap: 6px; flex: none; }
.icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; color: var(--muted);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.icon-btn:hover { color: var(--ink); border-color: var(--gold); background: var(--ivory); }
.icon-btn svg { width: 16px; height: 16px; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.kpi { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--ivory); border: 1px solid var(--line); }
.kpi__value { margin-top: 6px; font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.examples { padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.example {
  padding: 12px 16px; border-radius: var(--radius-sm); background: var(--ivory);
  border-left: 2px solid var(--gold);
  font-size: .9rem; font-style: italic; color: var(--text); line-height: 1.55;
}
.card-action { margin-top: auto; padding-top: 24px; }
.card-action--sep { margin-top: 24px; border-top: 1px dashed rgba(184, 148, 90, .45); }

/* ---------- HOLD RATE (seção escura) ---------- */
.hold { position: relative; display: grid; gap: 24px; }
@media (min-width: 768px) and (max-width: 1199px) { .hold { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .hold { grid-template-columns: repeat(3, 1fr); } }
.hold-card {
  padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--ink-2), rgba(21, 42, 59, .4));
  border: 1px solid var(--line-light); border-radius: var(--radius);
}
.hold-card .eyebrow { color: var(--gold-2); margin-bottom: 14px; }
.hold-card__title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.15; color: var(--ivory); }
.hold-card__desc { margin-top: 8px; font-size: .95rem; color: var(--muted-light); line-height: 1.55; }
.hold-list { margin-top: 28px; display: grid; gap: 12px; }
.hold-item {
  padding: 18px; border-radius: var(--radius-sm);
  background: rgba(248, 245, 239, .03); border: 1px solid var(--line-light);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.hold-item:hover { background: rgba(248, 245, 239, .06); border-color: rgba(216, 189, 138, .3); }
.hold-item.is-best { background: rgba(216, 189, 138, .1); border-color: rgba(216, 189, 138, .38); }
.hold-item__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.hold-item__rank { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(248, 245, 239, .45); }
.hold-item.is-best .hold-item__rank { color: var(--gold-2); }
.hold-item__rank svg { width: 12px; height: 12px; }
.hold-item__tag { margin-top: 4px; font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--ivory); }
.lift { text-align: right; flex: none; }
.lift__value { display: inline-flex; align-items: center; gap: 4px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.lift__value svg { width: 16px; height: 16px; }
.lift__label { font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(248, 245, 239, .45); }
.hold-item__insight { font-size: .88rem; font-style: italic; color: var(--muted-light); line-height: 1.5; }

/* ---------- ÂNGULOS ---------- */
.angles { display: grid; gap: 24px; }
@media (min-width: 768px) { .angles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .angles { grid-template-columns: repeat(3, 1fr); } }
.angle {
  padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; gap: 20px;
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), background .5s var(--ease);
}
.angle:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(184, 148, 90, .4); background: var(--paper); }
.angle__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.angle__kicker { display: flex; align-items: center; gap: 10px; }
.angle__num {
  width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: var(--ink); color: var(--gold-2); font-family: var(--display); font-size: .75rem; font-weight: 800;
}
.angle__kicker .label { color: var(--gold); }
.angle__tag { margin-top: 10px; font-family: var(--display); font-weight: 700; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.2; color: var(--ink); }
.roas { text-align: right; flex: none; }
.roas__value { font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: -.05em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.roas__value span { color: var(--gold); }
.angle__insight { font-size: .98rem; font-weight: 600; color: var(--text); line-height: 1.5; }
.angle__examples { padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.angle__example { padding-left: 12px; border-left: 2px solid var(--gold-2); font-size: .88rem; font-style: italic; color: var(--muted); line-height: 1.5; }
.spend {
  align-self: flex-start; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); padding: 5px 12px; border-radius: 999px; background: var(--gold-3);
}
.progress { height: 6px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.progress__fill { height: 100%; border-radius: inherit; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--ease); }
.angle.in-view .progress__fill { transform: scaleX(1); }
.angle .card-action { padding-top: 20px; border-top: 1px dashed rgba(184, 148, 90, .45); }

/* ---------- FOOTER ---------- */
.footer { background: var(--ink); color: var(--ivory); padding: clamp(56px, 8vw, 88px) 0; border-top: 1px solid var(--line-light); }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
@media (min-width: 768px) { .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer__brand { display: grid; gap: 16px; justify-items: center; }
@media (min-width: 768px) { .footer__brand { justify-items: start; } }
.footer__logo { height: 36px; width: auto; }
.footer__tagline { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.03em; }
.footer__legal { display: grid; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(248, 245, 239, .45); }
@media (min-width: 768px) { .footer__legal { text-align: right; } }

/* ---------- TOAST ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px;
  background: var(--ink); color: var(--ivory); box-shadow: var(--shadow);
  font-size: .88rem; font-weight: 600;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.empty { padding: 32px; text-align: center; color: var(--muted); font-size: .85rem; }
.section--dark .empty { color: var(--muted-light); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

@media (max-width: 640px) { body { font-size: 16px; } }

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