/* Madeirarooms — v1 (02/12/2026)
   Paleta tirada da casa: pedra creme, azul-marinho do logótipo, azul-petróleo das paredes dos quartos, rosa da fachada. */

:root {
  --bg: #F4EFE7;
  --bg-2: #ECE4D8;
  --paper: #FBF8F3;
  --ink: #1A1C22;
  --ink-2: #4B4842;
  --line: rgba(26, 28, 34, .14);
  --navy: #263F78;
  --navy-2: #1A2B57;
  --navy-3: #131F40;
  --teal: #2C6A70;
  --blush: #EDCBC1;
  --rose: #B4645A;
  --cream: #F7F1E8;

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --max: 1360px;
  --r: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
figure { margin: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--navy); color: var(--cream); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(88px, 12vw, 168px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--cream); padding: 12px 18px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }

/* ---------- Tipografia ---------- */
.eyebrow { font: 500 13px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--blush); }
.h2 { font: 400 clamp(40px, 5.4vw, 80px)/1.0 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.h2 em { color: var(--navy); }
.h2--light { color: var(--cream); }
.h2--light em { color: var(--blush); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }

/* linhas que sobem (preparadas por JS) */
.rl-line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.rl-line > span { display: block; }

/* ---------- Links e botões ---------- */
.ulink { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); padding-bottom: 2px; }
.ulink:hover, .ulink:focus-visible { background-size: 100% 1px; }

