/* La Grechea — feuille de style (kit WIDE Edizioni, 30/11/2026)
   Style : Editorial + Minimal Line Art (lexique WIDE) — voir _lavoro/direction.txt.
   Palette « vacances sur l'île » (demande de William) : écume, sable, mer de l'Elbe, le large, soleil corail, pins.
   Règles WIDE : icônes dans les menus, boutons animés, entrée du héros, apparitions au défilement, effets d'images ;
   version immobile avec prefers-reduced-motion. */

/* ---------- polices auto-hébergées (Google Fonts, licence OFL) ---------- */
@font-face { font-family: "Vollkorn"; src: url("../fonts/vollkorn.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Vollkorn"; src: url("../fonts/vollkorn-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/worksans.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }

/* ---------- 1. jetons ---------- */
:root {
  --bg: #f3f7f6;            /* blanc d'écume */
  --surface: #ffffff;
  --sand: #efe6d5;          /* sable des criques */
  --ink: #10313b;           /* bleu de mer profond, pour le texte (12,8:1) */
  --muted: #46606a;         /* 6,2:1 */
  --line: #d2dfdf;
  --accent: #0b6977;        /* mer de l'Elbe : boutons, liens, icônes (5,9:1 ; blanc dessus 6,4:1) */
  --accent-ink: #ffffff;
  --accent-soft: #d6ecee;
  --coral: #ab4024;         /* soleil, terre cuite des sols : surtitres, lettrines (4,6:1 sur sable) */
  --foam: #9fd4d6;          /* écume : décor et texte sur fond profond (8,2:1) */
  --olive: #8f9a5a;         /* pins et oliviers : décor seulement */
  --deep: #0a3440;          /* le large : bandes sombres et pied de page */
  --sun: var(--accent); --sun-2: var(--coral); --sun-soft: var(--accent-soft);
  --f-display: "Vollkorn", Georgia, "Times New Roman", serif;
  --f-text: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: clamp(.84rem, .8rem + .15vw, .92rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.18rem, 1.08rem + .45vw, 1.42rem);
  --step-2: clamp(1.45rem, 1.25rem + 1vw, 2rem);
  --step-3: clamp(1.95rem, 1.5rem + 2.1vw, 3.1rem);
  --step-4: clamp(2.5rem, 1.7rem + 3.9vw, 5rem);
  --radius: 2px; --wrap: 1320px; --gap: clamp(1rem, .5rem + 2.2vw, 2.6rem);
  --ease-out: cubic-bezier(.2, .7, .2, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); --ease-spring: cubic-bezier(.34, 1.4, .64, 1);
  --top-h: 84px;
}
/* popup WIDE Edizioni (wide-credit.js) : à l'ambiance du site */
wide-credit { --wc-bg: var(--surface); --wc-fg: var(--ink); --wc-muted: var(--muted); --wc-line: var(--line); --wc-accent: var(--accent); --wc-accent-ink: var(--accent-ink); --wc-em: var(--accent); --wc-display: var(--f-display); --wc-body: var(--f-text); --wc-radius: var(--radius); }

/* ---------- 2. base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a, button, input, select, textarea, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgb(11 105 119 / .14); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--step-0)/1.65 var(--f-text); font-kerning: normal; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; font-weight: 400; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--surface); padding: .6rem 1rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }

/* composition éditoriale : surtitre, titres, chapeau, lettrine */
.kicker { display: flex; align-items: center; gap: .55em; font: 500 var(--step--1)/1.3 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); margin: 0 0 1.1rem; }
.kicker .ic { width: 1.25em; height: 1.25em; color: var(--accent); }
.display { font: 400 var(--step-4)/1.02 var(--f-display); letter-spacing: -.015em; }
.h2 { font: 400 var(--step-3)/1.08 var(--f-display); letter-spacing: -.01em; }
.h3 { font: 500 var(--step-2)/1.15 var(--f-display); }
.lead { font: italic 400 var(--step-1)/1.5 var(--f-display); color: var(--muted); max-width: 52ch; }
.intro { font: 400 var(--step-1)/1.55 var(--f-display); max-width: 60ch; }
.prose { max-width: 66ch; }
.lettrine::first-letter { float: left; font: 400 4.1em/.8 var(--f-display); color: var(--coral); margin: .07em .1em 0 0; }
@supports (initial-letter: 3) { .lettrine::first-letter { color: var(--coral); float: none; font-size: inherit; line-height: inherit; initial-letter: 3; margin: 0 .14em 0 0; } }
.big { font-size: var(--step-1); line-height: 1.6; }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .35s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link:hover { background-size: 0 1px; background-position: 100% 100%; } }
/* lien « Découvrir » : soulignement qui se dessine, flèche qui avance */
.more { display: inline-flex; align-items: center; gap: .55em; min-height: 44px; font: 500 var(--step--1)/1.2 var(--f-text); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.more > span { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; }
.more .ic { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .more > span { transition: background-size .4s var(--ease-out); }
  .more .ic { transition: transform .3s var(--ease-out); }
  @media (hover: hover) and (pointer: fine) {
    .more:hover > span, a:hover .more > span { background-size: 0 1px; background-position: 100% 100%; animation: redraw .5s .25s var(--ease-out) forwards; }
    .more:hover .ic, a:hover .more .ic { transform: translateX(5px); }
  }
  @keyframes redraw { from { background-size: 0 1px; background-position: 0 100%; } to { background-size: 100% 1px; background-position: 0 100%; } }
}

/* ---------- bandeau de démo (règle WIDE : noir, gris clair, serif élégante) ---------- */
.demo-bar { background: #000; color: #cfcfcf; font: 400 .92rem/1.4 "EB Garamond", Garamond, Georgia, serif; text-align: center; padding: .45rem 1rem; }
.demo-bar a { color: #fff; }

/* ---------- en-tête : logo, menu avec icônes, langues, réservation ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(0 0 0 / .35); }
.top-in { display: flex; align-items: center; gap: 1.4rem; min-height: var(--top-h); }
.brand { text-decoration: none; margin-right: auto; display: flex; align-items: center; flex: none; }
.brand img { height: 72px; width: auto; margin-block: -6px; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav-list, .langs, .foot-nav ul, .foot-contact, .facts, .feat, .tags, .banda-list, .room-cards, .apt-cards, .gal { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; gap: 1.15rem; }
.nav-link { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-size: var(--step--1); letter-spacing: .02em; min-height: 44px; position: relative; white-space: nowrap; }
.nav-link .ic { color: var(--accent); }
.nav-list .nav-link::after { content: ""; position: absolute; left: 1.6em; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out); }
.nav-list .nav-link[aria-current="page"]::after { transform: scaleX(1); }
.langs { display: flex; gap: .1rem; font-size: var(--step--1); }
.langs a { display: grid; place-items: center; min-width: 40px; min-height: 40px; text-decoration: none; border-radius: var(--radius); }
.langs a[aria-current] { background: var(--ink); color: var(--bg); }
/* langue : une liste déroulante sur ordinateur, une rangée dans le menu du téléphone */
.lang-dd { position: relative; }
.lang-dd summary { list-style: none; display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 .7rem; border: 1px solid var(--line); border-radius: 99px; font-size: var(--step--1); letter-spacing: .06em; cursor: pointer; }
.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary .ic { color: var(--accent); }
.lang-chev { width: .9em; height: .9em; transition: transform .25s var(--ease-out); }
.lang-dd[open] .lang-chev { transform: rotate(180deg); }
.lang-dd ul { list-style: none; margin: 0; padding: .4rem; position: absolute; right: 0; top: calc(100% + .5rem); min-width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 24px 50px -24px rgb(6 30 38 / .45); z-index: 60; }
.lang-dd a { display: flex; align-items: center; gap: .8rem; min-height: 44px; padding: 0 .8rem; border-radius: 6px; text-decoration: none; }
.lang-dd a b { width: 1.8em; font-weight: 600; font-size: .8rem; letter-spacing: .08em; color: var(--accent); }
.lang-dd a[aria-current] { background: var(--accent-soft); }
@media (hover: hover) and (pointer: fine) { .lang-dd summary:hover { border-color: var(--accent); } .lang-dd a:hover { background: var(--bg); } }
@media (prefers-reduced-motion: no-preference) { .lang-dd[open] ul { animation: rise .25s var(--ease-out); } }
@media (min-width: 1081px) { .nav-home, .nav .langs { display: none; } }
@media (max-width: 1080px) { .lang-dd { display: none; } }
.burger { display: none; background: none; border: 0; padding: 0; width: 48px; height: 48px; place-items: center; color: inherit; cursor: pointer; }
.burger .ic { width: 1.6rem; height: 1.6rem; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .nav-link .ic { transition: transform .3s var(--ease-out); }
  .nav-link:hover .ic { transform: translateY(-2px) rotate(-6deg); }
  .nav-list .nav-link:hover::after { transform: scaleX(1); }
}
@media (max-width: 1080px) {
  .burger { display: inline-grid; }
  .nav { overscroll-behavior: contain; position: fixed; inset: var(--top-h) 0 auto 0; max-height: calc(100dvh - var(--top-h)); overflow: auto; flex-direction: column; align-items: stretch; gap: 1rem; background: var(--bg); padding: 1rem var(--gap) 1.8rem; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -24px rgb(0 0 0 / .4); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease-out), visibility 0s .3s; }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .3s var(--ease-out); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { font: 400 var(--step-2)/1.2 var(--f-display); letter-spacing: 0; min-height: 52px; }
  .nav-list .nav-link::after { bottom: 10px; }
  .langs a { min-width: 48px; min-height: 48px; }
}
@media (max-width: 560px) { .top-cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .top-cta { width: 48px; padding: 0; } .brand img { height: 60px; } .top-in { gap: .6rem; } }

/* fil d'Ariane */
.crumb ol { list-style: none; margin: 0; padding: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--step--1); color: var(--muted); }
.crumb li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumb a { text-decoration: none; display: inline-block; padding-block: .6rem; }
@media (hover: hover) and (pointer: fine) { .crumb a:hover { color: var(--ink); } }

/* ---------- boutons animés (remplissage qui glisse, icône qui avance, appui) ---------- */
.btn { position: relative; isolation: isolate; overflow: clip; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .85rem 1.6rem; border: 1px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: var(--accent-ink); font: 500 var(--step--1)/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.btn--ghost { background: transparent; color: var(--ink); border-color: currentColor; }
.btn--ghost::before { background: var(--ink); }
.btn--light { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.btn--light::before { background: var(--foam); }
.btn--small { min-height: 44px; padding: .6rem 1.1rem; }
.btn[aria-current="page"] { background: var(--ink); border-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: transform .15s ease-out, color .3s, border-color .3s; }
  .btn::before { transition: transform .45s var(--ease-io); }
  .btn .ic { transition: transform .3s var(--ease-out); }
  .btn:active { transform: scale(.97); }
  @media (hover: hover) and (pointer: fine) {
    .btn:hover { border-color: var(--ink); }
    .btn:hover::before { transform: scaleX(1); }
    .btn--ghost:hover { color: var(--bg); }
    .btn--light:hover { border-color: var(--foam); color: var(--ink); }
    .btn:hover .ic { transform: translateX(4px); }
  }
}

/* ---------- ouverture de l'accueil : la piscine sous les pins en plein écran, titre posé dessus,
   barre d'informations (atouts et météo du moment), rameau d'olivier qui se dessine ---------- */
.hero--full { position: relative; display: grid; grid-template-rows: 1fr auto; min-height: calc(100svh - var(--top-h) - 2rem); color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: clip; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 65%; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 30 38 / .72) 0%, rgb(6 30 38 / .38) 45%, rgb(6 30 38 / 0) 75%), linear-gradient(0deg, rgb(6 30 38 / .55) 0%, rgb(6 30 38 / 0) 38%); }
.hero--full .hero-txt { position: relative; align-self: center; padding-block: clamp(3rem, 8vh, 6rem) 2rem; }
.hero--full .kicker, .hero--full .kicker .ic { color: var(--foam); }
.hero--full .display { max-width: 14ch; margin-bottom: 1.3rem; text-shadow: 0 2px 30px rgb(6 30 38 / .35); }
.hero--full .lead { color: rgb(255 255 255 / .9); max-width: 44ch; margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 0; }
.btn--glass { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .55); color: #fff; backdrop-filter: blur(6px); }
.btn--glass::before { background: #fff; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) { .btn--glass:hover { color: var(--ink); border-color: #fff; } }
.sprig { position: absolute; right: 0; top: 50%; width: clamp(90px, 10vw, 150px); fill: none; stroke: var(--foam); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transform: translateY(-50%); opacity: .9; }
@media (max-width: 900px) { .sprig { display: none; } }
.hero-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 2rem; margin-bottom: 1.2rem; padding: 1rem 1.4rem; background: rgb(255 255 255 / .94); color: var(--ink); border-radius: 6px; box-shadow: 0 20px 50px -30px rgb(6 30 38 / .6); }
.facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin: 0; font-size: var(--step--1); }
.facts li { display: flex; align-items: center; gap: .5em; }
.facts .ic, .hero-meteo .ic { color: var(--accent); width: 1.3em; height: 1.3em; }
.hero-meteo { display: flex; align-items: center; gap: .6em; margin: 0; font-size: var(--step--1); color: var(--muted); font-variant-numeric: lining-nums; }
.hero-meteo .ic { width: 1.6em; height: 1.6em; }
.hero-meteo b { font: 400 var(--step-1)/1 var(--f-display); color: var(--ink); font-variant-numeric: lining-nums; }
@media (max-width: 760px) {
  .hero--full { min-height: 0; grid-template-rows: auto auto; color: #fff; }
  .hero--full .hero-txt { padding-block: 34svh 2rem; }
  .hero-bg img { object-position: 70% 92%; }
  .hero-bg::after { background: linear-gradient(0deg, rgb(6 30 38 / .85) 0%, rgb(6 30 38 / .5) 45%, rgb(6 30 38 / .05) 75%); }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-bar { flex-direction: column; align-items: flex-start; margin-bottom: 0; border-radius: 0; width: 100%; padding: 1.2rem var(--gap); }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes settle { from { transform: scale(1.1); } }
  @keyframes draw { from { stroke-dashoffset: 1; } }
  [data-enter] { animation: rise .8s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
  .hero-bg[data-enter] { animation: none; }
  .hero-bg img { animation: settle 2.4s var(--ease-out) backwards; }
  .sprig path { stroke-dasharray: 1; animation: draw 1.6s var(--ease-io) 1.1s backwards; }
  .sprig path + path { animation-delay: 1.8s; animation-duration: 1.2s; }
}

/* mosaïque « La vita alla Grechea » : six photos, la première en grand */
.vita-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: .6rem; height: clamp(520px, 52vw, 760px); }
.vita-grid .frame { border-radius: 4px; }
.vita-0 { grid-row: span 3; }
.vita-1 { grid-column: span 2; }
@media (max-width: 760px) {
  .vita-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .vita-grid .frame { aspect-ratio: 1; }
  .vita-0, .vita-1 { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
}

/* en-tête des pages intérieures */
.page-head { padding-block: clamp(1.6rem, 4vw, 3.6rem) clamp(1.6rem, 3.5vw, 3rem); }
.page-head .display { max-width: 18ch; margin-bottom: 1rem; }
.head-wave { display: block; width: 168px; height: 14px; margin: .2rem 0 1.2rem; fill: none; stroke: var(--coral); stroke-width: 1.6; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) { .head-wave path { stroke-dasharray: 1; animation: draw 1.4s var(--ease-io) .6s backwards; } }
.wide-img { height: min(70svh, 720px); overflow: clip; }
.wide-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .wide-img { width: 100%; height: 48svh; } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(4rem, 8vw, 7.5rem); }
.sec--tight { padding-top: 0; }
.sec--top0 { padding-top: clamp(1rem, 2vw, 2rem); }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 46rem; }
.prose-in { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.prose-in--solo { grid-template-columns: minmax(0, 1fr); justify-items: center; }
.prose-in--solo .prose { max-width: 62ch; }
@media (max-width: 860px) { .prose-in { grid-template-columns: 1fr; } }
.sec > .wrap > .h2 { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }

/* cadres photo : zoom lent au survol */
.frame { display: block; overflow: clip; background: var(--line); border-radius: var(--radius); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
@media (prefers-reduced-motion: no-preference) {
  .frame img { transition: transform .9s var(--ease-out); }
  @media (hover: hover) and (pointer: fine) { a.frame:hover img, a:hover > .frame img, .frame:has(a:hover) img { transform: scale(1.03); } }
}

/* la maison sur l'accueil : grande photo et texte */
.split-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: calc(var(--gap) * 1.4); align-items: center; }
.split-txt .h2 { margin-bottom: 1.4rem; }
.split-txt p { color: var(--muted); max-width: 52ch; }
@media (max-width: 900px) { .split-in { grid-template-columns: 1fr; } .split-in .frame--tall { aspect-ratio: 4 / 3; } }

/* les trois chambres */
.rooms-teaser { background: var(--sand); }
.room-cards { display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.room-card a { display: grid; gap: .9rem; text-decoration: none; color: inherit; }
.room-card .frame { aspect-ratio: 4 / 5; }
.room-card p { margin: 0; color: var(--muted); }
.room-card-no { font: italic 400 var(--step-2)/1 var(--f-display); color: var(--coral); margin-top: .4rem; }
.room-card .frame { box-shadow: 0 24px 40px -32px rgb(6 30 38 / .55); }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) { .room-card a { transition: transform .35s var(--ease-out); } .room-card a:hover { transform: translateY(-2px); } }
@media (max-width: 900px) { .room-cards { grid-template-columns: 1fr; } .room-card .frame { aspect-ratio: 4 / 3; } }

/* moment typographique : l'île aux mille feux, les saisons qui s'allument */
.elba { background: var(--deep); color: var(--bg); }
.elba .kicker, .elba .kicker .ic { color: var(--foam); }
.elba-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: calc(var(--gap) * 1.4); align-items: center; }
.elba-map { background: var(--bg); padding: clamp(.6rem, 1.4vw, 1.2rem); border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.elba-map img { width: 100%; mix-blend-mode: multiply; }
.elba-t { font: 400 var(--step-4)/1 var(--f-display); margin-bottom: 1.6rem; }
.elba-t small { display: block; font: italic 400 var(--step-1)/1.4 var(--f-display); color: var(--foam); margin-top: .5rem; }
.seasons { font: italic 400 var(--step-3)/1.15 var(--f-display); margin: 0 0 1.6rem; }
.seasons span { color: color-mix(in srgb, var(--bg) 38%, var(--deep)); }
.elba-p { color: color-mix(in srgb, var(--bg) 82%, var(--deep)); max-width: 54ch; font-size: var(--step-1); line-height: 1.6; margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes light { to { color: var(--bg); } }
    .seasons span { animation: light linear forwards; animation-timeline: view(); animation-range: cover calc(18% + var(--w) * 7%) cover calc(26% + var(--w) * 7%); }
  }
}
@supports not ((animation-timeline: view()) and (animation-range: entry)) { .seasons span { color: var(--bg); } }
@media (prefers-reduced-motion: reduce) { .seasons span { color: var(--bg); } }
@media (max-width: 900px) { .elba-in { grid-template-columns: 1fr; } .elba-map { max-width: 460px; } }

