/* ==================================================================
   Atelier Delcourt - feuille de style
   Direction "Plein cadre" : photos plein ecran, grotesque fine,
   boutons carres, blanc casse neutre / noir, accent vert foret.
   Sections transposees des blocs Watermelon UI (hero-26, stats-4,
   testimonials-4, faq-6, contact-3, footer-15), des focus cards
   Aceternity et de l'infinite slider Motion Primitives.
   HTML/CSS/JS natif, aucune dependance.
   ================================================================== */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --fond: #f4f4f1;
  --surface: #ffffff;
  --gris: #eaeae5;
  --encre: #111111;
  --encre-2: #56564f;
  --ligne: #dcdcd5;
  --ligne-2: #c9c9c1;

  --nuit: #111110;
  --nuit-2: #1c1c1a;
  --sur-nuit: #f2f2ee;
  --sur-nuit-2: #a6a69f;

  --foret: #1f3b2e;
  --foret-2: #2b513f;
  --foret-clair: #cfe3d3;
  --pied: #16201a;

  --titre: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --texte: "Inter", "Helvetica Neue", Arial, sans-serif;

  --conteneur: 1320px;
  --marge: clamp(24px, 4.5vw, 56px);
  --section: clamp(80px, 10vw, 144px);
  --entete-h: 72px;
  --annonce-h: 34px;
  --ressort: cubic-bezier(0.22, 1, 0.36, 1);
}

html.sans-annonce { --annonce-h: 0px; }

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete-h) + var(--annonce-h) + 24px); }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.page-simple { padding-top: calc(var(--entete-h) + var(--annonce-h)); }

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--titre);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}
h1 { font-size: clamp(2.8rem, 5.6vw, 6rem); font-weight: 400; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.75rem); }
h3 { font-size: clamp(1.15rem, 1.4vw, 1.35rem); letter-spacing: -0.015em; line-height: 1.25; }

p { margin: 0; text-wrap: pretty; }

.conteneur { width: 100%; max-width: var(--conteneur); margin-inline: auto; padding-inline: var(--marge); }
.conteneur-etroit { max-width: 880px; }

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

.saut {
  position: fixed; left: 16px; top: -80px; z-index: 300;
  background: var(--encre); color: #fff; padding: 12px 18px; transition: top 0.2s;
}
.saut:focus { top: 12px; }

.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.muted { color: var(--encre-2); }
.intro-texte { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--encre-2); max-width: 36em; }

