/* ============================================================
   DON LUIS — Restaurant portugais à Bruxelles
   Tema: FUNDO BRANCO. Verde (#013D3B) só no cabeçalho e rodapé.
   Títulos: PT Serif (serif do site antigo). Texto: Space Grotesk (AgendKit).
   Regra de ouro: SEM bege/castanho/dourado, SEM estética de IA.
   ============================================================ */

@font-face {
  font-family: "PT Serif";
  src: url("../fonts/PTSerif-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PT Serif";
  src: url("../fonts/PTSerif-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "PT Serif";
  src: url("../fonts/PTSerif-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk-Variable.woff2") format("woff2");
  font-weight: 300 700; font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-2: #f4f7f6;      /* cinza-esverdeado muito leve (NÃO bege) */
  --ink: #14211e;          /* texto principal (quase-preto esverdeado) */
  --ink-soft: #55655f;     /* texto secundário */
  --brand: #013d3b;        /* verde da marca — header/footer/acentos */
  --brand-2: #0b5a54;
  --accent: #0b5a54;       /* hover/links */
  --mint: #8fe9d6;         /* realce (só sobre verde) */
  --line: rgba(1, 61, 59, 0.14);
  --line-soft: rgba(1, 61, 59, 0.08);
  --display: "PT Serif", Georgia, "Times New Roman", serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --max: 1200px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* overflow-x: clip (Safari 16+) faz o mesmo que hidden SEM criar um contentor de scroll —
   é isso que no iOS desalinhava a barra fixa e o scroll das âncoras. `hidden` fica de reserva. */
html { scroll-behavior: smooth; background: var(--paper); -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); overflow-x: hidden; overflow-x: clip; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: hidden; overflow-x: clip; max-width: 100%; -webkit-font-smoothing: antialiased; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--brand); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: #c3d2ce; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-2); }

/* ---------- utilitários ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .container { padding: 0 32px; } }
.section { padding: 88px 0; }
@media (min-width: 1024px) { .section { padding: 120px 0; } }

.eyebrow { font-family: var(--body); font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; font-size: 0.72rem; color: var(--brand); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 999px; padding: 16px 32px; font-family: var(--body); font-weight: 700; font-size: 0.98rem; line-height: 1; letter-spacing: 0.008em; cursor: pointer; transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s; border: 1px solid transparent; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.btn svg { flex: none; }

/* botão VERDE "água" (liquid glass) — refrata o fundo + brilho molhado, texto nítido */
.btn-primary { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.28);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0) 42%),
    radial-gradient(120% 85% at 26% -18%, rgba(255,255,255,0.28), rgba(255,255,255,0) 58%),
    linear-gradient(180deg, rgba(6,96,89,0.92), rgba(1,61,59,0.94));
  -webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%);
  border: 1px solid rgba(143,233,214,0.42);
  box-shadow: 0 12px 28px -12px rgba(1,61,59,0.6), inset 0 1px 0 rgba(255,255,255,0.38), inset 0 -3px 6px rgba(255,255,255,0.10), inset 0 0 0 1px rgba(255,255,255,0.08); }
.btn-primary:hover { transform: scale(1.03); box-shadow: 0 16px 34px -12px rgba(1,61,59,0.68), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 -3px 7px rgba(255,255,255,0.16), inset 0 0 0 1px rgba(255,255,255,0.14); }

.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* sobre o verde (header/hero-foto) — MENTA "água" com texto escuro nítido */
.btn-onbrand { color: #043029; text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55) 0%, rgba(255,255,255,0) 44%),
    radial-gradient(120% 85% at 26% -18%, rgba(255,255,255,0.5), rgba(255,255,255,0) 58%),
    linear-gradient(180deg, rgba(143,233,214,0.64), rgba(64,196,176,0.52));
  -webkit-backdrop-filter: blur(14px) saturate(195%) brightness(1.08); backdrop-filter: blur(14px) saturate(195%) brightness(1.08);
  border: 1px solid rgba(205,255,245,0.65);
  box-shadow: 0 12px 30px -12px rgba(1,61,59,0.55), inset 0 1px 0 rgba(255,255,255,0.9), inset 0 -3px 6px rgba(255,255,255,0.35), inset 0 0 0 1px rgba(255,255,255,0.18); }
.btn-onbrand:hover { transform: scale(1.03);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.62) 0%, rgba(255,255,255,0) 46%),
    radial-gradient(120% 85% at 26% -18%, rgba(255,255,255,0.56), rgba(255,255,255,0) 58%),
    linear-gradient(180deg, rgba(158,240,222,0.72), rgba(74,206,186,0.58));
  box-shadow: 0 16px 36px -12px rgba(1,61,59,0.6), inset 0 1px 0 rgba(255,255,255,0.98), inset 0 -3px 7px rgba(255,255,255,0.42), inset 0 0 0 1px rgba(255,255,255,0.26); }

/* contorno claro (Ver ementa) — vidro transparente sobre a foto */
.btn-outline-light { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.42);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.05) 46%),
    radial-gradient(120% 85% at 26% -18%, rgba(255,255,255,0.28), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05));
  -webkit-backdrop-filter: blur(14px) saturate(160%) brightness(1.05); backdrop-filter: blur(14px) saturate(160%) brightness(1.05);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 10px 28px -14px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.5), inset 0 0 0 1px rgba(255,255,255,0.1); }
.btn-outline-light:hover { transform: scale(1.03); border-color: rgba(255,255,255,0.85);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.34) 0%, rgba(255,255,255,0.08) 46%),
    radial-gradient(120% 85% at 26% -18%, rgba(255,255,255,0.34), rgba(255,255,255,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08)); }

/* azulejo (verde, subtil, para fundo branco) */
.azulejo { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23013d3b' stroke-width='1' stroke-opacity='0.12'%3E%3Cpath d='M40 0 L80 40 L40 80 L0 40 Z'/%3E%3Cpath d='M40 20 L60 40 L40 60 L20 40 Z'/%3E%3Ccircle cx='40' cy='40' r='4'/%3E%3Cpath d='M0 0 L12 12 M80 0 L68 12 M0 80 L12 68 M80 80 L68 68'/%3E%3C/g%3E%3C/svg%3E"); background-size: 80px 80px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- logo ---------- */
.logo { height: 50px; width: auto; display: block; }
@media (max-width: 1023px) { .header .logo { height: 44px; } }
.mobilebar .logo, .footer .logo { height: 54px; }

/* ---------- header (VERDE) ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 40; background: var(--brand); transition: transform 0.45s var(--ease), box-shadow 0.4s, background 0.4s; will-change: transform; }
.header.scrolled { box-shadow: 0 8px 30px -12px rgba(0,0,0,0.35); }
.header.hide { transform: translateY(-100%); }
.header .bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.header, .header a { color: #fff; }

.nav { display: none; align-items: center; gap: 30px; }
.nav a { font-size: 0.9rem; color: rgba(255,255,255,0.85); transition: color 0.3s; }
.nav a:hover { color: var(--mint); }
.header-actions { display: none; align-items: center; gap: 14px; }
@media (min-width: 1024px) { .nav, .header-actions { display: flex; } .burger { display: none !important; } }
.burger { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); color: #fff; background: none; cursor: pointer; }

/* badge aberto — SÓ TEXTO (a luz pulsante foi removida: piscava/falhava no iOS) */
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; }
.badge .lbl { font-weight: 600; }
.badge.open .lbl { color: var(--mint); }
.badge.closed .lbl { color: rgba(255,255,255,0.7); }
/* badge em secções claras */
.on-light .badge.open .lbl { color: #0b5a54; }
.on-light .badge.closed .lbl { color: var(--ink-soft); }
.badge .next { font-size: 0.92em; opacity: 0.82; }
.header-actions .badge .next { display: none; } /* cabeçalho fica compacto */

/* seletor de idioma (no header verde) */
.lang { position: relative; }
.lang > button { display: flex; align-items: center; gap: 6px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); padding: 7px 12px; font-size: 0.85rem; color: #fff; background: none; cursor: pointer; font-family: var(--body); transition: border-color 0.3s, color 0.3s; }
.lang > button:hover { border-color: var(--mint); color: var(--mint); }
.lang .menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 50px rgba(1,61,59,0.18); display: none; z-index: 50; }
.lang .menu.show { display: block; }
.lang .menu button { display: block; width: 100%; text-align: left; padding: 10px 16px; font-size: 0.85rem; color: var(--ink); background: none; border: none; cursor: pointer; font-family: var(--body); transition: background 0.2s; }
.lang .menu button:hover { background: var(--paper-2); }
.lang .menu button.active { color: var(--brand); font-weight: 700; }

