/* Ravena Solar — valores conforme DESIGN.md */

:root {
  /* Cor (extraída de material/logo.svg) */
  --navy: #123A55;
  --cta: #F2A03D;
  --on-cta: #123A55;
  --bg: #FFFFFF;
  --surface: #F3F6F8;
  --text-muted: #4A5F70;
  --line: rgba(18, 58, 85, .16);
  --error: #B3261E;
  --success: #0B6B3A;

  /* Tipografia */
  --font: Georgia, "Times New Roman", serif;

  /* Espaçamento */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 72px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;

  /* Forma */
  --r1: 2px;
  --r2: 4px;
  --r3: 6px;

  /* Movimento */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-color: .18s;
  --t-state: .4s;
  --t-reveal: .9s;

  --header-h: 64px;
}

@media (min-width: 960px) {
  :root { --header-h: 76px; }
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--s4));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }
button, input, select { font: inherit; color: inherit; }
strong { font-weight: 700; }

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
  border-radius: var(--r1);
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.num { display: inline-block; min-width: var(--w, auto); text-align: right; }

.skip-link {
  position: absolute;
  left: var(--s4);
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: var(--bg);
  padding: var(--s3) var(--s4);
  border-radius: var(--r2);
}
.skip-link:focus { top: var(--s3); }

main:focus { outline: none; }

/* Tipografia */
.display {
  font-size: clamp(30px, 4.6vw, 64px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.05;
}
.h2 {
  font-size: clamp(26px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
}
.h3 {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.2;
}
.lead { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; }
.eyebrow {
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.3;
}
.eyebrow__n { color: var(--navy); font-weight: 700; margin-right: var(--s2); }
.note { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--s2) var(--s4);
  border-radius: var(--r2);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-color) var(--ease), transform var(--t-state) var(--ease), box-shadow var(--t-state) var(--ease);
}
.btn--primary { background: var(--cta); color: var(--on-cta); }
.btn--primary:hover {
  background: color-mix(in srgb, var(--cta) 88%, var(--navy));
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -8px var(--navy);
  text-decoration: none;
}
.btn--lg { min-height: 52px; padding: var(--s3) var(--s5); font-size: 17px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--surface); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.link-arrow::after { content: "\2192"; margin-left: var(--s2); transition: transform var(--t-state) var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* Cabeçalho */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  height: var(--header-h);
}
.brand {
  display: block;
  flex: none;
  width: 124px;
  height: 46px;
  overflow: hidden;
}
.brand img {
  width: 124px;
  height: 46px;
  object-fit: cover;
  object-position: 0 50%;
}
@media (min-width: 960px) {
  .brand, .brand img { width: 150px; height: 56px; }
}
.header__nav { display: none; }
@media (min-width: 960px) {
  .header__nav { display: block; margin-left: auto; }
  .header__nav ul { display: flex; gap: var(--s1); list-style: none; padding: 0; margin: 0; }
  .header__nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 var(--s3);
    font-size: 15px;
    text-decoration: none;
    color: var(--text-muted);
    transition: color var(--t-color) var(--ease);
  }
  .header__nav a:hover, .header__nav a[aria-current="true"] { color: var(--navy); text-decoration: underline; }
}
.btn--header { white-space: nowrap; }
@media (max-width: 599px) {
  .btn--header { font-size: 14px; padding: var(--s2) var(--s3); }
}
@media (max-width: 359px) {
  .btn--header { font-size: 13px; padding: var(--s2) var(--s3); }
  .brand, .brand img { width: 104px; height: 39px; }
}

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: var(--navy);
}
.progress__fill {
  display: block;
  height: 100%;
  background: var(--cta);
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
}

/* Seções */
.section { padding: var(--s8) 0; }
@media (min-width: 960px) { .section { padding: calc(var(--s8) + var(--s7)) 0; } }
.section--surface { background: var(--surface); }
.section__head { display: grid; gap: var(--s4); max-width: 820px; margin-bottom: var(--s7); }
.section__intro { color: var(--text-muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 680px; }

/* Abertura */
.hero { padding: var(--s7) 0 var(--s8); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 960px) {
  .hero { padding: var(--s8) 0 calc(var(--s8) + var(--s6)); }
  .hero__grid { grid-template-columns: 1.45fr 1fr; gap: var(--s8); }
}
.hero__copy { display: grid; gap: var(--s5); }
.hero__fit {
  font-size: 15px;
  color: var(--text-muted);
  padding-left: var(--s3);
  border-left: 2px solid var(--navy);
}
.hero__fit strong { color: var(--navy); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s2); }