/* ---------- Boutons (carres, comme hero-26) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--encre);
  border-radius: 0;
  background: var(--encre);
  color: #fff;
  font: 500 0.95rem/1 var(--texte);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: #2a2a28; border-color: #2a2a28; }
.btn:active { transform: scale(0.97); }

.btn-blanc { background: #fff; border-color: rgba(255, 255, 255, 0.8); color: var(--encre); }
.btn-blanc:hover { background: rgba(255, 255, 255, 0.88); border-color: #fff; }

.btn-foret { background: var(--foret); border-color: var(--foret); }
.btn-foret:hover { background: var(--foret-2); border-color: var(--foret-2); }

.btn-contour { background: transparent; color: var(--encre); border-color: var(--ligne-2); }
.btn-contour:hover { background: var(--encre); border-color: var(--encre); color: #fff; }

.btn-verre {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-verre:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; }

/* Variante avec case fleche (footer-15) */
.btn-fleche { padding-right: 4px; gap: 16px; }
.btn-fleche .fleche {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.2s var(--ressort);
}
.btn-blanc.btn-fleche .fleche { background: var(--encre); color: #fff; }
.btn-fleche .fleche .ico { width: 16px; height: 16px; }
.btn-fleche:hover .fleche { transform: translateX(3px); }

.boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.lien-souligne {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.lien-souligne .ico { width: 16px; height: 16px; transition: transform 0.2s; }
.lien-souligne:hover .ico { transform: translateX(3px); }

/* ---------- En-tete (fixe, transparent sur photo) ---------- */
.entete {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.entete.solide,
.page-simple .entete {
  background: rgba(244, 244, 241, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--encre);
  border-color: var(--ligne);
}
.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--entete-h);
  max-width: none;
}

.marque { display: inline-flex; align-items: center; gap: 10px; font-family: var(--titre); font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.marque svg { width: 30px; height: 30px; fill: currentColor; }
.marque:hover { opacity: 0.8; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.9rem;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav a:not(.btn):hover,
.nav a[aria-current="page"]:not(.btn) { opacity: 1; }
.nav a[aria-current="page"]:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: currentColor;
}
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.entete:not(.solide) .nav .btn { background: #fff; border-color: rgba(255, 255, 255, 0.8); color: var(--encre); }
.page-simple .entete .nav .btn,
.entete.solide .nav .btn { background: var(--encre); border-color: var(--encre); color: #fff; }

.menu-bouton {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.menu-bouton .ico-fermer { display: none; }
.menu-bouton[aria-expanded="true"] .ico-ouvrir { display: none; }
.menu-bouton[aria-expanded="true"] .ico-fermer { display: block; }

@media (max-width: 980px) {
  .menu-bouton { display: grid; position: relative; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: calc(var(--entete-h) + var(--annonce-h) + 24px) var(--marge) 40px;
    background: var(--nuit);
    color: var(--sur-nuit);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .nav.ouvert { opacity: 1; visibility: visible; }
  .nav a:not(.btn) {
    font-family: var(--titre);
    font-size: clamp(2rem, 8vw, 3rem);
    letter-spacing: -0.03em;
    min-height: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
  }
  .nav a[aria-current="page"]:not(.btn)::after { display: none; }
  .nav a[aria-current="page"]:not(.btn) { color: var(--foret-clair); }
  #navigation .btn { margin-top: 32px; min-height: 52px; background: #fff; color: var(--encre); border-color: #fff; }
  .marque { position: relative; z-index: 2; }
  body.menu-ouvert { overflow: hidden; }
  body.menu-ouvert .entete { color: #fff; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------- Hero plein cadre (Watermelon hero-26) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #1a1a18;
  color: #fff;
}
.hero-fond {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  animation: fond-entree 1.5s var(--ressort) both;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.72) 0%, rgba(10, 10, 9, 0.35) 55%, rgba(10, 10, 9, 0.1) 100%),
    linear-gradient(0deg, rgba(10, 10, 9, 0.55) 0%, rgba(10, 10, 9, 0) 40%);
}
.hero-contenu {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--entete-h) + var(--annonce-h) + 48px);
  padding-bottom: 48px;
}
.hero-avis { display: flex; flex-direction: column; gap: 4px; }
.etoiles { display: flex; gap: 2px; }
.etoiles svg { width: 22px; height: 22px; fill: #fff; }
.hero-avis p { color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.hero h1 { margin-top: 20px; max-width: 12.5em; }
.hero-texte { margin-top: 22px; max-width: 30rem; font-size: 1.08rem; line-height: 1.55; color: rgba(255, 255, 255, 0.82); }
.hero-actions { margin-top: 32px; }
.hero-tel { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 6px; color: #fff; font-weight: 500; }
.hero-tel:hover { opacity: 0.8; }

/* Bandeau vitre en bas du hero */
.hero-bande {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(17, 17, 16, 0.28);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
}
.hero-bande > div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px var(--marge);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-bande > div:first-child { border-left: 0; }
.hero-bande .pastille {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}
.hero-bande b { display: block; font-weight: 500; font-size: 0.98rem; }
.hero-bande span { display: block; margin-top: 2px; font-size: 0.86rem; line-height: 1.4; color: rgba(255, 255, 255, 0.72); }
@media (max-width: 1100px) { .hero-bande { grid-template-columns: repeat(2, 1fr); } .hero-bande > div:nth-child(3) { border-left: 0; } .hero-bande > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.12); } }
@media (max-width: 640px) { .hero-bande { display: none; } }

/* Entree du hero : cascade, sans JavaScript */
.cascade > * { animation: monter 0.9s var(--ressort) both; }
.cascade > :nth-child(1) { animation-delay: 0.15s; }
.cascade > :nth-child(2) { animation-delay: 0.25s; }
.cascade > :nth-child(3) { animation-delay: 0.35s; }
.cascade > :nth-child(4) { animation-delay: 0.45s; }
.hero-bande > div { animation: monter 0.8s var(--ressort) both; }
.hero-bande > div:nth-child(1) { animation-delay: 0.55s; }
.hero-bande > div:nth-child(2) { animation-delay: 0.63s; }
.hero-bande > div:nth-child(3) { animation-delay: 0.71s; }
.hero-bande > div:nth-child(4) { animation-delay: 0.79s; }

@keyframes monter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes fond-entree { from { opacity: 0; transform: translateX(30px) scale(1.04); } to { opacity: 1; transform: none; } }

/* ---------- Bandeau photo des pages interieures ---------- */
.bandeau {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 62vh, 640px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #1a1a18;
  color: #fff;
}
.bandeau > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; animation: fond-entree 1.4s var(--ressort) both; }
.bandeau::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(10, 10, 9, 0.78) 0%, rgba(10, 10, 9, 0.25) 60%, rgba(10, 10, 9, 0.35) 100%);
}
.bandeau .conteneur { padding-top: calc(var(--entete-h) + var(--annonce-h) + 40px); padding-bottom: clamp(40px, 6vw, 72px); }
.bandeau h1 { font-size: clamp(2.6rem, 5vw, 5.25rem); max-width: 14em; }
.bandeau p { margin-top: 18px; max-width: 34rem; font-size: 1.08rem; color: rgba(255, 255, 255, 0.82); }
.fil { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }
.fil a:hover { color: #fff; }
.fil .ico { width: 14px; height: 14px; }

/* ---------- Defilement infini (Motion Primitives infinite slider) ---------- */
.defile {
  overflow: hidden;
  border-bottom: 1px solid var(--ligne);
  background: var(--surface);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.defile-piste { display: flex; width: max-content; animation: defiler 48s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.defile li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 26px 0 26px 40px;
  font-family: var(--titre);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--encre-2);
  white-space: nowrap;
}
.defile li::after { content: ""; width: 8px; height: 8px; background: var(--foret); transform: rotate(45deg); }
@keyframes defiler { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-blanche { background: var(--surface); }
.section-sombre { background: var(--nuit); color: var(--sur-nuit); }
.section-sombre .muted,
.section-sombre .intro-texte { color: var(--sur-nuit-2); }

.tete-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.tete-section > div { max-width: 720px; }
.tete-section h2 + p { margin-top: 18px; }

.surtitre { display: block; margin-bottom: 16px; font-size: 0.9rem; font-weight: 500; color: var(--foret); }
.section-sombre .surtitre { color: var(--foret-clair); }

/* ---------- Intro + chiffres (Watermelon stats-4) ---------- */
.intro {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.intro h2 { margin-bottom: 22px; }
.intro .boutons { margin-top: 32px; }
.chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.chiffre {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 210px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--ligne);
  overflow: hidden;
}
.chiffre b { font-family: var(--titre); font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 400; letter-spacing: -0.04em; line-height: 1; }
.chiffre b small { font-size: 0.45em; letter-spacing: 0; margin-left: 4px; color: var(--encre-2); }
.chiffre h3 { margin-top: 18px; font-size: 1rem; }
.chiffre p { margin-top: 6px; font-size: 0.92rem; color: var(--encre-2); }
.chiffre-rayures {
  background: var(--foret);
  border-color: var(--foret);
  color: #fff;
}
.chiffre-rayures::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 12px);
  pointer-events: none;
}
.chiffre-rayures b small,
.chiffre-rayures p { color: rgba(255, 255, 255, 0.75); }
@media (max-width: 960px) { .intro { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .chiffres { grid-template-columns: 1fr; } .chiffre { min-height: 0; } }

/* ---------- Focus cards (Aceternity) ---------- */
.focus-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.focus-carte {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--gris);
  transition: filter 0.35s ease, transform 0.35s var(--ressort);
}
.focus-carte img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ressort); }
.focus-carte::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}
.focus-legende { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 24px; color: #fff; }
.focus-legende h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); font-weight: 500; }
.focus-legende p { margin-top: 6px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.78); }
.etiquette-coin {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--encre);
  font-size: 0.78rem;
  font-weight: 500;
}
@media (hover: hover) {
  .focus-grille:hover .focus-carte:not(:hover) { filter: blur(3px) saturate(0.7); transform: scale(0.985); }
  .focus-carte:hover img { transform: scale(1.04); }
}
@media (max-width: 960px) { .focus-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .focus-grille { grid-template-columns: 1fr; } }

