/* ==========================================================================
   Le 729 – Résidence L'Horizon · Les Orres 1650
   Feuille de style principale — typographie système (Arial / Verdana)
   Aucune webfont : rendu immédiat, zéro requête externe.
   ========================================================================== */

/* --------------------------------- Tokens -------------------------------- */
:root {
  /* Palette : vert des mélèzes, cuivre chaud, blanc de neige */
  --pine-950: #081713;
  --pine-900: #0b1f1a;
  --pine-800: #102a23;
  --pine-700: #17453a;
  --pine-600: #1f5c4c;
  --pine-500: #2a7a63;

  --amber: #c8793f;
  --amber-dark: #a85f2b;
  --amber-soft: #e8b98c;
  --gold: #d9a441;

  --snow: #f7f7f4;
  --sand: #f0ece3;
  --sand-2: #e7e1d5;
  --white: #ffffff;

  --ink: #14201d;
  --ink-soft: #4e5c58;
  --ink-faint: #78867f;
  --line: #dfe4dd;
  --line-soft: #eaece5;

  /* Typographie système : Arial pour le texte, Verdana pour les titres */
  --font-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --font-display: Verdana, Geneva, Tahoma, sans-serif;

  /* Rythme et formes */
  --wrap: 1180px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-xs: 0 1px 2px rgba(8, 23, 19, .05);
  --shadow-sm: 0 1px 2px rgba(8, 23, 19, .05), 0 6px 16px -6px rgba(8, 23, 19, .12);
  --shadow-md: 0 2px 4px rgba(8, 23, 19, .04), 0 14px 34px -12px rgba(8, 23, 19, .18);
  --shadow-lg: 0 4px 8px rgba(8, 23, 19, .05), 0 28px 60px -20px rgba(8, 23, 19, .28);
  --shadow-glow: 0 16px 34px -14px rgba(200, 121, 63, .6);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------------------------------- Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--snow);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--snow);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.15em; }
li { margin-bottom: .42em; }
li:last-child { margin-bottom: 0; }

strong, b { font-weight: 700; color: var(--pine-900); }

a {
  color: var(--pine-700);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(23, 69, 58, .35);
  transition: color .18s var(--ease), text-decoration-color .18s var(--ease);
}
a:hover { color: var(--amber-dark); text-decoration-color: currentColor; }

button { font: inherit; color: inherit; }
sup { font-size: .62em; vertical-align: super; }

::selection { background: var(--amber); color: #fff; }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------- Titres -------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -.03em;
  margin: 0 0 .55em;
  color: var(--pine-900);
}

h1 { font-size: clamp(1.8rem, 4.2vw, 2.95rem); line-height: 1.16; letter-spacing: -.035em; }
h2 { font-size: clamp(1.4rem, 2.8vw, 2.05rem); }
h3 { font-size: 1.06rem; line-height: 1.36; letter-spacing: -.02em; }
h4 { font-size: .96rem; letter-spacing: -.005em; }

/* -------------------------------- Utilitaires ---------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.4rem);
}
.section--tight { padding-block: clamp(2.2rem, 4vw, 3.2rem); }
.section--white { background: var(--white); }

.section--sand {
  background-color: var(--sand);
  background-image:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, .8), transparent 42%),
    radial-gradient(circle at 90% 90%, rgba(200, 121, 63, .1), transparent 46%);
}

/* ---------------------- Bloc factuel « Le 729 en bref » ------------------- */
/* Résumé en paires terme / définition : lisible par un humain, et directement
   citable par un moteur de réponse ou un agent IA. */
.brief { background: var(--white); border-bottom: 1px solid var(--line); }

.brief__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 760px) {
  .brief__list { grid-template-columns: repeat(2, 1fr); column-gap: 2.4rem; }
}

.brief__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: .1rem .9rem;
  padding: .72rem 0;
  border-bottom: 1px solid var(--line-soft);
}
@media (min-width: 480px) {
  .brief__item { grid-template-columns: minmax(9.5rem, 12rem) 1fr; align-items: baseline; }
}