/* piscine et hôtes */
.duo-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(var(--gap) * 1.4); }
.duo-card .frame { aspect-ratio: 3 / 2; margin-bottom: 1.4rem; }
.duo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--bg); }
.duo-pair img { aspect-ratio: auto; }
.duo-card .h3 { margin-bottom: .6rem; max-width: 26ch; }
@media (max-width: 860px) { .duo-in { grid-template-columns: 1fr; } }

/* appartements sur l'accueil */
.apt-teaser { background: var(--surface); }
.apt-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.apt-card a { display: grid; gap: 1rem; text-decoration: none; }
.apt-card .frame { aspect-ratio: 16 / 10; }
.apt-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .4rem 1rem; }
.apt-where { display: inline-flex; align-items: center; gap: .4em; color: var(--muted); font-size: var(--step--1); }
.apt-where .ic { color: var(--accent); }
@media (max-width: 760px) { .apt-cards { grid-template-columns: 1fr; } }

/* bande de réservation */
.banda { background: var(--accent); color: var(--accent-ink); padding-block: clamp(3.5rem, 7vw, 6rem); }
.banda-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: calc(var(--gap) * 1.4); align-items: center; }
.banda .lead { color: color-mix(in srgb, var(--accent-ink) 85%, var(--accent)); margin: 1rem 0 2rem; }
.banda-list { display: grid; gap: .6rem; }
.banda-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin: 0; }
.more--light, .more--light .ic { color: var(--accent-ink); }
.more--light > span { background-image: linear-gradient(currentColor, currentColor); }
.banda-list a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; min-height: 64px; border: 1px solid color-mix(in srgb, var(--accent-ink) 30%, transparent); border-radius: var(--radius); text-decoration: none; font-size: var(--step-1); font-family: var(--f-display); }
.banda-list small { display: block; font: 500 .74rem/1.3 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--accent-ink) 80%, var(--accent)); }
.banda-list .ic { width: 1.5rem; height: 1.5rem; }
@media (prefers-reduced-motion: no-preference) {
  .banda-list a { transition: background-color .3s, border-color .3s, transform .15s; }
  .banda-list a:active { transform: scale(.98); }
  @media (hover: hover) and (pointer: fine) { .banda-list a:hover { background: color-mix(in srgb, var(--accent-ink) 10%, transparent); border-color: var(--accent-ink); } }
}
@media (max-width: 860px) { .banda-in { grid-template-columns: 1fr; } .banda-list a { font-size: var(--step-0); overflow-wrap: anywhere; } }

