/* Aura, clínica de pele. Demonstração da Upsite Labs.
   Direção: campo de luz. Um campo verde profundo com a frase, uma faixa de
   fotografia a sangrar, e as secções seguintes em campos de cor franca.
   Space Grotesk para display, Instrument Sans para texto. Sem quadrícula,
   sem pauta, sem graticula. */

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Radius scale: pebbles. One soft 22px for small surfaces, 32px for fields and photographs, circles for discs and controls. */
  --r-seixo: 22px;
  --r-campo: 32px;
  --campo: #0f3b32;
  --campo-2: #16513f;
  --papel: #eff3ea;
  --papel-2: #e1e7da;
  --tinta: #13201c;
  --tinta-suave: #46584f;
  --sol: #e8913c;
  --sol-forte: #c86f1e;
  --alerta: #8f2a1c;
  --linha: rgba(19, 32, 28, 0.16);
  --linha-clara: rgba(239, 243, 234, 0.28);
  --sombra: 0 22px 48px -30px rgba(15, 59, 50, 0.55);

  --medida: 74rem;
  --goteira: clamp(1.15rem, 4.5vw, 3.5rem);
  --s1: 0.5rem;
  --s2: 0.85rem;
  --s3: 1.25rem;
  --s4: 1.9rem;
  --s5: 2.75rem;
  --s6: 4rem;
  --s7: clamp(4rem, 9vw, 8rem);

  --f-display: "Space Grotesk", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --f-texto: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: clamp(2.5rem, 6.4vw, 5rem);
  --fs-h2: clamp(1.9rem, 4.4vw, 3.4rem);
  --fs-h3: clamp(1.15rem, 2.2vw, 1.45rem);
  --fs-corpo: clamp(1rem, 1.1vw, 1.13rem);
  --fs-pequeno: 0.86rem;
  --fs-selo: 0.78rem;

  --motion: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--f-texto);
  font-size: var(--fs-corpo);
  line-height: 1.6;
  letter-spacing: 0.002em;
  overflow-x: hidden;
}
body.travado { overflow: hidden; }

h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
a { color: inherit; }

:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; border-radius: 2px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sec__titulo { font-size: var(--fs-h2); max-width: 22ch; }

.skip {
  position: absolute; left: var(--goteira); top: -4rem; z-index: 80;
  background: var(--sol); color: var(--tinta); padding: 0.7rem 1.1rem;
  font-weight: 600; text-decoration: none; border-radius: 0 0 6px 6px;
  transition: top 0.18s var(--motion);
}
.skip:focus { top: 0; }

/* ---------- cabeça ---------- */
.cabeca {
  position: sticky; top: 0; z-index: 40;
  background: var(--papel);
  border-bottom: 1px solid var(--linha);
}
.cabeca__in {
  max-width: var(--medida); margin-inline: auto;
  padding: 0.7rem var(--goteira);
  display: flex; align-items: center; gap: var(--s3);
}
.marca { display: inline-flex; align-items: baseline; gap: 0.55rem; text-decoration: none; }
.marca__nome { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; line-height: 1; }
.marca__sub { font-size: var(--fs-selo); text-transform: uppercase; letter-spacing: 0.12em; color: var(--tinta-suave); }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(0.8rem, 2vw, 1.7rem); }
.nav a {
  text-decoration: none; font-size: 0.94rem; padding: 0.6rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s var(--motion), color 0.2s var(--motion);
}
.nav a:hover { border-bottom-color: var(--sol); }

.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0.7rem 1.35rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: transform 0.16s var(--motion), background-color 0.2s var(--motion), color 0.2s var(--motion), border-color 0.2s var(--motion);
}
.botao--sol { background: var(--sol); color: var(--tinta); }
.botao--sol:hover { background: var(--sol-forte); color: var(--papel); }
.botao--linha { background: transparent; border-color: currentColor; }
.botao--linha:hover { background: currentColor; color: var(--campo); }
.botao--grande { min-height: 52px; padding: 0.85rem 1.7rem; font-size: 1rem; }
.botao--bloco { width: 100%; }
.botao:active { transform: translateY(1px); }

.cabeca__cta { white-space: nowrap; }

