/* ==========================================================================
   CLIQUE CESTAS — Design System "Natal Premium"
   Do zero, sem framework. Vermelho de marca + dourado, tipografia sans.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --red: #c02323;
  --red-deep: #8f1a1a;
  --red-ink: #5c1212;
  --red-soft: #fbeeee;

  /* Acento natalino */
  --gold: #c9912a;
  --gold-light: #e6c46a;
  --gold-deep: #a8741b;
  --gold-soft: #f8efd9;

  /* Neutros quentes */
  --ink: #1c1615;
  --ink-2: #453b38;
  --muted: #7c716c;
  --line: #ece4dc;
  --cream: #fbf8f4;
  --paper: #ffffff;

  /* Tipografia */
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Espaco */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Formas */
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  /* Sombras */
  --sh-sm: 0 1px 2px rgba(28, 22, 21, .05), 0 4px 12px rgba(28, 22, 21, .05);
  --sh-md: 0 10px 30px rgba(28, 22, 21, .09);
  --sh-lg: 0 24px 60px rgba(28, 22, 21, .14);
  --sh-red: 0 12px 26px rgba(192, 35, 35, .28);

  --ring: 0 0 0 3px rgba(201, 145, 42, .45);
  --header-h: 84px;
  --container: 1200px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin: 0 0 var(--sp-4);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.05rem; letter-spacing: 0; }

p { margin: 0 0 var(--sp-4); color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

a { color: var(--red); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--red-deep); }

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

ul { margin: 0; }

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 6px;
}

::selection { background: var(--gold-light); color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 50%; top: -60px; transform: translateX(-50%);
  z-index: 2000; background: var(--red); color: #fff; padding: 12px 22px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.container { width: min(var(--container), 92vw); margin-inline: auto; }
.container--wide { width: min(1400px, 94vw); }
.container--narrow { width: min(820px, 92vw); }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255, 255, 255, .78); }