.brief__item dt {
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--amber-dark);
}
.brief__item dd {
  margin: 0;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.brief__item dd a {
  color: var(--pine-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.brief__item dd a:hover { color: var(--amber-dark); }

.section--pine {
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(42, 122, 99, .3), transparent 60%),
    radial-gradient(ellipse 70% 70% at 95% 100%, rgba(200, 121, 63, .16), transparent 62%),
    linear-gradient(168deg, var(--pine-800) 0%, var(--pine-950) 100%);
  color: #d2e0db;
}
.section--pine h2, .section--pine h3, .section--pine h4 { color: #fff; }
.section--pine strong { color: #fff; }
.section--pine a { color: #efd2b6; }

.center { text-align: center; }

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(1.9rem, 4vw, 2.8rem);
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__head--split {
  display: grid;
  gap: 1rem;
  max-width: none;
}
@media (min-width: 900px) {
  .section__head--split {
    grid-template-columns: 1.15fr .85fr;
    align-items: end;
    gap: 2.5rem;
  }
  .section__head--split .lead { margin-bottom: .2rem; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--amber-dark);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  flex: none;
  border-radius: 2px;
  background: currentColor;
}
.section__head--center .eyebrow { justify-content: center; }
.section--pine .eyebrow { color: var(--amber-soft); }

.lead {
  max-width: 62ch;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.68;
  color: var(--ink-soft);
}
.section--pine .lead { color: #b6c9c3; }

.note {
  font-size: .83rem;
  line-height: 1.6;
  color: var(--ink-faint);
}
.section--pine .note { color: #9fb8b1; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  padding: .85rem 1.3rem;
  border-radius: 0 0 var(--radius) 0;
  background: var(--pine-950);
  color: #fff;
  font-size: .9rem;
}
.skip-link:focus { left: 0; color: #fff; }

/* Icônes SVG en ligne */
.icon {
  width: 1.3em;
  height: 1.3em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -.2em;
}
.icon--sm { width: 1.05em; height: 1.05em; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Découpe de crête entre deux sections */
.ridge {
  display: block;
  width: 100%;
  height: clamp(34px, 4.6vw, 68px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  background: var(--white);
  color: var(--pine-800);
}
.ridge svg { width: 100%; height: 100%; }
.ridge--out { transform: scaleY(-1); color: var(--pine-950); }
.ridge--sand { background: var(--sand); color: var(--white); }

/* --------------------------------- Boutons ------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--pine-900);
  --btn-bd: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .8rem 1.5rem;
  border: 2px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: .94rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .18s var(--ease); }
.btn:hover .icon--arrow { transform: translateX(3px); }

.btn--primary {
  --btn-bg: var(--amber);
  --btn-fg: #fff;
  --btn-bd: var(--amber);
  box-shadow: var(--shadow-glow);
}
.btn--primary:hover { --btn-bg: var(--amber-dark); --btn-bd: var(--amber-dark); --btn-fg: #fff; }

.btn--dark {
  --btn-bg: var(--pine-900);
  --btn-fg: #fff;
  --btn-bd: var(--pine-900);
  box-shadow: 0 14px 30px -14px rgba(8, 23, 19, .7);
}
.btn--dark:hover { --btn-bg: var(--pine-700); --btn-bd: var(--pine-700); --btn-fg: #fff; }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--pine-800);
  --btn-bd: rgba(16, 42, 35, .26);
}
.btn--outline:hover { --btn-bg: var(--pine-800); --btn-bd: var(--pine-800); --btn-fg: #fff; }

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, .1);
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, .55);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .92); --btn-fg: var(--pine-900); }

.btn--sm { padding: .58rem 1.1rem; font-size: .85rem; border-width: 1.5px; }
.btn--lg { padding: .92rem 1.85rem; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(200, 121, 63, .35);
  font-size: .9rem;
  font-weight: 700;
  color: var(--pine-700);
  text-decoration: none;
}
.link-arrow:hover { border-bottom-color: var(--amber); color: var(--amber-dark); }
.link-arrow .icon { transition: transform .18s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* --------------------------------- En-tête ------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(16, 42, 35, .09);
  box-shadow: 0 8px 24px -22px rgba(8, 23, 19, .55);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
  color: var(--pine-900);
  text-decoration: none;
}
/* Logo « sceau » : flocon (hiver) + 729 + soleil (été), fichier images/logo-729.svg */
.brand__logo {
  display: block;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  filter: drop-shadow(0 4px 9px rgba(8, 23, 19, .22));
}
.brand__text { display: block; min-width: 0; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--pine-900);
}
.brand__sub {
  display: block;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--ink-faint);
}

.nav { display: none; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav li { margin: 0; }
.nav a {
  position: relative;
  display: block;
  padding: .35rem 0;
  font-size: .89rem;
  font-weight: 700;
  color: var(--pine-800);
  text-decoration: none;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  font-size: .84rem;
  font-weight: 700;
  color: var(--pine-900);
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 17px; }
.nav-toggle__bars span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.nav-toggle__bars span + span { margin-top: 4px; }

/* Le menu desktop porte six entrées depuis l'ajout de « En direct ».
   Sous ~1 060 px, la barre n'a plus la place : on garde le panneau mobile
   plutôt que de laisser les liens se tasser ou déborder. */
@media (min-width: 1060px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-nav {
  padding: .35rem clamp(1.1rem, 4vw, 2rem) 1.35rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav ul { margin: 0; padding: 0; list-style: none; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem .1rem;
  font-size: .94rem;
  font-weight: 700;
  color: var(--pine-900);
  text-decoration: none;
}
.mobile-nav a .icon { color: var(--amber); }
.mobile-nav .btn { margin-top: 1.1rem; }

/* ----------------------------------- Hero -------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--pine-950);
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(200deg, rgba(8, 23, 19, .32) 0%, rgba(8, 23, 19, .64) 46%, rgba(8, 23, 19, .92) 100%),
    radial-gradient(ellipse 70% 80% at 84% 16%, rgba(200, 121, 63, .28), transparent 62%);
}
.hero__inner { padding-block: clamp(2.4rem, 5.5vw, 4.4rem) clamp(2.4rem, 5vw, 3.6rem); }
.hero__grid {
  display: grid;
  gap: clamp(1.8rem, 4vw, 2.8rem);
  align-items: end;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.42fr) minmax(295px, .78fr); }
}

.hero__content { max-width: 40rem; }

.hero__kicker {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem .7rem;
  margin: 0 0 1.3rem;
  padding: .42rem .9rem .42rem .65rem;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
}
.hero__kicker .dot {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--amber-soft);
}

.hero h1 {
  margin-bottom: .5em;
  color: #fff;
  text-shadow: 0 2px 26px rgba(8, 23, 19, .45);
}
.hero h1 em { font-style: normal; color: var(--amber-soft); }
.hero__text {
  max-width: 33rem;
  margin-bottom: 0;
  font-size: 1.02rem;
  line-height: 1.66;
  color: #e2ece8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.8rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin: 1.9rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  font-size: .85rem;
  color: #d6e4df;
}
.hero__trust span { display: inline-flex; align-items: center; gap: .4rem; }
.hero__trust .icon { color: var(--amber-soft); }

/* Carte tarifaire du hero */
/* Fond blanc opaque, sans liseré décoratif : la carte se détache de la photo
   par sa couleur seule et le contraste du texte reste maximal. */
.hero__card {
  position: relative;
  padding: 1.45rem 1.4rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.hero__card-eyebrow {
  display: block;
  margin: 0 0 .45rem;
  font-family: var(--font-display);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.hero__price {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin: 0 0 .2rem;
  color: var(--pine-900);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.04em;
}
.hero__price .from {
  align-self: flex-start;
  padding-top: .4rem;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-dark);
}
.hero__price .amount { font-size: 1.95rem; line-height: 1; }
/* Variante texte : « Cotation sur demande » remplace le montant chiffré */
.hero__price--text { flex-wrap: wrap; }
.hero__price--text .amount {
  font-size: 1.22rem;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.hero__price small {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink-faint);
}

.hero__card-list {
  display: grid;
  gap: .4rem;
  margin: .85rem 0 1rem;
  padding: 0;
  list-style: none;
  font-size: .83rem;
  color: var(--ink-soft);
}
.hero__card-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: 0;
}
.hero__card-list .icon {
  width: 1.05em;
  height: 1.05em;
  margin-top: .22em;
  color: var(--pine-600);
}
.hero__card-note {
  margin: .7rem 0 0;
  font-size: .72rem;
  line-height: 1.5;
  color: var(--ink-faint);
  text-align: center;
}

/* ------------------------------ Chiffres clés ---------------------------- */
.facts {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .07);
  background: var(--pine-950);
  color: #d5e3de;
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .08);
}
.facts__item {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  padding: 1.3rem 1rem;
  background: var(--pine-950);
  text-align: center;
}
.facts__icon {
  display: flex;
  justify-content: center;
  margin-bottom: .3rem;
  color: var(--amber-soft);
}
.facts__num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: #fff;
}
/* Variante texte long : « Cotation sur demande » */
.facts__num--text { font-size: .92rem; letter-spacing: 0; line-height: 1.25; }
.facts__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #90a9a2;
}
@media (min-width: 760px) {
  .facts__grid { grid-template-columns: repeat(4, 1fr); }
  .facts__item { padding: 1.55rem 1.2rem; }
  .facts__num { font-size: 1.45rem; }
  /* La variante texte doit rester petite même en desktop (règle placée après
     la media query pour ne pas être écrasée par .facts__num ci-dessus) */
  .facts__num--text { font-size: 1rem; }
}

/* ---------------------------------- Grilles ------------------------------ */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.split { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; }
  .split--reverse > :first-child { order: 2; }
  .split--top { align-items: start; }
}

/* ----------------------------------- Cartes ------------------------------ */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.45rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  top: 0;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, var(--amber), transparent);
  opacity: 0;
  transition: opacity .22s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 69, 58, .22);
  box-shadow: var(--shadow-md);
}
.card:hover::after { opacity: 1; }
.card h3 { margin-bottom: .4rem; }
.card p { margin-bottom: 0; font-size: .91rem; line-height: 1.62; color: var(--ink-soft); }
.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: .95rem;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(150deg, var(--sand), var(--white));
  box-shadow: 0 6px 16px -12px rgba(8, 23, 19, .8);
  color: var(--pine-700);
}
.card__icon .icon { width: 22px; height: 22px; }

.section--pine .card {
  border-color: rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .055);
  box-shadow: none;
  backdrop-filter: blur(4px);
}
.section--pine .card:hover {
  border-color: rgba(232, 185, 140, .4);
  background: rgba(255, 255, 255, .09);
}
.section--pine .card p { color: #b9cdc7; }
.section--pine .card__icon {
  border-color: rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
  color: var(--amber-soft);
}

/* ----------------------------------- Galerie ----------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .55rem;
}
@media (min-width: 620px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: .65rem; } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: .7rem; } }

.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--sand-2);
  box-shadow: 0 1px 2px rgba(8, 23, 19, .1);
  cursor: zoom-in;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 23, 19, .55) 100%);
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.gallery__item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); }

.gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: var(--radius);
}
@media (min-width: 620px) {
  .gallery__item:first-child { aspect-ratio: auto; }
}
.gallery__tag {
  position: absolute;
  left: .55rem;
  bottom: .55rem;
  z-index: 1;
  padding: .22rem .5rem;
  border-radius: 6px;
  background: rgba(8, 23, 19, .74);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.gallery__item:first-child .gallery__tag { padding: .32rem .65rem; font-size: .7rem; }

/* ------------------------- Galerie hiver (sous-section) ------------------ */
.winter,
.summer {
  margin-top: clamp(2.4rem, 6vw, 3.6rem);
  padding-top: clamp(1.9rem, 4.5vw, 2.7rem);
  border-top: 1px solid var(--line);
}
.winter__head,
.summer__head {
  max-width: 44rem;
  margin-bottom: clamp(1.2rem, 3vw, 1.8rem);
}
.winter__head h3,
.summer__head h3 {
  margin-bottom: .55rem;
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
}
.winter__intro,
.summer__intro {
  margin: 0;
  font-size: .96rem;
  line-height: 1.66;
  color: var(--ink-soft);
}

/* Mosaïque des photos de la sous-section hiver (11 tuiles).
   Desktop (4 colonnes) : bloc de tête sur 2 rangées, une rangée de 4 vignettes,
   puis une rangée finale de 3 tuiles dont la dernière s'étend sur 2 colonnes.
   Mobile (2 colonnes) : la photo de tête occupe la largeur, les 10 autres
   s'apparient exactement (5 paires) — aucune case orpheline.
   Chaque tuile est placée explicitement pour ne jamais laisser de trou. */
.gallery--hiver { grid-template-columns: repeat(2, 1fr); }

/* ---- Mobile : 2 colonnes ---- */
.gallery--hiver .gallery__item:first-child {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
}

@media (min-width: 620px) {
  .gallery--hiver { grid-template-columns: repeat(4, 1fr); }

  /* Bloc de tête : lignes 1-2 */
  .gallery--hiver .gallery__item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
  }
  .gallery--hiver .gallery__item:nth-child(2) {
    grid-column: 3;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
  }
  .gallery--hiver .gallery__item:nth-child(3) {
    grid-column: 4;
    grid-row: 1;
  }
  .gallery--hiver .gallery__item:nth-child(4) {
    grid-column: 4;
    grid-row: 2;
    aspect-ratio: auto;
  }

  /* Rangée 3 : quatre vignettes, une par colonne */
  .gallery--hiver .gallery__item:nth-child(5) { grid-column: 1; grid-row: 3; }
  .gallery--hiver .gallery__item:nth-child(6) { grid-column: 2; grid-row: 3; }
  .gallery--hiver .gallery__item:nth-child(7) { grid-column: 3; grid-row: 3; }
  .gallery--hiver .gallery__item:nth-child(8) {
    grid-column: 4;
    grid-row: 3;
    aspect-ratio: 4 / 3;
  }

  /* Rangée 4 : parking et rue (portraits) puis la route, qui s'étend sur
     2 colonnes pour combler la grille (11 tuiles = 2 rangées de 4 + 3). */
  .gallery--hiver .gallery__item:nth-child(9) {
    grid-column: 1;
    grid-row: 4;
    aspect-ratio: 3 / 4;
  }
  .gallery--hiver .gallery__item:nth-child(10) {
    grid-column: 2;
    grid-row: 4;
    aspect-ratio: 3 / 4;
  }
  .gallery--hiver .gallery__item:nth-child(11) {
    grid-column: 3 / span 2;
    grid-row: 4;
    aspect-ratio: auto;
  }
}