.hamburguer {
  display: none; width: 46px; height: 46px; border: none; background: transparent;
  cursor: pointer; position: relative;
}
.hamburguer__risco, .hamburguer__risco::before, .hamburguer__risco::after {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--tinta);
  content: ""; transition: transform 0.2s var(--motion);
}
.hamburguer__risco { top: 22px; left: 9px; width: 28px; }
.hamburguer__risco::before { top: -9px; }
.hamburguer__risco::after { top: 9px; }
.hamburguer[aria-expanded="true"] .hamburguer__risco { background: transparent; }
.hamburguer[aria-expanded="true"] .hamburguer__risco::before { transform: translateY(9px) rotate(45deg); }
.hamburguer[aria-expanded="true"] .hamburguer__risco::after { transform: translateY(-9px) rotate(-45deg); }

/* ---------- menu (dialog) ---------- */
.menu {
  border: none; padding: 0; margin: 0; width: 100%; max-width: none; height: 100%;
  max-height: none; background: var(--campo); color: var(--papel);
}
.menu::backdrop { background: rgba(15, 59, 50, 0.55); }
.menu__in {
  min-height: 100%; padding: var(--s5) var(--goteira) var(--s4);
  display: flex; flex-direction: column; gap: var(--s4);
  max-width: 34rem;
}
.menu__topo { display: flex; align-items: center; justify-content: space-between; }
.menu__fechar {
  min-height: 44px; padding: 0.6rem 1rem; background: transparent;
  border: 2px solid var(--linha-clara); border-radius: 999px; cursor: pointer; color: var(--papel);
}
.menu__lista { display: flex; flex-direction: column; gap: 0.35rem; font-family: var(--f-display); font-weight: 600; font-size: 1.9rem; }
.menu__lista a { text-decoration: none; display: inline-block; padding: 0.35rem 0; }
.menu__lista a:hover { color: var(--sol); }
.menu__nota { margin-top: auto; font-size: var(--fs-pequeno); color: rgba(239, 243, 234, 0.75); }

/* ---------- abertura: campo, janela e o feixe de luz ---------- */
.abertura { background: var(--campo); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); min-height: min(calc(100dvh - 72px), 820px); overflow: clip; }
.abertura__campo {
  color: var(--papel);
  padding: clamp(2.2rem, 5vw, 4rem) var(--goteira);
  padding-left: max(var(--goteira), calc((100vw - var(--medida)) / 2));
  display: flex; flex-direction: column; gap: var(--s3); justify-content: center;
}
.abertura__titulo { font-size: clamp(2rem, 3.6vw, 3.9rem); line-height: 1.02; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
.abertura__lead { max-width: 40ch; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(239, 243, 234, 0.9); }
.abertura__acoes { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s2); }
.abertura__acoes .botao--linha { color: var(--papel); }
.abertura__acoes .botao--linha:hover { background: var(--papel); color: var(--campo); }
.abertura__nota { font-size: var(--fs-pequeno); color: rgba(239, 243, 234, 0.78); max-width: 46ch; margin-top: var(--s2); }
.abertura__janela { position: relative; overflow: hidden; background: var(--campo-2); border-left: 6px solid var(--sol); }
.abertura__foto { position: absolute; inset: 0; margin: 0; }
.abertura__foto picture { display: block; height: 100%; }
.abertura__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.abertura__feixe {
  position: absolute; left: 0; top: 0; width: 70%; aspect-ratio: 1; margin: -35% 0 0 -35%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 236, 200, 0.55), rgba(255, 236, 200, 0.18) 55%, transparent);
  mix-blend-mode: soft-light; opacity: 0; transform: translate(var(--fx, 60%), var(--fy, 40%)); transition: opacity 0.6s var(--motion);
}
.abertura__janela.is-luz .abertura__feixe { opacity: 1; }
.discos { position: absolute; z-index: 2; left: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); display: flex; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.disco { width: clamp(64px, 7vw, 108px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--papel); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6); transition: transform 0.5s var(--motion); }
.disco img { width: 100%; height: 100%; object-fit: cover; }
.disco:hover { transform: translateY(-8px) scale(1.08); }
@media (prefers-reduced-motion: no-preference) {
  html.js .abertura__foto img { animation: respira 16s ease-in-out infinite alternate; }
  html.js .disco { animation: flutua 6s ease-in-out infinite alternate; }
  html.js .disco:nth-child(2) { animation-delay: -2s; }
  html.js .disco:nth-child(3) { animation-delay: -4s; }
  html.js .disco:hover { animation-play-state: paused; }
  @keyframes respira { from { transform: scale(1.02); } to { transform: scale(1.09); } }
  @keyframes flutua { from { transform: translateY(0); } to { transform: translateY(-10px); } }
}

