/* Cyril Tourisme : des photos qui gardent leurs couleurs, une base sable et bleu encre.
   Les cinq pastels (mauve, rose, vert, jaune, bleu) habillent chacun une page en grands aplats. */

@font-face { font-family: "Fraunces"; font-weight: 400; font-style: normal; font-display: swap; src: url("../vendor/fonts/fraunces-400-normal.15ccd91d7a8f.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 500; font-style: normal; font-display: swap; src: url("../vendor/fonts/fraunces-500-normal.2285bacdef39.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 500; font-style: italic; font-display: swap; src: url("../vendor/fonts/fraunces-500-italic.6cef5fdd0c8f.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 600; font-style: normal; font-display: swap; src: url("../vendor/fonts/fraunces-600-normal.b8dca52ca5f9.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("../vendor/fonts/figtree-400-normal.7bfd10a3def3.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: italic; font-display: swap; src: url("../vendor/fonts/figtree-400-italic.5b322d9b8f64.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-style: normal; font-display: swap; src: url("../vendor/fonts/figtree-500-normal.94e34f97c4c6.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("../vendor/fonts/figtree-600-normal.4376f5953b85.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: normal; font-display: swap; src: url("../vendor/fonts/figtree-700-normal.70aaa6879de5.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-style: italic; font-display: swap; src: url("../vendor/fonts/figtree-700-italic.b8646b2bef01.woff2") format("woff2"); }

:root {
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3.5rem);
  --radius-s: 12px;
  --radius-m: 18px;
  --radius-l: 28px;
  --nav-height: 76px;

  --cta-bg: #f6c453;
  --cta-bg-hover: #f9d377;
  --on-accent: #16324a;
  --ink-rgb: 10 28 42;
  --footer-text: #f6f1e7;
  --footer-muted: #b7c4cc;
  --nouveau: #c8321f;

  --wave-h: clamp(18px, 3.2vw, 46px);
  --wave-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 38C240 4 480 4 720 30s480 26 720-10v40H0z'/%3E%3C/svg%3E");
}

:root,
[data-bs-theme="light"] {
  color-scheme: light;
  --bg: #fbf6ee;
  --bg-rgb: 251 246 238;
  --surface: #fffdf9;
  --surface-2: #f4ecdf;
  --surface-3: #e9dfcf;
  --line: rgb(22 50 74 / 12%);
  --line-strong: rgb(22 50 74 / 26%);
  --text: #16324a;
  --muted: #566672;
  --glass: rgb(255 253 249 / 84%);
  --field: #fbf6ee;
  --invert-bg: #16324a;
  --invert-text: #fffdf9;
  --shadow: 0 24px 50px -28px rgb(22 50 74 / 38%);
  --poster-shadow: 0 16px 34px -18px rgb(22 50 74 / 50%);
  --footer-bg: #16324a;

  --mer: #0f6e84;
  --on-mer: #ffffff;
  --corail: #b8472a;
  --mer-ring: rgb(15 110 132 / 25%);

  --mauve: #5f4b95; --mauve-soft: #e6def5;
  --rose: #a23e2c;  --rose-soft: #f9dcd6;
  --vert: #24694a;  --vert-soft: #d9eedd;
  --jaune: #765a08; --jaune-soft: #fbeec5;
  --bleu: #1c5b8c;  --bleu-soft: #d9e9f7;
}

[data-bs-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1a24;
  --bg-rgb: 14 26 36;
  --surface: #15242f;
  --surface-2: #1d2f3c;
  --surface-3: #283c4a;
  --line: rgb(255 255 255 / 10%);
  --line-strong: rgb(255 255 255 / 22%);
  --text: #f6f1e7;
  --muted: #adb8bf;
  --glass: rgb(16 28 38 / 76%);
  --field: #1d2f3c;
  --invert-bg: #f6f1e7;
  --invert-text: #0e1a24;
  --shadow: 0 24px 60px -24px rgb(0 0 0 / 80%);
  --poster-shadow: 0 18px 40px -18px rgb(0 0 0 / 85%);
  --footer-bg: #091219;

  --mer: #7fd0dc;
  --on-mer: #0e1a24;
  --corail: #f2a088;
  --mer-ring: rgb(127 208 220 / 25%);

  --mauve: #cbb6f6; --mauve-soft: #283041;
  --rose: #f4b5a6;  --rose-soft: #2e3036;
  --vert: #93e2b4;  --vert-soft: #213638;
  --jaune: #f6c453; --jaune-soft: #2e322a;
  --bleu: #9cc9f0;  --bleu-soft: #223341;
}

/* Gamme « Vanille » : fonds vanille, textes brownie, effets roses. Proposée comme troisième apparence. */
[data-bs-theme="vanille"] {
  color-scheme: light;
  --bg: #fbe9aa;
  --bg-rgb: 251 233 170;
  --surface: #fff6d8;
  --surface-2: #f8e3a0;
  --surface-3: #f2d58a;
  --line: rgb(125 64 15 / 16%);
  --line-strong: rgb(125 64 15 / 32%);
  --text: #7d400f;
  --muted: #8a5428;
  --glass: rgb(255 246 216 / 86%);
  --field: #fffaea;
  --invert-bg: #7d400f;
  --invert-text: #fff6d8;
  --shadow: 0 24px 50px -28px rgb(125 64 15 / 42%);
  --poster-shadow: 0 16px 34px -18px rgb(125 64 15 / 55%);
  --footer-bg: #7d400f;
  --footer-text: #fff6d8;
  --footer-muted: #f3d9a8;

  --cta-bg: #f67e87;
  --cta-bg-hover: #f8979e;
  --on-accent: #3e1c05;
  --ink-rgb: 62 30 8;
  --dot: #f67e87;
  --title-from: #7d400f;
  --title-to: #a8343f;

  --mer: #a8343f;
  --on-mer: #fff6d8;
  --corail: #a8343f;
  --mer-ring: rgb(246 126 135 / 40%);

  --mauve: #a8343f; --mauve-soft: #fdd7c3;
  --rose: #a8343f;  --rose-soft: #fdd7c3;
  --vert: #a8343f;  --vert-soft: #fdd7c3;
  --jaune: #a8343f; --jaune-soft: #fdd7c3;
  --bleu: #a8343f;  --bleu-soft: #fdd7c3;
}

/* Gamme « Beurre » : fond cream, textes brown, effets butter yellow. */
[data-bs-theme="beurre"] {
  color-scheme: light;
  --bg: #fdf4ce;
  --bg-rgb: 253 244 206;
  --surface: #fffbea;
  --surface-2: #f9e7ae;
  --surface-3: #f4db96;
  --line: rgb(138 86 48 / 16%);
  --line-strong: rgb(138 86 48 / 34%);
  --text: #6b4022;
  --muted: #8a5630;
  --glass: rgb(255 251 234 / 86%);
  --field: #fffdf3;
  --invert-bg: #8a5630;
  --invert-text: #fffbea;
  --shadow: 0 24px 50px -28px rgb(138 86 48 / 42%);
  --poster-shadow: 0 16px 34px -18px rgb(107 64 34 / 55%);
  --footer-bg: #8a5630;
  --footer-text: #fffbea;
  --footer-muted: #fbe7b5;

  --cta-bg: #f7d88b;
  --cta-bg-hover: #f9e2a6;
  --on-accent: #4a2a12;
  --ink-rgb: 74 44 20;
  --dot: #d9a640;
  --title-from: #6b4022;
  --title-to: #b0702a;

  --mer: #8f4a12;
  --on-mer: #fffbea;
  --corail: #8f4a12;
  --mer-ring: rgb(247 216 139 / 60%);

  --mauve: #8f4a12; --mauve-soft: #fbe8b6;
  --rose: #8f4a12;  --rose-soft: #fbe8b6;
  --vert: #8f4a12;  --vert-soft: #fbe8b6;
  --jaune: #8f4a12; --jaune-soft: #fbe8b6;
  --bleu: #8f4a12;  --bleu-soft: #fbe8b6;
}

/* Gamme « Lilas » : fond blanc lilas, textes navy blue, effets lilac, filets gray. */
[data-bs-theme="lilas"] {
  color-scheme: light;
  --bg: #f8f3f7;
  --bg-rgb: 248 243 247;
  --surface: #fdfafc;
  --surface-2: #efe3ec;
  --surface-3: #e5d3e1;
  --line: rgb(171 152 159 / 40%);
  --line-strong: rgb(30 53 79 / 30%);
  --text: #1e354f;
  --muted: #5a5160;
  --glass: rgb(253 250 252 / 86%);
  --field: #fdfafc;
  --invert-bg: #1e354f;
  --invert-text: #fdfafc;
  --shadow: 0 24px 50px -28px rgb(30 53 79 / 38%);
  --poster-shadow: 0 16px 34px -18px rgb(30 53 79 / 50%);
  --footer-bg: #1e354f;
  --footer-text: #f7f0f6;
  --footer-muted: #dcc6d8;

  --cta-bg: #c59cbe;
  --cta-bg-hover: #d3b2cd;
  --on-accent: #1e354f;
  --ink-rgb: 30 53 79;
  --dot: #c59cbe;
  --title-from: #1e354f;
  --title-to: #8e5a86;

  --mer: #7a4572;
  --on-mer: #fdfafc;
  --corail: #7a4572;
  --mer-ring: rgb(197 156 190 / 45%);

  --mauve: #7a4572; --mauve-soft: #e7d4e3;
  --rose: #7a4572;  --rose-soft: #e7d4e3;
  --vert: #7a4572;  --vert-soft: #e7d4e3;
  --jaune: #7a4572; --jaune-soft: #e7d4e3;
  --bleu: #7a4572;  --bleu-soft: #e7d4e3;
}

/* Gamme « Pistache » : fond white, textes vert foncé tiré du pistachio, effets red et pistachio. */
[data-bs-theme="pistache"] {
  color-scheme: light;
  --bg: #f7f4e7;
  --bg-rgb: 247 244 231;
  --surface: #fffdf5;
  --surface-2: #e9efd9;
  --surface-3: #dbe7c8;
  --line: rgb(44 70 32 / 14%);
  --line-strong: rgb(44 70 32 / 30%);
  --text: #2c4620;
  --muted: #4d5f42;
  --glass: rgb(255 253 245 / 86%);
  --field: #fffdf5;
  --invert-bg: #2c4620;
  --invert-text: #fffdf5;
  --shadow: 0 24px 50px -28px rgb(44 70 32 / 36%);
  --poster-shadow: 0 16px 34px -18px rgb(44 70 32 / 50%);
  --footer-bg: #2c4620;
  --footer-text: #f7f4e7;
  --footer-muted: #cfe3bf;

  --cta-bg: #c2263f;
  --cta-bg-hover: #a81f35;
  --on-accent: #ffffff;
  --ink-rgb: 30 46 22;
  --dot: #93bf74;
  --title-from: #2c4620;
  --title-to: #4f7d35;

  --mer: #b22339;
  --on-mer: #fffdf5;
  --corail: #b22339;
  --mer-ring: rgb(147 191 116 / 50%);

  --mauve: #b22339; --mauve-soft: #d6e5c4;
  --rose: #b22339;  --rose-soft: #d6e5c4;
  --vert: #b22339;  --vert-soft: #d6e5c4;
  --jaune: #b22339; --jaune-soft: #d6e5c4;
  --bleu: #b22339;  --bleu-soft: #d6e5c4;
}

.tint-mauve { --tint: var(--mauve); --tint-soft: var(--mauve-soft); }
.tint-rose  { --tint: var(--rose);  --tint-soft: var(--rose-soft); }
.tint-vert  { --tint: var(--vert);  --tint-soft: var(--vert-soft); }
.tint-jaune { --tint: var(--jaune); --tint-soft: var(--jaune-soft); }
.tint-bleu  { --tint: var(--bleu);  --tint-soft: var(--bleu-soft); }
[class*="tint-"] { --tint-wash: color-mix(in srgb, var(--tint-soft) 72%, var(--bg)); }

/* ---------- Base ---------- */

html { scroll-padding-top: calc(var(--nav-height) + 1rem); -webkit-text-size-adjust: 100%; }
body {
  display: flex; flex-direction: column; min-height: 100vh; overflow-x: clip;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  transition: background-color .25s ease, color .25s ease;
}
main { flex: 1; }
a { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3, h4 { font-family: var(--font-display); color: var(--text); text-wrap: balance; overflow-wrap: break-word; }
h1 { font-weight: 600; font-size: clamp(2.5rem, 1.5rem + 4vw, 5rem); line-height: 1.04; letter-spacing: -.02em; }
h2 { font-weight: 500; font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.015em; }
h3 { font-weight: 600; font-size: clamp(1.1875rem, 1.1rem + .35vw, 1.375rem); line-height: 1.22; letter-spacing: -.005em; }
h4 { font-weight: 600; font-size: 1.0625rem; }

:focus-visible { outline: 2px solid var(--mer); outline-offset: 3px; border-radius: 6px; }

/* Gammes de couleurs : les titres sont en dégradé, les sous-titres restent unis. */
:is([data-bs-theme="vanille"], [data-bs-theme="beurre"], [data-bs-theme="lilas"], [data-bs-theme="pistache"], [data-bs-theme="perso"]) :is(h1, h2):not(.footer-title) {
  width: fit-content; max-width: 100%;
  background-image: linear-gradient(100deg, var(--title-from) 20%, var(--title-to) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
:is([data-bs-theme="vanille"], [data-bs-theme="beurre"], [data-bs-theme="lilas"], [data-bs-theme="pistache"], [data-bs-theme="perso"]) :is(h1, h2) [style*="color"] { -webkit-text-fill-color: currentColor; }
:is([data-bs-theme="vanille"], [data-bs-theme="beurre"], [data-bs-theme="lilas"], [data-bs-theme="pistache"], [data-bs-theme="perso"]) .hero:not(.hero-plain) h1 { background-image: none; -webkit-text-fill-color: currentColor; }
:is([data-bs-theme="vanille"], [data-bs-theme="beurre"], [data-bs-theme="lilas"], [data-bs-theme="pistache"], [data-bs-theme="perso"]) .empty h2 { margin-inline: auto; }
:is([data-bs-theme="vanille"], [data-bs-theme="beurre"], [data-bs-theme="lilas"], [data-bs-theme="pistache"], [data-bs-theme="perso"]) .dot { background: var(--dot); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 2000; padding: .6rem 1.1rem; background: var(--invert-bg); color: var(--invert-text); border-radius: 999px; font-weight: 600; }
.skip-link:focus { top: .75rem; color: var(--invert-text); }

.wrap { width: min(100% - 2 * var(--gutter), 1500px); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 1.75rem + 3vw, 5rem); }
.section-tinted { background: var(--tint-wash); }
.page-top { padding-top: calc(var(--nav-height) + clamp(2rem, 1rem + 4vw, 4.5rem)); }
.muted { color: var(--muted); }

.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tint, var(--jaune)); }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.eyebrow .dot { background: var(--tint, var(--cta-bg)); }

/* ---------- Boutons, pastilles ---------- */

.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.5rem; border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.cta:active { transform: scale(.98); }
.cta-primary { background: var(--cta-bg); color: var(--on-accent); }
.cta-primary:hover, .cta-primary:focus-visible { background: var(--cta-bg-hover); color: var(--on-accent); transform: translateY(-1px); }
.cta-ghost { background: var(--glass); color: var(--text); border-color: var(--line-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.cta-ghost:hover, .cta-ghost:focus-visible { background: var(--surface-3); color: var(--text); border-color: var(--line-strong); }
.cta-large { min-height: 3.5rem; padding: .85rem 1.9rem; font-size: 1.0625rem; }
.cta i { font-size: 1.05em; }

.icon-btn {
  display: inline-grid; place-items: center; flex: none; width: 3rem; height: 3rem; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%;
  background: var(--glass); color: var(--text); font-size: 1.15rem; text-decoration: none; cursor: pointer;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background-color .18s ease, transform .18s ease, opacity .18s ease;
}
.icon-btn:hover, .icon-btn:focus-visible { background: var(--surface-3); color: var(--text); }
.icon-btn:disabled { opacity: .35; cursor: default; }

.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.5rem; padding: .4rem 1.05rem;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent;
  color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.chip:hover { background: var(--surface-2); color: var(--text); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--mer); border-color: var(--mer); color: var(--on-mer); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
@media (max-width: 767.98px) {
  .list-toolbar .chips { flex: 1 1 100%; flex-wrap: nowrap; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .list-toolbar .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
}

.link-arrow { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap; }
.link-arrow i { transition: transform .2s ease; }
.link-arrow:hover { color: var(--text); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Menu ---------- */

.site-header { position: fixed; inset: 0 0 auto; z-index: 1030; padding-block: .85rem; pointer-events: none; border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, padding .25s ease; }
.site-header.is-scrolled { padding-block: .5rem; background: rgb(var(--bg-rgb) / 86%); border-bottom-color: var(--line); backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%); }
.site-nav { display: flex; align-items: center; gap: .6rem; }
.site-nav > *, .site-menu > * { pointer-events: auto; }

.glass-pill { background: var(--glass); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }

.brand { display: inline-flex; align-items: center; gap: .6rem; height: 3rem; padding: 0 1.1rem 0 .4rem; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; letter-spacing: -.01em; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--text); }
.brand img { display: block; width: 2.2rem; height: 2.2rem; }

.nav-toggle { margin-left: auto; }
.site-menu { position: absolute; top: calc(100% + .5rem); left: 0; right: 0; }
.site-menu-inner { display: grid; gap: .75rem; padding: .9rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); }
.nav-links { display: grid; gap: .15rem; margin: 0; padding: 0; list-style: none; }
.nav-links a { display: block; padding: .7rem 1.1rem; border-radius: 999px; font-weight: 600; color: var(--muted); text-decoration: none; transition: background-color .15s ease, color .15s ease; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { background: var(--invert-bg); color: var(--invert-text); }

.search { position: relative; display: flex; align-items: center; min-width: 0; height: 3rem; padding: 0 .6rem 0 1.1rem; gap: .6rem; color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: .9375rem; }
.search input::placeholder { color: var(--muted); opacity: 1; }
.search:focus-within { border-color: var(--mer); }
.search kbd { flex: none; padding: .2rem .5rem; border-radius: 8px; background: var(--surface-3); color: var(--muted); font-family: var(--font-body); font-size: .75rem; font-weight: 600; box-shadow: none; }
@media (hover: none), (max-width: 1199.98px) { .search kbd { display: none; } }

@media (max-width: 991.98px) {
  .site-nav { position: relative; }
  .search { background: var(--surface-2); }
  .search kbd { display: none; }
}
@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .site-menu { position: static; flex: 1; min-width: 0; display: block !important; height: auto !important; visibility: visible; }
  .site-menu-inner { display: flex; align-items: center; gap: .6rem; padding: 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; pointer-events: none; }
  .site-menu-inner > * { pointer-events: auto; }
  .nav-links { display: flex; gap: .1rem; height: 3rem; padding: .3rem; background: var(--glass); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
  .nav-links a { display: flex; align-items: center; height: 100%; padding: 0 1rem; font-size: .9375rem; color: var(--text); white-space: nowrap; }
  .nav-links a:hover { background: var(--line); }
  .search { flex: 1; max-width: 460px; margin-inline: auto 0; }
}
/* Écran moyen : le menu se resserre pour laisser le texte de la recherche lisible. */
@media (min-width: 992px) and (max-width: 1199.98px) { .nav-links a { padding: 0 .65rem; } }
@media (max-width: 991.98px) {
}

/* ---------- Prise de rendez-vous : calendrier, heures et coordonnées ---------- */

.booking-card { display: grid; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); }
@media (min-width: 992px) { .booking-card { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.booking-side { display: grid; justify-items: center; align-content: start; gap: 1rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--invert-bg); color: var(--invert-text); text-align: center; }
.booking-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid color-mix(in srgb, var(--invert-text) 30%, transparent); }
.booking-avatar-icon { display: grid; place-items: center; background: var(--invert-text); }
.booking .booking-side h2.booking-title { max-width: 22ch; margin: 0; font-size: clamp(1.375rem, 1.15rem + 1vw, 1.875rem); color: var(--invert-text); background: none; -webkit-text-fill-color: currentColor; }
.booking-calendar { width: 100%; max-width: 26rem; }
.booking-month { display: flex; align-items: center; justify-content: center; gap: .75rem; margin-bottom: .75rem; }
.booking-month-label { min-width: 11ch; margin: 0; font-weight: 700; font-size: 1.125rem; }
.booking-month-label::first-letter { text-transform: uppercase; }
.booking-nav { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.booking-nav:hover:not(:disabled), .booking-days button:hover { background: color-mix(in srgb, var(--invert-text) 16%, transparent); }
.booking-nav:disabled { opacity: .3; }
.booking-weekdays, .booking-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .25rem; }
.booking-weekdays span { padding: .4rem 0; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.booking-days > * { display: grid; place-items: center; width: 100%; max-width: 2.9rem; aspect-ratio: 1; justify-self: center; border-radius: 50%; font-variant-numeric: tabular-nums; }
.booking-days .is-off { opacity: .4; }
.booking-days button { padding: 0; border: 0; background: transparent; color: inherit; font-weight: 700; cursor: pointer; }
.booking-days button[aria-pressed="true"], .booking-days button[aria-pressed="true"]:hover { background: var(--invert-text); color: var(--invert-bg); }
.booking-side :focus-visible { outline: 2px solid var(--invert-text); outline-offset: 2px; }
.booking-fallback { width: 100%; max-width: 26rem; text-align: left; }
.booking.is-enhanced .booking-fallback { display: none; }
.booking-main { display: grid; align-content: start; gap: 1.4rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.booking-main .form-alert { margin: 0; }
.booking-block { min-width: 0; margin: 0; padding: 0; border: 0; }
.booking-label { margin: 0 0 .55rem; padding: 0; font-weight: 700; }
.booking-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: .5rem; }
.booking-mode { display: flex; align-items: center; gap: .5rem; padding: .7rem .85rem; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--field); font-weight: 600; cursor: pointer; }
.booking-mode input { margin: 0; accent-color: var(--cta-bg); }
.booking-mode i { color: var(--mer); }
.booking-mode:has(input:checked) { border-color: var(--cta-bg); box-shadow: inset 0 0 0 1px var(--cta-bg); background: var(--surface-2); }
.booking-duration { display: inline-block; margin: 0; padding: .35rem 1rem; border-radius: 999px; background: var(--surface-2); font-weight: 600; }
.booking-day { margin: 0 0 .2rem; }
.booking-tz { margin: 0 0 .8rem; font-size: .875rem; color: var(--muted); }
.booking-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: .5rem; max-height: 19rem; overflow-y: auto; padding: 2px; }
@media (max-width: 991.98px) { .booking-slots { max-height: none; overflow: visible; } }
.booking-slot { padding: .75rem .5rem; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--field); color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.booking-slot:hover { border-color: var(--cta-bg); }
.booking-slot[aria-pressed="true"] { border-color: var(--cta-bg); background: var(--cta-bg); color: var(--on-accent); }
.booking-summary { display: flex; gap: .6rem; align-items: baseline; margin: 0 0 1rem; padding: .8rem 1rem; border-radius: var(--radius-s); background: var(--surface-2); font-weight: 600; }
.booking-summary i { color: var(--mer); }
.booking-details .form-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .booking-details .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-details .field-wide { grid-column: 1 / -1; }
}
.booking-optional { font-weight: 400; color: var(--muted); }
.booking-empty, .booking-done { max-width: 42rem; margin-inline: auto; text-align: center; }
.booking-empty > i, .booking-done-icon { display: block; margin-bottom: .5rem; font-size: 2.5rem; color: var(--mer); }
.booking-done-icon.is-cancelled { color: var(--rose); }
.booking-recap { display: grid; gap: .7rem; max-width: 30rem; margin: 1.25rem auto 1.5rem; padding: 0; list-style: none; text-align: left; }
.booking-recap li { display: flex; gap: .75rem; align-items: baseline; }
.booking-recap i { color: var(--mer); }
.booking-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }

/* ---------- Aperçu d'une apparence, visible du seul responsable du site ---------- */

.preview-banner { position: fixed; left: 50%; bottom: 1rem; z-index: 1050; display: flex; align-items: center; gap: .5rem; width: max-content; max-width: calc(100% - 2rem); margin: 0; padding: .6rem 1.1rem; transform: translateX(-50%); border-radius: 999px; background: var(--invert-bg); color: var(--invert-text); box-shadow: var(--shadow); font-size: .9375rem; font-weight: 600; line-height: 1.35; }

/* ---------- Photos : arrondis, léger zoom au survol, plein écran au clic ---------- */

.photo { display: block; position: relative; overflow: hidden; border-radius: var(--radius-m); background: var(--surface-2); cursor: zoom-in; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.photo:hover img { transform: scale(1.03); }
.photo-empty { display: grid; place-items: center; background: var(--surface-2); color: var(--muted); font-size: 2.25rem; }

/* ---------- Grand visuel immersif (accueil, pages, détail d'un voyage) ---------- */

.hero { --wave: var(--bg); --hero-photo-h: clamp(340px, 62svh, 560px); position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; }
.hero-page { --hero-photo-h: clamp(300px, 50svh, 460px); }
.hero-tinted { --wave: var(--tint-wash); background: var(--tint-wash); }
.hero-bg { position: absolute; inset: 0 0 auto; height: max(var(--hero-photo-h), var(--hero-headline-h, 0px)); z-index: -2; overflow: hidden; background: var(--surface-2); }
.hero-bg .carousel-item { height: 100%; }
.hero-photo { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.carousel-item.active .hero-photo img { animation: hero-drift 14s ease-out both; }
@keyframes hero-drift { from { transform: scale(1.07); } to { transform: scale(1); } }
/* Un voile sombre en bas suffit à lire le titre : la photo garde ses couleurs. */
.hero-scrim {
  position: absolute; inset: 0 0 auto; height: max(var(--hero-photo-h), var(--hero-headline-h, 0px)); z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgb(var(--ink-rgb) / 76%) 0%, rgb(var(--ink-rgb) / 42%) 36%, rgb(var(--ink-rgb) / 0%) 68%);
}
.hero-scrim::after {
  content: ""; position: absolute; inset: auto 0 -1px; height: var(--wave-h); background: var(--wave);
  -webkit-mask: var(--wave-shape) center bottom / 100% 100% no-repeat; mask: var(--wave-shape) center bottom / 100% 100% no-repeat;
}
.hero-inner { position: relative; display: grid; gap: 1.5rem; padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); pointer-events: none; }
.hero-inner > * { pointer-events: auto; }
.hero-copy { display: grid; justify-items: start; }
.hero-copy h1 { margin: 0; max-width: 15ch; }
/* Sur téléphone, seul le titre est posé sur la photo ; le reste se lit sur le fond de la page. */
.hero-headline { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; min-height: var(--hero-photo-h); padding-top: calc(var(--nav-height) + .5rem); padding-bottom: calc(var(--wave-h) + .75rem); }
.hero-copy > .hero-headline { margin-bottom: 1.1rem; }
.hero:not(.hero-plain) .hero-headline {
  --text: #fff; --muted: rgb(255 255 255 / 88%); --glass: rgb(var(--ink-rgb) / 42%); --line: rgb(255 255 255 / 30%); --line-strong: rgb(255 255 255 / 45%); --surface-3: rgb(var(--ink-rgb) / 62%);
  color: #fff; text-shadow: 0 1px 22px rgb(var(--ink-rgb) / 45%);
}
.hero:not(.hero-plain) .eyebrow .dot { background: var(--cta-bg); }
.hero-text { max-width: 36rem; margin-bottom: 1.25rem; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.5; }
.hero-text p:last-child { margin-bottom: 0; }
.hero-subtitle { max-width: 36rem; margin: 0 0 1.25rem; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.4; }

.hero-stats { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: .9375rem; color: var(--text); }
.hero-stats li { display: inline-flex; align-items: center; gap: .9rem; }
.hero-stats li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); }
/* Hors de la photo, les promesses deviennent de petites pastilles : aucun point isolé en début de ligne. */
@media (max-width: 991.98px) {
  .hero-stats { gap: .4rem; }
  .hero-stats li { padding: .2rem .7rem; border-radius: 999px; background: var(--surface-2); font-size: .875rem; }
  .hero-stats li + li::before { display: none; }
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }

/* Accueil : tailles des textes de la photo, réglées dans l'administration (1 = taille d'origine). */
.hero-home .eyebrow { font-size: calc(.8125rem * var(--eyebrow-scale, 1)); }
.hero-home .hero-copy h1 { font-size: calc(clamp(2.5rem, 1.5rem + 4vw, 5rem) * var(--title-scale, 1)); }
.hero-home .hero-text { font-size: calc(clamp(1.0625rem, 1rem + .35vw, 1.25rem) * var(--text-scale, 1)); }
.hero-home .hero-stats { font-size: calc(.9375rem * var(--points-scale, 1)); }
@media (max-width: 991.98px) { .hero-home .hero-stats li { font-size: calc(.875rem * var(--points-scale, 1)); } }

.hero-aside { display: grid; gap: .75rem; justify-items: stretch; }
.hero-controls { position: absolute; top: calc(var(--nav-height) + .25rem); right: 0; display: inline-flex; align-items: center; gap: .6rem; padding: .3rem .35rem .3rem .8rem; }
.hero .carousel-indicators { position: static; margin: 0; padding: 0; gap: .35rem; }
.hero .carousel-indicators [data-bs-target] { box-sizing: border-box; flex: none; width: 8px; height: 8px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: var(--line-strong); opacity: 1; transition: width .25s ease, background-color .25s ease; }
.hero .carousel-indicators .active { width: 22px; border-radius: 999px; background: var(--text); }
.hero-toggle { width: 2.2rem; height: 2.2rem; border: 0; background: transparent; font-size: 1rem; backdrop-filter: none; -webkit-backdrop-filter: none; }

.glass-card { display: flex; align-items: center; gap: 1rem; padding: 1rem; color: var(--text); text-decoration: none; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius-m); backdrop-filter: blur(22px) saturate(150%); -webkit-backdrop-filter: blur(22px) saturate(150%); transition: border-color .2s ease, transform .2s ease; }
.glass-card:hover { color: var(--text); border-color: var(--line-strong); transform: translateY(-2px); }
.glass-card img { flex: none; width: 4.25rem; height: 5.5rem; border-radius: 10px; object-fit: cover; }
.glass-card-label { display: block; margin-bottom: .35rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.glass-card-title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; line-height: 1.22; }
.glass-card-text { display: block; margin-top: .25rem; font-size: .875rem; line-height: 1.35; color: var(--muted); }