/* ---- Galerie été (8 tuiles) ----
   Mobile (2 colonnes) : 1ʳᵉ photo pleine largeur, puis 3 paires, puis la
   dernière pleine largeur → 1 + 6 + 1 = 8, aucune case orpheline.
   Desktop (4 colonnes) : grande photo 2×2 à gauche, 2 vignettes en haut à
   droite, 2 en dessous à droite, puis une rangée de 3 dont la dernière
   s'étend sur 2 colonnes. Aucun trou. */
.gallery--ete { grid-template-columns: repeat(2, 1fr); }
.gallery--ete .gallery__item:first-child,
.gallery--ete .gallery__item:nth-child(8) {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}
.gallery--ete .gallery__item:first-child { border-radius: var(--radius); }

@media (min-width: 620px) {
  .gallery--ete { grid-template-columns: repeat(4, 1fr); }

  /* Bloc de tête : lignes 1-2, colonnes 1-2 */
  .gallery--ete .gallery__item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
  }
  .gallery--ete .gallery__item:nth-child(2) { grid-column: 3; grid-row: 1; }
  .gallery--ete .gallery__item:nth-child(3) { grid-column: 4; grid-row: 1; }
  .gallery--ete .gallery__item:nth-child(4) { grid-column: 3; grid-row: 2; }
  .gallery--ete .gallery__item:nth-child(5) { grid-column: 4; grid-row: 2; }

  /* Rangée 3 : deux vignettes puis la dernière sur 2 colonnes */
  .gallery--ete .gallery__item:nth-child(6) { grid-column: 1; grid-row: 3; }
  .gallery--ete .gallery__item:nth-child(7) { grid-column: 2; grid-row: 3; }
  .gallery--ete .gallery__item:nth-child(8) {
    grid-column: 3 / span 2;
    grid-row: 3;
    aspect-ratio: auto;
  }
}