/* ---------- declaração ---------- */
.declaracao {
  max-width: var(--medida); margin-inline: auto;
  padding: var(--s6) var(--goteira) var(--s5);
  display: grid; gap: var(--s4);
}
.declaracao__frase {
  font-family: var(--f-display); font-weight: 500; font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  line-height: 1.08; letter-spacing: -0.025em; max-width: 24ch;
  color: var(--campo);
}
.declaracao__apoio { max-width: 56ch; color: var(--tinta-suave); font-size: 1.06rem; }

/* ---------- temas ---------- */
.temas { padding: var(--s6) 0; }
.temas__cabeca {
  max-width: var(--medida); margin-inline: auto;
  padding-inline: var(--goteira); margin-bottom: var(--s4);
}
.temas__nota { color: var(--tinta-suave); max-width: 64ch; margin-top: var(--s2); }

.temas__corpo { max-width: var(--medida); margin-inline: auto; padding-inline: var(--goteira); }

.laminas {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px;
}
.lamina { min-width: 0; }
.lamina__btn {
  width: 100%; min-height: clamp(11rem, 22vw, 17rem);
  border: none; border-radius: var(--r-seixo); cursor: pointer; text-align: left;
  padding: var(--s3) var(--s2);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 0.4rem;
  color: var(--papel); background: var(--campo);
  transition: transform 0.2s var(--motion), background-color 0.2s var(--motion), color 0.2s var(--motion);
}
.lamina__btn[data-cor="campo"] { background: var(--campo); color: var(--papel); }
.lamina__btn[data-cor="campo-2"] { background: var(--campo-2); color: var(--papel); }
.lamina__btn[data-cor="sol"] { background: var(--sol); color: var(--tinta); }
.lamina__btn[data-cor="tinta"] { background: var(--tinta); color: var(--papel); }
.lamina__btn:hover { transform: translateY(-4px); }
.lamina__btn[aria-expanded="true"] {
  box-shadow: inset 0 0 0 4px var(--papel);
  transform: translateY(-4px);
}
.lamina__btn[data-cor="sol"][aria-expanded="true"] { box-shadow: inset 0 0 0 4px var(--tinta); }
.lamina__nome { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.lamina__pista { font-size: var(--fs-pequeno); opacity: 0.82; }

.painel { margin-top: 8px; }
.painel__tema[hidden] { display: none; }
.painel__tema {
  padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--r-campo);
  display: grid; gap: var(--s3);
}
.painel__tema[data-cor="campo"] { background: var(--campo); color: var(--papel); }
.painel__tema[data-cor="campo-2"] { background: var(--campo-2); color: var(--papel); }
.painel__tema[data-cor="sol"] { background: var(--sol); color: var(--tinta); }
.painel__tema[data-cor="tinta"] { background: var(--tinta); color: var(--papel); }
.painel__tema h3 { font-size: var(--fs-h3); }
.painel__tema p { max-width: 62ch; }
.painel__med { font-size: var(--fs-pequeno); opacity: 0.85; border-top: 1px solid currentColor; padding-top: var(--s2); }

/* ---------- faixa ---------- */
.faixa { margin: 0 clamp(0.6rem, 2vw, 1.4rem); height: clamp(14rem, 34vw, 30rem); overflow: hidden; border-radius: var(--r-campo); }
.faixa img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- conversa: painel sobre a fotografia ---------- */
.conversa { padding: 0; }
.conversa__palco { position: relative; display: flex; align-items: center; min-height: clamp(28rem, 60vw, 44rem); }
.conversa__fig { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.conversa__fig img { width: 100%; height: 100%; object-fit: cover; }
.conversa__painel {
  position: relative; z-index: 2; background: var(--papel);
  max-width: min(46rem, 60%);
  margin-left: max(var(--goteira), calc((100vw - var(--medida)) / 2));
  padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--r-campo);
  box-shadow: var(--sombra);
}
.conversa__lead { margin: var(--s3) 0 0; color: var(--tinta-suave); font-size: 1.08rem; max-width: 52ch; }
.passos { display: grid; gap: var(--s3); margin-top: var(--s4); }
.passo { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.1rem 0.8rem; align-items: start; }
.passo__n { grid-row: span 2; font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; color: var(--campo); line-height: 1; }
.passo h3 { font-family: var(--f-texto); font-weight: 600; font-size: 1.06rem; margin: 0 0 0.15rem; }
.passo p { color: var(--tinta-suave); max-width: 52ch; }
.conversa__cred { font-size: var(--fs-pequeno); color: var(--tinta-suave); margin-top: var(--s4); max-width: 44ch; }

