/*!
  Pecorino São Caetano — Bar & Trattoria (ParkShopping São Caetano)
  styles.css — tokens, reset, componentes, seções, responsivo, motion.
  Sem frameworks/bundlers. Mobile-first. Breakpoints: 640 / 768 / 1024 / 1280.
  Ver docs/design-system.md (fonte de verdade) para tokens e contrato de classes.
*/

/* ==========================================================================
   0. FONTE LOCAL
   ========================================================================== */

@font-face {
  font-family: 'Neutra Text';
  src: url('../fonts/NeutraText-BookAlt.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
  /* Marca — cores */
  --navy-950: #011226;
  --navy-900: #01203F;
  --navy-800: #0A2C55;
  --navy-700: #1F2A5A;
  --blue-500: #2F54DD;
  --tile-blue: #4A5488;
  --tile-cream: #EEDCC0;
  --cream-50:  #FBF7F2;
  --cream-100: #F9F3ED;
  --cream-200: #F1E7DA;
  --gold-500:  #DBCCB6;  /* areia — acento oficial (substituiu o dourado #E3A614 a pedido do Douglas, 2026-09-15) */
  --gold-400:  #E9DFCF;  /* hover do areia */
  --gold-100:  #F3EDE3;  /* fundo suave areia */
  --gold-ink:  #8A7659;  /* areia escurecida p/ texto pequeno sobre creme (contraste AA) */
  --terracotta: #C4552D;
  --white: #FFFFFF;
  --ink: #0F172A;
  --ink-muted: #475569;
  --cream-muted: rgba(249, 243, 237, .72);
  --wa: #25D366;
  --wa-dark: #1EBE57;

  /* Tipografia */
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-label:   'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Neutra Text', 'Jost', 'Helvetica Neue', sans-serif;
  --font-brand:   'Poppins', 'Arial', sans-serif; /* geométrica reta, mesma família do logotipo (PECORINO) */

  --fs-hero:  clamp(1.95rem, 5.25vw, 4.55rem); /* -30% (era 2.75rem / 7.5vw / 6.5rem) */
  --fs-h2:    clamp(2rem, 4.5vw, 3.75rem);
  --fs-h3:    clamp(1.375rem, 2.2vw, 1.875rem);
  --fs-lead:  clamp(1.125rem, 1.6vw, 1.375rem);
  --fs-body:  1.0625rem;
  --fs-label: .8125rem;

  /* Espaçamento / raio / sombra / motion */
  --space-section: clamp(5rem, 10vw, 9rem);
  --container: 1440px; /* era 1200 — sobrava muita margem lateral em telas largas (pedido do cliente) */
  --container-pad: 1.5rem;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 10px 40px -10px rgba(1, 32, 63, .25);
  --shadow-float: 0 30px 80px -20px rgba(1, 32, 63, .45);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 200ms;
  --dur-base: 400ms;
  --dur-slow: 900ms;

  --z-float: 40;
  --z-nav: 50;
  --z-modal: 60;
  --z-cursor: 70;
  --z-curtain: 100;
}

/* ==========================================================================
   2. RESET MODERNO
   ========================================================================== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body { height: 100%; }

body {
  overflow-x: clip;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-50);
}

img, picture, svg, video { display: block; max-width: 100%; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  color: inherit;
  text-wrap: balance;
}

p { text-wrap: pretty; }

ul, ol { list-style: none; padding: 0; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button { cursor: pointer; }

input, select, textarea { outline-offset: 2px; }

table { border-collapse: collapse; }

:focus:not(:focus-visible) { outline: none; }

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

::selection { background: var(--gold-500); color: var(--navy-900); }

/* ==========================================================================
   3. LAYOUT / UTILITÁRIOS
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

@media (min-width: 1024px) {
  :root { --container-pad: 2.5rem; }
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--navy-900);
  color: var(--cream-100);
  padding: .85rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  transition: top var(--dur-base) var(--ease-out);
}

.skip-link:focus-visible { top: 1rem; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  display: inline-block;
  flex-shrink: 0;
  color: currentColor;
}

.icon--sheep { color: inherit; }
/* Todas as estrelas do site ficam sobre creme/branco (seção avaliações) — gold-ink garante AA */
.icon--star { color: var(--gold-ink); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: var(--fs-label);
  font-weight: 500;
  color: var(--gold-500);
  margin-bottom: .9rem;
}

/* Areia nunca como texto pequeno sobre creme — trocar para gold-ink (AA) nas seções/contextos claros */
.menu .eyebrow,
.team .eyebrow,
.modal .eyebrow {
  color: var(--gold-ink);
}

.it {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-500);
}

:where(.why, .location, .menu, .team, .modal) .it { color: var(--navy-700); }

/* Nome da marca "Pecorino" no corpo do texto: mesma família reta/geométrica do logotipo
   (não a serifada/itálica do resto da copy). Usado tanto num <span> direto no HTML quanto
   injetado pelo splitHeading() nos h2[data-split] (não dá pra vir com markup ali, a função
   reconstrói o texto puro). */
.brand-word {
  font-family: var(--font-brand);
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .01em;
}

/* Máscara das linhas dos h2[data-split] (criada pelo splitHeading(), overflow:hidden inline).
   line-height ~1.05 corta a cauda de g/p/q/y/j: estende a máscara pra baixo e devolve o espaço
   com margem negativa igual — a altura do título no layout não muda. */
[data-split] { display: flow-root; } /* impede a margem negativa da última linha de vazar pro h2 */
[data-split] .line { padding-bottom: .3em; margin-bottom: -.3em; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  font-weight: 400;
  max-width: 46ch;
}

.small { font-size: .85rem; opacity: .78; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
  font-weight: 500;
}

.link-arrow .icon { transition: transform var(--dur-base) var(--ease-out); }

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.section-head .eyebrow { display: inline-flex; }
.section-head--center { max-width: 38rem; margin-inline: auto; text-align: center; }

[data-reveal] {
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  /* sem will-change permanente: dezenas de camadas de compositor à toa */
}

/* frases italianas como eyebrow: itálico serifado não combina com caixa alta espaçada */
.eyebrow.it { text-transform: none; letter-spacing: .01em; font-size: 1.1rem; font-weight: 400; }

/* ==========================================================================
   4. BOTÕES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 44px;
  padding: .95rem 1.85rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
  font-size: .875rem;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-base) var(--ease-out),
    color var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

/* seta absoluta: largura do botão não muda no hover (zero reflow) */
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; transition: transform var(--dur-base) var(--ease-out); }
.btn::after {
  content: '\2192';
  position: absolute;
  right: .95rem;
  top: 50%;
  translate: 0 -50%;
  opacity: 0;
  transform: translateX(-8px);
  transition:
    opacity var(--dur-fast) var(--ease-out),
    transform var(--dur-base) var(--ease-out);
}

.btn:hover, .btn:focus-visible {
  transform: translateY(-1px);
}

