/* ==========================================================================
   RedeSol Lucas Supermercado — landing page
   Baseada no protótipo "LP Lucas V1 - Sol de Bairro".
   Ordem: fontes > tokens > base > utilitários > componentes > seções > responsivo
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Fontes (self-hosted, variáveis — um arquivo cobre toda a faixa de peso)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/baloo2-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url('../fonts/baloo2-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/nunitosans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/nunitosans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   2. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --cream: #FFF7EC;
  --cream-2: #FFF1DC;
  --cream-3: #FFE9C4;
  --ink: #2B1E14;
  --ink-muted: #5B4636;
  --ink-soft: #7A6552;
  --ink-faint: #7A6552;
  --line: #F0DFC6;
  --orange: #F29100;
  --orange-deep: #8A4F14;
  --amber: #C97400;          /* apenas fundos/detalhes */
  --orange-text: #A85A00;   /* laranja aprovado para texto sobre creme (4.8:1) */
  --yellow: #E6B506;
  --yellow-light: #F2C41C;
  --yellow-bright: #FFC916;

  /* WhatsApp e apoio */
  --whats: #25D366;
  --whats-dark: #1FBC5B;
  --whats-ink: #0B2E18;
  --leaf: #8CC63F;
  --leaf-ink: #17300A;
  --red: #E03A2F;

  /* Empório Verde */
  --green: #2E7D32;
  --green-bg: #EAF4E2;
  --green-ink: #1E3D16;
  --green-text: #3C5A32;

  /* Rodapé */
  --footer-bg: #1B120B;
  --footer-text: #C9B7A3;
  --footer-tile: #2E2116;

  /* Tipografia */
  --font-display: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(40px, 6vw, 80px);
  --header-h: 72px;

  /* Movimento */
  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Compensa o header fixo ao pular por âncora. */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  text-wrap: balance;
}

p { text-wrap: pretty; }

a {
  color: var(--orange-text);
  text-decoration: none;
}
a:hover { color: var(--orange-deep); }

/* Link dentro de parágrafo precisa ser identificável sem depender só da cor
   (WCAG 1.4.1). Botões ficam de fora: já têm forma própria. */
:where(p) a:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

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

/* O <picture> é só um invólucro de seleção de formato. Quando a imagem é item
   de um grid/flex, quem vira item é o <picture> — então ele precisa ser um
   bloco que ocupa a célula, com a <img> preenchendo-o.
   (display:contents aqui seria pior: os <source> passariam a contar como
   itens de grid e a grade sairia escalonada.) */
picture { display: block; }
picture > source { display: none; }

ul { list-style: none; padding: 0; margin: 0; }

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

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section__title {
  font-size: clamp(28px, 4vw, 44px);
  margin: 0;
  line-height: 1.1;
}

.section__lead {
  font-size: 18px;
  color: var(--ink-muted);
  margin: 10px 0 32px;
  max-width: 56ch;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 12px 12px;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* --------------------------------------------------------------------------
   4. Animações e revelação ao rolar
   -------------------------------------------------------------------------- */
@keyframes bobUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes softPulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 0 rgba(37,211,102,.55); }
  60% { box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 0 16px rgba(37,211,102,0); }
}

.bob { animation: bobUp 4s ease-in-out infinite; }
.bob--slow { animation-duration: 6s; }
.bob--slower { animation-duration: 7s; }

/* Entrada imediata: usada no conteúdo acima da dobra. */
.rise { animation: riseIn .7s var(--ease) both; }
.rise--1 { animation-delay: .08s; }
.rise--2 { animation-delay: .16s; }
.rise--3 { animation-delay: .24s; }

/* Revelação ao rolar.
   Camada 1 — sem suporte e sem JS: o conteúdo nasce visível (nada quebra).
   Camada 2 — navegadores com scroll-driven animations: anima nativamente, fora da main thread.
   Camada 3 — demais navegadores com JS: IntersectionObserver marca .is-visible. */
@supports (animation-timeline: view()) {
  .reveal {
    animation: riseIn .7s var(--ease) both;
    animation-timeline: view();
    animation-range: entry 0% entry 55%;
  }
}

html.reveal-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.reveal-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* Quem pediu menos movimento não recebe fade ao rolar — em nenhuma das
     três camadas. O conteúdo simplesmente já está lá. */
  .reveal,
  html.reveal-js .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   5. Botões e chips
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  border-radius: 999px;
  padding: 16px 30px;
  font-size: 19px;
  line-height: 1;
  border: 1px solid transparent;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-3px); }

.btn--sm { font-size: 16px; padding: 12px 22px; }

