/* ==========================================================================
   Zanza Salgados — folha de estilos principal
   Sem dependências externas (sem Google Fonts/CDNs): tipografia de sistema,
   ícones em SVG inline. Compatível com a CSP "style-src 'self'" — nenhum
   estilo inline no HTML.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg: #FAFAFA;
  --surface: #FFFFFF;
  --cream: #F6EDE3;
  --cream-2: #FBF5EE;

  --choc-900: #2E1A10;
  --choc-800: #3B2216;
  --choc-700: #4A2C1D;
  --choc-500: #6B4430;
  --choc-300: #A07A62;

  --accent: #D9581E;        /* laranja queimado — CTAs */
  --accent-strong: #B8431A; /* vermelho queimado — hover */
  --accent-soft: #FCE6DA;
  --gold: #E9A23B;

  --text: #2E1A10;
  --text-muted: #6B5548;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(74, 44, 29, .06);
  --shadow: 0 10px 30px -10px rgba(74, 44, 29, .18), 0 4px 10px -4px rgba(74, 44, 29, .08);
  --shadow-lg: 0 24px 50px -16px rgba(74, 44, 29, .30), 0 8px 18px -8px rgba(74, 44, 29, .12);
  --shadow-accent: 0 10px 24px -8px rgba(217, 88, 30, .55);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--choc-700);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--accent-strong); text-underline-offset: 3px; }
a:hover { color: var(--accent); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.sprite { display: none; }

.icon {
  width: 1.25em; height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 200;
  padding: .7rem 1.1rem;
  background: var(--choc-700);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-block;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}
.text-accent { color: var(--accent); font-style: italic; }
.lead { font-size: 1.18rem; color: var(--text-muted); max-width: 36em; }

/* ---------- 3. Botões (micro-interações) ---------- */
.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out),
              background-color .25s, color .25s, border-color .25s;
}
/* Efeito de brilho que atravessa o botão ao passar o rato */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px) scale(1.03); color: var(--btn-fg); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-primary { box-shadow: var(--shadow-accent); }
.btn-primary:hover { --btn-bg: var(--accent-strong); box-shadow: 0 14px 30px -8px rgba(184, 67, 26, .6); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--choc-700);
  border-color: rgba(74, 44, 29, .25);
}
.btn-ghost:hover { --btn-bg: var(--choc-700); --btn-fg: #fff; border-color: var(--choc-700); }

.btn-ghost-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn-ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--choc-700); border-color: #fff; }

.btn-sm { padding: .62em 1.15em; font-size: .93rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1.06rem; }
.btn-block { width: 100%; }

/* Brilho contínuo e discreto para o CTA final */
.btn-shine::after { animation: shine 3.2s var(--ease-out) infinite 1.5s; }
@keyframes shine {
  0%   { transform: translateX(-120%); }
  40%, 100% { transform: translateX(120%); }
}

/* ---------- 4. Cabeçalho ---------- */
.header-sentinel { position: absolute; top: 0; height: 8px; width: 1px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 250, .82);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  transition: box-shadow .3s, background-color .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 6px 20px -12px rgba(74, 44, 29, .35);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--choc-700);
}
/* Logótipo (ilustração da fundadora, sem o texto — ver logo-mark.svg).
   A ilustração é detalhada: nunca abaixo de ~44px para continuar legível. */
.brand-mark {
  display: block;
  width: auto;
  height: 58px;
  flex-shrink: 0;
  transition: transform .5s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-4deg) scale(1.05); }
