/* =========================================================
   Lari's Garden – Plantas e Acessórios
   Cores tiradas do logo oficial (Azul.pdf)
   ========================================================= */
:root {
  --navy: #002454;        /* azul do logo */
  --navy-700: #0b3170;
  --navy-900: #001634;
  --gold: #e3c78d;        /* dourado do logo */
  --gold-300: #efdcb3;
  --gold-ink: #7a5a22;    /* dourado escuro, legível sobre fundo claro (contraste AA) */
  --lavanda: #6982f3;     /* azul-lavanda da flor do logo */
  --cream: #fbf8f1;
  --sand: #f3ecdf;
  --paper: #ffffff;
  --ink: #152238;
  --muted: #586276;
  --line: #e4dacb;
  --on-navy: #dce3f3;
  --on-navy-muted: #b9c3dc;

  --radius: 20px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -22px rgba(0, 36, 84, .35);
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* Trava a rolagem da página com o menu ou a janela de detalhes abertos */
body.menu-open,
body:has(.modal[open]),
body:has(.carrinho[open]) { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 .45em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
h3 { font-size: 1.5rem; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

:focus-visible { outline: 3px solid var(--lavanda); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: .7em 1.2em;
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  margin: 0 0 .9rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow--light { color: var(--gold); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: .95em 1.6em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-300); box-shadow: 0 10px 24px -12px rgba(227, 199, 141, .8); }

.btn--ghost { border-color: rgba(227, 199, 141, .55); color: #fff; }
.btn--ghost:hover { background: rgba(227, 199, 141, .12); border-color: var(--gold); }

.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); box-shadow: 0 10px 24px -12px rgba(0, 36, 84, .7); }

.btn--outline { border-color: var(--line); color: var(--navy); background: transparent; }
.btn--outline:hover { border-color: var(--navy); }

.btn--full { width: 100%; }

/* Botão "Adicionar ao carrinho" depois de adicionado */
.btn--navy.is-added { background: var(--paper); border-color: var(--gold); color: var(--navy); }
.btn--navy.is-added:hover { background: var(--sand); box-shadow: none; }
.btn--navy.is-added .icon { color: var(--gold-ink); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(227, 199, 141, .16);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .5); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: block; flex: none; padding: 3px 0; border-radius: 8px; }
.brand img { height: 52px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  padding: .55em .85em;
  border-radius: 999px;
  color: var(--on-navy);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, background-color .2s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--gold); }
.site-nav .nav-cta {
  margin-left: 10px;
  padding-inline: 1.3em;
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.site-nav .nav-cta:hover, .site-nav .nav-cta.is-active { background: var(--gold); color: var(--navy); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 11px;
  border: 1.5px solid rgba(227, 199, 141, .45);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle-bar {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 28px;
    background: var(--navy);
    border-bottom: 1px solid rgba(227, 199, 141, .2);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: .85em 1em; font-size: 1.05rem; border-radius: 12px; }
  .site-nav a:hover { background: rgba(255, 255, 255, .05); }
  .site-nav .nav-cta { margin: 10px 0 0; text-align: center; }

  /* Fundo escurecido atrás do menu aberto (tocar nele fecha o menu) */
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(0, 18, 44, .6);
    animation: fade-in .25s ease;
  }
}
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Início (hero) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
  color: var(--on-navy);
  background:
    radial-gradient(900px 520px at 88% 12%, rgba(105, 130, 243, .2), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(227, 199, 141, .08), transparent 60%),
    var(--navy);
}
.hero::after {
  content: "";
  position: absolute;
  left: -110px;
  bottom: -150px;
  width: 460px;
  height: 410px;
  background: url("../img/logo/logo-emblema.png") center / contain no-repeat;
  opacity: .06;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  grid-template-areas:
    "texto     midia"
    "vantagens midia";
  align-items: center;
  column-gap: clamp(40px, 6vw, 80px);
}
.hero-text { grid-area: texto; align-self: end; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }

.lead { max-width: 36em; font-size: 1.15rem; color: var(--on-navy-muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }

.perks { grid-area: vantagens; align-self: start; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; max-width: 32em; }
.perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border: 1px solid rgba(227, 199, 141, .25);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .04);
  font-size: .98rem;
}
.perks .icon { width: 26px; height: 26px; color: var(--gold); }
.perks strong { color: var(--gold); font-weight: 600; }

.hero-media { grid-area: midia; position: relative; justify-self: center; width: min(100%, 430px); margin: 14px; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 1.5px solid rgba(227, 199, 141, .55);
  border-radius: 999px 999px 34px 34px;
  pointer-events: none;
}
.arch {
  margin: 0;
  aspect-ratio: 4 / 5.3;
  overflow: hidden;
  border-radius: 999px 999px 24px 24px;
  background: var(--navy-700);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .7);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }

.hero-inset {
  position: absolute;
  left: -48px;
  bottom: 36px;
  width: 150px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 5px solid var(--navy);
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(227, 199, 141, .6), 0 20px 40px -16px rgba(0, 0, 0, .6);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }

/* ---------- Seções ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--on-navy-muted); }
.section--navy h2 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}
.split > div > p { color: var(--muted); }
.split--reverse { grid-template-columns: 1fr 1fr; }
.split--reverse > :first-child { order: 2; }

.frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  box-shadow: var(--shadow);
}
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--tall img { object-position: 50% 48%; }

.split-media { position: relative; }
.koke-card {
  position: absolute;
  right: -28px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.koke-kanji { font-size: 2.3rem; line-height: 1; color: var(--navy); }
.koke-legend { font-size: .86rem; line-height: 1.45; color: var(--muted); }
.koke-legend b { color: var(--navy); font-weight: 600; }

.features { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 22px; }
.features li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; align-items: start; }
.features h3 { margin: .15em 0 .2em; font-size: 1.45rem; }
.features p { margin: 0; color: var(--muted); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
}
.icon-badge .icon { width: 25px; height: 25px; }

/* ---------- Catálogo ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 14px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .6em 1.15em;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--navy);
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip-count {
  min-width: 1.6em;
  padding: .05em .45em;
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
}
.chip[aria-pressed="true"] .chip-count { background: rgba(255, 255, 255, .16); color: #fff; }

.catalog-count { margin: 0 0 30px; text-align: center; font-size: .92rem; color: var(--muted); }

.catalog-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 26px;
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: card-in .45s ease both;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@keyframes card-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.card-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: var(--sand);
  cursor: zoom-in;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.045); }

.tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: .35em .8em;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.card-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 20px; }
.card h3 { margin: 0; font-size: 1.55rem; }
.card-desc { margin: 0; font-size: .95rem; color: var(--muted); }

.care { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.care li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .3em .75em;
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 500;
}
.care .icon { width: 15px; height: 15px; color: var(--gold-ink); }

.card-footer { margin-top: auto; padding-top: 6px; display: grid; gap: 12px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.link-btn {
  padding: 12px 0;       /* área de toque maior, */
  margin: -12px 0;       /* sem mudar o espaço que ocupa */
  border: 0;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.link-btn:hover { color: var(--gold-ink); }
.price { margin: 0; font-size: .92rem; color: var(--muted); }
.price strong { font-size: 1.15rem; color: var(--navy); }
.card .btn { padding: .8em 1.1em; font-size: .95rem; }

.noscript-msg { text-align: center; }

/* Como fazer o pedido */
.order-steps {
  margin-top: 48px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.order-title { margin: 0 0 22px; font-size: 1.75rem; text-align: center; }
.order-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.order-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.order-steps .icon-badge { width: 46px; height: 46px; }
.order-steps .icon-badge .icon { width: 22px; height: 22px; }
.order-steps strong { display: block; margin-bottom: 2px; font-weight: 600; color: var(--navy); }
.order-steps p { margin: 0; font-size: .95rem; color: var(--muted); }
.order-steps b { font-weight: 600; color: var(--navy); }

/* ---------- Janela de detalhes ---------- */
.modal {
  width: min(940px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55);
}
.modal::backdrop { background: rgba(0, 18, 44, .7); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .3s ease; }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--navy);
  cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4);
}
.modal-close:hover { background: var(--gold); }

.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
/* A foto aparece inteira (sem cortar); a sobra é preenchida pela mesma foto desfocada */
.modal-media { position: relative; overflow: hidden; margin: 0; background: var(--sand); }
.modal-media::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: var(--foto) center / cover no-repeat;
  filter: blur(24px);
  opacity: .55;
}
.modal-media img { position: relative; width: 100%; height: 100%; max-height: min(84vh, 720px); object-fit: contain; }
.modal-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 44px 38px; }
.modal-body h2 { margin: 0; font-size: clamp(2rem, 3.4vw, 2.6rem); }
.modal-body p { margin: 0; color: var(--muted); }
.modal-body .care li { font-size: .88rem; padding: .4em .9em; }
.modal-body .medidas { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--ink); }
.medidas .icon { color: var(--gold-ink); }
.modal-body .share-btn { align-self: center; display: inline-flex; align-items: center; gap: 8px; }
.modal-note { font-size: .88rem; }

