/* Oasys Paysage : prototype « Le chemin du vivant » (scène 1, traversée, scène 2) */

/* Police des titres, hébergée sur le site (plus aucun appel à Google) */
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-latin.woff2") format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-Italic-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../fonts/HostGrotesk-VariableFont_wght.ttf") format("truetype"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Host Grotesk"; src: url("../fonts/HostGrotesk-Italic-VariableFont_wght.ttf") format("truetype"); font-weight: 300 800; font-style: italic; font-display: swap; }

:root {
  --foret: #182316;
  --olive: #343B25;
  --sauge: #B6B18A;
  --dore: #E1D8B5;
  --ivoire: #F3EEE3;
  --ivoire-doux: rgba(243, 238, 227, .86);
  --verre: rgba(52, 59, 37, .5);
  --bord: rgba(225, 216, 181, .38);
  --serif: "Newsreader", "Cormorant Garamond", Georgia, serif;
  --sans: "Host Grotesk", system-ui, sans-serif;
  --marge: clamp(16px, 4.5vw, 76px);
  --u1: 1px; --x1: 0px; --y1: 0px;
  --u2: 1px; --x2: 0px; --y2: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--foret); }
body { margin: 0; background: var(--foret); color: var(--ivoire); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
em { font-style: italic; color: var(--dore); }
:focus-visible { outline: 2px solid var(--dore); outline-offset: 4px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.evitement { position: absolute; left: -9999px; }
.evitement:focus { left: 16px; top: 16px; z-index: 100; background: var(--ivoire); color: var(--foret); padding: 8px 16px; border-radius: 999px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: 48px; padding: .7em 1.5em; border-radius: 999px;
  font: 500 16px/1.2 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s;
}
.bouton .fleche { transition: transform .3s; }
.bouton:hover .fleche { transform: translateX(3px); }
.bouton--dore { background: var(--dore); color: var(--foret); }
.bouton--dore:hover { background: #ece4c6; }
.bouton--contour { border: 1px solid rgba(243, 238, 227, .75); color: var(--ivoire); background: rgba(24, 35, 22, .12); }
.bouton--contour:hover { background: rgba(243, 238, 227, .12); border-color: var(--ivoire); }
.bouton--petit { min-height: 42px; font-size: 15px; padding: .6em 1.25em; }

.surtitre { font: 500 13px/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ivoire-doux); display: flex; align-items: center; gap: 14px; }
.surtitre::after { content: ""; width: 90px; height: 1px; background: rgba(225, 216, 181, .55); }
.surtitre--centre { justify-content: center; }
.surtitre--centre::before { content: ""; width: 48px; height: 1px; background: rgba(225, 216, 181, .55); }
.surtitre--centre::after { width: 48px; }
.surtitre--petit { font-size: 12px; }
.surtitre--petit::after { width: 40px; }
.surtitre--fonce { color: var(--olive); }
.surtitre--fonce::after { background: rgba(52, 59, 37, .4); }

.coches li { position: relative; padding-left: 30px; }
.coches li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 13px; height: 7px;
  border-left: 1.6px solid var(--dore); border-bottom: 1.6px solid var(--dore); transform: rotate(-45deg);
}

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 92px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 max(20px, calc(100vw - var(--x1) - 1616 * var(--u1))) 0 max(20px, calc(var(--x1) + 86 * var(--u1)));
  background: linear-gradient(180deg, rgba(16, 22, 13, .5) 0%, rgba(16, 22, 13, .22) 60%, rgba(16, 22, 13, 0) 100%);
  transition: background-color .4s, height .4s;
}
.entete--plein { background: rgba(24, 35, 22, .94); height: 76px; }
.logo { display: block; flex: none; }
.logo img { width: clamp(160px, calc(290 * var(--u1)), 290px); height: auto; }
.nav { margin: 0 auto; }
.nav > ul { display: flex; align-items: center; gap: clamp(10px, 2.3vw, 42px); }
.nav__lien {
  position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 10px 0;
  font-size: clamp(14px, 1.05vw, 17px); text-decoration: none; color: var(--ivoire); white-space: nowrap;
}
.nav__lien::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--dore); transform: scaleX(0); transition: transform .3s; }
.nav__lien:hover::after, .nav__lien.est-actif::after { transform: scaleX(1); }
.nav__deroulant { position: relative; }
.sous-menu {
  position: absolute; left: -18px; top: 100%; min-width: 250px; padding: 10px;
  background: rgba(36, 42, 25, .42); border: 1px solid var(--bord); border-radius: 16px;
  backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 18px 40px rgba(8, 12, 6, .22);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s, visibility .25s;
}
.nav__deroulant:hover .sous-menu, .nav__deroulant:focus-within .sous-menu { opacity: 1; visibility: visible; transform: none; }
.sous-menu a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-size: 15px; text-shadow: 0 1px 10px rgba(10, 14, 8, .55); }
.sous-menu a:hover { background: rgba(225, 216, 181, .12); }
.entete__devis { flex: none; }
.burger { display: none; }