.btn--whats { background: var(--whats); color: var(--whats-ink); font-weight: 800; }
.btn--whats:hover { background: var(--whats-dark); color: var(--whats-ink); box-shadow: 0 12px 22px rgba(37,211,102,.38); }

.btn--ghost { background: #fff; color: var(--ink); border-color: #E4DFD6; }
.btn--ghost:hover { border-color: var(--yellow); color: var(--orange-deep); box-shadow: 0 12px 22px rgba(43,30,20,.12); }

.btn--dark { background: var(--ink); color: #fff; padding: 15px 28px; font-size: 18px; }
.btn--dark:hover { background: #000; color: #fff; box-shadow: 0 12px 22px rgba(43,30,20,.3); }

.btn--light { background: #fff; color: var(--ink); padding: 15px 28px; font-size: 18px; }
.btn--light:hover { background: #FFF3DF; color: var(--ink); box-shadow: 0 12px 22px rgba(43,30,20,.22); }

.btn--yellow { background: var(--yellow); color: var(--ink); font-weight: 800; }
.btn--yellow:hover { background: var(--yellow-light); color: var(--ink); box-shadow: 0 12px 22px rgba(230,181,6,.4); }

.btn--deep { background: var(--whats-ink); color: #fff; font-weight: 800; font-size: 20px; padding: 18px 34px; }
.btn--deep:hover { background: #062E15; color: #fff; box-shadow: 0 12px 22px rgba(11,46,24,.35); }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--cream-2);
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 15px;
  padding: 9px 16px;
  border-radius: 999px;
}
.chip--white { background: #fff; color: var(--green); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream-3);
  color: var(--orange-deep);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}
.eyebrow--green { background: var(--green); color: #fff; font-size: 13px; letter-spacing: .1em; padding: 7px 14px; }
.eyebrow--yellow { background: var(--yellow-bright); color: var(--ink); font-weight: 800; font-size: 13px; letter-spacing: .1em; padding: 7px 14px; }

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.tag--leaf { background: var(--leaf); color: var(--leaf-ink); }
.tag--red { background: var(--red); color: #fff; }

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  transition: transform .2s ease, background-color .2s ease;
}
.icon-circle:hover { background: var(--ink); color: #fff; transform: translateY(-3px) scale(1.06); }
.icon-circle svg { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 236, .94);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { backdrop-filter: blur(8px); }
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 12px;
}

.site-header__brand { flex: 0 0 auto; }
.site-header__brand img { height: 46px; width: auto; }

.main-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-weight: 600;
  font-size: 15px;
}
.main-nav a { color: var(--ink-muted); white-space: nowrap; }
.main-nav a:hover { color: var(--orange-deep); }

/* Botão do menu: existe só no mobile e só quando há JS (ver seção 19). */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}
.nav-toggle:hover { background: var(--cream-2); border-color: var(--orange); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(28px, 5vw, 64px);
}

.hero__title {
  font-size: clamp(36px, 5.6vw, 60px);
  line-height: 1.02;
  margin: 0;
}
.hero__title em { color: var(--orange-text); font-style: normal; }

.hero__lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 46ch;
  margin: 18px 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero__note { font-size: 15px; color: var(--ink-faint); margin: 16px 0 0; }

.hero__media { position: relative; }
.hero__frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(92, 60, 24, .22);
}
.hero__frame img {
  width: 100%;
  height: clamp(280px, 42vw, 460px);
  object-fit: cover;
}
.hero__sun {
  position: absolute;
  right: -10px;
  top: -32px;
  width: clamp(86px, 11vw, 124px);
  height: auto;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.18));
}

/* --------------------------------------------------------------------------
   8. Faixa de diferenciais
   -------------------------------------------------------------------------- */
.perks {
  background: #fff;
  border-block: 1px solid var(--line);
}
.perks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  padding-block: 26px;
}
.perk { display: flex; gap: 14px; align-items: center; }
.perk__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.perk:hover .perk__icon { transform: scale(1.08) rotate(-4deg); }
.perk__icon svg { width: 23px; height: 23px; }
.perk strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
}
/* :where zera o peso do container: senão esta regra venceria .perk__icon,
   que também é um <span>, e o ícone perderia o branco. */
:where(.perk) span { font-size: 14px; color: var(--ink-soft); }
.perk__icon { font-size: 0; color: #fff; }

/* --------------------------------------------------------------------------
   9. Dias de oferta
   -------------------------------------------------------------------------- */
.offers__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.offer-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.offer-card:hover { transform: translateY(-8px); box-shadow: 0 22px 40px rgba(92, 60, 24, .28); }

.offer-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .55;
  transition: transform .6s var(--ease), opacity .4s ease;
}
.offer-card:hover img { transform: scale(1.07); opacity: .68; }
.offer-card--meat img { opacity: .5; }
.offer-card--meat:hover img { opacity: .64; }

