/* ===========================================================================
   Dog Deli — Landing Page
   Design system derivado do DNA.md (verde âncora, Playfair/Baloo/Lato, nunca dark)
   =========================================================================== */

:root {
  /* Paleta primária */
  --green-primary: #5ba93b;
  --green-dark: #4a8c30;
  --lime: #96e676;

  /* Paleta de categoria */
  --yellow-soft: #edcc6f;
  --coral: #ff5d4d;
  --sky: #86d7ff;
  --navy: #0c628c;
  --amber: #fcad0b;

  /* Neutros */
  --bg-light: #ffffff;
  --bg-cream: #f5f0e8;
  --text-dark: #1a1a1a;
  --text-soft: #4a4a45;
  --text-on-color: #ffffff;
  --border-light: #e6e1d6;

  /* Tipografia */
  --font-display: "Playfair Display", Georgia, serif;
  --font-subtitle: "Baloo 2", "Trebuchet MS", sans-serif;
  --font-body: "Lato", -apple-system, "Segoe UI", sans-serif;

  --maxw: 1120px;
  --radius: 20px;
  --shadow: 0 18px 40px -18px rgba(26, 26, 26, 0.28);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------- Tipografia */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: 0.01em; }
.eyebrow {
  font-family: var(--font-subtitle);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.05rem;
  color: var(--green-primary);
}
.section-title { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--text-dark); }
.lead { font-size: 1.12rem; color: var(--text-soft); }

/* --------------------------------------------------------- Botões */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-subtitle); font-weight: 700;
  font-size: 1.05rem; text-decoration: none;
  padding: 0.95rem 1.7rem; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer; border: none;
}
.btn-primary { background: var(--green-primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(91,169,59,0.7); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-whats { background: #25d366; color: #fff; box-shadow: 0 10px 24px -10px rgba(37,211,102,0.7); }
.btn-whats:hover { transform: translateY(-2px); filter: brightness(1.03); }
.btn-ghost { background: rgba(255,255,255,0.16); color: #fff; border: 1.5px solid rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.26); }
.btn .ico { width: 20px; height: 20px; }

/* --------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,240,232,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 119px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text-dark); grid-column: 2; justify-self: center; }
.brand img { height: 94px; width: auto; }
.header-cta { grid-column: 3; justify-self: end; }
.header-cta { font-size: 0.95rem; padding: 0.6rem 1.2rem; }
@media (max-width: 640px) { .header-cta { display: none; } }

/* --------------------------------------------------------- Hero */
.hero {
  position: relative;
  background: linear-gradient(150deg, var(--green-primary) 0%, var(--green-dark) 100%);
  color: #fff; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -12%; top: -30%;
  width: 60%; height: 160%; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; position: relative; z-index: 2; }
.hero .eyebrow { color: #d8f5c8; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 0.5rem 0 1.1rem; color: #fff; }
.hero p { font-size: 1.22rem; color: rgba(255,255,255,0.92); max-width: 30rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-seal { margin-top: 1.6rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.85); font-family: var(--font-subtitle); font-weight: 600; }
.hero-seal::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.2); font-size: 0.75rem; flex-shrink: 0; }
.hero-seal .seal-text { line-height: 1.35; text-align: center; }
.hero-visual { position: relative; }
.hero-visual img { border-radius: 26px; box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; }
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: #fff; color: var(--text-dark);
  border-radius: 18px; padding: 0.8rem 1.1rem; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 0.7rem; max-width: 220px;
}
.hero-badge img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.hero-badge b { font-family: var(--font-subtitle); font-size: 0.95rem; display: block; }
.hero-badge small { font-size: 0.78rem; color: var(--text-soft); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 360px; margin: 0 auto; order: 1; }
  .hero-copy { order: 2; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-seal { display: flex; justify-content: center; }
}

/* --------------------------------------------------------- Seções base */
section.block { padding: 84px 0; }
.section-head { max-width: 44rem; margin-bottom: 48px; }
.section-head .section-title { margin: 0.6rem 0 0.8rem; }

/* Intro */
.intro { background: var(--bg-light); }
.intro .grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.intro img { border-radius: var(--radius); box-shadow: var(--shadow); }
.intro h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.intro p { margin-top: 1.1rem; font-size: 1.14rem; color: var(--text-soft); }
@media (max-width: 820px) { .intro .grid { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------------------------------------- Cardápios */
.cardapios { background: var(--bg-cream); }
.cardapios .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 12px 30px -18px rgba(26,26,26,0.25);
  display: flex; flex-direction: column;
  border: 1px solid var(--border-light);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-subtitle); font-weight: 700; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.32rem 0.8rem; border-radius: 999px; color: #fff;
}
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.5rem; }
.card .protein { font-family: var(--font-subtitle); font-weight: 600; font-size: 0.9rem; color: var(--green-primary); margin: 0.35rem 0 0.7rem; }
.card p.benefit { color: var(--text-soft); font-size: 1rem; flex: 1; }
.card details { margin-top: 1rem; border-top: 1px solid var(--border-light); padding-top: 0.9rem; }
.card summary { font-family: var(--font-subtitle); font-weight: 700; font-size: 0.9rem; color: var(--text-dark); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.4rem; }
.card summary::-webkit-details-marker { display: none; }
.card summary::before { content: "+"; font-size: 1.1rem; color: var(--green-primary); }
.card details[open] summary::before { content: "−"; }
.macros { display: flex; gap: 8px; margin: 0.9rem 0; }
.macro { flex: 1; text-align: center; background: var(--bg-cream); border-radius: 12px; padding: 0.55rem 0.3rem; }
.macro b { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--text-dark); }
.macro small { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-soft); }
.ingredients { font-size: 0.9rem; color: var(--text-soft); }
.ingredients b { color: var(--text-dark); font-family: var(--font-subtitle); }