.btn:hover > *, .btn:focus-visible > * { transform: translateX(-10px); }
.btn:hover::after, .btn:focus-visible::after {
  opacity: 1;
  transform: translateX(0);
}
.btn--block::after { right: 1.25rem; }

.btn:active { transform: translateY(0); }

.btn:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

.btn--gold {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}
.btn--gold:hover, .btn--gold:focus-visible {
  background: var(--gold-400);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-soft);
}

.btn--navy {
  background: var(--navy-900);
  color: var(--cream-100);
  border-color: var(--navy-900);
}
.btn--navy:hover, .btn--navy:focus-visible {
  background: var(--navy-800);
  box-shadow: var(--shadow-soft);
}

.btn--ghost {
  background: transparent;
  color: var(--cream-100);
  border-color: rgba(249, 243, 237, .45);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(249, 243, 237, .1);
  border-color: var(--cream-100);
}

.btn--ghost-navy {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(1, 32, 63, .3);
}
.btn--ghost-navy:hover, .btn--ghost-navy:focus-visible {
  background: rgba(1, 32, 63, .06);
  border-color: var(--navy-900);
}

.btn--wa {
  background: var(--wa);
  color: var(--white);
  border-color: var(--wa);
}
.btn--wa:hover, .btn--wa:focus-visible {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  box-shadow: var(--shadow-soft);
}

.btn--block { width: 100%; white-space: normal; text-align: center; line-height: 1.25; } /* botões longos quebram linha em mobile */

.btn__spinner {
  display: inline-block;
  animation: spin 1s linear infinite;
}

.btn__spinner[hidden] { display: none; } /* display:inline-block acima vencia o [hidden] do UA e mostrava o spinner parado */

.btn[hidden] { display: none; }

.btn[aria-busy="true"] {
  pointer-events: none;
  opacity: .85;
}

.btn[aria-busy="true"] .btn__label { opacity: .85; }

/* foco navy nos forms sobre creme (areia sobre creme não passa em contraste) */
.modal .field__input:focus, .team__form .field__input:focus, .field--light .field__input:focus {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(31, 42, 90, .15);
  background-color: rgba(1, 32, 63, .04);
}

/* ==========================================================================
   5. FORMULÁRIOS
   ========================================================================== */

.field {
  position: relative;
  margin-bottom: 1.15rem;
}

.field__input {
  width: 100%;
  min-height: 54px;
  padding: 1.5rem 1.1rem .55rem;
  background: rgba(249, 243, 237, .06);
  border: 1.5px solid rgba(249, 243, 237, .25);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: inherit;
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}

.field__input::placeholder { color: transparent; }

/* Autofill do Chrome pintava o campo de azul-claro — mantém navy + creme */
.field__input:-webkit-autofill,
.field__input:-webkit-autofill:hover,
.field__input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #102D49 inset; /* navy-900 + 6% creme (mesmo tom do background) */
  -webkit-text-fill-color: var(--cream-100);
  caret-color: var(--cream-100);
  border-color: rgba(249, 243, 237, .35);
  transition: background-color 9999s ease-out 0s;
}

.field__input:focus {
  border-color: var(--gold-500);
  background: rgba(249, 243, 237, .1);
}

.field__label {
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  font-size: .95rem;
  color: var(--cream-muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

.field:focus-within .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field.is-filled .field__label {
  transform: translateY(-.65rem) scale(.78);
  color: var(--gold-500);
}

.field--select .field__input--select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F9F3ED' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px;
  cursor: pointer;
}

.field--select .field__label {
  transform: translateY(-.65rem) scale(.78);
  color: var(--cream-muted);
}

.field--select.is-filled .field__label,
.field--select:focus-within .field__label {
  color: var(--gold-500);
}

/* Contextos claros (formulários sobre fundo creme, se houver) */
.field--light .field__input {
  background: rgba(1, 32, 63, .03);
  border-color: rgba(1, 32, 63, .18);
  color: var(--ink);
}
.field--light .field__label { color: var(--ink-muted); }
.field--light .field:focus-within .field__label,
.field--light .field__input:not(:placeholder-shown) + .field__label {
  color: var(--navy-700);
}

.form__success {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(37, 211, 102, .12);
  color: var(--wa-dark);
  font-size: .9rem;
  animation: fadeUp var(--dur-base) var(--ease-out);
}

.form__success[hidden] { display: none; }

.dropzone {
  position: relative;
  margin-bottom: 1.15rem;
  padding: 1rem 1.15rem;
  border: 1.5px dashed rgba(249, 243, 237, .35);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-base) var(--ease-out), background-color var(--dur-base) var(--ease-out);
}

.dropzone:focus-within, .dropzone:hover {
  border-color: var(--gold-500);
  background: rgba(249, 243, 237, .05);
}

.dropzone__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone__label {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 44px;
  cursor: pointer;
  font-size: .95rem;
  color: var(--cream-muted);
}

.dropzone__text { flex: 1; }

.dropzone__filename {
  margin-left: auto;
  font-size: .82rem;
  color: var(--gold-500);
  max-width: 40%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   6. CURSOR CUSTOM & CORTINA DE ENTRADA
   ========================================================================== */

.curtain {
  position: fixed;
  inset: 0;
  z-index: var(--z-curtain);
  background: var(--navy-900);
  transform: translateY(0);
}

@property --cursor-s { syntax: '<number>'; inherits: true; initial-value: 1; }

.cursor { display: none; }

@media (pointer: fine) {
  .cursor {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-cursor);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--dur-base) var(--ease-out);
  }

  .cursor.is-active { opacity: 1; }

  .cursor__dot {
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
    background: var(--gold-500);
  }

  .cursor__ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 34px;
    margin: -17px 0 0 -17px;
    border-radius: 50%;
    border: 1.5px solid rgba(219, 204, 182, .6);
    /* escala via custom property animável — sem animar width/height/margin */
    transition: --cursor-s var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out),
      background-color var(--dur-base) var(--ease-out);
  }

  .cursor__label {
    position: absolute;
    top: 0;
    left: 0;
    width: 68px;
    height: 68px;
    margin: -34px 0 0 -34px;
    display: grid;
    place-items: center;
    font-family: var(--font-label);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .7rem;
    color: var(--navy-900);
    opacity: 0;
    transition: opacity var(--dur-fast) var(--ease-out);
  }

  .cursor { --cursor-s: 1; }
  .cursor--link { --cursor-s: 1.5; }
  .cursor--link .cursor__ring { background: rgba(219, 204, 182, .12); }
  .cursor--view { --cursor-s: 2; }
  .cursor--view .cursor__ring { background: var(--gold-500); border-color: var(--gold-500); }

  .cursor--view .cursor__dot { opacity: 0; }
  .cursor--view .cursor__label { opacity: 1; }

  body:has(.cursor.is-active) [data-cursor] { cursor: none; }
}

@media (pointer: coarse), (hover: none) {
  .cursor { display: none !important; }
}

/* ==========================================================================
   7. NAV
   ========================================================================== */

