/* Casas Vale Martinho — main stylesheet. No framework, no build step. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC;
}

:root {
  --stone: #f5f1ea;
  --stone-2: #ebe4d8;
  --paper: #fffdf9;
  --ink: #2a2420;
  --ink-soft: #5b524b;
  --brown: #5a4a42;
  --leaf: #84af41;
  --leaf-deep: #557a22;
  --forest: #2f3a2b;
  --line: rgb(42 36 32 / 0.12);

  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.4rem);

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgb(42 36 32 / 0.06), 0 12px 32px -12px rgb(42 36 32 / 0.22);
  --wrap: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 7rem);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf-deep); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; font-variation-settings: "SOFT" 50, "WONK" 0; }
address { font-style: normal; margin-bottom: 1em; }
abbr[title] { text-decoration: none; color: var(--leaf-deep); }
.h1 { font-size: var(--step-4); }
.h2 { font-size: var(--step-3); }
.h3 { font-size: var(--step-2); }
.lead { font-size: var(--step-1); color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--ink-soft); }
.fine { font-size: var(--step--1); color: var(--ink-soft); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li + li { margin-top: 0.35em; }
.stack > * + * { margin-top: 1.25rem; }
.stack-xl > * + * { margin-top: clamp(3rem, 7vw, 6rem); }
.rounded img, img.rounded { border-radius: var(--radius-lg); }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

.eyebrow {
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--leaf-deep); margin-bottom: 0.9rem; display: inline-flex; align-items: center; gap: 0.6em;
}
.eyebrow::before { content: ""; width: 1.8em; height: 1px; background: currentColor; }
.eyebrow--light { color: #d9ecb8; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--forest); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.5em; border-radius: 999px; border: 1.5px solid var(--bg);
  background: var(--bg); color: var(--fg); font: 600 var(--step-0)/1.1 var(--sans);
  text-decoration: none; cursor: pointer; transition: transform 0.15s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { --bg: var(--leaf-deep); color: var(--fg); transform: translateY(-1px); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.btn--small { padding: 0.6em 1.1em; font-size: var(--step--1); }
.btn--block { width: 100%; }
.btn--light { --bg: #fff; --fg: var(--forest); }
.btn--light:hover { --bg: var(--leaf); --fg: var(--forest); }
.btn--leaf { --bg: var(--leaf); --fg: #1f2a17; }
.btn--leaf:hover { --bg: #9cc65a; --fg: #1f2a17; }
.btn--ghost-light { --bg: transparent; --fg: #fff; border-color: rgb(255 255 255 / 0.7); }
.btn--ghost-light:hover { --bg: #fff; --fg: var(--forest); border-color: #fff; }
.btn--outline { --bg: transparent; --fg: var(--forest); border-color: var(--forest); }
.btn--outline:hover { --bg: var(--forest); --fg: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.link-arrow { font-weight: 600; text-decoration: none; color: var(--forest); border-bottom: 1.5px solid var(--leaf); padding-bottom: 2px; }
.link-arrow::after { content: " →"; transition: margin 0.2s; }
.link-arrow:hover::after { margin-left: 0.25em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(245 241 234 / 0.9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--brown); text-decoration: none; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__text { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.brand__text small { display: block; font-family: var(--sans); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--leaf-deep); margin-bottom: 0.2rem; }
.brand--light, .brand--light .brand__text small { color: #fff; }
.brand--light .brand__text small { color: #cfe6a6; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.97rem; padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover, .site-nav ul a[aria-current="page"] { border-bottom-color: var(--leaf); color: var(--forest); }
.lang-switch { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; color: var(--ink); text-decoration: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 0.35rem 0.7rem; }
.lang-switch:hover { border-color: var(--forest); }
.nav-toggle { display: none; }

/* Header overlaying the home hero */
.site-header--overlay { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background 0.3s, border-color 0.3s; }
.site-header--overlay:not(.is-scrolled) .brand,
.site-header--overlay:not(.is-scrolled) .site-nav ul a,
.site-header--overlay:not(.is-scrolled) .lang-switch { color: #fff; }
.site-header--overlay:not(.is-scrolled) .brand__text small { color: #d9ecb8; }
.site-header--overlay:not(.is-scrolled) .lang-switch { border-color: rgb(255 255 255 / 0.5); }
.site-header--overlay:not(.is-scrolled) .brand__mark path:first-child { stroke: #fff; }
.site-header--overlay.is-scrolled { background: rgb(245 241 234 / 0.92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-color: var(--line); top: 0; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; color: inherit; padding: 0;
  }
  .site-header--overlay:not(.is-scrolled) .nav-toggle { color: #fff; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
  .nav-toggle__bars { position: relative; }
  .nav-toggle__bars::before { position: absolute; top: -7px; }
  .nav-toggle__bars::after { position: absolute; top: 7px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 1rem;
    background: var(--stone); padding: 1.25rem var(--gutter) 2rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .site-header.is-open .site-nav { opacity: 1; transform: none; visibility: visible; }
  .site-header.is-open { background: var(--stone); }
  .site-header.is-open .brand, .site-header.is-open .nav-toggle { color: var(--brown) !important; }
  .site-header.is-open .brand__mark path:first-child { stroke: var(--brown) !important; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a, .site-header--overlay:not(.is-scrolled) .site-nav ul a { display: block; padding: 0.85rem 0; font-size: 1.2rem; font-family: var(--serif); color: var(--ink); border-bottom: 1px solid var(--line); }
  .site-header--overlay:not(.is-scrolled) .site-nav .lang-switch { color: var(--ink); border-color: var(--line); }
  .lang-switch { align-self: flex-start; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: grid; align-items: end; color: #fff; isolation: isolate; overflow: hidden; }
.hero picture, .hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__img { object-position: 50% 60%; }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 24 16 / 0.55) 0%, rgb(20 24 16 / 0.05) 30%, rgb(20 24 16 / 0.15) 55%, rgb(20 24 16 / 0.78) 100%); }
.hero__content { padding-block: calc(var(--header-h) + 4rem) clamp(3rem, 9vh, 6rem); }
.hero__title { font-size: var(--step-4); font-weight: 400; line-height: 1; margin-bottom: 1.25rem; text-wrap: balance; }
.hero__title span { display: inline-block; }
.hero__title span:nth-child(2) { font-style: italic; color: #d9ecb8; }
.hero__text { font-size: var(--step-1); max-width: 40ch; color: rgb(255 255 255 / 0.92); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: hero-zoom 18s ease-out both; }
  .hero__content > * { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .hero__content > *:nth-child(2) { animation-delay: 0.1s; }
  .hero__content > *:nth-child(3) { animation-delay: 0.2s; }
  .hero__content > *:nth-child(4) { animation-delay: 0.3s; }
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.page-hero--compact { padding-bottom: 1.5rem; }
.page-hero--center { text-align: center; min-height: 55vh; display: grid; place-items: center; }
.page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }
.page-hero--image { position: relative; color: #fff; isolation: isolate; min-height: clamp(360px, 58vh, 620px); display: grid; align-items: end; overflow: hidden; }
.page-hero--image picture, .page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 24 16 / 0.1), rgb(20 24 16 / 0.72)); }
.page-hero--image .lead { color: rgb(255 255 255 / 0.9); }
.page-hero .h1 { text-wrap: balance; max-width: 18ch; }
.crumb { font-size: var(--step--1); margin-bottom: 1rem; }
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a::before { content: "← "; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--stone-2); }
.section--dark { background: var(--forest); color: #f1efe8; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }

.split { display: grid; gap: clamp(2rem, 5vw, 5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--reverse .split__text { order: 2; }
}
.split__text { max-width: 60ch; }

.collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; }
.collage__a { grid-column: 1 / 11; grid-row: 1; border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.collage__b { grid-column: 7 / 13; grid-row: 1; transform: translateY(18%); border-radius: var(--radius); box-shadow: var(--shadow); border: 6px solid var(--stone); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.collage picture { display: contents; }

.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .highlights { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .highlights { grid-template-columns: repeat(4, 1fr); } }
.highlight h3 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.highlight p { color: var(--ink-soft); margin: 0; }
.highlight__n { display: block; font-family: var(--serif); font-style: italic; color: var(--leaf-deep); font-size: var(--step-1); margin-bottom: 0.6rem; border-bottom: 1px solid var(--line); padding-bottom: 0.6rem; }

/* Room cards */
.room-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 520px) { .room-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .room-cards { grid-template-columns: repeat(6, 1fr); } .room-card { grid-column: span 2; } .room-card:nth-child(4) { grid-column: 2 / span 2; } }
@media (min-width: 1180px) { .room-cards { grid-template-columns: repeat(5, 1fr); } .room-card, .room-card:nth-child(4) { grid-column: auto; } }
.room-card__link { display: block; height: 100%; text-decoration: none; color: inherit; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; }
.room-card__link:hover { transform: translateY(-4px); color: inherit; box-shadow: 0 2px 4px rgb(42 36 32 / 0.08), 0 22px 44px -18px rgb(42 36 32 / 0.35); }
.room-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.room-card__link:hover .room-card__media img { transform: scale(1.05); }
.room-card__body { padding: 1rem 1.15rem 1.25rem; }
.room-card__tag { font-size: var(--step--1); color: var(--leaf-deep); margin: 0 0 0.2rem; font-weight: 600; }
.room-card__name { font-size: var(--step-1); margin: 0 0 0.5rem; }
.room-card__price { margin: 0; font-weight: 600; }
.room-card__price span { font-weight: 400; color: var(--ink-soft); font-size: var(--step--1); }

/* Image band */
.band { position: relative; isolation: isolate; color: #fff; padding-block: clamp(5rem, 14vw, 10rem); overflow: hidden; }
.band picture, .band__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(20 24 16 / 0.8) 0%, rgb(20 24 16 / 0.45) 55%, rgb(20 24 16 / 0.15) 100%); }
.band__content { max-width: var(--wrap); }
.band__content > * { max-width: 34rem; }
.band__content p:not(.eyebrow) { color: rgb(255 255 255 / 0.9); font-size: var(--step-1); }

/* CTA */
.cta__inner { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta__inner p { color: rgb(241 239 232 / 0.8); margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.cta__phone { color: #fff; font-family: var(--serif); font-size: var(--step-1); text-decoration: none; }
.cta__phone:hover { color: var(--leaf); }

/* Cards, lists */
.card { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding-left: 1.8rem; margin-bottom: 0.55rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.95rem; height: 0.55rem; border-left: 2px solid var(--leaf-deep); border-bottom: 2px solid var(--leaf-deep); transform: rotate(-45deg); }
.ticks--cols { columns: 18rem; column-gap: 2.5rem; }
.ticks--cols li { break-inside: avoid; }
.ticks--small { font-size: var(--step--1); }
.chips { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: var(--step--1); }
.kinds { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.kinds .card p { margin: 0; color: var(--ink-soft); }
.nearby { list-style: none; padding: 0; margin: 0; }
.nearby li { display: flex; justify-content: space-between; padding: 0.75rem 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: var(--step-1); }
.nearby .muted { font-family: var(--sans); font-size: var(--step--1); }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2rem; }

.info-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid--room { grid-template-columns: 1.4fr 1fr; }
  .info-grid--booking { grid-template-columns: 1.6fr 1fr; }
  .info-grid--room .rates { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* Rates */
.rates { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.rates__title { font-size: var(--step-2); margin-bottom: 0; }
.rates__sub { color: var(--ink-soft); font-size: var(--step--1); }
.rates__list { margin: 0 0 1rem; }
.rates__list > div { display: flex; justify-content: space-between; align-items: baseline; padding: 0.7rem 0; border-bottom: 1px dashed var(--line); }
.rates__list dt { color: var(--ink-soft); }
.rates__list dd { margin: 0; font-family: var(--serif); font-size: var(--step-1); font-weight: 600; }
.rates__note { font-size: var(--step--1); color: var(--ink-soft); }

/* Features */
.features { list-style: none; padding: 0; margin: 1.5rem 0 2.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.feature { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem; font-size: var(--step--1); font-weight: 500; }
.feature::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--leaf); }
.feature--accessible { background: #eef5e2; border-color: #c9dea7; }

/* Room gallery */
.room-gallery { display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); }
.room-gallery__item { display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; }
.room-gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
.room-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.room-gallery__item:hover img { transform: scale(1.04); }
@media (min-width: 900px) {
  .room-gallery { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 1fr; }
  .room-gallery__item:first-child { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: auto; }
  .room-gallery__item:nth-child(n + 6) { display: none; }
}
.room-gallery--single { grid-template-columns: 1fr; }
.room-gallery--single .room-gallery__item:first-child { grid-row: auto; aspect-ratio: 16 / 8; max-height: 70vh; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-bottom: var(--section); }
.pager a { display: flex; flex-direction: column; gap: 0.2rem; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: var(--step-1); padding: 1.25rem 0; border-top: 1px solid var(--line); }
.pager a .muted { font-family: var(--sans); font-size: var(--step--1); }
.pager a[rel="next"] { text-align: right; }
.pager a:hover { color: var(--leaf-deep); }

/* Masonry gallery */
.masonry { list-style: none; padding: 0; margin: 0; columns: 3 260px; column-gap: 0.8rem; }
.masonry li { break-inside: avoid; margin-bottom: 0.8rem; }
.masonry a { display: block; border-radius: var(--radius); overflow: hidden; }
.masonry img { width: 100%; transition: transform 0.5s, filter 0.3s; }
.masonry a:hover img { transform: scale(1.03); }

/* Directions */
.directions { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.directions a { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.directions p { margin-top: 0.85rem; display: flex; gap: 0.75rem; }
.step { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 700; font-size: 0.85rem; }

.contact-list { margin: 1.25rem 0; }
.contact-list > div { display: grid; grid-template-columns: 7rem 1fr; padding: 0.5rem 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--ink-soft); }
.contact-list dd { margin: 0; }

/* ---------- Forms ---------- */
.form__grid { display: grid; gap: 1rem 1.1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.35rem; }
.field > span { font-size: var(--step--1); font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1.5px solid #d8d0c3; border-radius: 10px; padding: 0.75rem 0.9rem; min-height: 48px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf-deep); box-shadow: 0 0 0 4px rgb(132 175 65 / 0.25); }
.form.was-validated :invalid { border-color: #b4452f; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; margin: 1.25rem 0 0.5rem; font-size: var(--step--1); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.15rem; accent-color: var(--leaf-deep); flex: none; }
.form__note { font-size: var(--step--1); color: var(--ink-soft); margin: 0.75rem 0 1.25rem; }
.form .btn[type="submit"] { margin-top: 0.75rem; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.is-ok { color: var(--leaf-deep); }
.form-status.is-error { color: #b4452f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: #232b20; color: rgb(241 239 232 / 0.82); padding-top: clamp(3rem, 7vw, 5rem); font-size: 0.95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--leaf); }
.site-footer .btn { color: var(--fg); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.site-footer__brand .brand__text { font-size: 1.6rem; }
.site-footer__tag { font-family: var(--serif); font-style: italic; font-size: var(--step-1); color: #fff; margin: 1rem 0 1.25rem; }
.site-footer__h { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: #cfe6a6; margin-bottom: 1rem; }
.site-footer .fine { color: rgb(241 239 232 / 0.6); }
.complaints { background: #fff; border-radius: 6px; padding: 4px; width: 120px; margin-top: 0.4rem; }
.site-footer__base { margin-top: 3rem; padding-block: 1.5rem 2rem; border-top: 1px solid rgb(255 255 255 / 0.12); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgb(14 16 12 / 0.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1600px); max-height: 84vh; width: auto; height: auto; border-radius: 8px; }
.lightbox__close, .lightbox__nav { position: fixed; background: rgb(255 255 255 / 0.12); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgb(255 255 255 / 0.25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav--prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__caption { position: fixed; bottom: 1rem; left: 0; right: 0; text-align: center; color: rgb(255 255 255 / 0.8); font-size: var(--step--1); margin: 0; }

/* Scroll reveal (only when JS has marked the page) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero__actions, .form, .lightbox { display: none !important; }
  body { background: #fff; }
}

/* <picture> wrappers must fill their cropped containers */
.room-card__media picture, .room-gallery__item picture { display: block; width: 100%; height: 100%; }
.site-header.is-open .brand__text small { color: var(--leaf-deep) !important; }

/* =========================================================
   Motion & effects — all decorative, all off with reduced motion.
   JS only sets CSS custom properties (CSP-safe, no inline styles).
   ========================================================= */

/* Scroll progress bar */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; transform-origin: 0 50%; transform: scaleX(var(--progress, 0)); background: linear-gradient(90deg, var(--leaf-deep), var(--leaf), #c9e29a); }

/* Header hides on scroll down, returns on scroll up */
.site-header { transition: transform 0.35s cubic-bezier(.2,.7,.2,1), background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.site-header.is-hidden:not(.is-open) { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgb(42 36 32 / 0.35); }

/* Desktop nav: underline grows from the left */
@media (min-width: 961px) {
  .site-nav ul a { position: relative; border-bottom: 0; }
  .site-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--leaf); transform: scaleX(0); transform-origin: right; transition: transform 0.35s cubic-bezier(.2,.7,.2,1); }
  .site-nav ul a:hover::after, .site-nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
}

/* Buttons: soft light sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / 0.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s ease; }
.btn:hover::after { transform: translateX(120%); }
.btn--leaf { box-shadow: 0 10px 30px -10px rgb(132 175 65 / 0.7); }

/* Hero: parallax image, words rise in, scroll hint */
.hero__img, .page-hero__img, .band__img { translate: 0 var(--py, 0); will-change: translate; }
.band__img { scale: 1.18; }
.hero__content { opacity: var(--fade, 1); translate: 0 var(--lift, 0); }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; width: 1px; height: 54px; background: rgb(255 255 255 / 0.25); overflow: hidden; opacity: var(--fade, 1); }
.hero__scroll::after { content: ""; position: absolute; inset: 0; background: #fff; transform: translateY(-100%); }
@media (max-width: 700px) { .hero__scroll { display: none; } }

/* Marquee band */
.marquee { overflow: hidden; padding-block: clamp(1.2rem, 3vw, 2rem); background: var(--paper); border-block: 1px solid var(--line); }
.marquee__track { display: flex; width: max-content; }
.marquee__group { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 2.5rem); margin: 0; padding-right: clamp(1.2rem, 3vw, 2.5rem); font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 4vw, 4.5rem); font-weight: 300; line-height: 1; color: var(--forest); white-space: nowrap; }
.marquee__group span:nth-of-type(even) { font-style: italic; color: var(--leaf-deep); }
.marquee .brand__mark { width: 0.7em; height: 0.7em; flex: none; }

/* Room cards: tilt + light that follows the pointer (set by JS on fine pointers) */
.room-card__link { position: relative; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); }
.room-card__link:hover { --ty: -6px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty)); }
.room-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / 0.28), transparent 45%); }
.room-card__link:hover::after { opacity: 1; }
.room-card__media { position: relative; }
.room-card__media::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgb(20 24 16 / 0.25)); opacity: 0; transition: opacity 0.4s; }
.room-card__link:hover .room-card__media::after { opacity: 1; }

/* Gallery hover: gentle darkening + zoom icon */
.room-gallery__item, .masonry a { position: relative; }
.room-gallery__item::after, .masonry a::after { content: "+"; position: absolute; right: 0.8rem; bottom: 0.8rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / 0.9); color: var(--forest); font-size: 1.4rem; line-height: 1; opacity: 0; transform: scale(0.7); transition: opacity 0.3s, transform 0.3s; }
.room-gallery__item:hover::after, .masonry a:hover::after { opacity: 1; transform: none; }

/* Lightbox opens with a fade/zoom */
.lightbox[open] img { animation: lb-in 0.35s cubic-bezier(.2,.7,.2,1); }
.lightbox[open]::backdrop { animation: fade-in 0.3s ease; }
@keyframes lb-in { from { opacity: 0; transform: scale(0.96); } }
@keyframes fade-in { from { opacity: 0; } }

@media (prefers-reduced-motion: no-preference) {
  /* Cross-page fade in browsers that support it */
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation: 0.25s ease both vt-out; }
  ::view-transition-new(root) { animation: 0.4s ease both vt-in; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

  /* Hero title: each word rises out of a soft blur */
  .hero__content > .hero__title { animation: none; }
  .hero__title span { animation: word-in 1.1s cubic-bezier(.2,.7,.2,1) both; }
  .hero__title span:nth-child(1) { animation-delay: 0.15s; }
  .hero__title span:nth-child(2) { animation-delay: 0.32s; }
  .hero__title span:nth-child(3) { animation-delay: 0.49s; }
  .hero__content > .hero__text { animation-delay: 0.7s; }
  .hero__content > .hero__actions { animation-delay: 0.85s; }
  .hero__scroll::after { animation: scroll-hint 2.4s cubic-bezier(.6,0,.2,1) 1.4s infinite; }

  /* Inner page heroes */
  .page-hero__img { animation: hero-zoom 14s ease-out both; }
  .page-hero__content > * { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .page-hero__content > *:nth-child(2) { animation-delay: 0.1s; }
  .page-hero__content > *:nth-child(3) { animation-delay: 0.2s; }
  .page-hero__content > *:nth-child(4) { animation-delay: 0.3s; }

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

  /* Staggered reveals: JS sets --i on items in a group */
  .js [data-reveal] { transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal] .eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform 0.9s cubic-bezier(.2,.7,.2,1) 0.25s; }
  .js [data-reveal].is-visible .eyebrow::before { transform: none; }

  /* Photos uncover from the bottom */
  .js [data-reveal="media"] { transform: none; opacity: 1; clip-path: inset(100% 0 0 0 round var(--radius-lg)); transition: clip-path 1.2s cubic-bezier(.7,0,.2,1); }
  .js [data-reveal="media"].is-visible { clip-path: inset(-40% -10% -40% -10% round var(--radius-lg)); }
  .js [data-reveal="media"] img { scale: 1.12; transition: scale 1.6s cubic-bezier(.2,.7,.2,1); }
  .js [data-reveal="media"].is-visible img { scale: 1; }
}
@keyframes word-in { from { opacity: 0; transform: translateY(0.45em); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes scroll-hint { 0% { transform: translateY(-100%); } 50% { transform: translateY(0); } 100% { transform: translateY(100%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .hero__img, .page-hero__img, .band__img { translate: none; }
  .hero__content, .hero__scroll { opacity: 1; translate: none; }
  .room-card__link { transform: none !important; }
}
@media print { [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; } .progress, .marquee, .hero__scroll { display: none !important; } }

/* =========================================================
   Região — map hero, themes, seasons, food
   ========================================================= */
.btn--ghost { --bg: transparent; --fg: var(--forest); border-color: var(--forest); }
.btn--ghost:hover { --bg: var(--forest); --fg: #fff; }
.cta--light .cta__inner p { color: var(--ink-soft); }

.region-hero { position: relative; overflow: hidden; isolation: isolate; color: #f1efe8; padding-block: clamp(3rem, 7vw, 5.5rem); background:
  radial-gradient(60% 80% at 75% 45%, rgb(132 175 65 / 0.18), transparent 70%),
  radial-gradient(50% 60% at 10% 100%, rgb(127 179 200 / 0.14), transparent 70%),
  var(--forest); }
.region-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.35; background-image: radial-gradient(rgb(255 255 255 / 0.12) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.region-hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .region-hero__grid { grid-template-columns: 1fr 1.15fr; } }
.region-hero .h1 { text-wrap: balance; max-width: 14ch; }
.region-hero .lead { color: rgb(241 239 232 / 0.85); }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem clamp(1.2rem, 3vw, 2.5rem); margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgb(241 239 232 / 0.18); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dt { font-size: var(--step--1); color: rgb(241 239 232 / 0.7); max-width: 14ch; }
.stats dd { margin: 0 0 0.2rem; font-family: var(--serif); font-size: var(--step-2); line-height: 1.1; color: #d9ecb8; white-space: nowrap; }

.rmap { width: 100%; height: auto; display: block; color: #f1efe8; overflow: visible; }
.rmap text { font-family: var(--sans); font-size: 21px; letter-spacing: 0.01em; }
.rmap__places text { fill-opacity: 0.85; }
.rmap__labels text, .rmap__trail-label { font-family: var(--serif); font-style: italic; font-size: 21px; }
.rmap__home text { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.rmap__compass text { font-size: 16px; font-weight: 700; }

.themes { display: grid; gap: clamp(2rem, 4vw, 3rem); }
.theme__title { display: flex; align-items: baseline; gap: 0.8rem; font-size: var(--step-2); padding-bottom: 0.8rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.theme__title .theme__n { font-style: italic; font-size: var(--step-0); color: var(--leaf-deep); }
.places { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.place { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); border-radius: var(--radius-lg); padding: clamp(1.25rem, 2.5vw, 1.75rem); box-shadow: var(--shadow); transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s; }
.place::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgb(132 175 65 / 0.14), transparent 60%); }
.place:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgb(42 36 32 / 0.06), 0 22px 44px -16px rgb(42 36 32 / 0.3); }
.place:hover::before { opacity: 1; }
.place__time { display: inline-block; margin: 0 0 0.8rem; padding: 0.2rem 0.7rem; border-radius: 999px; background: #eef5e2; color: var(--leaf-deep); font-size: var(--step--1); font-weight: 600; }
.place__name { font-family: var(--serif); font-size: var(--step-1); margin: 0 0 0.4rem; }
.place p:last-child { margin: 0; color: var(--ink-soft); }

.seasons { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .seasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .seasons { grid-template-columns: repeat(4, 1fr); } }
.season { --tone: var(--leaf); position: relative; border-radius: var(--radius-lg); padding: 1.6rem 1.5rem 1.4rem; background: linear-gradient(160deg, color-mix(in srgb, var(--tone) 18%, var(--paper)), var(--paper) 65%); border: 1px solid var(--line); }
.season--2 { --tone: #e6b84a; }
.season--3 { --tone: #c0703a; }
.season--4 { --tone: #7fb3c8; }
.season__name { font-size: var(--step-2); margin: 0 0 1rem; }
.season ul { list-style: none; padding: 0; margin: 0; }
.season li { padding: 0.5rem 0; border-top: 1px solid var(--line); color: var(--ink-soft); }

.dishes { list-style: none; padding: 0; margin: 0; }
.dishes li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.3rem 1rem; padding: 0.9rem 0; border-bottom: 1px dashed rgb(241 239 232 / 0.25); font-family: var(--serif); font-size: var(--step-1); }
.dishes small { font-family: var(--sans); font-size: var(--step--1); color: rgb(241 239 232 / 0.65); }
.section--dark .split__text p:not(.eyebrow) { color: rgb(241 239 232 / 0.85); }

/* =========================================================
   Eventos — tall hero, bento of ideas, steps
   ========================================================= */
.page-hero--tall { min-height: clamp(460px, 78vh, 760px); }
.page-hero--image .btn-row { margin-top: 1.5rem; }

.uses { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; grid-auto-flow: dense; }
.use { position: relative; overflow: hidden; isolation: isolate; background: var(--paper); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow); transition: transform 0.4s cubic-bezier(.2,.7,.2,1), box-shadow 0.4s; }
.use::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgb(132 175 65 / 0.16), transparent 60%); }
.use:not(.use--photo):hover { transform: translateY(-5px); box-shadow: 0 1px 2px rgb(42 36 32 / 0.06), 0 24px 48px -18px rgb(42 36 32 / 0.32); }
.use:hover::before { opacity: 1; }
.use__icon { display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1rem; border-radius: 16px; background: #eef5e2; color: var(--leaf-deep); transition: background 0.3s, color 0.3s, transform 0.4s cubic-bezier(.2,.7,.2,1); }
.use:hover .use__icon { background: var(--leaf); color: #1f2a17; transform: rotate(-6deg) scale(1.06); }
.use__title { font-size: var(--step-1); margin: 0 0 0.4rem; }
.use p { margin: 0; color: var(--ink-soft); }
.use--photo { padding: 0; min-height: 220px; }
.use--photo picture, .use--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.use--photo img { transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.use--photo:hover img { transform: scale(1.05); }
@media (min-width: 700px) {
  .uses { grid-template-columns: repeat(2, 1fr); }
  .use--photo { grid-row: span 2; }
  .use:first-child, .use:last-child { grid-column: span 2; }
}
@media (min-width: 1000px) { .uses { grid-template-columns: repeat(3, 1fr); } }

.howto { list-style: none; padding: 0; margin: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .howto { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .howto { grid-template-columns: repeat(4, 1fr); } }
.howto__step { position: relative; padding-top: 0.2rem; }
.howto__n { position: relative; z-index: 1; display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: 1rem; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--serif); font-size: var(--step-1); box-shadow: 0 0 0 6px var(--stone); }
@media (min-width: 900px) {
  .howto__step:not(:last-child)::after { content: ""; position: absolute; top: 1.7rem; left: 3.6rem; right: -1rem; height: 2px; background: repeating-linear-gradient(90deg, var(--leaf) 0 6px, transparent 6px 12px); }
}
.howto__step h3 { font-size: var(--step-1); margin: 0 0 0.4rem; }
.howto__step p { margin: 0; color: var(--ink-soft); }

@media (prefers-reduced-motion: no-preference) {
  /* Region map draws itself: rivers flow, trail marches, home pulses */
  .rmap__river { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s cubic-bezier(.6,0,.2,1) 0.3s forwards; }
  .rmap__river--2 { animation-delay: 0.6s; }
  .rmap__lake, .rmap__places, .rmap__labels, .rmap__trail-label, .rmap__peaks, .rmap__trees, .rmap__home text { animation: fade-in 1s ease 1.6s both; }
  .rmap__trail { animation: march 1.4s linear infinite; }
  .rmap__pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
  .region-hero__text > * { animation: rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
  .region-hero__text > *:nth-child(2) { animation-delay: 0.1s; }
  .region-hero__text > *:nth-child(3) { animation-delay: 0.2s; }
  .region-hero__text > *:nth-child(4) { animation-delay: 0.3s; }
  .howto__step:not(:last-child)::after { animation: march-x 1.2s linear infinite; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes march { to { stroke-dashoffset: -22; } }
@keyframes march-x { to { background-position: 12px 0; } }
@keyframes pulse { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

/* Região: theme and season icons, valley photo strip */
.theme__icon { align-self: center; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: color-mix(in srgb, var(--leaf) 16%, var(--paper)); color: var(--leaf-deep); flex: none; }
.theme__icon .icon { width: 1.5rem; height: 1.5rem; }
.season__icon { position: absolute; top: 1.3rem; right: 1.3rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--tone); color: #fff; }
.season__icon .icon { width: 1.6rem; height: 1.6rem; }
.season--1 .season__icon { color: var(--forest); }
.vale { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .vale { grid-template-columns: repeat(2, 1fr); } .vale li:first-child { grid-column: span 2; } }
@media (min-width: 1000px) { .vale { grid-template-columns: repeat(6, 1fr); } .vale li { grid-column: span 2; } .vale li:nth-child(-n+2) { grid-column: span 3; } }
.vale figure { position: relative; margin: 0; height: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.vale picture, .vale img { display: block; width: 100%; height: 100%; }
.vale img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
@media (min-width: 1000px) { .vale li:nth-child(-n+2) img { aspect-ratio: 16 / 10; } }
.vale figcaption { position: absolute; inset: auto 0 0 0; padding: 2.2rem 1.1rem 0.9rem; color: #fff; font-family: var(--serif); font-style: italic; font-size: var(--step-0); background: linear-gradient(transparent, rgb(20 28 16 / 0.72)); }
@media (prefers-reduced-motion: no-preference) { .vale figure:hover img { transform: scale(1.05); } }

/* Região: place cards with a photo on top and a licence credit */
.place--photo { padding: 0; display: flex; flex-direction: column; }
.place__media { position: relative; margin: 0; overflow: hidden; }
.place__media picture, .place__media img { display: block; width: 100%; }
.place__media img { aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.8s cubic-bezier(.2,.7,.2,1); }
.place--photo .place__body { padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 1.75rem); }
.place__body p:last-child { margin: 0; color: var(--ink-soft); }
.credit { position: absolute; right: 0.5rem; bottom: 0.5rem; max-width: calc(100% - 1rem); padding: 0.15rem 0.55rem; border-radius: 999px; background: rgb(20 28 16 / 0.6); color: rgb(255 255 255 / 0.9); font-size: 0.7rem; line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.credit a { color: inherit; text-decoration: none; }
.credit a:hover, .credit a:focus-visible { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) { .place--photo:hover .place__media img { transform: scale(1.05); } }