.btn {
  --bg-b: var(--navy); --fg-b: var(--cream);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg-b); color: var(--fg-b); text-decoration: none; font-weight: 500; font-size: 16px; letter-spacing: .01em;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s var(--ease);
  white-space: nowrap; isolation: isolate; overflow: hidden;
}
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--navy-3); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(19, 31, 64, .55); }
.btn:active { transform: translateY(0) scale(.97); transition-duration: .1s; }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic use[href="#i-arrow"], .btn:hover .ic { transform: translateX(0); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--ghost { --bg-b: transparent; --fg-b: var(--ink); border-color: var(--line); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--cream); border-color: var(--ink); }
.btn--light { --bg-b: var(--cream); --fg-b: var(--navy-3); }
.btn--light::before { background: #fff; }
.btn--outline-light { --bg-b: transparent; --fg-b: var(--cream); border-color: rgba(247, 241, 232, .35); }
.btn--outline-light::before { background: var(--cream); }
.btn--outline-light:hover { color: var(--navy-3); }

/* ---------- Abertura ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; pointer-events: none; }
.intro__panel { position: absolute; inset: 0; background: var(--navy-2); }
.intro__logo { position: relative; width: 112px; height: 112px; border-radius: 50%; }
html:not(.js) .intro { display: none; }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: transform .5s var(--ease), background-color .4s, box-shadow .4s; }
.nav__in { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.nav.is-solid { background: rgba(244, 239, 231, .96); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 44px; height: 44px; border-radius: 50%; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand__name { font: 400 26px/1 var(--serif); letter-spacing: .005em; }
.nav__links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav__links a { padding-block: 12px 2px; background-position: 0 calc(100% - 0px); }
.nav__end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button { border: 0; background: none; min-width: 38px; height: 34px; border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; color: var(--ink-2); transition: background-color .3s, color .3s; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: var(--nav-h) 0 0; background: var(--bg); padding: 32px var(--gutter); display: flex; flex-direction: column; gap: 4px; }
.menu[hidden] { display: none; }
.menu a { font: 400 44px/1.25 var(--serif); text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--line); }
.lang--menu { display: none; align-self: flex-start; margin-top: 28px; }
.lang--menu button { min-width: 56px; height: 44px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 24px); padding-bottom: 48px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.hero__eyebrow { color: var(--teal); }
.hero__title { font: 400 clamp(54px, 7.4vw, 120px)/.94 var(--serif); letter-spacing: -.025em; margin-bottom: 28px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line > span { display: block; }
.hero__title em { color: var(--navy); }
.hero__sub { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 44ch; margin-bottom: 34px; }

.bookbar { display: grid; grid-template-columns: 1.1fr 1.1fr .8fr auto; align-items: stretch; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 8px; gap: 4px; box-shadow: 0 24px 48px -32px rgba(26, 28, 34, .35); max-width: 760px; }
.bookbar__f { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 14px; border-radius: 14px; transition: background-color .25s; cursor: pointer; min-width: 0; }
.bookbar__f:hover { background: var(--bg); }
.bookbar__f + .bookbar__f { box-shadow: -1px 0 0 var(--line); }
.bookbar__f > span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.bookbar input, .bookbar select { border: 0; background: transparent; padding: 0; font-size: 16px; font-weight: 500; min-height: 28px; width: 100%; outline: none; appearance: none; -webkit-appearance: none; }
.bookbar input::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.bookbar__f:focus-within { background: var(--bg); box-shadow: inset 0 0 0 1.5px var(--navy); }
.bookbar__go { border-radius: 16px; min-height: 60px; }
.bookbar.is-error .bookbar__f:has(input:invalid) { box-shadow: inset 0 0 0 1.5px var(--rose); }
.hero__badge { margin-top: 18px; font-size: 15px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.hero__badge b { display: inline-grid; place-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--blush); color: #5C2A23; font-weight: 600; }

.hero__media { position: relative; padding: 28px 28px 28px 32px; }
.hero__frame { position: relative; aspect-ratio: 4 / 4.9; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--bg-2); max-height: calc(100svh - var(--nav-h) - 150px); margin-left: auto; width: 100%; }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 50%; transform-origin: 50% 60%; }
.hero__chip { position: absolute; left: 0; bottom: 64px; z-index: 2; display: flex; align-items: center; gap: 10px; background: var(--paper); border-radius: 999px; padding: 12px 20px 12px 16px; font-size: 14.5px; font-weight: 500; box-shadow: 0 18px 40px -20px rgba(26, 28, 34, .4); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(44, 106, 112, .5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(44, 106, 112, 0); } 100% { box-shadow: 0 0 0 0 rgba(44, 106, 112, 0); } }

/* ---------- Faixa ---------- */
.marquee { background: var(--navy-2); color: var(--cream); overflow: hidden; padding-block: 22px; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__group { display: flex; align-items: center; gap: 36px; padding-right: 36px; font: italic 400 clamp(24px, 2.4vw, 34px)/1 var(--serif); white-space: nowrap; }
.marquee__group i { font-style: normal; color: var(--blush); font-size: .6em; }

/* ---------- A casa ---------- */
.house__head { display: grid; grid-template-columns: 1fr; margin-bottom: 40px; }
.house__text { font: 400 clamp(28px, 3.3vw, 50px)/1.18 var(--serif); letter-spacing: -.01em; max-width: 26ch; text-wrap: pretty; }
.house__text .w { opacity: .16; transition: none; }
html:not(.js) .house__text .w, .no-motion .house__text .w { opacity: 1; }
.house__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(56px, 7vw, 96px); }
.stat { border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.stat b { font: 400 clamp(44px, 4.6vw, 68px)/1 var(--serif); color: var(--navy); font-variant-numeric: tabular-nums; }
.stat > span { color: var(--ink-2); font-size: 16px; max-width: 22ch; }
.house__photos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(72px, 9vw, 128px); align-items: start; }
/* Moldura das fotos: margem creme + filete azul (como o contorno de pedra das janelas da fachada)
   e, em algumas, uma forma desencontrada atrás (rosa da fachada, petróleo ou linha azul). */
.ph { --mat: 12px; --mat-c: var(--paper); --filet: rgba(38, 63, 120, .24); --rad: var(--r); position: relative; isolation: isolate; padding: var(--mat); }
.ph__in {
  display: block; position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: var(--rad); background: var(--bg-2);
  box-shadow: 0 0 0 5px var(--mat-c), 0 0 0 6px var(--filet), 0 0 0 var(--mat) var(--mat-c), 0 44px 70px -30px rgba(26, 28, 34, .42);
}
.ph__in img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph::before, .hero__art::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: calc(var(--r) + var(--mat)); pointer-events: none;
  opacity: 0; transform: translate(0, 0); transition: transform 1.5s var(--ease) .2s, opacity 1s ease .2s;
}
.ph:not([data-deco])::before { display: none; }
.ph[data-deco="line"]::before { border: 1.5px solid rgba(38, 63, 120, .5); --dx: 20px; --dy: 20px; }
.ph[data-deco="line2"]::before { border: 1.5px solid rgba(38, 63, 120, .5); --dx: -20px; --dy: -20px; }
.ph[data-deco="blush"]::before { background: var(--blush); --dx: -22px; --dy: 22px; }
.ph[data-deco="teal"]::before { background: var(--teal); --dx: 22px; --dy: 22px; }
.ph[data-deco="line-light"]::before { border: 1.5px solid rgba(237, 203, 193, .7); --dx: 20px; --dy: -20px; }
.ph.is-in::before, .hero__art.is-in::after, html:not(.js) .ph::before, .no-motion .ph::before, .no-motion .hero__art::after { opacity: 1; transform: translate(calc(var(--dx) * var(--k, 1)), calc(var(--dy) * var(--k, 1))); }