/* Sans photo : un simple aplat de la couleur de la page */
.hero-plain { background: var(--tint-wash); }
.hero-plain .hero-headline { min-height: 0; padding-top: calc(var(--nav-height) + clamp(2rem, 1.5rem + 3vw, 4rem)); padding-bottom: 0; }
.page-intro { max-width: 40rem; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.5; }
.page-intro p:last-child { margin-bottom: 0; }
.back-link { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1rem; min-height: 2.5rem; padding: .35rem 1rem .35rem .8rem; font-size: .9375rem; font-weight: 600; color: var(--text); text-decoration: none; }
.back-link:hover { color: var(--text); background: var(--surface-3); }

@media (min-width: 992px) {
  .hero { min-height: min(100svh, 920px); }
  .hero-bg, .hero-scrim { inset: 0; height: auto; }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgb(var(--ink-rgb) / 64%) 0%, rgb(var(--ink-rgb) / 36%) 36%, rgb(var(--ink-rgb) / 0%) 66%),
      linear-gradient(0deg, rgb(var(--ink-rgb) / 58%) 0%, rgb(var(--ink-rgb) / 0%) 48%);
  }
  .hero-tinted:not(.hero-plain) { background: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); align-items: end; gap: 2rem; padding-top: calc(var(--nav-height) + 2rem); padding-bottom: calc(var(--wave-h) + clamp(1.5rem, 1rem + 2vw, 3rem)); }
  .hero-headline { min-height: 0; padding: 0; }
  .hero:not(.hero-plain) .hero-copy {
    --text: #fff; --muted: rgb(255 255 255 / 88%); --glass: rgb(var(--ink-rgb) / 42%); --line: rgb(255 255 255 / 30%); --line-strong: rgb(255 255 255 / 45%); --surface-3: rgb(var(--ink-rgb) / 62%);
    color: #fff; text-shadow: 0 1px 22px rgb(var(--ink-rgb) / 45%);
  }
  .hero:not(.hero-plain) .cta, .hero:not(.hero-plain) .icon-btn { text-shadow: none; }
  .hero-aside { justify-items: end; }
  .hero-aside .glass-card { width: 100%; }
  .hero-controls { position: static; justify-self: end; }
  .hero-page { min-height: min(76svh, 680px); }
  .hero-page.hero-plain { min-height: 0; }
  .hero-plain .hero-headline { padding-top: 0; }
  .hero-plain .hero-inner { padding-top: calc(var(--nav-height) + clamp(2rem, 1.5rem + 3vw, 4rem)); padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
}