.sheet {
  border: 1px solid var(--line);
  border-radius: var(--r3);
  background: var(--bg);
  box-shadow: 0 24px 48px -32px color-mix(in srgb, var(--navy) 45%, transparent);
}
.sheet__head, .sheet__foot {
  display: flex;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s3) var(--s5);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.sheet__head { border-bottom: 1px dashed var(--line); }
.sheet__tag { color: var(--navy); font-weight: 700; }
.sheet__foot { border-top: 1px dashed var(--line); letter-spacing: .08em; }
.sheet__rows { padding: var(--s2) var(--s5); }
.sheet__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px dashed var(--line);
}
.sheet__row:last-child { border-bottom: 0; }
.sheet__row dt { font-size: 14px; color: var(--text-muted); }
.sheet__row dd { text-align: right; font-weight: 700; }
.sheet__row .num { font-size: 22px; }

/* Métricas */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  border-top: 1px solid var(--navy);
}
.metric {
  display: grid;
  align-content: start;
  gap: var(--s2);
  padding: var(--s5) var(--s4) var(--s5) 0;
  border-bottom: 1px dashed var(--line);
}
@media (min-width: 600px) {
  .metric { padding: var(--s6) var(--s5) var(--s6) 0; }
  .metric + .metric { padding-left: var(--s5); border-left: 1px dashed var(--line); }
}
@media (min-width: 600px) and (max-width: 959px) {
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 599px) {
  .metrics { grid-template-columns: 1fr; }
}
.metric__value {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: var(--s2);
}
.metric__value--sm { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.03em; flex-wrap: wrap; gap: 0 var(--s2); }
.metric__unit { font-size: 18px; letter-spacing: 0; font-weight: 400; color: var(--text-muted); }
.metric__to { font-size: .55em; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.metric__label { font-size: 15px; color: var(--text-muted); line-height: 1.45; }

.meter { height: 4px; background: var(--line); border-radius: var(--r1); margin-top: var(--s2); overflow: hidden; }
.meter__fill { display: block; height: 100%; background: var(--navy); transform-origin: 0 50%; transform: scaleX(var(--v)); }

/* Caso real */
.case { padding-bottom: 0; }
.case .section__head { margin-bottom: var(--s6); }
.case__track { position: relative; padding-bottom: var(--s5); }
.case__sticky { position: relative; }
.js .case__track { height: 190vh; }
.js .case__sticky { position: sticky; top: calc(var(--header-h) + var(--s4)); }
@media (min-width: 960px) {
  .js .case__sticky { top: max(calc(var(--header-h) + var(--s4)), calc(50vh - 220px)); }
}

.chart-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r3);
  padding: var(--s4);
}
@media (min-width: 600px) { .chart-card { padding: var(--s5) var(--s6); } }
.chart-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s1) var(--s4);
  padding-bottom: var(--s3);
  border-bottom: 1px dashed var(--line);
}
.chart-card__title { font-weight: 700; }
.chart-card__meta { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.chart-card__body { display: grid; gap: var(--s5); padding-top: var(--s5); }
@media (min-width: 960px) {
  .chart-card__body { grid-template-columns: 1.4fr 1fr; gap: var(--s7); align-items: end; }
}
.chart-card__caption { max-width: 820px; padding-bottom: var(--s8); font-size: 14px; color: var(--text-muted); line-height: 1.5; }

.chart { position: relative; height: clamp(170px, 26vh, 300px); margin: var(--s5) 0 var(--s6) 52px; }
.chart__grid { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; }
.chart__grid span { position: relative; border-top: 1px dashed var(--line); height: 0; }
.chart__grid span::before {
  content: attr(data-v);
  position: absolute;
  right: calc(100% + var(--s2));
  top: -.7em;
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.chart__grid span:last-child { border-top: 1px solid var(--navy); }
.chart__bars {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 6vw, 64px);
  padding: 0 clamp(8px, 4vw, 48px);
}
.bar { position: relative; height: 100%; }
.bar__fill {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--h) * 100%);
  border-radius: var(--r2) var(--r2) 0 0;
}
.bar--before .bar__fill { background: var(--text-muted); opacity: .45; }
.bar--after .bar__fill { background: var(--navy); }
.bar__value {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--h) * 100% + var(--s2));
  text-align: center;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 22px);
  white-space: nowrap;
}
.bar__label {
  position: absolute;
  left: -20px;
  right: -20px;
  top: calc(100% + var(--s2));
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.25;
}
.bar__label small { font-size: 12px; display: block; }

.case__kpis { display: grid; gap: 0; border-top: 1px solid var(--navy); }
.kpi {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px dashed var(--line);
}
.kpi dt { font-size: 14px; color: var(--text-muted); }
.kpi dd { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; text-align: right; white-space: nowrap; }