/* ---------- Grille des realisations ---------- */
.filtres {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  margin-bottom: 40px;
  background: var(--gris);
}
.filtre {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--encre-2);
  font: 500 0.92rem var(--texte);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.filtre:hover { color: var(--encre); }
.filtre[aria-pressed="true"] { background: var(--surface); color: var(--encre); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.filtre span { margin-left: 6px; color: var(--encre-2); font-variant-numeric: tabular-nums; }

.realisations { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 24px; }
.realisation[hidden] { display: none; }
.realisation .focus-carte { margin-bottom: 20px; }
.realisation-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 8px; font-size: 0.85rem; color: var(--encre-2); }
.realisation-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 14px; vertical-align: middle; background: var(--ligne-2); }
.realisation h2 { font-size: clamp(1.3rem, 1.7vw, 1.55rem); letter-spacing: -0.02em; }
.realisation p { margin-top: 10px; color: var(--encre-2); font-size: 0.97rem; }
@media (hover: hover) {
  .realisations:hover .realisation:not(:hover) .focus-carte { filter: blur(3px) saturate(0.7); }
}
@media (max-width: 960px) { .realisations { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .realisations { grid-template-columns: 1fr; } }

/* ---------- Methode (3 colonnes numerotees) ---------- */
.methode { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ligne); }
.methode > div { padding: 32px 32px 8px 0; }
.methode > div + div { padding-left: 32px; border-left: 1px solid var(--ligne); }
.methode .num { display: block; margin-bottom: 48px; font-family: var(--titre); font-size: 0.95rem; color: var(--foret); }
.methode h3 { margin-bottom: 12px; font-size: clamp(1.3rem, 1.8vw, 1.6rem); }
.methode p { color: var(--encre-2); }
.section-sombre .methode { border-color: rgba(255, 255, 255, 0.12); }
.section-sombre .methode > div + div { border-color: rgba(255, 255, 255, 0.12); }
.section-sombre .methode .num { color: var(--foret-clair); }
.section-sombre .methode p { color: var(--sur-nuit-2); }
@media (max-width: 860px) {
  .methode { grid-template-columns: 1fr; }
  .methode > div,
  .methode > div + div { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--ligne); }
  .section-sombre .methode > div { border-color: rgba(255, 255, 255, 0.12); }
  .methode .num { margin-bottom: 16px; }
}