/* overlay mobile (VERDE) */
.mobile-menu { position: fixed; inset: 0; z-index: 50; background: var(--brand); display: flex; flex-direction: column; opacity: 0; pointer-events: none; transition: opacity 0.4s; color: #fff; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu .top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; }
.mobile-menu nav { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 24px; }
.mobile-menu nav a { font-family: var(--display); font-size: 2.1rem; color: #fff; transition: color 0.3s; }
.mobile-menu nav a:hover { color: var(--mint); }
.mobile-menu .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,0.15); padding: 22px 24px; }
/* no menu mobile o seletor de idioma está colado ao fundo → abrir a dropdown PARA CIMA */
.mobile-menu .lang .menu { top: auto; bottom: calc(100% + 8px); left: 0; right: auto; }

/* ---------- hero (foto full-bleed) ---------- */
.hero { position: relative; min-height: 66vh; min-height: 66svh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
@media (max-width: 640px) { .hero { min-height: 56vh; min-height: 56svh; } }
.hero .bg { position: absolute; inset: 0; overflow: hidden; }
/* Ken Burns — quem se move é o CONTENTOR, não a <img>.
   Porquê: o Safari do iPhone volta a desenhar uma imagem grande sempre que a ESCALA dela
   muda (fica nítida→borrada→nítida = o "piscar"). Se a escala for aplicada ao contentor,
   a imagem é desenhada UMA vez e a GPU limita-se a esticar essa textura — igual ao Android. */
.hero .bg { transform-origin: 50% 50%; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  will-change: transform; animation: kenburns 30s ease-in-out infinite alternate; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes kenburns {
  0%   { transform: scale3d(1, 1, 1) translate3d(0, 0, 0); }
  100% { transform: scale3d(1.18, 1.18, 1) translate3d(-1.5%, -2%, 0); }
}
/* os dois véus ficam em camada PRÓPRIA (translateZ) — senão o Safari repinta os gradientes
   a cada frame do Ken Burns por cima da foto (era isso que fazia o banner "piscar") */
.hero .scrim { position: absolute; inset: 0; transform: translateZ(0); background: linear-gradient(to top, rgba(4,15,14,0.66) 0%, rgba(4,15,14,0.30) 45%, rgba(4,15,14,0.36) 100%); }
.hero .glow { position: absolute; inset: 0; transform: translateZ(0); background: radial-gradient(90% 70% at 50% 50%, transparent 38%, rgba(4,15,14,0.38) 100%); }
.hero .inner { position: relative; padding: calc(var(--header-h) + 24px) 20px 40px; color: #fff; display: flex; flex-direction: column; align-items: center; }
.hero .kick { font-family: var(--body); font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; font-size: 0.72rem; color: var(--mint); margin-bottom: 22px; }
.hero h1 { max-width: 18ch; margin: 0 auto; font-size: clamp(2.8rem, 8vw, 6.5rem); font-weight: 700; line-height: 1.02; text-wrap: balance; color: #fff; text-shadow: 0 2px 40px rgba(0,0,0,0.4); }
.hero p.lead { margin: 24px auto 0; max-width: 44ch; font-size: 1.2rem; color: rgba(255,255,255,0.88); }
.hero .cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.hero .badge { color: #fff; }
/* entrada do texto do hero — kicker fade + subtítulo palavra a palavra */
.hero .kick { opacity: 0; animation: heroFade 0.7s var(--ease) 0.15s forwards; }
.hero .lead .w { display: inline-block; opacity: 0; transform: translateY(14px); animation: heroWord 0.55s var(--ease) forwards; }
@keyframes heroFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes heroWord { to { opacity: 1; transform: none; } }
/* Nome do restaurante: letras surgem EM FOCO (desfoque→nítido), devagar, e DEPOIS o nome cresce.
   Palavras nunca partem entre linhas (.wd = inline-block sem quebra). */
.hero h1.hero-anim { transform: scale(0.85); transform-origin: center; }
.hero h1 .wd { display: inline-block; white-space: nowrap; }
/* só opacidade + transform (compostos pela GPU) → sem travamentos, mesmo no telemóvel */
/* sem will-change: ~24 letras promovidas a camadas próprias faziam o iOS piscar o hero inteiro */
.hero h1 .ch { display: inline-block; opacity: 0; transform: translateY(0.44em) scale(0.96);
  animation: heroChar 1.05s var(--ease) forwards; }
.hero h1.grow { animation: heroGrow 2.3s var(--ease) forwards; transform-origin: center; }
@keyframes heroChar { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes heroGrow { from { transform: scale(0.85); } to { transform: scale(1); } }

/* ---------- LAMP (efeito Aceternity, CSS puro, cor menta) ---------- */
/* --lamp-w = largura do texto mais largo (medida por JS). Linha fina por BAIXO do nome; a luz sobe da linha e cobre o texto */
.lamp { position: relative; width: 100%; display: flex; justify-content: center; margin-top: -14px; pointer-events: none; --lamp-w: 60vw; }
/* nome sempre por CIMA da luz e bem nítido */
.hero h1 { position: relative; z-index: 3; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.4), 0 2px 34px rgba(0,0,0,.35); }
/* linha bem fina, colada ao texto */
.lamp-line { position: relative; z-index: 2; width: var(--lamp-w); max-width: 92vw; height: 1px; border-radius: 1px; background: var(--mint);
  box-shadow: 0 0 8px 0 rgba(143,233,214,.9), 0 0 22px 2px rgba(143,233,214,.5);
  transform: scaleX(0); opacity: 0; }                       /* escondida até o nome acabar de crescer */
/* acende SÓ depois do nome (classe .is-lit posta por JS) — traça fina, lenta, a partir do centro */
.lamp.is-lit .lamp-line { animation: lampLine 1.6s var(--ease) forwards; }
@keyframes lampLine { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@media (max-width: 640px) { .lamp { margin-top: 2px; } }

/* ---------- story ---------- */
.story { position: relative; overflow: hidden; background: var(--paper); }
.story .grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .story .grid { grid-template-columns: 1fr 1fr; } }
.story .photo { position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; box-shadow: 0 16px 30px -20px rgba(1,61,59,0.6); }
.story .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* ---------- Anel de luz a circular na foto (Aceternity GlowingEffect → CSS puro) ---------- */
/* ---------- Anel de luz a circular (Aceternity GlowingEffect → CSS puro) ----------
   ⚠️ Reescrito para o iPhone. A versão antiga animava o ÂNGULO de um conic-gradient
   através de uma custom property registada (`@property`):
     • `@property` só existe no Safari 16.4+ → em iPhones mais antigos a regra era
       inválida e o anel NÃO APARECIA DE TODO;
     • mesmo nos novos, mudar o ângulo obriga o Safari a REDESENHAR o gradiente a cada
       frame (não é acelerado) — 7 anéis ao mesmo tempo = engasgo e cintilação.
   Agora: o gradiente é FIXO e o que roda é uma camada (`transform: rotate`), que a GPU
   faz sozinha. Mesmo efeito, funciona em qualquer iPhone e não pesa nada. */
.glow-card { position: relative; border-radius: 26px; }
.glow-ring {
  pointer-events: none; position: absolute; inset: -2px; border-radius: 28px; padding: 2px; z-index: 2;
  overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask-composite: exclude;
}
.glow-ring::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 230%; height: 230%;
  transform: translate(-50%, -50%) rotate(0deg);
  background: conic-gradient(
    transparent 0deg, rgba(143,233,214,0) 34deg,
    #8fe9d6 72deg, #eafff9 96deg, #8fe9d6 120deg,
    rgba(143,233,214,0) 160deg, transparent 360deg);
  animation: ringspin 4.6s linear infinite;
}
@keyframes ringspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
/* o halo (drop-shadow) só onde há rato: filtrar por cima de algo que roda obriga a
   redesenhar a área a cada frame — no telemóvel o anel fica igual, só sem o brilho difuso */
@media (hover: hover) { .glow-ring { filter: drop-shadow(0 0 9px rgba(143,233,214,0.85)); } }
/* nos cartões (overflow:hidden) o anel fica rente à borda interna */
.card .glow-ring { inset: 0; border-radius: inherit; z-index: 3; }
/* ---------- Prato do polvo: 1º movimento do Aceternity "Hero Parallax" ----------
   A imagem surge "desdobrando-se" de uma inclinação 3D, ligada ao scroll (scrubbed),
   com amortecimento tipo spring feito em JS. Só transform+opacity → composto pela GPU. */
/* Foto do polvo, em 2 fases (sem parallax, sem inclinação, sem ligação ao scroll):
   1) APARECE só com FADE (invisível → nítida, sem se mexer);
   2) DEPOIS um zoom leve e lento (Ken Burns) começa e mantém-se. Usa o observer .reveal→.in. */
.reveal.dish-appear { transform: none; transition: opacity 2.6s ease-in-out; }   /* fade lento e uniforme (ease-in-out não "pisca") */
.reveal.dish-appear .photo img { transform-origin: center; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.reveal.dish-appear.in .photo img { animation: dishZoom 24s ease-in-out 2.6s infinite alternate;
  will-change: transform; }   /* camada estável na GPU → o Safari não volta a desenhar a foto a cada passo */   /* zoom começa só depois do fade */
@keyframes dishZoom { from { transform: scale3d(1,1,1); } to { transform: scale3d(1.07,1.07,1); } }

/* selo "Depuis 2024" — card centrado na faixa branca, entre "O Restaurante" e "Especialidades".
   Espaçamentos equilibrados p/ o selo ficar a meio da faixa (story pad-bottom + signatures pad-top). */
.story { padding-bottom: 40px; }
.signatures { padding-top: 44px; }
@media (max-width: 1023px) { .story { padding-bottom: 28px; } .signatures { padding-top: 32px; } }
.story-seal { display: flex; justify-content: center; margin-top: 88px; }
@media (max-width: 1023px) { .story-seal { margin-top: 56px; } }
.story .chip { display: inline-flex; align-items: center; gap: 16px; padding: 15px 26px 15px 24px; border-radius: 18px;
  background: linear-gradient(148deg, #0b5a54 0%, #013d3b 78%);
  /* sombra concentrada, junto ao card (não espalhada, não cortada) */
  box-shadow: 0 8px 18px -6px rgba(1,61,59,0.40), 0 2px 6px -2px rgba(1,61,59,0.32), inset 0 1px 0 rgba(255,255,255,0.14); }

/* variante de revelação da casa: o card SURGE (fade + desfoque a limpar, leve zoom) — sem movimento lateral */
.reveal-appear { opacity: 0; transform: scale(0.96); filter: blur(7px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.reveal-appear.in { opacity: 1; transform: none; filter: none; }
.story .chip b { font-family: var(--display); font-weight: 700; font-size: 2.3rem; line-height: 0.86; color: var(--mint); letter-spacing: -0.01em; }
.story .chip .chip-div { width: 1px; align-self: stretch; margin: 3px 0;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,0.30), rgba(255,255,255,0)); }
.story .chip .chip-txt { display: flex; flex-direction: column; gap: 5px; }
.story .chip .k { font-family: var(--body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mint); }
.story .chip .l { font-family: var(--body); font-size: 0.74rem; letter-spacing: 0.03em; color: rgba(255,255,255,0.82); white-space: nowrap; }
@media (max-width: 640px) {
  .story .chip { gap: 13px; padding: 13px 20px; }
  .story .chip b { font-size: 1.95rem; }
  .story .chip .l { font-size: 0.68rem; }
}
.story h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 14px; color: var(--ink); }
.story p { margin-top: 20px; font-size: 1.1rem; color: var(--ink-soft); }
.feat { margin-top: 30px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feat li { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.feat .tick { flex: none; width: 24px; height: 24px; border-radius: 999px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; }
.deco-azulejo { position: absolute; width: 260px; height: 260px; opacity: 0.9; pointer-events: none; }

/* ---------- signatures ---------- */
.sign-head { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
@media (min-width: 640px) { .sign-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.sign-head h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 13ch; }
.sign-head p { max-width: 32ch; color: var(--ink-soft); }
.cards { margin-top: 52px; display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 44px -26px rgba(1,61,59,0.4); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -24px rgba(1,61,59,0.5); }
.card .ph { position: relative; aspect-ratio: 4/5; overflow: hidden; }
/* posicionada em absoluto (não `height:100%` sobre aspect-ratio) — no Safari essa combinação
   resolve para altura automática e a foto do cartão encolhia/desalinhava */
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .ph img { transform: scale(1.06); }
.card .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,15,14,0.9), rgba(4,15,14,0.1) 55%, transparent); }
.card .meta { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; align-items: flex-start; padding: 26px; color: #fff; }
.card .kind { font-family: var(--body); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mint); margin-bottom: 10px; }
.card .meta h3 { font-size: 1.55rem; font-weight: 700; color: #fff; line-height: 1.08; }
.card .desc { margin-top: 6px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); }
.card .go { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(-6px); transition: all 0.4s var(--ease); }
.card:hover .go { opacity: 1; transform: none; }

/* ---------- gallery ---------- */
.gal-head { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 640px) { .gal-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.gal-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.gal-head p { color: var(--ink-soft); }
.masonry { margin-top: 44px; columns: 2; column-gap: 16px; }
@media (min-width: 768px) { .masonry { columns: 3; } }
.masonry button { position: relative; display: block; width: 100%; margin: 0 0 16px; border: none; border-radius: 16px; overflow: hidden; cursor: zoom-in; break-inside: avoid; padding: 0; box-shadow: 0 14px 30px -20px rgba(1,61,59,0.5); transition: transform 0.5s var(--ease), filter 0.5s var(--ease), box-shadow 0.5s var(--ease), opacity 0.5s var(--ease); }
.masonry img { width: 100%; display: block; transition: transform 0.7s var(--ease); }
.masonry button:hover img { transform: scale(1.06); }
.masonry button::after { content: ""; position: absolute; inset: 0; background: rgba(1,61,59,0); transition: background 0.3s; }
.masonry button:hover::after { background: rgba(1,61,59,0.14); }
/* Pixel Image (Magic UI): a foto monta-se a partir de blocos, com atrasos aleatórios */
.px-wrap { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.px-tile { position: absolute; opacity: 0; transform: scale(1.1); background-repeat: no-repeat; will-change: opacity, transform; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.px-wrap.go .px-tile { opacity: 1; transform: none; }

/* Focus Cards (efeito Aceternity): ao focar uma foto, as outras desfocam e escurecem */
@media (hover: hover) {
  .masonry:hover button { filter: blur(2px) brightness(0.68) saturate(0.9); transform: scale(0.986); }
  .masonry:hover button:hover { filter: none; transform: scale(1.02); z-index: 3; box-shadow: 0 30px 56px -24px rgba(1,61,59,0.6); }
}
.zoom-ico { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 999px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(8px); transition: all 0.3s; }
.masonry button:hover .zoom-ico { opacity: 1; transform: none; }

/* ---------- Marquee 3D contínuo (galeria) ----------
   Duas filas sobre plano inclinado 3D. Auto-scroll quando parado; o utilizador
   pode ARRASTAR com o dedo/rato (JS controla translateX). Full-bleed, com fade
   nas bordas. Leve (só transform). */
/* ⚠️ iOS: máscara (mask-image) + perspective/preserve-3d + transform por frame = o Safari
   desiste da GPU → carrossel parado, miniaturas desalinhadas e a página a piscar.
   Por isso: fade das bordas por gradiente (não máscara) e filas PLANAS (sem 3D). */
.marquee { position: relative; margin-top: 24px; overflow: hidden; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
/* A inclinação leva a perspetiva DENTRO da própria transformação (`perspective()`), em vez
   de a herdar do contentor. Duas razões:
   1) a fila mede ~2500px dentro de um ecrã de 375px — com uma perspetiva partilhada, as fotos
      longe do centro apanhavam uma distorção enorme (era isto que as deixava "tortas");
   2) o Safari desiste da GPU quando tem de reprojetar 22 elementos em 3D a cada frame. */
.mq-3d { transform: perspective(1400px) rotateX(6deg); padding: 10px 0 30px; }
.mq-row { display: flex; width: max-content; will-change: transform;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.mq-row.grabbing { cursor: grabbing; }
.mq-row + .mq-row { margin-top: 12px; }

.mq-item { flex: 0 0 auto; width: clamp(190px, 25vw, 340px); margin-right: 18px; }
.mq-b .mq-item { width: clamp(160px, 21vw, 290px); }   /* 2ª fila mais pequena → sensação de profundidade */
/* profundidade: exatamente o mesmo tamanho que o translateZ(±) dava sob perspetiva 1400
   (1400/(1400-24)=1,017 à frente · 1400/1420=0,986 atrás), mas em 2D — sem cadeia 3D */
.mq-a .mq-item { transform: scale(1.017); }
.mq-b .mq-item { transform: scale(0.986); }
.mq-item button { position: relative; display: block; width: 100%; margin: 0; padding: 0; border: none;
  border-radius: 16px; overflow: hidden; cursor: inherit; background: var(--paper-2);
  /* sombra contida em 2 camadas (contacto + ambiente) — sem espalhar nem cortar */
  box-shadow: 0 3px 7px -3px rgba(1,61,59,0.30), 0 12px 20px -10px rgba(1,61,59,0.42);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
/* height:auto — com height:100% o Safari entra em conflito com o aspect-ratio e as
   miniaturas ficam com alturas diferentes (era isto que desalinhava as filas no iPhone). */
.mq-item img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 0.7s var(--ease); -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.mq-item button::after { content: ""; position: absolute; inset: 0; background: rgba(1,61,59,0); transition: background 0.3s; }
@media (hover: hover) {
  .mq-item button:hover { transform: translateY(-6px) scale(1.02); z-index: 2;
    box-shadow: 0 6px 12px -4px rgba(1,61,59,0.34), 0 20px 30px -14px rgba(1,61,59,0.48); }
  .mq-item button:hover img { transform: scale(1.06); }
  .mq-item button:hover::after { background: rgba(1,61,59,0.10); }
  .mq-item button:hover .zoom-ico { opacity: 1; transform: none; }
}

/* menos espaço em branco à volta da galeria */
#galerie { padding-bottom: 48px; }
@media (max-width: 1023px) { #galerie { padding-bottom: 28px; } }

/* ---------- lightbox (escuro por cima) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(4,15,14,0.94); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; }
.lightbox.open { display: flex; }
.lightbox .lb-top { position: absolute; inset: 0 0 auto 0; display: flex; align-items: center; justify-content: space-between; padding: 20px; color: rgba(255,255,255,0.85); }
.lightbox .count { font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.lb-btn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: rgba(4,15,14,0.5); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: border-color 0.3s, color 0.3s; }
.lb-btn:hover { border-color: var(--mint); color: var(--mint); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; display: none; }
@media (min-width: 640px) { .lb-nav { display: flex; } }
.lb-nav.prev { left: 12px; } .lb-nav.next { right: 12px; }
.lightbox .stage { padding: 16px; max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
@media (min-width: 640px) { .lightbox .stage { padding: 48px; } }
.lightbox .stage img { max-width: 100%; max-height: 88vh; width: auto; border-radius: 12px; object-fit: contain; box-shadow: 0 30px 60px rgba(0,0,0,0.6); transition: transform 0.5s var(--ease); cursor: zoom-in; }
.lightbox .stage img.zoomed { transform: scale(1.8); cursor: zoom-out; }

/* ---------- avis / avaliações Google (carrossel premium) ---------- */
.reviews { position: relative; overflow: hidden; }
.rev-head { display: flex; flex-direction: column; gap: 20px; }
@media (min-width: 720px) { .rev-head { flex-direction: row; align-items: flex-end; justify-content: space-between; } }
.rev-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
/* cartão da nota Google */
.rev-score { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); box-shadow: 0 16px 34px -24px rgba(1,61,59,.45); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; text-decoration: none; }
.rev-score:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 22px 44px -22px rgba(1,61,59,.55); }
.rev-score .g-logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--paper-2); }
.rev-score-txt { display: flex; flex-direction: column; line-height: 1.15; }
.rev-score-txt .num { font-family: var(--head, var(--body)); font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.rev-score-txt small { color: var(--ink-soft); font-size: .82rem; margin-top: 2px; }
.rev-score-txt small b { color: var(--ink); }
.stars { --p: 100%; display: inline-block; width: 92px; height: 16px; margin: 2px 0; background: linear-gradient(90deg, #f5b301 var(--p), #d9dedb var(--p)); -webkit-mask: repeat-x left center/18.4px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.4' height='16' viewBox='0 0 20 19'%3E%3Cpath d='M10 0l2.6 6.3 6.8.5-5.2 4.4 1.7 6.6L10 14.7 4.3 18.3l1.7-6.6L.8 6.8l6.8-.5z'/%3E%3C/svg%3E"); mask: repeat-x left center/18.4px 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18.4' height='16' viewBox='0 0 20 19'%3E%3Cpath d='M10 0l2.6 6.3 6.8.5-5.2 4.4 1.7 6.6L10 14.7 4.3 18.3l1.7-6.6L.8 6.8l6.8-.5z'/%3E%3C/svg%3E"); }
/* marquee */
/* fade das bordas por gradiente (a máscara sobre uma faixa animada cintila no iOS) */
.rev-marquee { position: relative; margin-top: 44px; overflow: hidden; }
.rev-marquee::before, .rev-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 7%; z-index: 2; pointer-events: none; }
.rev-marquee::before { left: 0; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); }
.rev-marquee::after { right: 0; background: linear-gradient(270deg, #fff, rgba(255,255,255,0)); }
.rev-track { display: flex; gap: 20px; width: max-content; animation: revScroll 46s linear infinite; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
@keyframes revScroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
/* cartão */
.rev-card { flex: 0 0 340px; max-width: 88vw; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 44px -30px rgba(1,61,59,.5); }
.rev-card .top { display: flex; align-items: center; gap: 12px; }
.rev-card .av { flex: none; width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--brand); font-size: 1.05rem; }
.rev-card .who { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.rev-card .who b { color: var(--ink); font-size: .96rem; }
.rev-card .who small { color: var(--ink-soft); font-size: .78rem; }
.rev-card .who small .verif { color: var(--brand); font-weight: 600; }
.rev-card .g { margin-left: auto; flex: none; opacity: .9; }
.rev-card .stars { width: 92px; }
.rev-card p { color: var(--ink); font-size: .95rem; line-height: 1.7; margin: 0; }
.rev-card p::before { content: "“"; color: var(--brand); font-weight: 700; margin-right: 2px; }

/* ---------- reserve ---------- */
.reserve { position: relative; overflow: hidden; background: var(--paper-2); }
.reserve .grid { display: grid; gap: 52px; align-items: start; }
@media (min-width: 1024px) { .reserve .grid { grid-template-columns: 1fr 1.1fr; } }
.reserve h2 { font-size: clamp(2rem, 5vw, 3.5rem); color: var(--ink); }
.reserve .note { margin-top: 22px; max-width: 40ch; color: var(--ink-soft); }
.reserve .callcard { margin-top: 30px; border: 1px solid var(--line); background: var(--brand); color: #fff; border-radius: 18px; padding: 24px; }
.reserve .callcard small { color: rgba(255,255,255,0.75); font-size: 0.85rem; }
.reserve .callcard a.big { display: block; font-family: var(--display); font-size: 1.9rem; font-weight: 700; color: var(--mint); margin-top: 4px; }
.reserve .callcard p { color: rgba(255,255,255,0.8); }
.form { border: 1px solid var(--line); background: #fff; border-radius: 24px; padding: 24px; box-shadow: 0 30px 60px -40px rgba(1,61,59,0.4); }
@media (min-width: 640px) { .form { padding: 32px; } }
.form .row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } .form .row .full { grid-column: 1 / -1; } }
.form label { display: block; margin-bottom: 6px; font-size: 0.85rem; color: var(--ink-soft); }
.form input, .form select, .form textarea { width: 100%; border: 1px solid var(--line); background: var(--paper-2); border-radius: 12px; padding: 12px 16px; color: var(--ink); font-family: var(--body); font-size: 0.95rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(1,61,59,0.1); }
.consent { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: var(--ink-soft); }
.consent input { width: 16px; height: 16px; flex: none; margin-top: 4px; accent-color: var(--brand); }
.wip { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--brand); border: 1px dashed var(--line); border-radius: 999px; padding: 6px 14px; }

/* ===== efeitos 3D dos PWAs (clay / glass-3d / field) — adaptados a verde ===== */
@property --clay-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.glass-3d { position: relative; background-color: #f3f5f7;
  background-image: linear-gradient(176deg, rgba(255,255,255,.85) 0%, rgba(255,255,255,0) 40%, rgba(110,118,134,.16) 100%), url("../tex/frosted-glass.svg");
  background-size: 100% 100%, 280px 280px; background-repeat: no-repeat, repeat; border: none;
  box-shadow: 0 2px 2px rgba(28,25,23,.10), 0 16px 28px -8px rgba(28,25,23,.28), 0 38px 60px -16px rgba(28,25,23,.32), inset 0 3px 3px rgba(255,255,255,1), inset 0 11px 20px -6px rgba(255,255,255,.92), inset 0 -20px 30px -8px rgba(104,112,130,.42), inset 0 -3px 3px rgba(104,112,130,.28); }
/* Botões 3D — SEM sombras internas: contorno verde escuro + sombra exterior concentrada + relevo (aresta verde) */
.clay-sm { background: #fff; border: 1.6px solid var(--brand); color: var(--brand);
  box-shadow: 0 3px 0 0 rgba(1,61,59,.9), 0 5px 11px -4px rgba(1,61,59,.32), 0 2px 5px -1px rgba(1,61,59,.24);
  transition: transform .13s var(--ease), box-shadow .13s var(--ease); }
.clay-sm:hover:not(:disabled) { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 5px 0 0 rgba(1,61,59,.95), 0 10px 18px -5px rgba(1,61,59,.4), 0 3px 7px -2px rgba(1,61,59,.28); }
.clay-sm:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 0 rgba(1,61,59,.9), 0 2px 6px -2px rgba(1,61,59,.3); }
.clay { background: #fff; border: 1.6px solid var(--brand); color: var(--ink);
  box-shadow: 0 3px 0 0 rgba(1,61,59,.85), 0 6px 14px -5px rgba(1,61,59,.28), 0 2px 6px -2px rgba(1,61,59,.2);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease); }
.clay:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 5px 0 0 rgba(1,61,59,.9), 0 12px 22px -6px rgba(1,61,59,.34), 0 3px 8px -3px rgba(1,61,59,.24); }
.clay:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 0 rgba(1,61,59,.85), 0 3px 8px -3px rgba(1,61,59,.26); }
/* pop VERDE (selecionado/confirmar) — preenchido, contorno mais escuro, sombra exterior concentrada */
.clay-pop { color: #fff; background: var(--brand); border: 1.6px solid #01312e;
  box-shadow: 0 3px 0 0 #01312e, 0 7px 15px -4px rgba(1,61,59,.5), 0 2px 7px -1px rgba(1,61,59,.4);
  transition: transform .13s var(--ease), box-shadow .13s var(--ease); }
.clay-pop:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 5px 0 0 #01312e, 0 12px 22px -5px rgba(1,61,59,.55), 0 3px 9px -2px rgba(1,61,59,.42); }
.clay-pop:active:not(:disabled) { transform: translateY(2px); box-shadow: 0 1px 0 0 #01312e, 0 2px 7px -2px rgba(1,61,59,.45); }
/* anel de luz (menta) a girar — no dia selecionado e no campo focado */
.clay-glow { position: relative; z-index: 0; }
.clay-glow::after, .field::after { content:""; position:absolute; inset:-1.5px; border-radius:inherit; padding:2px;
  /* 1ª declaração = anel FIXO, válido em qualquer Safari (rede de segurança);
     2ª = o mesmo anel a girar, só entra se o browser souber registar a propriedade (iOS 16.4+).
     Sem esta rede, num iPhone antigo a regra era inválida e o anel não aparecia. */
  background: conic-gradient(from 220deg, transparent 0%, transparent 46%, var(--mint) 62%, #ffffff 78%, var(--mint) 88%, transparent 98%);
  background: conic-gradient(from var(--clay-angle), transparent 0%, transparent 46%, var(--mint) 62%, #ffffff 78%, var(--mint) 88%, transparent 98%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.clay-glow::after { opacity:.9; animation: clay-glow-spin 4s linear infinite; }
@keyframes clay-glow-spin { to { --clay-angle: 360deg; } }
/* campo de texto: 3D leve; ao focar fica VERDE ESCURO + letras brancas + anel de luz */
.field { position: relative; display: flex; align-items: center; gap: 8px; color: var(--ink); border-radius: 14px; padding: 13px 16px;
  background-image: linear-gradient(176deg, #ffffff 0%, #eef1f4 55%, #dce1e8 100%);
  box-shadow: 0 1px 1px rgba(28,25,23,.08), 0 6px 12px -5px rgba(28,25,23,.22), inset 0 2px 2px rgba(255,255,255,1), inset 0 -6px 9px -3px rgba(104,112,130,.32);
  transition: background .22s ease, box-shadow .22s ease, color .22s ease; }
.field > input, .field > textarea, .field > select { width:100%; min-width:0; background:transparent; border:none; outline:none; color:inherit; font-family: var(--body); font-size: 1rem; font-weight: 600; caret-color: var(--mint); resize: vertical; }
.field > textarea { padding: 2px 0; }
.field > input::placeholder, .field > textarea::placeholder { color:#9aa0a8; font-weight: 500; }
.field::after { opacity:0; transition: opacity .25s ease; }
.field:focus-within { color:#fff; background-color: var(--brand);
  background-image: linear-gradient(176deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 42%, rgba(0,0,0,.34) 100%), linear-gradient(var(--brand), var(--brand));
  box-shadow: 0 3px 7px -2px rgba(1,61,59,.45), 0 1px 3px rgba(1,61,59,.32), inset 0 2px 3px rgba(255,255,255,.18), inset 0 -10px 16px -5px rgba(0,0,0,.40); }
.field:focus-within > input, .field:focus-within > textarea, .field:focus-within > select { color:#fff; caret-color:#fff; }
.field:focus-within > input::placeholder, .field:focus-within > textarea::placeholder { color: rgba(255,255,255,.6); }
.field:focus-within::after { opacity:.95; animation: clay-glow-spin 4s linear infinite; }

/* ---------- widget de reservas (tempo real, efeitos PWA) ---------- */
.wip.live { color: var(--brand); border-style: solid; border-color: rgba(1,61,59,.25); }
.wip.live::first-letter { color: #12a58f; }
.resv { width: 100%; }
.rv-card { position: relative; border-radius: 26px; padding: 22px; min-height: 340px; border: 1px solid rgba(1,61,59,.20); box-shadow: 0 12px 26px -14px rgba(1,61,59,.34), 0 4px 10px -6px rgba(1,61,59,.24);
  background-color: #ffffff; background-image: linear-gradient(176deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,0) 60%, rgba(110,118,134,.025) 100%), url("../tex/frosted-glass.svg"); background-size: 100% 100%, 320px 320px; background-repeat: no-repeat, repeat; }
@media (min-width: 640px) { .rv-card { padding: 28px; } }
.rv-steps { display: flex; gap: 8px; margin-bottom: 22px; }
.rv-dot { flex: 1; height: 5px; border-radius: 999px; background: rgba(104,112,130,.22); box-shadow: inset 0 1px 2px rgba(104,112,130,.35); transition: background .35s var(--ease); }
.rv-dot.on { background: var(--brand); box-shadow: 0 1px 4px rgba(1,61,59,.5); }
.rv-h { font-family: var(--display); font-size: 1.55rem; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.rv-hint, .rv-none { color: var(--ink-soft); font-size: 0.88rem; margin-top: 14px; }
.rv-loading { color: var(--ink-soft); font-size: 0.9rem; padding: 10px 0; }
/* nº pessoas */
.rv-party { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (min-width: 480px) { .rv-party { grid-template-columns: repeat(6, 1fr); } }
.rv-num { aspect-ratio: 1; border-radius: 16px; font-family: var(--body); font-weight: 800; font-size: 1.15rem; cursor: pointer; }
.rv-num.on { }
/* CALENDÁRIO (igual ao PWA) */
.rv-cal { padding: 2px; }
.rv-cal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.rv-cal-top .m { font-family: var(--display); font-weight: 700; font-size: 1.38rem; color: var(--ink); text-transform: capitalize; }
.rv-nav-btn { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; font-size: 1.4rem; cursor: pointer; }
.rv-nav-btn:disabled { opacity: .32; cursor: not-allowed; }
.rv-wk { display: grid; grid-template-columns: repeat(7,1fr); text-align: center; font-size: 0.78rem; font-weight: 800; letter-spacing: .02em; color: var(--brand); margin-bottom: 12px; }
.rv-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 7px; }
.rv-day { aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; font-weight: 800; font-size: 1.28rem; color: var(--ink); cursor: pointer; background: transparent; border: 1.5px solid transparent; transition: background .18s var(--ease), border-color .18s var(--ease); }
.rv-day:not(.dis):not(.sel):hover { background: rgba(1,61,59,.07); border-color: rgba(1,61,59,.35); }
.rv-day.dis { color: rgba(104,112,130,.3); cursor: not-allowed; }
.rv-day.today { border-color: var(--brand); color: var(--brand); }
.rv-day.sel { }
/* horas */
.rv-svc { margin-top: 8px; }
.rv-svc + .rv-svc { margin-top: 20px; }
.rv-svc-h { font-family: var(--body); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 0.7rem; color: var(--brand); margin-bottom: 12px; }
.rv-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px,1fr)); gap: 10px; }
.rv-slot { padding: 13px 6px; border-radius: 14px; font-family: var(--body); font-weight: 800; font-size: 0.98rem; cursor: pointer; }
/* detalhes */
.rv-summary, .rv-recap { display: inline-block; border-radius: 12px; padding: 11px 18px; font-size: 0.95rem; font-weight: 600; color: var(--ink); margin-bottom: 20px; }
.rv-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rv-lab { display: flex; flex-direction: column; gap: 7px; font-size: 0.8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.rv-full { grid-column: 1 / -1; }
.rv-consent { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--ink-soft); grid-column: 1/-1; }
.rv-consent input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--brand); }
.rv-err { grid-column: 1 / -1; color: #c0392b; font-size: 0.85rem; font-weight: 600; min-height: 1em; }
/* navegação */
.rv-nav { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.rv-back { background: none; border: none; color: var(--ink-soft); font-family: var(--body); font-weight: 700; font-size: 0.92rem; cursor: pointer; padding: 8px 4px; transition: color .3s; }
.rv-back:hover { color: var(--brand); }
.rv-submit { margin-left: auto; border-radius: 999px; padding: 15px 30px; font-family: var(--body); font-weight: 800; font-size: 1rem; cursor: pointer; }
/* sucesso */
.rv-ok { text-align: center; }
.rv-check { width: 68px; height: 68px; margin: 6px auto 16px; border-radius: 999px; color: #fff; display: grid; place-items: center; animation: rvPop .5s var(--ease) both; }
.rv-check svg { width: 32px; height: 32px; }
@keyframes rvPop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.rv-oksub { color: var(--ink-soft); margin-bottom: 18px; }
.rv-ref { margin-top: 12px; color: var(--ink-soft); font-size: 0.92rem; }
.rv-okbtns { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* barra "reservar por telefone" — fina, 3D, por baixo do widget */
.callbar { display: flex; align-items: center; gap: 16px; margin-top: 26px; padding: 14px 22px; border-radius: 18px; text-decoration: none; color: var(--ink); }
.callbar .ic { flex: none; width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; color: #fff; background: var(--brand); box-shadow: inset 0 2px 2px rgba(255,255,255,.3), inset 0 -3px 5px rgba(0,0,0,.3); }
.callbar .ic svg { width: 19px; height: 19px; }
.callbar .cb-txt { display: flex; flex-direction: column; line-height: 1.25; }
.callbar .cb-txt small { font-size: 0.72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.callbar .cb-txt b { font-family: var(--display); font-size: 1.25rem; color: var(--ink); }
.callbar .cb-go { margin-left: auto; color: var(--ink-soft); transition: transform .3s var(--ease), color .3s; }
.callbar:hover .cb-go { transform: translateX(4px); color: var(--brand); }

/* ---------- contact + map ---------- */
.contact { background: var(--paper); }
.contact .grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .contact .grid { grid-template-columns: 1fr 1fr; } }
/* bloco de contacto premium — linhas com ícone */
.info { display: flex; flex-direction: column; gap: 14px; }
.cbox { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); color: var(--ink); text-decoration: none; transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s, background 0.35s; }
a.cbox:hover { transform: translateY(-2px); border-color: var(--brand); box-shadow: 0 20px 44px -28px rgba(1,61,59,0.5); }
.cbox-ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); color: var(--brand); transition: background 0.35s, color 0.35s; }
.cbox-ic svg { width: 21px; height: 21px; }
a.cbox:hover .cbox-ic { background: var(--brand); color: #fff; }
.cbox-body { display: flex; flex-direction: column; min-width: 0; }
.cbox-lbl { font-family: var(--body); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.66rem; color: var(--brand); }
.cbox-val { margin-top: 7px; line-height: 1.6; color: var(--ink); font-size: 0.98rem; word-break: break-word; }
.cbox-val a { color: var(--ink); transition: color 0.3s; }
.cbox-val a:hover { color: var(--brand); }
.cbox-badge { margin-top: 12px; }
.cbox-go { flex: none; margin-left: auto; color: var(--brand); opacity: 0; transform: translate(-4px, 4px); transition: opacity 0.35s, transform 0.35s; }
.cbox-go svg { width: 18px; height: 18px; }
a.cbox:hover .cbox-go { opacity: 1; transform: none; }
/* redes sociais — botões redondos (nunca transbordam) */
.socials { display: flex; gap: 12px; margin-top: 6px; }
.socials a { flex: none; width: 50px; height: 50px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.socials a:hover { transform: translateY(-3px); background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: 0 16px 32px -16px rgba(1,61,59,0.6); }

.map-frame { height: 100%; min-height: 380px; border-radius: 26px; padding: 2px; background: var(--brand); box-shadow: 0 26px 50px -28px rgba(1,61,59,0.5); }
.map-inner { position: relative; height: 100%; min-height: 376px; border-radius: 24px; overflow: hidden; background: var(--paper-2); }
#map3d { position: absolute; inset: 0; }
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; background: var(--paper-2); }
.map-fallback .pin { width: 56px; height: 56px; border-radius: 999px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(1,61,59,0.12); }
.map-fallback .lbl2 { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.map-ctl { position: absolute; z-index: 5; }
.glass { background: rgba(255,255,255,0.92); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 4px 14px -4px rgba(1,61,59,0.3); color: var(--ink); }
.map-chip { left: 12px; top: 12px; max-width: 62%; display: flex; align-items: center; gap: 6px; border-radius: 999px; padding: 7px 12px; font-size: 0.75rem; font-weight: 600; }
.map-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.map-toggles { right: 12px; top: 12px; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.seg { display: flex; border-radius: 999px; padding: 2px; }
.seg button { border: none; background: none; border-radius: 999px; padding: 5px 12px; font-size: 0.72rem; font-weight: 700; color: var(--ink-soft); cursor: pointer; font-family: var(--body); transition: background 0.2s, color 0.2s; }
.seg button.on { background: var(--brand); color: #fff; }
.map-zoom { left: 12px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; border-radius: 999px; overflow: hidden; }
.map-zoom button { width: 36px; height: 36px; border: none; background: none; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.map-zoom button:hover { background: var(--paper-2); }
.map-zoom .div { height: 1px; width: 20px; margin: 0 auto; background: var(--line); }
/* link "seguir para o restaurante" (abre o GPS) — só link + seta, sem botão */
.map-go { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 6; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-family: var(--body); font-weight: 700; font-size: 0.92rem; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 2px 14px rgba(0,0,0,0.6); transition: gap 0.3s var(--ease), color 0.3s; }
.map-go .arr { transition: transform 0.3s var(--ease); filter: drop-shadow(0 1px 3px rgba(0,0,0,0.6)); }
.map-go:hover { color: var(--mint); gap: 12px; }
.map-go:hover .arr { transform: translateX(3px); }

/* ---------- footer (VERDE) ---------- */
.footer { background: var(--brand); color: #fff; padding: 64px 0 100px; }
@media (min-width: 1024px) { .footer { padding-bottom: 60px; } }
.footer a { color: rgba(255,255,255,0.8); transition: color 0.3s; }
/* marca centrada (logo alinhada ao centro) */
.footer .foot-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer .foot-brand .logo { height: 60px; }
.footer .tag { margin-top: 14px; color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer .ico { display: flex; gap: 12px; margin-top: 20px; justify-content: center; }
.footer .ico a { width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); display: grid; place-items: center; color: #fff; transition: border-color 0.3s, color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.footer .ico a:hover { border-color: var(--mint); color: var(--mint); background: rgba(255,255,255,0.08); transform: translateY(-3px); }
/* duas colunas bem divididas e enquadradas */
.footer .foot-cols { margin-top: 44px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 40px; }
.footer .foot-contact a { word-break: break-word; }
@media (min-width: 640px) { .footer .foot-cols { gap: 48px; } }
.footer .foot-col + .foot-col { padding-left: 28px; border-left: 1px solid rgba(255,255,255,0.15); }
@media (min-width: 640px) { .footer .foot-col + .foot-col { padding-left: 48px; } }
.footer .foot-col h4 { font-family: var(--body); font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.7rem; color: var(--mint); margin-bottom: 18px; }
.footer .links { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; }
.footer .links a:hover { color: var(--mint); }
.footer .foot-contact { display: flex; flex-direction: column; gap: 12px; font-size: 0.92rem; color: rgba(255,255,255,0.78); line-height: 1.6; }
.footer .foot-contact a { color: rgba(255,255,255,0.85); }
.footer .foot-contact a:hover { color: var(--mint); }
.footer .foot-contact .hrs { color: rgba(255,255,255,0.62); font-size: 0.85rem; line-height: 1.9; }
/* faixa de horários — poucas linhas, centrada e alinhada, no fundo */
.footer .foot-hours { max-width: var(--max); margin: 40px auto 0; padding: 24px 20px 0; border-top: 1px solid rgba(255,255,255,0.15); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; text-align: center; font-size: 0.84rem; color: rgba(255,255,255,0.74); }
.footer .foot-hours .fh-lbl { width: 100%; margin-bottom: 6px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.66rem; color: var(--mint); }
.footer .foot-hours .fh-sep { color: rgba(255,255,255,0.28); }
.footer .foot-hours .fh-svc { color: rgba(255,255,255,0.92); font-weight: 700; }
@media (min-width: 1024px) { .footer .foot-hours { padding-left: 32px; padding-right: 32px; } }
.footer .copy { max-width: var(--max); margin: 20px auto 0; padding: 14px 20px 0; font-size: 0.78rem; color: rgba(255,255,255,0.55); text-align: center; }
@media (min-width: 1024px) { .footer .copy { padding-left: 32px; padding-right: 32px; } }

/* ---------- barra mobile (aparece ao rolar, com deslize) ---------- */
.mobilebar { position: fixed; inset: auto 0 0 0; z-index: 30; border-top: 1px solid var(--line); background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); display: flex; box-shadow: 0 -8px 24px -16px rgba(1,61,59,0.4); transform: translateY(110%); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s var(--ease); will-change: transform; }
.mobilebar.show { transform: translateY(0); opacity: 1; }
@media (min-width: 1024px) { .mobilebar { display: none; } }
.mobilebar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; font-size: 0.68rem; font-weight: 600; color: var(--ink); }
.mobilebar a.main { background: var(--brand); color: #fff; }

/* ---------- menu (la-carte) ---------- */
.menu-page { padding-top: 120px; background: var(--paper); }
.menu-page .head h1 { font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 700; margin-top: 14px; color: var(--ink); }
.menu-page .head p { margin-top: 14px; max-width: 40ch; font-size: 1.1rem; color: var(--ink-soft); }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); transition: color 0.3s; }
.back:hover { color: var(--brand); }
.cat { margin-top: 72px; }
.cat:first-of-type { margin-top: 56px; }
.cat .cat-h { display: flex; align-items: baseline; gap: 18px; margin-bottom: 8px; }
.cat .cat-h .idx { font-family: var(--display); font-size: 0.95rem; color: var(--brand); opacity: 0.55; font-weight: 700; }
.cat .cat-h h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.cat .cat-h .rule { height: 1px; flex: 1; background: var(--line); align-self: center; }
/* grelha moderna de pratos — sem pontinhos */
.dishes { margin-top: 26px; list-style: none; display: grid; grid-template-columns: 1fr; gap: 2px 56px; }
@media (min-width: 760px) { .dishes { grid-template-columns: 1fr 1fr; } }
.dish { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.dish .d-main { min-width: 0; }
.dish .nm { font-family: var(--display); font-size: 1.18rem; font-weight: 700; color: var(--ink); display: block; line-height: 1.2; }
.dish .en { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 0.85rem; font-style: italic; }
.dish .note { display: inline-block; margin-top: 4px; color: var(--brand); font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.14em; font-family: var(--body); font-weight: 600; }
.dish .pr { flex: none; font-family: var(--display); font-size: 1.05rem; font-weight: 700; color: var(--brand); white-space: nowrap; }
.allerg { margin-top: 64px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); background: var(--paper-2); border-radius: 16px; padding: 18px 22px; font-size: 0.88rem; color: var(--ink-soft); }

/* ⚠️ AQUI ESTAVA O DEFEITO PRINCIPAL DO iPHONE.
   O bloco antigo punha `animation-duration: 0.001ms !important` em TUDO quando o
   telemóvel tem "Reduzir movimento" ligado (Definições → Acessibilidade → Movimento,
   e também no Poupança de Energia). Numa animação `infinite alternate` isso não a
   pára — faz o ciclo repetir milhares de vezes por segundo = A PISCAR. Era isso o
   banner a piscar, a luz do "aberto" com defeito e os efeitos "sem funcionar" no iOS.
   Decisão: o site deixa de reagir a essa definição do sistema; os efeitos são iguais
   em iPhone e Android. (Para voltar a respeitá-la um dia: `animation: none`, NUNCA
   uma duração quase-zero.) */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Rede para iPhones antigos (iOS 14 e anteriores) que não conhecem `aspect-ratio`:
   sem isto as molduras das fotos ficavam com altura ZERO (cartões invisíveis). */
@supports not (aspect-ratio: 1 / 1) {
  .card .ph, .story .photo { height: 0; padding-top: 125%; }   /* 4:5 */
  .mq-item img { height: auto; }
  .rv-num, .rv-day { min-height: 46px; }
}

/* ============================================================
   TELEMÓVEL / ECRÃ TÁCTIL — dois acertos
   1) o anel de foco dos campos deixa de GIRAR (gradiente cónico + máscara animados
      são repintura contínua no Safari, ainda por cima enquanto se escreve);
      fica um contorno menta fixo — mesma leitura, custo zero.
   2) alvos de toque maiores nos controlos do mapa e nos links do rodapé
      (estavam a 24 px de altura; o mínimo confortável é ~40 px).
   ============================================================ */
@media (hover: none) {
  .seg button { padding: 11px 16px; font-size: 0.74rem; }
  .map-zoom button { width: 44px; height: 44px; }
  .map-go { padding: 10px 16px; bottom: 6px; }
  .footer .links { gap: 4px; }
  .footer .links a { padding: 8px 0; }
  .footer .foot-contact a { display: inline-block; padding: 5px 0; }
}

