/* Reset básico (fora do Claude não há esqueleto pronto) */
:root { color-scheme: light; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Layout: hero vermelho com o trio de garrafinhas e o menino, bordas em festão, vitrine dos 3 sabores, ficha do produto e faixa amarela com a lista de espera. */
  :root {
    --red: #D92B19;
    --red-deep: #A51C0E;
    --yellow: #FFC82E;
    --butter: #FFE9A0;
    --ink: #3A120C;
    --cream: #FFF8E4;
    --leaf: #4DB327;

    --alegria: #E0173F;
    --diversao: #FF8A1F;
    --limonada: #FF7FA8;

    --bg: #FFF8E4;
    --surface: #FFFFFF;
    --text: #3A120C;
    --muted: #7A4A3E;
    --line: #EBCF92;

    --font-display: 'Baloo 2', 'Trebuchet MS', 'Arial Rounded MT Bold', system-ui, sans-serif;
    --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
    --gutter-l: max(16px, env(safe-area-inset-left, 0px));
    --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
      --bg: #2A0F0B; --surface: #3C1811; --text: #FFF3D1; --muted: #E8C7A6; --line: #5E2C1E;
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #2A0F0B; --surface: #3C1811; --text: #FFF3D1; --muted: #E8C7A6; --line: #5E2C1E;
    color-scheme: dark;
  }

  * { box-sizing: border-box; }
  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    overflow-x: hidden;
  }
  h1, h2, h3 { font-family: var(--font-display); line-height: 1.02; margin: 0; text-wrap: balance; }
  p { margin: 0; }
  .wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding-left: var(--gutter-l);
    padding-right: var(--gutter-r);
  }
  :focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
  .defs { position: absolute; width: 0; height: 0; overflow: hidden; }

  /* ---------- Hero ---------- */
  .hero { background: var(--red); color: var(--cream); position: relative; overflow: hidden; }
  .nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px 8px; }
  .brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .01em; }
  .brand svg { width: 34px; height: 34px; flex: none; }
  .pill {
    font-family: var(--font-display); font-weight: 800; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
    background: var(--yellow); color: var(--ink); padding: 4px 14px; border-radius: 999px; white-space: nowrap;
    transform: rotate(2deg);
  }
  .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding-block: 28px 56px; }
  .hero-copy { min-width: 0; }
  .hero h1 { font-weight: 800; font-size: clamp(2.5rem, 8vw, 4.4rem); }
  .hero h1 .hl { color: var(--yellow); }
  .hero .lead { margin-top: 18px; font-size: 1.12rem; max-width: 36ch; color: var(--cream); }
  .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; align-items: center; }
  .btn {
    font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; line-height: 1;
    border: 3px solid var(--ink); border-radius: 18px; padding: 14px 22px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease;
  }
  .btn-buy { background: var(--yellow); color: var(--ink); box-shadow: 0 5px 0 var(--ink); cursor: help; }
  .btn-buy .tag { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; background: var(--red); color: var(--cream); padding: 4px 9px; border-radius: 999px; }
  .btn-buy:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
  .btn-buy:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
  .btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
  .btn-ghost:hover { background: var(--cream); color: var(--red-deep); }

  .stage { position: relative; display: grid; place-items: center; min-width: 0; padding: 10px; }
  .sun {
    position: absolute; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%;
    background: var(--red-deep); outline: 4px dotted var(--butter); outline-offset: -14px; opacity: .95;
  }
  .trio { position: relative; width: min(100%, 440px); height: auto; animation: bob 5s ease-in-out infinite; }
  .floaty { position: absolute; width: 44px; height: 44px; animation: bob 5s ease-in-out infinite; }
  .f1 { left: 2%; top: 6%; animation-delay: -1s; }
  .f2 { right: 3%; top: 2%; width: 34px; height: 34px; animation-delay: -2.5s; }
  .f3 { right: 4%; bottom: 2%; width: 38px; height: 38px; animation-delay: -3.2s; }
  @keyframes bob { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }

  .scallop-up { height: 24px; margin-top: -24px; position: relative;
    background: radial-gradient(circle at 20px 24px, var(--bg) 19.5px, transparent 20.5px) 0 0 / 40px 24px repeat-x; }

  /* ---------- Sabores ---------- */
  .flavors-sec { padding-block: 40px 64px; }
  .eyebrow { font-family: var(--font-display); font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .12em; font-size: .9rem; }
  :root[data-theme="dark"] .eyebrow { color: var(--yellow); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .eyebrow { color: var(--yellow); } }
  .sec-title { font-size: clamp(2rem, 5.5vw, 3rem); font-weight: 800; margin-top: 6px; max-width: 20ch; }
  .sec-lead { margin-top: 12px; color: var(--muted); max-width: 52ch; }
  .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px 24px; margin-top: 36px; }
  .flavor {
    background: var(--surface); border: 3px solid var(--red); border-radius: 26px; overflow: hidden;
    box-shadow: 7px 7px 0 var(--flavor); min-width: 0; transition: transform .2s ease; display: flex; flex-direction: column;
    position: relative; transform: rotate(var(--rot, 0deg)); cursor: pointer;
  }
  .flavor:nth-child(1) { --rot: -1deg; }
  .flavor:nth-child(2) { --rot: .8deg; }
  .flavor:nth-child(3) { --rot: -.6deg; }
  .flavor:hover { transform: rotate(0) translateY(-3px); }
  .flavor::after {
    content: ""; position: absolute; inset: 0; background: var(--flavor); opacity: 0; pointer-events: none;
  }
  .flavor.pop { animation: flavor-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
  .flavor.pop::after { animation: flavor-flash .5s ease-out; }
  .flavor.pop .bottle-svg { animation: flavor-bottle-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
  @keyframes flavor-pop {
    0% { transform: rotate(var(--rot, 0deg)) scale(1); }
    30% { transform: rotate(var(--rot, 0deg)) scale(.94); }
    60% { transform: rotate(var(--rot, 0deg)) scale(1.05); }
    100% { transform: rotate(var(--rot, 0deg)) scale(1); }
  }
  @keyframes flavor-flash {
    0% { opacity: .35; }
    100% { opacity: 0; }
  }
  @keyframes flavor-bottle-pop {
    0% { transform: translateY(0) scale(1, 1); }
    30% { transform: translateY(5px) scale(.92, 1.08); }
    60% { transform: translateY(-9px) scale(1.05, .95); }
    100% { transform: translateY(0) scale(1, 1); }
  }
  .flavor-art {
    background: var(--butter);
    background: color-mix(in srgb, var(--flavor) 24%, var(--surface));
    background-image: radial-gradient(circle at 1px 1px, rgba(58,18,12,.16) 1.4px, transparent 1.8px);
    background-size: 16px 16px;
    border-bottom: 3px solid var(--red); display: grid; place-items: center; padding: 22px 12px 14px;
  }
  .bottle-svg { width: 112px; height: auto; display: block; }
  .flavor-body { padding: 18px 20px 22px; display: grid; gap: 12px; min-width: 0; }
  .flavor h3 { font-size: 1.9rem; font-weight: 800; color: var(--text); }
  .flavor .desc { color: var(--muted); }
  .chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
  .chips li { font-weight: 800; font-size: .86rem; padding: 3px 11px; border-radius: 999px; background: var(--bg); border: 2px solid var(--line); color: var(--text); }
  .flavor .meta { font-weight: 800; font-size: .92rem; color: var(--text); display: flex; align-items: center; gap: 8px; }
  .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--flavor); border: 2px solid var(--ink); flex: none; }

  /* ---------- Rótulo limpo ---------- */
  .clean { padding-block: 0 72px; }
  .clean-copy { min-width: 0; max-width: 820px; margin: 0 auto; text-align: center; }
  .checks {
    list-style: none; margin: 22px 0 0; padding: 0; max-width: none;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 18px; justify-items: start; text-align: left;
  }
  .checks li { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.08rem; }
  .checks svg { width: 30px; height: 30px; flex: none; }

  /* ---------- Lista de espera ---------- */
  .signup { background: var(--yellow); color: var(--ink); position: relative; padding-block: 64px 72px; }
  .scallop-down { position: absolute; left: 0; right: 0; top: 0; height: 24px;
    background: radial-gradient(circle at 20px 0, var(--bg) 19.5px, transparent 20.5px) 0 0 / 40px 24px repeat-x; }
  .signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
  .signup-copy { min-width: 0; }
  .signup h2 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; }
  .signup .sub { margin-top: 14px; font-size: 1.12rem; max-width: 36ch; }
  .steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-weight: 800; }
  .steps li { display: flex; align-items: center; gap: 12px; }
  .steps b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: var(--cream); font-family: var(--font-display); }

  .form-card {
    background: var(--surface); color: var(--text); border: 3px solid var(--ink); border-radius: 28px;
    padding: 26px; box-shadow: 8px 8px 0 var(--red); min-width: 0; transform: rotate(.8deg);
  }
  .form-card h3 { font-size: 1.7rem; font-weight: 800; }
  .field { margin-top: 16px; display: grid; gap: 6px; }
  .field label, .field legend { font-weight: 800; font-size: .95rem; padding: 0; }
  .field .opt { font-weight: 400; color: var(--muted); }
  fieldset.field { border: 0; margin: 16px 0 0; padding: 0; min-width: 0; }
  .phone-row { display: flex; gap: 8px; min-width: 0; }
  .cc { flex: none; display: grid; place-items: center; padding: 0 14px; font-weight: 800; background: var(--butter); color: var(--ink); border: 3px solid var(--ink); border-radius: 14px; }
  input[type="text"], input[type="tel"] {
    width: 100%; min-width: 0; font: inherit; font-size: 1.1rem; padding: 12px 14px;
    background: var(--bg); color: var(--text); border: 3px solid var(--ink); border-radius: 14px;
  }
  input::placeholder { color: var(--muted); opacity: .7; }
  input:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
  .pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
  .pick label { position: relative; font-weight: 800; }
  .pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
  .pick span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 3px solid var(--ink); background: var(--bg); color: var(--text); }
  .pick span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
  .pick input:checked + span { background: var(--c); color: var(--ink); box-shadow: 0 3px 0 var(--ink); transform: translateY(-1px); }
  .pick input:checked + span::before { background: var(--cream); }
  .pick input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
  .err { min-height: 1.4em; margin-top: 6px; color: var(--red); font-weight: 800; font-size: .95rem; }
  :root[data-theme="dark"] .err { color: #FF8A78; }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .err { color: #FF8A78; } }
  .btn-send { width: 100%; justify-content: center; background: var(--red); color: var(--cream); box-shadow: 0 5px 0 var(--ink); margin-top: 6px; }
  .btn-send:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
  .btn-send:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
  .btn-send[disabled] { opacity: .65; cursor: progress; transform: none; }
  .fine { margin-top: 14px; font-size: .88rem; color: var(--muted); }
  .nudge { background: var(--butter); color: var(--ink); border: 3px dashed var(--red); border-radius: 16px; padding: 10px 14px; font-weight: 800; margin-bottom: 14px; }
  .done { text-align: center; padding-block: 8px; }
  .done svg { width: 84px; height: 84px; }
  .done h3 { margin-top: 10px; }
  .done p { margin-top: 8px; color: var(--muted); }
  .linklike { background: none; border: 0; padding: 0; font: inherit; font-weight: 800; color: var(--red); text-decoration: underline; cursor: pointer; margin-top: 14px; }
  :root[data-theme="dark"] .linklike { color: var(--yellow); }
  @media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .linklike { color: var(--yellow); } }

  /* ---------- Rodapé ---------- */
  footer { background: var(--red-deep); color: var(--cream); padding-block: 30px 36px; text-align: center; }
  .foot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
  .foot .brand { font-size: 1.25rem; }
  .foot small { font-size: .95rem; opacity: .92; }
  .legal { margin: 18px auto 0; padding-top: 14px; border-top: 2px dotted rgba(255,248,228,.45); font-size: .82rem; line-height: 1.5; opacity: .9; max-width: 80ch; }
  .gap-top { height: 48px; background: var(--bg); }

  @media (max-width: 820px) {
    .hero-grid, .signup-grid { grid-template-columns: 1fr; }
    .stage { order: 2; margin-top: 4px; }
    .hero-grid { padding-block: 20px 48px; }
    .form-card { transform: none; }
  }
  @media (prefers-reduced-motion: reduce) {
    .trio, .floaty { animation: none; }
    .flavor, .btn { transition: none; }
    .flavor.pop, .flavor.pop::after, .flavor.pop .bottle-svg { animation: none; }
  }