/* ---------- Avant / apres ---------- */
.paire { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.paire figure { position: relative; margin: 0; overflow: hidden; background: var(--gris); }
.paire img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.paire figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--encre);
  font-size: 0.8rem;
  font-weight: 600;
}
.paire figure:last-child figcaption { background: var(--foret); color: #fff; }

.renovation {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--ligne);
}
.renovation:first-child { border-top: 0; padding-top: 0; }
.renovation-texte { display: flex; flex-direction: column; }
.renovation-texte h2 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.duree { display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin-top: 16px; padding: 6px 12px; background: var(--gris); font-size: 0.85rem; font-weight: 500; }
.duree .ico { width: 16px; height: 16px; }
.renovation dl { margin: 32px 0 0; display: grid; gap: 24px; }
.renovation dt { margin-bottom: 6px; font-size: 0.85rem; font-weight: 600; color: var(--encre); }
.renovation dd { margin: 0; color: var(--encre-2); }
@media (max-width: 900px) { .renovation { grid-template-columns: 1fr; } }

.teaser { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.teaser h2 { margin-bottom: 22px; }
.teaser dl { margin: 32px 0; display: grid; gap: 18px; }
.teaser dt { font-size: 0.85rem; font-weight: 600; color: var(--sur-nuit); }
.teaser dd { margin: 4px 0 0; color: var(--sur-nuit-2); }
.section-sombre .paire figure { background: var(--nuit-2); }
@media (max-width: 960px) { .teaser { grid-template-columns: 1fr; } }

.note-demo {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 760px;
  margin-top: 48px;
  padding: 16px 18px;
  border: 1px dashed var(--ligne-2);
  font-size: 0.9rem;
  color: var(--encre-2);
}
.note-demo .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--foret); }

