/* ==========================================================================
   PAPELAIZA — Design System
   Presentes • Kits • Personalizados • Gráfica • Eventos • Digitais
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Cores de marca */
  --cream:        #FBF7F2;
  --cream-deep:   #F4EDE4;
  --sand:         #EFE3D6;
  --blush: #D8EEF1;
  --ink:          #17120F;
  --ink-soft:     #4A403A;
  --ink-muted:    #7A6E66;
  --line:         #E7DCD1;
  --white:        #FFFFFF;

  /* A paleta virou teal/terracota, mas os nomes --wine/--gold ficaram do
     tema anterior. Estes apelidos dão o nome real da cor e consertam as
     regras que já usavam var(--teal)/var(--brick) sem eles existirem. */
  --teal:  #1A5E6B;
  --brick: #B84C3C;

  --wine: #1A5E6B;
  --wine-deep: #12454F;
  --wine-soft: #2D8A99;
  --wine-tint: #E8F4F6;

  --gold: #B84C3C;
  --gold-soft: #D06B52;
  --gold-tint: #F8ECEA;

  --wa:           #25D366;
  --wa-deep:      #128C7E;
  --wa-ink:       #075E54;

  /* Superfícies */
  --surface:      var(--cream);
  --surface-alt:  var(--white);

  /* Tipografia */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --fs-hero:   clamp(2.35rem, 1.35rem + 4.4vw, 4.6rem);
  --fs-h1:     clamp(2.05rem, 1.35rem + 3.1vw, 3.6rem);
  --fs-h2:     clamp(1.75rem, 1.25rem + 2.2vw, 2.85rem);
  --fs-h3:     clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem);
  --fs-lead:   clamp(1.02rem, 0.96rem + 0.42vw, 1.28rem);
  --fs-body:   1rem;
  --fs-sm:     0.9375rem;
  --fs-xs:     0.8125rem;
  --fs-eyebrow:0.75rem;

  /* Espaçamento */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;
  --sp-4: 1rem;     --sp-5: 1.5rem;   --sp-6: 2rem;
  --sp-7: 3rem;     --sp-8: 4rem;     --sp-9: 6rem;

  --section-y: clamp(3.5rem, 2rem + 6vw, 7rem);
  --container: 1220px;
  --gutter:    clamp(1.15rem, 0.6rem + 2.2vw, 2.5rem);

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

  /* Sombras */
  --sh-xs: 0 1px 2px rgba(23,18,15,.05);
  --sh-sm: 0 2px 8px rgba(23,18,15,.06), 0 1px 2px rgba(23,18,15,.04);
  --sh-md: 0 10px 30px -12px rgba(23,18,15,.16), 0 2px 8px rgba(23,18,15,.05);
  --sh-lg: 0 26px 60px -22px rgba(23,18,15,.28), 0 6px 18px rgba(23,18,15,.07);
  --sh-wine: 0 12px 28px -12px rgba(26,94,107,.55);
  --sh-wa: 0 12px 28px -10px rgba(26,94,107,.45);

  /* Escala de ícones — use SEMPRE um destes tamanhos */
  --ic-xs: 14px;   /* metadados, rodapé */
  --ic-sm: 16px;   /* inline em texto, links */
  --ic-md: 18px;   /* botões */
  --ic-lg: 22px;   /* selos e cards de item */
  --ic-xl: 26px;   /* destaques e diferenciais */

  /* Tratamento único de foto — faz bancos de imagem distintos virarem um só conjunto */
  /* Grade leve: agora que as fotos são boas, o tratamento só aproxima a
     temperatura entre elas — não deve deixar tudo com cara de filtro. */
  --photo-grade: saturate(.95) contrast(1.02) brightness(1.02) sepia(.04);
  --photo-scrim: linear-gradient(178deg, rgba(26,94,107,.05) 0%, rgba(26,94,107,0) 42%, rgba(23,18,15,.16) 100%);
  --photo-ratio: 4 / 3;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --t-fast: .18s;
  --t: .32s;

  --header-h: 72px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
/* onde há índice de seções fixo, o alvo para abaixo das duas barras */
html:has(.anchor-nav) { scroll-padding-top: calc(var(--header-h) + 78px); }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 var(--sp-4);
  font-variation-settings: "SOFT" 20, "WONK" 1;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.015em; }
p  { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

::selection { background: var(--wine); color: #fff; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--wine); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

.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;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 800px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--alt { background: var(--surface-alt); }
.section--sand {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 55%, var(--cream) 100%);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wine);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 24px; height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: .5;
}
.section-head--center .eyebrow::before { display: none; }

