/* ============================================================
   Aluganeio — estilos
   Foto dos dois carros como fundo fixo: nítida no topo, desfocada
   ao rolar. As seções são painéis de vidro fosco por cima.
   Paleta: amarelo dos carros e das placas antigas + verde de
   pintura clássica.
   ============================================================ */

:root {
  --bg: #EDEFEA;
  --surface: #F8F9F5;
  --surface-2: #E2E6DF;
  --ink: #15211F;
  --muted: #4E5C57;
  --line: #CBD2CB;
  --paint: #2F5D57;
  --paint-ink: #F4F6F1;
  --plate: #F2C230;
  --plate-ink: #141414;
  --focus: #F2C230;
  --on-photo: #F6F7F2;

  --glass: rgba(244, 246, 241, 0.64);
  --glass-strong: rgba(250, 251, 248, 0.80);
  --glass-line: rgba(255, 255, 255, 0.60);
  --glass-shadow: 0 30px 80px -40px rgba(10, 16, 14, 0.55);
  --veil: rgba(232, 236, 229, 0.28);

  --f-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-data: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;

  --radius: 12px;
  --panel-radius: clamp(20px, 3vw, 32px);
  --gutter: clamp(16px, 3vw, 32px);
  --max: 1200px;
  --blur-o: 0;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1614;
    --surface: #16211F;
    --surface-2: #1C2926;
    --ink: #E8ECE6;
    --muted: #A3B0AA;
    --line: #2C3B37;
    --paint: #4A887E;
    --glass: rgba(14, 21, 19, 0.60);
    --glass-strong: rgba(20, 30, 28, 0.78);
    --glass-line: rgba(255, 255, 255, 0.09);
    --glass-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
    --veil: rgba(8, 12, 11, 0.50);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1614;
  --surface: #16211F;
  --surface-2: #1C2926;
  --ink: #E8ECE6;
  --muted: #A3B0AA;
  --line: #2C3B37;
  --paint: #4A887E;
  --glass: rgba(14, 21, 19, 0.60);
  --glass-strong: rgba(20, 30, 28, 0.78);
  --glass-line: rgba(255, 255, 255, 0.09);
  --glass-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  --veil: rgba(8, 12, 11, 0.50);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.02; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 850; font-stretch: 112%; letter-spacing: -0.02em; }
h3 { font-size: 22px; font-weight: 750; font-stretch: 105%; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.eyebrow {
  font-family: var(--f-data);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Fundo com foto ---------- */
.backdrop { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #1B2422; }
.backdrop img {
  position: absolute; inset: -60px;
  width: calc(100% + 120px); height: calc(100% + 120px); max-width: none;
  object-fit: cover; object-position: 50% 62%;
}
.bd-sharp { animation: focus-in 2s cubic-bezier(.2,.7,.2,1) both; }
/* a versão desfocada já vem pronta do arquivo (mais leve que blur no CSS) */
.bd-blur { filter: saturate(150%); transform: scale(1.06); opacity: var(--blur-o); will-change: opacity; }
.bd-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 11, 0.80) 0%, rgba(8, 12, 11, 0.45) 55%, rgba(8, 12, 11, 0.12) 100%),
    linear-gradient(180deg, rgba(8, 12, 11, 0.35) 0%, transparent 30%, rgba(8, 12, 11, 0.55) 100%);
  opacity: calc(1 - var(--blur-o) * 0.6);
  will-change: opacity;
}
.bd-veil { position: absolute; inset: 0; background: var(--veil); opacity: var(--blur-o); will-change: opacity; }
@keyframes focus-in {
  from { filter: blur(24px) saturate(140%); transform: scale(1.1); }
  to { filter: none; transform: scale(1); }
}

