:root {
  --ground: #fff6ec; --surface: #ffffff; --ink: #1d1515; --muted: #5b4e4b;
  --accent: #c8161f; --accent-dark: #a51118; --yellow: #ffc52e; --line: #ecdccd;
  --focus: #1f5fb4;
  --font-display: "Fredoka", "Trebuchet MS", sans-serif;
  --font-text: "Figtree", system-ui, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r1: 6px; --r2: 14px; --r3: 28px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id], [id="escolher"] { scroll-margin-top: 80px; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--font-text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r1); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 2 * var(--s4)); margin-inline: auto; }

/* Topo */
.topo { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--ground) 92%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.topo__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marca { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--accent); }
.marca img { border-radius: 50%; }
.topo nav { display: flex; gap: var(--s5); }
.topo nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.topo nav a:hover { color: var(--accent); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 var(--s5); border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn--cheio { background: var(--accent); color: #fff; }
.btn--cheio:hover { background: var(--accent-dark); }
.btn--linha { border: 2px solid var(--ink); color: var(--ink); }
.btn--linha:hover { background: var(--ink); color: var(--ground); }

.selo {
  display: inline-block; font-weight: 600; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--accent); margin-bottom: var(--s4);
}

/* 1. Abertura */
.hero { padding: var(--s7) 0 var(--s8); }
.hero__in { display: grid; gap: var(--s7); align-items: center; }
.hero h1 { font-size: clamp(40px, 7.2vw, 72px); }
.hero__sub { margin-top: var(--s5); font-size: 19px; color: var(--muted); max-width: 52ch; }
.acoes { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero__foto { margin: 0; justify-self: center; width: min(360px, 82vw); position: relative; }
.hero__foto::before {
  content: ""; position: absolute; inset: var(--s5) calc(-1 * var(--s5)) calc(-1 * var(--s5)) var(--s5);
  background: var(--accent); border-radius: var(--r3);
}
.hero__foto img { position: relative; border-radius: var(--r3); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }

/* Assinatura: esteira */
.esteira { background: var(--ink); color: var(--ground); overflow: hidden; border-block: 6px solid var(--yellow); }
.esteira__trilho { display: flex; width: max-content; animation: esteira 38s linear infinite; }
.esteira span {
  font-family: var(--font-display); font-weight: 600; font-size: 22px; padding: var(--s4) var(--s5);
  display: inline-flex; align-items: center; gap: var(--s5); white-space: nowrap;
}
.esteira span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--ground); }
@keyframes esteira { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .esteira__trilho { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* 2. Sobre e unidades */
.unidades { padding: var(--s8) 0; }
.sobre { display: grid; gap: var(--s6); align-items: center; }
.sobre__foto { margin: 0; justify-self: center; width: min(360px, 82vw); }
.sobre__foto img { border-radius: var(--r3); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.sobre h2, .faq h2 { font-size: clamp(32px, 5vw, 48px); }
.sobre__texto p:not(.selo) { margin-top: var(--s4); color: var(--muted); max-width: 56ch; }

.titulo-secao { font-size: clamp(26px, 3.6vw, 34px); margin: var(--s8) 0 var(--s5); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r2); padding: var(--s5); border-top: 6px solid var(--accent); }
.card h3 { font-size: 26px; }
.card p { color: var(--muted); margin-top: var(--s1); }
.card__acoes { display: grid; gap: var(--s2); margin-top: var(--s5); }

.delivery { margin-top: var(--s5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); color: var(--muted); }
.delivery a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }

/* 3. Perguntas */
.faq { padding: var(--s8) 0 var(--s9); background: var(--surface); border-top: 1px solid var(--line); }
.faq__in { display: grid; gap: var(--s6); }
.faq__lista { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: var(--s5) 0; font-weight: 600; font-size: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ground);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 22px; color: var(--accent);
  transition: transform 200ms var(--ease-out);
}
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 var(--s5); color: var(--muted); max-width: 62ch; }
details a { color: var(--accent); font-weight: 600; }

/* Rodapé */
.rodape { background: var(--ink); color: #d9cfc9; padding: var(--s7) 0; font-size: 15px; }
.rodape__in { display: grid; gap: var(--s3); }
.rodape .marca { color: #fff; }
.rodape a { color: #fff; }
.rodape__copy { color: #a8998f; }

/* Telas maiores */
@media (min-width: 640px) {
  .card__acoes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card__acoes { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) {
  .hero { padding: var(--s9) 0; }
  .hero__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .hero__foto { justify-self: end; width: 400px; margin-right: var(--s5); }
  .sobre { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--s8); }
  .sobre__foto { width: 100%; max-width: 440px; }
  .faq__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s8); }
  .rodape__in { grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s6); }
}
