/* =========================================================
   La Côte 12 · feuille de style
   Palette reprise du dossier de vente (beige, anthracite, rouge SMI)
   ========================================================= */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FBFAF7;
  --sable: #F4F1EC;
  --sable-2: #ECE6DD;
  --sable-3: #E3DBD0;
  --ligne: #DAD4CD;
  --encre: #343434;
  --encre-2: #5E5B57;
  --encre-3: #8A8279;
  --taupe: #8C8172;
  --rouge: #D70926;
  --blanc: #FFFFFF;
  --v1: #E6D0C7; --v1-bord: #B96369;
  --v2: #DDE5EA; --v2-bord: #3A8EB5;
  --v3: #D9DDC8; --v3-bord: #8FA02C;
  --max: 1200px;
  --gouttiere: clamp(20px, 4vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --rayon: 3px;
  --ombre: 0 1px 2px rgba(52, 52, 52, .05), 0 12px 32px rgba(52, 52, 52, .07);
  --police: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --entete: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.65;
  color: var(--encre);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
sub { font-size: .7em; }

h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.005em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

.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; }

.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 16px; text-decoration: none; }
.lien-evitement:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--sable { background: var(--sable); }
.section--sombre { background: #2C2B29; color: #F4F1EC; }

/* Surtitre : petit libellé rouge, comme dans le dossier */
.surtitre {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--rouge);
}
.surtitre::before { content: ""; width: 28px; height: 2px; background: var(--rouge); }
.section--sombre .surtitre { color: #F08A99; }
.section--sombre .surtitre::before { background: #F08A99; }

.intro { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.intro p.chapeau { margin-top: 18px; font-size: 1.12rem; color: var(--encre-2); }
.chapeau { font-size: 1.12rem; color: var(--encre-2); }
.petit { font-size: .86rem; color: var(--encre-3); }
.mention { font-size: .8rem; color: var(--encre-3); margin-top: 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--encre); border-radius: var(--rayon);
  background: var(--encre); color: #fff;
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: #1F1F1F; border-color: #1F1F1F; }
.btn--clair { background: transparent; color: var(--encre); }
.btn--clair:hover { background: var(--encre); color: #fff; }
.btn--blanc { background: #fff; border-color: #fff; color: var(--encre); }
.btn--blanc:hover { background: var(--sable); border-color: var(--sable); }
.btn--contour-blanc { background: transparent; border-color: rgba(255,255,255,.8); color: #fff; }
.btn--contour-blanc:hover { background: #fff; color: var(--encre); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--entete);
  color: #fff;
  transition: background .3s, color .3s, box-shadow .3s;
}
.entete.est-collee, .entete.menu-ouvert, .page-simple .entete {
  background: rgba(251, 250, 247, .96); color: var(--encre);
  box-shadow: 0 1px 0 var(--ligne);
}
@supports (backdrop-filter: blur(8px)) { .entete.est-collee { background: rgba(251, 250, 247, .86); backdrop-filter: blur(10px); } }
.entete .conteneur { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; }
.logo strong { font-size: 1.12rem; font-weight: 500; letter-spacing: .12em; }
.logo span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(14px, 2vw, 28px); align-items: center; }
.nav a { text-decoration: none; font-size: .86rem; font-weight: 500; letter-spacing: .02em; padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav a:hover, .nav a.actif { border-color: currentColor; }
.nav .btn { min-height: 40px; padding: 8px 16px; font-size: .74rem; border-bottom: 1px solid; }
.entete:not(.est-collee):not(.menu-ouvert) .nav .btn { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.entete:not(.est-collee):not(.menu-ouvert) .nav .btn:hover { background: #fff; color: var(--encre); }
.page-simple .entete .nav .btn { background: var(--encre); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }
.menu-ouvert .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
.menu-ouvert .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .nav { position: fixed; inset: var(--entete) 0 auto 0; background: var(--bg); color: var(--encre); padding: 12px var(--gouttiere) 28px; box-shadow: 0 18px 30px rgba(0,0,0,.08); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .menu-ouvert .nav { opacity: 1; transform: none; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: 1rem; }
  .nav li:last-child { margin-top: 18px; }
  .nav .btn, .entete:not(.est-collee):not(.menu-ouvert) .nav .btn { width: 100%; background: var(--encre); color: #fff; border-color: var(--encre); }
}

/* ---------- Bannière ---------- */
.banniere { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #6f6a62; }
.banniere picture, .banniere picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.banniere picture img { object-fit: cover; object-position: 50% 62%; }
.banniere::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,16,.42) 0%, rgba(20,18,16,0) 22%, rgba(20,18,16,0) 48%, rgba(20,18,16,.18) 70%, rgba(20,18,16,.55) 100%); pointer-events: none; }
.banniere__contenu { position: relative; z-index: 1; padding-bottom: clamp(36px, 7vw, 84px); padding-top: calc(var(--entete) + 40px); }
.banniere__carte {
  max-width: 640px;
  background: rgba(251, 250, 247, .95); color: var(--encre);
  padding: clamp(26px, 4vw, 44px);
  border-top: 3px solid var(--rouge);
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.banniere h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); margin-bottom: 18px; }
.banniere .chapeau { margin-bottom: 26px; }
.banniere__mention { position: absolute; right: var(--gouttiere); bottom: 14px; z-index: 1; font-size: .72rem; letter-spacing: .04em; color: rgba(255,255,255,.85); }
@media (max-width: 700px) {
  .banniere { min-height: auto; display: block; background: var(--bg); }
  .banniere picture { position: relative; display: block; height: 62svh; min-height: 380px; }
  .banniere::after { height: 62svh; min-height: 380px; bottom: auto; }
  .banniere__contenu { padding-top: 0; margin-top: -72px; }
  .banniere__carte { box-shadow: var(--ombre); }
  .banniere__mention { top: calc(max(62svh, 380px) - 98px); bottom: auto; }
}

/* ---------- Bandeau chiffres ---------- */
.chiffres { background: var(--sable); border-bottom: 1px solid var(--ligne); }
.chiffres ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.chiffres li { padding: 26px 18px; text-align: center; border-left: 1px solid var(--ligne); }
.chiffres li:first-child { border-left: 0; }
.chiffres strong { display: block; font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 300; letter-spacing: -.01em; line-height: 1.2; }
.chiffres span { display: block; margin-top: 6px; font-size: .8rem; color: var(--encre-2); }
.chiffres strong span { display: inline; margin: 0; font-size: inherit; color: inherit; white-space: nowrap; }
.chiffres li.chiffres__prix strong { font-size: clamp(1.15rem, 1.75vw, 1.45rem); padding-top: .2em; }
@media (max-width: 900px) {
  .chiffres ul { grid-template-columns: repeat(2, 1fr); }
  .chiffres li { border-left: 0; border-top: 1px solid var(--ligne); }
  .chiffres li:nth-child(even) { border-left: 1px solid var(--ligne); }
  .chiffres li:nth-child(-n+2) { border-top: 0; }
  .chiffres li:last-child { grid-column: 1 / -1; border-left: 0; }
}

/* ---------- Grilles ---------- */
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.deux-col--haut { align-items: start; }
.deux-col--inverse > :first-child { order: 2; }
@media (max-width: 900px) { .deux-col { grid-template-columns: 1fr; } .deux-col--inverse > :first-child { order: 0; } }

.figure { margin: 0; }
.figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--rayon); background: var(--sable-2); }
.figure figcaption { margin-top: 10px; font-size: .8rem; color: var(--encre-3); }
.figure--haute img { aspect-ratio: 4 / 5; }

.citation { margin: 34px 0 0; padding: 26px 30px; background: var(--sable); border-left: 3px solid var(--rouge); }
.citation p { font-size: 1.2rem; font-weight: 300; line-height: 1.5; }
.citation footer { margin-top: 10px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-3); }
.encart { display: inline-block; margin-top: 26px; padding: 12px 18px; border: 1px solid var(--ligne); background: var(--bg); font-size: .9rem; font-weight: 500; }

/* ---------- Vue réelle ---------- */
.vue { position: relative; color: #fff; background: #5b7896; }
.vue img { width: 100%; height: clamp(360px, 56vw, 720px); object-fit: cover; object-position: 50% 78%; }
.vue__texte { position: absolute; inset: auto 0 0 0; padding-block: clamp(28px, 5vw, 56px); background: linear-gradient(0deg, rgba(20,22,24,.55), rgba(20,22,24,0)); }
.vue__texte h2 { max-width: 720px; text-shadow: 0 1px 18px rgba(0,0,0,.25); }
.vue__texte .surtitre { color: #fff; } .vue__texte .surtitre::before { background: #fff; }
.vue__texte p { margin-top: 12px; max-width: 640px; font-size: 1.08rem; }

/* ---------- L'essentiel ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ligne); border-left: 1px solid var(--ligne); }
.stats div { padding: 30px 20px; text-align: center; border-right: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); background: var(--bg); }
.stats strong { display: block; font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 300; line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: .86rem; color: var(--encre-2); }
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } .stats div:last-child { grid-column: 1 / -1; } }
.note-cadre { margin-top: 26px; padding: 16px 20px; border: 1px solid var(--ligne); background: var(--bg); text-align: center; font-size: .92rem; font-weight: 500; }

.niveaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: clamp(48px, 7vw, 80px); }
.niveau { background: var(--bg); border: 1px solid var(--ligne); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; }
.niveau__image { display: block; position: relative; background: var(--sable-2); }
.niveau__image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.niveau__image--plan img { object-fit: contain; background: #fff; padding: 10px; }
.niveau__texte { padding: 24px 24px 28px; }
.niveau__texte h3 { margin-bottom: 10px; }
.niveau__texte p { font-size: .96rem; color: var(--encre-2); }
@media (max-width: 900px) { .niveaux { grid-template-columns: 1fr; } }

/* Loupe sur les images agrandissables */
.zoomable { position: relative; display: block; cursor: zoom-in; }
.zoomable::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(251,250,247,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343434' stroke-width='1.8'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); opacity: .92; transition: transform .2s;
}
.zoomable:hover::after { transform: scale(1.08); }

/* ---------- Onglets ---------- */
.onglets__liste { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.onglet {
  flex: 1 1 200px; text-align: left; cursor: pointer;
  padding: 16px 18px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--bg);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.onglet small { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-3); }
.onglet strong { display: block; margin-top: 4px; font-size: 1.05rem; font-weight: 500; }
.onglet:hover { border-color: var(--encre-3); }
.onglet[aria-selected="true"] { border-color: var(--encre); box-shadow: inset 0 -3px 0 var(--encre); }
.onglet--v1[aria-selected="true"] { background: var(--v1); border-color: var(--v1-bord); box-shadow: inset 0 -3px 0 var(--v1-bord); }
.onglet--v2[aria-selected="true"] { background: var(--v2); border-color: var(--v2-bord); box-shadow: inset 0 -3px 0 var(--v2-bord); }
.onglet--v3[aria-selected="true"] { background: var(--v3); border-color: var(--v3-bord); box-shadow: inset 0 -3px 0 var(--v3-bord); }
.onglet .pastille { float: right; margin-top: 2px; }
[role="tabpanel"][hidden] { display: none; }
[role="tabpanel"] { animation: apparition .35s ease; }
@keyframes apparition { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Villas ---------- */
.villa { display: grid; grid-template-columns: minmax(300px, 420px) 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.villa__fiche { border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--bg); overflow: hidden; }
.villa__entete { padding: 24px 26px; border-bottom: 1px solid var(--ligne); }
.villa--v1 .villa__entete { background: var(--v1); border-color: var(--v1-bord); }
.villa--v2 .villa__entete { background: var(--v2); border-color: var(--v2-bord); }
.villa--v3 .villa__entete { background: var(--v3); border-color: var(--v3-bord); }
.villa__entete h3 { font-size: 1.5rem; font-weight: 300; }
.villa__entete p { margin-top: 8px; font-size: .95rem; color: var(--encre-2); }
.villa__chiffres { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--ligne); }
.villa__chiffres div { padding: 16px 8px; text-align: center; border-left: 1px solid var(--ligne); }
.villa__chiffres div:first-child { border-left: 0; }
.villa__chiffres strong { display: block; font-size: 1.35rem; font-weight: 300; line-height: 1.1; }
.villa__chiffres span { display: block; margin-top: 4px; font-size: .72rem; color: var(--encre-3); }
.liste-details { margin: 0; padding: 8px 26px; }
.liste-details div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--sable-2); font-size: .94rem; }
.liste-details div:last-child { border-bottom: 0; }
.liste-details dt { color: var(--encre-2); }
.liste-details dd { margin: 0; font-weight: 500; text-align: right; white-space: nowrap; }
.villa__prix { padding: 20px 26px 26px; background: var(--sable); border-top: 1px solid var(--ligne); }
.villa__prix .montant { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.villa__prix .montant strong { font-size: 1.6rem; font-weight: 400; letter-spacing: -.01em; }
.villa__prix .petit { margin: 6px 0 16px; }
.villa__prix .btns .btn { flex: 1 1 auto; }
.villa__plans h4 { font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-3); margin-bottom: 14px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { margin: 0; border: 1px solid var(--ligne); border-radius: var(--rayon); background: #fff; overflow: hidden; }
.plan a { display: block; }
.plan img { width: 100%; aspect-ratio: 5 / 6; object-fit: contain; padding: 10px; }
.plan figcaption { padding: 10px 14px; border-top: 1px solid var(--ligne); font-size: .84rem; font-weight: 500; background: var(--bg); }
@media (max-width: 900px) { .villa { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .villa__chiffres { grid-template-columns: repeat(2, 1fr); } .villa__chiffres div:nth-child(3) { border-left: 0; } .villa__chiffres div:nth-child(n+3) { border-top: 1px solid var(--ligne); } }

.pastille { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: #E4EEDF; color: #3D6B35; white-space: nowrap; }
.pastille::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pastille.est-reservee { background: #F6EAD3; color: #8A5A0B; }
.pastille.est-vendue { background: #F3DADC; color: #A1122B; }

/* Tableau comparatif */
.tableau-scroll { overflow-x: auto; margin-top: clamp(48px, 7vw, 80px); border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--bg); }
.tableau { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .94rem; }
.tableau caption { text-align: left; padding: 22px 24px 4px; font-size: 1.25rem; font-weight: 400; }
.tableau caption small { display: block; margin-top: 4px; font-size: .86rem; color: var(--encre-3); font-weight: 400; }
.tableau th, .tableau td { padding: 14px 18px; border-bottom: 1px solid var(--sable-2); text-align: center; }
.tableau thead th { background: var(--sable-2); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.tableau thead th span { display: block; margin-top: 2px; font-size: .74rem; font-weight: 400; letter-spacing: .02em; text-transform: none; color: var(--encre-2); }
.tableau tbody th { text-align: left; font-weight: 500; color: var(--encre-2); }
.tableau tr.fort td, .tableau tr.fort th { font-weight: 600; color: var(--encre); background: var(--sable); }
.tableau tr:last-child td, .tableau tr:last-child th { border-bottom: 0; }
.tableau .col-v1 { box-shadow: inset 0 3px 0 var(--v1-bord); }
.tableau .col-v2 { box-shadow: inset 0 3px 0 var(--v2-bord); }
.tableau .col-v3 { box-shadow: inset 0 3px 0 var(--v3-bord); }

/* Bloc PPE */
.ppe { margin-top: clamp(56px, 8vw, 96px); }
.ppe__plan { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 14px; }
.ppe__plan img, .figure .ppe__plan img { width: 100%; aspect-ratio: auto; object-fit: contain; background: #fff; }
.liste-coche { list-style: none; margin: 20px 0 0; padding: 0; }
.liste-coche li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--ligne); }
.liste-coche li:last-child { border-bottom: 0; }
.liste-coche li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 14px; height: 8px; border-left: 2px solid var(--rouge); border-bottom: 2px solid var(--rouge); transform: rotate(-45deg); }

/* ---------- Matériaux ---------- */
.materiaux { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.materiaux li { display: grid; grid-template-columns: 46px 1fr; gap: 16px; align-items: center; }
.materiaux .teinte { width: 46px; height: 46px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.materiaux strong { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.materiaux span { display: block; font-size: .95rem; color: var(--encre-2); }

/* ---------- Ambiances ---------- */
.ambiance { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.ambiance__images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ambiance__images a:first-child { grid-column: 1 / -1; }
.ambiance__images img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--rayon); }
.ambiance__images a:not(:first-child) img { aspect-ratio: 4 / 3; }
.ambiance__texte h3 { font-size: 1.9rem; font-weight: 300; }
.ambiance__texte .devise { margin: 8px 0 18px; font-size: 1.05rem; font-style: italic; color: var(--encre-2); }
.ambiance__texte p { color: var(--encre-2); }
@media (max-width: 900px) { .ambiance { grid-template-columns: 1fr; } }
.sans-plus-value { display: flex; gap: 14px; align-items: center; margin: 0 0 28px; padding: 14px 18px; background: var(--bg); border: 1px solid var(--ligne); font-weight: 500; }
.etapes { list-style: none; margin: clamp(48px, 7vw, 80px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: etape; }
.etapes li { padding: 22px 20px 24px; border-radius: var(--rayon); background: var(--sable-2); }
.etapes li:nth-child(1) { background: #F0E4DF; } .etapes li:nth-child(2) { background: #E5E9DF; } .etapes li:nth-child(3) { background: #ECE3D9; } .etapes li:nth-child(4) { background: #E9E2DA; }
.etapes li::before { counter-increment: etape; content: counter(etape); display: block; font-size: 1.6rem; font-weight: 300; color: var(--rouge); }
.etapes strong { display: block; margin-top: 8px; font-weight: 600; }
.etapes span { display: block; margin-top: 4px; font-size: .92rem; color: var(--encre-2); }
@media (max-width: 900px) { .etapes { grid-template-columns: 1fr 1fr; } }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: clamp(120px, 15vw, 210px); gap: 12px; }
.galerie a { position: relative; overflow: hidden; border-radius: var(--rayon); background: var(--sable-2); }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.galerie a:hover img { transform: scale(1.04); }
.galerie a:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.galerie a:nth-child(2), .galerie a:nth-child(3) { grid-column: span 2; }
.galerie a:nth-child(4), .galerie a:nth-child(5), .galerie a:nth-child(6) { grid-column: span 2; }
.galerie a:nth-child(7) { grid-column: span 3; grid-row: span 2; }
.galerie a:nth-child(8), .galerie a:nth-child(9), .galerie a:nth-child(10), .galerie a:nth-child(11) { grid-column: span 3; }
.galerie a:nth-child(n+8) { grid-column: span 3; }
@media (max-width: 760px) {
  .galerie { grid-template-columns: 1fr 1fr; grid-auto-rows: 38vw; }
  .galerie a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .galerie a:nth-child(1) { grid-column: 1 / -1; grid-row: span 1; }
}

/* ---------- Confort ---------- */
.confort { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.confort div { padding: 24px 22px; background: var(--bg); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.confort svg { width: 30px; height: 30px; color: var(--taupe); margin-bottom: 14px; }
.confort strong { display: block; font-weight: 600; margin-bottom: 6px; }
.confort span { display: block; font-size: .92rem; color: var(--encre-2); line-height: 1.55; }
@media (max-width: 1000px) { .confort { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .confort { grid-template-columns: 1fr; } }

/* ---------- Vidéos ---------- */
.videos { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px; }
.video-carte { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.video-carte__image { position: relative; display: block; overflow: hidden; border-radius: var(--rayon); background: #222; }
.video-carte__image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .92; }
.video-carte:hover .video-carte__image img { transform: scale(1.04); opacity: 1; }
.video-carte__lecture { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(251,250,247,.92); display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.video-carte:hover .video-carte__lecture { transform: scale(1.08); }
.video-carte__lecture svg { width: 20px; height: 20px; margin-left: 3px; color: var(--encre); }
.video-carte__duree { position: absolute; right: 10px; bottom: 10px; padding: 2px 8px; border-radius: 2px; background: rgba(0,0,0,.6); color: #fff; font-size: .74rem; font-weight: 600; }
.video-carte strong { display: block; margin-top: 14px; font-size: 1.02rem; font-weight: 600; }
.video-carte span.role { display: block; margin-top: 2px; font-size: .88rem; color: var(--encre-2); }
.videos .video-carte:first-child .video-carte__image img { aspect-ratio: auto; height: 100%; min-height: 100%; }
@media (max-width: 1000px) { .videos { grid-template-columns: 1fr 1fr; } .videos .video-carte:first-child { grid-column: 1 / -1; } .videos .video-carte:first-child .video-carte__image img { aspect-ratio: 16 / 9; height: auto; } }
@media (max-width: 520px) { .videos { grid-template-columns: 1fr; } }

/* ---------- Situation ---------- */
.distances { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.distances li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.distances li span:first-child { font-weight: 500; }
.distances li span:last-child { color: var(--encre-2); white-space: nowrap; }
.quotidien { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.quotidien div { padding: 20px 22px; background: var(--bg); border: 1px solid var(--ligne); border-radius: var(--rayon); }
.quotidien strong { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-3); margin-bottom: 6px; }
.quotidien span { display: block; font-size: .96rem; }
@media (max-width: 900px) { .quotidien { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quotidien { grid-template-columns: 1fr; } }

/* ---------- Alentours ---------- */
.alentours-tete { position: relative; color: #fff; background: #5b7896; }
.alentours-tete img { width: 100%; height: clamp(300px, 42vw, 540px); object-fit: cover; object-position: 50% 82%; }
.alentours-tete .conteneur { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(28px, 5vw, 56px); }
.alentours-tete::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18,22,26,.6) 0%, rgba(18,22,26,.08) 55%, rgba(18,22,26,0) 100%); }
.alentours-tete .conteneur { z-index: 1; }
.alentours-tete .surtitre { color: #fff; } .alentours-tete .surtitre::before { background: #fff; }
.alentours-tete h2 { max-width: 760px; }
.alentours-tete p { max-width: 680px; margin-top: 14px; font-size: 1.08rem; }
.alentours { display: grid; grid-template-columns: minmax(320px, 1.1fr) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.carte-cadre { position: sticky; top: calc(var(--entete) + 20px); background: #EFE9E1; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 8px; }
.carte-cadre figcaption { padding: 10px 10px 6px; font-size: .78rem; color: var(--encre-3); }
.carte { width: 100%; height: auto; }
.carte-fond { fill: #EFE9E1; }
.carte-lac { fill: #CDD9DD; stroke: #9DB2BA; stroke-width: 1.4; stroke-linejoin: round; }
.carte-lac-nom { font: italic 400 26px var(--police); fill: #5F7A84; letter-spacing: .06em; }
.carte-nom { font: 500 25px var(--police); fill: #2F2F2F; paint-order: stroke; stroke: #EFE9E1; stroke-width: 8px; stroke-linejoin: round; }
.carte-nom.petit { font-size: 22px; }
.carte-temps { font: 400 21px var(--police); fill: #7A7266; paint-order: stroke; stroke: #EFE9E1; stroke-width: 8px; stroke-linejoin: round; }
.carte-num { fill: #343434; stroke: #EFE9E1; stroke-width: 4; transition: fill .2s; }
.carte-num-txt { font: 600 19px var(--police); fill: #fff; pointer-events: none; }
.carte-trait { stroke: #8C8172; stroke-width: 2; fill: none; }
.carte-lieu.actif .carte-num { fill: var(--rouge); }
.carte-ville { fill: #8C8172; stroke: #EFE9E1; stroke-width: 2; }
.carte-point-creux { fill: #EFE9E1; stroke: #5F7A84; stroke-width: 2; }
.carte-projet-halo { fill: #D70926; opacity: .18; }
.carte-projet-point { fill: #D70926; stroke: #fff; stroke-width: 3; }
.carte-projet-nom { font: 600 28px var(--police); fill: #2F2F2F; paint-order: stroke; stroke: #EFE9E1; stroke-width: 8px; stroke-linejoin: round; }
.carte-fleche { fill: none; stroke: #8C8172; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.carte-nord-fleche { fill: #8C8172; }
.carte-echelle path { stroke: #7A7266; stroke-width: 3; fill: none; }
.lieux-groupe + .lieux-groupe { margin-top: 40px; }
.lieux-groupe > h3 { font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--encre-3); margin-bottom: 14px; }
.lieu { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--ligne); transition: background .2s; }
.lieu:last-child { border-bottom: 1px solid var(--ligne); }
.lieu__num { width: 30px; height: 30px; border-radius: 50%; background: var(--encre); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 600; margin-top: 2px; transition: background .2s; }
.lieu.actif .lieu__num { background: var(--rouge); }
.lieu h4 { font-size: 1.18rem; font-weight: 500; letter-spacing: -.005em; }
.lieu .lieu__meta { display: block; margin: 4px 0 10px; font-size: .84rem; font-weight: 500; color: var(--rouge); }
.lieu p { font-size: .96rem; color: var(--encre-2); }
@media (max-width: 960px) { .alentours { grid-template-columns: 1fr; } .carte-cadre { position: relative; top: 0; } }
@media (max-width: 640px) {
  .carte .carte-temps { display: none; }
  .carte .carte-nom { font-size: 33px; stroke-width: 9px; }
  .carte .carte-nom.petit { font-size: 28px; }
  .carte .carte-projet-nom { font-size: 34px; }
  .carte .carte-lac-nom { font-size: 30px; }
}

/* ---------- Calendrier ---------- */
.parcours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; counter-reset: pas; }
.parcours::before { content: ""; position: absolute; left: 10%; right: 10%; top: 25px; height: 1px; background: var(--encre-3); }
.parcours li { position: relative; text-align: center; padding: 0 10px; }
.parcours li::before { counter-increment: pas; content: counter(pas); display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 18px; border-radius: 50%; background: var(--encre); color: #fff; font-weight: 500; position: relative; }
.parcours strong { display: block; font-weight: 600; }
.parcours span { display: block; margin-top: 4px; font-size: .92rem; color: var(--encre-2); }
@media (max-width: 800px) {
  .parcours { grid-template-columns: 1fr; gap: 0; }
  .parcours::before { left: 25px; right: auto; top: 25px; bottom: 25px; width: 1px; height: auto; }
  .parcours li { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; text-align: left; padding: 0 0 26px; }
  .parcours li::before { margin: 0; grid-row: span 2; }
  .parcours strong { padding-top: 4px; }
}
.note-cadre.gauche { text-align: left; }

/* ---------- Partenaires ---------- */
.partenaires { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partenaire { padding: 24px 22px; border: 1px solid var(--ligne); border-radius: var(--rayon); background: var(--bg); display: flex; flex-direction: column; }
.partenaire small { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); }
.partenaire strong { margin-top: 10px; font-size: 1.05rem; font-weight: 600; }
.partenaire span { font-size: .92rem; color: var(--encre-2); }
.partenaire img { margin-top: auto; padding-top: 22px; height: 76px; width: auto; max-width: 100%; object-fit: contain; object-position: left bottom; }
@media (max-width: 1000px) { .partenaires { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .partenaires { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.contact__carte { background: var(--bg); color: var(--encre); padding: clamp(26px, 4vw, 44px); border-top: 3px solid var(--rouge); }
.contact__carte img { height: 84px; width: auto; margin-bottom: 22px; }
.contact__carte address { font-style: normal; line-height: 1.7; }
.contact__carte .lignes { margin: 18px 0 26px; }
.contact__carte .lignes a { display: inline-block; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--ligne); }
.contact__carte .lignes a:hover { border-color: var(--encre); }
.contact__carte .btns { flex-direction: column; }
.contact h2 { color: #fff; }
.contact .chapeau { color: #D9D3CB; margin-top: 18px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.pied { padding: 44px 0 110px; background: #232220; color: #B9B2A9; font-size: .86rem; }
.pied .conteneur { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; }
.pied strong { color: #F4F1EC; font-weight: 500; letter-spacing: .1em; }
.pied a { color: #E9E4DD; }
.pied ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
@media (max-width: 760px) { .pied .conteneur { grid-template-columns: 1fr; } .pied ul { justify-content: flex-start; } }
@media (min-width: 761px) { .pied { padding-bottom: 44px; } }

/* ---------- Barre mobile ---------- */
.barre-mobile { position: fixed; inset: auto 0 0 0; z-index: 40; display: none; align-items: center; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,250,247,.97); border-top: 1px solid var(--ligne); box-shadow: 0 -8px 24px rgba(0,0,0,.06); transform: translateY(110%); transition: transform .3s; }
.barre-mobile.visible { transform: none; }
.barre-mobile .prix { flex: 1; font-size: .8rem; line-height: 1.25; color: var(--encre-2); }
.barre-mobile .prix strong { display: block; color: var(--encre); font-size: 1rem; font-weight: 600; }
.barre-mobile .btn { min-height: 44px; padding: 10px 14px; }
@media (max-width: 760px) { .barre-mobile { display: flex; } }

/* ---------- Fenêtres (galerie et vidéos) ---------- */
dialog.fenetre { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16, 15, 14, .94); color: #fff; }
dialog.fenetre::backdrop { background: rgba(16, 15, 14, .94); }
.fenetre__corps { position: absolute; inset: 64px 72px 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.fenetre__corps img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; background: #fff0; }
.fenetre__corps img.plan-blanc { background: #fff; padding: 14px; }
.fenetre__legende { margin-top: 14px; font-size: .88rem; color: #D8D2CA; text-align: center; }
.fenetre__fermer, .fenetre__prec, .fenetre__suiv { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.3); color: #fff; cursor: pointer; display: grid; place-items: center; }
.fenetre__fermer:hover, .fenetre__prec:hover, .fenetre__suiv:hover { background: rgba(255,255,255,.15); }
.fenetre__fermer { top: 12px; right: 12px; }
.fenetre__prec { left: 12px; top: 50%; margin-top: -24px; }
.fenetre__suiv { right: 12px; top: 50%; margin-top: -24px; }
.fenetre svg { width: 20px; height: 20px; }
.fenetre__video { width: min(100%, 1280px); aspect-ratio: 16 / 9; max-height: 100%; background: #000; }
.fenetre__video video, .fenetre__video iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 700px) { .fenetre__corps { inset: 60px 10px 70px; } .fenetre__prec, .fenetre__suiv { top: auto; bottom: 12px; margin: 0; } .fenetre__prec { left: calc(50% - 60px); } .fenetre__suiv { right: calc(50% - 60px); } }

/* ---------- Apparition au défilement ---------- */
.js .revele { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .revele.vu { opacity: 1; transform: none; }

/* ---------- Pages simples (mentions, données) ---------- */
.page-simple main { padding-top: calc(var(--entete) + clamp(40px, 7vw, 80px)); padding-bottom: var(--section); }
.texte-long { max-width: 760px; }
.texte-long h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 28px; }
.texte-long h2 { font-size: 1.35rem; font-weight: 500; margin: 40px 0 12px; }
.texte-long p, .texte-long li { color: var(--encre-2); }
.texte-long address { font-style: normal; color: var(--encre-2); margin-bottom: 1em; }
