/* ==========================================================================
   TERRAL MARESIAS — Site institucional
   Mesma linguagem visual do cardápio (/cardapio/styles.css):
   areia/creme, verde-petróleo, latão, zonas noturnas com dourado,
   Playfair Display + DM Sans.
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f6f2ea; --paper: #fffdf9; --sand: #ede5d7; --sand-2: #e4d9c6;
  --ink: #11302d; --ink-2: #3d524d; --muted: #6b7772; --line: rgba(17, 48, 45, .11);
  --teal: #0f6b63; --teal-d: #0a4c46; --brass: #a87a38;
  --gold: #e0b872; --gold-2: #ebcb94; --cream: #f3ead9;
  --night: #081b1a; --deep: #040b0b;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --r: 20px; --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(17, 48, 45, .05), 0 10px 30px rgba(17, 48, 45, .07);
  --shadow-hover: 0 2px 4px rgba(17, 48, 45, .06), 0 22px 48px rgba(17, 48, 45, .14);
  --pad: clamp(20px, 4vw, 40px); --max: 1280px; --header: 92px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2.5px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
::selection { background: #0f6b6333; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--paper); padding: 10px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.skip:focus { top: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow { display: flex; align-items: center; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--teal); }
.eyebrow .num { font: italic 500 14px var(--serif); letter-spacing: 0; text-transform: none; color: var(--brass); margin-right: 12px; }
.eyebrow .num::after { content: ''; display: inline-block; width: 28px; height: 1px; margin-left: 12px; vertical-align: middle; background: currentColor; opacity: .55; }
.split-title { font: 500 clamp(38px, 4.4vw, 64px)/1.04 var(--serif); letter-spacing: -.02em; margin: 14px 0 22px; color: var(--ink); }
.split-title em { color: var(--teal); font-style: italic; }
.lead { font-size: 18px; line-height: 1.7; color: var(--ink-2); }

/* ===== Botões ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease), color .25s, border-color .25s; }
.btn:active { transform: scale(.97); }
.btn svg { width: 19px; height: 19px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 22px -8px rgba(15, 107, 99, .7); }
.btn-primary:hover { background: var(--teal-d); transform: translateY(-1px); box-shadow: 0 14px 30px -10px rgba(15, 107, 99, .8); }
.btn-cream { background: #f6f2ea; color: #0b1f1d; }
.btn-cream:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6); }
.btn-ghost { color: #f3ead9; border: 1px solid rgba(243, 234, 217, .3); background: rgba(255, 255, 255, .05); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(243, 234, 217, .55); }
.text-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 26px; font-weight: 600; font-size: 15px; color: var(--teal-d); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(15, 107, 99, .35); transition: text-decoration-color .25s, color .25s; }
.text-link:hover { text-decoration-color: currentColor; }
.text-link svg, .pill-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.text-link .dot, .pill-link .dot { fill: currentColor; stroke: none; }
.pill-link { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--teal-d); text-decoration: none; background: rgba(255, 253, 249, .8); border: 1px solid rgba(15, 107, 99, .22); transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease); }
.pill-link:hover { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-2px); }

/* ===== Cabeçalho ===== */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; transition: background .45s ease, box-shadow .45s ease, border-color .45s; border-bottom: 1px solid transparent; }
.site-header::before { content: ''; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(3, 8, 11, .6), rgba(3, 8, 11, 0)); transition: opacity .45s; }
.header-inner { max-width: var(--max); height: var(--header); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 20px; transition: height .45s var(--ease); }
.site-header.scrolled { background: rgba(6, 20, 19, .86); backdrop-filter: saturate(1.4) blur(16px); -webkit-backdrop-filter: saturate(1.4) blur(16px); border-bottom-color: rgba(243, 234, 217, .08); box-shadow: 0 14px 34px -24px rgba(0, 0, 0, .8); }
.site-header.scrolled::before { opacity: 0; }
.site-header.scrolled .header-inner { height: 72px; }
.brand { display: block; flex: none; }
.brand img { width: 136px; height: auto; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .4)); transition: width .45s var(--ease), transform .5s var(--ease); }
.site-header.scrolled .brand img { width: 108px; }
.brand:hover img { transform: scale(1.03); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { min-height: 42px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; color: #fff; font-size: 14.5px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav a.active { color: var(--gold-2); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; position: relative; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.menu-toggle span { position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-toggle[aria-expanded=true] span:first-child { top: 22px; transform: rotate(45deg); }
.menu-toggle[aria-expanded=true] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column; justify-content: space-between; padding: 110px 26px 34px; background: radial-gradient(80% 50% at 0% 0%, rgba(31, 138, 128, .28), transparent 70%), radial-gradient(70% 45% at 100% 100%, rgba(224, 184, 114, .16), transparent 70%), #061413; color: #f3ead9; animation: fadeIn .35s ease both; overflow-y: auto; }
.mobile-nav nav { display: grid; }
.mobile-nav nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(243, 234, 217, .1); font: 500 34px/1.1 var(--serif); letter-spacing: -.01em; text-decoration: none; animation: fadeUp .6s var(--ease) both; }
.mobile-nav nav a:nth-child(2) { animation-delay: 50ms; }
.mobile-nav nav a:nth-child(3) { animation-delay: 100ms; }
.mobile-nav nav a:nth-child(4) { animation-delay: 150ms; }
.mobile-nav nav a:nth-child(5) { animation-delay: 200ms; }
.mobile-nav nav a span { font: italic 500 14px var(--serif); color: var(--gold); }
.mobile-nav-foot { display: grid; gap: 18px; padding-top: 30px; }
.mobile-nav-foot p { font-size: 14.5px; line-height: 1.7; color: rgba(243, 234, 217, .66); }
.mobile-nav-foot p a { color: var(--gold-2); text-decoration: none; font-weight: 600; }

/* ===== Abertura ===== */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(600px, 94svh, 860px); background: #04080b; color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 34%; z-index: -2; animation: heroIn 2.4s var(--ease) both; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 16, 24, .5) 0%, rgba(4, 16, 24, 0) 24%, rgba(4, 16, 24, .22) 50%, rgba(4, 16, 24, .92) 100%), linear-gradient(90deg, rgba(4, 16, 24, .74) 0%, rgba(4, 16, 24, .18) 62%, rgba(4, 16, 24, 0)); }
.hero-content { width: 100%; max-width: var(--max); margin: 0 auto; padding: 150px var(--pad) 40px; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 20px; font: 600 12px/1.4 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .84); animation: fadeUp .9s var(--ease) .2s both; }
.hero-kicker::before { content: ''; width: 40px; height: 1px; flex: none; background: var(--gold); }
.hero h1 { max-width: 16ch; font: 400 clamp(44px, 5.6vw, 84px)/1.02 var(--serif); letter-spacing: -.02em; margin: 0 0 22px; animation: fadeUp 1s var(--ease) .3s both; }
.hero h1 em { color: var(--gold-2); font-style: italic; }
.hero-lead { max-width: 540px; font-size: 17.5px; line-height: 1.65; color: rgba(255, 255, 255, .86); margin-bottom: 30px; animation: fadeUp .9s var(--ease) .5s both; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; animation: fadeUp .9s var(--ease) .65s both; }
.hero-actions .btn-cream { min-height: 54px; padding: 0 32px; }
.hero-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; font-size: 15px; text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); transition: border-color .3s, gap .35s var(--ease); }
.hero-link:hover { border-color: var(--gold); gap: 13px; }
.hero-bar { border-top: 1px solid rgba(255, 255, 255, .12); animation: fadeIn 1s ease .8s both; }
.hero-bar-inner { max-width: var(--max); margin: 0 auto; padding: 16px var(--pad); display: flex; align-items: center; gap: 28px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.hero-bar a { color: rgba(255, 255, 255, .84); text-decoration: none; transition: color .2s; }
.hero-bar a:hover { color: #fff; }
.hero-scroll { margin-left: auto; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

/* ===== Faixa ===== */
.marquee { overflow: hidden; padding: 26px 0 22px; border-bottom: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 52s linear infinite; }
.marquee-track > * { margin-right: 30px; white-space: nowrap; }
.marquee span { font: italic 400 clamp(22px, 2.6vw, 34px)/1.1 var(--serif); color: var(--ink); opacity: .85; }
.marquee i { font-style: normal; color: var(--brass); font-size: 13px; }

/* ===== Zona clara com fundo animado (igual ao cardápio) ===== */
.zone, .night { position: relative; isolation: isolate; overflow: hidden; }
.zone-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; contain: paint; }
.zone > .zone-bg { background: linear-gradient(180deg, #f6f2ea 0%, #f1e7d6 45%, #f3eadb 100%); }
.zone-bg::after { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 220px; opacity: .06; mix-blend-mode: multiply; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.zone .b1 { width: 60vmax; height: 60vmax; left: -20vmax; top: -18vmax; background: radial-gradient(circle, rgba(64, 160, 214, .34) 0%, rgba(64, 160, 214, .12) 38%, rgba(64, 160, 214, 0) 68%); animation: blobA 28s ease-in-out infinite alternate; }
.zone .b2 { width: 54vmax; height: 54vmax; right: -20vmax; top: 30%; background: radial-gradient(circle, rgba(238, 160, 96, .32) 0%, rgba(238, 160, 96, .1) 40%, rgba(238, 160, 96, 0) 68%); animation: blobB 34s ease-in-out infinite alternate; }
.zone .b3 { width: 50vmax; height: 50vmax; left: 18vw; bottom: -24vmax; background: radial-gradient(circle, rgba(15, 107, 99, .24) 0%, rgba(15, 107, 99, .08) 42%, rgba(15, 107, 99, 0) 68%); animation: blobC 40s ease-in-out infinite alternate; }
.waves { position: absolute; top: 0; bottom: 0; left: -520px; right: -520px; background-size: 520px 220px; animation: wavesDrift 70s linear infinite; }
.zone .waves { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='220' viewBox='0 0 520 220'%3E%3Cpath d='M0 60c65 0 65-34 130-34s65 34 130 34 65-34 130-34 65 34 130 34' fill='none' stroke='%230f6b63' stroke-opacity='.14' stroke-width='1.4'/%3E%3Cpath d='M0 170c65 0 65-34 130-34s65 34 130 34 65-34 130-34 65 34 130 34' fill='none' stroke='%230f6b63' stroke-opacity='.08' stroke-width='1'/%3E%3C/svg%3E"); }

.sec { padding: 120px 0; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: end; gap: 28px 64px; margin-bottom: 44px; }
.sec-head .split-title { margin-bottom: 0; }
.sec-head-side { display: grid; justify-items: start; gap: 20px; padding-bottom: 8px; }
.sec-head-side p { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; max-width: 460px; }

/* ===== A casa ===== */
.casa { padding-top: 110px; }
.casa-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.casa-text .lead { margin-bottom: 16px; }
.casa-text > p:not(.eyebrow):not(.lead) { color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin-top: 34px; border-top: 1px solid var(--line); }
.pillars li { display: flex; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pillar-num { flex: none; width: 26px; font: italic 500 16px/1.5 var(--serif); color: var(--brass); }
.pillars strong { display: block; font: 500 21px/1.25 var(--serif); letter-spacing: -.01em; margin-bottom: 4px; }
.pillars p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.casa-media { position: relative; padding: 0 0 70px 0; }
.photo { position: relative; overflow: hidden; border-radius: 28px; background: #0b1a1a; box-shadow: 0 30px 60px -34px rgba(17, 48, 45, .7); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.photo:hover img { transform: scale(1.04); }
.photo figcaption { position: absolute; z-index: 1; left: 18px; bottom: 14px; color: #fff; font: italic 500 18px/1.2 var(--serif); text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.photo:has(figcaption)::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 9, 13, .6) 0%, rgba(3, 9, 13, 0) 45%); pointer-events: none; }
.photo-main { width: 84%; aspect-ratio: 4 / 4.6; margin-left: auto; }
.photo-small { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 4 / 5; border: 8px solid var(--bg); border-radius: 26px; }
.stamp { position: absolute; top: -26px; left: 6%; width: 118px; height: 118px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--night); color: var(--cream); box-shadow: 0 20px 40px -18px rgba(8, 27, 26, .8); transform: rotate(-8deg); }
.stamp span { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.stamp em { font: italic 500 32px/1 var(--serif); }
.stamp::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(224, 184, 114, .45); }

/* ===== Sabores ===== */
.sabores { padding-top: 40px; }
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feat { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; color: #fff; text-decoration: none; background: #0b2826; box-shadow: var(--shadow); isolation: isolate; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.feat::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 30, 28, 0) 34%, rgba(8, 30, 28, .55) 58%, rgba(8, 30, 28, .94)); }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.feat:hover img { transform: scale(1.06); }
.feat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.feat-body .eyebrow { color: #f1e3c8; font-size: 10.5px; }
.feat h3 { font: 500 26px/1.15 var(--serif); letter-spacing: -.01em; margin: 8px 0 8px; }
.feat-desc { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .78); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); }
.price { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price small { display: block; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .7); letter-spacing: .02em; line-height: 1.1; }
.go { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fffdf9; color: var(--ink); font-size: 16px; transition: transform .45s var(--ease), background .25s; }
.feat:hover .go { background: var(--gold); transform: rotate(45deg); }
.fineprint { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ===== História (zona noturna, como o Bar do cardápio) ===== */
.night { background: var(--night); color: var(--cream); --ink: #f3ead9; --ink-2: rgba(243, 234, 217, .8); --muted: rgba(243, 234, 217, .56); --line: rgba(243, 234, 217, .12); --teal: #e0b872; --teal-d: #e9c689; --brass: #e0b872; }
.night > .zone-bg { background: linear-gradient(180deg, #061413 0%, #081b1a 60%, #061312 100%); }
.night > .zone-bg::after { mix-blend-mode: screen; opacity: .045; }
.night .b1 { width: 60vmax; height: 60vmax; left: -20vmax; top: -10vmax; background: radial-gradient(circle, rgba(31, 138, 128, .42) 0%, rgba(31, 138, 128, .12) 40%, rgba(31, 138, 128, 0) 68%); animation: blobA 30s ease-in-out infinite alternate; }
.night .b2 { width: 54vmax; height: 54vmax; right: -18vmax; bottom: -20vmax; background: radial-gradient(circle, rgba(224, 184, 114, .24) 0%, rgba(224, 184, 114, .07) 42%, rgba(224, 184, 114, 0) 68%); animation: blobB 36s ease-in-out infinite alternate; }
.night .waves { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='220' viewBox='0 0 520 220'%3E%3Cpath d='M0 60c65 0 65-34 130-34s65 34 130 34 65-34 130-34 65 34 130 34' fill='none' stroke='%23e0b872' stroke-opacity='.1' stroke-width='1.4'/%3E%3Cpath d='M0 170c65 0 65-34 130-34s65 34 130 34 65-34 130-34 65 34 130 34' fill='none' stroke='%23e0b872' stroke-opacity='.06' stroke-width='1'/%3E%3C/svg%3E"); }
.wave-bottom { position: absolute; z-index: 2; bottom: -1px; left: 0; width: 100%; height: 110px; fill: #061413; pointer-events: none; }
.wave-bottom.to-light { fill: var(--bg); }
.zone .sabores { padding-bottom: 190px; }
.historia { padding: 90px 0 190px; }
.historia .split-title { color: var(--cream); }
.historia-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.historia-text .lead { color: rgba(243, 234, 217, .9); margin-bottom: 16px; }
.historia-text > p:not(.eyebrow):not(.lead) { color: rgba(243, 234, 217, .72); font-size: 16.5px; line-height: 1.75; margin-bottom: 14px; }
.historia-text p em { font-family: var(--serif); color: var(--gold-2); }
.historia .text-link { color: var(--gold-2); text-decoration-color: rgba(233, 198, 137, .4); }
.historia-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.historia-media .photo { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9); }
.photo-tall { aspect-ratio: 4 / 5.4; }
.photo-offset { aspect-ratio: 4 / 5; margin-top: 90px; }
.year-mark { position: absolute; z-index: 2; right: -6px; top: -64px; font: italic 500 clamp(80px, 10vw, 150px)/1 var(--serif); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(224, 184, 114, .55); pointer-events: none; }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 90px; padding-top: 34px; border-top: 1px solid rgba(243, 234, 217, .12); counter-reset: t; }
.timeline li { position: relative; padding-left: 22px; }
.timeline li::before { content: ''; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(224, 184, 114, .14); }
.t-when { display: block; font: italic 500 24px/1.2 var(--serif); color: var(--gold-2); margin-bottom: 8px; }
.timeline p { font-size: 15px; line-height: 1.65; color: rgba(243, 234, 217, .68); max-width: 320px; }

/* ===== Ambiente ===== */
.ambiente { padding: 120px 0 60px; }
.gallery { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: 22px; background: #0b1a1a; box-shadow: 0 24px 50px -30px rgba(17, 48, 45, .6); cursor: zoom-in; }
.g-big, .g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.g-item:hover img { transform: scale(1.06); transition-duration: 1s; }
.g-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3, 9, 13, .62) 0%, rgba(3, 9, 13, 0) 42%); pointer-events: none; }
.g-cap { position: absolute; z-index: 1; left: 18px; bottom: 14px; color: #fff; font: italic 500 19px/1.2 var(--serif); text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.g-big img { object-position: center 30%; }

/* ===== Destino ===== */
.destino { padding: 70px 0 120px; }
.destino-inner { max-width: 1060px; text-align: center; }
.destino .eyebrow { justify-content: center; }
.destino h2 { font: 400 clamp(30px, 3.5vw, 50px)/1.18 var(--serif); letter-spacing: -.015em; margin: 22px auto 52px; max-width: 26ch; }
.destino h2 em { color: var(--teal); font-style: italic; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts div { padding: 30px 20px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { font: italic 500 clamp(38px, 4vw, 54px)/1 var(--serif); color: var(--brass); margin-bottom: 10px; }
.facts dd { font-size: 14.5px; color: var(--muted); }

/* ===== Visite ===== */
.visit { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 640px; background: #06141c; color: #f3ead9; overflow: hidden; isolation: isolate; }
.visit-media { position: relative; overflow: hidden; min-height: 420px; }
.visit-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; transition: transform 8s ease-out; }
.visit:hover .visit-media img { transform: scale(1.05); }
.visit-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 20, 28, 0) 50%, #06141c 100%), linear-gradient(0deg, rgba(6, 20, 28, .4), transparent 40%); }
.visit-body { align-self: center; max-width: 600px; padding: 80px 64px; }
.visit .eyebrow { color: var(--gold); }
.visit h2 { font: 500 clamp(40px, 4.6vw, 66px)/1.04 var(--serif); letter-spacing: -.025em; margin: 14px 0 18px; }
.visit h2 em { color: var(--gold); }
.visit-address { font-size: 17px; line-height: 1.75; color: rgba(243, 234, 217, .8); margin-bottom: 26px; }
.hours { display: grid; margin-bottom: 30px; border-top: 1px solid rgba(243, 234, 217, .12); }
.hours div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid rgba(243, 234, 217, .12); font-size: 15.5px; }
.hours dt { color: rgba(243, 234, 217, .72); }
.hours dd { font-weight: 600; font-variant-numeric: tabular-nums; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.visit .text-link { color: var(--gold-2); text-decoration-color: rgba(233, 198, 137, .4); margin-top: 22px; }
.map-sec { padding: 64px 0 100px; }
.map { height: 400px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12); }

/* ===== Rodapé (igual ao do cardápio) ===== */
.footer { position: relative; overflow: hidden; background: #040b0b; color: #f3ead9; border-top: 1px solid rgba(243, 234, 217, .08); }
.footer::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 320px at 8% 0%, rgba(38, 128, 220, .14), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(224, 184, 114, .08), transparent 70%); }
.footer-top { position: relative; max-width: var(--max); margin: 0 auto; padding: 72px var(--pad) 48px; display: grid; grid-template-columns: minmax(240px, .85fr) 2fr; gap: 64px; }
.footer-logo { display: block; width: 190px; height: auto; }
.footer-brand p { color: rgba(243, 234, 217, .66); font-size: 15px; line-height: 1.7; margin: 18px 0 22px; max-width: 320px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(243, 234, 217, .18); color: #f3ead9; transition: background .25s, border-color .25s, color .25s, transform .35s var(--ease); }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: #0b2220; transform: translateY(-3px); }
.socials svg, .footer-ig svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.socials .dot, .footer-ig .dot { fill: currentColor; stroke: none; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-col h3 { font: 600 11.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 8px 0 18px; }
.footer-col p { font-size: 14.5px; color: rgba(243, 234, 217, .72); margin: 0 0 10px; line-height: 1.65; }
.footer-col ul { display: grid; gap: 11px; }
.footer-link { color: rgba(243, 234, 217, .86); text-decoration: none; font-size: 14.5px; transition: color .2s; }
.footer-link:hover { color: var(--gold); }
.footer-ig { display: inline-flex; align-items: center; gap: 8px; }
.footer-bottom { position: relative; max-width: var(--max); margin: 0 auto; padding: 22px var(--pad) 26px; border-top: 1px solid rgba(243, 234, 217, .1); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 13px; color: rgba(243, 234, 217, .5); }
.footer-dev { margin-left: auto; }
.footer-dev a { color: rgba(243, 234, 217, .72); text-underline-offset: 3px; }
.footer-dev a:hover { color: var(--gold); }
.to-top { display: inline-flex; align-items: center; gap: 10px; color: #f3ead9; text-decoration: none; font-weight: 600; }
.to-top svg { width: 36px; height: 36px; padding: 9px; border-radius: 50%; border: 1px solid rgba(243, 234, 217, .2); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: background .25s, color .25s, border-color .25s, transform .35s var(--ease); }
.to-top:hover svg { background: var(--gold); border-color: var(--gold); color: #0b2220; transform: translateY(-3px); }

/* ===== WhatsApp flutuante ===== */
.wa-float { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 14px; border-radius: 999px; background: #1f8f5a; color: #fff; font-weight: 600; font-size: 14.5px; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(31, 143, 90, .75); transition: transform .35s var(--ease), background .25s, opacity .35s; }
.wa-float:hover { background: #18764a; transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; fill: currentColor; }
.wa-float.away { opacity: 0; pointer-events: none; transform: translateY(12px); }

/* ===== Lightbox ===== */
.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 22px; background: #061413; overflow: hidden; box-shadow: 0 30px 90px rgba(8, 30, 28, .5); }
.lightbox::backdrop { background: rgba(4, 11, 11, .82); backdrop-filter: blur(8px); }
.lightbox[open] { animation: pop .45s var(--ease); }
.lightbox img { width: 100%; max-height: 92vh; object-fit: contain; }
.lb-close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; line-height: 1; color: #f3ead9; background: rgba(4, 11, 11, .6); border: 1px solid rgba(243, 234, 217, .2); }
.lb-close:hover { background: var(--gold); color: #0b2220; }

/* ===== Revelar ao rolar ===== */
.js .reveal { opacity: 0; transform: translateY(26px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }
.js .feat.reveal.in { transition: opacity .9s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms), box-shadow .5s var(--ease); }
.js .feat.reveal.in:hover { transform: translateY(-6px); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
/* O clip fica nos filhos: o IntersectionObserver ignora alvo 100% recortado */
.js .casa-media.reveal .photo-main { clip-path: inset(100% 0 0 0 round 28px); }
.js .casa-media.reveal.in .photo-main { clip-path: inset(0 0 0 0 round 28px); transition: clip-path 1.4s var(--ease) .15s; }
.js .gallery.reveal { opacity: 1; transform: none; }
.js .gallery.reveal .g-item { clip-path: inset(100% 0 0 0 round 22px); }
.js .gallery.reveal.in .g-item { clip-path: inset(0 0 0 0 round 22px); transition: clip-path 1.25s var(--ease) var(--d, 0ms); }

/* ===== Animações ===== */
@keyframes heroIn { from { transform: scale(1.12); } to { transform: scale(1.03); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes blobA { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(18vw, 14vh, 0) scale(1.15); } 100% { transform: translate3d(6vw, 32vh, 0) scale(.92); } }
@keyframes blobB { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-16vw, 22vh, 0) scale(.9); } 100% { transform: translate3d(-6vw, -6vh, 0) scale(1.12); } }
@keyframes blobC { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-14vw, -18vh, 0) scale(1.18); } 100% { transform: translate3d(12vw, -8vh, 0) scale(1); } }
@keyframes wavesDrift { to { transform: translate3d(520px, 0, 0); } }

/* ===== Responsivo ===== */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .casa-grid, .historia-grid { gap: 56px; }
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 900px) {
  :root { --header: 76px; }
  .sec { padding: 88px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .casa-grid, .historia-grid { grid-template-columns: 1fr; }
  .casa-media { max-width: 560px; }
  .historia { padding: 70px 0 130px; }
  .zone .sabores { padding-bottom: 140px; }
  .wave-bottom { height: 60px; }
  .historia-media { max-width: 560px; }
  .year-mark { top: -54px; right: 0; }
  .timeline { grid-template-columns: 1fr; gap: 24px; margin-top: 60px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 170px 170px; gap: 10px; }
  .g-big { grid-column: span 2; grid-row: auto; }
  .g-tall { grid-row: span 2; }
  .visit { grid-template-columns: 1fr; }
  .visit-media { min-height: 340px; }
  .visit-media::after { background: linear-gradient(180deg, rgba(6, 20, 28, 0) 45%, #06141c 100%); }
  .visit-body { padding: 8px 22px 72px; max-width: none; }
  .map { height: 320px; border-radius: 22px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
}
@media (max-width: 640px) {
  .header-actions .btn-sm { padding: 0 16px; }
  .brand img { width: 112px; }
  .site-header.scrolled .brand img { width: 96px; }
  .hero { min-height: clamp(560px, 90svh, 720px); }
  .hero-content { padding: 110px 22px 26px; }
  .hero::after { background: linear-gradient(180deg, rgba(4, 16, 24, .55) 0%, rgba(4, 16, 24, .2) 26%, rgba(4, 16, 24, .72) 58%, rgba(4, 16, 24, .95) 100%); }
  .hero-kicker { letter-spacing: .24em; font-size: 11px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 54px); }
  .hero-lead { font-size: 16px; }
  .hero-bar-inner { padding: 13px 22px; gap: 16px; font-size: 12.5px; }
  .hero-bar-inner > span:first-child, .hide-sm { display: none; }
  .lead { font-size: 17px; }
  .pillars { grid-template-columns: 1fr; }
  .photo-main { width: 88%; }
  .stamp { width: 96px; height: 96px; top: -20px; }
  .stamp em { font-size: 26px; }
  .dishes { grid-template-columns: 1fr; gap: 16px; }
  .feat { aspect-ratio: 4 / 4.4; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .facts div { padding: 22px 10px; }
  .hours div { font-size: 14.5px; }
  .visit-actions .btn { flex: 1 1 100%; }
  .footer-top { padding: 52px 22px 30px; gap: 36px; }
  .footer-bottom { padding: 20px 22px 90px; }
  .footer-dev { margin-left: 0; }
  .wa-float { padding: 0; width: 56px; height: 56px; justify-content: center; }
  .wa-float span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .gallery.reveal .g-item, .js .casa-media.reveal .photo-main { opacity: 1; transform: none; clip-path: none; }
}