/* moldura em arco (fachada e vinho) */
.ph--arch { --rad: 999px 999px var(--r) var(--r); }
.ph--arch::before, .hero__art::after { border-radius: 999px 999px calc(var(--r) + var(--mat)) calc(var(--r) + var(--mat)); }
.hero__art { --mat: 15px; }
.hero__art[data-deco="hero"]::before { background: var(--blush); --dx: -30px; --dy: 30px; }
.hero__art::after { border: 1.5px solid rgba(38, 63, 120, .45); --dx: 26px; --dy: -26px; }

/* selo redondo que gira */
.seal { position: absolute; left: -12px; top: 13%; z-index: 2; width: 138px; height: 138px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line), 0 20px 40px -22px rgba(26, 28, 34, .45); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 26s linear infinite; }
.seal__ring text { font: 600 13.5px/1 var(--sans); letter-spacing: .02em; fill: var(--navy); }
.seal__logo { width: 66px; height: 66px; border-radius: 50%; }
@keyframes girar { to { transform: rotate(360deg); } }
.ph--a { grid-column: 1 / span 7; aspect-ratio: 3 / 2; }
.ph--b { grid-column: 9 / span 4; aspect-ratio: 3 / 4; margin-top: 120px; }
.ph--c { grid-column: 2 / span 5; aspect-ratio: 4 / 3; margin-top: -40px; }
.ph--d { grid-column: 7 / span 5; aspect-ratio: 3 / 2; margin-top: 40px; }