/* ---------- En-têtes de sections, rangées ---------- */

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
.section-head h2 { margin: 0; }
.section-head-text { max-width: 46rem; }
.section-head-text .rich { margin-top: .5rem; color: var(--muted); }
.section-head-text .rich p:last-child { margin-bottom: 0; }
.section-head-actions { display: flex; align-items: center; gap: .5rem; }
.section-head-actions .icon-btn { width: 2.5rem; height: 2.5rem; font-size: 1rem; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(165px, 42vw, 300px); gap: clamp(.75rem, .5rem + 1vw, 1.5rem);
  margin-inline: calc(var(--gutter) * -1); padding: .5rem var(--gutter) 1.25rem; overflow-x: auto;
  scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 992px) { .rail { grid-auto-columns: clamp(220px, 19vw, 300px); } }

/* ---------- Bandeau « Nouveau », dans le coin haut gauche d'une carte ---------- */

.new-ribbon { position: absolute; top: 0; left: 0; z-index: 4; padding: .3rem .85rem; border-radius: 0 0 var(--radius-s) 0; background: var(--nouveau); color: #fff; font-size: .8125rem; font-weight: 700; line-height: 1.2; pointer-events: none; }
.has-ribbon { position: relative; overflow: hidden; }

/* ---------- Affiches de voyages ---------- */

.poster { display: flex; flex-direction: column; min-width: 0; }
.poster-media { position: relative; overflow: hidden; border-radius: var(--radius-m); box-shadow: var(--poster-shadow); transition: transform .25s ease; }
.poster:hover .poster-media { transform: translateY(-4px); }
.poster-photo { aspect-ratio: 2 / 3; border-radius: 0; }
.poster-media::after { content: ""; position: absolute; inset: 40% 0 0; pointer-events: none; background: linear-gradient(0deg, rgb(var(--ink-rgb) / 84%) 0%, rgb(var(--ink-rgb) / 52%) 42%, rgb(var(--ink-rgb) / 0%) 100%); }
.poster-badge { position: absolute; top: .6rem; right: .6rem; z-index: 2; display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: 999px; background: rgb(var(--ink-rgb) / 52%); color: #fff; font-size: .75rem; font-weight: 600; pointer-events: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
/* Carte étroite : l'icône et le nombre suffisent, le bandeau « Nouveau » garde sa place. Le mot reste lu par les lecteurs d'écran. */
.poster-grid[data-size="s"] .poster-badge-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 575.98px) { .poster-badge-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } }
.poster-caption { position: absolute; inset: auto 0 0; z-index: 2; padding: .9rem; color: #fff; pointer-events: none; transition: transform .22s ease; }
.poster h3 { margin: 0; font-size: clamp(1.0625rem, 1rem + .4vw, 1.375rem); line-height: 1.16; color: #fff; }
.poster h3 a { color: inherit; text-decoration: none; pointer-events: auto; }
.poster h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.poster-cta { position: absolute; inset: auto .7rem .7rem; z-index: 3; display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.6rem; padding: .4rem .9rem; border-radius: 999px; background: var(--cta-bg); color: var(--on-accent); font-weight: 600; font-size: .9375rem; text-decoration: none; opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, background-color .2s ease; }
.poster:hover .poster-cta, .poster-cta:focus-visible { opacity: 1; transform: translateY(0); }
.poster-cta:hover { background: var(--cta-bg-hover); color: var(--on-accent); }
@media (hover: none) { .poster-cta { display: none; } }
@media (hover: hover) { .poster:hover .poster-caption { transform: translateY(-3.2rem); } }
.poster-meta { margin: .6rem .15rem 0; font-size: .9375rem; line-height: 1.38; color: var(--muted); }
.trip-price strong { color: var(--text); font-weight: 700; }
.poster-price { margin: .3rem 0 0; font-size: .8125rem; line-height: 1.3; color: rgb(255 255 255 / 90%); }
.poster-price strong { color: #fff; font-size: .9375rem; }
.hero-price { margin: 0 0 1.25rem; font-size: 1.0625rem; }
.hero-price strong { color: inherit; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); }
.side-card-price strong { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; }

.poster-grid { --poster-min: 230px; display: grid; gap: clamp(1.25rem, .75rem + 1.5vw, 2.25rem) clamp(.75rem, .5rem + 1vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(min(var(--poster-min), 44%), 1fr)); }
.poster-grid[data-size="s"] { --poster-min: 170px; }
.poster-grid[data-size="l"] { --poster-min: 320px; }
.poster-grid[data-size="s"] .poster h3 { font-size: 1.0625rem; }
@media (max-width: 575.98px) {
  .poster-grid, .poster-grid[data-size] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.list-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
.empty { padding: clamp(2rem, 1rem + 4vw, 4rem) 1.5rem; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
.empty h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); margin-bottom: .5rem; }
.empty p { max-width: 34rem; margin: 0 auto 1.25rem; color: var(--muted); }

/* ---------- Accueil : présentation et services ---------- */

.intro-grid { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.intro-grid h2 { margin-bottom: 1rem; }
.intro-text { max-width: 38rem; font-size: 1.125rem; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-person { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.5rem; color: var(--text); font-weight: 600; line-height: 1.3; text-decoration: none; }
.intro-person:hover { color: var(--text); }
.intro-person img { flex: none; width: 4.5rem; height: 4.5rem; border: 3px solid var(--surface); border-radius: 50%; object-fit: cover; object-position: center 22%; box-shadow: var(--poster-shadow); }
.intro-person small { display: block; font-size: .9375rem; font-weight: 500; color: var(--mer); }
.intro-photos { display: grid; gap: .75rem; grid-template-columns: 1fr; }
.intro-photos .photo { aspect-ratio: 16 / 10; }
.intro-photos-2 { grid-template-columns: 1fr 1fr; }
.intro-photos-2 .photo { aspect-ratio: 4 / 5; }
.intro-photos-2 .photo:nth-child(2) { margin-top: clamp(1rem, 3vw, 2.5rem); }
.intro-photos-3, .intro-photos-4 { grid-template-columns: 1fr 1fr; }
.intro-photos-3 .photo { aspect-ratio: 4 / 3; }
.intro-photos-3 .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.intro-photos-4 .photo { aspect-ratio: 4 / 3; }
@media (min-width: 992px) { .intro-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }

.tile-grid { display: grid; gap: clamp(.75rem, .5rem + 1vw, 1.25rem); grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(260px, 26vw, 360px); padding: 1.25rem; overflow: hidden; border-radius: var(--radius-m); background: var(--surface-2); }
.tile .photo { position: absolute; inset: 0; z-index: -2; border-radius: 0; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgb(var(--ink-rgb) / 84%) 0%, rgb(var(--ink-rgb) / 48%) 36%, rgb(var(--ink-rgb) / 0%) 70%); }
.tile h3 { margin: 0 0 .3rem; color: #fff; }
.tile h3 a { color: inherit; text-decoration: none; }
.tile h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tile p { margin: 0; font-size: .9375rem; line-height: 1.35; color: rgb(255 255 255 / 82%); }
.tile h3, .tile p { position: relative; }

/* ---------- Galerie d'un voyage ---------- */

.gallery { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery .photo { aspect-ratio: 4 / 3; border-radius: var(--radius-s); }
.gallery .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery-2 .photo:first-child { grid-column: auto; aspect-ratio: 4 / 3; }
.gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(var(--ink-rgb) / 58%); color: #fff; font-weight: 700; font-size: 1.0625rem; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
  .gallery .photo { aspect-ratio: auto; height: clamp(150px, 15vw, 230px); border-radius: var(--radius-m); }
  .gallery .photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
  .gallery-1 .photo:first-child { grid-column: 1 / -1; grid-row: auto; height: clamp(240px, 32vw, 460px); }
  .gallery-2 .photo, .gallery-2 .photo:first-child { grid-column: span 2; grid-row: auto; height: clamp(200px, 24vw, 340px); }
  .gallery-3 .photo:not(:first-child) { grid-column: span 2; }
  .gallery-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-4 .photo:first-child { grid-column: 1 / span 2; grid-row: span 3; }
}

.article-grid { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 992px) { .article-grid { grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); } }
.side-card { display: grid; gap: 1rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
@media (min-width: 992px) { .side-card { position: sticky; top: calc(var(--nav-height) + 1rem); } }
.side-card h2 { margin: 0; font-size: 1.5rem; }
.side-card p { margin: 0; color: var(--muted); }
.side-card .cta { width: 100%; }
.side-card-actions { display: grid; gap: .5rem; }

/* ---------- Texte mis en forme dans l'éditeur ---------- */

.rich { overflow-wrap: break-word; }
.rich p { margin-bottom: 1rem; }
.rich h2 { margin: 2.25rem 0 .75rem; font-size: clamp(1.5rem, 1.25rem + 1vw, 2.125rem); }
.rich h3 { margin: 1.5rem 0 .4rem; color: var(--mer); }
.rich h4 { margin: 1.25rem 0 .4rem; }
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich ul, .rich ol { margin-bottom: 1rem; padding-left: 1.3rem; }
.rich li { margin-bottom: .35rem; }
.rich li::marker { color: var(--mer); }
.rich a { color: var(--mer); text-underline-offset: 3px; }
.rich blockquote { margin: 1.25rem 0; padding: .75rem 1.25rem; background: var(--surface); border-left: 3px solid var(--mer); border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.rich [style*="background-color"] { color: #16324a; padding: .05em .3em; border-radius: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rich-long { max-width: 46rem; font-size: 1.0938rem; }

/* ---------- Services ---------- */

.service-list { display: grid; gap: clamp(1rem, .75rem + 1.5vw, 2rem); }
.service-card { display: grid; gap: clamp(1.25rem, 1rem + 2vw, 3rem); align-items: center; padding: clamp(.75rem, .5rem + 1.25vw, 1.5rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); scroll-margin-top: calc(var(--nav-height) + 1rem); }
.service-body { padding: .25rem clamp(.5rem, .25rem + 1vw, 1.25rem) .75rem; }
.service-body h2 { margin: 0 0 .4rem; }
.service-subtitle { margin: 0 0 1.1rem; font-size: 1.125rem; line-height: 1.4; color: var(--mer); font-weight: 500; }
.service-photos { display: grid; gap: .5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-photos .photo { aspect-ratio: 4 / 3; border-radius: var(--radius-s); }
.service-photos .photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: var(--radius-m); }
.service-photos:has(> .photo:nth-child(2):last-child) .photo:last-child { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.service-photos:has(> .photo:nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-prices { display: grid; gap: .4rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.service-prices li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem 1rem; padding: .65rem .9rem; background: var(--tint-soft); border-radius: var(--radius-s); font-size: .9375rem; }
.service-prices strong { color: var(--text); font-weight: 700; }
.service-prices a { color: var(--text); text-decoration: none; }
@media (min-width: 992px) {
  .service-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(even) .service-media { order: 2; }
}

/* ---------- Tarifs ---------- */

.price-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(.75rem, .5rem + 1vw, 1.25rem); max-width: 1200px; margin-inline: auto; }
.price-card { flex: 1 1 min(300px, 100%); max-width: 380px; display: flex; flex-direction: column; padding: clamp(2.1rem, 1.9rem + .5vw, 2.4rem) clamp(1.25rem, 1rem + 1vw, 1.75rem) clamp(1.25rem, 1rem + 1vw, 1.75rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); transition: border-color .2s ease, transform .2s ease; }
.price-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.price-label { display: flex; align-items: center; gap: .5rem; margin: 0 0 1.25rem; font-size: .875rem; font-weight: 600; color: var(--muted); }
.price-card .dot { background: var(--tint); }
.price-card h2 { margin: 0 0 .5rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -.005em; }
.price-amount { margin: 0 0 1rem; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.875rem, 1.6rem + 1vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; color: var(--text); }
.price-amount small { margin-right: .15em; font-family: var(--font-body); font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.price-card .rich { flex: 1; color: var(--muted); }
.price-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.5rem; }
.price-actions .cta { min-height: 2.75rem; padding: .5rem 1.2rem; font-size: .9375rem; }
.price-service-link { font-size: .9375rem; font-weight: 600; color: var(--text); text-underline-offset: 3px; }
.price-service-link:hover { color: var(--mer); }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: clamp(1rem, .75rem + 1.5vw, 2rem); align-items: start; }
@media (min-width: 992px) { .contact-grid { grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr); } }
.panel { padding: clamp(1.25rem, 1rem + 1.25vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
.panel h2 { margin: 0 0 1.25rem; font-size: clamp(1.5rem, 1.3rem + .8vw, 2rem); }
.panel h3 { margin: 1.75rem 0 .9rem; font-size: 1.0625rem; font-family: var(--font-body); }
.contact-owner { margin: 0 0 1.25rem; font-weight: 700; font-size: 1.125rem; line-height: 1.35; }
.contact-owner span { display: block; font-weight: 400; font-size: 1rem; color: var(--muted); }
.contact-list { display: grid; gap: .75rem; margin: 0; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: .85rem; align-items: flex-start; overflow-wrap: anywhere; }
.contact-list i { display: inline-grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--tint-soft); color: var(--tint); font-size: 1.05rem; }
.contact-list span, .contact-list a { padding-top: .45rem; }
.contact-list a { color: var(--text); text-underline-offset: 3px; }

.contact-form .form-grid { display: grid; gap: 1rem; }
@media (min-width: 768px) {
  .contact-form .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form .field-wide { grid-column: 1 / -1; }
}
.form-project { min-width: 0; margin: 0; padding: 0; border: 0; }
.form-project legend { float: none; width: auto; margin: 0 0 .6rem; padding: 0; font-size: 1.0625rem; font-weight: 700; line-height: 1.4; }
.form-project legend span { font-weight: 500; color: var(--muted); }
@media (min-width: 768px) { .form-grid-3 > :first-child { grid-column: 1 / -1; } }
@media (min-width: 1200px) {
  .contact-form .form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid-3 > :first-child { grid-column: auto; }
}
.form-label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .9375rem; }
.form-control {
  width: 100%; min-height: 3rem; padding: .7rem 1rem; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--field); color: var(--text); font-size: 1rem;
}
.form-control::placeholder { color: var(--muted); opacity: 1; }
.form-control:focus { background: var(--field); color: var(--text); border-color: var(--mer); box-shadow: 0 0 0 3px var(--mer-ring); outline: 0; }
.form-control[aria-invalid="true"] { border-color: var(--rose); }
.field-error { margin-top: .35rem; color: var(--rose); font-weight: 500; font-size: .9375rem; }
.form-alert { display: flex; gap: .6rem; align-items: baseline; margin-bottom: 1.25rem; padding: .8rem 1rem; background: var(--rose-soft); border-radius: var(--radius-s); font-weight: 500; }
.form-alert i { color: var(--rose); }
.form-actions { margin-top: 1.5rem; }
.form-note { margin: 1rem 0 0; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.form-note a { color: var(--text); text-underline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.social-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: .35rem 1rem .35rem .4rem; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); font-weight: 600; font-size: .9375rem; text-decoration: none; transition: background-color .18s ease; }
.social-links a:hover { background: var(--surface-2); color: var(--text); }
.social-icon { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--tint-soft); color: var(--tint); font-size: .95rem; }

/* ---------- Messages ---------- */

.flash-stack { position: fixed; top: calc(var(--nav-height) + .25rem); right: var(--gutter); left: var(--gutter); z-index: 1040; display: grid; justify-items: end; gap: .5rem; pointer-events: none; }
.flash { display: flex; align-items: flex-start; gap: .7rem; max-width: 30rem; margin: 0; padding: .85rem 1rem; background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-m); box-shadow: var(--shadow); font-weight: 500; pointer-events: auto; }
.flash > i { color: var(--vert); font-size: 1.15rem; line-height: 1.4; }
.flash-error > i { color: var(--rose); }
.flash-close { flex: none; margin-left: .25rem; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 1.15rem; line-height: 1.4; cursor: pointer; }
.flash-close:hover { color: var(--text); }

/* ---------- Prochaine escale ---------- */

.next-stop { padding-bottom: clamp(2.5rem, 1.75rem + 3vw, 5rem); }
.section-tinted + .next-stop { padding-top: clamp(2.5rem, 1.75rem + 3vw, 5rem); }
.next-stop-photo { position: relative; isolation: isolate; padding-block: clamp(4rem, 3rem + 7vw, 9rem) calc(clamp(4rem, 3rem + 7vw, 9rem) + var(--wave-h)); }
.next-stop-bg { position: absolute; inset: 0; z-index: -1; display: block; width: 100%; height: 100%; object-fit: cover; }
.next-stop-photo .next-stop-panel { background: var(--glass); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); }
.next-stop-panel { padding: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); background: radial-gradient(90% 160% at 0% 0%, var(--tint-soft), transparent 65%), var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
.route { display: flex; margin: 0 0 clamp(1.25rem, 1rem + 1vw, 2rem); padding: 0; list-style: none; }
.route li { position: relative; flex: 1; text-align: center; font-size: .8125rem; font-weight: 600; }
.route li::before { content: ""; display: block; position: relative; z-index: 1; width: .85rem; height: .85rem; margin: 0 auto .4rem; border: 2px solid var(--tint); border-radius: 50%; background: var(--surface); }
.route li.is-reached::before { background: var(--tint); }
.route li + li::after { content: ""; position: absolute; top: .36rem; right: 50%; width: 100%; border-top: 2px dashed var(--line-strong); }
.route-plane { position: absolute; top: -.2rem; right: calc(50% + 1rem); z-index: 2; color: var(--mer); font-size: 1rem; line-height: 1; transform: rotate(90deg); }
.route a { color: var(--muted); text-decoration: none; }
.route .is-reached a, .route a:hover { color: var(--text); }
.next-stop-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.next-stop-body h2 { margin: 0 0 .35rem; }
.next-stop-label { display: flex; align-items: center; gap: .5rem; margin: 0 0 .5rem; font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.next-stop-label .dot { background: var(--tint); }
.next-stop-text { margin: 0; max-width: 40rem; color: var(--muted); }

/* ---------- Pied de page ---------- */

.site-footer {
  --text: var(--footer-text); --muted: var(--footer-muted); --line: rgb(255 255 255 / 14%); --line-strong: rgb(255 255 255 / 28%); --surface-2: rgb(255 255 255 / 9%);
  position: relative; margin-top: auto; background: var(--footer-bg); color: var(--text);
}
.site-footer::before {
  content: ""; position: absolute; inset: auto 0 calc(100% - 1px); height: var(--wave-h); background: var(--footer-bg);
  -webkit-mask: var(--wave-shape) center bottom / 100% 100% no-repeat; mask: var(--wave-shape) center bottom / 100% 100% no-repeat;
}
.footer-grid { display: grid; gap: 2rem; padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.footer-brand { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.3125rem; letter-spacing: -.01em; }
.footer-brand img { width: 2.2rem; height: 2.2rem; }
.footer-text { margin: 0 0 .35rem; color: var(--muted); }
.footer-grid a { color: var(--text); text-underline-offset: 3px; }
.footer-title { margin-bottom: .75rem; font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-links { display: grid; gap: .3rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; padding-block: 1.1rem; border-top: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.footer-legal { color: var(--muted); text-decoration: none; }
.footer-legal:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.5fr); } }

/* ---------- Conditions générales, page introuvable ---------- */

.about-grid { display: grid; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 768px) { .about-grid.has-portrait { grid-template-columns: clamp(200px, 24vw, 320px) minmax(0, 1fr); } }
.about-portrait { aspect-ratio: 4 / 5; box-shadow: var(--poster-shadow); }
@media (max-width: 767.98px) { .about-portrait { width: min(100%, 15rem); margin-inline: auto; } }

.legal { max-width: 52rem; }
.legal h1 { font-size: clamp(2.25rem, 1.75rem + 2.4vw, 3.5rem); margin-bottom: .75rem; }
.legal-date { margin-bottom: 2rem; font-size: .9375rem; color: var(--muted); }
.not-found { display: grid; justify-items: start; gap: 1rem; min-height: 60vh; align-content: center; }
.not-found h1 { max-width: 14ch; margin: 0; }
.not-found p { max-width: 34rem; margin: 0 0 .5rem; color: var(--muted); font-size: 1.125rem; }

/* ---------- Plein écran ---------- */

.glightbox-clean .gslide-description { background: var(--surface); }
.glightbox-clean .gdesc-inner { padding: .85rem 1.1rem; }
.glightbox-clean .gslide-title { margin: 0; color: var(--text); font-family: var(--font-body); font-size: .9375rem; font-weight: 500; }
.lightbox-counter { position: absolute; top: .9rem; left: 50%; z-index: 100000; transform: translateX(-50%); padding: .35rem .9rem; border-radius: 999px; background: rgb(var(--ink-rgb) / 72%); color: #fff; font-weight: 700; font-size: 1rem; line-height: 1.3; font-variant-numeric: tabular-nums; pointer-events: none; transition: opacity .2s ease; }
.glightbox-closing .lightbox-counter { opacity: 0; }
.glightbox-clean .gnext, .glightbox-clean .gprev, .glightbox-clean .gclose { width: 3rem; height: 3rem; border-radius: 50%; background-color: rgb(var(--ink-rgb) / 72%); opacity: 1; }
/* La bibliothèque cache ces flèches sur téléphone : on les garde pour montrer qu'il y a d'autres photos. */
.glightbox-clean .gnext, .glightbox-clean .gprev { top: calc(50% - 1.5rem); }
@media (max-width: 768.98px) {
  .glightbox-clean .gprev { left: .5rem; }
  .glightbox-clean .gnext { right: .5rem; }
  .glightbox-clean .gclose { top: .55rem; right: .5rem; }
}
.glightbox-clean .gnext:hover, .glightbox-clean .gprev:hover, .glightbox-clean .gclose:hover { background-color: rgb(var(--ink-rgb) / 92%); }
.glightbox-clean .gnext svg, .glightbox-clean .gprev svg { width: 1.25rem; }
.glightbox-clean .gclose svg { width: 1rem; }

/* Ajoutée par le script seulement : sans lui, tout reste visible. */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .photo:hover img { transform: none; }
}
