/* =============================================================================
   PADEL UP — Coulommiers (77) — feuille de style unique
   Reprise du site WordPress/DIVI (padel-up.fr) en HTML statique,
   même structure et mêmes textes, mise en forme modernisée.
   Couleurs et polices du site d'origine : tout est réglé ici, en haut du fichier.
   ============================================================================= */

/* Titres : Exo 2 Extra Bold Italique (police libre SIL OFL, hébergée ici), même esprit sportif penché que « AERO GS »
   du site d origine mais bien plus lisible (demande de Fanny, 2026-10-26). Déclarée sous le nom utilisé par --titre. */
@font-face { font-family: "Titre Padel Up"; src: url("polices/exo2-extrabold-italique.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --bleu: #295994;          /* bleu du logo : sections Installations / Application, boutons (DIVI #295994) */
  --bleu-fonce: #1b3d66;    /* bleu plus sombre pour les dégradés */
  --bleu-clair: #e9f0f8;    /* fond doux des cartes sur fond blanc */
  --gris: #525257;          /* gris du « UP » du logo : texte, section Fonctionnement (DIVI #525257) */
  --gris-fonce: #3a3a3e;
  --jaune: #fff208;         /* jaune de la balle du logo : icônes (DIVI #FFF208) */
  --blanc: #ffffff;
  --texte: #525257;
  --ligne: rgba(41, 89, 148, .14);
  --rayon: 20px;
  --rayon-bouton: 8px;
  --ombre: 0 24px 50px -24px rgba(27, 61, 102, .45);
  --titre: "Titre Padel Up", "Arial Black", Helvetica, Arial, sans-serif;  /* titres, menu, boutons (DIVI : AERO GS, remplacée par Exo 2) */
  --police: "Montserrat", Helvetica, Arial, sans-serif;            /* texte (DIVI : Montserrat) */
  --entete-h: 100px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 10px); -webkit-text-size-adjust: 100%; background: var(--blanc); }
body { margin: 0; font-family: var(--police); font-weight: 500; font-size: 16px; line-height: 1.7; color: var(--texte); background: var(--blanc); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--titre); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--bleu); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }
h4 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
strong { font-weight: 800; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--jaune); color: var(--bleu-fonce); }

.conteneur { width: min(1180px, 100% - 40px); margin-inline: auto; }
.conteneur--etroit { width: min(880px, 100% - 40px); }
.section { position: relative; padding: clamp(70px, 9vw, 120px) 0; isolation: isolate; overflow: hidden; }
.s-bleu { background: var(--bleu); color: var(--blanc); }
.s-bleu h2, .s-bleu h3, .s-bleu h4, .s-gris h2, .s-gris h3, .s-gris h4 { color: var(--blanc); }
.s-gris { background: var(--gris); color: var(--blanc); }
.s-blanc h3 { color: var(--gris); }
/* Fond animé discret (cercles de lumière) sur les sections colorées */
.s-bleu::before, .s-gris::before { content: ""; position: absolute; z-index: -1; width: 55vmax; height: 55vmax; right: -20vmax; top: -18vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .1), transparent 62%); animation: halo 14s ease-in-out infinite alternate; }
.s-gris::before { left: -20vmax; right: auto; background: radial-gradient(circle, rgba(255, 242, 8, .08), transparent 62%); }
@keyframes halo { to { transform: translate(-12%, 14%) scale(1.15); } }

/* Barre de progression de lecture */
.progression { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; background: linear-gradient(90deg, var(--bleu), var(--jaune)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Titres de section : monte + filet jaune ---------- */
.tete { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 56px); }
.tete h2 { margin-bottom: .2em; }
.ligne-titre { display: block; overflow: hidden; padding-bottom: .12em; }
.ligne-titre > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease) var(--delai, 0s); }
.ligne-titre.visible > span { transform: none; }
.filet { display: block; width: 80px; height: 4px; margin: 10px auto 18px; border-radius: 4px; background: var(--jaune); box-shadow: 0 0 0 1px rgba(41, 89, 148, .12); transform: scaleX(0); transition: transform 1s var(--ease) .3s; }
.filet.visible { transform: none; }
.s-blanc .filet { background: linear-gradient(90deg, var(--bleu), var(--jaune)); }
.filet--gauche { margin-left: 0; transform-origin: left; }