/* ---------- Quartos ---------- */
.rooms { background: var(--paper); border-block: 1px solid var(--line); }
.rooms__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--nav-h) + 8px) 40px; gap: clamp(28px, 4vh, 48px); overflow: hidden; }
.rooms__head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: end; }
.rooms__head .h2 { font-size: clamp(40px, 4.6vw, 70px); }
.rooms__side p { color: var(--ink-2); margin-bottom: 18px; max-width: 42ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 14.5px; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip:hover { border-color: var(--ink); transform: translateY(-1px); }
.chip.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.rooms__viewport { width: 100%; }
.rooms__track { display: flex; gap: 22px; padding-block: 6px 10px; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); width: max-content; will-change: transform; }
.room { width: clamp(300px, 29vw, 430px); flex: none; transition: opacity .4s, transform .5s var(--ease); }
.room.is-out { display: none; }
.card { display: block; width: 100%; text-align: left; border: 0; padding: 0; background: none; border-radius: var(--r); }
.card__img, .card__body { display: block; }
.card__img { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; background: var(--bg-2); max-height: 44vh; width: calc(100% - 20px); margin: 10px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(38, 63, 120, .2), 0 0 0 10px #fff, 0 30px 50px -30px rgba(26, 28, 34, .4); transition: box-shadow .5s var(--ease); }
.card:hover .card__img { box-shadow: 0 0 0 4px #fff, 0 0 0 5px rgba(38, 63, 120, .55), 0 0 0 10px #fff, 0 40px 60px -30px rgba(26, 28, 34, .5); }
.card { transition: transform .5s var(--ease); }
.card:hover { transform: translateY(-4px); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img, .card:focus-visible .card__img img { transform: scale(1.05); }
.card__badges { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(251, 248, 243, .94); font-size: 13px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.badge .ic { width: 15px; height: 15px; }
.badge--new { background: var(--blush); color: #5C2A23; }
.card__go { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; transform: scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.card:hover .card__go, .card:focus-visible .card__go { transform: scale(1); opacity: 1; }
.card__body { padding: 18px 4px 0; }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__name { font: 400 34px/1 var(--serif); }
.card__num { font-size: 13px; font-weight: 600; color: var(--ink-2); letter-spacing: .08em; }
.card__tag { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.card__facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 14.5px; color: var(--ink); }
.card__facts span { display: inline-flex; align-items: center; gap: 7px; }
.card__facts .ic { width: 17px; height: 17px; color: var(--teal); }
.rooms__foot { display: flex; }
.progress { height: 2px; background: var(--line); width: 100%; border-radius: 2px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 100%; background: var(--navy); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Conforto ---------- */
.comfort__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.comfort .h2 { font-size: clamp(38px, 4.4vw, 66px); max-width: 15ch; }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 44px; }
.amen li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; }
.amen .ic { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--bg-2); color: var(--teal); stroke-width: 1.5; transition: background-color .3s, color .3s, transform .4s var(--ease); }
.amen li:hover .ic { background: var(--teal); color: var(--cream); transform: rotate(-8deg); }
.comfort__media { position: relative; padding-bottom: 80px; }
.ph--tall { aspect-ratio: 4 / 5; }
.ph--small { position: absolute; width: 50%; aspect-ratio: 1; left: -12%; bottom: 0; z-index: 1; }

/* ---------- Vídeo ---------- */
.tour { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(88px, 12vw, 168px); }
.tour__head { margin-bottom: 48px; }
.tour__stage { padding-inline: 0; }
.tour__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 100svh; overflow: hidden; background: var(--ink); clip-path: inset(0 var(--gutter) round var(--r)); }
.tour__frame video { width: 100%; height: 100%; object-fit: cover; }
.tour__btn { position: absolute; right: calc(var(--gutter) + 20px); bottom: 20px; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(251, 248, 243, .92); display: grid; place-items: center; transition: transform .3s var(--ease); }
.tour__btn:hover { transform: scale(1.08); }
.tour__btn .ic { width: 18px; height: 18px; fill: var(--ink); stroke: none; }
.tour__btn .ic--play, .tour__frame.is-paused .ic--pause { display: none; }
.tour__frame.is-paused .ic--play { display: block; }

/* ---------- Localização ---------- */
.loc { background: var(--bg-2); }
.type-moment { font: 400 clamp(52px, 9.4vw, 152px)/.95 var(--serif); letter-spacing: -.03em; margin-bottom: clamp(48px, 6vw, 88px); }
.type-moment a { text-decoration: none; display: inline-block; }
.type-moment em { color: var(--navy); }
.tm-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.tm-line > span { display: block; }
.ulink--big { background-size: 0 3px; background-image: linear-gradient(var(--navy), var(--navy)); }
.ulink--big:hover { background-size: 100% 3px; }
.loc__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.dist { margin: 32px 0 36px; border-top: 1px solid var(--line); }
.dist li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; position: relative; }
.dist b { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--navy); white-space: nowrap; }
.loc__map { position: relative; padding-bottom: 72px; }
.loc__map iframe { width: calc(100% - 24px); margin: 12px; aspect-ratio: 4 / 3.4; border: 0; border-radius: var(--r); background: #dcd5c8; filter: grayscale(.85) contrast(1.05) sepia(.12); transition: filter .6s;
  box-shadow: 0 0 0 5px var(--paper), 0 0 0 6px rgba(38, 63, 120, .24), 0 0 0 12px var(--paper), 0 44px 70px -30px rgba(26, 28, 34, .42); }
.loc__map:hover iframe { filter: none; }
.loc__view { position: absolute; right: -14px; bottom: 0; width: 42%; aspect-ratio: 4 / 3; }

/* ---------- Opiniões ---------- */
.reviews__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 56px; }
.reviews__head .muted { max-width: 30ch; font-size: 15px; }
.reviews__grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 20px; }
.rev { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 32px; display: flex; flex-direction: column; gap: 20px; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.rev:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(26, 28, 34, .35); }
.rev p { font-size: 17px; line-height: 1.6; flex: 1; }
.rev footer { font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.rev footer::before { content: ''; width: 20px; height: 1px; background: currentColor; }
.rev--big { grid-row: span 2; background: var(--blush); border-color: transparent; padding: clamp(32px, 3.4vw, 48px); justify-content: space-between; }
.rev--big p { font: 400 clamp(26px, 2.4vw, 36px)/1.22 var(--serif); letter-spacing: -.005em; }
.stars { display: flex; gap: 3px; color: var(--navy); }
.stars svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Reserva ---------- */
.book { background: var(--navy-2); color: var(--cream); padding-block: clamp(88px, 11vw, 160px); position: relative; overflow: hidden; }
.book__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.book__p { color: rgba(247, 241, 232, .82); font-size: 18px; margin-top: 28px; max-width: 42ch; }
.perks { margin-top: 32px; display: grid; gap: 14px; }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks .ic { color: var(--blush); }
.book__wine { --mat-c: var(--cream); --filet: rgba(180, 100, 90, .45); --rad: 999px 999px var(--r) var(--r); margin-top: 48px; width: 48%; aspect-ratio: 3 / 4; }
.book__wine::before { border-radius: 999px 999px calc(var(--r) + var(--mat)) calc(var(--r) + var(--mat)); }
.bcard { background: var(--paper); color: var(--ink); border-radius: calc(var(--r) + 6px); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.bcard__img { aspect-ratio: 16 / 8; overflow: hidden; }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.bcard__body { padding: clamp(24px, 3vw, 40px); }
.bcard__title { font: 400 clamp(30px, 2.6vw, 40px)/1.05 var(--serif); margin-bottom: 22px; }
.bform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bform__f { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .25s, box-shadow .25s; min-width: 0; }
.bform__f:hover { border-color: rgba(26, 28, 34, .35); }
.bform__f:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(38, 63, 120, .14); }
.bform__f > span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.bform input, .bform select { border: 0; background: transparent; padding: 0; font-size: 16px; font-weight: 500; min-height: 28px; width: 100%; outline: none; appearance: none; -webkit-appearance: none; }
.bform__f--full, .bform__go { grid-column: span 2; }
.bform__go { min-height: 58px; border-radius: 14px; margin-top: 4px; }
.bform.is-error .bform__f:has(input:invalid) { border-color: var(--rose); }
.bcard__note { margin-top: 16px; font-size: 14.5px; color: var(--ink-2); text-align: center; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.faq__ph { margin-top: 44px; aspect-ratio: 4 / 3; max-width: 420px; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; font: 400 clamp(22px, 2vw, 28px)/1.25 var(--serif); transition: color .3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--navy); }
.acc summary .ic { width: 22px; height: 22px; transition: transform .45s var(--ease); }
.acc details[open] summary .ic { transform: rotate(45deg); }
.acc__body { overflow: hidden; }
.acc__body p { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 62ch; }

/* ---------- Rodapé ---------- */
.foot { background: var(--navy-3); color: var(--cream); padding-top: clamp(88px, 10vw, 140px); overflow: hidden; }
.foot__cta { display: flex; justify-content: space-between; align-items: end; gap: 40px; padding-bottom: 72px; border-bottom: 1px solid rgba(247, 241, 232, .14); }
.foot__cta .h2 { max-width: 14ch; }
.foot__p { color: rgba(247, 241, 232, .75); margin-top: 20px; max-width: 44ch; }
.foot__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.foot__cols { display: grid; grid-template-columns: .6fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px; font-size: 16px; color: rgba(247, 241, 232, .85); }
.foot__cols address { font-style: normal; }
.foot__logo { width: 72px; height: 72px; border-radius: 50%; }
.foot__contact, .foot__nav { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.foot__word { font: 400 clamp(64px, 16.2vw, 248px)/.8 var(--serif); letter-spacing: -.035em; color: var(--cream); white-space: nowrap; text-align: center; margin-top: 8px; overflow: hidden; padding-bottom: .06em; }
.foot__word span { display: inline-block; }
.foot__legal { font-size: 13.5px; color: rgba(247, 241, 232, .55); padding-block: 28px 32px; border-top: 1px solid rgba(247, 241, 232, .14); margin-top: 20px; }

/* ---------- WhatsApp e barra do telemóvel ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .45); transition: transform .4s var(--ease); }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.mbar { display: none; }

/* ---------- Janelas ---------- */
dialog { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; color: var(--ink); }
dialog::backdrop { background: rgba(19, 22, 30, .62); }
.room-dlg { width: min(1240px, calc(100vw - 40px)); }
.rd { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); background: var(--paper); border-radius: 24px; overflow: hidden; height: min(820px, calc(100svh - 40px)); }
.rd__close { position: absolute; top: 16px; right: 16px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s, color .3s; }
.rd__close:hover { transform: rotate(90deg); background: var(--ink); color: var(--cream); }
.rd__gallery { position: relative; background: var(--ink); display: flex; flex-direction: column; min-height: 0; }
.rd__main { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.rd__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rd__nav { position: absolute; top: calc(50% - 60px); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(251, 248, 243, .92); display: grid; place-items: center; transition: transform .3s var(--ease); z-index: 2; }
.rd__nav:hover { transform: scale(1.08); }
.rd__nav--prev { left: 16px; } .rd__nav--next { right: 16px; }
.rd__count { position: absolute; left: 16px; top: 16px; z-index: 2; background: rgba(19, 22, 30, .6); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.rd__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; background: var(--ink); scrollbar-width: none; }
.rd__thumbs button { flex: none; width: 92px; aspect-ratio: 3 / 2; border: 0; padding: 0; border-radius: 8px; overflow: hidden; opacity: .5; transition: opacity .3s, outline-color .3s; outline: 2px solid transparent; outline-offset: -2px; }
.rd__thumbs button:hover { opacity: .85; }
.rd__thumbs button[aria-current="true"] { opacity: 1; outline-color: var(--cream); }
.rd__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.rd__info { padding: 44px 40px 32px; overflow-y: auto; display: flex; flex-direction: column; }
.rd__title { font: 400 clamp(44px, 4vw, 60px)/1 var(--serif); margin-bottom: 22px; }
.rd__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.rd__facts li { display: flex; align-items: center; gap: 10px; background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-weight: 500; }
.rd__facts .ic { color: var(--teal); }
.rd__block { padding: 16px 0; border-top: 1px solid var(--line); }
.rd__block h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: 6px; }
.rd__block p { font-size: 16px; }
.rd__info { padding-bottom: 0; }
.rd__actions { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding: 18px 0 24px; background: linear-gradient(rgba(251, 248, 243, 0), var(--paper) 22%); }
.rd__actions .btn { flex: 1 1 auto; }

.book-dlg { width: min(980px, calc(100vw - 40px)); }
.bd { background: #fff; border-radius: 24px; overflow: hidden; height: min(860px, calc(100svh - 40px)); display: flex; flex-direction: column; }
.bd__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 16px 16px 28px; background: var(--paper); border-bottom: 1px solid var(--line); }
.bd__title { font: 400 28px/1.1 var(--serif); }
.bd__sub { font-size: 14px; color: var(--teal); font-weight: 500; }
.bd__close { position: static; }
.bd iframe { flex: 1; width: 100%; border: 0; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 22px; }
  .bookbar { grid-template-columns: 1fr 1fr; }
  .bookbar__f:nth-child(3) { box-shadow: none; }
  .bookbar__go { grid-column: span 2; }
}
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero__media { order: -1; }
  .hero__frame { aspect-ratio: 16 / 11; max-height: 52svh; }
  .hero__art { --rad: 240px 240px var(--r) var(--r); }
  .hero__art::before, .hero__art::after { border-radius: 255px 255px calc(var(--r) + var(--mat)) calc(var(--r) + var(--mat)); }
  .hero__media { padding: 20px 20px 24px; }
  .hero__chip { left: 8px; bottom: 30px; }
  .seal { width: 108px; height: 108px; left: auto; right: 4px; top: 4px; }
  .seal__logo { width: 52px; height: 52px; }
  .rooms__head, .comfort__grid, .loc__grid, .book__grid, .faq__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr 1fr; }
  .rev--big { grid-column: span 2; grid-row: auto; }
  .comfort__media { max-width: 560px; margin-left: auto; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cta { flex-direction: column; align-items: flex-start; }
  .rd { grid-template-columns: 1fr; grid-template-rows: 46% 1fr; }
}
@media (max-width: 900px) {
  /* quartos: deslizar com o dedo em vez de fixar */
  .rooms__pin { min-height: 0; padding-block: 96px 64px; }
  .rooms__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rooms__viewport::-webkit-scrollbar { display: none; }
  .rooms__track { transform: none !important; }
  .room { width: min(82vw, 400px); scroll-snap-align: center; }
  .card__img { max-height: none; }
  .rooms__foot { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .nav__end .lang, .nav__end .btn--sm { display: none; }
  .lang--menu { display: flex; }
  .brand__name { font-size: 23px; }
  .hero__title { font-size: clamp(46px, 12.5vw, 64px); }
  .bookbar { grid-template-columns: 1fr 1fr; border-radius: 18px; }
  .bookbar__f { padding: 10px 12px; }
  .bookbar__f:nth-child(3) { grid-column: span 2; box-shadow: 0 -1px 0 var(--line); }
  .house__stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .ph { --mat: 9px; }
  .ph::before, .hero__art::after { --k: .55; }
  .house__photos { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .ph--a { grid-column: span 2; }
  .ph--b, .ph--c, .ph--d { grid-column: span 1; margin-top: 0; }
  .ph--b { grid-row: span 2; aspect-ratio: auto; height: 100%; }
  .ph--c, .ph--d { aspect-ratio: 1; }
  .amen { grid-template-columns: 1fr; }
  .comfort__media { padding-bottom: 60px; }
  .ph--small { left: auto; right: -6px; width: 46%; }
  .reviews__head { flex-direction: column; align-items: flex-start; }
  .reviews__grid { grid-template-columns: 1fr; }
  .rev--big { grid-column: auto; }
  .loc__view { width: 50%; right: -6px; }
  .book__wine { display: none; }
  .engine iframe { height: 720px; }
  .foot__cols { grid-template-columns: 1fr; gap: 24px; }
  .foot__btns, .foot__btns .btn { width: 100%; }
  .wa-float { display: none; }
  .bform__f { padding: 10px 12px; }
  .bform input { font-size: 15px; }
  .mbar__wa { flex: none; width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; }
  .mbar__wa svg { width: 26px; height: 26px; fill: currentColor; }
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(244, 239, 231, .97); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .5s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar .btn { flex: 1; }
  .acc__body p { padding-right: 0; }
  .room-dlg, .book-dlg { width: 100vw; }
  .rd, .bd { height: 100svh; border-radius: 0; }
  .rd__info { padding: 24px 20px 0; }
  .rd { grid-template-rows: 40% 1fr; }
  .rd__title { font-size: 40px; margin-bottom: 16px; }
  .rd__actions { flex-wrap: nowrap; padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .rd__actions .btn { flex: 1 1 0; min-width: 0; padding: 0 12px; font-size: 14.5px; white-space: normal; text-align: center; line-height: 1.2; }
  .rd__thumbs button { width: 72px; }
  .rd__nav { top: calc(50% - 50px); width: 42px; height: 42px; }
}

/* ---------- Menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .tour__frame { clip-path: none; }
}