.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  margin-inline: auto; /* centrado sem transform (transform quebraria o .nav__panel fixed) */
  width: calc(min(100%, var(--container)) - 2 * var(--container-pad)); /* mesma largura do conteúdo do grid (1120px no desktop) */
  z-index: var(--z-nav);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  color: var(--cream-100);
  transition: border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}

/* Fundo + blur num pseudo-elemento: backdrop-filter no .nav virava containing block
   e prendia o .nav__panel (fixed) dentro da pílula quando a página estava rolada. */
.nav::before {
  content: '';
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background: transparent;
  transition: background-color var(--dur-base) var(--ease-out), backdrop-filter var(--dur-base) var(--ease-out);
}

.nav.is-scrolled, .nav--scrolled {
  border-color: rgba(219, 204, 182, .22);
  box-shadow: var(--shadow-soft);
}

.nav.is-scrolled::before, .nav--scrolled::before {
  background: rgba(1, 32, 63, .9); /* .72 virava cinza-ardósia sobre creme */
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.nav__inner {
  position: relative;
  z-index: 2; /* acima do painel mobile — senão o painel aberto cobre o botão de fechar */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .3rem .7rem .3rem 1.4rem; /* barra baixa (~58px); respiro nas duas pontas */
}

@media (min-width: 1024px) {
  .nav__inner { padding-left: 2.1rem; padding-right: .85rem; }
}

.nav__logo { display: inline-flex; align-items: center; min-height: 44px; } /* touch target */

.nav__logo-img { height: 26px; width: auto; }

@media (min-width: 1024px) {
  .nav__logo-img { height: 30px; }
}

.nav__links {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

@media (min-width: 1024px) {
  .nav__links { display: flex; }
}

.nav__link {
  position: relative;
  padding: .5rem .05rem;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .82rem;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: .75rem; }

.nav__cta { display: none; }

@media (min-width: 768px) {
  .nav__cta { display: inline-flex; }
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
}

@media (min-width: 1024px) {
  .nav__toggle { display: none; }
}

.nav__toggle-line {
  width: 20px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0); /* width:0% + scaleX nunca renderizava; agora largura cheia escalada */
  transform-origin: left center;
  will-change: transform;
}

.nav__panel {
  position: fixed;
  inset: 0;
  z-index: 1; /* dentro do stacking context do .nav; .nav__inner (z 2) fica por cima para o toggle fechar */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-900);
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.nav__panel[hidden] { display: none; }

.nav__panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav__panel nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.nav__panel a {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  color: var(--cream-100);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav__panel a.btn { margin-top: 1rem; }

.nav__panel a.btn--gold { color: var(--navy-900); }

/* ==========================================================================
   8. HERO
   ========================================================================== */

.hero {
  position: relative;
  overflow-x: clip;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(7rem, 16vw, 9rem) clamp(3rem, 8vw, 5rem);
  color: var(--cream-100);
  background: var(--navy-900);
}

.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden; /* Ken Burns fica só no GSAP (.hero__bg) — duplicado somava escala 1.17 */
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(1, 32, 63, .96) 0%, rgba(1, 32, 63, .85) 45%, rgba(1, 32, 63, .55) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 6vw, 3.5rem);
}

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
  }
}

.hero__content { max-width: 40rem; }

.hero__eyebrow { margin-bottom: 1.25rem; }

.hero__title { margin-bottom: 1.1rem; }

.hero__title-line {
  display: block;
  overflow: hidden;
  font-size: var(--fs-hero);
  letter-spacing: -.02em;
  line-height: .98;
}

.hero__title-line--it .it { font-weight: 500; }
.hero__title-inner { display: block; }

.hero__claim {
  font-size: var(--fs-h3);
  margin-bottom: 1.1rem;
  color: var(--gold-500);
}

.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--cream-muted);
  max-width: 42ch;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem 1.75rem;
  font-size: .85rem;
  color: var(--cream-muted);
}

.hero__meta-item { display: inline-flex; align-items: center; gap: .5rem; }

.hero__stars { display: inline-flex; gap: 2px; }

.hero__meta-item--stars { gap: .4rem; }

.hero__meta-item .icon {
  width: 18px;
  height: 18px;
  color: var(--gold-500);
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* mesma fórmula do .hero__plate-wrap (min(86vw,408px)) + folga — senão em telas tipo tablet
     (768px, onde 86vw já bate no teto de 408px) o prato ficava mais alto que o container e
     vazava por cima do que vinha depois (CTAs). */
  min-height: clamp(280px, 88vw, 420px);
}

@media (min-width: 1024px) {
  .hero__visual { min-height: 540px; justify-content: flex-start; padding-left: 2%; } /* >= 528px do plate-wrap (+20%) */
}

.hero__tiles {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78%;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-md);
  overflow: hidden;
  opacity: .9;
}

@media (min-width: 1024px) {
  .hero__tiles {
    top: 0;
    left: auto;
    right: 0;
    width: 34%;
    height: 112%;
    transform: translateY(-6%);
    border-radius: var(--radius-lg) var(--radius-lg) 40% 40%;
  }
}

.hero__plate-wrap {
  position: relative;
  z-index: 2;
  width: min(86vw, 408px); /* +20% (era 72vw/340px) */
  aspect-ratio: 1 / 1; /* antes vinha da <img> única em fluxo normal; agora os 5 pratos são absolutos */
}

@media (min-width: 1024px) {
  .hero__plate-wrap { width: min(41vw, 528px); } /* +20% (era 34vw/440px) */
}

.hero__plate-stack {
  position: absolute;
  inset: 0;
}

/* Gira/flutua sem parar — propriedades independentes (rotate/translate). Fica num elemento próprio,
   separado do <img>, porque compor isso com o transform do GSAP no MESMO elemento (rotation/scale/x/y
   do flick de troca) causava um salto visível: a spec aplica translate→rotate→scale→transform nessa
   ordem fixa, então o deslocamento x/y do GSAP saía "girado" pelo ângulo atual do spin contínuo — o
   prato que entrava aparecia deslocado pro canto e só assentava no centro quando o GSAP soltava o
   controle (clearProps). Com dois elementos cada um só tem um sistema de transform. Todos os 5 começam
   a girar juntos no load (sem animation-delay) — o que entra já está em sincronia com o que sai. */
.hero__plate-spin {
  position: absolute;
  inset: 0;
  transform-origin: center;
  will-change: transform;
  opacity: 0;
  pointer-events: none;
  animation: plateFloat 6s var(--ease-in-out) infinite;
}

/* plateSpin (rotação) só liga depois da 1ª interação real do usuário — ou timeout de segurança,
   ver initHero() em main.js — achado de performance 2026-09-29: girar desde o load faz o ângulo do
   prato ativo crescer a cada troca do carrossel (setInterval a cada 4,5s); o navegador mede o
   "tamanho" do maior conteúdo pintado pela caixa delimitadora do elemento (que cresce com rotação,
   já que uma caixa quadrada girada ocupa uma área maior alinhada aos eixos), então cada troca em
   ângulo maior contava como novo recorde de LCP e resetava a métrica — LCP real medido subindo até
   25s+ em loop, em vez de ~2s. Depois de uma interação real o LCP do browser já está definitivamente
   travado (é a própria definição do Core Web Vitals), então girar deixa de importar pra métrica. */