/* ---------- météo de Marina di Campo (Open-Meteo) ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.meteo { font-variant-numeric: lining-nums tabular-nums; margin-top: 2.4rem; padding: 1.4rem 1.5rem 1.1rem; border: 1px solid var(--m-line); border-radius: var(--radius); --m-line: var(--line); --m-soft: var(--muted); --m-ic: var(--accent); max-width: 560px; }
.meteo--dark { --m-line: color-mix(in srgb, var(--bg) 22%, transparent); --m-soft: color-mix(in srgb, var(--bg) 72%, var(--deep)); --m-ic: var(--foam); }
.meteo--light { background: var(--surface); margin-block: 2rem 0; }
.meteo-t { display: flex; align-items: center; gap: .5em; font: 500 .78rem/1.3 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--m-soft); margin-bottom: 1rem; }
.meteo-t .ic { color: var(--m-ic); }
.meteo-now { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: .4rem 1.2rem; }
.meteo-big { width: 3.4rem; height: 3.4rem; color: var(--m-ic); stroke-width: 1.3; }
.meteo-temp { margin: 0; font: 400 clamp(2.6rem, 2rem + 2vw, 3.4rem)/1 var(--f-display); font-variant-numeric: lining-nums; }
.meteo-temp small { display: block; font: italic 400 var(--step-0)/1.3 var(--f-display); color: var(--m-soft); margin-top: .3rem; }
.meteo-more { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; justify-self: end; font-size: var(--step--1); color: var(--m-soft); }
.meteo-more li { display: flex; align-items: center; gap: .5em; }
.meteo-more b { font-weight: 600; color: inherit; filter: brightness(1.2); }
.meteo-more .ic { color: var(--m-ic); }
.meteo-days { list-style: none; margin: 1.2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--m-line); display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; text-align: center; font-size: var(--step--1); }
.meteo-days li { display: grid; justify-items: center; gap: .35rem; }
.meteo-days .ic { width: 1.6rem; height: 1.6rem; color: var(--m-ic); }
.meteo-d { text-transform: capitalize; color: var(--m-soft); }
.meteo-mm { color: var(--m-soft); } .meteo-mm b { font-weight: 600; color: currentColor; filter: brightness(1.25); }
.meteo-src { margin: 1rem 0 0; font-size: .74rem; color: var(--m-soft); }
.meteo-src a { display: inline-block; padding-block: .6rem; margin-block: -.6rem; }
@media (max-width: 520px) { .meteo-now { grid-template-columns: auto 1fr; } .meteo-more { grid-column: 1 / -1; justify-self: start; grid-auto-flow: column; gap: 1.2rem; } }
@media (prefers-reduced-motion: no-preference) {
  @keyframes drift { 50% { transform: translateX(3px) translateY(-1px); } }
  .meteo-big { animation: drift 6s ease-in-out 3; }
}

/* ---------- galeries ---------- */
.gal { display: grid; gap: .7rem; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.gal .frame { aspect-ratio: 1; }
.gal--4 { --cols: 4; }
.gal--strip { --cols: 5; margin-top: .7rem; }
.gal--strip .frame { aspect-ratio: 1; }
@media (max-width: 900px) { .gal { --cols: 2; } .gal--strip { --cols: 4; } }
@media (max-width: 480px) { .gal--strip { --cols: 3; gap: .4rem; } }

/* ---------- chambres ---------- */
.rooms-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: .8rem calc(var(--gap) * 1.4); padding-bottom: clamp(1rem, 3vw, 2.5rem); }
.rooms-intro .intro { grid-row: span 2; margin: 0; }
.feat { display: grid; gap: .1rem; align-self: start; }
.feat li { display: flex; align-items: center; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.feat .ic { color: var(--accent); width: 1.4rem; height: 1.4rem; }
.note { grid-column: 2; font-size: var(--step--1); color: var(--muted); margin: 0; }
@media (max-width: 860px) { .rooms-intro { grid-template-columns: 1fr; } .note { grid-column: auto; } }
.room + .room { border-top: 1px solid var(--line); }
.room-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: calc(var(--gap) * 1.4); align-items: center; }
.room--alt .room-in > .frame { order: 2; }
.room-no { font: italic 400 var(--step-3)/1 var(--f-display); color: var(--coral); margin-bottom: .6rem; }
.room-txt .h2 { margin-bottom: 1.4rem; }
.room-txt p { max-width: 54ch; }
.room-txt .btn { margin-top: .8rem; }
@media (max-width: 900px) { .room-in { grid-template-columns: 1fr; } .room--alt .room-in > .frame { order: 0; } .room-in .frame--tall { aspect-ratio: 4 / 3; } }