/* --------------------- Section « Autour des Orres » --------------------- */
.autour {
  margin-top: clamp(2.4rem, 6vw, 3.6rem);
  padding-top: clamp(1.9rem, 4.5vw, 2.7rem);
  border-top: 1px solid var(--line);
}
.autour__head {
  max-width: 46rem;
  margin-bottom: clamp(1.4rem, 3.4vw, 2.1rem);
}
.autour__head h3 {
  margin-bottom: .55rem;
  font-size: clamp(1.35rem, 3.4vw, 1.75rem);
}
.autour__intro {
  margin: 0;
  font-size: .96rem;
  line-height: 1.66;
  color: var(--ink-soft);
}

/* ---- Fiches des spots ---- */
.spots {
  display: grid;
  grid-template-columns: 1fr;
  gap: .7rem;
  margin-bottom: clamp(1.5rem, 3.6vw, 2.2rem);
}
@media (min-width: 620px) {
  .spots { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
}
@media (min-width: 980px) {
  .spots { grid-template-columns: repeat(3, 1fr); gap: .9rem; }
}
.spot {
  display: flex;
  flex-direction: column;
  padding: 1.05rem 1.15rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-xs);
}
.spot__kicker {
  margin: 0 0 .3rem;
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--amber-dark);
}
.spot__title {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.32;
  color: var(--pine-900);
}
.spot__text {
  margin: 0 0 .75rem;
  font-size: .9rem;
  line-height: 1.62;
  color: var(--ink-soft);
}
.spot__meta {
  margin: auto 0 0;
  padding-top: .6rem;
  border-top: 1px solid var(--line-soft);
  font-size: .76rem;
  line-height: 1.5;
  color: var(--ink-faint);
}

/* ---- Mosaïque 8 tuiles : aucun trou, mobile comme desktop ---- */
/* Mobile (2 colonnes) : 1ʳᵉ pleine largeur, 3 paires, dernière pleine largeur */
.gallery--autour { grid-template-columns: repeat(2, 1fr); }
.gallery--autour .gallery__item:first-child,
.gallery--autour .gallery__item:last-child {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}
.gallery--autour .gallery__item:first-child { border-radius: var(--radius); }