.is-spinning .hero__plate-spin {
  animation: plateSpin 90s linear infinite, plateFloat 6s var(--ease-in-out) infinite;
}

.hero__plate-spin.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__plate {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: center;
}

/* sombra estática por trás do prato (drop-shadow em img girando repintava o filtro a cada frame) */
.hero__plate-wrap::before {
  content: '';
  position: absolute;
  inset: 12% 6% -8% 6%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 60%, rgba(1, 18, 38, .6), transparent 70%);
  filter: blur(18px);
  z-index: -1;
  pointer-events: none;
}

.stamp {
  position: absolute;
  left: -8%;
  bottom: -4%;
  width: clamp(104px, 10vw, 136px);
  height: auto;
  color: var(--gold-500);
  filter: drop-shadow(0 6px 18px rgba(1, 32, 63, .45));
}

.stamp__ring {
  fill: var(--navy-900);
  stroke: var(--gold-500);
  stroke-width: 1.4;
}

.stamp__text {
  fill: var(--gold-500);
  font-family: var(--font-label);
  font-weight: 500;
  font-size: 9.4px;
  letter-spacing: .09em;
  text-transform: uppercase;
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: spin 24s linear infinite;
}

.stamp__sheep { color: var(--gold-500); }

.hero__lemon {
  position: absolute;
  top: -12%;
  right: -10%;
  width: clamp(84px, 10vw, 140px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(1, 18, 38, .5));
  animation: lemonFloat 7s var(--ease-in-out) infinite;
}

.hero__scroll {
  position: absolute;
  display: none;
  left: clamp(24px, calc((100vw - 1200px) / 2 + 40px), 100vw);
  bottom: clamp(5.5rem, 9vw, 7rem); /* acima do card de benefícios que sobe com margin negativa */
  flex-direction: row;
  align-items: center;
  gap: .75rem;
  z-index: 1;
  color: var(--cream-muted);
  transition: opacity var(--dur-base) var(--ease-out);
}

@media (min-width: 1024px) {
  .hero__scroll { display: flex; }
}

.hero__scroll.is-hidden { opacity: 0; pointer-events: none; }

.hero__scroll-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}

.hero__scroll-text {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .7rem;
}

/* ==========================================================================
   9. BENEFITS
   ========================================================================== */

.benefits {
  position: relative;
  overflow-x: clip;
  background: var(--cream-100);
  padding-block: clamp(1rem, 4vw, 2rem) var(--space-section);
}

.benefits__card {
  position: relative;
  overflow: clip;
  background: var(--navy-900);
  color: var(--cream-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  padding: clamp(1.5rem, 3.5vw, 2.25rem); /* compacto: card ~35% mais baixo */
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* min-content do botão longo estourava o card em 375px */
  gap: 1.75rem;
  margin-top: -56px;
}

.benefits__card > * { min-width: 0; }

@media (min-width: 1024px) {
  .benefits__card {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); /* form ~57% — campos mais largos */
    align-items: center;
    gap: 2.5rem;
    margin-top: -88px;
  }
}

.benefits__text .eyebrow { color: var(--gold-500); margin-bottom: .6rem; }
.benefits__text h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.benefits__text .lead { color: var(--cream-muted); font-size: 1.05rem; }

.benefits__form { position: relative; z-index: 2; }
.benefits__form .field { margin-bottom: .85rem; }
.benefits__form .field__input { min-height: 56px; padding: 1.5rem 1.1rem .5rem; font-size: 1rem; }
.benefits__form .field__label { top: 1.05rem; }

/* desktop: campos lado a lado (Nome | WhatsApp | E-mail) + botão full — 2 linhas em vez de 4 */
@media (min-width: 1024px) {
  .benefits__form {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.2fr); /* Nome/WhatsApp −10%, E-mail +20% */
    gap: .75rem;
    align-items: stretch;
  }
  .benefits__form .field { margin-bottom: 0; }
  .benefits__form .btn--block,
  .benefits__form .form__success { grid-column: 1 / -1; }
  .benefits__form .btn--block { min-height: 56px; }
}

.benefits__ovelha {
  position: absolute;
  right: -5%;
  bottom: -8%;
  width: clamp(120px, 14vw, 170px);
  height: auto;
  opacity: .95;
  pointer-events: none;
}

/* ==========================================================================
   10. MENU (grid de cards)
   ========================================================================== */

.menu {
  position: relative;
  overflow-x: clip; /* a parede de cestos encosta na borda da viewport */
  background: var(--cream-50);
  padding-block: var(--space-section);
}

/* Cabeçalho com a parede de cestos/quadros à direita */
.section-head--wall {
  max-width: none;
  display: grid;
  gap: 2rem;
  align-items: end;
}

.section-head--wall .section-head__text { max-width: 44rem; }

.menu__wall {
  width: 100%;
  max-width: 520px;
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 18px 24px rgba(1, 32, 63, .12));
}

/* Desktop: parede grande (~2× a coluna) atrás do título, ancorada à direita e subindo pelo respiro da seção */
@media (min-width: 1024px) {
  .section-head--wall {
    display: block;
    position: relative;
  }
  .section-head--wall .section-head__text { position: relative; z-index: 1; }
  .menu__wall {
    position: absolute;
    /* 15% pra direita, mas sem passar da borda da viewport (limite = padding do container + margem lateral) */
    right: max(-15%, calc(-1 * (var(--container-pad) + max(0px, (100vw - var(--container)) / 2))));
    bottom: -.25rem;          /* base junto ao lead */
    z-index: 0;
    width: min(816px, 71%);   /* ~800px em 1440 (−15%) */
    max-width: none;
    margin: 0;
    pointer-events: none;
  }
}

.menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .menu__grid { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.menu__cta {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

@media (min-width: 1024px) {
  .menu__cta { margin-top: 3.25rem; }
}

.menu-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-md);
  overflow: clip;
  isolation: isolate;
}

.menu-card__link {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.menu-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.menu-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.menu-card:hover .menu-card__img { transform: scale(1.06); } /* cards sem link (pedido do cliente) — só zoom sutil */

.menu-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(1, 32, 63, .97) 0%, rgba(1, 32, 63, .72) 45%, rgba(1, 32, 63, .28) 75%, rgba(1, 32, 63, .1) 100%); /* mais fechada: leitura do texto */
}

.menu-card__tiles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.menu-card__body {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  color: var(--cream-100);
}

.menu-card__title {
  font-size: 1.35rem;
  margin-bottom: .6rem;
}

.menu-card__text {
  font-size: .9rem;
  line-height: 1.45; /* body é 1.65 — nos cards ficava aberto demais */
  color: var(--cream-100);
  margin-bottom: 0;
  max-width: 32ch;
}