/* ---------- Temoignages (Watermelon testimonials-4) ---------- */
.temoignages { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.temoignages h2 { margin-bottom: 20px; }
.tem-colonne {
  position: relative;
  height: 520px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}
.tem-piste { display: flex; flex-direction: column; gap: 16px; animation: tem-defiler 36s linear infinite; }
.tem-colonne:hover .tem-piste,
.tem-colonne:focus-within .tem-piste { animation-play-state: paused; }
@keyframes tem-defiler { to { transform: translateY(calc(-50% - 8px)); } }
.tem-carte { margin: 0; padding: 22px; background: var(--gris); border-radius: 24px; }
.tem-carte header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.tem-auteur { display: flex; align-items: center; gap: 12px; }
.tem-initiales {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--foret);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}
.tem-auteur b { display: block; font-size: 0.92rem; font-weight: 600; }
.tem-auteur span { display: block; font-size: 0.8rem; color: var(--encre-2); }
.tem-carte .guillemet { width: 22px; height: 22px; fill: var(--foret); stroke: none; }
.tem-carte blockquote { margin: 0; font-size: 0.98rem; line-height: 1.6; }
@media (max-width: 960px) { .temoignages { grid-template-columns: 1fr; } .tem-colonne { height: 460px; } }

/* ---------- Appel a l'action sur photo ---------- */
.appel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #1a1a18;
}
.appel > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.appel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 9, 0.82) 0%, rgba(10, 10, 9, 0.45) 100%); }
.appel .conteneur { padding-block: clamp(96px, 12vw, 176px); }
.appel h2 { max-width: 13em; font-size: clamp(2.4rem, 4.6vw, 4.5rem); font-weight: 400; }
.appel p { margin-top: 20px; max-width: 32rem; font-size: 1.08rem; color: rgba(255, 255, 255, 0.8); }
.appel .boutons { margin-top: 36px; }

/* ---------- FAQ (Watermelon faq-6) ---------- */
.faq {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border: 1px dashed var(--ligne-2);
  border-width: 1px 0;
}
.faq-tete { padding: clamp(32px, 4vw, 48px) clamp(24px, 4vw, 48px) clamp(32px, 4vw, 48px) 0; border-right: 1px dashed var(--ligne-2); }
.faq-tete .surtitre { color: var(--encre-2); }
.faq-tete h2 { font-size: clamp(2.2rem, 4.4vw, 4rem); }
.faq-tete p { margin-top: 20px; color: var(--encre-2); max-width: 22rem; }
.faq-tete .btn { margin-top: 28px; }
.faq-liste details { border-bottom: 1px dashed var(--ligne-2); }
.faq-liste details:last-child { border-bottom: 0; }
.faq-liste summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(20px, 3vw, 32px);
  list-style: none;
  cursor: pointer;
}
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-num { width: 28px; flex: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; color: var(--encre-2); }
.faq-q { flex: 1; font-size: clamp(1rem, 1.3vw, 1.12rem); font-weight: 500; }
.faq-icone {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 6px;
  background: var(--gris);
  color: var(--encre-2);
  transition: background-color 0.2s, transform 0.3s var(--ressort);
}
.faq-icone .ico { width: 14px; height: 14px; stroke-width: 2.2; }
.faq-liste summary:hover .faq-icone { background: var(--ligne); }
.faq-liste details[open] .faq-icone { transform: rotate(45deg); background: var(--encre); color: #fff; }
.faq-liste details p { padding: 0 clamp(48px, 6vw, 80px) 28px calc(clamp(20px, 3vw, 32px) + 52px); color: var(--encre-2); }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq-tete { padding-right: 0; border-right: 0; border-bottom: 1px dashed var(--ligne-2); }
  .faq-liste summary { padding-inline: 0; }
  .faq-liste details p { padding: 0 0 24px 52px; }
}