/* ---------- hôtes ---------- */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.person .frame { aspect-ratio: 4 / 5; margin-bottom: 1.2rem; }
.person .h3 { margin-bottom: .7rem; }
.person p { color: var(--muted); font-size: var(--step--1); line-height: 1.65; }
@media (max-width: 1040px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } .person .frame { aspect-ratio: 1; } }

/* ---------- appartements : cartes à comparer, mosaïque, texte et fiche « En bref » ---------- */
.apt-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding-bottom: clamp(1rem, 3vw, 2rem); }
.pick { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; overflow: clip; }
.pick-img { aspect-ratio: 16 / 10; border-radius: 0; }
.pick-body { display: grid; gap: .7rem; padding: 1.4rem 1.5rem 1.2rem; align-content: start; }
.pick-where { display: inline-flex; align-items: center; gap: .45em; font: 500 .78rem/1.3 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
.pick-where .ic { color: var(--accent); }
.pick-name { font: 400 var(--step-3)/1.05 var(--f-display); }
.pick-facts { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; font-size: var(--step--1); color: var(--muted); }
.pick-facts span { display: inline-flex; align-items: center; gap: .45em; }
.pick-facts .ic { color: var(--accent); }
.pick .more { justify-self: start; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .pick { transition: transform .35s var(--ease-out), box-shadow .35s, border-color .35s; }
  .pick:hover { transform: translateY(-2px); box-shadow: 0 26px 50px -30px rgb(6 30 38 / .45); border-color: var(--accent-soft); }
  .pick:hover .more .ic { transform: translateY(3px); }
}
@media (max-width: 760px) { .apt-pick { grid-template-columns: 1fr; } }

.apt-sec:nth-of-type(odd) { background: var(--sand); }
.apt-head { margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: .6rem; height: clamp(420px, 42vw, 620px); }
.bento .frame { position: relative; border-radius: 4px; }
.bento-main { grid-row: span 2; }
.bento-more { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .4rem; background: rgb(10 52 64 / .58); color: #fff; font: 500 var(--step-0)/1.2 var(--f-text); letter-spacing: .04em; transition: background-color .3s; }
.bento-more .ic { width: 1.6rem; height: 1.6rem; }
@media (hover: hover) and (pointer: fine) { .bento a:hover .bento-more { background: rgb(10 52 64 / .4); } }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .bento-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .bento .frame:not(.bento-main) { aspect-ratio: 1; }
}
.apt-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: calc(var(--gap) * 1.4); align-items: start; margin-top: clamp(2rem, 4vw, 3.2rem); }
.apt-text { max-width: 64ch; }
.apt-text .intro { margin-bottom: 1.2rem; }
.apt-text p:not(.intro) { color: var(--muted); clear: left; }
.apt-facts { position: sticky; top: calc(var(--top-h) + 1.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem 1.5rem 1.2rem; display: grid; gap: 1rem; }
.apt-facts-t { font: 500 .78rem/1.3 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--coral); }
.apt-facts ul { list-style: none; margin: 0; padding: 0; display: grid; }
.apt-facts li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .8rem; align-items: start; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: var(--step--1); line-height: 1.45; }
.apt-facts li:last-child { border-bottom: 0; }
.apt-facts li .ic { width: 1.35rem; height: 1.35rem; color: var(--accent); }
.apt-facts .btn { width: 100%; }
.apt-tel { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; text-decoration: none; font-family: var(--f-display); font-size: var(--step-1); }
.apt-tel .ic { color: var(--accent); }
.apt-facts .cin { margin: 0; text-align: center; color: var(--muted); }
.cin { font-size: .8rem; letter-spacing: .06em; }
.all-photos { margin-top: 1.6rem; }
.all-photos summary { list-style: none; cursor: pointer; }
.all-photos summary::-webkit-details-marker { display: none; }
.all-photos[open] summary .ic { transform: rotate(180deg); }
.all-photos .gal { margin-top: 1rem; }
.all-photos .gal .frame { aspect-ratio: 1; }
@media (max-width: 900px) { .apt-body { grid-template-columns: 1fr; } .apt-facts { position: static; } }