@media (min-width: 620px) {
  .gallery--autour { grid-template-columns: repeat(4, 1fr); }

  /* Bloc de tête 2×2 + 2 vignettes empilées à droite */
  .gallery--autour .gallery__item:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
  }
  .gallery--autour .gallery__item:nth-child(2) {
    grid-column: 3;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
  }
  .gallery--autour .gallery__item:nth-child(3) { grid-column: 4; grid-row: 1; }
  .gallery--autour .gallery__item:nth-child(4) {
    grid-column: 4;
    grid-row: 2;
    aspect-ratio: auto;
  }

  /* Rangée 3 : quatre vignettes, une par colonne → grille complète */
  .gallery--autour .gallery__item:nth-child(5) { grid-column: 1; grid-row: 3; }
  .gallery--autour .gallery__item:nth-child(6) { grid-column: 2; grid-row: 3; }
  .gallery--autour .gallery__item:nth-child(7) { grid-column: 3; grid-row: 3; }
  .gallery--autour .gallery__item:last-child {
    grid-column: 4;
    grid-row: 3;
    aspect-ratio: auto;
  }
}

/* ---- Encadré pratique ---- */
.autour__info {
  margin-top: clamp(1.5rem, 3.6vw, 2.2rem);
  padding: clamp(1.1rem, 2.6vw, 1.6rem);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: var(--sand);
}
.autour__info-title {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--pine-900);
}
.autour__info p {
  margin: 0 0 .7rem;
  font-size: .9rem;
  line-height: 1.62;
  color: var(--ink-soft);
}
.autour__links {
  margin: 0 0 .7rem;
  padding-left: 1.1rem;
  font-size: .9rem;
  line-height: 1.62;
  color: var(--ink-soft);
}
.autour__links li { margin-bottom: .4rem; }
.autour__links a {
  color: var(--pine-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.autour__links a:hover { color: var(--amber-dark); }
.autour__info .note { margin: 0; }

/* ---- Crédits photo (obligation CC BY-SA) ---- */
.credits {
  margin-top: clamp(1.4rem, 3.2vw, 2rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--line-soft);
}
.credits__title {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.credits__intro {
  margin: 0 0 .55rem;
  font-size: .78rem;
  line-height: 1.55;
  color: var(--ink-faint);
}
.credits__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: .2rem .9rem;
  margin: 0 0 .7rem;
  padding: 0;
  list-style: none;
  font-size: .78rem;
  line-height: 1.5;
  color: var(--ink-faint);
}
@media (min-width: 620px) {
  .credits__list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .credits__list { grid-template-columns: repeat(4, 1fr); }
}
.credits__note {
  margin: 0;
  font-size: .76rem;
  line-height: 1.55;
  color: var(--ink-faint);
}
.credits__note a { color: var(--pine-700); text-decoration: underline; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: .5rem;
  padding: clamp(.6rem, 2vw, 1.25rem);
  background: rgba(6, 16, 13, .96);
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}
.lightbox__img {
  width: auto;
  max-width: min(1120px, 100%);
  max-height: 100%;
  border-radius: 10px;
  object-fit: contain;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
}
.lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s var(--ease);
}
.lightbox__close:hover { background: rgba(255, 255, 255, .28); }
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .18s var(--ease);
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .32); }
.lightbox__nav--prev { left: .25rem; }
.lightbox__nav--next { right: .25rem; }
.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .6rem;
  font-size: .8rem;
  color: #b6c9c3;
}
#lightboxCounter {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber-soft);
  white-space: nowrap;
}

/* --------------------------------- Équipements --------------------------- */
.amenities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 620px) { .amenities { grid-template-columns: repeat(3, 1fr); } }
.amenities li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: 0;
  padding: .5rem .55rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 9px;
  background: rgba(255, 255, 255, .05);
  font-size: .85rem;
  line-height: 1.45;
  color: #cfdfda;
}
.amenities li .icon {
  width: 1.05em;
  height: 1.05em;
  margin-top: .16em;
  color: var(--amber-soft);
}
.amenities--neg li { background: rgba(255, 255, 255, .025); }
.amenities--neg li .icon { color: #9fb8b1; }

.amenities--light li {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink-soft);
}
.amenities--light li .icon { color: var(--pine-600); }

/* ---------------------------------- Couchages ---------------------------- */
.rooms {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: .88rem;
}
.rooms caption {
  padding-bottom: .6rem;
  text-align: left;
  font-family: var(--font-display);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.rooms th, .rooms td {
  padding: .7rem .55rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.rooms th {
  width: 38%;
  font-weight: 700;
  color: var(--pine-900);
  white-space: nowrap;
}
.rooms td { color: var(--ink-soft); }
.rooms tbody tr:last-child th, .rooms tbody tr:last-child td { border-bottom: 0; }
.rooms tbody tr:hover th, .rooms tbody tr:hover td { background: rgba(200, 121, 63, .05); }

/* --------------------------------- Distances ----------------------------- */
.distances {
  display: grid;
  gap: .45rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}
.distances li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: .6rem .85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  font-size: .88rem;
  color: var(--ink-soft);
}
.distances li > span:first-child { display: inline-flex; align-items: center; gap: .5rem; }
.distances .icon { width: 1.05em; height: 1.05em; color: var(--pine-600); }
.distances strong {
  font-family: var(--font-display);
  font-size: .88rem;
  letter-spacing: -.02em;
  color: var(--pine-800);
  white-space: nowrap;
}

/* ----------------------------------- Onglets ----------------------------- */
.tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1.7rem;
  padding: .32rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 42, 35, .05);
}
.tabs__btn {
  padding: .55rem 1.05rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  color: var(--pine-800);
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.tabs__btn:hover { background: rgba(255, 255, 255, .85); }
.tabs__btn[aria-selected="true"] {
  background: var(--pine-800);
  color: #fff;
  box-shadow: 0 8px 18px -10px rgba(8, 23, 19, .9);
}
.tabs__panel[hidden] { display: none; }
.tabs__panel:focus-visible { outline: none; }
.tabs__panel h3 { margin-bottom: .55rem; }
.tabs__panel ul { font-size: .91rem; color: var(--ink-soft); }
.tabs__panel ul strong { color: var(--pine-900); }

/* ------------------------------------- FAQ ------------------------------- */
.faq {
  display: grid;
  gap: .55rem;
  max-width: 54rem;
  margin-inline: auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.faq details[open] {
  border-color: rgba(200, 121, 63, .38);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.42;
  color: var(--pine-900);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 26px;
  height: 26px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(var(--amber), var(--amber)) center / 11px 2px no-repeat,
    linear-gradient(var(--amber), var(--amber)) center / 2px 11px no-repeat,
    var(--white);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(90deg);
  background:
    linear-gradient(var(--amber), var(--amber)) center / 11px 2px no-repeat,
    var(--sand);
}
.faq details p {
  margin: 0;
  padding: 0 1.15rem 1.1rem;
  font-size: .9rem;
  line-height: 1.66;
  color: var(--ink-soft);
}

/* --------------------------------- Formulaire ---------------------------- */
.form {
  display: grid;
  gap: .95rem;
  padding: clamp(1.2rem, 3.5vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}
.form__row { display: grid; gap: .95rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.form h3 { margin: 0 0 .2rem; }

.field { display: grid; gap: .3rem; }
.field label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--pine-800);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: .68rem .78rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--snow);
  font-family: var(--font-body);
  font-size: .93rem;
  color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease), background-color .16s var(--ease);
}
.field input:hover, .field textarea:hover { border-color: #cbd4ca; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--pine-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42, 122, 99, .16);
}
.field textarea { min-height: 5.4rem; resize: vertical; }
.field__hint { font-size: .73rem; line-height: 1.45; color: var(--ink-faint); }