.grid { display: grid; gap: var(--gap, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split--top { align-items: start; }

.stack > * + * { margin-top: var(--sp-4); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.mb-0 { margin-bottom: 0; } .mb-4 { margin-bottom: var(--sp-4); } .mb-5 { margin-bottom: var(--sp-5); }
.m-0 { margin: 0; }
.d-block { display: block; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.items-center { align-items: center; } .justify-center { justify-content: center; }
.text-red { color: var(--red); } .text-gold { color: var(--gold); } .text-muted { color: var(--muted); }
.max-60 { max-width: 60ch; } .max-50 { max-width: 50ch; }

/* --------------------------------------------------------------------------
   4. Botoes e etiquetas
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; line-height: 1; padding: 16px 30px;
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn svg { flex: 0 0 auto; }
.btn--primary { background: var(--red); color: #fff; box-shadow: var(--sh-red); }
.btn--primary:hover { background: var(--red-deep); color: #fff; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: 0 12px 26px rgba(201, 145, 42, .32); }
.btn--gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }
.btn--outline { border-color: var(--red); color: var(--red); background: transparent; }
.btn--outline:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 12px 22px; font-size: .88rem; }
.btn--lg { padding: 19px 38px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: .76rem;
  text-transform: uppercase; letter-spacing: .22em; color: var(--gold);
}
.eyebrow::before { content: ""; width: 26px; height: 1.5px; background: var(--gold); }
.eyebrow--center::after { content: ""; width: 26px; height: 1.5px; background: var(--gold); }

.badge {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--r-pill);
}
.badge--red { background: var(--red); color: #fff; }
.badge--gold { background: var(--gold-soft); color: var(--gold-deep); }

/* --------------------------------------------------------------------------
   5. Header / Navegacao
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 248, 244, .86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-stuck { background: rgba(255, 255, 255, .96); box-shadow: var(--sh-sm); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-5); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 48px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 15px;
  border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 600;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
  transition: color .18s ease, background .18s ease;
}
.nav__link:hover { color: var(--red); background: var(--red-soft); }
.nav__link.is-active { color: var(--red); }
.nav__link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 2px; border-radius: 2px; background: var(--gold);
}
.nav__item.has-sub > .nav__link::before {
  content: ""; width: 6px; height: 6px; margin-left: 2px; order: 2;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: .6;
}
.submenu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-lg); padding: 8px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.nav__item.has-sub:hover .submenu,
.nav__item.has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: 11px 14px; border-radius: var(--r-sm); color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.submenu a:hover { background: var(--red-soft); color: var(--red); }

.nav-cta { margin-left: 10px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line);
  background: var(--paper); border-radius: 14px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .22s ease, opacity .22s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--ink); }
.hero__swiper { height: clamp(520px, 84vh, 860px); }
.hero__slide { position: relative; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 10, 10, .82) 0%, rgba(28, 10, 10, .55) 44%, rgba(28, 10, 10, .12) 100%),
    linear-gradient(0deg, rgba(20, 8, 8, .72), transparent 42%);
}
.hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  max-width: 660px; color: #fff;
}
.hero__title { color: #fff; font-size: clamp(2.3rem, 6vw, 4.4rem); margin-bottom: var(--sp-4); text-shadow: 0 4px 30px rgba(0, 0, 0, .35); }
.hero__title em { font-style: normal; color: var(--gold-light); }
.hero__text { color: rgba(255, 255, 255, .9); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }
.hero .swiper-pagination-bullet { width: 26px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.5); opacity: 1; }
.hero .swiper-pagination-bullet-active { background: var(--gold); }
.hero .swiper-button-next, .hero .swiper-button-prev { color: #fff; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; background: rgba(0,0,0,.15); }
.hero .swiper-button-next::after, .hero .swiper-button-prev::after { font-size: 18px; font-weight: 700; }

/* --------------------------------------------------------------------------
   7. Faixa de confianca
   -------------------------------------------------------------------------- */
.trust { background: var(--ink); }
.trust .grid--4 { gap: 0; }
.trust__item {
  display: flex; align-items: center; gap: 16px; padding: 30px 26px;
  border-right: 1px solid rgba(255,255,255,.09);
}
.trust__item:last-child { border-right: 0; }
.trust__icon {
  width: 50px; height: 50px; flex: 0 0 auto; border-radius: 14px;
  display: grid; place-items: center; background: rgba(201, 145, 42, .16); color: var(--gold-light);
}
.trust__icon svg { width: 24px; height: 24px; }
.trust__item b { font-family: var(--font-display); font-size: 1.28rem; color: #fff; display: block; }
.trust__item span { font-size: .82rem; color: rgba(255,255,255,.6); letter-spacing: .02em; }

/* --------------------------------------------------------------------------
   8. Cabecalho de secao
   -------------------------------------------------------------------------- */
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 60px); text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { margin: var(--sp-3) 0 0; }
.section-head p { margin-top: var(--sp-4); color: var(--muted); }

/* --------------------------------------------------------------------------
   8b. Tiles de linha + faixa CTA
   -------------------------------------------------------------------------- */
.tile {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); min-height: 360px;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24, 8, 8, .84), rgba(24, 8, 8, .08) 62%); }
.tile:hover img { transform: scale(1.06); }
.tile__body { position: relative; z-index: 2; min-height: 360px; display: flex; flex-direction: column; justify-content: flex-end; padding: var(--sp-6); color: #fff; }
.tile__body .badge { align-self: flex-start; margin-bottom: auto; }
.tile__body h3 { color: #fff; margin-bottom: 6px; }
.tile__body p { color: rgba(255,255,255,.82); font-size: .9rem; margin: 0 0 14px; }
.tile__link { color: var(--gold-light); font-family: var(--font-display); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.tile:hover .tile__link { color: #fff; }

.cta-band { background: linear-gradient(140deg, #6f1313, var(--red) 58%, #d14343 130%); color: #fff; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 80px); text-align: center; box-shadow: var(--sh-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 60ch; margin-inline: auto; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-6); }

/* --------------------------------------------------------------------------
   9. Cards de cesta
   -------------------------------------------------------------------------- */
.cesta {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cesta:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: #e2d6c8; }
.cesta__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--red-soft); display: block; }
.cesta__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cesta:hover .cesta__media img { transform: scale(1.06); }
.cesta__badge { position: absolute; top: 14px; left: 14px; }
.cesta__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); }
.cesta__title { font-size: 1.12rem; margin: 0 0 6px; }
.cesta__desc { color: var(--muted); font-size: .88rem; margin: 0 0 var(--sp-4); }
.cesta__price { margin-top: auto; margin-bottom: var(--sp-4); }
.cesta__price b { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; color: var(--red); }
.cesta__price small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
.cesta__actions { display: flex; gap: 10px; }

/* --------------------------------------------------------------------------
   10. Barra de filtro (categorias)
   -------------------------------------------------------------------------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-6); flex-wrap: wrap; }
.toolbar__count { color: var(--muted); font-size: .9rem; }
.view-toggle { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--paper); }
.view-toggle button {
  width: 40px; height: 36px; border: 0; border-radius: var(--r-pill); background: transparent;
  color: var(--muted); cursor: pointer; display: grid; place-items: center;
  transition: background .18s ease, color .18s ease;
}
.view-toggle button.is-active { background: var(--red); color: #fff; }

.grid--auto.is-list { grid-template-columns: 1fr; }
.grid--auto.is-list .cesta { flex-direction: row; }
.grid--auto.is-list .cesta__media { flex: 0 0 280px; width: 280px; aspect-ratio: auto; }
.grid--auto.is-list .cesta__body { flex-direction: row; align-items: center; gap: var(--sp-6); }
.grid--auto.is-list .cesta__price { margin: 0; }
.grid--auto.is-list .cesta__actions { margin-left: auto; }

/* --------------------------------------------------------------------------
   11. Campanha natalina + contador
   -------------------------------------------------------------------------- */
.campaign {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(140deg, #6f1313, var(--red) 55%, #d14343 130%);
  box-shadow: var(--sh-lg);
}
.campaign__grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; }
.campaign__media { position: relative; min-height: 320px; }
.campaign__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.campaign__body { padding: clamp(32px, 5vw, 64px); color: #fff; }
.campaign__body h2 { color: #fff; }
.campaign__body p { color: rgba(255,255,255,.86); }
.campaign .eyebrow { color: var(--gold-light); }
.campaign .eyebrow::before { background: var(--gold-light); }

.countdown { display: flex; flex-wrap: wrap; gap: 12px; margin: var(--sp-6) 0; }
.countdown__unit {
  flex: 1 1 76px; min-width: 76px; text-align: center; padding: 18px 8px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--r-md); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.countdown__num { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1; }
.countdown__label { font-size: .68rem; text-transform: uppercase; letter-spacing: .18em; opacity: .82; }

/* --------------------------------------------------------------------------
   12. Blocos de destaque / features
   -------------------------------------------------------------------------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon {
  width: 54px; height: 54px; flex: 0 0 auto; border-radius: 16px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 2px; }
.feature p { color: var(--muted); font-size: .9rem; margin: 0; }

.info-card {
  height: 100%; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: var(--sp-6); box-shadow: var(--sh-sm);
  border-top: 3px solid var(--gold);
}
.info-card h3 { margin-bottom: var(--sp-3); }

/* --------------------------------------------------------------------------
   13. Acordeao (details/summary, sem JS)
   -------------------------------------------------------------------------- */
.accordion { display: grid; gap: 14px; }
.acc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--sh-sm);
}
.acc > summary {
  list-style: none; cursor: pointer; padding: var(--sp-5) var(--sp-6);
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after {
  content: ""; width: 9px; height: 9px; flex: 0 0 auto;
  border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform .22s ease;
}
.acc[open] > summary { color: var(--red); background: var(--red-soft); }
.acc[open] > summary::after { transform: rotate(-135deg); }
.acc__body { padding: var(--sp-5) var(--sp-6); border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.acc__body ul { padding-left: 1.1em; display: grid; gap: 6px; }

/* --------------------------------------------------------------------------
   14. Formularios
   -------------------------------------------------------------------------- */
.field { margin-bottom: var(--sp-5); }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .86rem; margin-bottom: 8px; color: var(--ink); }
.input, textarea.input, select.input {
  width: 100%; padding: 15px 17px; font-family: var(--font-body); font-size: .98rem;
  color: var(--ink); background: var(--paper); border: 1.5px solid var(--line);
  border-radius: var(--r-sm); transition: border-color .18s ease, box-shadow .18s ease;
}
.input::placeholder { color: #ab9f99; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: var(--ring); }
textarea.input { min-height: 160px; resize: vertical; }
input[type="file"].input { padding: 12px; }
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 48px); box-shadow: var(--sh-sm);
}
.form-note { font-size: .8rem; color: var(--muted); margin-top: 8px; }

/* --------------------------------------------------------------------------
   15. Contato
   -------------------------------------------------------------------------- */
.contact-card {
  height: 100%; text-align: center; padding: var(--sp-7) var(--sp-5);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.contact-card__icon {
  width: 64px; height: 64px; margin: 0 auto var(--sp-4); border-radius: 50%;
  display: grid; place-items: center; background: var(--red-soft); color: var(--red);
}
.contact-card__icon svg { width: 28px; height: 28px; }
.contact-card h3 { margin-bottom: var(--sp-2); }
.contact-card p { margin: 4px 0; }
.contact-card a { font-weight: 600; }

.delivery-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; height: 100%; box-shadow: var(--sh-sm);
}
.delivery-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.delivery-card__body { padding: var(--sp-5); }
.delivery-card__body h3 { font-size: 1.08rem; color: var(--red); margin-bottom: 6px; }
.delivery-card__body p { font-size: .88rem; margin: 0; }

/* --------------------------------------------------------------------------
   16. Page hero (paginas internas)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(72px, 11vw, 140px) 0 clamp(52px, 7vw, 84px);
  background: linear-gradient(140deg, #241512, #4a2b24 62%, var(--red-ink) 150%);
}
.page-hero::before {
  content: ""; position: absolute; top: -140px; right: -100px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(201,145,42,.4), transparent 62%); pointer-events: none;
}
.page-hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-hero p { color: rgba(255,255,255,.82); max-width: 60ch; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 var(--sp-4); font-size: .84rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); }
.breadcrumbs li + li::before { content: "/"; opacity: .45; }
.breadcrumbs a { color: rgba(255,255,255,.9); }
.breadcrumbs a:hover { color: var(--gold-light); }

/* --------------------------------------------------------------------------
   17. Detalhe de produto
   -------------------------------------------------------------------------- */
.detail-media {
  border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: var(--paper); box-shadow: var(--sh-sm);
}
.detail-media img { width: 100%; }
.detail-price { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--red); margin: var(--sp-2) 0; }
.detail-note { font-size: .84rem; color: var(--muted); }

.table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.table thead th {
  background: var(--ink); color: #fff; text-align: left; padding: 15px 18px;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: .08em;
}
.table tbody td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.table tbody tr:nth-child(even) { background: #fcfaf7; }
.table tbody tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   18. Rodape
   -------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.68); padding-top: clamp(56px, 7vw, 88px); margin-top: var(--sp-8); }
.site-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: var(--sp-5); }
.site-footer a { color: rgba(255,255,255,.74); }
.site-footer a:hover { color: var(--gold-light); }
.footer-brand p { color: rgba(255,255,255,.6); max-width: 34ch; }
.footer-logo { height: 52px; width: auto; background: #fff; padding: 12px 18px; border-radius: 14px; margin-bottom: var(--sp-5); }
.footer-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-social { display: flex; gap: 12px; margin-top: var(--sp-5); }
.footer-social a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff; transition: background .2s ease, transform .2s ease;
}
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px); padding: var(--sp-5) 0;
  border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem;
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: var(--sp-7); }
@media (max-width: 991px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   19. Botoes flutuantes
   -------------------------------------------------------------------------- */
.wpp-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 1050;
  width: 60px; height: 60px; border-radius: 50%; background: #25d366;
  display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,.42);
  transition: transform .2s ease;
}
.wpp-float:hover { transform: scale(1.07); }
.wpp-float svg { width: 32px; height: 32px; fill: #fff; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1050;
  width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--red); color: #fff; display: grid; place-items: center;
  box-shadow: var(--sh-md); opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* --------------------------------------------------------------------------
   20. Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }

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

