/* Site oficial do EGG. Cores e padrão da marca: docs/marca.md (mesmos tokens do app e do painel). */
:root {
  --brand: #f1a50a;
  --brand-press: #da9000;
  --bg: #fff8ee;
  --surface: #ffffff;
  --ink: #2b1d12;
  --ink-soft: #6b5a4b;
  --line: #efe4d4;
  --butter: #fff2c9;
  --peach: #ffe3d3;
  --mint: #dcf3e6;
  --lilac: #ece4fb;
  --sky: #dfeefc;
  --danger: #b42318;
  --success: #1f7a45;
  --radius: 24px;
  --shadow: 0 1px 2px rgb(43 29 18 / 0.04), 0 8px 24px rgb(43 29 18 / 0.06);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font:
    17px/1.6 system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    sans-serif;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.typed {
  color: var(--brand-press);
}
.typed::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 4px;
  vertical-align: -0.05em;
  background: var(--ink);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .typed::after {
    display: none;
  }
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  background: var(--surface);
  padding: 8px 12px;
}
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.narrow {
  width: min(720px, 100% - 32px);
}
.muted,
.note {
  color: var(--ink-soft);
}
.center {
  text-align: center;
  margin-top: 32px;
}

/* Topo */
.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(255 248 238 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  text-decoration: none;
}
.brand img {
  border-radius: 10px;
}
.top nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}
.top nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
}
.top nav a:hover {
  color: var(--ink);
}
@media (max-width: 860px) {
  .top nav {
    display: none;
  }
  .top .btn-sm {
    margin-left: auto;
  }
}

/* Botões: texto escuro sobre o amarelo (branco no amarelo dá 2,1:1, proibido). */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: var(--brand-press);
  border-color: var(--brand-press);
}
.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.btn-sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.95rem;
}
.btn-full {
  width: 100%;
}

/* Abertura */
.hero {
  padding: 48px 0 72px;
}
.hero-in {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
}
.hero-art {
  justify-self: center;
  width: min(440px, 100%);
}
.eyebrow {
  color: var(--brand-press);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.hl {
  background: linear-gradient(transparent 60%, var(--butter) 60%);
}
.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 36em;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 12px;
}
@media (max-width: 860px) {
  .hero {
    padding-top: 24px;
  }
  .hero-in {
    grid-template-columns: 1fr;
  }
  .hero-art {
    grid-row: 1;
    width: min(240px, 70%);
  }
  .cta .btn {
    flex: 1 1 100%;
  }
}