/* ---------- Tarifs ---------- */
.tarifs-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tarifs-bloc { background: var(--surface); border: 1px solid var(--ligne); }
.tarifs-bloc > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 28px 24px; border-bottom: 1px solid var(--ligne); }
.tarifs-bloc h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
.tarifs-bloc header .pastille-ico { display: grid; place-items: center; width: 44px; height: 44px; background: var(--foret); color: #fff; }
.tarifs { width: 100%; border-collapse: collapse; }
.tarifs th,
.tarifs td { padding: 18px 28px; border-bottom: 1px dashed var(--ligne); text-align: left; vertical-align: top; }
.tarifs tr:last-child th,
.tarifs tr:last-child td { border-bottom: 0; }
.tarifs th { font-weight: 500; }
.tarifs th small { display: block; margin-top: 3px; font-weight: 400; font-size: 0.87rem; color: var(--encre-2); }
.tarifs td { text-align: right; white-space: nowrap; font-family: var(--titre); font-size: 1.1rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.tarifs-note { margin-top: 24px; max-width: 60rem; font-size: 0.93rem; color: var(--encre-2); }
@media (max-width: 960px) { .tarifs-grille { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tarifs th, .tarifs td { padding-inline: 20px; } .tarifs td { font-size: 1rem; } }

.etapes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.etapes li { padding: 28px; background: var(--nuit-2); border: 1px solid rgba(255, 255, 255, 0.08); }
.etapes .num { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 40px; background: var(--foret-clair); color: var(--foret); font-weight: 600; font-size: 0.9rem; }
.etapes h3 { margin-bottom: 10px; color: var(--sur-nuit); }
.etapes p { font-size: 0.94rem; color: var(--sur-nuit-2); }
@media (max-width: 1000px) { .etapes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .etapes { grid-template-columns: 1fr; } .etapes .num { margin-bottom: 20px; } }

/* ---------- A propos ---------- */
.recit { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.recit-photo { position: sticky; top: calc(var(--entete-h) + var(--annonce-h) + 24px); margin: 0; }
.recit-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.recit-photo figcaption { margin-top: 12px; font-size: 0.85rem; color: var(--encre-2); }
.recit-texte h2 { margin-bottom: 32px; }
.recit-texte p { font-size: 1.1rem; color: var(--encre-2); }
.recit-texte p + p { margin-top: 20px; }
.recit-texte .citation {
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--ligne);
  font-family: var(--titre);
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--encre);
}
@media (max-width: 900px) { .recit { grid-template-columns: 1fr; } .recit-photo { position: static; } }

.frise { margin: 0; padding: 0; list-style: none; border-top: 1px dashed rgba(255, 255, 255, 0.18); }
.frise li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.18); }
.frise b { font-family: var(--titre); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1; color: var(--sur-nuit); }
.frise span { align-self: center; font-size: 1.05rem; color: var(--sur-nuit-2); }
@media (max-width: 640px) { .frise li { grid-template-columns: 1fr; gap: 8px; } }

.oui-non { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.oui-non > div { padding: clamp(28px, 3vw, 40px); background: var(--surface); border: 1px solid var(--ligne); }
.oui-non > div:first-child { background: var(--foret); border-color: var(--foret); color: #fff; }
.oui-non h3 { margin-bottom: 20px; font-size: 1.4rem; }
.oui-non ul { margin: 0; padding: 0; list-style: none; }
.oui-non li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--ligne); }
.oui-non > div:first-child li { border-color: rgba(255, 255, 255, 0.16); }
.oui-non li .ico { width: 18px; height: 18px; margin-top: 3px; }
@media (max-width: 800px) { .oui-non { grid-template-columns: 1fr; } }