/* ---------- Cuidados ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  position: relative;
  padding: 30px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.step-num {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 3.4rem;
  font-weight: 600;
  font-variant-numeric: lining-nums;
  line-height: 1;
  color: var(--gold);
}
.step .icon-badge { margin-bottom: 18px; }
.step h3 { font-size: 1.5rem; }
.step p { margin: 0; font-size: .97rem; color: var(--muted); }

.tip {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 860px;
  margin: 32px auto 0;
  padding: 18px 24px;
  border: 1px solid #d3dafb;
  border-radius: 16px;
  background: #eef1fe;
  color: var(--navy);
}
.tip .icon { width: 28px; height: 28px; margin-top: 1px; color: var(--lavanda); }

/* ---------- Dúvidas ---------- */
.faq { display: grid; gap: 12px; max-width: 840px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 60px;
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--gold-ink);
  border-bottom: 2px solid var(--gold-ink);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(225deg); }
.faq summary:hover { color: var(--gold-ink); }
.faq-resposta { padding: 0 22px 20px; color: var(--muted); }
.faq-resposta p { margin: 0; }
.faq b { font-weight: 600; color: var(--navy); }
.faq a, .section-head a {
  color: var(--navy);
  font-weight: 600;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* ---------- Feiras ---------- */
.fair-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.fair-grid .hero-actions { margin-bottom: 0; }
.mosaic {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  height: clamp(420px, 44vw, 560px);
}
.mosaic figure { margin: 0; overflow: hidden; border-radius: 18px; background: var(--navy-700); }
.mosaic figure:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic figure:first-child img { object-position: 50% 62%; }

/* ---------- Sobre ---------- */
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.about-media .frame { aspect-ratio: 3 / 4.3; }
.about-media .frame:nth-child(2) { margin-top: 56px; }
.about-media .frame:nth-child(1) img { object-position: 50% 60%; }
.about-media .frame:nth-child(2) img { object-position: 50% 45%; }

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
  gap: clamp(40px, 6vw, 80px);
}
.contact-grid > div > p { color: var(--muted); }

.contact-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.contact-list a, .contact-static {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}
.contact-list a:hover { border-color: var(--navy); transform: translateX(4px); }
.contact-list .icon-badge { width: 46px; height: 46px; }
.contact-list .icon-badge .icon { width: 22px; height: 22px; }
.contact-list small {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list strong { font-size: 1.05rem; font-weight: 600; color: var(--navy); }

.form-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.form-card h3 { margin-bottom: 20px; font-size: 1.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: .92rem; font-weight: 600; color: var(--navy); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .85em 1em;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #737b8c; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--lavanda);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(105, 130, 243, .18);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.form-error {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fdecea;
  color: #8c1d18;
  font-size: .92rem;
}
.form-note { margin: 14px 0 0; font-size: .86rem; color: var(--muted); text-align: center; }

/* ---------- Rodapé ---------- */
.site-footer { padding: 72px 0 28px; background: var(--navy-900); color: var(--on-navy-muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; }
.footer-logo { width: 230px; margin-bottom: 18px; }
.footer-grid p { max-width: 24em; font-size: .97rem; }
.footer-title {
  margin: 4px 0 18px;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--on-navy);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-links .icon { width: 18px; height: 18px; color: var(--gold); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(227, 199, 141, .15);
  font-size: .88rem;
}
.footer-bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* ---------- Carrinho ---------- */
.carrinho-float {
  position: fixed;
  right: 22px;
  bottom: 98px;               /* logo acima do botão do WhatsApp */
  z-index: 40;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 1.5px solid rgba(227, 199, 141, .6);
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  cursor: pointer;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
  animation: float-in .3s ease;
}
.carrinho-float[hidden] { display: none; }
.carrinho-float:hover { transform: scale(1.08); }
.carrinho-float svg { width: 28px; height: 28px; }
.carrinho-float.is-bump { animation: float-bump .45s ease; }
.carrinho-float-qtd {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border: 2px solid var(--cream);
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1;
}
@keyframes float-in { from { opacity: 0; transform: scale(.6); } }
@keyframes float-bump { 40% { transform: scale(1.18); } }

/* Aviso "No carrinho: ..." que aparece por alguns segundos */
.aviso {
  position: fixed;
  top: calc(var(--header-h) + 12px);
  left: 50%;
  z-index: 45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 10px 10px 10px 18px;
  border-radius: 16px;
  background: var(--navy);
  color: #fff;
  font-size: .95rem;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .55);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity .25s ease, transform .25s ease;
}
.aviso:empty { padding: 0; }
.aviso.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.aviso b { color: var(--gold); font-weight: 600; }
.aviso button {
  min-height: 40px;
  padding: .4em 1.1em;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
}
.aviso button:hover { background: var(--gold); color: var(--navy); }

/* Painel lateral do carrinho */
.carrinho {
  width: min(440px, 100%);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .5);
}
.carrinho[open] { display: flex; flex-direction: column; animation: carrinho-in .3s ease; }
.carrinho::backdrop { background: rgba(0, 18, 44, .6); backdrop-filter: blur(2px); }
@keyframes carrinho-in { from { transform: translateX(100%); } }