/* Investimento */
.metrics--inv { margin-bottom: var(--s7); }
.inv__grid { display: grid; gap: var(--s5); }
.inv__grid > * { min-width: 0; }
@media (min-width: 960px) { .inv__grid { grid-template-columns: 1.3fr 1fr; gap: var(--s6); align-items: start; } }

.calc {
  display: grid;
  gap: var(--s3);
  padding: var(--s5);
  border: 1px solid var(--navy);
  border-radius: var(--r3);
}
@media (min-width: 600px) { .calc { padding: var(--s6); } }
.calc__help { color: var(--text-muted); font-size: 15px; margin-bottom: var(--s3); }
.calc__label { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.calc__current { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.calc__range {
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--navy);
  cursor: pointer;
}
.calc__results { border-top: 1px solid var(--navy); margin-top: var(--s2); }
.calc__warn {
  font-size: 15px;
  padding: var(--s3) var(--s4);
  border-left: 3px solid var(--navy);
  background: var(--surface);
}
.inv__side { display: grid; gap: var(--s4); align-content: start; }
.panel {
  display: grid;
  gap: var(--s2);
  padding: var(--s5);
  background: var(--surface);
  border-radius: var(--r3);
}
.panel p { color: var(--text-muted); font-size: 16px; }

/* Execução */
.durations { display: grid; gap: var(--s4); margin-bottom: var(--s7); max-width: 820px; }
.duration { display: grid; gap: var(--s2); }
.duration__label { display: flex; justify-content: space-between; gap: var(--s4); font-size: 15px; color: var(--text-muted); }
.duration__value { color: var(--navy); font-weight: 700; }
.duration__bar { position: relative; height: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r1); overflow: hidden; }
.duration__min, .duration__max { position: absolute; top: 0; bottom: 0; left: 0; }
.duration__min { width: calc(var(--v) * 100%); background: var(--navy); }
.duration__max {
  left: 75%;
  right: 0;
  background: repeating-linear-gradient(135deg, var(--navy) 0 2px, transparent 2px 6px);
  opacity: .55;
}
.duration:nth-child(2) .duration__min { min-width: 4px; }

.trail { position: relative; margin-bottom: var(--s8); }
.trail__steps { display: grid; gap: var(--s6); }
@media (min-width: 960px) {
  .trail__steps { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
}
.trail__line {
  position: absolute;
  background: var(--navy);
  border-radius: var(--r1);
  left: 15px;
  top: 16px;
  bottom: 16px;
  width: 4px;
  margin-left: -2px;
}
.trail__fill {
  position: absolute;
  inset: 0;
  background: var(--cta);
  transform-origin: 50% 0;
  transform: scaleY(var(--p, 1));
}
@media (min-width: 960px) {
  .trail__line { left: 16px; right: auto; top: 14px; bottom: auto; height: 4px; width: calc((100% + var(--s5)) * .75); margin: 0; }
  .trail__fill { transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
}

.step { position: relative; padding-left: 52px; display: grid; gap: var(--s1); align-content: start; }
@media (min-width: 960px) { .step { padding-left: 0; padding-top: 52px; } }
.step__mark {
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--navy);
  transition: background-color var(--t-state) var(--ease), box-shadow var(--t-state) var(--ease);
}
.step__mark::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 5px;
  width: 8px;
  height: 14px;
  border: solid var(--on-cta);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg) scale(0);
  transition: transform var(--t-state) var(--ease);
}
.step.is-done .step__mark, html:not(.js) .step__mark { background: var(--cta); }
.step.is-done .step__mark::after, html:not(.js) .step__mark::after { transform: rotate(45deg) scale(1); }
.step.is-current .step__mark { box-shadow: 0 0 0 4px var(--bg), 0 0 0 6px var(--navy); }
.step__n { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.step__title { font-size: 21px; font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.step__time { font-weight: 700; font-size: 15px; }
.step__text { color: var(--text-muted); font-size: 15px; line-height: 1.5; margin-top: var(--s1); }

.warranty__title { margin-bottom: var(--s4); }
.warranties { display: grid; gap: var(--s3); }
@media (min-width: 600px) { .warranties { grid-template-columns: repeat(3, 1fr); } }
.warranty {
  display: grid;
  gap: var(--s2);
  align-content: start;
  padding: var(--s5);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r3);
}
.warranty__years { font-size: clamp(32px, 4vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1; }
.warranty__what { color: var(--text-muted); font-size: 16px; }
.warranty--key { background: var(--navy); border-color: var(--navy); color: var(--bg); }
.warranty--key .warranty__what { color: var(--bg); }

/* FAQ */
.faq { border-top: 1px solid var(--navy); }
.faq__item { border-bottom: 1px dashed var(--line); }
.faq__q { font-size: inherit; font-weight: inherit; }
.faq__q button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s4);
  width: 100%;
  min-height: 56px;
  padding: var(--s4) 0;
  background: none;
  border: 0;
  text-align: left;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.35;
  cursor: pointer;
}
.faq__q button::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-right: var(--s2);
  border: solid var(--navy);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-3px);
  transition: transform var(--t-state) var(--ease);
}
.faq__q button[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
.faq__q button:hover { text-decoration: underline; text-underline-offset: 4px; }
.faq__a { padding: 0 var(--s6) var(--s5) 0; color: var(--text-muted); max-width: 720px; }
.faq__a.is-opening { animation: faq-in var(--t-state) var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* Simulação */
.sim__grid { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .sim__grid { grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: start; } }
.sim__copy .section__head { margin-bottom: var(--s6); }
.next { display: grid; gap: 0; border-top: 1px solid var(--navy); margin-bottom: var(--s5); }
.next li { display: flex; gap: var(--s4); align-items: baseline; padding: var(--s3) 0; border-bottom: 1px dashed var(--line); }
.next__n { flex: none; width: 28px; height: 28px; display: inline-grid; place-items: center; border: 1px solid var(--navy); border-radius: 50%; font-size: 14px; font-weight: 700; transform: translateY(-2px); }
.sim__fit { font-size: 15px; color: var(--text-muted); padding-left: var(--s3); border-left: 2px solid var(--navy); }

.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r3); padding: var(--s5); }
@media (min-width: 600px) { .form-card { padding: var(--s6); } }
.form { display: grid; gap: var(--s5); }
.form__req { font-size: 14px; color: var(--text-muted); }
.form__demo { text-align: center; }