.form__legal { margin: 0; font-size: .75rem; line-height: 1.55; color: var(--ink-faint); }
.form__status { margin: 0; font-size: .85rem; font-weight: 700; line-height: 1.5; }
.form__status:empty { display: none; }
.form__status[data-state="error"] { color: #a8322b; }
.form__status[data-state="ok"] { color: var(--pine-600); }

.recap {
  padding: .95rem 1.05rem;
  border: 1px solid rgba(200, 121, 63, .35);
  border-left: 4px solid var(--amber);
  border-radius: 10px;
  background: var(--sand);
}
.recap[hidden] { display: none; }
.recap h3 { margin: 0 0 .55rem; font-size: .93rem; }
.recap pre {
  margin: 0 0 .8rem;
  padding: .75rem;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: .77rem;
  line-height: 1.6;
  color: var(--ink);
  white-space: pre-wrap;
}
.recap__actions { display: flex; flex-wrap: wrap; gap: .5rem; }

/* -------------------------------- Carte tarif ---------------------------- */
.price-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.1rem);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 90% 70% at 100% 0%, rgba(200, 121, 63, .3), transparent 60%),
    linear-gradient(165deg, var(--pine-700), var(--pine-950) 78%);
  box-shadow: var(--shadow-lg);
  color: #d9e6e1;
}
.price-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -40px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  pointer-events: none;
}
.price-card h3 { color: #fff; }
.price-card__from {
  margin: 0 0 .3rem;
  font-family: var(--font-display);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--amber-soft);
}
.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: .35rem;
  margin: 0 0 .2rem;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 6.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1;
  color: #fff;
}
.price-card__amount span {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: 0;
  color: #a9c0ba;
}
.price-card__unit { margin: 0 0 1.25rem; font-size: .86rem; color: #a9c0ba; }
/* Variante texte : pas de montant affiché, cotation personnalisée */
.price-card__amount--text {
  font-size: clamp(1.5rem, 4.8vw, 2.05rem);
  letter-spacing: -.03em;
  line-height: 1.12;
}
.price-card__list {
  display: grid;
  gap: .5rem;
  margin: 0 0 1.4rem;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
  list-style: none;
  font-size: .87rem;
  color: #c8dad5;
}
.price-card__list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin: 0;
}
.price-card__list .icon {
  width: 1.05em;
  height: 1.05em;
  margin-top: .2em;
  color: var(--amber-soft);
}
.price-card .btn--primary { box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .7); }
.price-card__note {
  margin: .8rem 0 0;
  font-size: .72rem;
  line-height: 1.55;
  color: #9db4ae;
  text-align: center;
}

/* ----------------------------------- Images ------------------------------ */
.figure { margin: 0; }
.figure__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand-2);
  box-shadow: var(--shadow-md);
}
.figure__frame img { width: 100%; }
.figure figcaption {
  margin-top: .6rem;
  font-size: .77rem;
  line-height: 1.5;
  color: var(--ink-faint);
}
.section--pine .figure figcaption { color: #9fb8b1; }
.figure--stack { display: grid; gap: 1rem; }

/* Pastilles de réassurance */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.pill-row li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin: 0;
  padding: .36rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  font-size: .78rem;
  font-weight: 700;
  color: var(--pine-800);
}
.pill-row .icon { width: 1.05em; height: 1.05em; color: var(--amber-dark); }

/* ------------------------------- Bandeau CTA ----------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.3rem, 6vw, 3.5rem);
  background: linear-gradient(115deg, var(--amber-dark) 0%, var(--amber) 46%, #d59a5f 100%);
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image: radial-gradient(rgba(255, 255, 255, .5) .6px, transparent .6px);
  background-size: 5px 5px;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
@media (min-width: 860px) {
  .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; }
}
.cta-band h2 { margin-bottom: .3rem; color: #fff; text-shadow: 0 2px 18px rgba(120, 60, 20, .3); }
.cta-band p { margin: 0; max-width: 48ch; font-size: .96rem; color: #fdf2e8; }
.cta-band .btn--dark { --btn-bg: var(--pine-950); --btn-bd: var(--pine-950); }

/* ----------------------------------- Footer ------------------------------ */
.site-footer {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 3.7rem) 1.5rem;
  background: var(--pine-950);
  color: #a9c0ba;
  font-size: .86rem;
}
.site-footer a { color: #dfeae6; text-decoration: none; }
.site-footer a:hover { color: var(--amber-soft); }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 780px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; }
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1rem;
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #8ba7a0; }
/* Le pied de page est en #081713, soit exactement la couleur du disque du logo :
   sans liseré clair, le sceau se confondrait avec le fond. */