/* ---------- Painel de vidro ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font: 600 16px/1 var(--f-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-small { padding: 10px 16px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-plate, .btn-big { background: var(--plate); color: var(--plate-ink); border-color: var(--plate); }
.btn-plate:hover { box-shadow: 0 12px 32px -10px rgba(242, 194, 48, 0.7); }
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: var(--on-photo);
  border: 1px solid rgba(255, 255, 255, 0.45);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); }
.btn-big { padding: 18px 24px; font-size: 17px; }

/* ---------- Placa ---------- */
.plate {
  display: inline-flex; flex-direction: column; align-items: center;
  background: var(--plate);
  color: var(--plate-ink);
  border: 3px solid var(--plate-ink);
  border-radius: 8px;
  padding: 4px 14px 2px;
  font-family: var(--f-data);
  box-shadow: inset 0 0 0 2px var(--plate);
  line-height: 1;
}
.plate small { font-size: 10px; font-weight: 600; letter-spacing: 0.2em; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; width: 100%; text-align: center; }
.plate strong { font-size: 34px; font-weight: 700; letter-spacing: 0.06em; padding-top: 2px; }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); z-index: 50;
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 12px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-line);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.5);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-plate {
  font: 700 15px/1 var(--f-data); letter-spacing: 0.08em;
  background: var(--plate); color: var(--plate-ink);
  border: 2px solid var(--plate-ink); border-radius: 5px; padding: 4px 6px;
}
.brand-name { font: 850 21px/1 var(--f-display); font-stretch: 118%; letter-spacing: -0.01em; }
.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 500; font-size: 15px; color: var(--muted);
  padding: 8px 14px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: var(--glass-strong); }
@media (max-width: 720px) { .nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 0 auto;
  min-height: min(88svh, 860px);
  padding-block: clamp(56px, 10vw, 120px) 40px;
  display: grid; align-content: end; gap: clamp(32px, 5vw, 56px);
  color: var(--on-photo);
}
.hero-copy { display: grid; gap: 22px; max-width: 900px; }
.hero .eyebrow { color: rgba(246, 247, 242, 0.94); }
.hero-title {
  font-size: clamp(52px, 10.5vw, 148px);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
  animation: rise 1.1s .25s cubic-bezier(.2,.7,.2,1) both;
}
.swap { color: var(--plate); display: inline-block; transition: opacity .35s ease, transform .35s ease, filter .35s ease; }
.swap.out { opacity: 0; transform: translateY(12px); filter: blur(8px); }
.hero-lede { font-size: clamp(18px, 1.8vw, 21px); color: rgba(246, 247, 242, 0.96); max-width: 54ch; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; }
.hero-plates { display: flex; gap: 12px; }
.hero-plates .plate:first-child { transform: rotate(-4deg); }
.hero-plates .plate:last-child { transform: rotate(3deg) translateY(6px); }
.scroll-cue {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 14px/1 var(--f-data); letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; color: rgba(246, 247, 242, 0.85);
}
.scroll-cue span {
  width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; position: relative;
}
.scroll-cue span::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px;
  background: currentColor; border-radius: 2px; animation: cue 1.8s ease-in-out infinite;
}
@media (max-width: 600px) { .hero-plates .plate strong { font-size: 26px; } }

/* sem opacity 0: o título aparece já no primeiro quadro (melhor para o Google) */
@keyframes rise { from { transform: translateY(24px); filter: blur(10px); } to { transform: none; filter: none; } }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(10px); opacity: 0; } }