.offer-card__body { position: relative; padding: 28px; pointer-events: none; }
.offer-card__body h3 {
  font-size: clamp(30px, 4vw, 42px);
  color: #fff;
  margin: 14px 0 8px;
  line-height: 1.05;
}
.offer-card__body p {
  color: #F5E9D8;
  font-size: 17px;
  margin: 0;
  max-width: 34ch;
}

/* --------------------------------------------------------------------------
   10. Setores
   -------------------------------------------------------------------------- */
.sectors { background: #fff; border-top: 1px solid var(--line); }

.sectors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.sector-card {
  border-radius: 22px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease;
}
.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(92, 60, 24, .16);
  border-color: var(--orange);
}
.sector-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.sector-card:hover img { transform: scale(1.06); }
.sector-card__body { padding: 20px; }
.sector-card__body h3 { font-size: 23px; font-weight: 700; margin: 0 0 6px; }
.sector-card__body p { margin: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }

.sectors .chips { margin-top: 28px; }

/* --------------------------------------------------------------------------
   11. Clube Lucas
   -------------------------------------------------------------------------- */
.clube { background: var(--orange); }
.clube__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.clube__title {
  font-size: clamp(30px, 4.4vw, 48px);
  color: var(--ink);
  margin: 0;
  line-height: 1.05;
}
.clube__lead {
  color: #3A2A18;
  font-size: 18px;
  line-height: 1.55;
  margin: 16px 0 24px;
  max-width: 46ch;
}
.clube__list { display: grid; gap: 12px; margin-bottom: 30px; }
.clube__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  font-size: 17px;
}
.clube__check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.clube__check svg { width: 14px; height: 14px; }
.clube__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.clube__media { display: flex; justify-content: center; }
.clube__card {
  background: #fff;
  border-radius: 32px;
  padding: 28px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 22px 44px rgba(120, 64, 0, .28);
}
.clube__art { width: 100%; }
.clube__card p {
  text-align: center;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--orange-deep);
  margin: 4px 0 0;
}

/* --------------------------------------------------------------------------
   12. Empório Verde
   -------------------------------------------------------------------------- */
.emporio { background: var(--green-bg); }
.emporio__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.emporio__media { display: flex; justify-content: center; }
.emporio__media picture { width: min(320px, 80%); }
.emporio__media img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(30, 70, 20, .2));
}
.emporio h2 { font-size: clamp(28px, 4vw, 44px); margin: 16px 0 12px; color: var(--green-ink); }
:where(.emporio) p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--green-text);
  margin: 0 0 20px;
  max-width: 46ch;
}

/* --------------------------------------------------------------------------
   13. Loja online
   -------------------------------------------------------------------------- */
.online {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.online h2 { font-size: clamp(28px, 4vw, 44px); margin: 0 0 12px; }
:where(.online) p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-muted);
  margin: 0 0 24px;
  max-width: 46ch;
}