/* --------------------------------------------------------------------------
   4. BOTÕES
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--wine);
  --btn-fg: #fff;
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .92rem 1.6rem;
  min-height: 50px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bd);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-align: center;
  transition: transform var(--t-fast) var(--ease),
              box-shadow var(--t) var(--ease),
              background-color var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease);
}
.btn svg { width: var(--ic-md); height: var(--ic-md); flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { box-shadow: var(--sh-wine); }
.btn--primary:hover { background: var(--wine-deep); }

.btn--wa {
  --btn-bg: var(--wa-deep);
  box-shadow: var(--sh-wa);
}
.btn--wa:hover { --btn-bg: var(--wa-ink); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--line);
}
.btn--ghost:hover { --btn-bd: var(--wine); --btn-fg: var(--wine); background: var(--wine-tint); }

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--wine);
  box-shadow: var(--sh-md);
}
.btn--light:hover { --btn-fg: var(--wine-deep); }

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #fff;
  --btn-bd: rgba(255,255,255,.4);
}
.btn--outline-light:hover { --btn-bd: #fff; background: rgba(255,255,255,.1); }

.btn--sm { padding: .62rem 1.1rem; min-height: 42px; font-size: var(--fs-xs); }
.btn--lg { padding: 1.08rem 2rem; min-height: 58px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.section-head--center .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,247,242,.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background-color var(--t) var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(23,18,15,.5);
  background: rgba(251,247,242,.94);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  flex: none;
  margin-right: auto;
}
.brand__mark {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  object-fit: contain;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  font-variation-settings: "SOFT" 30, "WONK" 1;
}
.brand__name em {
  font-style: normal;
  color: var(--wine);
}

.nav { display: none; }
@media (min-width: 1060px) {
  .nav { display: flex; align-items: center; gap: .15rem; }
}
.nav a {
  position: relative;
  padding: .55rem .78rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav a:hover { color: var(--wine); background: var(--wine-tint); }
.nav a[aria-current="page"] { color: var(--wine); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .78rem; right: .78rem; bottom: .24rem;
  height: 2px; border-radius: 2px;
  background: var(--wine);
}

.header-cta { display: none; }
@media (min-width: 720px) { .header-cta { display: inline-flex; } }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  cursor: pointer;
  flex: none;
  transition: border-color var(--t-fast) var(--ease);
}
.nav-toggle:hover { border-color: var(--wine); }
@media (min-width: 1060px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  position: relative;
  width: 19px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), background-color var(--t-fast);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 19px; height: 1.8px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--t) var(--ease), top var(--t) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { 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); }

/* Drawer mobile */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: var(--cream);
  padding: var(--sp-5) var(--gutter) calc(var(--sp-8) + 80px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1060px) { .mobile-nav { display: none; } }

.mobile-nav__list { display: grid; gap: .4rem; margin-bottom: var(--sp-5); }
.mobile-nav__list a {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .95rem 1rem;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 1.02rem;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.mobile-nav__list a:hover { border-color: var(--wine); transform: translateX(3px); }
.mobile-nav__list a span.ic {
  width: 38px; height: 38px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--wine-tint);
  color: var(--wine);
  font-size: 1.15rem; line-height: 1;
}
.mobile-nav__list a span.ic svg { width: var(--ic-lg); height: var(--ic-lg); }
.mobile-nav__meta {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-5);
  color: var(--ink-muted);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   6. HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) clamp(3rem, 2rem + 5vw, 6rem);
  background:
    radial-gradient(900px 520px at 78% 8%, #D8EEF1 0%, transparent 62%),
    radial-gradient(700px 480px at 8% 92%, #F8ECEA 0%, transparent 60%),
    var(--cream);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--cream));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4.5rem); }
}

.hero h1 {
  font-size: var(--fs-hero);
  margin-bottom: var(--sp-5);
  font-weight: 600;
}
.hero h1 em {
  font-style: normal;
  color: var(--wine);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .04em;
  height: .18em;
  background: var(--gold-soft);
  opacity: .35;
  border-radius: 4px;
  z-index: -1;
  transform-origin: left;
}
.hero__lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: var(--sp-6);
}
.hero .btn-row { margin-bottom: var(--sp-6); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .5rem;
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .42rem .8rem;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-trust li svg { width: var(--ic-sm); height: var(--ic-sm); color: var(--wine); flex: none; }
ul.hero-trust { list-style: none; margin: 0; padding: 0; }

/* Colagem visual do hero */
.hero-collage {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: clamp(.8rem, .5rem + 1.2vw, 1.3rem);
}
.collage-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--sh-md);
  border: 1px solid rgba(255,255,255,.7);
}
.collage-tile .plate { border-radius: 0; }
.collage-tile__label {
  position: absolute;
  left: .6rem; bottom: .6rem;
  padding: .3rem .65rem;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  box-shadow: var(--sh-xs);
}
.hero-collage .collage-tile:nth-child(1) { grid-column: span 3; aspect-ratio: 1/0.85; }
.hero-collage .collage-tile:nth-child(2) { grid-column: span 3; aspect-ratio: 1/0.85; }
.hero-collage .collage-tile:nth-child(3) { grid-column: span 3; aspect-ratio: 1/0.85; }
.hero-collage .collage-tile:nth-child(4) { grid-column: span 3; aspect-ratio: 1/0.85; }

.hero-collage .collage-tile:nth-child(5) { grid-column: span 3; aspect-ratio: 1/0.85; }

@media (prefers-reduced-motion: no-preference) {
  .collage-tile { animation: floaty 7s var(--ease) infinite; }
  .collage-tile:nth-child(2) { animation-delay: -1.6s; }
  .collage-tile:nth-child(3) { animation-delay: -3.1s; }
  .collage-tile:nth-child(4) { animation-delay: -4.4s; }
  .collage-tile:nth-child(5) { animation-delay: -5.7s; }
}