.carrinho-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 16px 24px;
  border-bottom: 1px solid var(--line);
}
.carrinho-topo h2 { margin: 0; font-size: 2rem; }
.carrinho-topo .modal-close { position: static; box-shadow: none; background: var(--sand); }
.carrinho-topo .modal-close:hover { background: var(--gold); }

.carrinho-corpo { flex: 1; overflow-y: auto; padding: 20px 24px; }
.carrinho-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.carrinho-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 16px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.carrinho-item:last-child { padding-bottom: 0; border-bottom: 0; }
.carrinho-item img { width: 76px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--sand); }
.carrinho-item-nome { margin: 0; font-weight: 600; line-height: 1.35; color: var(--navy); }
.carrinho-item .price { margin: 2px 0 10px; }
.carrinho-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }

.qtd { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qtd button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--navy);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.qtd button:hover:not(:disabled) { background: var(--sand); }
.qtd button:disabled { color: #b4b9c3; cursor: default; }
.qtd span { min-width: 2ch; font-weight: 600; text-align: center; color: var(--navy); }

.carrinho-vazio { display: grid; justify-items: center; gap: 4px; padding: 40px 8px; text-align: center; color: var(--muted); }
.carrinho-vazio .icon-badge { margin-bottom: 14px; }
.carrinho-vazio b { color: var(--navy); font-weight: 600; }
.carrinho-vazio .btn { margin-top: 18px; }

.carrinho-rodape { display: grid; gap: 12px; padding: 18px 24px 22px; border-top: 1px solid var(--line); background: var(--cream); }
.carrinho-rodape[hidden] { display: none; }
.carrinho-rodape .field { margin: 0; }
.carrinho-rodape .field textarea { min-height: 0; background: var(--paper); }
.carrinho-total { margin: 0; font-size: .9rem; color: var(--muted); }
.carrinho-total strong { font-size: 1.15rem; color: var(--navy); }
.carrinho-total small { display: block; font-size: .85rem; }
.carrinho-status { margin: 0; font-size: .9rem; color: var(--navy); text-align: center; }
.carrinho-status:empty { display: none; }
.carrinho-limpar { justify-self: center; font-size: .85rem; color: var(--muted); }

/* ---------- Animação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid, .split, .split--reverse, .fair-grid, .contact-grid { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  /* No celular a foto aparece logo depois dos botões, antes das vantagens */
  .hero-grid { grid-template-areas: "texto" "midia" "vantagens"; }
  .hero-text { align-self: auto; }
  .hero-media { width: min(100%, 380px); margin-top: 24px; }
  .perks { justify-self: center; width: 100%; margin-top: 44px; }
  .order-steps ol { grid-template-columns: 1fr; gap: 18px; }
  .split-media { max-width: 520px; }
  .koke-card { right: 16px; }
  .about-media { max-width: 600px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .container { width: calc(100% - 32px); }
  .brand img { height: 38px; }
  .lead { font-size: 1.05rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-media { width: min(100% - 28px, 340px); }
  .hero-inset { width: 108px; left: -18px; bottom: 24px; }
  .steps { grid-template-columns: 1fr; }

  /* Filtros numa linha só, que desliza para o lado */
  .filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: -16px;
    padding: 8px 32px 12px 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent);
            mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent);
  }
  .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; min-height: 44px; padding: .5em .95em; font-size: .9rem; scroll-snap-align: start; scroll-margin-inline: 16px; }

  /* Catálogo compacto em 2 colunas; detalhes completos ficam na janela */
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .card-body { padding: 12px 12px 14px; gap: 8px; }
  .card h3 { font-size: 1.22rem; }
  .card-desc, .card .care { display: none; }
  .tag { top: 8px; left: 8px; padding: .3em .6em; font-size: .6rem; letter-spacing: .05em; }
  .card-meta { gap: 2px 8px; }
  .price, .link-btn { font-size: .8rem; }
  .price strong { font-size: 1rem; }
  .card .btn { min-height: 44px; padding: .7em .5em; font-size: .86rem; gap: .4em; }

  .mosaic { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mosaic figure { aspect-ratio: 4 / 3; }
  .mosaic figure:first-child { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3.4; }
  .about-media .frame:nth-child(2) { margin-top: 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-media img { height: 62svh; max-height: none; }
  .modal-body { padding: 26px 22px 28px; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 96px; } /* o botão do WhatsApp não cobre o texto final */
  body:has(.carrinho-float:not([hidden])) .site-footer { padding-bottom: 164px; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .carrinho-float { right: 16px; bottom: 84px; width: 56px; height: 56px; }
  .card .texto-largo { display: none; } /* no cartão estreito o botão diz só "Adicionar" */
  .carrinho-topo { padding-left: 18px; }
  .carrinho-corpo { padding: 16px 18px; }
  .carrinho-rodape { padding: 16px 18px 20px; }
}