.menu-card--feature {
  border: 1.5px solid var(--gold-500);
}

/* ==========================================================================
   11. CARDÁPIO (tabs + dishes)
   ========================================================================== */

.cardapio {
  position: relative;
  overflow-x: clip;
  background: var(--navy-900);
  color: var(--cream-100);
  padding-block: var(--space-section);
  /* content-visibility:auto removido: a altura "placeholder" (1600px) diferia da real
     e causava salto de ~700px no scroll + posições erradas no ScrollTrigger. */
}

.cardapio__tiles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cardapio__lemon {
  position: absolute;
  left: -4%;
  bottom: -4%;
  width: clamp(220px, 30vw, 420px);
  height: auto;
  opacity: .12;
  z-index: 0;
  pointer-events: none;
}

.cardapio > .container { position: relative; z-index: 1; }

.cardapio__logo {
  display: block;
  width: 110px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.cardapio__title { font-size: var(--fs-h2); }

.cardapio__motto {
  opacity: .8;
  text-align: center;
  margin-bottom: 2rem;
}

.tabs {
  position: relative;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  border-bottom: 1px solid rgba(249, 243, 237, .15);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.tabs::-webkit-scrollbar { display: none; }

/* 10 abas cabem em 1440 sem overflow; permite quebrar em 2 linhas se precisar */
@media (min-width: 1024px) {
  .tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    row-gap: .75rem;
    scroll-snap-type: none;
  }
}

.tabs__tab {
  flex-shrink: 0;
  scroll-snap-align: start;
  min-height: 44px;
  padding: .7rem .1rem;
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .8rem;
  color: var(--cream-muted);
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-out);
}

.tabs__tab:hover { color: var(--cream-100); }

.tabs__tab[aria-selected="true"] { color: var(--gold-500); }

.tabs__indicator {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100px; /* base fixa; largura real via scaleX (sem animar width) */
  background: var(--gold-500);
  transform-origin: left center;
  transform: translateX(var(--x, 0px)) scaleX(calc(var(--w, 0px) / 100px));
  transition: transform var(--dur-base) var(--ease-out);
}

.panels { position: relative; }

.panel[hidden] { display: none; }

@keyframes panelFade {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.panel:not([hidden]) { animation: panelFade var(--dur-base) var(--ease-out); }

.panel__group {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-500);
  font-size: 1.15rem;
  margin: 2rem 0 1rem;
}

.panel__group:first-child { margin-top: 0; }

.dishes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 3rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .dishes { grid-template-columns: repeat(2, 1fr); }
}

.dish {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  padding-block: .9rem;
  border-bottom: 1px dotted rgba(219, 204, 182, .35);
  break-inside: avoid;
  animation: dishIn var(--dur-base) var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 30ms);
}

.dish__name {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .92rem;
  font-weight: 500;
}

.dish__desc {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--cream-muted);
}

.panel__disclaimer {
  margin-top: 1rem;
  font-size: .8rem;
  color: var(--cream-muted);
  font-style: italic;
}

/* subtítulo da aba (ex.: "Pratos com porção reduzida", dias do Menu Executivo) */
.panel__intro {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--cream-100);
}

.panel__intro + .panel__group { margin-top: 0; }

.cardapio__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(249, 243, 237, .15);
}

.cardapio__note {
  font-size: .85rem;
  color: var(--cream-muted);
}

/* ==========================================================================
   12. DIVISOR DE AZULEJOS
   ========================================================================== */

.tiles-band {
  position: relative;
  overflow-x: clip;
  height: 48px;
  width: 100%;
}

@media (min-width: 768px) {
  .tiles-band { height: 64px; }
}

.tiles-band__svg {
  display: block;
  width: 112%;
  max-width: none; /* reset global "img,svg{max-width:100%}" clampava em 100% e cortava ~86px na ponta direita da faixa */
  height: 100%;
  margin-left: -6%;
}

/* Variante monocromática (fundo escuro) e invertida (fundo claro) — textura sutil */
.tiles--ghost { opacity: .1; }
.cardapio .tiles--ghost { opacity: .12; mask-image: linear-gradient(to top, #000 0%, transparent 60%); -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 60%); }
.tiles--ghost-invert { opacity: .05; }

/* ==========================================================================
   13. WHY (porquê)
   ========================================================================== */

.why {
  position: relative;
  overflow-x: clip;
  background: var(--cream-100);
  padding-block: var(--space-section);
}

.why__grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .why__grid {
    grid-template-columns: .85fr 1.15fr;
    gap: 4.5rem;
    align-items: start;
  }
}

.why__aside h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.why__aside > .lead { margin-bottom: 1rem; }
.why__aside > p:not(.lead) { color: var(--ink-muted); margin-bottom: 1.75rem; max-width: 42ch; }

@media (min-width: 1024px) {
  .why__aside { position: sticky; top: 6.5rem; }
}

.why__frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.why__frame img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

.why__frame-seal {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  padding: .85rem;
  background: var(--gold-500);
  color: var(--navy-900);
  border-radius: 50%;
  box-shadow: var(--shadow-soft);
}

.why__list-wrap { position: relative; }

.why__progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(1, 32, 63, .12);
  display: none;
}

.why__progress::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-ink);
  transform: scaleY(var(--progress, 0));
  transform-origin: top;
}

@media (min-width: 640px) {
  .why__progress { display: block; }
  .why__list { padding-left: 2.5rem; }
}

.why__list { display: flex; flex-direction: column; gap: 2.5rem; }

.why__item h3 {
  font-family: var(--font-label);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: .4rem 0 .55rem;
}

.why__number {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  color: var(--navy-700);
}

.why__item p { color: var(--ink-muted); max-width: 46ch; }

.why__cta { margin-top: .5rem; }

/* ==========================================================================
   14. GALERIA + MARQUEE + LIGHTBOX
   ========================================================================== */

.gallery {
  position: relative;
  overflow-x: clip;
  background: var(--navy-950);
  color: var(--cream-100);
  padding-block: var(--space-section);
}

.gallery .section-head p { color: var(--cream-muted); }

.gallery__viewport {
  overflow-x: auto;
  overflow-y: hidden;
  /* sem scroll-snap: o carrossel anda sozinho (rAF ajustando scrollLeft) e o snap
     ficava "brigando" com esse movimento contínuo, travando a animação */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: .5rem;
}

.gallery__viewport::-webkit-scrollbar { display: none; }

.gallery__track {
  display: flex;
  align-items: flex-end;
  gap: 1.25rem;
  padding-inline: var(--container-pad);
  width: max-content;
}

@media (min-width: 1024px) {
  .gallery__track { padding-inline: calc((100vw - var(--container)) / 2); }
}

.photo {
  position: relative;
  flex: 0 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-soft);
}

.photo[data-size="s"] { height: clamp(220px, 34vw, 300px); }
.photo[data-size="m"] { height: clamp(280px, 42vw, 380px); }
.photo[data-size="l"] { height: clamp(340px, 50vw, 460px); }