/* ---------- valores ---------- */
.valores { background: var(--campo-2); color: var(--papel); }
.valores__in { max-width: var(--medida); margin-inline: auto; padding: var(--s6) var(--goteira); }
.valores__cabeca { margin-bottom: var(--s5); }
.valores__cabeca p { color: rgba(239, 243, 234, 0.85); max-width: 58ch; margin-top: var(--s2); }
.valores__lista { border-top: 2px solid var(--linha-clara); }
.valor {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: 0.2rem var(--s4); padding: var(--s3) 0; align-items: baseline;
}
.valor:last-child { border-bottom: 2px solid var(--linha-clara); }
.valor__preco { grid-row: span 2; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--sol); min-width: 4.5ch; }
.valor__nome { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; margin: 0; }
.valor__desc { color: rgba(239, 243, 234, 0.85); max-width: 58ch; }
.valores__nota { margin-top: var(--s4); font-size: var(--fs-pequeno); color: rgba(239, 243, 234, 0.72); max-width: 62ch; }
.horas { margin-top: var(--s5); }
.horas h3 { font-family: var(--f-texto); font-weight: 600; font-size: 1rem; }
.horas p { color: rgba(239, 243, 234, 0.85); margin-top: 0.4rem; max-width: 55ch; }

/* ---------- antes ---------- */
.antes { max-width: var(--medida); margin-inline: auto; padding: var(--s6) var(--goteira); }
.antes__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.6rem, 4vw, 4rem); align-items: start; }
.antes__lead { margin: var(--s3) 0 var(--s4); color: var(--tinta-suave); font-size: 1.06rem; }
.factos { display: grid; gap: var(--s3); }
.factos dt { font-weight: 600; }
.factos dd { margin: 0.2rem 0 0; color: var(--tinta-suave); max-width: 48ch; }
.antes__fig { margin: 0; }
.antes__fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-campo); }
.antes__fig figcaption { font-size: var(--fs-pequeno); color: var(--tinta-suave); margin-top: var(--s2); max-width: 40ch; }
.saude { background: var(--papel-2); border-left: 6px solid var(--campo); border-radius: var(--r-seixo); padding: var(--s4) var(--s4) var(--s4) var(--s5); display: grid; gap: var(--s2); margin-top: var(--s5); }
.saude h3 { font-family: var(--f-texto); font-weight: 600; font-size: 1.05rem; }
.saude p { color: var(--tinta-suave); font-size: 0.98rem; max-width: 66ch; }

/* ---------- no-JS fallback (was an inline noscript style) ---------- */
html:not(.js) .painel__tema[hidden] { display: grid; margin-bottom: 8px; }
html:not(.js) .hamburguer { display: none !important; }
html:not(.js) .nav { display: block !important; }
html:not(.js) .nav ul { flex-direction: column; gap: 0.2rem; }

/* ---------- entre consultas: pebbles ---------- */
.entre { background: var(--papel-2); }
.entre__in { max-width: var(--medida); margin-inline: auto; padding: var(--s6) var(--goteira); }
.entre__lead { color: var(--tinta-suave); max-width: 60ch; margin: var(--s2) 0 var(--s5); }
.seixos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); margin: 0; padding: 0; list-style: none; align-items: start; }
.seixo { background: var(--papel); border: 2px solid var(--linha); border-radius: 46% 54% 40% 60% / 42% 38% 62% 58%; padding: clamp(1.8rem, 3vw, 2.6rem) clamp(1.3rem, 2.4vw, 2rem); min-height: 15rem; display: grid; align-content: center; gap: 0.5rem; }
.seixo:nth-child(2) { border-radius: 58% 42% 55% 45% / 50% 60% 40% 50%; margin-top: var(--s4); }
.seixo:nth-child(4) { border-radius: 40% 60% 48% 52% / 58% 44% 56% 42%; margin-top: var(--s4); }
.seixo--sol { background: var(--sol); border-color: var(--sol); color: var(--tinta); }
.seixo--campo { background: var(--campo); border-color: var(--campo); color: var(--papel); }
.seixo h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; line-height: 1.15; }
.seixo p { font-size: 0.93rem; }
.seixo:not(.seixo--sol):not(.seixo--campo) p { color: var(--tinta-suave); }
.sessao { margin-top: var(--s5); background: var(--tinta); color: var(--papel); border-radius: var(--r-campo); padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: var(--s4); align-items: start; }
.sessao h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; }
.sessao p { color: rgba(239, 243, 234, 0.88); max-width: 60ch; }