/* --------------------------------------------------------------------------
   7. PLATE — moldura única de imagem
   Foto e ilustração dividem a MESMA moldura, proporção e tratamento.
   É isso que faz fotos de origens diferentes lerem como um só conjunto.
   -------------------------------------------------------------------------- */
.plate {
  position: relative;
  width: 100%;
  aspect-ratio: var(--photo-ratio);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sand);
  display: grid;
  place-items: center;
  isolation: isolate;
}

/* --- Foto --------------------------------------------------------------- */
.plate__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  /* grade único: aproxima temperatura, saturação e contraste de todas as fotos */
  filter: var(--photo-grade);
  transition: transform .6s var(--ease-out), filter var(--t) var(--ease);
}
/* véu quente por cima: assenta as fotos na paleta da marca */
.plate--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--photo-scrim);
  pointer-events: none;
}
.plate--photo { background: var(--cream-deep); }
/* a ilustração fica de reserva: só aparece se a foto falhar (onerror tira a classe) */
.plate--photo > svg.plate__art { display: none; }

/* --- Ilustração (usada quando não há foto ou se a foto falhar) ----------- */
.plate svg.plate__art {
  position: relative;
  z-index: 1;
  width: 58%;
  height: 58%;
  max-width: 180px;
  color: var(--wine);
  overflow: visible;
  transition: transform var(--t) var(--ease-out);
}
.plate:not(.plate--photo)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(120% 90% at 22% 12%, rgba(255,255,255,.85), transparent 58%),
    radial-gradient(90% 80% at 82% 92%, rgba(255,255,255,.45), transparent 60%);
}
.plate:not(.plate--photo)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: .5;
  background-image: radial-gradient(rgba(23,18,15,.055) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

/* --- Tons por categoria (fundo da ilustração) --------------------------- */
.plate[data-tone="presentes"]      { background: linear-gradient(150deg, #F6E2E7 0%, #F7EFE6 100%); }
.plate[data-tone="corporativo"]    { background: linear-gradient(150deg, #E6EBEC 0%, #F4EFE8 100%); }
.plate[data-tone="personalizados"] { background: linear-gradient(150deg, #F5E9DC 0%, #F8F1E8 100%); }
.plate[data-tone="grafica"]        { background: linear-gradient(150deg, #E8E6F0 0%, #F5F0EA 100%); }
.plate[data-tone="festas"]         { background: linear-gradient(150deg, #FBE7DC 0%, #F7EDF1 100%); }
.plate[data-tone="digitais"]       { background: linear-gradient(150deg, #E2EDEA 0%, #F1F0E9 100%); }
.plate--photo[data-tone]           { background: var(--cream-deep); }

.plate[data-tone="corporativo"] svg.plate__art { color: #1A5E6B; }
.plate[data-tone="grafica"]        svg.plate__art { color: #55508A; }
.plate[data-tone="digitais"] svg.plate__art { color: #1A5E6B; }
.plate[data-tone="personalizados"] svg.plate__art { color: #A0662C; }
.plate[data-tone="festas"] svg.plate__art { color: #B84C3C; }

/* enquanto a foto não chega, a moldura não pisca em branco */
.plate--loading { background: linear-gradient(105deg, var(--cream-deep) 30%, var(--sand) 50%, var(--cream-deep) 70%); }

/* --------------------------------------------------------------------------
   8. CATEGORIAS
   -------------------------------------------------------------------------- */
.cat-grid {
  display: grid;
  gap: clamp(1rem, .6rem + 1.4vw, 1.6rem);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), border-color var(--t) var(--ease);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.cat-card__media { position: relative; }
.cat-card__media .plate { aspect-ratio: 16/10; border-radius: 0; }
.cat-card:hover .plate svg.plate__art { transform: scale(1.06) rotate(-2deg); }
.plate svg.plate__art { transition: transform var(--t) var(--ease-out); }

.cat-card__emoji {
  position: absolute;
  z-index: 2;
  top: .85rem; left: .85rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 14px;
  color: var(--wine);
  box-shadow: var(--sh-sm);
  transition: transform var(--t) var(--ease-out);
}
.cat-card__emoji svg { width: var(--ic-lg); height: var(--ic-lg); }
.cat-card:hover .cat-card__emoji { transform: scale(1.06); }
.cat-card__body {
  padding: clamp(1.15rem, .9rem + .6vw, 1.6rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .55rem;
}
.cat-card__body h3 { margin: 0; }
.cat-card__body p {
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  margin: 0;
  flex: 1;
}
.cat-card__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .5rem;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--wine);
}
.cat-card__link svg { width: var(--ic-sm); height: var(--ic-sm); transition: transform var(--t) var(--ease); }
.cat-card:hover .cat-card__link svg { transform: translateX(4px); }
.cat-card__stretch { position: absolute; inset: 0; z-index: 1; }
.cat-card .btn { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   9. PRODUTOS EM DESTAQUE
   -------------------------------------------------------------------------- */
.prod-grid {
  display: grid;
  gap: clamp(1rem, .6rem + 1.2vw, 1.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}

.prod-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-xs);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.prod-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.prod-card__media { position: relative; }
.prod-card__media .plate { aspect-ratio: 4/3; border-radius: 0; }
.prod-card:hover .plate svg.plate__art { transform: scale(1.07); }

.prod-card__tag {
  position: absolute;
  top: .7rem; right: .7rem;
  padding: .28rem .6rem;
  background: rgba(255,255,255,.95);
  color: var(--wine);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  box-shadow: var(--sh-xs);
}

.prod-card__body {
  padding: 1.05rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex: 1;
}
.prod-card__body h3 {
  font-size: 1.075rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.prod-card__desc {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  margin: 0;
  flex: 1;
  line-height: 1.55;
}
.prod-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding-top: .3rem;
  margin-top: .1rem;
  border-top: 1px dashed var(--line);
}
.prod-card__price {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
}
.prod-card__price small {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.prod-card__price--quote { color: var(--wine); }
.prod-card__lead {
  font-size: 11px;
  color: var(--ink-muted);
  text-align: right;
  line-height: 1.35;
  max-width: 45%;
}
.prod-card .btn { margin-top: .65rem; }

/* Trilho horizontal (mobile) */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 78%;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 620px) {
  .rail {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
    padding-bottom: 0;
  }
}

/* --------------------------------------------------------------------------
   10. ITENS (listas de catálogo)
   -------------------------------------------------------------------------- */
.item-grid {
  display: grid;
  gap: .8rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}
/* No celular, 2 colunas: o catálogo fica escaneável em vez de virar
   uma coluna única quilométrica. */
@media (max-width: 599px) {
  .item-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
  .item-card__body { padding: .75rem .8rem .85rem; }
  .item-card h4 { font-size: .9rem; }
  .item-card p {
    font-size: .78rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .item-card__cta { font-size: .75rem; margin-top: .45rem; }
}
@media (max-width: 359px) {
  .item-grid { grid-template-columns: 1fr; }
}

.item-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out), border-color var(--t) var(--ease);
}
.item-card__media { position: relative; }
.item-card__media .plate { border-radius: 0; aspect-ratio: 16 / 10; }
.item-card:hover .plate__img { transform: scale(1.05); }
.item-card__body {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex: 1;
  padding: .9rem 1rem 1rem;
}
.item-card:hover {
  transform: translateY(-3px);
  border-color: var(--wine-soft);
  box-shadow: var(--sh-md);
}

.item-card h4 {
  font-family: var(--font-sans);
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.item-card p {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  margin: 0;
  flex: 1;
  line-height: 1.5;
}
.item-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .55rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--wa-deep);
}
.item-card__cta svg { width: var(--ic-sm); height: var(--ic-sm); }
.item-card__stretch { position: absolute; inset: 0; border-radius: inherit; }

/* Grupo de catálogo */
.group { margin-bottom: clamp(2.5rem, 1.6rem + 2.6vw, 4rem); }
.group:last-child { margin-bottom: 0; }
.group__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  padding-bottom: .85rem;
  border-bottom: 1px solid var(--line);
}
.group__head h3 { margin: 0; }
.group__head p {
  margin: .3rem 0 0;
  color: var(--ink-muted);
  font-size: var(--fs-sm);
}
.group__count {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--wine);
  background: var(--wine-tint);
  padding: .3rem .7rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   11. COMO FUNCIONA
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  gap: clamp(1.2rem, .8rem + 1.4vw, 2rem);
  grid-template-columns: 1fr;
  position: relative;
  list-style: none;
  margin: 0; padding: 0;
  counter-reset: step;
}
@media (min-width: 640px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding-top: 1.4rem;
  counter-increment: step;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--wine) 0%, var(--gold-soft) 100%);
  border-radius: 2px;
  opacity: .3;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: .85rem;
  box-shadow: var(--sh-wine);
}
.step h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.step p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   12. DIFERENCIAIS
   -------------------------------------------------------------------------- */
.perk-grid {
  display: grid;
  gap: clamp(.9rem, .6rem + 1vw, 1.4rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}
.perk {
  padding: clamp(1.3rem, 1rem + .8vw, 1.8rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.perk:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.perk__icon {
  width: 48px; height: 48px;
  border-radius: 15px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--wine-tint), var(--gold-tint));
  color: var(--wine);
  margin-bottom: 1rem;
}
.perk__icon svg { width: var(--ic-xl); height: var(--ic-xl); }
.perk h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.perk p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* --------------------------------------------------------------------------
   13. MONTE SEU PEDIDO (builder)
   -------------------------------------------------------------------------- */
.builder {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(1.4rem, 1rem + 1.8vw, 2.75rem);
  box-shadow: var(--sh-md);
}
.builder__step { margin-bottom: 1.6rem; }
.builder__step:last-of-type { margin-bottom: 1.2rem; }
.builder__label {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  margin-bottom: .75rem;
  color: var(--ink);
}
.builder__label i {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--wine);
  color: #fff;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  padding: .55rem 1rem;
  border: 1.5px solid var(--line);
  background: var(--cream);
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.chip:hover { border-color: var(--wine-soft); color: var(--wine); }
.chip[aria-pressed="true"] {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
  box-shadow: var(--sh-wine);
}
.builder textarea {
  width: 100%;
  min-height: 92px;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: var(--cream);
  resize: vertical;
  font-size: var(--fs-sm);
  transition: border-color var(--t-fast) var(--ease);
}
.builder textarea:focus { border-color: var(--wine); outline: none; background: #fff; }
.builder__foot {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .builder__foot { flex-direction: row; align-items: center; justify-content: space-between; }
}
.builder__hint {
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  margin: 0;
  max-width: 46ch;
}

/* --- Builder v2: progress, preview, step completion --- */
.builder__progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.builder__progress-bar {
  flex: 1;
  height: 6px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.builder__progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--wine) 0%, var(--wine-soft) 100%);
  border-radius: 3px;
  transition: width .4s var(--ease-out);
}
.builder__progress-text {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--ink-muted);
  white-space: nowrap;
  flex: none;
}
.builder__step {
  transition: opacity .25s var(--ease);
}
.builder__step.is-done {
  opacity: .65;
}
.builder__step.is-done .builder__label i {
  background: var(--wa);
  box-shadow: 0 2px 8px rgba(37,211,102,.3);
}
.builder__optional {
  font-weight: 400;
  color: var(--ink-muted);
}
.builder__preview {
  display: none;
  margin-top: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream);
}
.builder__preview.is-visible {
  display: block;
  animation: fadeSlideIn .3s var(--ease-out);
}
.builder__preview-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1rem;
  background: rgba(37,211,102,.06);
  border-bottom: 1px dashed var(--line);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--wa-deep);
}
.builder__preview-icon svg { width: 16px; height: 16px; }
.builder__preview-text {
  margin: 0;
  padding: .85rem 1rem;
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--ink-soft);
  white-space: pre-wrap;
  word-break: break-word;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}


/* --------------------------------------------------------------------------
   14. FAIXAS / DESTAQUES ESPECIAIS
   -------------------------------------------------------------------------- */
.feature-split {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .feature-split { grid-template-columns: 1fr 1fr; }
  .feature-split--reverse .feature-split__media { order: 2; }
}

.bundle {
  background: linear-gradient(150deg, var(--wine) 0%, var(--wine-deep) 100%);
  border-radius: var(--r-xl);
  color: #fff;
  padding: clamp(1.6rem, 1.1rem + 2vw, 3rem);
  position: relative;
  overflow: hidden;
}
.bundle::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208,107,82,.26), transparent 68%);
}
.bundle h3 { color: #fff; }
.bundle p { color: rgba(255,255,255,.82); }
.bundle__list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: .55rem;
  position: relative;
  z-index: 1;
}
.bundle__list li {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .7rem .9rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--r-md);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.bundle__list li svg { width: var(--ic-sm); height: var(--ic-sm); color: var(--gold-soft); flex: none; }

.checklist { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .7rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.checklist li svg {
  width: var(--ic-lg); height: var(--ic-lg);
  color: var(--wine);
  flex: none;
  margin-top: 1px;
}
.checklist strong { color: var(--ink); }

/* Escala de quantidade */
.scale-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.scale-card {
  padding: 1.4rem 1.3rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease-out);
}
.scale-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.scale-card__qty {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--wine);
  display: block;
  margin-bottom: .3rem;
}
.scale-card h4 { font-family: var(--font-sans); font-size: .95rem; margin: 0 0 .3rem; }
.scale-card p { font-size: var(--fs-xs); color: var(--ink-muted); margin: 0; }

/* --------------------------------------------------------------------------
   14b. LOCALIZAÇÃO
   -------------------------------------------------------------------------- */
.local-card { display: flex; flex-direction: column; }
.local-card__pin {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--gold-soft);
  margin-bottom: 1.1rem;
  position: relative; z-index: 1;
}
.local-card__pin svg { width: var(--ic-xl); height: var(--ic-xl); }
.local-card h3 {
  color: #fff;
  font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem);
  margin-bottom: .5rem;
  position: relative; z-index: 1;
}
.local-card__addr {
  font-style: normal;
  color: rgba(255,255,255,.84);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin-bottom: 1.35rem;
  position: relative; z-index: 1;
}
.local-card .bundle__list li { align-items: center; }
.local-card .bundle__list li svg { color: var(--gold-soft); }
.local-card .btn-row { position: relative; z-index: 1; }
@media (max-width: 419px) {
  .local-card .btn-row .btn { width: 100%; }
}

/* lead reutilizável fora do .section-head */
.section-lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  margin-bottom: var(--sp-5);
  max-width: 52ch;
}