.site-footer .brand-mark { height: 72px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-name em { font-style: italic; color: var(--accent); font-weight: 600; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand-name em { color: var(--gold); }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  position: relative;
  color: var(--choc-700);
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  padding: .3rem 0;
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.site-nav ul a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--cream);
  color: var(--choc-700);
  cursor: pointer;
  place-items: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Menu mobile/tablet: até 1024px (em tablets na horizontal os 5 links + botão
   não cabem ao lado do logótipo). Posicionado em relação ao cabeçalho (sticky),
   e não ao ecrã — senão, com a faixa de promoção visível, abria por cima do
   próprio cabeçalho. */
@media (max-width: 1024px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    max-height: calc(100vh - var(--header-h) - 8px);
    max-height: calc(100dvh - var(--header-h) - 8px);
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1.25rem 16px 1.75rem;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s var(--ease-out), opacity .3s, visibility 0s .3s;
  }
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform .3s var(--ease-out), opacity .3s;
  }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .8rem .25rem; border-bottom: 1px solid #f0e6dc; }
  .site-nav ul a::after { display: none; }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
  background:
    radial-gradient(60rem 30rem at 85% 0%, var(--accent-soft), transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, var(--cream), transparent 65%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.6rem; }
.hero-trust {
  display: flex; flex-wrap: wrap;
  gap: .5rem 1.4rem;
  list-style: none; margin: 0; padding: 0;
  color: var(--choc-500);
  font-weight: 600;
  font-size: .95rem;
}
.hero-trust li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-trust .icon { color: var(--accent); }

.hero-visual { position: relative; }
.hero-visual > img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform .8s var(--ease-out);
}
.hero-visual:hover > img { transform: scale(1.02) rotate(-.5deg); }
.hero-blob {
  position: absolute;
  inset: -6% -4% -8% 6%;
  background: linear-gradient(135deg, var(--gold), var(--accent));
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  opacity: .22;
  filter: blur(4px);
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  to { border-radius: 58% 42% 56% 44% / 44% 58% 42% 56%; transform: rotate(8deg) scale(1.03); }
}

