@font-face { font-family: 'Schibsted'; src: url('/assets/fonts/schibsted-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Schibsted'; src: url('/assets/fonts/schibsted.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Hanken'; src: url('/assets/fonts/hanken-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Hanken'; src: url('/assets/fonts/hanken-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  /* paleta.json (docs/proposals/acerca) */
  --fundo: #FAFAF7; --superficie: #D9ECEA; --texto: #2A1A1A; --primaria: #7A1C1C; --acento: #D9A126;
  --wine-deep: #4E1010; --muted: #5E4B4B; --line: rgba(42, 26, 26, .14);
  --r: 6px; --wrap: 1200px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px; --s9: 112px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 400 17px/1.6 'Hanken', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
::selection { background: var(--acento); color: var(--texto); }
a, button, .btn, select, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
input, textarea { caret-color: var(--primaria); }
li { text-wrap: pretty; }
h1, h2, h3 { font-family: 'Schibsted', system-ui, sans-serif; font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 var(--s4); text-wrap: balance; }
h2 { font-size: clamp(28px, 3.4vw, 44px); }
h3 { font-size: 22px; }
p { margin: 0 0 var(--s4); text-wrap: pretty; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--primaria); padding: 8px 14px; z-index: 50; border-radius: var(--r); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 2px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r); border: 0; font: 600 16px/1 'Hanken', sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; transition: transform .16s var(--ease), background-color .2s, box-shadow .2s; }
.btn:active { transform: scale(.96); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.btn--ochre { background: var(--acento); color: #2A1A1A; }
.btn--ochre:hover { background: #E7B23A; }
.btn--wine { background: var(--primaria); color: #fff; }
.btn--wine:hover { background: #8E2525; }
.btn--dark { background: var(--texto); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--light { background: #fff; color: var(--primaria); }
.btn--light:hover { background: var(--superficie); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: var(--primaria); color: #fff; }
.nav__row { display: flex; align-items: center; gap: var(--s6); height: 68px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand__mark { font: 800 26px/1 'Schibsted', sans-serif; letter-spacing: -.02em; }
.brand__sub { font-size: 12px; letter-spacing: .04em; opacity: .82; margin-top: 4px; }
.nav__links { display: flex; gap: var(--s5); margin-left: auto; }
.nav__links a, .lang { text-decoration: none; font-weight: 600; font-size: 15px; background: linear-gradient(currentColor, currentColor) left calc(100% - 6px) / 0 2px no-repeat; padding: 12px 2px; transition: background-size .25s var(--ease); }
.nav__links a:hover, .lang:hover, .nav__links a[aria-current] { background-size: 100% 2px; }
.nav__end { display: flex; align-items: center; gap: var(--s4); }
.burger { display: none; width: 44px; height: 44px; background: transparent; border: 0; color: #fff; cursor: pointer; padding: 10px; }
.burger i { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s; }
.burger[aria-expanded='true'] i:first-of-type { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded='true'] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
.menu { background: var(--wine-deep); padding: var(--s3) 20px var(--s5); }
.menu a { display: block; color: #fff; text-decoration: none; font: 700 20px/1 'Schibsted', sans-serif; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); }

/* hero (Fase C): the pool photo is the hero; the title sits in the clean Algarve sky, no veil.
   object-position keeps the deep-blue top of the sky behind the title (white 800 ≥ 3:1, large text). */
.hero { position: relative; overflow: hidden; background: #4776BA; height: clamp(480px, calc(100svh - 218px), 760px); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__sky { position: relative; padding-top: clamp(28px, 4.2vh, 44px); }
.hero__title { color: #fff; font-size: clamp(40px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.03em; margin: 0; max-width: none; white-space: nowrap; }

/* booking band right under the photo: the date search, outside the hero */
.booking { background: var(--primaria); color: #fff; padding: var(--s5) 0 var(--s6); }
.hero__title span { display: inline-block; }
.booking__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--s4) var(--s6); align-items: center; }
.booking__lead { margin: 0; font-size: 17px; line-height: 1.5; color: #F6E9E9; max-width: 34ch; }
@media (min-width: 1001px) { .booking .search { grid-template-columns: 1.55fr 1.45fr 1fr auto; } }
@media (max-width: 1200px) { .booking__in { grid-template-columns: 1fr; } .booking__lead { max-width: 62ch; } }

/* date search: apartment, real dates on our own calendar, guests */
.search { position: relative; display: grid; grid-template-columns: 1.25fr 1.6fr 1fr auto; align-items: stretch; background: var(--wine-deep); border-radius: 14px; padding: 6px; }
.search__f { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 8px 18px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #EBCFCF; position: relative; transition: background-color .2s var(--ease); }
.search__f + .search__f::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: rgba(255,255,255,.16); }
.search__f:hover, .search__f:focus-within, .search.is-open .search__f--dates { background: rgba(255,255,255,.07); }
.search__f:hover::before, .search__f:hover + .search__f::before, .search__f:focus-within::before, .search__f:focus-within + .search__f::before { opacity: 0; }
.search select, .search__dates { appearance: none; -webkit-appearance: none; border: 0; margin: 0; padding: 2px 22px 2px 0; min-height: 30px; font: 600 17px/1.3 'Hanken', sans-serif; color: #fff; background: transparent no-repeat right center / 12px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23D9A126' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); cursor: pointer; width: 100%; text-align: left; }
.search select { background-color: transparent; }
.search select:focus-visible, .search__dates:focus-visible { outline: 2px solid var(--acento); outline-offset: 4px; border-radius: 4px; }
.search option { color: var(--texto); background: #fff; }
.search__dates { display: flex; align-items: center; gap: 8px; background-image: none; padding-right: 0; font-variant-numeric: tabular-nums; }
.search__dates svg { flex: none; color: var(--acento); }
.search__go { border-radius: 8px; min-height: 60px; padding: 0 26px; font-size: 16px; }
.search__pop { position: absolute; z-index: 15; top: calc(100% + 10px); left: 0; width: min(720px, 100%); background: #fff; color: var(--texto); border-radius: 14px; padding: var(--s5); box-shadow: 0 28px 56px -24px rgba(42, 26, 26, .45), 0 2px 8px rgba(42, 26, 26, .12); transform-origin: 30% 0; }
.search__pop .cal { --cp: 0px; padding: 0; margin: 0; }
.search__popfoot { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); border-top: 1px solid var(--line); margin-top: var(--s3); padding-top: var(--s4); }
.search__popfoot .help { margin: 0; }
@media (prefers-reduced-motion: no-preference) { .search__pop:not([hidden]) { animation: pop .2s cubic-bezier(.2, 0, 0, 1); } }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
/* compact variant inside the apartment-page booking box */
.search--box { grid-template-columns: 1fr 1fr; gap: 8px; background: transparent; padding: 0; border-radius: 0; }
.search--box .search__f { background: #fff; color: var(--muted); padding: 8px 14px; }
.search--box .search__f::before { display: none; }
.search--box .search__f:hover, .search--box .search__f:focus-within { background: #fff; box-shadow: inset 0 0 0 1.5px var(--primaria); }
.search--box .search__f--dates { grid-column: 1 / -1; order: -1; }
.search--box select, .search--box .search__dates { color: var(--texto); background-color: #fff; }
.search--box .search__go { min-height: 52px; }
.search--box .search__pop { width: 100%; padding: var(--s4); }
.search--box .cal__m + .cal__m { display: none; }
.search--box .cal__months { grid-template-columns: 1fr; }

/* units */
.units { padding: calc(var(--s9) + 10px) 0 var(--s8); }
.units__head { display: flex; align-items: end; justify-content: space-between; gap: var(--s5); }
.units__nav { display: flex; gap: var(--s2); }
.arrow { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1.5px solid var(--primaria); background: transparent; color: var(--primaria); cursor: pointer; transition: background-color .2s, color .2s, transform .16s var(--ease); }
.arrow:disabled { opacity: .35; cursor: default; }
.arrow:disabled:hover { background: transparent; color: var(--primaria); }
.arrow:hover { background: var(--primaria); color: #fff; }
.arrow:active:not(:disabled) { transform: scale(.96); }
.rail, .strip, .ugal__thumbs { scrollbar-color: rgba(122, 28, 28, .45) transparent; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: var(--s5); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--s3) max(20px, calc((100vw - var(--wrap)) / 2)) var(--s5); scrollbar-width: thin; scroll-padding-inline: max(20px, calc((100vw - var(--wrap)) / 2)); }
.unit { scroll-snap-align: start; display: flex; flex-direction: column; }
.unit--wide { grid-column: span 1; }
.unit__img { display: block; overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 3; outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.unit__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.unit:hover .unit__img img { transform: scale(1.04); }
.unit__body { padding-top: var(--s4); display: flex; flex-direction: column; flex: 1; }
.unit__body h3 { margin-bottom: 6px; }
.unit__body h3 a { text-decoration: none; }
.unit__facts { font-size: 14px; font-weight: 600; color: var(--primaria); margin-bottom: 8px; }
.unit__body p { color: var(--muted); }
.unit__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: var(--s3); color: var(--texto) !important; }
.price b { font: 800 20px 'Schibsted', sans-serif; }
.score { display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 8px; border-radius: var(--r) var(--r) var(--r) 0; background: var(--primaria); color: #fff; font: 700 15px 'Hanken', sans-serif; font-variant-numeric: tabular-nums; }

/* patio */
.patio { background: var(--superficie); padding: var(--s8) 0; }
.patio__head { margin-bottom: var(--s6); }
.patio__head h2 { margin-bottom: var(--s3); }
.patio__head p { font-size: 18px; max-width: 58ch; margin: 0; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 280px; grid-template-rows: 220px 220px; gap: var(--s3); overflow-x: auto; scroll-snap-type: x proximity; padding: 0 max(20px, calc((100vw - var(--wrap)) / 2)) var(--s4); }
.strip__item { padding: 0; border: 0; border-radius: var(--r); overflow: hidden; cursor: zoom-in; scroll-snap-align: start; background: #cfe3e1; }
.strip__item--lead { grid-row: span 2; grid-column: span 2; }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.strip__item:hover img { transform: scale(1.05); }

/* proof */
.proof { padding: var(--s8) 0; }
.proof__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s8); align-items: center; }
.quote { margin: var(--s5) 0 0; }
.quote::before { content: '\201C'; display: block; font: 800 88px/.7 'Schibsted', sans-serif; color: var(--acento); margin-bottom: var(--s2); }
.quote p { font: 700 clamp(20px, 2vw, 26px)/1.35 'Schibsted', sans-serif; letter-spacing: -.01em; }
.quote footer { color: var(--muted); font-size: 15px; }
.scores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4) var(--s5); }
.scores li { display: flex; align-items: center; gap: var(--s3); }
.scores__n { font: 800 30px/1 'Schibsted', sans-serif; color: var(--primaria); min-width: 2.2ch; }
.scores small { display: block; color: var(--muted); font-size: 13px; }
.scores li > span:last-child { font-weight: 600; }

/* where */
.where { background: var(--wine-deep); color: #fff; padding: var(--s8) 0; }
.where__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); align-items: center; }
.where p { color: #F2E3E3; }
.near { margin: var(--s5) 0; }
.near div { display: flex; justify-content: space-between; gap: var(--s4); padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.near dt { font-weight: 600; }
.near dd { margin: 0; color: var(--acento); font-weight: 600; text-align: right; }
.where__img { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; outline: 1px solid oklch(1 0 0 / .1); outline-offset: -1px; }

/* rules */
.rules { background: var(--superficie); padding: var(--s8) 0; }
.rules__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--s7); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 18px 0; font: 700 19px 'Schibsted', sans-serif; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 26px; color: var(--primaria); transition: transform .25s var(--ease); }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc p { color: var(--muted); max-width: 60ch; padding-bottom: var(--s3); }

/* cta + footer */
.cta { background: var(--acento); padding: var(--s7) 0; }
.cta__row { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); }
.cta__t { font: 800 clamp(22px, 2.6vw, 32px)/1.15 'Schibsted', sans-serif; margin: 0; max-width: 28ch; letter-spacing: -.01em; }
.foot { background: #2A0D0D; color: #EBDADA; padding: var(--s8) 0 var(--s5); font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s6); }
.foot__brand { font: 800 28px 'Schibsted', sans-serif; color: #fff; }
.foot__h { font-weight: 600; color: var(--acento); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot__legal { display: flex; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.14); margin-top: var(--s7); padding-top: var(--s5); font-size: 14px; }
.foot__legal p { margin: 0; }

/* unit page */
.uhead { background: var(--primaria); color: #fff; padding: var(--s6) 0 var(--s8); }
.uhead--short { padding-bottom: var(--s7); }
.uhead h1 { font-size: clamp(36px, 5vw, 60px); margin-bottom: var(--s3); }
.uhead__facts { color: #F6E9E9; font-size: 18px; margin: 0; }
.uhead__facts a { color: #fff; }
.crumb { font-size: 14px; color: #F0DADA; margin-bottom: var(--s3); }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.upage { background: var(--fundo); }
.ugal { margin-top: calc(-1 * var(--s7)); }
.ugal__main { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--superficie); outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; }
.ugal__main img { width: 100%; height: 100%; object-fit: cover; }
.ugal__thumbs { display: flex; gap: var(--s2); overflow-x: auto; padding: var(--s3) 0; scroll-snap-type: x proximity; }
.thumb { flex: 0 0 120px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: var(--r); overflow: hidden; cursor: pointer; scroll-snap-align: start; opacity: .78; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover, .thumb[aria-current='true'] { opacity: 1; border-color: var(--primaria); }
.ubody { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--s7); padding: var(--s7) 0 var(--s8); align-items: start; }
.ubody h2 { font-size: 26px; margin-top: var(--s6); }
.ubody h2:first-child { margin-top: 0; }
.lead { font-size: 19px; }
.incl { columns: 2; gap: var(--s6); padding-left: 18px; margin: 0; }
.incl li { margin-bottom: 8px; break-inside: avoid; }
.incl li::marker { color: var(--acento); }
.incl--rules { columns: 1; }
.ubox { position: sticky; top: 92px; background: var(--superficie); border-radius: calc(var(--r) + 4px); padding: var(--s5); }
.ubox__p { font-size: 18px; margin-bottom: 6px; }
.ubox__s { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.ubox__n { font-size: 14px; color: var(--muted); margin: var(--s3) 0 0; }
.more { background: var(--superficie); padding: var(--s7) 0 var(--s8); }
.more__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.more__item { text-decoration: none; }
.more__item img { border-radius: var(--r); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; outline: 1px solid oklch(0 0 0 / .1); outline-offset: -1px; transition: transform .4s var(--ease); }
.more__item:hover img { transform: translateY(-3px); }
.more__item span { display: block; padding-top: 8px; color: var(--muted); }
.more__item b { color: var(--texto); margin-right: 6px; }

/* booking */
.bpage { background: var(--superficie); min-height: 60vh; }
.book { display: grid; grid-template-columns: 1.6fr 1fr; gap: var(--s7); padding: var(--s7) 0 var(--s8); align-items: start; }
.bform fieldset { border: 0; padding: 0; margin: 0 0 var(--s6); }
.bform legend { font: 800 22px 'Schibsted', sans-serif; margin-bottom: var(--s4); }
.bform label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; margin-bottom: var(--s4); }
.bform input:not([type=radio]), .bform select, .bform textarea { font: 400 16px 'Hanken', sans-serif; color: var(--texto); background: #fff; border: 1.5px solid #B9CFCD; border-radius: var(--r); padding: 12px 14px; min-height: 48px; transition: border-color .2s; }
.bform input:focus, .bform select:focus, .bform textarea:focus { border-color: var(--primaria); outline: 2px solid rgba(122, 28, 28, .25); outline-offset: 0; }
.bform [aria-invalid='true'] { border-color: #B3261E; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s3); }
.pick__item { position: relative; display: block !important; margin: 0 !important; background: #fff; border-radius: var(--r); overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color .2s, transform .16s; }
.pick__item input { position: absolute; opacity: 0; }
.pick__item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.pick__item span { display: block; padding: 8px 10px 10px; font-weight: 400; font-size: 13px; color: var(--muted); }
.pick__item b { display: block; color: var(--texto); font-size: 15px; }
.pick__item em { display: block; font-style: normal; font-weight: 600; color: var(--primaria); margin-top: 2px; font-variant-numeric: tabular-nums; }
.pick__item:hover:not(:has(input:checked)) { border-color: rgba(122, 28, 28, .35); }
.pick__item:has(input:checked) { border-color: var(--primaria); }
.pick__item:has(input:checked)::after { content: '✓'; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--primaria); color: #fff; display: grid; place-items: center; font-size: 14px; }
.pick__item:has(input:focus-visible) { outline: 3px solid var(--acento); }
.cal { --cp: var(--s4); position: relative; background: #fff; border-radius: 10px; padding: var(--cp); margin-bottom: var(--s3); }
.cal__prev, .cal__next { position: absolute; top: var(--cp); z-index: 1; }
.cal__prev { left: var(--cp); }
.cal__next { right: var(--cp); }
.cal .arrow { width: 40px; height: 40px; }
.cal__mt { font: 700 17px/40px 'Schibsted', sans-serif; text-align: center; margin: 0 0 var(--s2); }
.cal__months { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.cal__g { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; }
.cal__g span { font-size: 12px; color: var(--muted); padding: 4px 0; }
.cal__g button { aspect-ratio: 1; min-height: 40px; border: 0; background: transparent; border-radius: var(--r); transition: background-color .15s; font: 600 14px 'Hanken', sans-serif; color: var(--texto); cursor: pointer; font-variant-numeric: tabular-nums; }
.cal__g button:hover:not(:disabled) { background: var(--superficie); }
.cal__g button:disabled { color: #B5A9A9; cursor: not-allowed; text-decoration: line-through; }
.cal__g button.is-range { background: #F2DCDC; border-radius: 0; }
.cal__g button.is-start, .cal__g button.is-end { background: var(--primaria); color: #fff; border-radius: var(--r); }
.help { font-size: 14px; color: var(--muted); }
.err { background: #FBE9E7; color: #8C1D18; padding: 12px 14px; border-radius: var(--r); font-weight: 600; }
.notice { font-size: 14px; color: var(--muted); margin-top: var(--s4); }
.bsum { position: sticky; top: 92px; background: var(--primaria); color: #fff; border-radius: calc(var(--r) + 4px); padding: var(--s5); }
.bsum h2 { font-size: 24px; }
.bsum img { border-radius: var(--r); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: var(--s4); outline: 1px solid oklch(1 0 0 / .12); outline-offset: -1px; }
.bsum dl div { display: flex; justify-content: space-between; gap: var(--s3); padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.bsum dt { color: #F0DADA; }
.bsum dd { margin: 0; font-weight: 600; text-align: right; }
.bsum .help { color: #F0DADA; margin-top: var(--s4); }
.bsum a { color: #fff; }
.conf { padding: var(--s7) 0 var(--s8); }
.conf__dl { background: #fff; border-radius: var(--r); padding: var(--s5); max-width: 640px; }
.conf__dl div { display: flex; justify-content: space-between; gap: var(--s4); padding: 10px 0; border-bottom: 1px solid var(--line); }
.conf__dl dd { margin: 0; font-weight: 600; }
.legal { padding: var(--s7) 0 var(--s8); max-width: 760px; }
.legal h2 { font-size: 22px; margin-top: var(--s6); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 40; background: rgba(30, 8, 8, .94); display: grid; place-items: center; padding: 56px; overscroll-behavior: contain; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--r); }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: background-color .2s, transform .16s var(--ease); }
.lightbox button:active { transform: scale(.96); }
.lightbox button:hover { background: rgba(255,255,255,.24); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; }
.lb__next { right: 16px; top: 50%; }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(14px); animation: rise .7s var(--ease) forwards; }
  .js [data-rise] + [data-rise] { animation-delay: .12s; }
  .js [data-reveal] { transform: scale(1.04); transition: transform 1.2s var(--ease); }
  .js [data-reveal].is-in { transform: none; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .unit:hover .unit__img img, .strip__item:hover img, .more__item:hover img { transform: none; }
  .btn:active, .arrow:active:not(:disabled), .lightbox button:active { transform: none; }
}

/* responsive */
@media (max-width: 1000px) {
  .search:not(.search--box) { grid-template-columns: 1fr 1fr; }
  .search:not(.search--box) .search__f--dates { grid-column: 1 / -1; order: -1; }
  .search:not(.search--box) .search__go { grid-column: 1 / -1; }
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__end { margin-left: auto; }
  .patio__head, .proof__grid, .where__grid, .rules__grid, .ubody, .book { grid-template-columns: 1fr; gap: var(--s5); }
  .more__grid { grid-template-columns: repeat(2, 1fr); }
  .ubox, .bsum { position: static; }
  .where__img { aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .nav__row { height: 60px; gap: var(--s3); }
  .brand__mark { font-size: 22px; }
  .lang { display: none; }
  .hero { height: clamp(420px, calc(100svh - 240px), 600px); }
  .hero__sky { padding-top: 22px; }
  .hero__title { font-size: clamp(32px, 9.6vw, 40px); white-space: normal; max-width: none; }
  .booking { padding: var(--s5) 0; }
  .booking__lead { font-size: 16px; }
  .search:not(.search--box) { grid-template-columns: 1fr; gap: 2px; }
  .search:not(.search--box) .search__f--unit, .search:not(.search--box) .search__f--dates, .search__go { grid-column: 1 / -1; }
  .search:not(.search--box) .search__f + .search__f::before { display: none; }
  .search:not(.search--box) .search__f { background: rgba(255,255,255,.05); }
  .search__go { min-height: 52px; margin-top: 4px; }
  .search__pop { position: static; grid-column: 1 / -1; width: auto; margin: 2px 0 4px; padding: var(--s4); box-shadow: none; order: -1; }
  .search .search__f--dates { order: -2; }
  .search .cal__m + .cal__m { display: none; }
  .search .cal__months { grid-template-columns: 1fr; }
  .units { padding-top: var(--s7); }
  .rail { grid-auto-columns: 82vw; }
  .strip { grid-auto-columns: 62vw; grid-template-rows: 180px 180px; }
  .scores { grid-template-columns: 1fr; }
  .cta__row, .foot__grid { grid-template-columns: 1fr; flex-direction: column; align-items: flex-start; display: flex; }
  .incl { columns: 1; }
  .row2, .cal__months { grid-template-columns: 1fr; }
  .pick { grid-template-columns: repeat(2, 1fr); }
  .pick__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .pick__item:last-child:nth-child(odd) img { aspect-ratio: 16 / 7; }
  .cal__m + .cal__m { display: none; }
  .ugal { margin-top: calc(-1 * var(--s6)); width: 100%; }
  .ugal__main { border-radius: 0; aspect-ratio: 4 / 3; }
  .ugal__thumbs { padding-inline: 20px; }
  .lightbox { padding: 12px; }
}

.js .row2--dates { display: none; }
.where__img, .strip__item { overflow: hidden; }

/* Fase B · Detalhe (01/11): 320px overflow, touch targets */
.book > *, .units__head > * { min-width: 0; }
.units__head { flex-wrap: wrap; }
.foot li { margin-bottom: 2px; }
.foot li a, .foot p a, .crumb a { display: inline-block; padding: 6px 0; }
.foot p { line-height: 1.5; }
@media (max-width: 360px) {
  .pick { gap: var(--s2); }
  .pick__item span { padding: 6px 8px 8px; }
}
.uhead__cta { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; margin-top: var(--s5); }
.lang404 { color: #fff; padding: 12px 4px; }
.crumb span[aria-current] { color: #fff; }
.conf .help a { color: var(--primaria); }
.bform fieldset { min-width: 0; }
@media (max-width: 360px) {
  .cal { --cp: 8px; }
  .cal__g { gap: 1px; }
  .cal__g button { min-height: 36px; }
}
.booking__in > *, .search > *, .ubody > * { min-width: 0; }
@media (max-width: 360px) { .search__pop { padding: var(--s3); } }
.bpage--404 { min-height: 0; } .bpage--404 .uhead { min-height: 60vh; }