/* ---------- ferries : le dessin du ferry qui traverse ---------- */
.ferry-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: calc(var(--gap) * 1.4); align-items: center; }
.ferry-art { position: relative; padding-bottom: 2.4rem; overflow: clip; }
.ferry-boat { width: 100%; mix-blend-mode: multiply; }
.ferry-sea { position: absolute; left: 0; right: 0; bottom: .4rem; width: 100%; height: 40px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes sail { from { transform: translateX(-18%); opacity: 0; } }
  @keyframes bob { 50% { transform: translateY(-4px) rotate(-.6deg); } }
  .ferry-boat { animation: sail 1.6s var(--ease-out) .3s backwards, bob 4s ease-in-out 2s 3; }
  .ferry-sea path { stroke-dasharray: 1; animation: draw 1.4s var(--ease-io) .2s backwards; }
}
@media (max-width: 860px) { .ferry-in { grid-template-columns: 1fr; } }

/* ---------- réservation : demande en trois étapes, cartes photo des logements, colonne de contacts ---------- */
.book-in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: calc(var(--gap) * 1.4); align-items: start; }
@media (max-width: 960px) { .book-in { grid-template-columns: 1fr; } }
.book-form { gap: 0; padding: 0; overflow: visible; }
.step { border: 0; margin: 0; padding: clamp(1.3rem, 3vw, 2.2rem); display: grid; gap: 1rem; min-width: 0; }
.step + .step { border-top: 1px solid var(--line); }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: .8rem; padding: 0; margin-bottom: .4rem; font: 400 var(--step-2)/1.15 var(--f-display); }
.step legend + * { clear: both; }
.step-n { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; flex: none; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 600 .95rem/1 var(--f-text); }
.guests { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .9rem .7rem 1rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.guests > label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.stepper { display: flex; align-items: center; gap: .3rem; }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, transform .15s; }
.stepper button .ic { width: 1.1rem; height: 1.1rem; }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper button:active:not(:disabled) { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .stepper button:not(:disabled):hover { border-color: var(--accent); color: var(--accent); } }
.form .stepper input { width: 3.2rem; min-height: 44px; padding: 0; text-align: center; border: 0; background: none; font: 400 var(--step-2)/1 var(--f-display); font-variant-numeric: lining-nums; -moz-appearance: textfield; box-shadow: none; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stay-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .7rem; }
.sp { position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: .8rem; padding: .55rem .8rem .55rem .55rem; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s, transform .15s; }
.sp input { position: absolute; opacity: 0; pointer-events: none; }
.sp-img { width: 64px; height: 64px; overflow: clip; border-radius: 4px; background: var(--line); }
.sp-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.sp-img--ic { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.sp-img--ic .ic { width: 1.8rem; height: 1.8rem; }
.sp-txt { display: grid; gap: .15rem; min-width: 0; padding-right: 1.4rem; }
.sp-txt b { font: 500 1.02rem/1.2 var(--f-display); }
.sp-txt small { display: flex; align-items: center; gap: .3em; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.sp-txt small .ic { width: 1em; height: 1em; color: var(--accent); }
.sp-ok { position: absolute; top: .5rem; right: .5rem; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: transparent; transition: background-color .2s, color .2s, border-color .2s, transform .25s var(--ease-spring); }
.sp-ok .ic { width: 14px; height: 14px; stroke-width: 2.2; }
.sp:has(input:checked) { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 1px var(--accent), 0 14px 30px -22px rgb(6 30 38 / .5); }
.sp:has(input:checked) .sp-ok { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.08); }
.sp:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.sp:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) { .sp:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); } .sp:hover .sp-img img { transform: scale(1.06); } }
.book-send { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; padding: 1.4rem clamp(1.3rem, 3vw, 2.2rem); border-top: 1px solid var(--line); background: var(--accent-soft); border-radius: 0 0 var(--radius) var(--radius); }
.book-send .form-note { flex: 1 1 260px; }
.book-form .form-msg { padding: 0 clamp(1.3rem, 3vw, 2.2rem); }
.book-form .form-msg:not(:empty) { padding-block: 1rem; }
@media (max-width: 560px) { .book-send .btn { flex: 1 1 100%; } }
.sp-cap { display: inline-flex; align-items: center; gap: .25em; white-space: nowrap; }
@media (max-width: 560px) {
  .stay-pick { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .sp { grid-template-columns: 1fr; padding: .4rem .4rem .7rem; gap: .55rem; align-content: start; }
  .sp-img { width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .sp-txt { padding: 0 .3rem; }
  .sp-ok { top: .7rem; right: .7rem; }
}
.book-aside { display: grid; gap: 1.2rem; }
@media (min-width: 961px) { .book-aside { position: sticky; top: calc(var(--top-h) + 1.2rem); } }
.book-img { aspect-ratio: 16 / 10; border-radius: 6px; }
.book-card { background: var(--deep); color: var(--bg); border-radius: 6px; padding: 1.5rem; display: grid; gap: .9rem; }
.book-card .h3 { color: #fff; }
.book-p { margin: 0; font: italic 400 var(--step-0)/1.5 var(--f-display); color: var(--foam); }
.book-direct { list-style: none; margin: .2rem 0 0; padding: 0; display: grid; gap: .45rem; }
.book-direct a { display: flex; align-items: center; gap: .9rem; min-height: 56px; padding: .6rem .9rem; border: 1px solid rgb(255 255 255 / .18); border-radius: 4px; text-decoration: none; font: 400 var(--step-0)/1.25 var(--f-display); transition: background-color .25s, border-color .25s, transform .15s; overflow-wrap: anywhere; }
.book-direct small { display: block; font: 500 .7rem/1.3 var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--foam); }
.book-direct .ic { width: 1.35rem; height: 1.35rem; color: var(--foam); flex: none; }
.book-direct a:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .book-direct a:hover { background: rgb(255 255 255 / .08); border-color: var(--foam); } }
.book-ferry { display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; padding-top: .9rem; border-top: 1px solid rgb(255 255 255 / .16); text-decoration: none; font-size: .84rem; line-height: 1.5; color: rgb(255 255 255 / .82); }
.book-ferry b { display: block; color: #fff; font-weight: 600; margin-bottom: .15rem; }
.book-ferry .ic { width: 1.35rem; height: 1.35rem; color: var(--foam); }
@media (hover: hover) and (pointer: fine) { .book-ferry:hover b { text-decoration: underline; text-underline-offset: 3px; } }
.book-aside .meteo { margin: 0; max-width: none; }
.con-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.con-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: .9rem; }
.con-list .ic { width: 1.4rem; height: 1.4rem; color: var(--accent); margin-top: .2rem; }
.con-list b { display: block; font-weight: 500; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.con-list p { margin: .15rem 0 0; }
.con-list a { display: inline-block; padding-block: .5rem; margin-block: -.5rem; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.4rem); display: grid; gap: 1.1rem; align-content: start; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .f-row:not(.stay) { grid-template-columns: 1fr; } }
.form label span { display: block; font-size: var(--step--1); margin-bottom: .35rem; }
.form input, .form textarea, .form select { width: 100%; min-height: 50px; font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem; transition: border-color .2s, box-shadow .2s; }
.form select { appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6977' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right .8rem center / 1.1rem no-repeat; padding-right: 2.6rem; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.form .trap { position: absolute; left: -9999px; }
.form-note { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--step--1); color: var(--muted); margin: 0; }
.form-note .ic { color: var(--accent); margin-top: .15rem; }
.form .btn { justify-self: start; }
.form-msg { margin: 0; font-size: var(--step--1); min-height: 1.4em; }
.form-msg.is-ok { color: #2f6b3a; } .form-msg.is-err { color: #a3261a; }
@media (max-width: 560px) { .form .btn { justify-self: stretch; } }

/* ---------- pied de page : vague, marque, séjour, contacts, langues, mentions, crédit ---------- */
.foot { position: relative; background: var(--deep); color: var(--bg); padding-top: clamp(3.5rem, 6vw, 5.5rem); margin-top: 46px; }
main:has(> .banda:last-child) + .foot { margin-top: 0; }
.foot-wave { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); width: 100%; height: 46px; fill: var(--deep); }
.foot a { color: inherit; }
.foot-in { display: grid; gap: 2.4rem var(--gap); grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.foot-logo { width: 210px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 1.2rem; }
.foot-tag { font: italic 400 var(--step-1)/1.4 var(--f-display); color: var(--foam); max-width: 24ch; margin-bottom: 1rem; }
.foot-line { display: flex; gap: .6rem; color: color-mix(in srgb, var(--bg) 80%, var(--deep)); margin-bottom: 1.6rem; }
.foot-h { font: 500 .78rem/1.3 var(--f-text); letter-spacing: .16em; text-transform: uppercase; color: var(--foam); margin: 0 0 .9rem; }
.foot-h--2 { margin-top: 1.8rem; }
.foot-col ul, .foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; }
.foot .nav-link { min-height: 44px; font-size: var(--step--1); color: color-mix(in srgb, var(--bg) 88%, var(--deep)); }
.foot .nav-link[aria-current] { color: var(--bg); font-weight: 600; }
.foot .nav-link .ic, .foot-line .ic, .foot-priv .ic, .foot-top .ic { color: var(--foam); }
.foot .btn--light { color: var(--deep); }
@media (max-width: 1100px) { .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-nav { grid-column: 1 / -1; } .foot-nav ul { grid-template-columns: 1fr 1fr; column-gap: 1rem; } }
.foot-legal { padding-bottom: max(2rem, env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.4rem; padding-block: 1.2rem 2rem; border-top: 1px solid color-mix(in srgb, var(--bg) 16%, transparent); font-size: var(--step--1); color: color-mix(in srgb, var(--bg) 78%, var(--deep)); }
.foot-legal p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .4rem; }
.foot-priv, .foot-top { display: inline-flex; align-items: center; gap: .45em; min-height: 44px; text-decoration: none; }
.foot-top { margin-left: auto; }
.wide { background: none; border: 0; padding: 0; min-height: 44px; color: inherit; font: inherit; cursor: pointer; }
.wide b { font-weight: 600; color: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
  .foot-top .ic { transition: transform .3s var(--ease-out); }
  @media (hover: hover) and (pointer: fine) {
    .foot .nav-link { transition: color .25s; } .foot .nav-link:hover { color: var(--bg); }
    .foot .nav-link .ic { transition: transform .3s var(--ease-out); } .foot .nav-link:hover .ic { transform: translateX(3px); }
    .foot-top:hover .ic { transform: translateY(-3px); }
    .foot-priv span, .foot-top span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); }
    .foot-priv:hover span, .foot-top:hover span { background-size: 100% 1px; }
    .wide b { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease-out); } .wide:hover b { background-size: 100% 1px; }
  }
  @supports (animation-timeline: view()) {
    @keyframes swell { from { transform: scaleY(.2); } }
    .foot-wave { transform-origin: bottom; animation: swell linear backwards; animation-timeline: view(); animation-range: entry 0% entry 100%; }
  }
}
@media (max-width: 640px) { .foot-top { margin-left: 0; } }