/* Desktop: fotos um pouco maiores (não precisa mais caber tudo em 100vh — a seção
   não pina mais, o álbum agora é um carrossel que anda sozinho, ver initGalleryCarousel). */
@media (min-width: 1024px) {
  .photo[data-size="s"] { height: clamp(220px, 26vw, 300px); }
  .photo[data-size="m"] { height: clamp(280px, 34vw, 380px); }
  .photo[data-size="l"] { height: clamp(340px, 42vw, 460px); }
}

.photo__btn { display: block; height: 100%; min-width: 44px; }

.photo__img {
  height: 100%;
  width: auto;
  object-fit: cover;
  transition: transform 700ms var(--ease-out);
}

.photo:hover .photo__img, .photo:focus-within .photo__img { transform: scale(1.05); }

.photo__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .9rem 1rem 1.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: .9rem;
  color: var(--cream-100);
  background: linear-gradient(to top, rgba(1, 18, 38, .82), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.photo:hover .photo__caption, .photo:focus-within .photo__caption {
  opacity: 1;
  transform: translateY(0);
}

.photo__desc {
  display: block;
  margin-top: .25rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .78rem;
  color: var(--cream-muted);
}

.marquee {
  overflow: hidden;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid rgba(249, 243, 237, .12);
  border-bottom: 1px solid rgba(249, 243, 237, .12);
  padding-block: 1.5rem;
}

.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.no-gsap .marquee__track { animation: marquee 32s linear infinite; }
.no-gsap .marquee:hover .marquee__track { animation-play-state: paused; }

.marquee__item {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  color: var(--gold-500);
  opacity: .46; /* .18 em creme era invisível; .42 ficava 2.97:1 (abaixo do mínimo 3:1 pra texto grande, Lighthouse a11y) */
  white-space: nowrap;
  padding-right: 2rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  margin: auto;
  max-width: 92vw;
  max-height: 92vh;
  width: min(1100px, 92vw);
  overflow: hidden; /* o UA-stylesheet do <dialog> traz overflow:auto — se o conteúdo passasse de max-height,
                       aparecia uma barra de scroll por cima da foto. Clip aqui + orçamento de altura abaixo. */
  border: none;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(1, 24, 46, .55), rgba(1, 24, 46, .3));
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
  padding: clamp(1rem, 3vw, 2rem);
  color: var(--cream-100);
  opacity: 1;
  transform: scale(1);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out),
    overlay var(--dur-base) var(--ease-out) allow-discrete, display var(--dur-base) var(--ease-out) allow-discrete;
}

.lightbox:not([open]) { pointer-events: none; }

@starting-style {
  .lightbox[open] { opacity: 0; transform: scale(.94); }
}

.lightbox::backdrop {
  background: rgba(1, 12, 26, .92);
  backdrop-filter: blur(10px);
  opacity: 1;
  transition: opacity var(--dur-base) var(--ease-out) allow-discrete;
}

@starting-style {
  .lightbox[open]::backdrop { opacity: 0; }
}

.lightbox__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Grupo do topo (contador + autoplay + fechar) — um único bloco flutuante */
.lightbox__toolbar {
  position: absolute;
  top: -.35rem;
  right: -.35rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: .4rem;
}

@media (min-width: 640px) { .lightbox__toolbar { top: -.75rem; right: -.75rem; } }

.lightbox__count {
  font-family: var(--font-label);
  font-size: .72rem;
  letter-spacing: .07em;
  color: var(--cream-muted);
  padding-inline: .5rem;
  white-space: nowrap;
}

.lightbox__icon-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(1, 18, 38, .7);
  backdrop-filter: blur(6px);
  color: var(--cream-100);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

.lightbox__icon-btn:hover,
.lightbox__icon-btn[aria-pressed="true"] { background: var(--gold-500); color: var(--navy-900); }

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(1, 18, 38, .55);
  backdrop-filter: blur(6px);
  color: var(--cream-100);
  transform: translateY(-50%);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
}

.lightbox__nav:hover { background: var(--gold-500); color: var(--navy-900); }

/* Setas por cima da própria foto (não mais estourando pra fora do diálogo — isso
   contribuía pro overflow que forçava a barra de scroll). */
.lightbox__nav--prev { left: .5rem; }
.lightbox__nav--next { right: .5rem; }
@media (min-width: 768px) {
  .lightbox__nav--prev { left: 1rem; }
  .lightbox__nav--next { right: 1rem; }
}

.lightbox__figure {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
}

.lightbox__frame {
  position: relative;
  max-width: 100%;
  line-height: 0; /* remove o espaço fantasma abaixo da <img> (inline) que sobrava pra barra de scroll */
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: min(68vh, 620px);
  border-radius: var(--radius-md);
  margin-inline: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

.lightbox__caption {
  max-width: 46rem;
  text-align: center;
}

.lightbox__caption-title {
  display: block;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--cream-100);
}

.lightbox__caption-desc {
  display: block;
  margin-top: .35rem;
  font-family: var(--font-body);
  font-size: .9rem;
  line-height: 1.5;
  color: var(--cream-muted);
}

/* ==========================================================================
   15. LOCATION
   ========================================================================== */

.location {
  position: relative;
  overflow-x: clip;
  background: var(--cream-100);
  padding-block: var(--space-section);
}

.location__tiles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.location__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .location__grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 3.5rem; }
}

.location__text h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.location__text .lead { margin-bottom: 1.75rem; }

.address-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--navy-900);
  color: var(--cream-100);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.address-card__icon { color: var(--gold-500); flex-shrink: 0; margin-top: .1rem; }

.address-card__title {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  color: var(--gold-500);
  margin-bottom: .4rem;
}

.address-card__text p { font-size: .92rem; color: var(--cream-muted); line-height: 1.5; }

/* Coluna direita: card de endereço em cima do mapa (pedido do cliente) */
.location__map {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location__map .address-card { margin-bottom: 0; }

.location__map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.map {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  filter: grayscale(.25) saturate(.9);
  transition: filter var(--dur-base) var(--ease-out);
}

@media (min-width: 1024px) {
  .map { aspect-ratio: 5 / 4; } /* mapa um pouco mais baixo já que o card ocupa o topo da coluna */
}

.location__map-frame:hover .map { filter: none; }

/* ==========================================================================
   16. RESERVE
   ========================================================================== */

.reserve {
  position: relative;
  overflow-x: clip;
  background: var(--navy-900);
  color: var(--cream-100);
  padding-block: var(--space-section);
}

.reserve__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .reserve__grid { grid-template-columns: 1fr .8fr; align-items: center; gap: 4rem; }
}

.reserve__text h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.reserve__text .lead { margin-bottom: 1rem; }
.reserve__text > p:not(.lead) { color: var(--cream-muted); margin-bottom: .75rem; max-width: 46ch; }

.reserve__form { margin-top: 1.75rem; max-width: 30rem; }

.reserve__hint {
  margin-top: .85rem;
  color: var(--cream-muted);
}