/* --------------------------------------------------------- Ingredientes / prova */
.prova { background: var(--navy); color: #fff; }
.prova .grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 52px; align-items: center; }
.prova .eyebrow { color: var(--sky); }
.prova h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.prova p { color: rgba(255,255,255,0.86); font-size: 1.14rem; margin-top: 1.1rem; }
.prova-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.prova-imgs img { border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; }
.prova-imgs img:first-child { aspect-ratio: 3/4; }
@media (max-width: 820px) { .prova .grid { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------------------------------------- Autoridade */
.autoridade { background: var(--bg-light); }
.autoridade .card-auth {
  background: var(--bg-cream); border-radius: 26px; padding: 48px;
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
  border: 1px solid var(--border-light);
}
.autoridade .avatar { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); border: 4px solid #fff; }
.autoridade h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.autoridade p { margin-top: 0.9rem; color: var(--text-soft); font-size: 1.1rem; }
.autoridade .credential { margin-top: 1rem; font-family: var(--font-subtitle); font-weight: 700; color: var(--green-primary); }
.autoridade .note { margin-top: 1.2rem; font-size: 0.92rem; color: var(--text-soft); background: #fff; border-left: 4px solid var(--amber); padding: 0.8rem 1rem; border-radius: 8px; }
@media (max-width: 720px) { .autoridade .card-auth { grid-template-columns: 1fr; padding: 32px; text-align: center; } .autoridade .avatar { margin: 0 auto; } .autoridade .note { text-align: left; } }

/* --------------------------------------------------------- Passos */
.passos { background: var(--lime); }
.passos .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: var(--radius); padding: 32px 26px; box-shadow: 0 12px 30px -20px rgba(26,26,26,0.3); }
.step .num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--green-primary); line-height: 1; }
.step h3 { font-size: 1.35rem; margin: 0.6rem 0 0.5rem; }
.step p { color: var(--text-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------- Extras */
.extras { background: var(--bg-light); }
.extras .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.extras img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16/11; object-fit: cover; }
.extras h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.extras p { margin-top: 1rem; color: var(--text-soft); font-size: 1.1rem; }
.extras b { color: var(--green-primary); }
@media (max-width: 760px) { .extras .grid { grid-template-columns: 1fr; gap: 28px; } }

/* --------------------------------------------------------- CTA final */
.cta-final { background: linear-gradient(150deg, var(--green-primary), var(--green-dark)); color: #fff; text-align: center; }
.cta-final h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: #fff; max-width: 20ch; margin: 0 auto 1.6rem; }
.cta-final .btn { font-size: 1.15rem; padding: 1.1rem 2.2rem; }
.cta-final small { display: block; margin-top: 1.3rem; color: rgba(255,255,255,0.85); font-family: var(--font-subtitle); font-weight: 600; letter-spacing: 0.03em; }

/* --------------------------------------------------------- Footer */
.site-footer { background: #16290d; color: rgba(255,255,255,0.82); padding: 54px 0 40px; }
.site-footer .grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.site-footer .brand { justify-content: center; }
.site-footer .brand span { color: #fff; }
.site-footer .brand img { display: block; }
.site-footer p { font-size: 0.95rem; margin: 0.9rem auto 0; max-width: 34rem; }
.site-footer a { color: var(--lime); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-contact { font-family: var(--font-subtitle); }
.footer-contact div { margin-bottom: 0.5rem; }
.footer-legal { width: 100%; margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.82rem; color: rgba(255,255,255,0.6); text-align: center; }

/* --------------------------------------------------------- WhatsApp flutuante */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,0.7);
  transition: transform 0.15s ease;
}
.fab:hover { transform: scale(1.06); }
.fab svg { width: 32px; height: 32px; }

/* --------------------------------------------------------- Calculadora */
.calculadora { background: linear-gradient(180deg, #eef8e4 0%, var(--bg-cream) 100%); }
.calculadora .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.calc-card {
  background: #fff; border-radius: 26px; padding: 40px;
  max-width: 760px; margin: 0 auto;
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
}
.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; align-items: end; }
.calc-field { display: flex; flex-direction: column; gap: 0.5rem; }
.calc-field label { font-family: var(--font-subtitle); font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.calc-field input,
.calc-field select {
  font-family: var(--font-body); font-size: 1.05rem; color: var(--text-dark);
  padding: 0.9rem 1rem; border: 1.5px solid var(--border-light); border-radius: 14px;
  background: var(--bg-light); width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none; appearance: none;
}
.calc-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235ba93b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.6rem;
}
.calc-field input:focus,
.calc-field select:focus { outline: none; border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(91,169,59,0.16); }
.calc-submit { grid-column: 1 / -1; justify-content: center; width: 100%; margin-top: 4px; }
.calc-error { color: var(--coral); font-family: var(--font-subtitle); font-weight: 700; margin-top: 1rem; text-align: center; }

.calc-result { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border-light); }
.calc-figure { text-align: center; }
.calc-grams { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 7vw, 3.8rem); color: var(--green-primary); line-height: 1; }
.calc-grams-label { display: block; font-family: var(--font-subtitle); font-weight: 600; color: var(--text-soft); margin-top: 0.35rem; letter-spacing: 0.03em; }
.calc-meal { display: block; margin-top: 0.6rem; color: var(--text-soft); font-size: 0.98rem; }
.calc-reco { margin-top: 24px; background: var(--bg-cream); border-radius: 16px; padding: 20px 22px; text-align: center; }
.calc-reco-kicker { display: block; font-family: var(--font-subtitle); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-soft); }
.calc-chip { display: inline-block; margin: 0.55rem 0 0.35rem; font-family: var(--font-subtitle); font-weight: 700; font-size: 1.1rem; padding: 0.4rem 1.05rem; border-radius: 999px; }
.calc-reco p { color: var(--text-soft); font-size: 0.98rem; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 22px; }
.calc-actions .btn-ghost { background: var(--bg-cream); color: var(--green-primary); border: 1.5px solid var(--green-primary); }
.calc-actions .btn-ghost:hover { background: #eaf3e2; transform: translateY(-2px); }
.calc-note { margin-top: 22px; font-size: 0.85rem; color: var(--text-soft); text-align: center; background: var(--bg-cream); border-left: 4px solid var(--amber); padding: 0.85rem 1.1rem; border-radius: 8px; }
.card-flash { box-shadow: 0 0 0 3px var(--green-primary), var(--shadow); }
@media (max-width: 600px) {
  .calc-card { padding: 28px 22px; }
  .calc-form { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------- Cardápios: categorias */
.cat-title { display: block; width: 100vw; margin: 64px calc(50% - 50vw) 24px; padding: 0.9rem 1.2rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.05rem); color: #fff; text-align: center; background: linear-gradient(135deg, var(--green-primary) 0%, var(--green-dark) 100%); box-shadow: 0 12px 26px -18px rgba(26,26,26,0.55); letter-spacing: 0.01em; }
.cardapios .card-grid + .cat-title { margin-top: 74px; }
.cat-sub { text-align: center; color: var(--text-soft); max-width: 40rem; margin: 0 auto 30px; }

/* Cartão de cardápio sem foto (básicos / fase de vida) */
.menu-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); box-shadow: 0 12px 30px -18px rgba(26,26,26,0.25); display: flex; flex-direction: column; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.menu-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.menu-card-top { padding: 20px 22px 18px; }
.menu-card-top .menu-cat { font-family: var(--font-subtitle); font-weight: 700; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.92; }
.menu-card-top h4 { font-family: var(--font-display); font-weight: 800; font-size: 1.42rem; line-height: 1.1; margin-top: 0.25rem; }
.menu-card-body { padding: 18px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.menu-card-body .protein { font-family: var(--font-subtitle); font-weight: 600; font-size: 0.9rem; color: var(--green-primary); margin-bottom: 0.55rem; }
.menu-card-body p.benefit { color: var(--text-soft); font-size: 1rem; flex: 1; }
.menu-card details { margin-top: 0.95rem; border-top: 1px solid var(--border-light); padding-top: 0.85rem; }
.menu-card summary { font-family: var(--font-subtitle); font-weight: 700; font-size: 0.9rem; color: var(--text-dark); cursor: pointer; list-style: none; display: flex; align-items: center; gap: 0.4rem; }
.menu-card summary::-webkit-details-marker { display: none; }
.menu-card summary::before { content: "+"; font-size: 1.1rem; color: var(--green-primary); }
.menu-card details[open] summary::before { content: "−"; }
.portion-ref { margin-top: 0.7rem; font-size: 0.82rem; color: var(--text-soft); font-family: var(--font-subtitle); font-weight: 600; }

/* --------------------------------------------------------- 2 opções + Mixed Feeding */
.opt-badge { display: inline-block; margin-left: 0.4rem; font-family: var(--font-subtitle); font-weight: 700; font-size: 0.64rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--green-dark); background: rgba(91,169,59,0.14); border: 1px solid rgba(91,169,59,0.3); padding: 0.12rem 0.5rem; border-radius: 999px; vertical-align: middle; }
.opt-label { font-family: var(--font-subtitle); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--green-primary); margin: 0.7rem 0 0.15rem; }
.card details .opt-label:first-of-type,
.menu-card details .opt-label:first-of-type { margin-top: 0.2rem; }
.cat-flag { display: inline-block; font-family: var(--font-subtitle); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: #3a2a00; background: var(--amber); padding: 0.16rem 0.6rem; border-radius: 999px; vertical-align: middle; transform: translateY(-0.18em); margin-left: 0.4rem; }

/* --------------------------------------------------------- Básicos agrupados por proteína */
.protein-group { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.7rem); color: var(--text-dark); text-align: center; margin: 42px 0 16px; display: flex; align-items: center; justify-content: center; gap: 0.6rem; }
.cardapios .card-grid + .protein-group { margin-top: 40px; }
.protein-group::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--pg, var(--green-primary)); flex: none; }
.pg-count { font-family: var(--font-subtitle); font-weight: 700; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--green-dark); background: rgba(91,169,59,0.14); border: 1px solid rgba(91,169,59,0.28); padding: 0.16rem 0.55rem; border-radius: 999px; }
.card-grid-2 { max-width: 760px; margin-left: auto; margin-right: auto; }

/* evita rolagem horizontal das faixas full-bleed */
html, body { overflow-x: clip; }