/* ---------- Faixa ---------- */
.ticker {
  margin-block: 8px 12px;
  background: rgba(47, 93, 87, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-block: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--paint-ink);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
}
.ticker-track { display: inline-flex; gap: 48px; animation: ticker 40s linear infinite; padding-left: 48px; }
.ticker span {
  font: 700 22px/1 var(--f-data); letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 48px;
}
.ticker span::after { content: ""; width: 10px; height: 10px; background: var(--plate); border-radius: 50%; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Seções (painéis de vidro) ---------- */
.section {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 24px auto;
  padding: clamp(40px, 6vw, 88px) clamp(20px, 5vw, 72px);
  border-radius: var(--panel-radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
}
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.section-lede { color: var(--muted); font-size: 19px; max-width: 56ch; }

/* ---------- Frota ---------- */
.fleet { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.car-card {
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  border-radius: 22px;
  overflow: hidden;
  display: grid; grid-template-rows: auto 1fr;
  transition: transform .35s ease, box-shadow .35s ease;
}
.car-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10, 16, 14, 0.6); }
.photo { position: relative; aspect-ratio: 4 / 5; max-width: 100%; background: var(--surface-2); overflow: hidden; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); z-index: 1; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.car-card:hover .photo img { transform: scale(1.05); }
.photo::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 2; pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 12, 11, 0.35));
}
.photo-empty {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, color-mix(in srgb, var(--line) 45%, transparent) 22px 23px),
    var(--surface-2);
}
.photo-empty span { font: 600 13px/1 var(--f-data); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.car-body { padding: 26px; display: grid; gap: 18px; align-content: start; }
.car-body > .btn { align-self: end; }
.car-title { display: grid; gap: 6px; }
.car-title h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 850; font-stretch: 115%; }
.tag { font: 600 14px/1.2 var(--f-data); letter-spacing: 0.1em; text-transform: uppercase; color: var(--paint); }
.car-body > p { color: var(--muted); }
.specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs div { background: var(--surface); padding: 12px 14px; }
.specs dt { font: 600 12px/1 var(--f-data); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.specs dd { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.3; }
.specs dd.todo { color: var(--muted); font-style: italic; font-weight: 400; }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.g-item {
  position: relative; overflow: hidden; margin: 0; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 16px; background: var(--surface-2);
  height: clamp(220px, 26vw, 340px);
}
.g-a4 { grid-column: span 4; height: clamp(260px, 34vw, 460px); }
.g-a2 { grid-column: span 2; height: clamp(260px, 34vw, 460px); }
.g-b2 { grid-column: span 2; }
.g-c3 { grid-column: span 3; }
.g-item img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center);
  transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.g-item::after {
  content: ""; position: absolute; inset: 40% 0 0 0; pointer-events: none;
  background: linear-gradient(transparent, rgba(8, 12, 11, 0.7));
  opacity: 0; transition: opacity .4s ease;
}
.g-cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1;
  color: #F6F7F2; font: 500 14.5px/1.35 var(--f-body); text-align: left;
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease;
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.05); }
.g-item:hover::after, .g-item:focus-visible::after,
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; transform: none; }
/* no celular a legenda aparece só na tela cheia */
@media (hover: none) {
  .g-cap, .g-item::after { display: none; }
}
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .g-item { height: auto; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 12px; }
  .g-a4, .g-c3 { grid-column: span 2; aspect-ratio: 3 / 2; }
  .g-a2, .g-b2 { grid-column: span 1; }
}

/* ---------- Foto em tela cheia ---------- */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent;
  display: none; place-items: center;
  color: #F6F7F2;
}
.lightbox[open] { display: grid; animation: lb-in .35s ease both; }
.lightbox::backdrop {
  background: rgba(8, 12, 11, 0.72);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}
.lightbox img {
  max-width: calc(100vw - 32px); max-height: calc(100dvh - 140px);
  width: auto; height: auto; border-radius: 12px;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.8);
  transition: opacity .25s ease;
}
.lightbox img.is-loading { opacity: .35; }
.lb-cap {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  font-size: 15px;
}
.lb-count { font: 600 14px/1 var(--f-data); letter-spacing: 0.14em; opacity: .75; flex: none; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3); color: #fff;
  background: rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font: 400 30px/1 var(--f-body);
  transition: background .2s ease;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.26); }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; font-size: 26px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 720px) {
  .lb-prev, .lb-next { top: auto; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: none; }
  .lb-cap { width: calc(100vw - 160px); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 14px; }
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Ocasiões ---------- */
.occasions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.occ { padding: 28px 24px 28px 0; display: grid; gap: 10px; align-content: start; border-bottom: 1px solid var(--line); }
.occ + .occ { padding-left: 24px; border-left: 1px solid var(--line); }
.occ p { color: var(--muted); font-size: 16px; }
@media (max-width: 560px) { .occ + .occ { padding-left: 0; border-left: 0; } }

/* ---------- Passos ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 32px; }
.steps li { display: grid; gap: 12px; align-content: start; }
.steps p { color: var(--muted); font-size: 16px; }
.odo {
  justify-self: start;
  font: 700 22px/1 var(--f-data); letter-spacing: 0.25em;
  background: var(--ink); color: var(--bg);
  padding: 8px 6px 8px 12px; border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Reserva ---------- */
.reserve {
  background: rgba(12, 18, 16, 0.74);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--on-photo);
}
.reserve-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: clamp(32px, 6vw, 72px); align-items: start; }
.reserve .eyebrow, .reserve-copy > p { color: rgba(246, 247, 242, 0.88); }
.reserve-copy { display: grid; gap: 18px; }
.ticket {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  border-radius: 16px; padding: 8px 20px;
}
.ticket-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.ticket-row:last-child { border-bottom: 0; }
.ticket-row span { font: 600 13px/1.4 var(--f-data); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(246, 247, 242, 0.82); }
.ticket-row strong { font-weight: 600; text-align: right; }