/* ---------- Boutons ---------- */
.bouton { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 14px 28px; border-radius: var(--rayon-bouton); border: 2px solid var(--bleu); font-family: var(--titre); font-size: 1rem; line-height: 1.2; text-align: center; color: var(--blanc); background: var(--bleu); box-shadow: 0 12px 24px -12px rgba(27, 61, 102, .7); transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s; overflow: hidden; isolation: isolate; }
.bouton::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.bouton:hover::after { transform: translateX(120%); }
.bouton:hover { transform: translateY(-3px); background: var(--bleu-fonce); border-color: var(--bleu-fonce); box-shadow: 0 18px 30px -12px rgba(27, 61, 102, .8); }
.bouton svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.bouton:hover svg { transform: translateX(4px); }
.bouton--blanc { background: var(--blanc); border-color: var(--blanc); color: var(--bleu); }
.bouton--blanc:hover { background: var(--jaune); border-color: var(--jaune); color: var(--bleu-fonce); }
.bouton--petit { padding: 9px 18px; font-size: .85rem; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- En-tête vitré blanc ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--entete-h); transition: height .4s var(--ease); }
.entete::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: background .4s, border-color .4s, box-shadow .4s; }
.entete.reduite { --entete-h: 76px; height: 76px; }
.entete.reduite::before { background: rgba(255, 255, 255, .95); border-color: var(--ligne); box-shadow: 0 10px 30px -18px rgba(27, 61, 102, .45); }
.entete__in { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
/* Logo agrandi à la demande de Fanny (2026-10-26) */
.entete__logo img { height: 74px; width: auto; transition: height .4s var(--ease), transform .5s var(--ease); }
.entete__logo:hover img { transform: scale(1.05) rotate(-2deg); }
.entete.reduite .entete__logo img { height: 56px; }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu a { position: relative; padding: 10px 11px; font-family: var(--titre); font-size: .8rem; text-transform: uppercase; color: rgba(0, 0, 0, .62); transition: color .25s; }
.menu a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--jaune); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.menu a:hover, .menu a.actif { color: var(--bleu); }
.menu a:hover::after, .menu a.actif::after { transform: none; }
.menu a.bouton { margin-left: 12px; padding: 10px 18px; color: var(--blanc); text-transform: uppercase; }
.menu a.bouton::after { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 12px; right: 12px; height: 3px; background: var(--gris); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, background .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 29px; }
body.menu-ouvert .burger span { background: var(--blanc); }
body.menu-ouvert .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
body.menu-ouvert .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
body.menu-ouvert .entete::before { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
body.menu-ouvert .entete__logo { opacity: 0; }

/* Menu mobile plein écran */
.tiroir { position: fixed; inset: 0; z-index: 99; background: radial-gradient(circle at 100% 0, #3a72b6, var(--bleu-fonce) 70%); color: var(--blanc); padding: calc(var(--entete-h) + 20px) 24px 36px; overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .7s var(--ease); display: flex; flex-direction: column; visibility: hidden; }
body.menu-ouvert .tiroir { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
body.menu-ouvert { overflow: hidden; }
.tiroir > a:not(.bouton) { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; font-family: var(--titre); font-size: 1.3rem; line-height: 1.3; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, .15); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .3s; }
.tiroir > a:not(.bouton)::after { content: "→"; font-size: 1.1rem; opacity: .5; transition: transform .3s var(--ease); }
.tiroir > a:not(.bouton):hover { color: var(--jaune); }
.tiroir > a:not(.bouton):hover::after { transform: translateX(6px); }
.tiroir > a.bouton { margin-top: 28px; opacity: 0; transition: opacity .5s .3s, transform .35s var(--ease), background .3s; }
body.menu-ouvert .tiroir > a, body.menu-ouvert .tiroir__social { opacity: 1; transform: none; }
.tiroir > a:nth-child(2) { transition-delay: .05s; } .tiroir > a:nth-child(3) { transition-delay: .1s; } .tiroir > a:nth-child(4) { transition-delay: .15s; } .tiroir > a:nth-child(5) { transition-delay: .2s; }
.tiroir__social { margin-top: auto; padding-top: 28px; opacity: 0; transition: opacity .5s .35s; }
.tiroir__social .reseaux a { background: rgba(255, 255, 255, .1); color: var(--blanc); border-color: rgba(255, 255, 255, .2); }

/* ---------- Apparitions ---------- */
.revele { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--delai, 0s), transform .9s var(--ease) var(--delai, 0s); }
.revele--gauche { transform: translateX(-46px); }
.revele--droite { transform: translateX(46px); }
.revele--zoom { transform: scale(.92); }
.revele.visible { opacity: 1; transform: none; }
.apparait { opacity: 0; transform: translateY(24px); animation: apparait 1s var(--ease) forwards; }
.apparait.d2 { animation-delay: .35s; } .apparait.d3 { animation-delay: .6s; } .apparait.d4 { animation-delay: .85s; }
@keyframes apparait { to { opacity: 1; transform: none; } }

/* Lueur qui suit la souris */
.lueur { position: relative; isolation: isolate; }
.lueur::before { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(255, 242, 8, .22), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.s-blanc .lueur::before, .contact .lueur::before { background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(41, 89, 148, .14), transparent 60%); }
.lueur:hover::before { opacity: 1; }
.lueur > * { position: relative; z-index: 1; }

/* ---------- Héros (bandeau photo du terrain + PADEL UP + Réservez) ---------- */
.hero { position: relative; min-height: min(92svh, 820px); display: grid; place-items: center; text-align: center; padding: calc(var(--entete-h) + 50px) 0 90px; color: var(--blanc); overflow: hidden; isolation: isolate; background: var(--bleu); }
.hero__fond { position: absolute; inset: -6% 0; z-index: -2; transform: translateY(var(--parallaxe, 0)); }
.hero__fond img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; animation: respire 18s ease-in-out infinite alternate; }
@keyframes respire { from { transform: scale(1.02); } to { transform: scale(1.14) translateX(-2%); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27, 61, 102, .55), rgba(41, 89, 148, .35) 45%, rgba(27, 61, 102, .8)); }
.hero__titre { font-size: clamp(3rem, 9vw, 5.6rem); line-height: 1; margin: 0 0 .25em; text-shadow: 0 10px 40px rgba(0, 0, 0, .35); }
.hero__titre .lettre { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(8deg); animation: lettre .8s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + .2s); }
@keyframes lettre { to { opacity: 1; transform: none; } }
.hero__sous { font-size: clamp(1.25rem, 2.8vw, 1.7rem); color: var(--blanc); margin-bottom: .8em; }
.hero__texte { max-width: 620px; margin: 0 auto 1.6em; font-weight: 700; font-size: 1.1rem; color: #d4dee8; }
.hero__balle { position: absolute; width: clamp(34px, 4vw, 54px); aspect-ratio: 1; right: 12%; top: 26%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fffb8a, var(--jaune) 45%, #d8cc00); box-shadow: 0 18px 30px rgba(0, 0, 0, .35); animation: rebond 2.6s cubic-bezier(.5, 0, .5, 1) infinite; }
.hero__balle::before, .hero__balle::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 3px solid rgba(82, 82, 87, .55); clip-path: inset(0 55% 0 0); }
.hero__balle::after { clip-path: inset(0 0 0 55%); }
@keyframes rebond { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-40px) rotate(180deg); } }
.defiler { position: absolute; left: 50%; bottom: 20px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; }
.defiler::after { content: ""; position: absolute; left: 50%; top: 7px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--jaune); animation: molette 1.8s ease-in-out infinite; }
@keyframes molette { 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
/* Bandeau réduit en haut des pages CGVU / confidentialité (même texte que l'accueil, comme à l'origine) */
.hero--court { min-height: 0; padding: calc(var(--entete-h) + 40px) 0 60px; }
.hero--court .hero__titre { font-size: clamp(2.4rem, 6vw, 3.8rem); }

/* ---------- Duo image + texte ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.duo > * { min-width: 0; } /* contrôle final 2026-10-26 : aucun enfant ne force la colonne à déborder */
.duo--texte-large { grid-template-columns: 1fr 1.1fr; align-items: start; }
.cadre { position: relative; overflow: hidden; border-radius: var(--rayon); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.cadre img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06) translateY(var(--parallaxe, 0)); transition: transform 1.2s var(--ease); }
.cadre:hover img { transform: scale(1.12) translateY(var(--parallaxe, 0)); }
.cadre::after { content: ""; position: absolute; inset: 0; border: 3px solid var(--jaune); border-radius: inherit; opacity: 0; transform: scale(1.04); transition: opacity .5s, transform .6s var(--ease); pointer-events: none; }
.cadre:hover::after { opacity: 1; transform: none; }
.cadre--inclinee { transform: perspective(1000px) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .4s var(--ease); }
.cadre--colle { position: sticky; top: calc(var(--entete-h) + 30px); }
/* Petite pastille décorative (balle) sur les photos */
.cadre-deco { position: relative; }
.cadre-deco::before { content: ""; position: absolute; z-index: 2; width: 70px; height: 70px; right: -18px; top: -18px; border-radius: 50%; background: var(--jaune); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); animation: flotte 5s ease-in-out infinite; }
.cadre-deco--gauche::before { left: -18px; right: auto; }