.form__summary {
  padding: var(--s4);
  border: 1px solid var(--error);
  border-left-width: 4px;
  border-radius: var(--r2);
  color: var(--error);
}
.form__summary-title { font-weight: 700; margin-bottom: var(--s2); }
.form__summary ul { margin: 0; padding-left: var(--s5); }
.form__summary a { color: var(--error); }

.field { display: grid; gap: var(--s2); }
.field label { font-weight: 700; font-size: 16px; }
.field__opt { font-weight: 400; color: var(--text-muted); }
.field input[type="text"],
.field input[type="tel"],
.field select,
.field__prefix {
  width: 100%;
  min-height: 48px;
  padding: var(--s3);
  background: var(--bg);
  border: 1px solid var(--navy);
  border-radius: var(--r2);
  font-size: 17px;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: var(--s7);
}
.field__prefix { display: flex; align-items: center; gap: var(--s2); padding: 0 var(--s3); }
.field__prefix span { color: var(--text-muted); }
.field .field__prefix input { flex: 1; min-width: 0; min-height: 46px; border: 0; padding: 0; background: transparent; font-size: 17px; }
.field .field__prefix input:focus-visible { outline: none; }
.field__prefix:focus-within { outline: 2px solid var(--navy); outline-offset: 2px; }
.file { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.file__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s4);
  border: 1px solid var(--navy);
  border-radius: var(--r2);
  font-weight: 700;
  font-size: 15px;
}
.file__name { font-size: 15px; color: var(--text-muted); overflow-wrap: anywhere; }
.file:hover .file__btn { background: var(--surface); }
.file__input:focus-visible + .file__btn { outline: 2px solid var(--navy); outline-offset: 2px; }
.field.is-invalid .file__btn { border-color: var(--error); border-width: 2px; }
.field__hint { font-size: 14px; color: var(--text-muted); line-height: 1.45; }
.field__notice { font-size: 14px; padding: var(--s2) var(--s3); background: var(--surface); border-left: 3px solid var(--navy); line-height: 1.45; }
.field__error { font-size: 14px; color: var(--error); font-weight: 700; line-height: 1.45; }
.field__error::before { content: "\2715\00a0"; }
.field.is-invalid input[type="text"],
.field.is-invalid input[type="tel"],
.field.is-invalid select,
.field.is-invalid .field__prefix { border-color: var(--error); border-width: 2px; }

.success { display: grid; gap: var(--s4); padding: var(--s5); border: 1px solid var(--success); border-left-width: 4px; border-radius: var(--r2); }
.success:focus { outline: 2px solid var(--navy); outline-offset: 2px; }
.success__title { color: var(--success); font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.success .btn { justify-self: start; }

/* Rodapé */
.site-footer { padding: var(--s7) 0; border-top: 1px solid var(--line); }
.footer__inner { display: grid; gap: var(--s3); }
.footer__logo { width: 160px; height: auto; }
.site-footer p { font-size: 15px; color: var(--text-muted); max-width: 620px; }

/* Revelação ao rolar */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Movimento reduzido: tudo no estado final, sem animação */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .case__track { height: auto; }
  .js .case__sticky { position: relative; top: auto; }
}