.footer__brand .brand__logo {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22);
}
.footer__title {
  margin: 0 0 .85rem;
  font-family: var(--font-display);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.footer__list { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.footer__list li { margin: 0; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-top: 2.3rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .74rem;
  color: #7d968f;
}

/* --------------------------- Barre CTA mobile ---------------------------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .55rem .9rem calc(.55rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -10px 30px -18px rgba(8, 23, 19, .5);
  backdrop-filter: blur(12px);
}
.sticky-cta__price {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  line-height: 1.15;
}
.sticky-cta__price strong {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: -.03em;
  color: var(--pine-900);
}
/* Variante texte long : « Cotation sur demande » */
.sticky-cta__price--text strong { font-size: .82rem; letter-spacing: -.01em; }
.sticky-cta__price span { font-size: .66rem; color: var(--ink-faint); }
.sticky-cta .btn { flex: none; padding: .7rem 1.15rem; font-size: .85rem; }
@media (min-width: 940px) { .sticky-cta { display: none; } }
@media (max-width: 939px) { body { padding-bottom: 4.4rem; } }

/* -------------------------------- Ancres --------------------------------- */
[id], :target { scroll-margin-top: 92px; }

/* ------------------------------ Mouvement -------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: reveal-up .65s var(--ease) both; }
  .reveal:nth-child(2) { animation-delay: .06s; }
  .reveal:nth-child(3) { animation-delay: .12s; }
  .reveal:nth-child(4) { animation-delay: .18s; }
  .reveal:nth-child(5) { animation-delay: .24s; }
  .reveal:nth-child(6) { animation-delay: .3s; }
}
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------- Webcams & météo (« En direct ») ------------------- */
/* Section sur fond sombre : les cartes et l'iframe sont volontairement clairs
   pour rester lisibles et pour que le cadre vidéo ne se confonde pas avec le fond. */

.cams {
  display: grid;
  gap: clamp(1.2rem, 3vw, 1.8rem);
  margin-top: clamp(1.4rem, 3vw, 2rem);
}
@media (min-width: 880px) {
  .cams { grid-template-columns: repeat(2, 1fr); }
}

.cam { margin: 0; }

.cam__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #0b1f1a;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
  /* Rapport 16/9 réservé avant chargement : la section ne saute pas
     quand l'iframe arrive. */
  aspect-ratio: 16 / 9;
}
.cam__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cam figcaption {
  margin-top: .65rem;
  font-size: .8rem;
  line-height: 1.55;
  color: #9fb8b1;
}
.cam__title {
  display: block;
  margin-bottom: .1rem;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--amber-soft);
}
.cam__link {
  display: inline-block;
  margin-top: .3rem;
  font-size: .78rem;
  font-weight: 700;
  color: #efd2b6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cam__link:hover { color: #fff; }

.live__note {
  margin: clamp(1.3rem, 3vw, 1.8rem) 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .82rem;
  line-height: 1.6;
  color: #9fb8b1;
}
.live__note a { color: #efd2b6; font-weight: 700; }
.live__note a:hover { color: #fff; }

/* ---- Widget météo ---- */
.weather {
  margin-top: clamp(1.4rem, 3vw, 2rem);
  padding: clamp(1.1rem, 2.6vw, 1.5rem);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .055);
}

.weather__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .3rem 1rem;
  margin-bottom: 1rem;
}
.weather__eyebrow {
  margin: 0;
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-soft);
}
.weather__updated {
  margin: 0;
  font-size: .72rem;
  color: #9fb8b1;
}

.weather__status { margin: 0; font-size: .86rem; color: #b6c9c3; }
/* Le bouton « Afficher les prévisions » (après masquage) s'aligne dans le texte */
.weather__status .btn { margin-left: .35rem; vertical-align: middle; }

/* ---------------- Portail « contenu tiers masqué » (webcams) ------------- */
/* Affiché à la place de l'iframe quand le visiteur a masqué les tiers.
   Le cadre garde son ratio 16/9, donc aucun saut de mise en page. */
.cam__gate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: 1.1rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 70% at 50% 0%, rgba(42, 122, 99, .35), transparent 65%),
    #0b1f1a;
}
.cam__gate[hidden] { display: none; }
.cam__gate-icon {
  width: 30px; height: 30px;
  flex: none;
  fill: none;
  stroke: var(--amber-soft);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cam__gate-text {
  margin: 0;
  font-size: .82rem;
  line-height: 1.5;
  color: #b6c9c3;
}
.cam__gate-text strong { color: #fff; }
.cam__gate .btn { margin-top: .2rem; }

/* --------------------- Encadré d'information cookies -------------------- */
/* Bandeau bas de page, au-dessus de la barre CTA mobile.
   Il informe et permet de masquer les contenus tiers ; il ne bloque pas la
   lecture de la page (pas de voile modal). */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: .9rem clamp(1.1rem, 4vw, 2rem);
  background: var(--pine-950);
  color: #cfded9;
  box-shadow: 0 -18px 44px -24px rgba(8, 23, 19, .9);
  border-top: 1px solid rgba(255, 255, 255, .14);
  max-height: 92vh;
  overflow-y: auto;
}
.consent[hidden] { display: none; }

/* La barre CTA mobile est sous le bandeau : on remonte le corps du document
   pour que le pied de page ne soit pas masqué. */
@media (max-width: 939px) {
  html.has-consent body { padding-bottom: 14rem; }
  html.has-consent .sticky-cta { display: none; }
}
@media (min-width: 940px) {
  html.has-consent body { padding-bottom: 9rem; }
}

.consent__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
}