/* ---------- Installations : 3 atouts (icône jaune + titre + texte) ---------- */
.atouts { display: grid; gap: 18px; }
.atout { display: grid; grid-template-columns: 58px 1fr; gap: 18px; align-items: start; padding: 20px 22px; border-radius: var(--rayon); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: transform .5s var(--ease), background .4s, border-color .4s; }
.atout:hover { transform: translateX(8px); background: rgba(255, 255, 255, .1); border-color: rgba(255, 242, 8, .5); }
.atout h4 { margin-bottom: .35em; }
.atout p { margin: 0; font-weight: 600; }
.pastille { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 242, 8, .12); color: var(--jaune); border: 1px solid rgba(255, 242, 8, .35); transition: transform .6s var(--ease), background .4s; }
.pastille svg { width: 28px; height: 28px; }
.atout:hover .pastille, .etape:hover .pastille, .fonction:hover .pastille { transform: rotate(-10deg) scale(1.08); background: rgba(255, 242, 8, .22); }

/* ---------- Horaires et tarifs ---------- */
.bloc-titre { display: flex; align-items: center; gap: 12px; color: var(--gris); margin-top: 1.4em; }
.bloc-titre:first-child { margin-top: 0; }
.bloc-titre::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, var(--ligne), transparent); }
.creneaux { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 1em; padding: 0; list-style: none; }
.creneau { padding: 18px 20px; border-radius: 16px; background: var(--bleu-clair); border: 1px solid var(--ligne); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.creneau:hover { transform: translateY(-5px); box-shadow: var(--ombre); }
.creneau h4 { display: flex; align-items: center; gap: 10px; color: var(--bleu); margin-bottom: .5em; }
.creneau h4 svg { width: 22px; height: 22px; flex: none; color: var(--bleu); }
.creneau p { margin: 0; font-weight: 600; font-size: .95rem; }
.prix { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 1em; padding: 0; list-style: none; }
.prix li { position: relative; padding: 18px 20px; border-radius: 16px; background: var(--bleu); color: var(--blanc); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.prix li::after { content: ""; position: absolute; top: -60%; left: -40%; width: 50%; height: 220%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent); transform: rotate(20deg) translateX(-200%); transition: transform 1s var(--ease); }
.prix li:hover { transform: translateY(-5px); box-shadow: 0 20px 34px -16px rgba(27, 61, 102, .9); }
.prix li:hover::after { transform: rotate(20deg) translateX(480%); }
.prix h4 { margin: 0; font-size: 1.05rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.prix b { font-size: 2.1rem; font-weight: 400; color: var(--jaune); line-height: 1; }
.prix--materiel li { background: var(--gris); }

/* ---------- Application mobile ---------- */
.telephone { position: relative; max-width: 320px; margin-inline: auto; } /* capture de l appli (comme Le Temple), recolorée au bleu Padel Up */
.telephone::before { content: ""; position: absolute; inset: 8% 4%; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 64%); }
.telephone img { width: 100%; animation: flotte 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .35)); }
@keyframes flotte { 50% { transform: translateY(-14px) rotate(1.2deg); } }
.fonctions { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.fonction { display: flex; align-items: center; gap: 16px; padding: 10px 18px 10px 10px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: transform .4s var(--ease), background .3s, border-color .3s; }
.fonction:hover { transform: translateX(8px); background: rgba(255, 255, 255, .12); border-color: rgba(255, 242, 8, .5); }
.fonction h4 { margin: 0; }
.fonction .pastille { width: 48px; height: 48px; border-radius: 14px; }
.fonction .pastille svg { width: 24px; height: 24px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.stores a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .18); color: var(--blanc); font-weight: 700; font-size: .9rem; line-height: 1.2; transition: transform .35s var(--ease), border-color .3s, color .3s; }
.stores a small { display: block; font-size: .66rem; font-weight: 500; opacity: .75; }
.stores a:hover { transform: translateY(-4px); border-color: var(--jaune); color: var(--jaune); }
.stores svg { width: 22px; height: 22px; }