/* --------------------------------------------------------------------------
   15. CTA FINAL
   -------------------------------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #0B2E34 0%, var(--wine-deep) 45%, var(--wine) 100%);
  color: #fff;
  text-align: center;
  padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem);
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(600px 320px at 15% 12%, rgba(208,107,82,.18), transparent 62%),
    radial-gradient(600px 320px at 88% 88%, rgba(255,255,255,.1), transparent 60%);
}
.cta-final::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: radial-gradient(rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 22px 22px;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 {
  color: #fff;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-final p {
  color: rgba(255,255,255,.8);
  font-size: var(--fs-lead);
  max-width: 56ch;
  margin: 0 auto var(--sp-6);
}
.cta-final .btn-row { justify-content: center; }
.cta-final__note {
  margin-top: 1.4rem;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.62);
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #14100E;
  color: rgba(255,255,255,.72);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 0;
  font-size: var(--fs-sm);
}
.footer-grid {
  display: grid;
  gap: clamp(1.8rem, 1.2rem + 2vw, 3rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(2rem, 1.4rem + 2vw, 3rem);
}
/* 2x2 no tablet — com 3 colunas o quarto bloco ficava órfão numa linha só */
@media (min-width: 700px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1.35fr; } }

/* Marca no rodapé — a logo já tem miolo claro, então funciona como selo
   sobre o fundo escuro; só ganha um respiro para não encostar no preto. */