.reserve__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.reserve__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }

/* ==========================================================================
   17. TEAM
   ========================================================================== */

.team {
  position: relative;
  overflow-x: clip;
  background: var(--cream-200);
  padding-block: var(--space-section);
}

.team__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .team__grid { grid-template-columns: .85fr 1.15fr; align-items: center; gap: 4rem; }
}

.team__media {
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  max-width: 380px;
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .team__media { max-width: none; margin-inline: 0; }
}

.team__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }

.team__text h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.team__text .lead { margin-bottom: .75rem; }
.team__text > p:not(.lead) { color: var(--ink-muted); margin-bottom: 1.75rem; max-width: 46ch; }

.team__form { max-width: 34rem; }
.team__form .field--light .field__input,
.team__form .field__input { background-color: rgba(1, 32, 63, .03); border-color: rgba(1, 32, 63, .18); color: var(--ink); }
.team__form .field__label { color: var(--ink-muted); }
.team__form .field:focus-within .field__label,
.team__form .field__input:not(:placeholder-shown) + .field__label,
.team__form .field.is-filled .field__label,
.team__form .field--select .field__label { color: var(--navy-700); }
.team__form .field--select .field__input--select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301203F' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}
.team__form .dropzone { border-color: rgba(1, 32, 63, .25); }
.team__form .dropzone:hover, .team__form .dropzone:focus-within { border-color: var(--gold-ink); background: rgba(1, 32, 63, .03); }
.team__form .dropzone__label { color: var(--ink-muted); }
.team__form .form__success { color: var(--wa-dark); }

/* ==========================================================================
   18. REVIEWS
   ========================================================================== */

.reviews {
  position: relative;
  overflow-x: clip;
  background: var(--cream-50);
  padding-block: var(--space-section);
}

.reviews .section-head p { color: var(--ink-muted); }

.reviews__google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.reviews__stars, .review__stars { display: inline-flex; gap: 2px; }

.reviews__google-logo { flex-shrink: 0; }

.reviews__label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .85rem;
  color: var(--ink-muted);
}

.reviews__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .reviews__track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow-x: visible;
  }
}

.review {
  flex: 0 0 85%;
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .review { flex: initial; }
}

.review__text {
  margin: .75rem 0 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-clamp: 6;
  overflow: hidden;
}

.review__head {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.review__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream-200);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3.5px var(--gold-500);
}

/* Fallback sem foto: iniciais em navy (usar <span class="review__avatar review__avatar--initials">BN</span>) */
.review__avatar--initials {
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: var(--cream-100);
  font-family: var(--font-label);
  font-size: .9rem;
  letter-spacing: .05em;
}

.review__who {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.review__author {
  font-family: var(--font-label);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .8rem;
  color: var(--navy-700);
}

.review__when { font-size: .85rem; color: var(--ink-muted); }

.review__source {
  display: inline-flex;
  align-items: center;
  padding: .15rem .55rem;
  border-radius: var(--radius-pill);
  background: var(--cream-200);
  color: var(--ink-muted);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .7rem;
}

.reviews__actions { display: flex; justify-content: center; }

/* ==========================================================================
   19. FOOTER
   ========================================================================== */

.footer {
  position: relative;
  overflow-x: clip;
  background: var(--navy-950);
  color: var(--cream-100);
}

/* --- Toldo mediterrâneo --- */
.footer__awning {
  position: relative;
  width: 100%;
  height: 18px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--navy-900) 0 14px, var(--cream-100) 14px 28px);
  -webkit-mask-image: radial-gradient(circle at 6px 100%, transparent 6px, #000 6.5px);
  -webkit-mask-size: 12px 100%;
  -webkit-mask-repeat: repeat-x;
  mask-image: radial-gradient(circle at 6px 100%, transparent 6px, #000 6.5px);
  mask-size: 12px 100%;
  mask-repeat: repeat-x;
}

/* --- Faixa de azulejos --- */
.footer .footer__tiles.tiles-band { height: 64px; margin-bottom: 0; }

/* --- Corpo principal --- */
.footer__main {
  position: relative;
  overflow: hidden;
  background: var(--navy-950);
  padding-block: clamp(4rem, 8vw, 6.5rem);
}

.footer__main::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -4%;
  width: min(320px, 40vw);
  aspect-ratio: 639 / 464;
  background: url('../img/web/brand-limao-ilustracao-areia.webp') center / contain no-repeat;
  opacity: .08;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.footer__main > .container { position: relative; z-index: 1; }

/* Heading semântico do landmark — mantido para a11y/SEO, oculto visualmente (não faz parte do layout da spec) */
.footer__title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 2.75rem; }
}

@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
}

.footer__brand { display: flex; flex-direction: column; gap: 1.25rem; }

.footer__logo { width: clamp(180px, 22vw, 260px); height: auto; }

.footer__claim {
  font-size: 1.25rem;
  max-width: 28ch;
  line-height: 1.4;
}

.footer__info { display: flex; flex-direction: column; }

.footer__heading {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .8rem;
  color: var(--gold-500);
  margin-bottom: 1.1rem;
}

.footer__heading--social { margin-top: 1.75rem; }

.footer__list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  margin-bottom: 1.5rem;
}

.footer__list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--cream-100);
  line-height: 1.5;
}

.footer__list .icon { color: var(--gold-500); flex-shrink: 0; margin-top: .15rem; }

.footer__list a { text-decoration: underline; text-underline-offset: 2px; transition: color var(--dur-fast) var(--ease-out); }
.footer__list a:hover, .footer__list a:focus-visible { color: var(--gold-500); }

.footer__nav { display: flex; flex-direction: column; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 40px; padding-block: .2rem; } /* touch target sem ficar ralo */
.footer__links, .footer__nav ul { gap: .15rem; }

.footer__links {
  display: flex;
  flex-direction: column;
  gap: .15rem; /* links já têm min-height 40px; .85rem deixava a coluna rala */
  margin-bottom: .5rem;
}

.footer__links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding-block: .2rem;
  gap: .4rem;
  font-size: .95rem;
  color: var(--cream-100);
  transition: color var(--dur-fast) var(--ease-out);
}

.footer__links a::after {
  content: '\2192';
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.footer__links a:hover, .footer__links a:focus-visible { color: var(--gold-500); }
.footer__links a:hover::after, .footer__links a:focus-visible::after { opacity: 1; transform: translateX(0); }

.footer__social { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn--social {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--gold-500);
  color: var(--cream-100);
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .8rem;
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}

.btn--social:hover, .btn--social:focus-visible {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn--social[data-wa-link] {
  background: var(--wa);
  border-color: var(--wa);
  color: var(--navy-950);
}

.btn--social[data-wa-link]:hover, .btn--social[data-wa-link]:focus-visible {
  background: var(--wa-dark);
  border-color: var(--wa-dark);
  color: var(--navy-950);
}

.footer__bottom {
  position: relative;
  background: var(--navy-950);
  border-top: 1px solid rgba(249, 243, 237, .1);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.footer__copy { font-size: .8rem; color: var(--cream-muted); }

.footer__disclaimer {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  color: var(--gold-500);
}

.footer__credit { font-size: .8rem; color: var(--cream-muted); opacity: .75; }

.footer__credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur-base) var(--ease-out);
}

.footer__credit a:hover { color: var(--gold-500); }

.to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream-100);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}

