/* ==========================================================
   Base: reset, tipografia, botões e utilitários
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--ink); color: var(--cream);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: clip; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }

/* Ícones (sprite no index.html) */
.ic { width: 1.35em; height: 1.35em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--fill { fill: currentColor; stroke: none; }

/* Títulos */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .012em; line-height: 1.04; }
h2 { font-size: clamp(2.05rem, 4.7vw, 3.7rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.hl { color: var(--orange); }
.mark {
  background: linear-gradient(100deg, var(--orange), var(--ember)); color: #160802;
  padding: .02em .2em .0em; border-radius: .22em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.script { font-family: var(--font-script); text-transform: none; letter-spacing: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem; color: var(--orange);
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; border-radius: 2px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .5rem .5rem 1.6rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--ember)); color: #160802;
  font-weight: 800; font-size: 1.02rem; line-height: 1.15; text-align: left;
  box-shadow: 0 14px 34px -10px rgba(255, 98, 20, .65), inset 0 1px 0 rgba(255, 255, 255, .4);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 20px 40px -10px rgba(255, 98, 20, .75), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn:active { transform: translateY(0); }
.btn__i { width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--ink); color: var(--orange); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease); }
.btn:hover .btn__i { transform: translateX(3px); }
.btn--lg { font-size: 1.12rem; padding-left: 1.9rem; }
.btn--lg .btn__i { width: 3rem; height: 3rem; }
.btn--sm { font-size: .92rem; padding: .35rem .35rem .35rem 1.15rem; }
.btn--sm .btn__i { width: 2.1rem; height: 2.1rem; }
.btn--ghost { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--cream); filter: none; }
.btn--ghost .btn__i { background: var(--cream); color: var(--ink); }
.btn--block { width: 100%; }

/* Seções */
.section { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.section--alt { background: var(--ink-2); }
.section__head { max-width: 800px; display: grid; gap: 1.1rem; margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section__head .lead { margin-top: .2rem; }

/* Revelar ao rolar (só com JS ativo) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Lista com marcadores em check */
.ticks { display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .7rem; align-items: start; }
.ticks li::before {
  content: ""; width: 1.5rem; height: 1.5rem; border-radius: 50%; margin-top: .12rem;
  background: rgba(255, 122, 26, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff7a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  width: min(92vw, 460px); background: var(--cream); color: var(--ink); padding: 14px 18px; border-radius: 16px; font-size: .95rem; font-weight: 600;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .6); transition: .35s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Placeholders para imagens ainda não enviadas */
.slot { position: relative; background: repeating-linear-gradient(135deg, rgba(246,236,218,.05) 0 12px, transparent 12px 24px), var(--panel); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); display: grid; place-items: center; text-align: center; padding: 1.5rem; color: var(--muted); }
.slot .ic { width: 2.4rem; height: 2.4rem; color: var(--orange); margin: 0 auto .8rem; }
.slot strong { display: block; color: var(--cream); font-size: 1rem; }
.slot small { display: block; margin-top: .35rem; font-size: .82rem; }
.slot-wrap > img { width: 100%; height: 100%; object-fit: contain; }
.slot-wrap.is-missing > img { display: none; }
.slot-wrap:not(.is-missing) > .slot { display: none; }

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