/* apparitions au défilement (amélioration progressive : sans prise en charge, tout reste visible) */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
    .reveal { animation: reveal linear backwards; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes img-in { from { clip-path: inset(8% 0 8% 0); } }
    .reveal-img { animation: img-in linear backwards; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}

/* ---------- page secondaire (confidentialité) ---------- */
.legal { padding-block: clamp(3rem, 7vw, 6rem); max-width: 760px; }
.legal-upd { color: var(--muted); font-size: var(--step--1); }
.legal-sec { margin-top: 2.4rem; }
.legal-sec .h3 { margin-bottom: .8rem; }

/* ---------- visionneuse de photos : flèches, clavier, balayage, compteur ---------- */
.lb { overscroll-behavior: contain; position: fixed; inset: 0; border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; overflow: hidden; background: transparent; color: #fff; }
.lb::backdrop { background: rgb(6 30 38 / .94); }
.lb-fig { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 4.5rem 6rem 4.2rem; touch-action: pan-y; }
.lb-fig img { display: block; width: auto; height: auto; max-width: calc(100vw - 12rem); max-height: calc(100dvh - 8.7rem); object-fit: contain; border-radius: 3px; box-shadow: 0 30px 80px -30px rgb(0 0 0 / .7); }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 1.2rem; text-align: center; font-size: var(--step--1); color: rgb(255 255 255 / .8); padding-inline: 1rem; }
.lb-n { font-variant-numeric: tabular-nums; letter-spacing: .08em; margin-right: .8rem; color: var(--foam); }
.lb-x, .lb-nav { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(255 255 255 / .06); color: #fff; cursor: pointer; transition: background-color .25s, transform .15s; }
.lb-x { top: 1rem; right: 1rem; }
.lb-nav { top: 50%; margin-top: -26px; }
.lb-nav[data-d="-1"] { left: 1.2rem; } .lb-nav[data-d="1"] { right: 1.2rem; }
.lb-x .ic, .lb-nav .ic { width: 1.4rem; height: 1.4rem; }
.lb-x:active, .lb-nav:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .lb-x:hover, .lb-nav:hover { background: rgb(255 255 255 / .18); } }
@media (prefers-reduced-motion: no-preference) { .lb-fig img.is-in { animation: lb-in .35s var(--ease-out); } @keyframes lb-in { from { opacity: 0; transform: scale(.985); } } }
@media (max-width: 700px) { .lb-fig { padding: 4rem .6rem 9rem; } .lb-fig img { max-width: calc(100vw - 1.2rem); max-height: calc(100dvh - 13rem); } .lb-nav { top: auto; bottom: 4.6rem; margin: 0; } .lb-nav[data-d="-1"] { left: calc(50% - 64px); } .lb-nav[data-d="1"] { right: calc(50% - 64px); } .lb-cap { bottom: .6rem; } }

/* ========== calendrier de séjour (modèle WIDE capopero, aux couleurs de La Grechea) ========== */
.cal-sat[hidden] { display: none; }
.stay { position: relative; }
.stay-f { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .6rem; width: 100%; min-height: 64px; padding: .65rem .9rem .65rem 1rem; text-align: left; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.stay-l { grid-column: 1; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.stay-v { grid-column: 1; font-size: var(--step-0); line-height: 1.3; font-variant-numeric: lining-nums; }
.stay-v::first-letter { text-transform: uppercase; }
.stay-f.is-empty .stay-v { color: var(--muted); }
.stay-f .ic { grid-column: 2; grid-row: 1 / 3; width: 1.4rem; height: 1.4rem; color: var(--sun); }
.stay-f:focus-visible, .stay-f[aria-expanded="true"] { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); background: var(--surface); }
@media (hover: hover) and (pointer: fine) { .stay-f:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); } }
.stay-f:active { transform: scale(.99); }