.consent__main { margin-bottom: .85rem; }
.consent__title {
  margin: 0 0 .4rem;
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--amber-soft);
}
.consent__text {
  margin: 0;
  max-width: 78ch;
  font-size: .82rem;
  line-height: 1.6;
  color: #cfded9;
}
.consent__text strong { color: #fff; }
.consent__text a {
  color: #efd2b6;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent__text a:hover { color: #fff; }

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .8rem;
}
.consent__btn { font-size: .8rem; }
.consent__more {
  padding: .3rem 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  color: #b6c9c3;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.consent__more:hover { color: #fff; }

/* ---- Panneau de personnalisation ---- */
.consent__prefs {
  margin-top: .9rem;
  padding-top: .9rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
}
.consent__prefs[hidden] { display: none; }

.consent__list { margin: 0 0 .9rem; padding: 0; list-style: none; display: grid; gap: .6rem; }

.consent__item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .8rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05);
}
.consent__item-title {
  margin: 0 0 .15rem;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.consent__badge {
  margin-left: .4rem;
  padding: .05rem .4rem;
  border-radius: 999px;
  background: rgba(159, 215, 198, .18);
  font-family: var(--font-body);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #9fd7c6;
}
.consent__item-text {
  margin: 0;
  max-width: 62ch;
  font-size: .76rem;
  line-height: 1.5;
  color: #b6c9c3;
}

/* Interrupteur accessible : la case reste dans le flux pour le clavier et les
   lecteurs d'écran, seule la pastille visuelle est dessinée. */
.consent__switch { position: relative; flex: none; display: inline-flex; cursor: pointer; }
.consent__switch input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.consent__switch > span {
  display: block;
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  transition: background .18s var(--ease);
}
.consent__switch > span::after {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  margin: 3px;
  border-radius: 50%;
  background: #fff;
  transition: transform .18s var(--ease);
}
.consent__switch input:checked + span { background: var(--pine-500); }
.consent__switch input:checked + span::after { transform: translateX(18px); }
.consent__switch input:disabled + span { opacity: .55; }
.consent__switch input:disabled { cursor: not-allowed; }
.consent__switch input:focus-visible + span {
  outline: 2px solid var(--amber-soft);
  outline-offset: 2px;
}

.consent__save { font-size: .8rem; }

/* Liens légaux du pied de page */
.footer__legal {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .3rem .9rem;
}
.footer__consent {
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: inherit;
  color: #dfeae6;
  text-decoration: none;
  cursor: pointer;
}
.footer__consent:hover { color: var(--amber-soft); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------- Tableaux & encadrés (pages légales) -------------- */
/* Utilisés par confidentialite.html : lisibles et défilables sur mobile. */
.table-wrap {
  margin: 1.2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.table-wrap table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: .84rem;
  line-height: 1.55;
  text-align: left;
}

.table-wrap thead th {
  padding: .6rem .8rem;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--pine-800);
  white-space: nowrap;
}

.table-wrap tbody td {
  padding: .7rem .8rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
  vertical-align: top;
}
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody td strong { color: var(--ink); }
.table-wrap tbody small { font-size: .72rem; color: var(--ink-faint); }

/* Encadré de mise en avant */
.callout {
  margin: 1.4rem 0;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--amber);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--sand);
}
.callout p { margin: 0; font-size: .88rem; line-height: 1.65; color: var(--ink-soft); }
.callout p + p { margin-top: .7rem; }
.callout strong { color: var(--ink); }

@media print {
  .cams, .weather, .consent { display: none !important; }
}

.weather__now {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 1.4rem;
}
.weather__temp {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.weather__now-icon { width: 46px; height: 46px; flex: none; color: var(--amber-soft); }
.weather__now-label { font-size: .92rem; color: #e4ece8; }
.weather__now-meta { font-size: .78rem; color: #9fb8b1; }

.weather__days {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 560px) { .weather__days { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1020px) { .weather__days { grid-template-columns: repeat(7, 1fr); } }

.weather__day {
  padding: .6rem .45rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .05);
  text-align: center;
}
.weather__day-name {
  display: block;
  font-family: var(--font-display);
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b6c9c3;
}
.weather__day-icon {
  width: 30px; height: 30px;
  margin: .3rem auto .25rem;
  color: var(--amber-soft);
}
.weather__day-temps { font-size: .82rem; font-weight: 700; color: #fff; }
.weather__day-temps span { font-weight: 400; color: #9fb8b1; }
.weather__day-snow {
  display: block;
  margin-top: .15rem;
  font-size: .66rem;
  color: #9fd7c6;
}

.weather__source {
  margin: 1rem 0 0;
  font-size: .72rem;
  line-height: 1.55;
  color: #8aa49d;
}
.weather__source a { color: #b6c9c3; text-decoration: underline; text-underline-offset: 2px; }
.weather__source a:hover { color: #fff; }

@media print {
  .cams, .weather { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .card:hover, .gallery__item:hover { transform: none; }
}

/* Impression */
@media print {
  .site-header, .sticky-cta, .lightbox, .cta-band, .hero__actions, .btn, .ridge { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; padding-bottom: 0; }
  .section { padding-block: 1rem; }
  .hero { background: none; color: #000; }
  .hero h1, .hero__text { color: #000; text-shadow: none; }
  .hero__media { display: none; }
  .hero__card { box-shadow: none; border: 1px solid #ccc; }
  .facts, .section--pine, .price-card, .site-footer { background: #fff !important; color: #000 !important; }
  .section--pine h2, .section--pine h3, .price-card__amount, .price-card__list { color: #000 !important; }
  a { color: #000; text-decoration: none; }
}