/* ---------- Le parcours ---------- */
.parcours { position: relative; }
.scene { position: relative; overflow: hidden; }
.vue { position: absolute; inset: 0; overflow: hidden; background: var(--foret); }
.couche { position: absolute; left: 0; top: 0; width: 100%; height: 100%; will-change: transform; }
.couche--jardin { z-index: 0; } .couche--olivier { z-index: 0; }
.couche img { position: absolute; inset: 0; width: 100%; height: 100%; }
.olivier__tronc { z-index: 1; }

/* Séquence d'images (vidéo découpée) : remplace les couches pendant la traversée quand elle est fournie */
.sequence { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.scene.sequence-active .couche { visibility: hidden; }

/* Le tronc : la photo de l'olivier avec son ouverture détourée pixel par pixel (outils/detourer-ouverture.py).
   Le masque est posé sur l'image elle-même : il suit exactement ses agrandissements. */
.olivier__tronc {
  -webkit-mask: url("../images/masques/olivier-monumental-masque.png") 0 0 / 100% 100% no-repeat;
          mask: url("../images/masques/olivier-monumental-masque.png") 0 0 / 100% 100% no-repeat;
}
/* Un seul jardin derrière le tronc : la photo entière de l'olivier ne sert que sans animation (deux scènes empilées) */
.olivier__arche { display: none; }
.couche--olivier { transform-origin: 56.5% 55%; transform: scale(var(--st, 1)); opacity: var(--to, 1); }
.couche--jardin { transform-origin: 50% 50%; transform: translate(var(--jx, 0px), var(--jy, 0px)) scale(var(--js, 1)); }

/* ---------- Les écrans (textes en vrai HTML) ---------- */
.ecran { position: absolute; inset: 0; z-index: 5; }
.ecran--1 { opacity: var(--e1, 1); }
/* Voile doux derrière le titre : le feuillage de la photo est très lumineux à cet endroit (pas de flou) */
.ecran--1::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse calc(620 * var(--u1)) calc(470 * var(--u1)) at calc(var(--x1) + 290 * var(--u1)) calc(var(--y1) + 390 * var(--u1)), rgba(14, 20, 11, .66) 0%, rgba(14, 20, 11, .42) 48%, rgba(14, 20, 11, 0) 100%),
    linear-gradient(90deg, rgba(14, 20, 11, .34) 0%, rgba(14, 20, 11, 0) 40%); }
.ecran--2 { pointer-events: none; }
.ecran--2.est-actif { pointer-events: auto; }
.ecran--1.est-cache { pointer-events: none; }

/* Scène 1 : positions calées sur votre visuel (coordonnées de l'image d'origine, 1672 × 941) */
.accroche { position: absolute; left: max(20px, calc(var(--x1) + 88 * var(--u1))); top: calc(var(--y1) + 186 * var(--u1)); width: min(46vw, calc(560 * var(--u1))); }
.accroche .surtitre { font-size: max(11px, calc(14 * var(--u1))); }
.accroche h1 {
  margin-top: calc(18 * var(--u1));
  font: 400 max(34px, calc(60 * var(--u1)))/1.06 var(--serif); letter-spacing: -.01em;
  text-shadow: 0 2px 24px rgba(10, 14, 8, .45);
}
.accroche .chapo { margin-top: calc(24 * var(--u1)); max-width: 26em; font-size: max(13.5px, calc(18.5 * var(--u1))); line-height: 1.45; color: var(--ivoire); text-shadow: 0 1px 16px rgba(10, 14, 8, .5); }
.accroche .boutons { margin-top: calc(30 * var(--u1)); display: grid; justify-items: start; gap: calc(14 * var(--u1)); }
.accroche .bouton { font-size: max(13.5px, calc(16.5 * var(--u1))); min-height: max(44px, calc(50 * var(--u1))); padding-inline: max(16px, calc(24 * var(--u1))); }