.site-footer .brand__mark {
  box-shadow: 0 0 0 3px rgba(255,255,255,.08);
}

.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.15rem;
}
.footer-brand .brand__mark { width: 52px; height: 52px; }
.footer-brand .brand__name {
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  /* compensa a altura-x da serifada para alinhar com o centro do selo */
  transform: translateY(1px);
}
.footer-brand .brand__name em { color: var(--gold-soft); }

@media (max-width: 699px) {
  .footer-brand .brand__mark { width: 46px; height: 46px; }
  .footer-brand .brand__name { font-size: 1.32rem; }
}
.footer-tagline {
  color: rgba(255,255,255,.62);
  font-size: var(--fs-xs);
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.footer-brand p { color: rgba(255,255,255,.6); max-width: 38ch; font-size: var(--fs-sm); }

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a {
  color: rgba(255,255,255,.68);
  transition: color var(--t-fast) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.footer-col a:hover { color: var(--gold-soft); }
.footer-col a svg { width: var(--ic-sm); height: var(--ic-sm); flex: none; }

/* Cartão "Onde estamos" — destaca o endereço em vez de deixá-lo como
   mais um item de lista perdido entre links. */
.footer-local {
  display: grid;
  gap: .5rem;
  padding: 1rem 1.05rem;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
}
.footer-local__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: var(--fs-sm);
}
.footer-local__head svg { width: var(--ic-sm); height: var(--ic-sm); color: var(--gold-soft); flex: none; }
.footer-local__addr {
  font-style: normal;
  color: rgba(255,255,255,.72);
  font-size: var(--fs-xs);
  line-height: 1.55;
  padding-left: calc(var(--ic-sm) + .5rem);
}
.footer-local__row {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.66);
  line-height: 1.5;
}
.footer-local__row svg { width: var(--ic-sm); height: var(--ic-sm); color: var(--gold-soft); flex: none; margin-top: 1px; }
.footer-local__map {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .15rem;
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--gold-soft);
  padding-left: calc(var(--ic-sm) + .5rem);
}
.footer-local__map svg { width: var(--ic-sm); height: var(--ic-sm); transition: transform var(--t) var(--ease); }
.footer-local__map:hover svg { transform: translateX(3px); }