.voisins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.voisin { padding: 28px; background: var(--surface); border: 1px solid var(--ligne); }
.voisin .pastille-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 32px; background: var(--gris); }
.voisin h3 { margin-bottom: 8px; }
.voisin p { font-size: 0.95rem; color: var(--encre-2); }
.voisin small { display: block; margin-bottom: 4px; font-size: 0.82rem; font-weight: 500; color: var(--foret); }
@media (max-width: 900px) { .voisins { grid-template-columns: 1fr; } }

/* ---------- Contact (Watermelon contact-3) ---------- */
.contact { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.contact h2 { margin-bottom: 14px; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-top: 40px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-size: 0.9rem; font-weight: 500; }
.champ label small { font-weight: 400; color: var(--encre-2); }
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--ligne-2);
  border-radius: 0;
  background: var(--surface);
  color: var(--encre);
  font: 400 1rem/1.4 var(--texte);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.champ textarea { min-height: 170px; resize: vertical; }
.champ select {
  appearance: none;
  padding-right: 40px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08); }
.champ .aide { font-size: 0.84rem; color: var(--encre-2); }
.champ .erreur { font-size: 0.86rem; font-weight: 500; color: #a1261b; }
.champ [aria-invalid="true"] { border-color: #a1261b; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire-pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.formulaire-pied p { max-width: 30rem; font-size: 0.86rem; color: var(--encre-2); }
.formulaire-pied a { text-decoration: underline; }
@media (max-width: 640px) { .formulaire { grid-template-columns: 1fr; } }

.alerte { margin-top: 32px; padding: 20px 22px; border-left: 3px solid; }
.alerte b { display: block; margin-bottom: 4px; font-weight: 600; }
.alerte ul { margin: 8px 0 0; padding-left: 18px; }
.alerte a { text-decoration: underline; }
.alerte-ok { background: #e2ece4; border-color: var(--foret); }
.alerte-erreur { background: #f6e1de; border-color: #a1261b; }

.contact-cotes { display: grid; gap: 16px; }
.carte-sombre { padding: 28px; background: var(--nuit); color: var(--sur-nuit); }
.carte-sombre h3 { margin-bottom: 18px; }
.carte-sombre ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.carte-sombre li { display: flex; gap: 12px; font-size: 0.95rem; color: var(--sur-nuit-2); }
.carte-sombre li .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--foret-clair); }
.carte-foret { padding: 28px; background: var(--foret-clair); color: var(--foret); }
.carte-foret small { display: block; font-size: 0.85rem; font-weight: 500; }
.carte-foret b { display: block; margin: 6px 0 10px; font-family: var(--titre); font-size: 2.4rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.carte-foret p { font-size: 0.92rem; }
.carte-claire { padding: 28px; background: var(--surface); border: 1px solid var(--ligne); }
.carte-claire h3 { margin-bottom: 16px; }
.coord { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.coord li { display: flex; gap: 12px; font-size: 0.95rem; }
.coord .ico { width: 18px; height: 18px; margin-top: 3px; color: var(--foret); }
.coord a:hover { text-decoration: underline; }
@media (max-width: 1000px) { .contact { grid-template-columns: 1fr; } .contact-cotes { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }

.zone { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.zone svg { width: 100%; height: auto; }
.zone-carte { padding: 20px; background: var(--surface); border: 1px solid var(--ligne); }
.villes { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.villes li { padding: 6px 12px; background: var(--gris); font-size: 0.86rem; }
@media (max-width: 900px) { .zone { grid-template-columns: 1fr; } }

/* ---------- Pages texte ---------- */
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.4rem, 4.5vw, 4rem); margin-bottom: 20px; }
.prose h2 { margin: 48px 0 14px; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.prose p,
.prose li { color: var(--encre-2); }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--encre); font-weight: 600; }
.prose a { text-decoration: underline; }

.introuvable { min-height: calc(100svh - var(--entete-h) - var(--annonce-h)); display: flex; align-items: center; padding-block: 80px; }
.introuvable .code { font-family: var(--titre); font-size: clamp(7rem, 20vw, 16rem); font-weight: 300; letter-spacing: -0.06em; line-height: 0.85; color: var(--ligne-2); }
.introuvable h1 { margin-top: 24px; font-size: clamp(2.2rem, 4.5vw, 4rem); }
.introuvable p { margin-top: 18px; max-width: 32rem; color: var(--encre-2); font-size: 1.08rem; }
.introuvable .boutons { margin-top: 32px; }

/* ---------- Pied de page (Watermelon footer-15) ---------- */
.pied {
  margin-top: -1px;
  overflow: hidden;
  background: var(--pied);
  color: #e8e6df;
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
}
.section-sombre + .pied,
.appel + .pied { margin-top: -48px; position: relative; z-index: 2; }
.pied-haut {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 48px 64px;
  padding-top: clamp(48px, 6vw, 72px);
}
.pied-marque { max-width: 280px; display: flex; flex-direction: column; gap: 18px; }
.pied-marque .marque { color: #e8e6df; }
.pied-marque p { font-size: 0.9rem; font-weight: 300; line-height: 1.6; color: #a3a89f; }
.btn-pilule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 3px 3px 3px 20px;
  border-radius: 999px;
  background: var(--foret-clair);
  color: var(--pied);
  font-size: 0.9rem;
  font-weight: 500;
  transition: box-shadow 0.2s;
}
.btn-pilule .fleche { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1f1f1d; color: #f4f4f1; }
.btn-pilule .fleche .ico { width: 16px; height: 16px; transition: transform 0.2s; }
.btn-pilule:hover { box-shadow: 0 0 0 4px rgba(207, 227, 211, 0.18); }
.btn-pilule:hover .fleche .ico { transform: translateX(2px); }
.pied-nav { display: grid; grid-template-columns: repeat(4, minmax(120px, 1fr)); gap: 32px 40px; max-width: 680px; flex: 1; }
.pied-nav h2 { font-family: var(--texte); font-size: 0.95rem; font-weight: 400; letter-spacing: 0.01em; color: #e8e6df; }
.pied-nav ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.pied-nav li,
.pied-nav a { font-size: 0.88rem; font-weight: 300; color: #a3a89f; line-height: 1.35; }
.pied-nav a:hover { color: #e8e6df; }
.pied-bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid rgba(232, 230, 223, 0.1);
  font-size: 0.8rem;
  color: #8b9087;
}
.pied-geant { display: block; width: 100%; height: auto; margin-top: 32px; transform: translateY(12%); }
.pied-geant text { fill: #e8e6df; opacity: 0.1; font-family: var(--titre); font-weight: 600; letter-spacing: -0.04em; }
@media (max-width: 760px) { .pied-nav { grid-template-columns: 1fr 1fr; } }

/* ---------- Barre d'annonce "site de demonstration" (Watermelon announcement) ---------- */
.annonce {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: var(--annonce-h);
  padding: 0 48px;
  background: var(--foret);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  text-align: center;
}
.annonce b { color: #fff; font-weight: 600; }
.annonce button {
  position: absolute;
  right: 8px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  opacity: 0.8;
}
.annonce button:hover { opacity: 1; background: rgba(255, 255, 255, 0.12); }
.annonce .ico { width: 14px; height: 14px; }
.sans-annonce .annonce { display: none; }
@media (max-width: 600px) { .annonce-detail { display: none; } }

/* ---------- Apparition au defilement (flou + montee, footer-15) ---------- */
.js [data-apparait] {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition: opacity 0.8s var(--ressort), transform 0.8s var(--ressort), filter 0.8s var(--ressort);
}
.js [data-apparait].visible { opacity: 1; transform: none; filter: none; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .defile-piste,
  .tem-piste { animation: none !important; }
  .tem-colonne { height: auto; -webkit-mask-image: none; mask-image: none; }
  .tem-piste [aria-hidden="true"] { display: none; }
  .js [data-apparait] { opacity: 1; transform: none; filter: none; }
}