/* ---------- Fonctionnement du club : parcours en 6 étapes ---------- */
.etapes { position: relative; list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 14px; counter-reset: etape; }
.etapes::before { content: ""; position: absolute; left: 28px; top: 20px; bottom: 20px; width: 2px; background: rgba(255, 255, 255, .15); }
.etapes::after { content: ""; position: absolute; left: 28px; top: 20px; width: 2px; height: calc((100% - 40px) * var(--avance, 0)); background: var(--jaune); box-shadow: 0 0 10px rgba(255, 242, 8, .7); transition: height .2s linear; }
.etape { position: relative; display: grid; grid-template-columns: 58px 1fr; gap: 16px; align-items: start; counter-increment: etape; }
.etape .pastille { position: relative; z-index: 1; background: var(--gris); box-shadow: 0 0 0 6px var(--gris); }
.etape .pastille::after { content: counter(etape); position: absolute; right: -6px; top: -6px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--jaune); color: var(--gris-fonce); font-family: var(--titre); font-size: .72rem; }
.etape__corps { padding: 6px 0 4px; }
.etape h4 { margin-bottom: .3em; }
.etape p { margin: 0; font-weight: 600; color: rgba(255, 255, 255, .88); }
.infos { display: grid; gap: 14px; margin-bottom: 28px; }
.info { display: grid; grid-template-columns: 58px 1fr; gap: 16px; padding: 20px; border-radius: var(--rayon); background: rgba(0, 0, 0, .14); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .4s, transform .5s var(--ease); }
.info:hover { transform: translateY(-4px); }
.info--urgence { border-color: rgba(255, 242, 8, .55); background: rgba(255, 242, 8, .07); }
.info--urgence .pastille { animation: sonne 3s ease-in-out infinite; }
@keyframes sonne { 0%, 86%, 100% { transform: none; } 88%, 92%, 96% { transform: rotate(-12deg); } 90%, 94%, 98% { transform: rotate(12deg); } }
.info h4 { margin-bottom: .35em; }
.info p { margin: 0; font-weight: 600; font-size: .96rem; }
.info a { color: var(--blanc); }
.lien-tel { font-family: var(--titre); font-size: 1.15rem; color: var(--jaune) !important; white-space: nowrap; border-bottom: 2px solid transparent; transition: border-color .3s; }
.lien-tel:hover { border-color: var(--jaune); }
.lien-mail { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact (logo + coordonnées + réseaux + liens légaux), bloc répété ---------- */
.contact { background: var(--blanc); padding: clamp(70px, 9vw, 110px) 0 clamp(40px, 5vw, 60px); }
.contact__logo { max-width: min(460px, 100%); margin-inline: auto; transition: transform .6s var(--ease), filter .6s; }
.contact__logo:hover { transform: scale(1.04) rotate(-1.5deg); filter: drop-shadow(0 16px 24px rgba(41, 89, 148, .25)); }
.coords { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.coord { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 16px; background: var(--bleu-clair); border: 1px solid var(--ligne); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.coord:hover { transform: translateX(6px); box-shadow: var(--ombre); }
.coord .pastille { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--bleu); color: var(--jaune); border: 0; }
.coord .pastille svg { width: 24px; height: 24px; }
.coord h3 { margin: 0; font-size: 1.05rem; color: var(--bleu); }
.coord a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact__bas { margin-top: clamp(40px, 6vw, 70px); display: grid; justify-items: center; gap: 22px; }
/* Mini carte OpenStreetMap + itinéraires (bloc contact) */
.plan { position: relative; margin-top: clamp(36px, 5vw, 56px); border-radius: 22px; overflow: hidden; border: 1px solid rgba(41, 89, 148, .18); background: var(--bleu-clair); box-shadow: 0 30px 60px -36px rgba(41, 89, 148, .45); }
.plan iframe { display: block; width: 100%; height: 340px; border: 0; filter: saturate(.85); }
.plan__epingle { position: absolute; left: 50%; top: 170px; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--jaune); border: 4px solid var(--bleu); pointer-events: none; animation: plan-pouls 2s infinite; }
@keyframes plan-pouls { 0% { box-shadow: 0 0 0 0 rgba(41, 89, 148, .55); } 70% { box-shadow: 0 0 0 16px rgba(41, 89, 148, 0); } 100% { box-shadow: 0 0 0 0 rgba(41, 89, 148, 0); } }
.plan__bas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 22px; background: var(--blanc); }
.plan__bas p { flex: 1 1 220px; margin: 0; color: var(--gris); font-size: .95rem; }
.plan__bas p b { display: block; font-family: var(--titre); font-weight: 400; color: var(--bleu); font-size: 1.1rem; }
.bouton--contour { background: transparent; color: var(--bleu); border-color: var(--bleu); }
.bouton--contour:hover { background: var(--bleu); color: var(--blanc); }
@media (max-width: 600px) { .plan iframe { height: 280px; } .plan__epingle { top: 140px; } .plan__bas .bouton { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { .plan__epingle { animation: none; } }
.reseaux { display: flex; gap: 12px; }
.reseaux a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--bleu-clair); border: 1px solid var(--ligne); color: var(--bleu); transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s; }
.reseaux a:hover { transform: translateY(-4px) rotate(-8deg); background: var(--bleu); color: var(--jaune); box-shadow: 0 12px 24px -10px rgba(27, 61, 102, .8); }
.reseaux svg { width: 20px; height: 20px; }
.legaux { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin: 0; padding: 0; list-style: none; font-size: .9rem; color: var(--gris); }
.legaux li + li::before { content: "|"; margin-right: 10px; opacity: .5; }
.legaux a { transition: color .3s; }
.legaux a:hover, .legaux a[aria-current] { color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; }
.legaux--pied { justify-content: center; color: inherit; font-size: inherit; }
.pied .legaux--pied a:hover { color: var(--jaune); }

