/* Carcassonne & l'Aude — feuille de style unique (aucune dépendance externe).
   Direction validée : bleu marine profond, or solaire, ivoire, touches bleu d'eau. */

@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/assets/fonts/cormorant-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("/assets/fonts/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("/assets/fonts/source-serif-4-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --navy: #0f2547;
  --navy-2: #16335f;
  --navy-3: #1d4174;
  --ink: #14284a;
  --gold: #d6a640;
  --gold-2: #e8c46e;
  --gold-text: #7f5c12;      /* or lisible sur ivoire (contraste ≥ 4,5:1) */
  --ivory: #fbf7ee;
  --ivory-2: #f4ecda;
  --ivory-3: #ebdfc5;
  --water: #4f7fb0;
  --water-light: #7fa6cc;
  --muted: #4a5a73;
  --radius: 8px;
  --shadow: 0 14px 34px -18px rgba(15, 37, 71, .45);
  --shadow-lg: 0 24px 50px -24px rgba(15, 37, 71, .55);
  --font-display: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --font-body: "Source Serif", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --dock-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  padding-bottom: var(--dock-h);
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--navy-3); text-underline-offset: .18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--navy); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
main { display: block; outline: none; }

/* ---------- Boutons ---------- */
.icon { width: 1.15em; height: 1.15em; flex: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 46px; padding: .7em 1.4em; border-radius: 6px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn .icon-arrow { width: 1.1em; }
.btn-gold {
  color: var(--navy); background: linear-gradient(180deg, #f0d184 0%, var(--gold-2) 35%, #d4a346 100%);
  border-color: #c99a3c; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 8px 18px -10px rgba(126, 88, 20, .8);
}
.btn-gold:hover { color: var(--navy); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 12px 22px -10px rgba(126, 88, 20, .9); }
.btn-outline { color: var(--navy); background: transparent; border-color: rgba(15, 37, 71, .45); }
.btn-outline:hover { background: rgba(15, 37, 71, .06); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.btn-ghost-light:hover { color: #fff; background: rgba(255, 255, 255, .14); }
.btn-sm { min-height: 40px; padding: .5em 1.05em; font-size: .93rem; }
.btn-block { display: flex; width: 100%; margin-top: .7rem; }
.text-link { display: inline-flex; align-items: center; gap: .35em; color: var(--navy-3); font-weight: 600; }
.text-link .icon { width: 1em; height: 1em; }
.link-btn { background: none; border: 0; padding: 0; color: var(--gold-2); text-decoration: underline; cursor: pointer; font: inherit; }

/* Boutons « verre » (maquette V5) : transparence, flou d'arrière-plan, reflets */
.glass-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.glass-actions.on-light { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-glass {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; justify-content: center; min-height: 48px; padding: .6em 1em;
  border-radius: 9px; font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: .01em; text-decoration: none;
  -webkit-backdrop-filter: blur(10px) saturate(150%); backdrop-filter: blur(10px) saturate(150%);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-glass::before { /* reflet supérieur */
  content: ""; position: absolute; inset: 1px 1px 52% 1px; border-radius: 8px 8px 40% 40% / 8px 8px 14px 14px; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .75), rgba(255, 255, 255, .08));
}
.btn-glass-light {
  color: var(--navy);
  background: linear-gradient(180deg, rgba(246, 248, 252, .92) 0%, rgba(214, 222, 234, .78) 55%, rgba(188, 199, 216, .8) 100%);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: inset 0 -6px 12px rgba(15, 37, 71, .16), inset 0 1px 0 #fff, 0 6px 14px -4px rgba(0, 0, 0, .45);
}
.btn-glass-dark {
  color: #fff;
  background: linear-gradient(180deg, rgba(58, 92, 146, .62) 0%, rgba(20, 44, 84, .78) 55%, rgba(10, 27, 56, .9) 100%);
  border: 1px solid rgba(190, 210, 240, .55);
  box-shadow: inset 0 -6px 12px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .45), 0 6px 14px -4px rgba(0, 0, 0, .5);
}
.btn-glass-dark::before { background: linear-gradient(180deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .02)); }
.btn-glass-dark::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 26px; height: 2px; margin-left: -13px; background: var(--gold); border-radius: 2px; }
.btn-glass:hover { transform: translateY(-1px); filter: brightness(1.05); }
.btn-glass-light:hover { color: var(--navy); }
.btn-glass-dark:hover { color: #fff; }
.btn-glass:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 3px; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 238, .96); border-bottom: 1px solid rgba(15, 37, 71, .08); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); min-width: 0; }
.brand-emblem { width: 96px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.45rem, 2.4vw, 2.05rem); color: var(--navy); white-space: nowrap; }
.brand-tagline { margin-top: 6px; font-size: .68rem; letter-spacing: .42em; text-transform: uppercase; color: var(--navy-2); white-space: nowrap; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.nav-list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--navy); text-decoration: none; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav-list a:hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--gold); }
.nav-sep { width: 1px; height: 28px; background: rgba(15, 37, 71, .35); }
.nav-toggle { display: none; }