.hero-tag {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-size: .92rem;
  line-height: 1.3;
  animation: float 5s ease-in-out infinite;
}
.hero-tag .icon {
  width: 38px; height: 38px;
  padding: 8px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.hero-tag strong { display: block; color: var(--choc-700); }
.hero-tag small { color: var(--text-muted); }
.hero-tag--top { top: 8%; left: -6%; }
.hero-tag--bottom { bottom: 7%; right: -4%; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-8px); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin-inline: auto; }
  .hero-tag--top { left: 0; }
  .hero-tag--bottom { right: 0; }
}
@media (max-width: 520px) {
  .hero-tag { font-size: .8rem; padding: .55rem .75rem; }
  .hero-tag .icon { width: 30px; height: 30px; padding: 6px; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- 6. Diferenciais ---------- */
.features { margin-top: -2.5rem; position: relative; z-index: 2; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feature {
  padding: 1.6rem 1.4rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feature p { color: var(--text-muted); font-size: .97rem; margin: 0; }
.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-soft), var(--cream));
  color: var(--accent);
  transition: transform .4s var(--ease-out);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }

@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- 7. Secções ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-head { max-width: 720px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head p:last-child { color: var(--text-muted); }

.section-cream { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }

.section-dark {
  position: relative;
  color: #F3E7DC;
  background:
    radial-gradient(50rem 24rem at 100% 0%, rgba(217, 88, 30, .25), transparent 60%),
    radial-gradient(40rem 20rem at 0% 100%, rgba(233, 162, 59, .16), transparent 60%),
    var(--choc-800);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .section-head p:last-child { color: #D9C6B6; }

/* ---------- 8. Produtos ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
/* Zoom suave na imagem ao passar o rato no cartão */
.product-card:hover .product-media img { transform: scale(1.1) rotate(1deg); }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: .3rem .75rem;
  border-radius: var(--radius-pill);
  background: var(--choc-700);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.25rem 1.4rem;
}
.product-body h3 { margin-bottom: .35rem; }
.product-body p { color: var(--text-muted); font-size: .96rem; flex: 1; }
.product-body .btn { margin-top: .4rem; }

.allergens {
  display: flex; flex-wrap: wrap;
  gap: .35rem;
  list-style: none;
  margin: 0 0 1rem; padding: 0;
}
.allergens li {
  padding: .15rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--cream-2);
  border: 1px solid #EEDFD1;
  color: var(--choc-500);
  font-size: .76rem;
  font-weight: 600;
}

.allergen-note {
  max-width: 880px;
  margin: 2.5rem auto 0;
  padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  color: var(--text-muted);
  font-size: .9rem;
}

/* 8 produtos: 4 / 2 / 1 colunas — nunca uma última linha "coxa" */
@media (max-width: 1100px) { .product-grid { gap: 1.1rem; } }
@media (max-width: 960px)  { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem; } }
@media (max-width: 520px)  { .product-grid { grid-template-columns: 1fr; } }

/* ---------- 9. Packs ---------- */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.pack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.7rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
  transition: transform .4s var(--ease-out), background-color .4s, border-color .4s;
}
.pack-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .08); border-color: rgba(233, 162, 59, .5); }
.pack-card--featured {
  background: linear-gradient(160deg, rgba(217, 88, 30, .22), rgba(255, 255, 255, .06));
  border-color: rgba(233, 162, 59, .55);
}
.pack-card h3 { font-size: 1.5rem; margin-bottom: .1rem; }
.pack-qty { color: #D9C6B6; margin-bottom: 1rem; }
.pack-price {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 1.4rem;
}
.pack-price span { display: block; font: 600 .8rem/1.6 var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.pack-price--text { font-size: 1.7rem; padding-top: 1.28rem; }
.pack-card ul { list-style: none; margin: 0 0 1.8rem; padding: 0; flex: 1; }
.pack-card li { display: flex; align-items: center; gap: .55rem; padding: .35rem 0; color: #EADBCD; }
.pack-card li .icon { color: var(--gold); }
.pack-ribbon {
  position: absolute;
  top: -13px; right: 22px;
  padding: .3rem .9rem;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--choc-900);
  font-size: .78rem;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.pack-note { margin: 2.2rem auto 0; max-width: 720px; text-align: center; font-size: .85rem; color: #BFA897; }

@media (max-width: 900px) { .pack-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ---------- 10. Passos ---------- */
.steps {
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  margin: 0; padding: 0;
}
.step {
  position: relative;
  padding: 2rem 1.6rem 1.6rem;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #F1E6DB;
  text-align: center;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step p { color: var(--text-muted); margin: 0; }
.step-num {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font: 700 1.5rem/1 var(--font-display);
  box-shadow: var(--shadow-accent);
}
.steps-note { text-align: center; margin-top: 2rem; color: var(--text-muted); }

@media (max-width: 820px) { .steps { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ---------- 11. Sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}
.about-visual { overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-visual img { width: 100%; transition: transform .9s var(--ease-out); }
.about-visual:hover img { transform: scale(1.06); }
/* Ilustração a cores do logótipo (fundo branco próprio) */
.about-visual--logo {
  background: #fff;
  padding: clamp(1rem, 3vw, 2rem);
  max-width: 520px;
  justify-self: center;
  width: 100%;
}
.about-visual--logo img { border-radius: var(--radius); }
.about-visual--logo:hover img { transform: scale(1.03); }
.about-copy p { color: var(--text-muted); }
.about-group { font-weight: 600; color: var(--choc-500) !important; }

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- 12. FAQ ---------- */
.faq { display: grid; gap: .9rem; }
.faq details {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid #F1E6DB;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s, border-color .3s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: #EBD5C3; }
.faq summary {
  position: relative;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-weight: 700;
  color: var(--choc-700);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 1.4rem; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--text-muted); }

/* ---------- 13. CTA final ---------- */
.cta-final { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.cta-inner {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(30rem 16rem at 10% 0%, rgba(233, 162, 59, .45), transparent 60%),
    linear-gradient(135deg, var(--accent-strong), var(--accent) 55%, #E5762E);
  box-shadow: var(--shadow-lg);
}
.cta-inner h2 { color: #fff; }
.cta-inner p { color: #FFE9DC; font-size: 1.12rem; margin-bottom: 1.8rem; }
.cta-inner .btn-primary { --btn-bg: var(--choc-800); box-shadow: 0 12px 26px -10px rgba(46, 26, 16, .7); }
.cta-inner .btn-primary:hover { --btn-bg: var(--choc-900); }

/* ---------- 14. Rodapé ---------- */
.site-footer {
  padding: 4rem 0 1.5rem;
  background: var(--choc-900);
  color: #CDB8A8;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand p { margin-top: 1rem; max-width: 30em; }
.footer-title {
  font: 700 .85rem/1.4 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { color: #E8D7C9; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }
.site-footer li a, .footer-muted { display: inline-flex; align-items: center; gap: .45rem; }
.footer-group a { color: var(--gold); font-weight: 600; }
.footer-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 2rem;
  padding-top: 1.5rem;
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }

@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- 15. Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem;
  border-radius: var(--radius-pill);
  background: #1FAF54; /* verde associado ao WhatsApp */
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 28px -8px rgba(31, 175, 84, .6);
  transition: transform .3s var(--ease-out), padding .3s var(--ease-out), background-color .3s;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #1FAF54;
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.45); opacity: 0; }
}
.wa-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .4s var(--ease-out);
}
.wa-float:hover, .wa-float:focus-visible { color: #fff; background: #17944A; transform: translateY(-3px); padding-right: 1.3rem; }
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { max-width: 120px; }

/* ---------- 16. Páginas legais ---------- */
.legal { padding: clamp(3rem, 7vw, 5rem) 0; }
.legal-card {
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2.2rem; }
.legal h3 { font-size: 1.12rem; margin-top: 1.4rem; }
.legal p, .legal li { color: #4F3B2F; }
.legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .45rem; }
.legal code { padding: .1em .4em; border-radius: 6px; background: var(--cream-2); font-size: .9em; }
.legal-updated { color: var(--text-muted); font-size: .92rem; }
.legal-notice {
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  background: var(--cream-2);
  font-size: .95rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}
.back-link .icon { transform: rotate(180deg); }

/* Página 404 */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 0;
}
.error-code {
  font: 700 clamp(5rem, 18vw, 9rem)/1 var(--font-display);
  color: var(--accent);
  margin: 0;
}

/* ---------- 16b. Faixa de promoção (topo) ---------- */
.promo-bar {
  background: linear-gradient(90deg, var(--accent-strong), var(--accent));
  color: #fff;
  font-size: .92rem;
}
.promo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .3rem .7rem;
  padding: .55rem 0;
  text-align: center;
}
.promo-bar .icon { color: #FFD48A; }
.promo-bar a {
  display: inline-flex; align-items: center; gap: .3rem;
  color: #fff; font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px;
}
.promo-bar a:hover { color: #FFE3B3; }

/* ---------- 16c. Foto do hero + carimbo "estampado" ---------- */
.hero-photo {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease-out);
}
.hero-visual:hover .hero-photo img { transform: scale(1.05); }

.stamp {
  position: absolute;
  z-index: 3;
  top: -18px; right: -14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px; height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F0713A, var(--accent-strong) 70%);
  color: #fff;
  text-align: center;
  line-height: 1;
  box-shadow: 0 14px 30px -10px rgba(120, 30, 10, .65), inset 0 0 0 5px rgba(255, 255, 255, .18);
  transform: rotate(-12deg);
}
/* Anel tracejado interior — efeito de carimbo/autocolante */
.stamp::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px dashed rgba(255, 255, 255, .65);
  border-radius: 50%;
}
.stamp-top   { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.stamp-big   { font: 700 3.1rem/0.95 var(--font-display); margin: .1rem 0; }
.stamp-mid   { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stamp-price {
  margin-top: .35rem;
  padding: .2rem .55rem;
  border-radius: var(--radius-pill);
  background: var(--gold);
  color: var(--choc-900);
  font-size: .95rem;
  font-weight: 800;
}
.stamp--sm {
  top: 12px; right: 12px;
  width: 96px; height: 96px;
}
.stamp--sm::before { inset: 6px; }
.stamp--sm .stamp-big { font-size: 2.1rem; }
.stamp--sm .stamp-mid { font-size: .6rem; }

/* O carimbo "bate" quando a secção aparece no ecrã */
.reveal.is-visible .stamp,
.is-visible .stamp { animation: stamp-in .7s var(--ease-out) .45s both; }
@keyframes stamp-in {
  0%   { opacity: 0; transform: rotate(-30deg) scale(1.8); }
  70%  { opacity: 1; transform: rotate(-9deg) scale(.94); }
  100% { opacity: 1; transform: rotate(-12deg) scale(1); }
}

@media (max-width: 520px) {
  .hero-visual .stamp { width: 118px; height: 118px; top: -14px; right: -6px; }
  .hero-visual .stamp-big { font-size: 2.4rem; }
  .hero-visual .stamp-top { font-size: .62rem; }
  .hero-visual .stamp-mid { font-size: .56rem; letter-spacing: .02em; }
  .stamp-price { font-size: .82rem; }
}

/* ---------- 16d. Promoções ---------- */
.promos { padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.promos .eyebrow { display: inline-flex; align-items: center; gap: .35rem; }
.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}
.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
  transition: transform .4s var(--ease-out), border-color .4s, background-color .4s;
}
.promo-card:hover { transform: translateY(-8px); border-color: rgba(233, 162, 59, .55); background: rgba(255, 255, 255, .08); }
.promo-card--featured {
  background: linear-gradient(160deg, rgba(217, 88, 30, .25), rgba(255, 255, 255, .06));
  border-color: rgba(233, 162, 59, .55);
}
.promo-card .pack-ribbon { z-index: 4; }
.promo-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.promo-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.promo-card:hover .promo-media img { transform: scale(1.08); }
.promo-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.6rem; }
.promo-body h3 { font-size: 1.5rem; margin-bottom: .15rem; }
.promo-qty { color: #D9C6B6; margin-bottom: 1rem; flex: 1; }
.promo-price {
  font: 700 2.3rem/1 var(--font-display);
  color: #fff;
  margin-bottom: 1.2rem;
}
.promo-price span {
  display: block;
  font: 700 .74rem/1.8 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.promo-event {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 2rem;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(233, 162, 59, .5);
  background: rgba(255, 255, 255, .04);
}
.promo-event p { margin: 0; color: #EADBCD; }

@media (max-width: 900px) { .promo-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* Fotos verticais: enquadrar o salgado (que está na parte de baixo da foto) */
.product-media img[src*="bolinha-queijo"] { object-position: 50% 78%; }
.product-media img[src*="croquete"]       { object-position: 50% 68%; }
.product-media img[src*="kibe"]           { object-position: 50% 58%; }
.promo-media img[src*="coxinha-destaque"] { object-position: 50% 45%; }

/* ---------- 16e. Grupo AranTech ---------- */
.group { padding: 0 0 clamp(3.5rem, 7vw, 5rem); }
.group-card {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--cream-2), var(--cream));
  border: 1px solid #EEDFD1;
  box-shadow: var(--shadow-sm);
}
.group-icon {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--choc-700);
  color: var(--gold);
}
.group-icon .icon { width: 32px; height: 32px; }
.group-copy h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.group-copy p { color: var(--text-muted); max-width: 52em; }
.group-copy .eyebrow { margin-bottom: .4rem; }

@media (max-width: 620px) { .group-card { flex-direction: column; } }

/* ---------- 17. Animações de reveal (ativadas via IntersectionObserver) ---------- */
.reveal {
  opacity: 0;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
  will-change: opacity, transform;
}
.reveal-up    { transform: translateY(36px); }
.reveal-left  { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal.is-visible { opacity: 1; transform: none; }

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* Depois de revelado, o hover dos cartões não deve herdar o atraso */
.reveal.is-visible:hover { transition-delay: 0s; }

/* ---------- 18. Acessibilidade: reduzir movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .product-card:hover, .feature:hover, .step:hover, .pack-card:hover { transform: none; }
  .product-card:hover .product-media img,
  .about-visual:hover img,
  .hero-visual:hover > img { transform: none; }
  .wa-float::before, .hero-blob, .hero-tag { animation: none; }
}

/* ---------- 19. Responsividade (todos os dispositivos) ---------- */

/* Nunca deixar nada criar scroll horizontal (o carimbo e os elementos
   decorativos saem ligeiramente da foto de propósito). "clip" funciona
   também no Safari iOS, onde overflow-x:hidden no body não chega. */
html { overflow-x: clip; }
img, svg, video { max-width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }

/* Ecrãs grandes (≥ 1600px): um pouco mais de largura útil */
@media (min-width: 1600px) {
  .container { width: min(1320px, 100% - 64px); }
  body { font-size: 1.1rem; }
}

.brand-name { white-space: nowrap; }

/* Portáteis pequenos e tablets na horizontal (≤ 1180px): os elementos que
   "saem" da foto do hero ficam dentro do ecrã */
@media (max-width: 1180px) {
  .hero-tag--bottom { right: 10px; }
  .hero-visual .stamp { right: -4px; }
}

/* Tablets (601–1024px) */
@media (max-width: 1024px) {
  .hero-grid { gap: 2.5rem; }
}

/* Telemóveis (≤ 600px) */
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .brand-mark { height: 48px; }
  .brand-name { font-size: 1.22rem; }
  .site-footer .brand-mark { height: 60px; }
  .promo-bar { font-size: .84rem; }
  .promo-bar-inner { padding: .45rem 0; }
  .section { padding: 3.5rem 0; }
  .section-head { margin-bottom: 2rem; }
  .lead { font-size: 1.06rem; }
  .features { margin-top: -1.5rem; }
  .promo-price { font-size: 2rem; }
  .promo-event { flex-direction: column; align-items: stretch; text-align: center; }
  .group-card { align-items: center; text-align: center; }
  .legal-card { border-radius: var(--radius); }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* Telemóveis pequenos (≤ 380px — ex.: iPhone SE, Galaxy pequenos) */
@media (max-width: 380px) {
  .container { width: calc(100% - 24px); }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  .eyebrow { font-size: .72rem; letter-spacing: .1em; }
  .brand { gap: .45rem; }
  .brand-mark { height: 42px; }
  .brand-name { font-size: 1.08rem; }
  .nav-toggle { width: 42px; height: 42px; }
  .btn-lg { padding: .9em 1.2em; font-size: 1rem; }
  .hero-visual .stamp { width: 104px; height: 104px; top: -10px; right: -4px; }
  .stamp-top { font-size: .6rem; }
  .hero-visual .stamp-big { font-size: 2rem; }
  .stamp-mid { font-size: .58rem; }
  .stamp-price { font-size: .74rem; }
  .stamp--sm { width: 84px; height: 84px; }
  .stamp--sm .stamp-big { font-size: 1.8rem; }
  .hero-tag { display: none; }
  .product-body, .promo-body { padding-inline: 1.05rem; }
  .faq summary { padding-left: 1.1rem; }
}

/* Páginas legais: o botão "Voltar ao site" não pode empurrar o logótipo */
@media (max-width: 420px) {
  .site-header .header-inner > .btn-ghost { padding: .55em .9em; font-size: .85rem; white-space: nowrap; }
}

/* iPhone com notch / barra inferior: o botão do WhatsApp fica sempre visível */
.wa-float {
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
}

/* Ecrãs táteis: sem efeitos de "hover" que ficam presos depois de tocar */
@media (hover: none) {
  .product-card:hover, .feature:hover, .step:hover, .promo-card:hover, .pack-card:hover { transform: none; }
  .product-card:hover .product-media img,
  .promo-card:hover .promo-media img,
  .about-visual:hover img,
  .hero-visual:hover .hero-photo img { transform: none; }
  .btn:hover { transform: none; }
  .btn:active { transform: scale(.97); }
}

/* Telemóveis na horizontal (pouca altura): o cabeçalho deixa de ser fixo */
@media (max-height: 500px) and (orientation: landscape) {
  .site-header { position: relative; }
  .hero { padding-top: 1.5rem; }
}