/* ---------- Pied de page (signature) ---------- */
.pied { background: var(--gris-fonce); color: rgba(255, 255, 255, .75); font-size: .88rem; padding: 18px 0; }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.pied p { margin: 0; }
.pied a:hover { color: var(--jaune); }
.coeur { display: inline-block; color: #ea2c59; animation: bat 1.4s ease-in-out infinite; }
@keyframes bat { 15%, 45% { transform: scale(1.25); } 30% { transform: scale(1); } }

/* ---------- Pages légales (accordéons) ---------- */
.legal { padding: clamp(50px, 7vw, 80px) 0 clamp(50px, 7vw, 80px); background: linear-gradient(180deg, var(--bleu-clair), var(--blanc) 320px); }
.legal h1 { text-align: center; color: var(--bleu); font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin-bottom: .3em; }
.legal__meta { text-align: center; margin-bottom: 4px; }
.legal__meta strong { color: var(--gris); }
.legal__outils { display: flex; justify-content: center; margin: 10px 0 26px; }
.legal__intro p { margin-bottom: .9em; }
.legal__intro { margin-bottom: 22px; }
.accordeon { border-radius: 16px; border: 1px solid var(--ligne); background: var(--blanc); margin-bottom: 12px; overflow: hidden; transition: border-color .3s, box-shadow .4s; }
.accordeon[open] { border-color: rgba(41, 89, 148, .45); box-shadow: var(--ombre); }
.accordeon summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-family: var(--titre); font-size: 1.02rem; color: var(--bleu); transition: color .3s, background .3s; }
.accordeon summary::-webkit-details-marker { display: none; }
.accordeon summary:hover { background: var(--bleu-clair); }
.accordeon summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bleu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff208' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .45s var(--ease); }
.accordeon[open] summary::after { transform: rotate(135deg); }
.accordeon__corps { padding: 0 22px 20px; overflow: hidden; }
.accordeon__corps ul { margin: 0 0 1em; padding-left: 1.2em; }
.accordeon__corps ul ul { margin: .3em 0; }
.accordeon__corps li { margin-bottom: .3em; }
.accordeon__corps a, .legal__intro a, .legal__fin a { color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.a-completer { padding: 0 .3em; border-radius: 4px; background: #fff7a8; color: #6b5d00; }
.legal__fin { margin-top: 26px; padding: 20px 22px; border-radius: 16px; background: var(--bleu-clair); }
.legal__fin p { margin: 0; }

/* Boutons flottants : retour en haut + « Réserver » (téléphone) */
.flottant { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; align-items: center; gap: 10px; transition: opacity .3s; }
body.menu-ouvert .flottant { opacity: 0; pointer-events: none; }
.haut { width: 46px; height: 46px; border-radius: 50%; background: var(--blanc); border: 2px solid var(--bleu); color: var(--bleu); display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(27, 61, 102, .7); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.haut.visible { opacity: 1; transform: none; pointer-events: auto; }
.haut svg { width: 20px; height: 20px; }
.flottant .bouton { display: none; box-shadow: 0 12px 28px -8px rgba(27, 61, 102, .8); }

/* Carrousel (cartes qui glissent sur téléphone) */
.points { display: none; justify-content: center; gap: 8px; margin-top: 14px; }
.points button { width: 8px; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .35); transition: width .4s var(--ease), background .3s; }
.points button.actif { width: 26px; background: var(--jaune); }

/* Page 404 */
.page-404 .hero__titre { font-size: clamp(5rem, 20vw, 10rem); }

/* ---------- Adaptations écran ---------- */
@media (max-width: 1100px) {
  .menu { display: none; }
  .burger { display: block; }
  .flottant .bouton { display: inline-flex; }
  .pied { padding-bottom: 86px; } /* place pour les boutons flottants */
}
@media (max-width: 900px) {
  .duo, .duo--texte-large { grid-template-columns: 1fr; }
  .duo__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .ordre-mobile { order: 2; }
  .cadre--colle { position: relative; top: 0; }
  .hero__balle { right: 6%; top: 18%; }
}
@media (max-width: 700px) {
  .carrousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 6px 20px 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .carrousel::-webkit-scrollbar { display: none; }
  .carrousel > * { flex: 0 0 84%; scroll-snap-align: center; }
  .carrousel + .points { display: flex; }
  .atout { grid-template-columns: 1fr; }
  .atout:hover { transform: none; }
}
@media (max-width: 600px) {
  :root { --entete-h: 80px; }
  .entete__logo img { height: 56px; }
  .entete.reduite .entete__logo img { height: 46px; }
  .creneaux, .prix { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-bottom: 80px; } /* la photo d'origine est un bandeau très large : on évite de trop l'agrandir */
  .accordeon summary { padding: 16px; font-size: .95rem; }
  .accordeon__corps { padding: 0 16px 16px; }
  .pied .conteneur { justify-content: center; text-align: center; }
  .cadre-deco::before { width: 46px; height: 46px; right: -8px; top: -12px; }
  .cadre-deco--gauche::before { left: -8px; }
}

/* Mouvements réduits : tout est affiché, sans animation */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .revele, .apparait, .ligne-titre > span, .hero__titre .lettre { opacity: 1 !important; transform: none !important; }
  .filet { transform: none !important; }
  .hero__fond, .cadre img, .cadre--inclinee { transform: none !important; }
  .etapes::after { height: calc(100% - 40px); }
}

/* Sans JavaScript : tout le contenu reste lisible (pas d'apparition au défilement) */
@media (scripting: none) {
  .revele, .ligne-titre > span, .filet { opacity: 1; transform: none; }
}