@media (max-width: 991px) {
  :root { --header-h: 74px; }
  .brand__logo { height: 42px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
    background: var(--cream); flex-direction: column; align-items: stretch;
    gap: 0; padding: var(--sp-5); overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .nav.is-open { transform: translateX(0); visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav__item { width: 100%; }
  .nav__link { width: 100%; justify-content: space-between; padding: 15px 16px; font-size: .92rem; }
  .nav__link.is-active::after { display: none; }
  .nav__item.has-sub > .nav__link::before { order: 0; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; border-left: 2px solid var(--line); border-radius: 0; min-width: 0;
    margin: 0 0 8px 16px; padding: 0 0 0 8px;
  }
  .nav-cta { margin: var(--sp-4) 0 0; }
  .nav-cta .btn { width: 100%; }
  .split { grid-template-columns: 1fr; }
  .campaign__grid { grid-template-columns: 1fr; }
  .campaign__media { min-height: 260px; }
  .trust .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.09); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--auto { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cesta__body { padding: var(--sp-4); }
  .cesta__title { font-size: 1rem; }
  .cesta__price b { font-size: 1.3rem; }
  .cesta__actions .btn { padding: 11px 16px; font-size: .82rem; }
  .grid--auto.is-list .cesta { flex-direction: column; }
  .grid--auto.is-list .cesta__media { width: 100%; flex: none; aspect-ratio: 4/3; }
  .grid--auto.is-list .cesta__body { flex-direction: column; align-items: stretch; gap: var(--sp-3); }
  .grid--auto.is-list .cesta__actions { margin-left: 0; }
  .hero__swiper { height: clamp(480px, 78vh, 640px); }
  .btn { padding: 14px 24px; }
  .btn--lg { padding: 16px 28px; font-size: .96rem; }
  .countdown__unit { flex: 1 1 calc(50% - 6px); }
  .wpp-float { width: 54px; height: 54px; left: 16px; bottom: 16px; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .brand__logo { height: 38px; }
  .grid--auto, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}