/* Faixas e cartões */
.band {
  padding: 72px 0;
}
.band-alt {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.band-alt .card:not([class*='tint-']) {
  background: var(--bg);
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.card p {
  color: var(--ink-soft);
  margin: 0;
}
.tint-butter {
  background: var(--butter);
}
.tint-peach {
  background: var(--peach);
}
.tint-mint {
  background: var(--mint);
}
.tint-lilac {
  background: var(--lilac);
}
.tint-sky {
  background: var(--sky);
}
[class*='tint-'] p {
  color: var(--ink);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.num {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface);
  font-weight: 800;
  margin-bottom: 12px;
}
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
@media (min-width: 861px) {
  .features-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .band {
    padding: 48px 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Perguntas */
details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 20px;
  margin-bottom: 12px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  min-height: 56px;
  display: flex;
  align-items: center;
}
details p {
  color: var(--ink-soft);
}

/* Lista de espera */
.form-card {
  text-align: center;
  padding: 32px 24px;
}
.form-art {
  margin: -8px auto 8px;
  display: block;
}
#waitlist {
  text-align: left;
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.kinds {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.kinds legend {
  font-weight: 700;
  margin-bottom: 8px;
}
.kinds label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 8px 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.3;
}
.kinds label:has(input:checked) {
  border-color: var(--brand);
  background: var(--butter);
}
@media (max-width: 520px) {
  .kinds {
    grid-template-columns: 1fr;
  }
}
.field {
  display: grid;
  gap: 6px;
  font-weight: 700;
}
.field small {
  font-weight: 400;
  color: var(--ink-soft);
}
.field input {
  min-height: 52px;
  border: 2px solid #c9b8a3;
  border-radius: 14px;
  padding: 0 14px;
  font: inherit;
  background: var(--surface);
  color: var(--ink);
}
.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.consent input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex: none;
  accent-color: var(--brand-press);
}
.msg {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}
.msg.ok {
  background: var(--mint);
  color: var(--success);
}
.msg.err {
  background: #fde8e6;
  color: var(--danger);
}

/* Rodapé */
.foot {
  padding: 40px 0;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.foot nav a {
  color: var(--ink-soft);
}
.foot .muted {
  margin: 0;
  width: 100%;
  font-size: 0.9rem;
}

/* Política de privacidade */
.doc {
  padding: 48px 0 72px;
}
.doc h2 {
  font-size: 1.35rem;
  margin-top: 2em;
}
.doc li {
  margin-bottom: 0.4em;
}

/* O título muda de tamanho enquanto digita: reserva a altura da frase mais longa (sem pulo). */
.hero h1 {
  min-height: 3.5em;
}
@media (max-width: 860px) {
  .hero h1 {
    min-height: 4.6em;
  }
}

/* Telas reais do produto */
figure {
  margin: 0;
}
figcaption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-align: center;
}
.showcase {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 8px 0 16px;
}
.phone {
  width: min(280px, 44vw);
}
.phone img {
  display: block;
  border: 8px solid var(--ink);
  border-radius: 36px;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.screen {
  margin-top: 32px;
}
.screen img {
  display: block;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 48px rgb(43 29 18 / 0.12);
}
@media (max-width: 520px) {
  .showcase {
    gap: 12px;
  }
  .phone img {
    border-width: 5px;
    border-radius: 24px;
  }
  .phone figcaption {
    font-size: 0.85rem;
  }
}

/* ===== Visual rico (fotos, cartões por lugar, banners) ===== */
.band-tight {
  padding: 32px 0;
}
.photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.photo-tall {
  aspect-ratio: 4 / 5;
  max-width: 440px;
  justify-self: center;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .split-rev > .photo {
    order: 2;
  }
}

/* Abertura com foto, cartão flutuante e o Eggnaldo */
.hero-visual {
  position: relative;
  padding: 0 0 24px 24px;
}
.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 24px 60px rgb(43 29 18 / 0.18);
}
.hero-mascot {
  position: absolute;
  right: -12px;
  bottom: -28px;
  width: 38%;
  filter: drop-shadow(0 12px 18px rgb(43 29 18 / 0.25));
}
.float-card {
  position: absolute;
  left: 0;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgb(43 29 18 / 0.18);
  font-size: 0.95rem;
  line-height: 1.3;
}
.float-card span:last-child {
  display: block;
  color: var(--ink-soft);
}
.float-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 5px var(--mint);
  flex: none;
}
@media (max-width: 860px) {
  .hero-visual {
    grid-row: auto;
    padding: 0 0 16px;
  }
  .hero-mascot {
    width: 34%;
    right: -4px;
  }
  .float-card {
    left: 12px;
    bottom: 28px;
    font-size: 0.85rem;
  }
}

/* Cartões grandes por tipo de lugar (à moda das categorias do iFood) */
.big-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.big-cat {
  position: relative;
  display: flex;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.big-cat:hover {
  transform: translateY(-3px);
}
.cat-acai {
  background: var(--lilac);
}
.cat-lanche {
  background: var(--brand);
}
.big-cat-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
.big-cat-text strong {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}
.big-cat img {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  clip-path: ellipse(80% 90% at 100% 50%);
}
.pill {
  align-self: flex-start;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.9rem;
}
.cats {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cats li {
  display: grid;
  gap: 8px;
  text-align: center;
  font-weight: 700;
}
.cats img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
@media (max-width: 860px) {
  .big-cats {
    grid-template-columns: 1fr;
  }
  .big-cat {
    min-height: 170px;
  }
  .cats {
    grid-template-columns: repeat(5, 42%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
  }
  .cats li {
    scroll-snap-align: start;
  }
}

/* Banners de destaque */
.banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.banner {
  position: relative;
  min-height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 24px;
  display: flex;
  box-shadow: var(--shadow);
}
.banner > div {
  position: relative;
  z-index: 1;
  max-width: 62%;
}
.banner p {
  margin: 0;
}
.banner-kicker {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}
.banner-big {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 900;
  line-height: 1.02;
  margin: 8px 0 !important;
  letter-spacing: -0.02em;
}
.banner-small {
  font-size: 0.9rem;
}
.banner img {
  position: absolute;
  right: -30px;
  bottom: -20px;
  width: 60%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 999px;
  border: 6px solid rgb(255 255 255 / 0.6);
}
.banner .banner-mascot {
  border: 0;
  border-radius: 0;
  object-fit: contain;
  right: -10px;
  bottom: -14px;
  width: 50%;
}
.banner-yellow {
  background: var(--brand);
}
.banner-dark {
  background: var(--ink);
  color: var(--bg);
}
.banner-dark .banner-kicker {
  color: var(--brand);
}
.banner-peach {
  background: var(--peach);
}
.banner-peach > div {
  max-width: 100%;
}
@media (max-width: 860px) {
  .banners {
    grid-template-columns: 1fr;
  }
  .banner {
    min-height: 190px;
  }
  .banner img {
    width: 46%;
  }
}

/* O problema */
.pains {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 16px;
}
.pains li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 6px solid var(--brand);
  border-radius: 16px;
  padding: 16px 18px;
  color: var(--ink-soft);
}
.pains strong {
  color: var(--ink);
}

/* Duas chamadas lado a lado */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.duo-card {
  position: relative;
  display: grid;
  grid-template-columns: 40% 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px;
  overflow: hidden;
}
.duo-card > * {
  position: relative;
  z-index: 1;
}
.duo-card h2 {
  font-size: 1.6rem;
}
.duo-icon {
  border-radius: 28px;
  width: 80%;
  justify-self: center;
}
.blob {
  position: absolute !important;
  z-index: 0 !important;
  left: -40px;
  top: 10%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 46% 54% 60% 40% / 50% 40% 60% 50%;
}
.blob-butter {
  background: var(--butter);
}
.blob-mint {
  background: var(--mint);
}
@media (max-width: 860px) {
  .duo {
    grid-template-columns: 1fr;
  }
}

/* Rodapé completo */
.foot {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot-grid nav {
  display: grid;
  gap: 10px;
  align-content: start;
}
.foot-grid nav a {
  color: var(--ink-soft);
  text-decoration: none;
}
.foot-grid nav a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.foot-bottom p {
  margin: 0;
}
@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-grid > div {
    grid-column: 1 / -1;
  }
}
/* Texto do banner não passa por cima da foto. */
.banner > div {
  max-width: 56%;
}
.banner img:not(.banner-mascot) {
  width: 46%;
  right: -36px;
  bottom: -24px;
}
.banner-peach > div {
  max-width: 100%;
}