.footer-col__sub { margin-top: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,.5);
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-bottom a:hover { color: var(--gold-soft); }



/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
  display: grid;
  gap: .6rem;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.faq-item[open] {
  border-color: var(--wine-soft);
  box-shadow: var(--sh-sm);
}
.faq-item__q {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: 1.05rem 1.2rem;
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color var(--t-fast) var(--ease);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "";
  width: 20px; height: 20px;
  flex: none;
  margin-left: auto;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A6E66' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform var(--t) var(--ease);
}
.faq-item[open] .faq-item__q::after { transform: rotate(180deg); }
.faq-item__q:hover { color: var(--wine); }
.faq-item__a {
  padding: 0 1.2rem 1.1rem;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* --------------------------------------------------------------------------
   17. WHATSAPP FLUTUANTE + STICKY MOBILE
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(1rem, .6rem + 1vw, 1.75rem);
  bottom: clamp(1rem, .6rem + 1vw, 1.75rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.15rem .8rem .85rem;
  background: var(--wa);
  color: #08301F;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: var(--fs-sm);
  box-shadow: 0 14px 34px -10px rgba(18,140,126,.6), 0 2px 6px rgba(0,0,0,.12);
  transition: transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: var(--ic-xl); height: var(--ic-xl); flex: none; }
.wa-float__text { display: none; }
@media (min-width: 720px) { .wa-float__text { display: inline; } }
@media (max-width: 719px) {
  .wa-float { padding: .8rem; bottom: calc(64px + 1rem); }
  /* com a barra fixa na tela, o botão flutuante vira ruído: some */
  body.wa-bar-on .wa-float {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px) scale(.9);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .wa-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37,211,102,.55);
    animation: pulse 2.8s var(--ease) infinite;
  }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

.wa-sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 95;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(251,247,242,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--t) var(--ease-out);
}
.wa-sticky.is-visible { transform: none; }
@media (min-width: 720px) { .wa-sticky { display: none; } }
.wa-sticky .btn { width: 100%; }

@media (max-width: 719px) {
  body { padding-bottom: 0; }
  .site-footer { padding-bottom: 72px; }
}