.to-top:hover, .to-top:focus-visible {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .footer__brand { align-items: center; text-align: center; }
  .footer__list li { text-align: left; }
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: .75rem; }
}

/* ==========================================================================
   20. WHATSAPP FLUTUANTE
   ========================================================================== */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-float);
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: var(--shadow-float);
  transform: scale(0);
  transition: transform var(--dur-base) var(--ease-out), background-color var(--dur-fast) var(--ease-out);
}

.wa-float.is-visible { transform: scale(1); }

.wa-float:hover { background: var(--wa-dark); }

.wa-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: pulseRing 3s var(--ease-out) infinite;
}

.wa-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--navy-900);
  color: var(--cream-100);
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out);
}

@media (hover: hover) {
  .wa-float:hover .wa-float__tooltip { opacity: 1; }
}

/* ==========================================================================
   21. KEYFRAMES
   ========================================================================== */

/* Hero mobile: h1 domina a dobra; CTAs empilhados com largura igual */
@media (max-width: 639px) {
  .hero__title-line { font-size: clamp(2.5rem, 11.5vw, 3.1rem); line-height: .95; }
  .hero__title-inner.brand-word { font-weight: 300; } /* no tamanho grande do h1 mobile, 400 ainda parecia grosso */
  .hero__claim { font-size: 1.25rem; }
  .hero__lead { font-size: 1rem; line-height: 1.55; }
  .hero__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas .btn { width: 100%; }
  .hero__meta { gap: .6rem 1.25rem; font-size: .8rem; }
  .stamp { width: 96px; left: 0; bottom: 0; }
}

@media (max-width: 1023px) {
  /* Prato entre o claim ("A unidade mais querida do ABC!") e o lead, não depois de tudo — pedido do
     cliente. .hero__content deixa de gerar caixa própria (display:contents) e seus filhos viram itens
     diretos do grid de .hero__inner, junto com .hero__visual — daí dá pra intercalar com "order" sem
     mudar o HTML (que o desktop usa como as 2 colunas do grid). */
  .hero__content { display: contents; }
  /* .hero__inner tem "gap" grande (pensado pra separar só 2 colunas: texto | visual). Com o
     display:contents acima, esse gap passou a valer entre TODOS os itens (eyebrow, título, claim...)
     e sobrou espaço enorme entre cada um — zerado aqui, cada item já tem seu próprio margin-bottom
     (a mesma espaçamento de antes do reorder). */
  .hero__inner { gap: 0; }
  .hero__eyebrow { order: 1; }
  .hero__title { order: 2; }
  .hero__claim { order: 3; }
  .hero__visual { order: 4; margin-block: 1.25rem; }
  .hero__lead { order: 5; }
  .hero__ctas { order: 6; }
  .hero__meta { order: 7; }
}

@keyframes kenburns {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes plateSpin {
  to { rotate: 360deg; }
}

@keyframes plateFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes lemonFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scrollLine {
  0% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
  51% { transform-origin: right; }
  100% { transform: scaleX(0); transform-origin: right; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dishIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pulseRing {
  0% { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.9); opacity: 0; }
}

/* ==========================================================================
   22. MODAL DE RESERVA (spec §4.9b)
   ========================================================================== */

body.modal-open { overflow: hidden; }

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  margin: auto;
  border: none;
  padding: 0;
  max-width: 520px;
  width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  background: transparent;
  color: var(--ink);
}

.modal:not([open]) { pointer-events: none; }

.modal::backdrop {
  background: rgba(1, 32, 63, .7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.modal[open] { animation: modalIn 320ms var(--ease-out) both; }
.modal[open]::backdrop { animation: modalBackdropIn 320ms var(--ease-out) both; }

.modal__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-float);
  overflow: hidden;
  max-height: calc(100vh - 64px);
}

.modal__tiles {
  flex-shrink: 0;
  display: block;
  width: 100%;
  height: 20px;
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--navy-900);
  box-shadow: var(--shadow-soft);
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}

.modal__close:hover, .modal__close:focus-visible {
  background: var(--gold-500);
  color: var(--navy-900);
}

.modal__body {
  padding: clamp(1.75rem, 4vw, 2.75rem);
  overflow-y: auto;
}

.modal__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--navy-900);
  margin-bottom: .6rem;
}

.modal__claim { margin-bottom: 1rem; }

.modal__text {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  max-width: 42ch;
}

.modal__form { margin-top: .5rem; }

.modal__hint, .modal__alt { margin-top: .85rem; color: var(--ink-muted); }

/* Formulário do modal sobre fundo creme — mesma lógica de .field--light */
.modal .field__input {
  background-color: rgba(1, 32, 63, .03);
  border-color: rgba(1, 32, 63, .18);
  color: var(--ink);
}

.modal .field__label { color: var(--ink-muted); }

.modal .field:focus-within .field__label,
.modal .field__input:not(:placeholder-shown) + .field__label,
.modal .field.is-filled .field__label {
  color: var(--gold-ink);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes modalBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ==========================================================================
   23. LOCALIZAÇÃO — INFO GRID + LINKS SUBLINHADOS
   ========================================================================== */

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
  .info-grid { grid-template-columns: repeat(2, 1fr); }
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.1rem 1.25rem;
  background: var(--cream-200);
  border: 1px solid rgba(1, 32, 63, .08);
  border-radius: var(--radius-md);
}

.info-item .icon { color: var(--navy-900); width: 24px; height: 24px; }

.info-item__label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .75rem;
  color: var(--ink-muted);
}

.info-item__value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy-900);
}

.reserve__alt a, .modal__alt a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   24. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .hero__media,
  .hero__plate-spin,
  .stamp__text,
  .hero__lemon,
  .hero__scroll-line,
  .marquee__track,
  .wa-float__ring,
  .panel,
  .dish,
  .form__success,
  .cursor,
  .modal[open],
  .modal[open]::backdrop {
    animation: none !important;
  }

  .curtain {
    transform: translateY(-100%);
    transition: none;
  }

  .marquee__track { flex-wrap: wrap; white-space: normal; }
  .marquee__item:nth-of-type(2) { display: none; }

  html { scroll-behavior: auto; }

  * {
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   25. BREAKPOINTS EXTRA (>=640 / >=1280 ajustes finos)
   ========================================================================== */

@media (min-width: 640px) {
  .hero__ctas .btn { min-width: 200px; }
}

@media (min-width: 1280px) {
  .container { padding-inline: 3rem; }
  .space-section { --space-section: 10rem; }
}

/* Destaques em negrito no lead do hero */
.hero__lead strong { font-weight: 600; color: var(--white); }