.browser {
  border-radius: 20px;
  overflow: hidden;
  border: 10px solid var(--ink);
  box-shadow: 0 20px 40px rgba(92, 60, 24, .2);
}
.browser__bar {
  background: var(--ink);
  padding: 0 0 8px 4px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.browser__dot { width: 9px; height: 9px; border-radius: 50%; }
.browser__dot:nth-child(1) { background: #FF5F57; }
.browser__dot:nth-child(2) { background: #FEBC2E; }
.browser__dot:nth-child(3) { background: #28C840; }
.browser img {
  width: 100%;
  height: clamp(220px, 28vw, 320px);
  object-fit: cover;
  object-position: top;
}

/* --------------------------------------------------------------------------
   14. A loja
   -------------------------------------------------------------------------- */
.store { background: var(--ink); }
.store__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.store h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin: 16px 0 14px;
  line-height: 1.08;
}
:where(.store) p {
  color: #D9C7B2;
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 24px;
  max-width: 46ch;
}
.store__address {
  color: #fff;
  font-size: 18px;
  margin: 0;
  line-height: 1.7;
}
.store__address strong { font-family: var(--font-display); font-size: 20px; }

.store__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.store__gallery img { width: 100%; height: 150px; object-fit: cover; border-radius: 18px; }
.store__gallery .is-wide { grid-column: 1 / -1; }
.store__gallery .is-wide img { height: clamp(180px, 22vw, 240px); }

/* --------------------------------------------------------------------------
   15. Redes sociais
   -------------------------------------------------------------------------- */
.social { text-align: center; }
.social h2 { font-size: clamp(26px, 3.6vw, 40px); margin: 0 0 8px; }
.social > .social__lead { font-size: 18px; color: var(--ink-muted); margin: 0 0 28px; }
.social__lead a { font-weight: 700; }

.social__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 520px) { .social__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px) { .social__grid { grid-template-columns: repeat(5, 1fr); } }
.social__grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  transition: transform .35s ease;
}
.social__grid img:hover { transform: scale(1.05); }

.social__links { display: flex; justify-content: center; gap: 14px; margin-top: 26px; }

/* --------------------------------------------------------------------------
   16. CTA WhatsApp
   -------------------------------------------------------------------------- */
.cta-whats { background: var(--whats); }
.cta-whats__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding-block: clamp(32px, 5vw, 56px);
}
.cta-whats h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  color: var(--whats-ink);
  margin: 0 0 6px;
}
:where(.cta-whats) p { color: #0B3E20; font-size: 18px; margin: 0; }

/* --------------------------------------------------------------------------
   17. Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: var(--footer-bg); color: var(--footer-text); }
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-block: clamp(32px, 5vw, 56px);
}
.site-footer img { width: 150px; height: auto; }
.site-footer h3 {
  font-family: var(--font-display);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
}
:where(.site-footer) p { font-size: 15px; line-height: 1.7; margin: 0; }
.site-footer__legal { font-size: 14px; line-height: 1.6; margin: 16px 0 0; }
.site-footer a { color: var(--yellow-bright); }
.site-footer a:hover { color: #fff; }
.site-footer__links { line-height: 1.9; }

.site-footer__social { display: flex; gap: 12px; margin-top: 4px; }
.site-footer__social .icon-circle {
  width: 46px;
  height: 46px;
  background: var(--footer-tile);
  color: var(--yellow-bright);
}
.site-footer__social .icon-circle:hover { background: var(--orange); color: #fff; transform: translateY(-3px); }
.site-footer__social .icon-circle svg { width: 22px; height: 22px; }

/* --------------------------------------------------------------------------
   18. Botão flutuante do WhatsApp
   -------------------------------------------------------------------------- */
.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  animation: softPulse 2.6s ease-out infinite;
  transition: transform .2s ease, background-color .2s ease;
}
.whats-float:hover { background: var(--whats-dark); color: #fff; transform: scale(1.08); }
.whats-float svg { width: 32px; height: 32px; }

/* --------------------------------------------------------------------------
   19. Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .site-header { --header-h: 70px; }
  .site-header__inner {
    flex-wrap: wrap;
    row-gap: 12px;
    gap: 12px;
  }
  .site-header__brand img { height: 38px; }
  /* O CTA do WhatsApp sai do cabeçalho no mobile: o botão flutuante já fica
     visível o tempo todo, e assim logo + menu respiram em telas de 360px. */
  .site-header__cta { display: none; }
  .nav-toggle { margin-left: auto; }

  /* Fallback sem JS: a navegação vira uma faixa rolável de ponta a ponta da
     tela, com folga no fim para o último item não parecer cortado. */
  .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    gap: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
  }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { scroll-snap-align: start; }

  /* Com JS: botão + painel. O painel abre abaixo do header, ocupa a largura
     toda e lista os destinos como alvos de toque de 48px. */
  .js .nav-toggle { display: flex; }

  .js .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    order: 0;
    width: auto;
    margin: 0;
    padding: 8px var(--gutter) 16px;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(92, 60, 24, .14);
    overflow: visible;
    font-size: 17px;

    /* Fechado: sem altura, sem foco alcançável, sem leitura por leitor de tela. */
    display: none;
  }
  .js .main-nav.is-open { display: flex; }

  .js .main-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 4px 2px;
    border-bottom: 1px solid var(--line);
    white-space: normal;
  }
  .js .main-nav a:last-child { border-bottom: 0; }
}

@media (min-width: 901px) {
  /* Fora do mobile o painel não existe: o botão some e a nav volta a ser
     uma linha de links, independente do estado que ficou no atributo. */
  .nav-toggle { display: none; }
}

@media (max-width: 560px) {
  .btn { font-size: 17px; padding: 14px 24px; }
  .btn--deep { font-size: 18px; padding: 16px 28px; }
  .hero__actions .btn { flex: 1 1 100%; justify-content: center; }
  .offer-card__body { padding: 22px; }
  .whats-float { right: 14px; bottom: 14px; }
}

@media print {
  .site-header, .whats-float, .social__grid { display: none; }
  body { background: #fff; }
}