/* --------------------------------------------------------------------------
   18. PAGE HERO (páginas internas)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.2rem, 1.4rem + 3vw, 4rem) clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem);
  background:
    radial-gradient(760px 420px at 85% 0%, #D8EEF1 0%, transparent 62%),
    radial-gradient(620px 380px at 5% 100%, #F8ECEA 0%, transparent 58%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero__grid {
  display: grid;
  gap: clamp(1.8rem, 1.2rem + 3vw, 3.5rem);
  align-items: center;
}
@media (min-width: 920px) { .page-hero__grid { grid-template-columns: 1.15fr .85fr; } }
.page-hero h1 { max-width: 18ch; }
.page-hero__lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: var(--sp-6);
}
.page-hero__art {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.page-hero__art .collage-tile:first-child { margin-top: 1.6rem; }
.page-hero__art .plate { aspect-ratio: 1/1; border-radius: 0; }
@media (max-width: 519px) { .page-hero__art .plate { aspect-ratio: 4/3; } }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  font-size: var(--fs-xs);
  color: var(--ink-muted);
  margin-bottom: var(--sp-4);
  list-style: none;
  padding: 0;
}
.crumbs a { color: var(--ink-muted); transition: color var(--t-fast); }
.crumbs a:hover { color: var(--wine); }
.crumbs li[aria-current] { color: var(--wine); font-weight: 600; }
.crumbs svg { width: var(--ic-xs); height: var(--ic-xs); opacity: .5; }

/* No celular o cabeçalho encolhe: com header + índice + barra de WhatsApp
   fixos, sobrava pouca tela para o conteúdo. */
@media (max-width: 719px) {
  :root { --header-h: 62px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__name { font-size: 1.18rem; }
}

/* Índice de âncoras */
.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  background: rgba(251,247,242,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.anchor-nav ul {
  display: flex;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: .7rem 0;
  overflow-x: auto;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.anchor-nav ul::-webkit-scrollbar { display: none; }
.anchor-nav a {
  display: inline-block;
  padding: .45rem .9rem;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease);
}
@media (max-width: 719px) {
  .anchor-nav ul { padding: .5rem 0; }
  .anchor-nav a { padding: .38rem .75rem; }
}
.anchor-nav a:hover, .anchor-nav a.is-active {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

/* --------------------------------------------------------------------------
   19. CONTEÚDO LEGAL
   -------------------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.75rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 1.75rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.15rem; display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.prose a { color: var(--wine); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }

/* --------------------------------------------------------------------------
   20. REVEAL
   -------------------------------------------------------------------------- */
/* Failsafe: as animações de entrada só escondem conteúdo depois que o JS
   confirma que vai revelá-lo (html.js-reveal). Sem JS, tudo aparece normal. */
@media (prefers-reduced-motion: no-preference) {
  
  /* Enhanced reveal: smoother, longer, more organic */
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  }
  .js-reveal .reveal.is-in { opacity: 1; transform: none; }

  /* Stagger: extended to 12 children, smoother delays */
  .js-reveal .reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
    transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1);
  }
  .js-reveal .reveal-stagger.is-in > * { opacity: 1; transform: none; }
  .reveal-stagger.is-in > *:nth-child(1)  { transition-delay: .03s; }
  .reveal-stagger.is-in > *:nth-child(2)  { transition-delay: .08s; }
  .reveal-stagger.is-in > *:nth-child(3)  { transition-delay: .14s; }
  .reveal-stagger.is-in > *:nth-child(4)  { transition-delay: .20s; }
  .reveal-stagger.is-in > *:nth-child(5)  { transition-delay: .26s; }
  .reveal-stagger.is-in > *:nth-child(6)  { transition-delay: .32s; }
  .reveal-stagger.is-in > *:nth-child(7)  { transition-delay: .37s; }
  .reveal-stagger.is-in > *:nth-child(8)  { transition-delay: .42s; }
  .reveal-stagger.is-in > *:nth-child(9)  { transition-delay: .46s; }
  .reveal-stagger.is-in > *:nth-child(10) { transition-delay: .50s; }
  .reveal-stagger.is-in > *:nth-child(11) { transition-delay: .53s; }
  .reveal-stagger.is-in > *:nth-child(12) { transition-delay: .56s; }
}

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

/* --------------------------------------------------------------------------
   22. MICROINTERAÇÕES E REFINAMENTOS DE ANIMAÇÃO
   -------------------------------------------------------------------------- */

/* --- Card hover: smoother lift with spring easing --- */
.cat-card,
.prod-card,
.item-card,
.perk,
.scale-card {
  transition: transform .4s cubic-bezier(.22,.61,.36,1),
              box-shadow .4s cubic-bezier(.22,.61,.36,1),
              border-color .3s var(--ease);
}