.panneau--accueil {
  position: absolute; width: max(250px, calc(326 * var(--u1)));
  right: max(40px, calc(100vw - var(--x1) - 1600 * var(--u1))); top: calc(var(--y1) + 400 * var(--u1));
  padding: max(16px, calc(24 * var(--u1))) max(18px, calc(26 * var(--u1)));
  background: linear-gradient(160deg, rgba(36, 42, 25, .5), rgba(24, 35, 22, .62)); border: 1px solid rgba(225, 216, 181, .22); border-radius: 22px;
  backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 24px 60px rgba(8, 12, 6, .3);
}
.panneau--accueil .surtitre { white-space: nowrap; letter-spacing: .2em; font-size: max(11px, calc(12 * var(--u1))); }
.panneau__titre { margin: max(8px, calc(12 * var(--u1))) 0 max(10px, calc(14 * var(--u1))); font: 400 max(20px, calc(28 * var(--u1)))/1.12 var(--serif); }
.panneau--accueil .coches { display: grid; gap: max(3px, calc(6 * var(--u1))); font-size: max(13px, calc(15 * var(--u1))); margin-bottom: max(12px, calc(18 * var(--u1))); }

.invitation {
  position: absolute; left: calc(var(--x1) + 952 * var(--u1)); top: calc(var(--y1) + 640 * var(--u1)); transform: translateX(-50%);
  display: grid; justify-items: center; gap: max(6px, calc(8 * var(--u1))); text-align: center; opacity: var(--inv, 1);
}
.invitation.est-cache { visibility: hidden; }
.invitation__defiler { position: relative; display: grid; justify-items: center; gap: max(8px, calc(10 * var(--u1))); text-decoration: none; }
/* Un halo d'ombre très doux, sans aucun bord, juste ce qu'il faut pour lire le texte sur le gravier clair */
.invitation__defiler::before { content: ""; position: absolute; z-index: -1; left: -14%; right: -14%; top: -30%; bottom: -40%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(14, 20, 11, .58), rgba(14, 20, 11, .32) 55%, rgba(14, 20, 11, 0)); }
.invitation__defiler:hover .invitation__texte { color: var(--dore); }
.invitation__souris { position: relative; width: max(24px, calc(27 * var(--u1))); aspect-ratio: 3 / 5; border: 1.6px solid var(--ivoire); border-radius: 999px; filter: drop-shadow(0 1px 6px rgba(10, 14, 8, .6)); }
.invitation__souris span { position: absolute; left: 50%; top: 18%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--dore); animation: molette 1.8s cubic-bezier(.5, 0, .4, 1) infinite; }
.invitation__texte { font: 400 max(17px, calc(21 * var(--u1)))/1.2 var(--serif); color: #FBF8F0; text-shadow: 0 1px 2px rgba(10, 14, 8, .9), 0 2px 14px rgba(10, 14, 8, .75); white-space: nowrap; transition: color .3s; }
@keyframes molette { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { transform: translateY(10px); opacity: 0; } }

.engagements {
  position: absolute; left: calc(var(--x1) + 836 * var(--u1)); transform: translateX(-50%);
  top: min(calc(100% - 82px), calc(var(--y1) + 822 * var(--u1)));
  display: flex; align-items: center; padding: 13px 14px; border-radius: 18px;
  background: rgba(18, 24, 13, .62); border: 1px solid rgba(225, 216, 181, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: max(13.5px, calc(15.5 * var(--u1))); line-height: 1.3; white-space: nowrap; color: var(--ivoire); text-shadow: 0 1px 8px rgba(8, 12, 6, .5);
}
.engagements li { display: flex; align-items: center; gap: max(8px, calc(12 * var(--u1))); padding: 0 max(14px, calc(26 * var(--u1))); }
.engagements li + li { border-left: 1px solid rgba(225, 216, 181, .35); }
.engagements svg { width: max(22px, calc(34 * var(--u1))); height: auto; flex: none; fill: none; stroke: var(--dore); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.engagements a { color: var(--dore); text-underline-offset: 3px; }

/* Scène 2 : positions calées sur votre second visuel */
.ecran2__tete {
  position: absolute; left: calc(var(--x2) + 836 * var(--u2)); top: calc(var(--y2) + 112 * var(--u2)); transform: translate(-50%, calc((1 - var(--e2, 0)) * 24px));
  width: min(92vw, calc(820 * var(--u2))); text-align: center; opacity: var(--e2, 0);
}
.ecran2__tete h2 { margin-top: calc(14 * var(--u2)); font: 400 max(30px, calc(56 * var(--u2)))/1.02 var(--serif); text-shadow: 0 2px 24px rgba(10, 14, 8, .45); }
.ecran2__tete .chapo { margin: calc(22 * var(--u2)) auto 0; max-width: 34em; font-size: max(13.5px, calc(19 * var(--u2))); line-height: 1.5; text-shadow: 0 1px 16px rgba(10, 14, 8, .55); }

.cartes { position: absolute; inset: 0; pointer-events: none; }
.carte {
  position: absolute; top: calc(var(--y2) + 414 * var(--u2)); width: calc(326 * var(--u2)); min-height: calc(166 * var(--u2));
  padding: calc(16 * var(--u2)) calc(20 * var(--u2)) calc(18 * var(--u2)) calc(28 * var(--u2));
  background: rgba(52, 59, 37, .5); border: 1px solid var(--bord); border-radius: 14px;
  backdrop-filter: blur(16px) saturate(1.15); -webkit-backdrop-filter: blur(16px) saturate(1.15);
  box-shadow: 0 18px 40px rgba(8, 12, 6, .22), inset 0 1px 0 rgba(243, 238, 227, .08);
  opacity: var(--c, 0); transform: translateY(calc((1 - var(--c, 0)) * 34px));
  transition: background-color .3s, border-color .3s, box-shadow .3s;
  pointer-events: auto;
}
.carte:nth-child(1) { left: calc(var(--x2) + 329 * var(--u2)); }
.carte:nth-child(2) { left: calc(var(--x2) + 681 * var(--u2)); }
.carte:nth-child(3) { left: calc(var(--x2) + 1032 * var(--u2)); }
.carte:hover { background: rgba(52, 59, 37, .62); border-color: rgba(225, 216, 181, .6); box-shadow: 0 24px 50px rgba(8, 12, 6, .3); }
.carte__icone { width: max(26px, calc(40 * var(--u2))); height: auto; fill: none; stroke: var(--ivoire); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.carte h3 { margin-top: calc(8 * var(--u2)); font: 400 max(18px, calc(26 * var(--u2)))/1.15 var(--serif); }
.carte p { margin-top: calc(10 * var(--u2)); margin-right: calc(max(28px, calc(30 * var(--u2))) + 4px); font-size: max(12px, calc(13.5 * var(--u2))); line-height: 1.4; color: var(--ivoire-doux); }
/* Toute la carte est cliquable : le lien s'étend sur la carte entière */
.carte__lien { position: static; }
.carte__lien::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.carte__fleche { position: absolute; right: calc(18 * var(--u2)); bottom: calc(16 * var(--u2)); display: grid; place-items: center; width: max(28px, calc(30 * var(--u2))); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(243, 238, 227, .8); transition: background-color .3s, color .3s, border-color .3s; }
.carte__fleche svg { width: 55%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.carte:hover .carte__fleche { background: var(--dore); color: var(--foret); border-color: var(--dore); }

.abonnements {
  position: absolute; left: calc(var(--x2) + 372 * var(--u2)); top: min(calc(100% - 140px), calc(var(--y2) + 752 * var(--u2)));
  display: flex; align-items: center; gap: calc(44 * var(--u2));
  opacity: var(--e3, 0); transform: translateY(calc((1 - var(--e3, 0)) * 24px));
}
.abonnements::before { content: ""; position: absolute; inset: -30px -60px -30px -60px; z-index: -1; border-radius: 40px;
  background: radial-gradient(ellipse at 40% 50%, rgba(20, 22, 12, .45), rgba(20, 22, 12, 0) 72%); }
.abonnements h2 { margin-top: calc(10 * var(--u2)); font: 400 max(24px, calc(42 * var(--u2)))/1.05 var(--serif); }
.abonnements .coches { display: grid; gap: calc(8 * var(--u2)); padding-left: calc(40 * var(--u2)); border-left: 1px solid rgba(225, 216, 181, .45); font-size: max(13px, calc(15.5 * var(--u2))); }
.abonnements .bouton { margin-left: calc(18 * var(--u2)); }

/* ---------- Suite (sans animation) ---------- */
.suite { position: relative; z-index: 2; background: var(--ivoire); color: var(--foret); padding: clamp(64px, 9vw, 120px) var(--marge); }
.suite--sombre { background: var(--olive); color: var(--ivoire); }
.suite__bloc { max-width: 860px; margin: 0 auto; }
.suite h2 { margin: 16px 0 22px; font: 400 clamp(32px, 4vw, 52px)/1.05 var(--serif); }
.suite:not(.suite--sombre) em { color: #7d7448; }
.suite p { max-width: 42em; font-size: 17px; }
.suite .boutons { margin: 28px 0 18px; }
.suite__liste { display: grid; gap: 10px; margin-bottom: 30px; font-size: 17px; }
.suite__liste li { padding-left: 22px; position: relative; }
.suite__liste li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sauge); }
.note-fiscale { padding: 22px 26px; border: 1px solid rgba(52, 59, 37, .22); border-radius: 16px; background: rgba(182, 177, 138, .14); }
.a-confirmer { margin-top: 12px; font-size: 14px !important; font-style: italic; opacity: .75; }
.pied { padding: 48px var(--marge) 56px; text-align: center; color: var(--ivoire-doux); font-size: 15px; }
.pied img { width: 190px; height: auto; margin: 0 auto 18px; }
.pied p + p { margin-top: 8px; }

/* ---------- Avec l'animation (le reste du temps : les deux scènes l'une sous l'autre) ---------- */
.anime .parcours { height: 640vh; }
.anime .scene { position: sticky; top: 0; height: 100vh; height: 100svh; }
html:not(.anime) .scene { height: 200vh; min-height: 1200px; }
html:not(.anime) .ecran--1 { inset: 0 0 50% 0; }
html:not(.anime) .ecran--2 { inset: 50% 0 0 0; --e2: 1; --e3: 1; pointer-events: auto; }
html:not(.anime) .carte { --c: 1; }
html:not(.anime) .olivier__arche { display: block; opacity: 1; }

/* ---------- Écrans moyens : le menu passe en burger ---------- */
@media (max-width: 1440px) {
  .entete { gap: 18px; }
  .logo img { width: clamp(150px, 15vw, 210px); }
  .nav > ul { gap: clamp(10px, 1.5vw, 26px); }
  .nav__lien { font-size: 14.5px; }
  .nav__journal svg { display: none; }
  .entete__devis { font-size: 15px; padding: .6em 1.15em; min-height: 44px; }
}
@media (max-width: 1280px) {
  .entete__devis > svg:first-child { display: none; }
  .nav > ul { gap: clamp(10px, 1.2vw, 18px); }
}
@media (max-width: 1320px) {
  .entete { padding: 0 20px; height: 76px; }
  .burger { display: grid; gap: 7px; place-content: center; width: 46px; height: 46px; margin-left: auto; padding: 0; border: 1px solid rgba(243, 238, 227, .5); border-radius: 50%; background: rgba(24, 35, 22, .3); color: var(--ivoire); cursor: pointer; }
  .burger span:not(.sr) { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
  .entete__devis { margin-left: auto; }
  .entete__devis + .burger { margin-left: 0; }
  .nav { position: fixed; inset: 76px 12px auto 12px; margin: 0; padding: 14px; border-radius: 20px; background: rgba(24, 35, 22, .96); border: 1px solid var(--bord);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s; max-height: calc(100svh - 96px); overflow: auto; }
  .nav.est-ouvert { opacity: 1; visibility: visible; transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__lien { width: 100%; padding: 13px 10px; font-size: 17px; }
  .nav__lien::after { display: none; }
  .sous-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 0 0 6px 12px; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 760px), (orientation: portrait) {
  .ecran--1::before { display: none; }
  .entete { gap: 10px; padding: 0 16px; }
  .entete__devis { font-size: 13.5px; min-height: 40px; padding: .45em .95em; }
  .burger { width: 42px; height: 42px; flex: none; }
  .entete__devis > svg:first-child, .entete__devis .fleche { display: none; }
  .logo img { width: 118px; }
  .vue::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: var(--voile, 1);
    background: linear-gradient(180deg, rgba(16, 22, 13, .72) 0%, rgba(16, 22, 13, .35) 38%, rgba(16, 22, 13, 0) 58%, rgba(16, 22, 13, .1) 75%, rgba(16, 22, 13, .6) 100%); }
  .accroche { left: 20px; right: 20px; top: 96px; width: auto; }
  .accroche .surtitre { font-size: 11px; }
  .accroche .surtitre::after { width: 40px; }
  .accroche h1 { font-size: clamp(36px, 10.5vw, 46px); margin-top: 10px; }
  .accroche .chapo { margin-top: 14px; font-size: 15px; max-width: 22em; }
  .accroche .boutons { margin-top: 18px; gap: 10px; }
  .accroche .bouton { font-size: 15px; min-height: 46px; }
  .panneau--accueil, .engagements { display: none; }
  .invitation { left: 50%; top: auto; bottom: 22px; width: calc(100% - 32px); }
  .invitation__texte { font-size: 17px; white-space: normal; }
  .invitation__souris { width: 20px; }
  .invitation__defiler { gap: 6px; }

  .ecran2__tete { left: 50%; top: 92px; width: calc(100vw - 40px); }
  .ecran2__tete h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .ecran2__tete .chapo { font-size: 14.5px; margin-top: 12px; }
  /* les cartes se posent pile sur l'emplacement des cartes de votre visuel */
  .cartes { position: absolute; inset: calc(var(--y2) + 396 * var(--u2)) 16px auto 16px; display: grid; gap: 8px; pointer-events: auto; }
  .carte { position: relative; left: auto !important; top: auto; width: auto; min-height: 0; padding: 12px 52px 12px 62px; border-radius: 14px; }
  .carte__icone { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 32px; }
  .carte h3 { margin: 0; font-size: 20px; }
  .carte p { margin: 2px 0 0; font-size: 13px; max-width: none; }
  .carte__fleche { right: 14px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .abonnements { left: 16px; right: 16px; top: calc(var(--y2) + 396 * var(--u2)); bottom: auto; flex-direction: column; align-items: flex-start; gap: 14px;
    padding: 20px 22px; border-radius: 18px; background: rgba(36, 42, 25, .62); border: 1px solid var(--bord);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: auto; }
  .abonnements::before { display: none; }
  .abonnements h2 { font-size: 30px; }
  .abonnements .coches { padding-left: 0; border: 0; gap: 4px; }
  .abonnements .bouton { margin: 4px 0 0; }
}

/* ---------- Tablette verticale : même logique que le téléphone, en plus grand ---------- */
@media (orientation: portrait) and (min-width: 600px) {
  .accroche { left: 40px; right: 40px; top: 118px; }
  .accroche .surtitre { font-size: 13px; }
  .accroche h1 { font-size: clamp(48px, 7.4vw, 64px); }
  .accroche .chapo { font-size: 18px; max-width: 26em; }
  .accroche .bouton { font-size: 16px; min-height: 50px; }
  .ecran2__tete { width: min(640px, calc(100vw - 80px)); top: 110px; }
  .ecran2__tete h2 { font-size: clamp(40px, 6vw, 52px); }
  .ecran2__tete .chapo { font-size: 17px; }
  .cartes { left: 50%; right: auto; width: min(600px, calc(100vw - 80px)); transform: translateX(-50%); gap: 12px; }
  .carte { padding: 16px 64px 16px 76px; }
  .carte__icone { left: 22px; width: 36px; }
  .carte h3 { font-size: 24px; }
  .carte p { font-size: 15px; }
  .abonnements { left: 50%; right: auto; width: min(600px, calc(100vw - 80px)); transform: translate(-50%, calc((1 - var(--e3, 0)) * 24px)); padding: 26px 30px; }
  .abonnements h2 { font-size: 36px; }
  .abonnements .coches { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .invitation__souris span { animation: none; top: 34%; }
  .bouton, .bouton .fleche, .carte { transition: none; }
}

/* ---------- Accès à l'espace client (en-tête, menu mobile) ---------- */
.entete__client { flex: none; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ivoire); }
.entete__client-icone { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(243, 238, 227, .55); background: rgba(24, 35, 22, .22); transition: background-color .3s, border-color .3s; }
.entete__client:hover .entete__client-icone { background: rgba(243, 238, 227, .14); border-color: var(--ivoire); }
.entete__client-texte { display: grid; line-height: 1.2; white-space: nowrap; }
.entete__client-texte strong { font-weight: 500; font-size: 14.5px; }
.entete__client-texte small { font-size: 12.5px; color: var(--sauge); }
.nav__client { display: none; }
.nav__lien[aria-current]::after { transform: scaleX(1); }
@media (max-width: 1500px) { .entete__client-texte { display: none; } }
@media (max-width: 1280px) { .entete__devis-long { display: none; } }
@media (max-width: 1320px) {
  .entete__client { margin-left: auto; }
  .entete__client + .entete__devis { margin-left: 0; }
  .entete__devis-long { display: inline; }
  .nav__client { display: block; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--bord); }
}
@media (max-width: 760px), (orientation: portrait) {
  .entete__client-icone { width: 40px; }
}
@media (max-width: 560px) {
  .entete__client { display: none; }
  .entete__client + .entete__devis { margin-left: auto; }
  .entete__devis-long { display: none; }
}

/* ---------- Pied de page ---------- */
.pied { position: relative; z-index: 2; background: var(--foret); padding: clamp(48px, 6vw, 84px) var(--marge) 32px; text-align: left; color: var(--ivoire-doux); font-size: 15.5px; }
.pied__grille { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px clamp(24px, 4vw, 64px); max-width: 1320px; margin: 0 auto; }
.pied__marque img { width: 200px; height: auto; margin: 0 0 18px; }
.pied__marque p { max-width: 22em; }
.pied__col h2 { margin: 6px 0 14px; font: 400 21px/1.2 var(--serif); color: var(--ivoire); }
.pied__col ul { display: grid; gap: 8px; }
.pied__col a, .pied__bas a { text-decoration: none; }
.pied__col a:hover, .pied__bas a:hover { color: var(--dore); text-decoration: underline; text-underline-offset: 4px; }
.pied__client { display: inline-flex; align-items: center; gap: 12px; margin-top: 20px; padding: 12px 18px 12px 14px; border: 1px solid var(--bord); border-radius: 14px; color: var(--ivoire); transition: background-color .3s, border-color .3s; }
.pied__client:hover { background: rgba(225, 216, 181, .1); border-color: rgba(225, 216, 181, .7); text-decoration: none !important; color: var(--ivoire) !important; }
.pied__client span { display: grid; line-height: 1.3; }
.pied__client strong { font-weight: 500; }
.pied__client small { font-size: 13px; color: var(--sauge); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; max-width: 1320px; margin: clamp(36px, 5vw, 60px) auto 0; padding-top: 22px; border-top: 1px solid rgba(225, 216, 181, .2); font-size: 14px; }
.pied__bas ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.pied p + p { margin-top: 0; }
@media (max-width: 980px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied__grille { grid-template-columns: 1fr; gap: 30px; } }

/* Sur l'accueil, le menu n'est pas collé au bord de l'écran */
@media (min-width: 1321px) {
  .entete:not(.entete--plein) { top: 14px; }
  .entete { transition: background-color .4s, height .4s, top .4s; }
}
/* Encart abonnements de la scène 1 : le bouton reste toujours à l'intérieur de l'encart */
.panneau--accueil .bouton { width: 100%; padding-inline: .7em; gap: .5em; font-size: max(13.5px, calc(15 * var(--u1))); }

/* Scène 1 : la visite de jardin, demande principale, en premier et en doré */
.accroche .bouton--visite { box-shadow: 0 10px 30px rgba(8, 12, 6, .35); }
.accroche .bouton--visite > svg:first-child { flex: none; }
.accroche .bouton--contour { background: rgba(24, 35, 22, .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Espace client : infobulle au survol et au clavier quand le libellé n'est pas affiché */
.entete__client { position: relative; }
.entete__client-bulle { position: absolute; left: 50%; top: calc(100% + 10px); transform: translate(-50%, -4px); padding: 6px 12px; border-radius: 10px;
  background: rgba(24, 35, 22, .94); border: 1px solid var(--bord); color: var(--ivoire); font-size: 13.5px; white-space: nowrap;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, transform .2s, visibility .2s; }
.entete__client:hover .entete__client-bulle, .entete__client:focus-visible .entete__client-bulle { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (min-width: 1501px) { .entete__client-bulle { display: none; } }
/* Entre 1321 et 1500 pixels : le libellé court « Espace client », sur une ligne */
@media (min-width: 1321px) and (max-width: 1500px) {
  .entete__client-texte { display: grid; }
  .entete__client-texte small { display: none; }
  .entete__client-texte strong { font-size: 14px; }
  .entete__client-bulle { display: none; }
}
/* Tablette et mobile : une entrée bien visible dans le menu */
.nav__client-lien { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(225, 216, 181, .35);
  background: rgba(243, 238, 227, .06); color: var(--ivoire); text-decoration: none; font-size: 16.5px; transition: background-color .3s, border-color .3s; }
.nav__client-lien:hover { background: rgba(243, 238, 227, .12); border-color: var(--dore); }
.nav__client-icone { display: grid; place-items: center; width: 38px; aspect-ratio: 1; flex: none; border-radius: 50%; border: 1px solid rgba(243, 238, 227, .5); }
.nav__client-texte { flex: 1; }
.nav__client-texte strong { font-weight: 500; }
.nav__client-tiret { color: var(--sauge); }
.nav__client-lien .fleche { flex: none; color: var(--dore); }

/* Scène 2 : le jardin est lumineux, un voile localisé garde le titre et le bloc abonnements lisibles */
.ecran--2::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--e2, 0);
  background:
    radial-gradient(ellipse calc(760 * var(--u2)) calc(300 * var(--u2)) at 50% calc(var(--y2) + 250 * var(--u2)), rgba(14, 20, 11, .55) 0%, rgba(14, 20, 11, .3) 55%, rgba(14, 20, 11, 0) 100%),
    linear-gradient(180deg, rgba(14, 20, 11, .35) 0%, rgba(14, 20, 11, 0) 22%, rgba(14, 20, 11, 0) 62%, rgba(14, 20, 11, .55) 100%); }
html:not(.anime) .ecran--2::before { opacity: 1; }
.ecran2__tete h2, .ecran2__tete .chapo { text-shadow: 0 1px 3px rgba(10, 14, 8, .6), 0 2px 22px rgba(10, 14, 8, .6); }

/* Accueil, scène 1 : l'en-tête est décalé de 14 px ; son dégradé sombre est prolongé jusqu'au bord de l'écran,
   sinon une fine bande de feuillage clair, non assombrie, reste visible tout en haut */
@media (min-width: 1321px) {
  body:not(.page) .entete:not(.entete--plein)::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; pointer-events: none;
    background: rgba(16, 22, 13, .5); }
}

/* Carte « Nos abonnements » : retirée du premier écran, elle apparaît pendant la traversée, une fois le jardin net
   (ordinateur et tablette en largeur). Invisible = ni clic ni focus. Sur téléphone et sans animation, l'offre est
   présentée de façon stable par le bloc abonnements de la scène 2. */
.ecran--carte { pointer-events: none; }
.ecran--carte .panneau--accueil { pointer-events: auto; opacity: var(--ca, 0);
  left: 50%; right: auto; top: 50%; transform: translate(-3%, calc(-33% + (1 - var(--ca, 0)) * 20px)); }
/* centre de la carte placé au point choisi par Jaouën : un peu à droite et un peu sous le milieu de l'écran,
   au-dessus du bord gauche du bassin (décalage proportionnel à la carte, donc identique sur tous les écrans) */
.ecran--carte.est-cache .panneau--accueil { visibility: hidden; pointer-events: none; }
html:not(.anime) .ecran--carte { display: none; }

/* Photos proposées en WebP et en plusieurs tailles (<picture>) : l'enveloppe n'influence pas la mise en page */
picture { display: contents; }

/* Menu (30/11) : lien « Tous nos services » en bas des menus déroulants, séparé par un filet */
.sous-menu__tous { margin-top: 6px; padding-top: 6px; border-top: 1px solid rgba(225, 216, 181, .22); }
.sous-menu .sous-menu__tous a { display: flex; align-items: center; gap: 8px; color: var(--dore); font-weight: 500; }
@media (max-width: 1320px) {
  .sous-menu__tous--double { display: none; }   /* menu mobile : les deux listes sont ouvertes, un seul lien suffit */
}

/* Lien Facebook du pied de page (ajouté le 30/11/2026) */
.pied__social { display: flex; width: fit-content; align-items: center; gap: 10px; margin-top: 18px; color: var(--ivoire); font-size: 15px; }
.pied__social svg { flex: none; opacity: .9; }
.pied__social:hover { color: var(--ivoire) !important; text-decoration: underline; text-underline-offset: 3px; }