/* ---------- dúvidas ---------- */
.duvidas__in { max-width: var(--medida); margin-inline: auto; padding: var(--s6) var(--goteira); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s4) clamp(1.6rem, 5vw, 4rem); align-items: start; }
.duvidas__in .sec__titulo { grid-row: span 2; }
.faq { display: grid; gap: 0.6rem; }
.faq details { background: var(--papel-2); border-radius: var(--r-seixo); }
.faq details[open] { background: var(--campo); color: var(--papel); }
.faq summary { list-style: none; cursor: pointer; min-height: 54px; padding: 0.9rem 3.6rem 0.9rem 1.3rem; font-weight: 600; position: relative; border-radius: var(--r-seixo); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: var(--sol); color: var(--tinta); display: grid; place-items: center; font-weight: 700; line-height: 1; transition: transform 0.25s var(--motion); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary:focus-visible { outline-color: var(--papel); }
.faq details p { padding: 0 1.3rem 1.2rem; max-width: 62ch; }
.faq details[open] p { color: rgba(239, 243, 234, 0.9); }
.local { border: 2px solid var(--linha); border-radius: var(--r-seixo); padding: var(--s3) var(--s4); }
.local h3 { font-family: var(--f-texto); font-weight: 600; font-size: 1.05rem; }
.local p { color: var(--tinta-suave); margin-top: 0.3rem; }
@media (max-width: 980px) {
  .seixos { grid-template-columns: 1fr 1fr; }
  .duvidas__in, .sessao { grid-template-columns: 1fr; }
  .duvidas__in .sec__titulo { grid-row: auto; }
}
@media (max-width: 560px) {
  .seixos { grid-template-columns: 1fr; }
  .seixo, .seixo:nth-child(n) { margin-top: 0; min-height: 0; border-radius: var(--r-campo); }
}

/* ---------- pedido ---------- */
.pedido { background: var(--tinta); color: var(--papel); }
.pedido__in {
  max-width: var(--medida); margin-inline: auto; padding: var(--s6) var(--goteira);
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.6rem, 4vw, 4rem); align-items: start;
}
.pedido__lead { margin: var(--s3) 0 var(--s3); color: rgba(239, 243, 234, 0.85); max-width: 44ch; }
.pedido__demo { font-size: var(--fs-pequeno); color: var(--sol); max-width: 44ch; }
.form { display: grid; gap: var(--s3); }
.campo { display: grid; gap: 0.45rem; }
.campo label, .campo legend { font-weight: 600; font-size: 0.98rem; }
.campo--grupo { border: 0; padding: 0; margin: 0; }
.campo--grupo legend { padding: 0; margin-bottom: 0.5rem; }
.campo input:not([type="checkbox"]):not([type="radio"]), .campo textarea, .campo select {
  appearance: none; -webkit-appearance: none; font: inherit; color: var(--tinta); background: var(--papel);
  border: 2px solid var(--papel); border-radius: 14px; padding: 0.75rem 1rem; min-height: 50px; width: 100%;
  transition: border-color 0.2s var(--motion), box-shadow 0.2s var(--motion), background 0.2s var(--motion);
}
.campo textarea { min-height: 7rem; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--tinta-suave); opacity: 1; }
.campo input:not([type="checkbox"]):not([type="radio"]):hover, .campo textarea:hover, .campo select:hover { border-color: var(--sol); box-shadow: 0 0 0 4px rgba(232, 145, 60, 0.22); }
.campo input:not([type="checkbox"]):not([type="radio"]):focus-visible, .campo textarea:focus-visible, .campo select:focus-visible {
  border-color: var(--sol); background: #fff; outline: 3px solid var(--sol); outline-offset: 3px; box-shadow: none;
}
.campo input:disabled, .campo textarea:disabled, .campo select:disabled { background: transparent; color: rgba(239, 243, 234, 0.7); border-style: dashed; border-color: var(--linha-clara); cursor: not-allowed; }
.seletor { position: relative; }
.seletor select { padding-right: 3.2rem; cursor: pointer; }
.seletor::after { content: ""; position: absolute; right: 0.55rem; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; background: var(--campo); pointer-events: none; }
.seletor::before { content: ""; position: absolute; z-index: 1; right: 1.3rem; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--papel); border-bottom: 2px solid var(--papel); transform: rotate(45deg); pointer-events: none; }
.pilulas { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pilula { position: relative; display: inline-flex; align-items: center; gap: 0.6rem; min-height: 46px; padding: 0.55rem 1.1rem 0.55rem 0.8rem; border: 2px solid var(--linha-clara); border-radius: 999px; cursor: pointer; transition: border-color 0.2s var(--motion), background 0.2s var(--motion); }
.pilula input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pilula span::before { content: ""; display: inline-block; vertical-align: -3px; width: 16px; height: 16px; margin-right: 0.6rem; border-radius: 50%; border: 2px solid var(--papel); transition: box-shadow 0.2s var(--motion), background 0.2s var(--motion); }
.pilula:hover { border-color: var(--sol); }
.pilula:has(input:checked) { background: var(--papel); color: var(--tinta); border-color: var(--papel); }
.pilula:has(input:checked) span::before { border-color: var(--tinta); background: var(--sol); box-shadow: inset 0 0 0 3px var(--papel); }
.pilula:has(input:focus-visible) { outline: 3px solid var(--sol); outline-offset: 3px; }
.pilula:has(input:disabled) { opacity: 0.5; border-style: dashed; cursor: not-allowed; }
.campo--caixa { grid-template-columns: 28px 1fr; column-gap: 0.85rem; align-items: start; }
.campo--caixa input { appearance: none; -webkit-appearance: none; margin: 2px 0 0; width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--papel); background: transparent; cursor: pointer; position: relative; transition: background 0.2s var(--motion), box-shadow 0.2s var(--motion); }
.campo--caixa input::after { content: ""; position: absolute; left: 8px; top: 3px; width: 7px; height: 13px; border-right: 3px solid var(--tinta); border-bottom: 3px solid var(--tinta); transform: rotate(45deg) scale(0); transition: transform 0.22s cubic-bezier(0.3, 1.6, 0.5, 1); }
.campo--caixa input:hover { box-shadow: 0 0 0 4px rgba(232, 145, 60, 0.3); }
.campo--caixa input:checked { background: var(--sol); border-color: var(--sol); }
.campo--caixa input:checked::after { transform: rotate(45deg) scale(1); }
.campo--caixa input:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; }
.campo--caixa input:disabled { border-style: dashed; cursor: not-allowed; }
.campo--caixa label { font-weight: 500; font-size: 0.95rem; cursor: pointer; }
.campo--caixa .erro { grid-column: 2; }
.campo.invalido.campo--caixa input { border-color: #ffb3a3; box-shadow: 0 0 0 4px rgba(255, 179, 163, 0.3); }
.dica { font-size: var(--fs-pequeno); color: rgba(239, 243, 234, 0.78); }
.erro { font-size: var(--fs-pequeno); color: #ffb3a3; font-weight: 600; }
.erro::before { content: "! "; }
.campo.invalido input:not([type="checkbox"]), .campo.invalido textarea { border-color: #ffb3a3; background: #fbe9e4; box-shadow: 0 0 0 4px rgba(255, 179, 163, 0.3); }
.form__acoes { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-top: var(--s2); }
.form__estado { font-size: var(--fs-pequeno); color: var(--papel); }
.form__nota { font-size: var(--fs-pequeno); color: rgba(239, 243, 234, 0.72); max-width: 52ch; }

/* ---------- rodapé ---------- */
.rodape { background: var(--campo); color: var(--papel); }
.rodape__in { max-width: var(--medida); margin-inline: auto; padding: var(--s6) var(--goteira); display: grid; gap: var(--s4); }
.rodape__topo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: var(--s3); align-items: baseline; border-bottom: 1px solid var(--linha-clara); padding-bottom: var(--s4); }
.rodape__nome { font-family: var(--f-display); font-weight: 600; font-size: 2rem; }
.rodape__linha { color: rgba(239, 243, 234, 0.82); max-width: 60ch; }
.rodape__nav ul { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.rodape__nav a { text-decoration: none; font-size: 0.96rem; }
.rodape__nav a:hover { color: var(--sol); }
.rodape__nota { display: grid; gap: var(--s2); max-width: 74ch; }
.rodape__nota-t { font-weight: 600; color: var(--sol); }
.rodape__nota p { font-size: var(--fs-pequeno); color: rgba(239, 243, 234, 0.72); }

.sem-js { max-width: var(--medida); margin: 0 auto; padding: var(--s3) var(--goteira); font-size: var(--fs-pequeno); color: var(--tinta-suave); }

/* ---------- revelação ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); }
  html.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 0.75s var(--motion), transform 0.75s var(--motion); }

  /* Entrada da abertura: o campo assenta linha a linha. Só com script, e nunca
     com movimento reduzido; sem JavaScript o conteúdo está simplesmente visível. */
  @keyframes sobe {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
  html.js .abertura__campo > * { animation: sobe 0.6s var(--motion) both; }
  html.js .abertura__campo > :nth-child(1) { animation-delay: 0.02s; }
  html.js .abertura__campo > :nth-child(2) { animation-delay: 0.09s; }
  html.js .abertura__campo > :nth-child(3) { animation-delay: 0.16s; }
  html.js .abertura__campo > :nth-child(4) { animation-delay: 0.23s; }

  /* Troca de lâmina: o painel entra, o que liga a escolha ao que se lê. */
  @keyframes painelEntra {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
  html.js .painel__tema { animation: painelEntra 0.42s var(--motion) both; }
}

section[id], figure[id] { scroll-margin-top: 5.5rem; }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .nav, .cabeca__cta { display: none; }
  .hamburguer { display: block; margin-left: auto; }
  .abertura { grid-template-columns: 1fr; min-height: 0; }
  .abertura__campo { padding-left: var(--goteira); }
  .abertura__janela { min-height: clamp(20rem, 70vw, 30rem); border-left: 0; border-top: 6px solid var(--sol); }
  .conversa__palco { display: block; min-height: 0; }
  .conversa__fig { position: relative; inset: auto; height: clamp(13rem, 46vw, 22rem); }
  .conversa__painel { max-width: 100%; margin: calc(var(--s4) * -1) var(--goteira) 0; padding: var(--s4) var(--goteira); }
  .antes__grid, .pedido__in { grid-template-columns: 1fr; }
  .rodape__topo { grid-template-columns: 1fr; }
  .laminas { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 3px; margin-bottom: -3px; }
  .lamina { flex: 0 0 58%; scroll-snap-align: start; }
}

@media (max-width: 560px) {
  .abertura__acoes { flex-direction: column; align-items: stretch; }
  .abertura__acoes .botao { width: 100%; }
  .valor { grid-template-columns: 1fr; }
  .valor__preco { grid-row: auto; }
  .marca__sub { display: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .menu::backdrop { background: var(--campo); }
}

@media print {
  .cabeca, .menu, .hamburguer, .skip, .sem-js { display: none !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}

.loader{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;pointer-events:none;animation:loader-out .3s ease .8s forwards}
.loader.loader-out{animation:loader-out .25s ease forwards}
@keyframes loader-out{to{opacity:0;visibility:hidden}}
@media (prefers-reduced-motion:reduce){.loader,.loader *{animation:none!important}.loader{display:none}}
.loader{background:var(--campo)}
.loader>span{grid-area:1/1}
.loader-sun{width:40px;height:40px;border-radius:50%;background:var(--sol);animation:aura-sun .7s ease-out forwards;transform:scale(.4)}
.loader-beam{width:2px;height:40vh;background:linear-gradient(transparent,var(--sol),transparent);transform:scaleY(0);animation:aura-beam .7s ease-out forwards;opacity:.8}
@keyframes aura-sun{to{transform:scale(1)}}
@keyframes aura-beam{to{transform:scaleY(1)}}

/* Loader timing: visible ~1.2s then fade (JS); CSS fallback hides ~2.2s with no JS. */
.loader{animation:loader-fallback 2.2s cubic-bezier(.16,1,.3,1) both;transition:opacity .5s ease}
.loader.is-out{opacity:0!important;visibility:hidden!important}
@keyframes loader-fallback{0%,84%{opacity:1;visibility:visible}100%{opacity:0;visibility:hidden}}