/* --- Cat card: enhanced image zoom + link arrow slide --- */
.cat-card:hover .plate__img {
  transform: scale(1.08);
}
.cat-card .plate__img {
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.cat-card:hover .cat-card__link {
  color: var(--wine);
  gap: .6rem;
}
.cat-card__link {
  transition: color .25s var(--ease), gap .3s var(--ease);
}

/* --- Prod card: image scale on hover --- */
.prod-card .plate__img {
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.prod-card:hover .plate__img {
  transform: scale(1.06);
}

/* --- Prod card tag: subtle entrance bounce --- */
.prod-card__tag {
  animation: tagPop .4s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes tagPop {
  from { opacity: 0; transform: scale(.7) translateY(-4px); }
  to   { opacity: 1; transform: none; }
}

/* --- Item card: smoother image zoom --- */
.item-card .plate__img {
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}
.item-card:hover .plate__img {
  transform: scale(1.08);
}

/* --- Item card CTA: arrow slide on hover --- */
.item-card__cta svg {
  transition: transform .3s var(--ease);
}
.item-card:hover .item-card__cta svg {
  transform: translateX(3px);
}

/* --- Perk: icon bounce on hover --- */
.perk:hover .perk__icon {
  transform: translateY(-3px) scale(1.05);
}
.perk__icon {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}

/* --- Scale card: number pulse on hover --- */
.scale-card:hover .scale-card__qty {
  transform: scale(1.1);
}
.scale-card__qty {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
  display: inline-block;
}

/* --- Step numbers: subtle bounce on reveal --- */
.step__num {
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.step:hover .step__num {
  transform: scale(1.08);
}

/* --- Collage tiles: smoother float + hover zoom --- */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.collage-tile {
  transition: transform .4s cubic-bezier(.22,.61,.36,1),
              box-shadow .4s cubic-bezier(.22,.61,.36,1);
}
.collage-tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: var(--sh-lg);
}
.collage-tile .plate__img {
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.collage-tile:hover .plate__img {
  transform: scale(1.06);
}

/* --- Button press: more tactile feedback --- */
.btn {
  transition: transform .2s cubic-bezier(.34,1.56,.64,1),
              box-shadow .3s var(--ease),
              background-color .2s var(--ease),
              color .2s var(--ease),
              border-color .2s var(--ease);
}
.btn:active {
  transform: translateY(1px) scale(.98);
}

/* --- WhatsApp float: breathing glow --- */
@keyframes waBreathe {
  0%, 100% { box-shadow: 0 14px 34px -10px rgba(37,211,102,.6), 0 2px 6px rgba(0,0,0,.12); }
  50%      { box-shadow: 0 14px 44px -10px rgba(37,211,102,.8), 0 2px 8px rgba(0,0,0,.15); }
}
@media (prefers-reduced-motion: no-preference) {
  .wa-float { animation: waBreathe 3s ease-in-out infinite; }
  .wa-float:hover { animation: none; }
}

/* --- Eyebrow: line slide-in --- */
.eyebrow::before {
  transition: width .4s cubic-bezier(.22,.61,.36,1);
  width: 24px;
}
.eyebrow:hover::before {
  width: 32px;
}

/* --- Focus visible: smoother outline --- */
:focus-visible {
  outline: 3px solid var(--wine-soft);
  outline-offset: 3px;
  border-radius: 6px;
  transition: outline-offset .2s var(--ease);
}
:focus-visible:active {
  outline-offset: 1px;
}

/* --- Link underline: animated --- */
.footer-col a,
.prose a,
.cat-card__link {
  position: relative;
}
.footer-col a::after,
.prose a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width .3s var(--ease);
}
.footer-col a:hover::after,
.prose a:hover::after {
  width: 100%;
}

/* --- Anchor nav: pill morph on active --- */
.anchor-nav a {
  transition: all .3s cubic-bezier(.22,.61,.36,1);
}
.anchor-nav a:hover {
  transform: translateY(-1px);
}

/* --- Chip: tactile press --- */
.chip {
  transition: all .2s cubic-bezier(.34,1.56,.64,1);
}
.chip:active {
  transform: scale(.95);
}
.chip[aria-pressed="true"] {
  animation: chipSelect .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes chipSelect {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

/* --------------------------------------------------------------------------
   21. UTILITÁRIOS
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-6 { margin-top: var(--sp-6); }
.mt-7 { margin-top: var(--sp-7); }
.stack > * + * { margin-top: var(--sp-4); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }


/* --- Scroll-to-top button --- */
.scroll-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid rgba(26, 94, 107, .18);
  box-shadow: var(--sh-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: opacity .35s cubic-bezier(.22,.61,.36,1),
              visibility .35s,
              transform .35s cubic-bezier(.22,.61,.36,1),
              background .25s,
              box-shadow .25s;
  z-index: 80;
}
.scroll-top svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  transition: transform .3s cubic-bezier(.22,.61,.36,1);
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-top:hover {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: var(--sh-lg);
}
.scroll-top:hover svg {
  color: #fff;
  transform: translateY(-2px);
}
.scroll-top:active {
  transform: translateY(1px) scale(0.95);
}
@media (max-width: 519px) {
  .scroll-top { bottom: 5rem; right: 1rem; width: 40px; height: 40px; }
}

/* --- Scroll progress bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--teal), var(--brick));
  z-index: 1001;
  pointer-events: none;
}

/* --- Anchor link target offset for smooth scroll --- */
/* scroll-margin handled by JS smooth scroll */

/* --- Hero parallax --- */
.hero .hero-grid > div:first-child,
.hero .hero-collage {
  will-change: transform, opacity;
  transition: transform 0.05s linear, opacity 0.05s linear;
}
@media (prefers-reduced-motion: reduce) {
  .hero .hero-grid > div:first-child,
  .hero .hero-collage {
    transform: none !important;
    opacity: 1 !important;
    will-change: auto;
  }
}