@media (max-width: 1023px) {
  .brand-emblem { width: 72px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border-radius: 6px;
    border: 1px solid rgba(15, 37, 71, .25); background: #fff; color: var(--navy); font: inherit; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 14px;
    padding: 16px var(--gutter) 22px; background: var(--ivory); border-bottom: 1px solid rgba(15, 37, 71, .12); box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: 12px 4px; border-bottom: 1px solid rgba(15, 37, 71, .08); font-size: 1.08rem; }
  .nav-sep { display: none; }
}
@media (max-width: 480px) {
  .brand-emblem { width: 54px; }
  .brand-name { font-size: 1.28rem; }
  .brand-tagline { font-size: .56rem; letter-spacing: .3em; }
  .nav-toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ---------- Fil d'Ariane / têtes de page ---------- */
.breadcrumbs { padding-top: 18px; font-size: .9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: var(--gold-text); }
.breadcrumbs a { color: var(--muted); }
.page-head { padding-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(14px, 2vw, 24px); }
.page-head h1 { max-width: 20ch; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.2rem); color: #2d3d58; max-width: 68ch; }
.eyebrow { font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .6em; font-weight: 600; }
.page-head-visual { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.page-head-figure { margin: 0; }
.page-head-img { aspect-ratio: 16 / 10; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 860px) { .page-head-visual { grid-template-columns: 1fr; } .page-head-figure { order: -1; } }

.section { padding: clamp(26px, 3.4vw, 44px) 0; } /* rythme compact : ~88 px entre deux sections sur ordinateur */
.section-tight { padding-top: clamp(16px, 3vw, 28px); padding-bottom: clamp(28px, 4vw, 44px); }
.section-title { text-align: center; position: relative; padding-bottom: 14px; margin-bottom: 22px; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 2px; margin-left: -28px; background: var(--gold); }
.section-title.left { text-align: left; }
.section-title.left::after { left: 0; margin-left: 0; }
.section-sub { text-align: center; margin: -8px auto 22px; color: #2d3d58; font-size: 1.08rem; }
.section-note { text-align: center; color: var(--muted); font-size: .95rem; margin: 16px auto 0; max-width: 70ch; }
.section-note.left { text-align: left; margin-left: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.gold-rule { display: block; width: 48px; height: 2px; background: var(--gold); margin: 22px 0; }

/* ---------- Hero : paysage validé + dégradé bleu nuit vers la transparence (bandeau de référence) ---------- */
.hero { position: relative; isolation: isolate; min-height: clamp(500px, 43vw, 640px); display: flex; align-items: center; overflow: hidden; background: #0b1d3a; color: #fff; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 62% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 26, 54, .97) 0%, rgba(10, 26, 54, .93) 24%, rgba(11, 29, 58, .74) 36%, rgba(11, 29, 58, .32) 47%, rgba(11, 29, 58, 0) 58%),
    linear-gradient(0deg, rgba(10, 26, 54, .35) 0%, rgba(10, 26, 54, 0) 22%); }
.hero-copy { position: relative; }
.hero-arc { position: absolute; left: -48px; top: 8px; width: calc(100% + 230px); height: calc(100% - 40px); z-index: -1; pointer-events: none; }
.hero-inner { position: relative; z-index: 3; }
.hero-copy { max-width: 520px; padding: 48px 0 140px; } /* bas réservé au symbole de la Cité : jamais sous le bouton */
.hero h1 { color: #fff; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 1.02; margin: 0; text-shadow: 0 2px 18px rgba(5, 15, 35, .45); }
.hero .gold-rule { margin: 26px 0 22px; }
.hero-lead { color: #f1e8d4; font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 30ch; margin-bottom: 26px; text-shadow: 0 1px 10px rgba(5, 15, 35, .5); }
.hero-skyline { position: absolute; left: clamp(8px, 2vw, 28px); bottom: 4px; width: min(36%, 470px); z-index: 2; pointer-events: none; }
.hero-skyline img, .guide-band-deco img { display: block; width: 100%; height: auto; }
.mascotte-hero { position: absolute; right: clamp(3%, 6vw, 9%); bottom: 2%; width: clamp(130px, 13vw, 200px); z-index: 4; cursor: pointer; }
.mascotte-hero .mascotte-img picture img { width: 100%; height: auto; filter: drop-shadow(0 14px 16px rgba(40, 24, 8, .45)); }
.hero-bubble {
  position: absolute; left: -18%; top: 6%; transform: translate(-100%, 0) scale(.85); opacity: 0;
  background: #fff; color: var(--navy); font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  padding: 8px 16px; border-radius: 18px 18px 4px 18px; box-shadow: var(--shadow); white-space: nowrap; transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.mascotte-hero:hover .hero-bubble, .mascotte-hero:focus-visible .hero-bubble, .mascotte-hero.is-waving .hero-bubble, .mascotte-hero.is-greeting .hero-bubble { opacity: 1; transform: translate(-100%, 0) scale(1); }

@media (max-width: 860px) {
  /* Mobile : la Cité en haut, le dégradé monte du bas pour porter le texte sans couvrir les tours */
  .hero { min-height: 0; display: block; padding-top: 74vw; }
  .hero-bg, .hero-bg img { height: calc(74vw + 40px); }
  .hero-bg img { object-position: 66% 50%; }
  .hero-shade { background: linear-gradient(180deg, rgba(11, 29, 58, 0) 0, rgba(11, 29, 58, 0) 52vw, rgba(11, 29, 58, .65) 66vw, #0b1d3a calc(74vw + 14px), #0b1d3a 100%); }
  .hero-arc { display: none; }
  .hero-copy { padding: 8px 0 104px; max-width: none; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero-skyline { width: 86%; left: 7%; bottom: 6px; }
  .mascotte-hero { width: 92px; right: 6%; top: calc(74vw - 158px); bottom: auto; }
  .hero-bubble { font-size: 1.05rem; }
}

/* ---------- Photographies (bibliothèque sous licence) ---------- */
.photo { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--navy); }
.photo picture { display: block; width: 100%; height: 100%; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo.fit-contain picture { position: relative; z-index: 1; }
.photo.fit-contain picture img { object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
.photo.fit-contain .photo-bg { position: absolute; inset: 0; z-index: 0; object-fit: cover; filter: blur(22px) brightness(.62) saturate(1.15); transform: scale(1.2); }
figcaption a { color: inherit; }

/* ---------- Confort ---------- */
.comfort { background: linear-gradient(180deg, #fbf8f0, var(--ivory)); }
.amenities { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1000px; }
.amenity { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px 18px; text-align: center; color: var(--navy); font-size: 1rem; position: relative; }
.amenity .icon { width: 52px; height: 52px; color: #c28a24; stroke-width: 2.1; }
.amenities > .amenity:not(:nth-child(4n))::after { content: ""; position: absolute; right: 0; top: 14%; bottom: 14%; width: 1px; background: linear-gradient(transparent, rgba(194, 138, 36, .45), transparent); }
.amenities > .amenity:nth-child(-n+4)::before { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 1px; background: rgba(194, 138, 36, .35); }
.amenities.compact { grid-template-columns: repeat(4, 1fr); max-width: none; }
.amenities.compact .amenity { padding: 14px 6px; font-size: .95rem; }
.amenities.compact .amenity .icon { width: 40px; height: 40px; }
@media (max-width: 640px) {
  .amenities, .amenities.compact { grid-template-columns: repeat(2, 1fr); }
  .amenities > .amenity::after, .amenities > .amenity::before { display: none; }
  .amenities > .amenity { border-bottom: 1px solid rgba(194, 138, 36, .25); }
  .amenities > .amenity:nth-child(odd) { border-right: 1px solid rgba(194, 138, 36, .25); }
}

/* ---------- Cartes logements (V5) ---------- */
.lodging-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.lodging-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin: 0 auto; }
.lodging-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--navy); box-shadow: var(--shadow-lg); }
.lodging-photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ivory-3); }
.lodging-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lodging-card:hover .lodging-photo img { transform: scale(1.03); }
.lodging-body { flex: 1; display: flex; flex-direction: column; padding: 12px 16px 18px; background: radial-gradient(120% 140% at 50% 0%, #1e3e6e 0%, var(--navy) 60%, #0c1f3e 100%); color: #e9eef7; }
.lodging-name { color: #fff; text-align: center; font-size: clamp(1.55rem, 2.3vw, 1.95rem); margin: 2px 0 12px; }
.lodging-pitch { font-size: .97rem; color: #dfe6f2; text-align: center; }
.lodging-facts { list-style: none; padding: 0; margin: 0 0 16px; font-size: .9rem; color: #cfd9e9; }
.lodging-facts li { padding: 6px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.lodging-facts span { color: var(--gold-2); }
.lodging-body .glass-actions { margin-top: auto; }
@media (max-width: 900px) { .lodging-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } .lodging-grid.two { grid-template-columns: 1fr; } }

/* ---------- Destination : cartes catégories (V5) ---------- */
.destination { position: relative; background: var(--ivory); overflow: hidden; }
.destination::before, .destination::after { content: ""; position: absolute; top: -6px; width: 300px; height: 265px; opacity: .3; pointer-events: none; z-index: 0;
  background: url("/assets/img/deco/rameau.svg") no-repeat center / contain; }
.destination::before { left: -96px; transform: scaleX(-1) rotate(-4deg); }
.destination::after { right: -104px; transform: rotate(6deg); }
@media (max-width: 1100px) { .destination::before, .destination::after { width: 200px; height: 176px; opacity: .2; } .destination::before { left: -110px; } .destination::after { right: -116px; } }
@media (max-width: 640px) { .destination::before, .destination::after { display: none; } }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); position: relative; z-index: 1; }
.cat-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cat-card { position: relative; display: block; aspect-ratio: 2.1 / 1; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; box-shadow: var(--shadow); background: var(--navy); }
.cat-grid.three .cat-card { aspect-ratio: 16 / 10; }
.cat-card .cat-card-photo { position: absolute; inset: 0; }
.cat-card .cat-card-photo img { transition: transform .7s ease; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 20, 42, .82) 0%, rgba(8, 20, 42, .45) 34%, rgba(8, 20, 42, 0) 62%), linear-gradient(90deg, rgba(8, 20, 42, .35) 0%, transparent 60%); }
.cat-card:hover .cat-card-photo img { transform: scale(1.04); }
.cat-card-text { position: absolute; left: clamp(16px, 2vw, 22px); bottom: clamp(14px, 2vw, 20px); right: 80px; z-index: 2; display: flex; flex-direction: column; }
.cat-card-title { color: var(--gold-2); font-size: clamp(1.4rem, 2.2vw, 1.85rem); margin: 0 0 4px; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.cat-card-pitch { font-size: .98rem; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .55); }
.cat-card-arrow { position: absolute; right: 18px; bottom: 16px; z-index: 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold-2); color: #fff; background: rgba(8, 20, 42, .25); transition: background .2s; }
.cat-card:hover .cat-card-arrow { background: var(--gold); color: var(--navy); }
.cat-card-arrow .icon { width: 22px; height: 22px; }
.cat-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 760px) { .cat-grid, .cat-grid.three { grid-template-columns: 1fr; } .cat-card { aspect-ratio: 16 / 9; } }

/* Escapades hors de l'Aude : deux cartes éditoriales, photos à leur proportion */
.escapes { position: relative; z-index: 1; margin-top: clamp(30px, 4vw, 48px); --esc-h: 420px; }
.escapes-eyebrow { text-align: center; margin-bottom: 16px; }
.escapes-grid { display: grid; grid-template-columns: minmax(0, 1fr) calc(var(--esc-h) * 2 / 3); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.escape-card { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: radial-gradient(120% 120% at 50% 0%, #1b3b6a 0%, var(--navy) 60%, #0b1d3a 100%); color: #e9eef7; box-shadow: var(--shadow-lg); }
.escape-frame { height: var(--esc-h); background: #0b1d3a; }
.escape-tall .escape-frame { aspect-ratio: 2 / 3; height: auto; } /* même proportion que la photo : fusée entière, sans recadrage */
.escape-tall .photo.fit-contain picture img { object-fit: cover; filter: none; } /* cadre à la proportion de la photo : aucun fond flou */
.escape-frame .photo img { transition: transform .8s ease; }
.escape-card:hover .escape-frame .photo img { transform: scale(1.02); }
.escape-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(18px, 2.2vw, 26px); }
.escape-kicker { margin: 0 0 4px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #cfd9e9; }
.escape-title { color: var(--gold-2); font-size: clamp(1.55rem, 2.4vw, 2rem); margin: 0 0 8px; }
.escape-text { font-size: .98rem; color: #e3e9f3; margin: 0 0 18px; }
.escape-body .btn { margin-top: auto; }
.escapes-more { margin: 18px 0 0; }
@media (max-width: 999px) {
  .escapes-grid { grid-template-columns: 1fr; }
  .escape-wide .escape-frame { height: auto; aspect-ratio: 2.4 / 1; }
  .escape-tall { display: grid; grid-template-columns: 42% 1fr; }
  .escape-tall .escape-frame { aspect-ratio: auto; height: 100%; min-height: 240px; } /* hauteur de la carte : seuls les bords latéraux du ciel sont recadrés, la fusée reste entière */
}

/* ---------- Cartes fiches ---------- */
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.place-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(15, 37, 71, .06); position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.place-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.place-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ivory-3); }
.place-media .photo img { transition: transform .6s ease; }
.place-card:hover .place-media .photo img { transform: scale(1.03); }
.place-body { padding: 16px 18px 20px; }
.place-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .86rem; color: var(--muted); margin-bottom: 6px; }
.badge { display: inline-block; padding: 2px 9px; border-radius: 99px; background: var(--ivory-2); color: var(--gold-text); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.place-title { font-size: 1.45rem; margin-bottom: 6px; }
.place-title a { color: var(--navy); text-decoration: none; }
.place-title a::after { content: ""; position: absolute; inset: 0; }
.place-title a:focus-visible { outline: none; }
.place-card:focus-within { outline: 3px solid var(--gold); outline-offset: 3px; }
.place-pitch { font-size: .97rem; color: #33435e; margin: 0; }
.group-title { font-size: 1.5rem; margin: 28px 0 14px; padding-left: 12px; border-left: 3px solid var(--gold); }

/* ---------- Pages logement / fiche ---------- */
.lodging-layout, .place-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(22px, 4vw, 48px); align-items: start; padding-bottom: 20px; }
.gallery-main, .place-figure { margin: 0 0 18px; }
.gallery-main img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 2; object-fit: cover; }
.place-figure .photo { aspect-ratio: 3 / 2; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.place-figure .photo.ratio-wide { aspect-ratio: 21 / 9; }
.place-figure .photo.fit-contain { aspect-ratio: 4 / 3; }
figcaption { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.credits-table img { width: 96px; height: auto; border-radius: 4px; }
.credits-table td { vertical-align: top; }
.gallery-more { padding: 14px 18px; border: 1px dashed rgba(15, 37, 71, .25); border-radius: var(--radius); background: #fff; margin-bottom: 26px; font-size: .95rem; }
.gallery-more p { margin-bottom: 6px; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4em; font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.prose ul { padding-left: 1.2em; }
.facts-card { background: #fff; border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); border: 1px solid rgba(15, 37, 71, .06); margin-bottom: 18px; }
.facts-card.soft { background: var(--ivory-2); box-shadow: none; }
.facts-card h2 { font-size: 1.55rem; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(15, 37, 71, .08); font-size: .95rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); }
.facts-source { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }
.lodging-aside, .place-aside { position: sticky; top: 96px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 10px; padding: 0; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 99px; background: #fff; border: 1px solid rgba(15, 37, 71, .18); color: var(--navy); text-decoration: none; font-size: .92rem; }
a.chip:hover { border-color: var(--gold); }
.chip-list.muted .chip { background: transparent; color: var(--muted); }
@media (max-width: 900px) {
  .lodging-layout, .place-layout { grid-template-columns: 1fr; }
  .lodging-aside, .place-aside { position: static; }
}

.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.theme-card { background: #fff; border-radius: var(--radius); padding: 20px 22px; border-top: 3px solid var(--gold); box-shadow: var(--shadow); }
.theme-card p { margin: 0; font-size: .97rem; }
@media (max-width: 860px) { .theme-grid { grid-template-columns: 1fr; } }
.empty-note { background: #fff; border: 1px dashed rgba(15, 37, 71, .3); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; }
.stay-cta { border-top: 1px solid rgba(15, 37, 71, .08); }

/* Contact */
.contact-strip { background: var(--ivory-2); }
.contact-strip-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.contact-strip-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mail-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; font-size: 1.02rem; word-break: break-all; }
.mail-line.big { font-size: 1.2rem; font-weight: 600; color: var(--navy); }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 6px; border: 1px solid rgba(15, 37, 71, .3); background: #fff; color: var(--navy); font: inherit; font-size: .9rem; cursor: pointer; word-break: normal; }
.copy-btn:hover { border-color: var(--gold); }
.copy-btn.is-done { border-color: #3c7a4a; color: #24552f; }
.copy-status { min-height: 1.4em; color: #24552f; font-size: .95rem; }
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.booking-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.muted-text { color: var(--muted); font-size: .92rem; }
@media (max-width: 760px) { .contact-strip-inner, .contact-layout { grid-template-columns: 1fr; } }

.legal { padding-bottom: 40px; }
.legal h1 { margin-top: 10px; }
mark.todo { background: #fde8b0; color: #5a3d00; padding: 0 4px; border-radius: 3px; }
.notfound { text-align: left; padding-bottom: 40px; }
.table-wrap { overflow-x: auto; }
.check-table { border-collapse: collapse; width: 100%; font-size: .93rem; background: #fff; }
.check-table th, .check-table td { padding: 8px 10px; border-bottom: 1px solid rgba(15, 37, 71, .1); text-align: left; }
.check-table td.ok { color: #24552f; font-weight: 700; } .check-table td.ko { color: #9b1c1c; font-weight: 700; }

/* ---------- Bandeau « petit guide » (toutes les pages) ---------- */
.guide-band { position: relative; margin-top: 0; background: linear-gradient(180deg, #13305a 0%, var(--navy) 60%, #0b1d3a 100%); color: #fff; overflow: hidden; }
.guide-band-inner { position: relative; display: flex; align-items: center; gap: clamp(16px, 4vw, 48px); min-height: 200px; padding-top: 26px; padding-bottom: 20px; }
.mascotte-band { position: relative; width: clamp(96px, 11vw, 150px); flex: none; align-self: flex-end; margin-bottom: -6px; z-index: 2; cursor: pointer; }
.mascotte-band .mascotte-img picture img { width: 100%; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .45)); }
.guide-band-text { position: relative; z-index: 2; flex: 1; }
.guide-band-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.15; margin: 0 0 16px; color: #fff; }
.guide-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.guide-band-deco { position: absolute; right: clamp(8px, 2vw, 24px); bottom: 6px; width: min(40%, 520px); z-index: 1; pointer-events: none; }
@media (max-width: 640px) { .guide-band-deco { display: none; } } /* mobile : la mascotte et les boutons suffisent, pas de surcharge */

/* ---------- Pied de page ---------- */
.site-footer { background: #0a1a35; color: #cfd8e8; padding: 44px 0 20px; font-size: .95rem; }
.site-footer a { color: #e9eef7; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 28px; }
.footer-brand img { width: 120px; margin-bottom: 8px; }
.footer-name { font-family: var(--font-display); font-size: 1.6rem; color: #fff; margin: 0; }
.footer-tagline { font-size: .72rem; letter-spacing: .38em; text-transform: uppercase; color: var(--gold-2); }
.footer-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--gold-2); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer .btn-gold { color: var(--navy); }
.site-footer .btn-gold:hover { color: var(--navy); text-decoration: none; }
.footer-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; word-break: break-all; }
.footer-mail .copy-btn { background: transparent; color: #e9eef7; border-color: rgba(255, 255, 255, .35); }
.footer-legal { margin-top: 14px !important; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 30px; padding-top: 16px; font-size: .84rem; color: #aebbd1; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mascotte : composant global et animations ---------- */
.mascotte { -webkit-tap-highlight-color: transparent; }
.mascotte .mascotte-img { display: block; position: relative; line-height: 0; transform-origin: 50% 100%; animation: mascotte-breathe 4s ease-in-out infinite; }
.mascotte-band, .compagnon-figure { animation: mascotte-float 6s ease-in-out infinite; }
.mascotte.is-waving .mascotte-img, .mascotte:hover .mascotte-img, .mascotte:focus-visible .mascotte-img { animation: mascotte-coucou .9s ease-in-out 1, mascotte-breathe 4s ease-in-out .9s infinite; }
.mascotte::after { /* ombre au sol */
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -2px; height: 10px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .35), transparent); z-index: -1; animation: mascotte-shadow 6s ease-in-out infinite;
}
.sparkle { position: absolute; width: 14px; height: 14px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff7d6 0 18%, transparent 20%), conic-gradient(from 45deg, transparent 0 20%, #ffe08a 22% 28%, transparent 30% 45%, #ffe08a 47% 53%, transparent 55% 70%, #ffe08a 72% 78%, transparent 80% 95%, #ffe08a 97%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: mascotte-twinkle 3.2s ease-in-out infinite; }
.sparkle.s1 { right: 2%; top: 44%; }
.sparkle.s2 { right: -6%; top: 54%; width: 10px; height: 10px; animation-delay: 1.1s; }
.sparkle.s3 { right: 12%; top: 40%; width: 8px; height: 8px; animation-delay: 2s; }
.mascotte:hover .sparkle, .mascotte.is-waving .sparkle { animation-duration: 1.2s; }

/* Regard : pupilles d'origine en calques, déplacées de moins de 2 px (variables posées par site.js) */
.mascotte-img picture img { width: 100%; height: auto; }
.mascotte-eye { position: absolute; border-radius: 50%; overflow: hidden; pointer-events: none; }
.mascotte-eye .pupille { position: absolute; max-width: none; transform: translate(var(--px, 0%), var(--py, 0%)); transition: transform .45s cubic-bezier(.25, .8, .35, 1); }
.mascotte-img.is-neutral .pupille { transition-duration: .9s; }
@keyframes mascotte-breathe { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(.995, 1.025); } }
@keyframes mascotte-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes mascotte-shadow { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.86); opacity: .7; } }
@keyframes mascotte-coucou {
  0% { transform: translateY(0) rotate(0); }
  18% { transform: translateY(-12px) rotate(-5deg); }
  36% { transform: translateY(-4px) rotate(4deg); }
  54% { transform: translateY(-9px) rotate(-3deg); }
  72% { transform: translateY(0) rotate(2deg); }
  100% { transform: translateY(0) rotate(0); }
}
@keyframes mascotte-twinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 45% { opacity: 1; transform: scale(1) rotate(25deg); } 60% { opacity: .9; } }

/* Dock : compagnon flottant + bouton Message (desktop : coins ; < 1100 px : barre basse réservée) */
.dock { pointer-events: none; }
.dock > * { pointer-events: auto; }
.compagnon { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: flex-end; gap: 10px; transition: opacity .35s ease, transform .35s ease; }
.compagnon-figure { position: relative; display: block; width: 96px; padding: 0; border: 0; background: none; cursor: pointer; }
.compagnon-figure .mascotte-img picture img { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(15, 37, 71, .35)); }
.compagnon-bubble {
  position: absolute; left: 104px; bottom: 112px; width: max-content; max-width: 250px;
  background: #fff; color: var(--navy); font-size: .93rem; line-height: 1.35; padding: 10px 14px; border-radius: 14px 14px 14px 4px;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(214, 166, 64, .5); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
.compagnon.is-talking .compagnon-bubble, .compagnon:has(.compagnon-figure:hover) .compagnon-bubble { opacity: 1; transform: translateY(0); }
.compagnon-tools { display: flex; flex-direction: column; gap: 6px; opacity: 0; transition: opacity .25s ease; }
.compagnon:hover .compagnon-tools, .compagnon:focus-within .compagnon-tools, .compagnon.is-talking .compagnon-tools { opacity: 1; }
.compagnon-tool { min-height: 32px; padding: 4px 10px; border-radius: 99px; border: 1px solid rgba(15, 37, 71, .25); background: rgba(255, 255, 255, .95); color: var(--navy); font: inherit; font-size: .8rem; cursor: pointer; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .4); }
.compagnon-tool:hover { border-color: var(--gold); }
.compagnon[data-state="reduced"] .compagnon-figure { width: 58px; height: 58px; border-radius: 50%; overflow: hidden; background: var(--ivory); border: 2px solid var(--gold); box-shadow: var(--shadow); animation: none; }
.compagnon[data-state="reduced"] .compagnon-figure .mascotte-img { position: absolute; left: 50%; top: 4px; width: 66px; margin-left: -33px; animation: none; }
.compagnon[data-state="reduced"] .compagnon-bubble, .compagnon[data-state="reduced"] .sparkle, .compagnon[data-state="reduced"] .mascotte::after { display: none; }
.compagnon[data-state="hidden"] { display: none; }
.compagnon.is-away { opacity: 0; transform: translateY(20px); pointer-events: none; }
.btn-message {
  position: fixed; right: 18px; bottom: 18px; z-index: 50; min-height: 50px; padding: .7em 1.3em; border-radius: 99px;
  color: #fff; background: linear-gradient(180deg, var(--navy-3), var(--navy)); border: 1px solid var(--gold); box-shadow: 0 12px 26px -12px rgba(15, 37, 71, .8);
}
.btn-message:hover { color: #fff; transform: translateY(-1px); }
.btn-message .icon { color: var(--gold-2); }

@media (max-width: 1099px) {
  :root { --dock-h: 68px; }
  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); padding: 0 12px env(safe-area-inset-bottom, 0px) 12px;
    display: flex; align-items: center; justify-content: flex-end; gap: 10px; background: rgba(251, 247, 238, .97); border-top: 1px solid rgba(15, 37, 71, .12); box-shadow: 0 -8px 20px -16px rgba(15, 37, 71, .5); pointer-events: auto; }
  .compagnon { position: absolute; left: 12px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
  .compagnon-figure { width: 50px; }
  .compagnon-bubble { left: 0; bottom: 110px; max-width: min(280px, calc(100vw - 32px)); }
  .compagnon-tools { flex-direction: row; opacity: 1; margin-bottom: 4px; }
  .compagnon[data-state="reduced"] .compagnon-figure { width: 46px; height: 46px; margin-bottom: 4px; }
  .compagnon[data-state="reduced"] .compagnon-figure .mascotte-img { width: 52px; margin-left: -26px; }
  .btn-message { position: static; min-height: 46px; }
  .compagnon.is-away { opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 400px) { .compagnon-tool { padding: 4px 8px; font-size: .74rem; } .btn-message { padding: .6em 1em; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mascotte .mascotte-img, .mascotte-band, .compagnon-figure { animation: none !important; translate: none; }
  .sparkle { display: none; }
}
@media print { .dock, .guide-band, .site-header .main-nav, .nav-toggle { display: none !important; } body { padding: 0; } }

/* ---------- Nos incontournables : carrousel en perspective ----------
   Base (sans JS / mouvement réduit) : grille stable. .is-3d (activé par site.js) : carte centrale + voisines tournées. */
.highlights { background: linear-gradient(180deg, var(--ivory) 0%, #f3ead6 100%); overflow: hidden; }
.carousel-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.c-card { display: flex; flex-direction: column; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(15, 37, 71, .08); }
.c-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.c-card-body { flex: 1; display: flex; flex-direction: column; padding: 16px 20px 20px; }
.c-card-title { font-size: clamp(1.4rem, 2vw, 1.7rem); margin-bottom: 6px; }
.c-card-note { margin: -2px 0 6px; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.c-card-pitch { font-size: .97rem; color: #33435e; margin-bottom: 14px; }
.c-card-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .55em 1.2em; border-radius: 6px; text-decoration: none; font-weight: 600; color: var(--navy);
  background: linear-gradient(180deg, #f0d184 0%, var(--gold-2) 35%, #d4a346 100%); border: 1px solid #c99a3c; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.c-card-link:hover { color: var(--navy); filter: brightness(1.04); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 10px 0 4px; }
.carousel-controls[hidden] { display: none; }
.carousel-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--gold); background: var(--navy); color: #fff; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s, background .2s; }
.carousel-btn:hover { background: var(--navy-3); transform: translateY(-1px); }
.carousel-btn .icon { width: 22px; height: 22px; color: var(--gold-2); }
.carousel-btn[data-carousel-prev] .icon { transform: scaleX(-1); }
.carousel-status { margin: 0; min-width: 4.5em; text-align: center; font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--navy); }

/* Mode 3D : vrai cylindre. Chaque face reçoit rotateY(angle) translateZ(rayon) ; l'anneau entier tourne autour de l'axe Y.
   Rayon, angle et taille sont calculés par site.js selon le nombre de faces (variables --card-w, --card-h, --radius). */
.carousel.is-3d .carousel-stage { position: relative; height: calc(var(--card-h, 470px) + var(--back-rise, 150px) + 40px); margin-inline: calc(50% - 50vw); /* pleine largeur : les faces latérales du cylindre ne sont pas coupées par le conteneur */ perspective: var(--persp, 1700px); perspective-origin: 50% var(--eye-y, -10%); /* œil légèrement au-dessus : le fond du cylindre apparaît derrière et au-dessus des cartes avant */
  overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.carousel.is-3d .carousel-track { display: block; position: absolute; left: 50%; top: calc(var(--back-rise, 150px) + 18px); width: 0; height: 0; transform-style: preserve-3d;
  transform: translateZ(calc(var(--radius, 500px) * -1)) rotateY(var(--ring, 0deg)); transition: transform 1.1s cubic-bezier(.22, .61, .36, 1); pointer-events: none; }
.carousel.is-3d .carousel-track.no-anim { transition: none; }
.carousel.is-3d .c-card { position: absolute; left: calc(var(--card-w, 320px) / -2); top: 0; width: var(--card-w, 320px); height: var(--card-h, 470px);
  transform: rotateY(var(--a, 0deg)) translateZ(var(--radius, 500px)); backface-visibility: visible; -webkit-backface-visibility: visible; /* le revers des cartes du fond reste visible, comme sur la référence */
  transition: filter .8s ease, opacity .6s ease, box-shadow .8s ease; pointer-events: auto; cursor: pointer; }
.carousel.is-3d .c-card .c-card-pitch { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carousel.is-3d .c-card.is-front { cursor: default; box-shadow: 0 30px 60px -28px rgba(15, 37, 71, .65), 0 0 0 2px rgba(214, 166, 64, .6); }
.carousel.is-3d .c-card.is-side { filter: brightness(.9) saturate(.92); }
.carousel.is-3d .c-card.is-far { filter: brightness(.78) saturate(.85); }
.carousel.is-3d .c-card.is-back { pointer-events: none; filter: brightness(.62) saturate(.75); } /* fond du cylindre : visible, retourné, non interactif */
.carousel.is-3d .c-card.is-back .c-card-body { opacity: .7; }
.carousel.is-3d .c-card:not(.is-front) .c-card-link { pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .carousel.is-3d .carousel-track, .carousel.is-3d .c-card { transition: none; } }

/* ---------- Nos partenaires : même langage que les incontournables ; carte d'invitation au « + » doré ---------- */
.partners { background: linear-gradient(180deg, #f3ead6 0%, var(--ivory) 100%); }
.partner-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.partner-grid.is-alone { grid-template-columns: minmax(0, 720px); justify-content: center; }
.partner-grid:not(.is-alone) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 460px)); justify-content: center; align-items: stretch; }
.partner-media { position: relative; aspect-ratio: 16 / 11; background: radial-gradient(90% 90% at 50% 40%, #ffffff 0%, var(--ivory) 70%); border-bottom: 1px solid rgba(214, 166, 64, .25); }
.partner-media picture { position: absolute; inset: 16px; display: block; }
.partner-media img { display: block; width: 100%; height: 100%; object-fit: contain; } /* visuel toujours entier, jamais recadré */
.partner-media img { filter: drop-shadow(0 10px 14px rgba(15, 37, 71, .18)); }
.partner-sub { margin: -2px 0 8px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
.partner-grid:not(.is-alone) .partner-invite { justify-content: center; }
.partner-invite { position: relative; align-items: center; text-align: center; padding-top: clamp(30px, 4vw, 44px);
  background: radial-gradient(120% 90% at 50% 0%, #ffffff 0%, #fbf6ea 70%); border: 1px solid rgba(214, 166, 64, .45);
  box-shadow: 0 30px 60px -32px rgba(15, 37, 71, .55), 0 0 0 1px rgba(214, 166, 64, .2) inset; }
.partner-invite .c-card-body { align-items: center; max-width: 52ch; padding-bottom: clamp(26px, 3vw, 36px); }
.partner-invite .c-card-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.partner-invite .c-card-link { align-self: center; }
.partner-plus { position: relative; display: block; width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 6px;
  background: radial-gradient(circle at 35% 30%, #f6e2ae 0%, #e1b866 45%, #b98a3c 100%); box-shadow: 0 14px 28px -12px rgba(126, 88, 20, .75), inset 0 2px 0 rgba(255, 255, 255, .55); }
.partner-plus::before, .partner-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fffaf0; border-radius: 2px; box-shadow: 0 1px 2px rgba(110, 76, 18, .35); }
.partner-plus::before { width: 34px; height: 4px; margin: -2px 0 0 -17px; }
.partner-plus::after { width: 4px; height: 34px; margin: -17px 0 0 -2px; }


/* Galerie d'un logement (photos ajoutées dans l'admin) */
.lodging-gallery { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.lodging-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); }
.amenity-extra { margin-top: 12px; }
.amenity-extra .chip .icon { width: 1em; height: 1em; color: var(--gold-text); margin-right: 4px; }

/* ---------- Grande mascotte : zone réservée à GAUCHE des pages / sections atteintes par le menu ---------- */
.page-head.has-guide { display: grid; grid-template-columns: clamp(76px, 11vw, 160px) minmax(0, 1fr); column-gap: clamp(12px, 2.4vw, 36px); align-items: start; }
.guide-zone { position: relative; align-self: start; padding-top: 4px; }
.mascotte-guide { position: relative; display: block; width: clamp(76px, 10.5vw, 150px); }
.mascotte-guide .mascotte-img picture img { width: 100%; height: auto; filter: drop-shadow(0 14px 14px rgba(15, 37, 71, .3)); }
.mascotte-guide { animation: mascotte-float 6s ease-in-out infinite; }
.comfort-layout { display: grid; grid-template-columns: clamp(76px, 11vw, 160px) minmax(0, 1fr); column-gap: clamp(12px, 2.4vw, 36px); align-items: start; }
.comfort-layout > .guide-zone { align-self: start; padding-top: 6px; }
.comfort-main { min-width: 0; }
.comfort-head { display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 1.6vw, 18px); }
.comfort-head .section-title { margin-bottom: 22px; }
.mascotte-loupe { position: relative; flex: none; width: clamp(50px, 5.4vw, 76px); margin-bottom: 12px; }
.mascotte-loupe .mascotte-img picture img { width: 100%; height: auto; filter: drop-shadow(0 8px 10px rgba(15, 37, 71, .25)); }
/* Accueil : la zone de gauche de Confort n'existe que lorsque la grande mascotte y est (pas de grande colonne vide). */
body.is-home .comfort-layout { grid-template-columns: minmax(0, 1fr); }
body.is-home .comfort-layout > .guide-zone { display: none; }
html.guide-at-confort body.is-home .comfort-layout { grid-template-columns: clamp(76px, 11vw, 160px) minmax(0, 1fr); }
html.guide-at-confort body.is-home .comfort-layout > .guide-zone { display: block; }
/* Une seule GRANDE mascotte : sur l'accueil, au hero OU dans la zone Confort (après le lien « Le confort »). */
body.is-home .comfort-layout .mascotte-guide { visibility: hidden; }
html.guide-at-confort body.is-home .comfort-layout .mascotte-guide { visibility: visible; }
html.guide-at-confort .mascotte-hero { visibility: hidden; }
/* Préférence « masquer / réduire » : la zone reste réservée (aucun saut) mais la grande mascotte n'est plus déplacée. */
html:not([data-guide="on"]) .mascotte-guide, .mascotte-guide.is-travelling { visibility: hidden !important; }
html:not([data-guide="on"]).guide-at-confort .mascotte-hero { visibility: visible; }
/* Avant que site.js n'ait mesuré la visibilité, le petit guide flottant reste effacé sur les pages à zone réservée. */
html[data-guide="on"] body.has-title-guide:not(.is-home):not(.guide-ready) .compagnon-figure { opacity: 0; }
@media (max-width: 760px) {
  .comfort-layout, html.guide-at-confort body.is-home .comfort-layout { grid-template-columns: 72px minmax(0, 1fr); grid-template-areas: "guide head" "body body"; }
  body.is-home .comfort-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "body"; }
  .comfort-layout > .guide-zone { grid-area: guide; }
  .comfort-main { display: contents; }
  .comfort-main > .comfort-head { grid-area: head; justify-content: flex-start; }
  .comfort-main > :not(.comfort-head) { grid-column: 1 / -1; }
  .comfort-head .section-title { text-align: left; font-size: 1.55rem; }
  .comfort-head .section-title::after { left: 0; margin-left: 0; }
  /* Mobile : quand la grande mascotte est arrivée à gauche du titre Confort, la petite « loupe » s'efface (pas de doublon serré). */
  html.guide-at-confort[data-guide="on"] .mascotte-loupe { display: none; }
}
#confort { scroll-margin-top: 90px; }
::view-transition-group(guide) { animation-duration: .7s; animation-timing-function: cubic-bezier(.22, .61, .36, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
@view-transition { navigation: auto; }
@media (max-width: 1099px) {
  /* Mobile/tablette : le petit guide de la barre basse s'efface (figure seule) quand une autre mascotte est à l'écran. */
  .compagnon.is-away .compagnon-figure { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) { .mascotte-guide { animation: none; } ::view-transition-group(guide) { animation: none; } @view-transition { navigation: none; } }