.form {
  background: var(--glass-strong); color: var(--ink);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-line);
  border-radius: 22px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px;
}
.row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 600; }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input:not([type="range"]), .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--f-body); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--paint); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--paint) 30%, transparent); }
.field textarea { resize: vertical; }
.field input[type="range"] { width: 100%; accent-color: var(--paint); }
.field output { font-family: var(--f-data); font-size: 16px; color: var(--paint); font-weight: 700; }

.pick { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick-both { grid-column: 1 / -1; }
.pick legend { font-size: 14px; font-weight: 600; margin-bottom: 6px; padding: 0; }
.pick-opt { position: relative; cursor: pointer; }
.pick-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick-opt span {
  display: grid; gap: 2px; padding: 14px 16px;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface);
  transition: border-color .2s, background .2s;
}
.pick-opt strong { font: 800 18px/1.1 var(--f-display); font-stretch: 110%; }
.pick-opt small { font-size: 13px; color: var(--muted); }
.pick-opt input:checked + span { border-color: var(--paint); background: color-mix(in srgb, var(--paint) 14%, var(--surface)); box-shadow: inset 0 0 0 1px var(--paint); }
.pick-opt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.form-error { color: #B3261E; font-size: 15px; font-weight: 500; }

/* ---------- Pacotes ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; align-items: stretch; }
.pkg {
  display: grid; grid-template-rows: auto 1fr auto; gap: 22px;
  padding: 28px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-line);
  border-radius: 22px;
}
.pkg-featured { background: var(--ink); color: var(--bg); border-color: transparent; }
.pkg-featured .pkg-head p, .pkg-featured .pkg-list li, .pkg-featured .pkg-price small { color: color-mix(in srgb, var(--bg) 72%, var(--ink)); }
.pkg-featured .pkg-list li::before { background: var(--plate); }
.pkg-featured .pkg-foot { border-top-color: color-mix(in srgb, var(--bg) 20%, var(--ink)); }
.pkg-head { display: grid; gap: 10px; }
.pkg-head h3 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 850; font-stretch: 115%; }
.pkg-head p { color: var(--muted); font-size: 16px; }
.pkg-time {
  justify-self: start;
  font: 700 14px/1 var(--f-data); letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--plate); color: var(--plate-ink); padding: 6px 10px; border-radius: 6px;
}
.pkg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.pkg-list li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.45; }
.pkg-list li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%;
  background: var(--paint);
}
.pkg-foot { display: grid; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.pkg-price { font: 700 24px/1.1 var(--f-data); letter-spacing: 0.02em; display: grid; gap: 4px; }
.pkg-price small { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.pkg-featured .btn-plate { border-color: var(--plate); }

/* ---------- Dúvidas ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-grid .section-head { margin-bottom: 0; }
.faq { display: grid; border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0;
  font: 700 18px/1.3 var(--f-display); font-stretch: 105%;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 20px/1 var(--f-body);
  background: var(--glass-strong); border: 1px solid var(--line);
  transition: transform .25s ease, background .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--plate); color: var(--plate-ink); border-color: var(--plate); }
.faq details p { color: var(--muted); padding: 0 44px 22px 0; max-width: 62ch; }

/* ---------- Botões flutuantes ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dock {
  position: fixed; z-index: 60;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px;
  transform: translateY(0); opacity: 1;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s ease;
}
.dock.is-hidden { transform: translateY(24px); opacity: 0; pointer-events: none; }
.dock-wa {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  transition: transform .2s ease;
}
.dock-wa:hover { transform: scale(1.06); }
.dock-wa svg { width: 28px; height: 28px; fill: currentColor; }
.dock-chat {
  height: 54px; padding: 0 22px 0 18px;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px; border: 1px solid var(--glass-line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  color: var(--ink);
  font: 600 15px/1 var(--f-body);
  cursor: pointer;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.45);
  transition: transform .2s ease;
}
.dock-chat:hover { transform: translateY(-2px); }
.dock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--plate); box-shadow: 0 0 0 4px color-mix(in srgb, var(--plate) 35%, transparent); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--plate) 0%, transparent); } }
@media (max-width: 420px) { .dock-chat { padding: 0 16px; font-size: 14px; } }

/* ---------- Chat ---------- */
.chat {
  position: fixed; z-index: 70;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(82px + env(safe-area-inset-bottom, 0px));
  width: min(390px, calc(100vw - 32px));
  height: min(600px, calc(100dvh - 180px));
  display: flex; flex-direction: column;
  border-radius: 24px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(30px) saturate(170%);
  backdrop-filter: blur(30px) saturate(170%);
  border: 1px solid var(--glass-line);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  animation: chat-in .35s cubic-bezier(.2,.7,.2,1) both;
}
.chat[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--glass-line); }
.chat-id { display: flex; align-items: center; gap: 12px; }
.chat-id div { display: grid; gap: 2px; }
.chat-id strong { font: 750 16px/1.1 var(--f-display); font-stretch: 108%; }
.chat-id small { font-size: 12.5px; color: var(--muted); }
.chat-close {
  width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--glass-strong); color: var(--ink); font-size: 22px; line-height: 1;
}
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 18px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg-bot { align-self: flex-start; background: var(--glass-strong); border: 1px solid var(--glass-line); border-bottom-left-radius: 6px; }
.msg-user { align-self: flex-end; background: var(--ink); color: var(--bg); border-bottom-right-radius: 6px; }
.msg-typing { display: inline-flex; gap: 4px; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite ease-in-out; }
.msg-typing i:nth-child(2) { animation-delay: .15s; }
.msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-chips { display: flex; gap: 8px; overflow-x: auto; padding: 0 18px 10px; scrollbar-width: none; }
.chat-chips:empty { display: none; }
.chat-chips button {
  flex: none; cursor: pointer;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--glass-strong); color: var(--ink);
  font: 500 13.5px/1 var(--f-body);
}
.chat-chips button:hover { border-color: var(--paint); }
.chat-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--glass-line); }
.chat-form input {
  flex: 1; min-width: 0;
  font: 400 16px/1.3 var(--f-body); color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
  padding: 12px 16px;
}
.chat-form input:focus { outline: none; border-color: var(--paint); }
.chat-form button {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--plate); color: var(--plate-ink); display: grid; place-items: center;
}
.chat-form button:disabled { opacity: .5; cursor: default; }
.chat-form button svg { width: 20px; height: 20px; fill: currentColor; }
.chat-wa { display: block; text-align: center; padding: 0 12px 14px; font-size: 13px; color: var(--muted); }
.chat-wa:hover { color: var(--ink); }

/* ---------- Rodapé ---------- */
.footer {
  width: min(var(--max), calc(100% - 2 * var(--gutter)));
  margin: 24px auto calc(24px + env(safe-area-inset-bottom, 0px));
  border-radius: var(--panel-radius);
  background: var(--glass);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid var(--glass-line);
}
.footer-inner {
  padding: 32px clamp(20px, 5vw, 48px);
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
}
.footer-inner > div:first-child { display: grid; gap: 8px; }
.footer-contact { display: grid; gap: 2px; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--paint); }
.footer-contact strong, .footer-contact a { font: 700 22px/1 var(--f-data); letter-spacing: 0.04em; }

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