.cal { grid-column: 1 / -1; position: absolute; z-index: 30; top: calc(100% + .6rem); left: 0; right: 0; padding: 1.1rem 1.2rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 30px 70px -30px rgb(6 30 38 / .45), 0 4px 14px -6px rgb(6 30 38 / .12); transform-origin: top center; }
@media (prefers-reduced-motion: no-preference) { .cal:not([hidden]) { animation: cal-in .28s var(--ease-spring); } @keyframes cal-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } } }
.cal-top { position: absolute; inset: .9rem .9rem auto; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.cal-top > * { pointer-events: auto; }
.cal-nav { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .15s; }
.cal-nav .ic { width: 1.1rem; height: 1.1rem; }
.cal-nav:disabled { opacity: .35; cursor: default; }
@media (hover: hover) and (pointer: fine) { .cal-nav:not(:disabled):hover { background: var(--deep); border-color: var(--deep); color: #fff; } }
.cal-nav:active:not(:disabled) { transform: scale(.94); }
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; padding-top: 2.6rem; }
.cal-mt { margin: -2.35rem 0 1rem; text-align: center; font: 400 1.2rem/1.2 var(--f-display); text-transform: capitalize; min-height: 40px; display: grid; place-items: center; }
.cal-wd, .cal-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-wd abbr { text-decoration: none; text-align: center; font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding-bottom: .4rem; }
.cal-days { row-gap: 2px; }
.cal-d { position: relative; aspect-ratio: 1; min-height: 38px; display: grid; place-items: center; border: 0; padding: 0; background: none; font: 500 .95rem/1 var(--f-text); font-variant-numeric: lining-nums tabular-nums; color: var(--ink); cursor: pointer; isolation: isolate; }
.cal-d::before { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 50%; transition: background-color .15s, transform .15s var(--ease-out); }
.cal-d:disabled { color: color-mix(in srgb, var(--muted) 45%, transparent); cursor: default; text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--muted) 30%, transparent); }
.cal-d.is-today { font-weight: 700; color: var(--accent); }
.cal-d.is-today::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cal-d.is-sat:not(:disabled)::before { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sun-2) 70%, transparent); }
.cal-d.is-in { background: var(--sun-soft); }
.cal-d.is-edge.is-a, .cal-d.is-a:not(.is-edge) { background: linear-gradient(90deg, transparent 50%, var(--sun-soft) 50%); }
.cal-d.is-a:not(.is-edge) { background: none; }
.cal-d.is-edge:not(.is-a) { background: linear-gradient(90deg, var(--sun-soft) 50%, transparent 50%); }
.cal-d.is-a::before, .cal-d.is-d::before, .cal-d.is-edge::before { background: var(--sun); box-shadow: 0 6px 14px -6px rgb(11 105 119 / .5); }
.cal-d.is-a, .cal-d.is-d, .cal-d.is-edge { color: #fff; font-weight: 700; }
.cal-d.is-edge:not(.is-a):not(.is-d)::before { background: color-mix(in srgb, var(--sun) 55%, transparent); box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .cal-d:not(:disabled):not(.is-a):not(.is-d):hover::before { background: var(--accent-soft); transform: scale(1.04); } }
.cal-d:focus-visible { outline: none; }
.cal-d:focus-visible::before { box-shadow: 0 0 0 2px var(--accent); }
.cal-d:active:not(:disabled)::before { transform: scale(.9); }
.cal-sat { display: flex; align-items: center; gap: .55rem; margin: .9rem 0 0; font-size: .84rem; color: var(--muted); }
.cal-sat i { flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--sun-2); }
.cal-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.cal-sum.is-hint { color: var(--muted); font-weight: 400; }
.cal-sum { margin: 0 auto 0 0; font-weight: 600; color: var(--ink); font-variant-numeric: lining-nums; min-height: 1.4em; }
.cal-clear { border: 0; background: none; padding: .6rem .4rem; font: 600 .84rem/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
@media (hover: hover) and (pointer: fine) { .cal-clear:hover { color: var(--ink); text-decoration-color: currentColor; } }
.cal-done { min-height: 42px; }
@media (max-width: 560px) {
  .cal { position: fixed; z-index: 70; left: 0; right: 0; top: auto; bottom: 0; border-radius: 22px 22px 0 0; padding: 1.1rem 1rem calc(1rem + env(safe-area-inset-bottom)); max-height: 88dvh; overflow: auto; overscroll-behavior: contain; box-shadow: 0 -20px 60px -20px rgb(6 30 38 / .5); }
  @media (prefers-reduced-motion: no-preference) { .cal:not([hidden]) { animation: cal-up .35s var(--ease-spring); } @keyframes cal-up { from { transform: translateY(40%); opacity: 0; } } }
  .cal-d { min-height: 44px; }
  .stay.is-open::after { content: ""; position: fixed; inset: 0; z-index: 69; background: rgb(6 30 38 / .35); }
  .cal-done { flex: 1 1 100%; }
}
