/* ==========================================================================
   Le Mas — Padel & Squash, Perpignan
   Reproduction statique du site WordPress / DIVI (padel-lemas-perpignan.fr).
   Feuille unique : couleurs, typo et blocs repris du site d'origine.
   ========================================================================== */

:root {
  --nuit: #081436;          /* fond principal des sections */
  --marine: #0d1c4b;        /* textes et boutons des cartes */
  --bleu: #1f4ed8;          /* couleur de marque : boutons, surlignage */
  --lavande: #b3bfe2;       /* cartes translucides */
  --gris: #5c5c5c;          /* texte courant sur fond clair */
  --encre: #1e1f1a;         /* titres sur fond clair */
  --blanc: #fff;
  --ombre-bouton: 6px 6px 35px 0 rgba(0, 0, 0, .3);
  --ombre-glow: 6px 6px 35px 0 var(--bleu);
  --rangee: min(88%, 1240px);   /* élargi le 2026-10-26 (Fanny : blocs texte trop étroits) — était min(80%, 1140px) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans", Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gris);
  background: var(--nuit);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- Sections & rangées ---------------------------------------------------- */
.sec { position: relative; background: var(--nuit); color: var(--blanc); }
.rangee { width: var(--rangee); margin: 0 auto; }
.rangee--large { width: 100%; }
.deux-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5.5%; align-items: center; }
.deux-col > *, .grille > * { min-width: 0; }

.titre-xl { font-size: 48px; line-height: 56px; color: var(--blanc); }
.titre-l  { font-size: 45px; line-height: 56px; color: var(--blanc); }
.texte    { font-size: 18px; line-height: 28px; color: var(--blanc); }
.texte strong { font-weight: 700; }
.centre { text-align: center; }

/* --- Boutons --------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 17px 36px;
  border-radius: 30px;
  background: var(--bleu);
  color: var(--blanc);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.7;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--ombre-bouton);
  transition: transform .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); background: #1a43bd; }
.btn--glow { box-shadow: var(--ombre-glow); line-height: 1.5; }
.btn--marine { background: var(--marine); padding: 0 20px; line-height: 40px; }
.btn--marine:hover { background: var(--bleu); }
.btns { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 40px; }
.btns--pile { flex-direction: column; align-items: flex-start; gap: 16px; }

/* --- Héros (haut de chaque page) ------------------------------------------- */
.heros {
  background: #fff center / cover no-repeat;
}
.heros .rangee { padding: 260px 0 160px; }
.heros .deux-col { align-items: center; column-gap: 34px; }
.heros__titre {
  font-size: 60px;
  line-height: 96px;
  font-weight: 600;
  color: var(--blanc);
  margin-bottom: 10px;
}
.tw-mot {
  display: inline;
  background: var(--bleu);
  border-radius: 5px;
  padding: 0 0 13px 12px;
  white-space: pre-wrap;
}
.tw-curseur { font-size: 70px; font-weight: 400; margin-left: 1px; animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }
.heros__texte { font-size: 18px; line-height: 26px; color: var(--blanc); max-width: 620px; }
.heros__texte--retrait { padding: 0 20px; }
.heros .btn { line-height: 1.2; }
.texte--16, .texte--16 p { font-size: 16px; line-height: 1.7; }
.heros__logo { width: 332px; max-width: 100%; }
.heros__logo--grand { width: 460px; max-width: none; align-self: start; margin: 33px -72px 0 auto; }

/* --- Accordéon d'images (survol = la photo s'élargit) ---------------------- */
.accordeon {
  display: flex;
  height: 560px;
  overflow: hidden;
}
.accordeon--droite { border-radius: 0 30px 30px 0; }
.accordeon--gauche { border-radius: 30px 0 0 30px; }
.accordeon__item {
  flex: 1 1 0;
  background: center / cover no-repeat;
  transition: flex-grow .6s ease;
}
.accordeon__item.actif { flex-grow: 10; }

/* --- Bloc texte + photo pleine largeur ------------------------------------- */
.duo { padding: 120px 0; }
.duo .deux-col { align-items: center; }
.duo__texte { max-width: 620px; }
.duo__texte h2 { margin-bottom: 30px; padding-right: 30px; }
.duo__texte--etroit { justify-self: end; max-width: 540px; width: 100%; }   /* élargi (Fanny : « trop étriqué ») */
.duo__texte--etroit .titre-l { font-size: clamp(32px, 3.2vw, 45px); line-height: 1.2; }
.duo__texte--etroit h2 { padding-right: 0; }
@media (min-width: 768px) { .duo__texte .btn { white-space: nowrap; flex: none; } }

/* --- Carrousel des activités ------------------------------------------------ */
.activites { padding: 33px 0; }
.activites .grille {
  display: grid;
  grid-template-columns: 1fr 3fr;
  column-gap: 36px;
  align-items: center;
  padding-left: 16%;
}
.activites .grille > div:first-child h2 { margin-bottom: 30px; }
.carrousel { position: relative; overflow: hidden; padding: 20px 0 70px; }
.carrousel__piste {
  display: flex;
  gap: 24px;
  transition: transform .5s ease;
}
.carte-activite {
  flex: 0 0 calc((100% - 48px) / 3);
  background: rgba(255, 255, 255, .9);
  border-radius: 30px;
  box-shadow: 6px 6px 18px 0 rgba(0, 0, 0, .3);
  padding: 40px 30px;
  color: var(--marine);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.carte-activite img { width: 53px; margin-bottom: 20px; }
.carte-activite h3 { font-size: 24px; font-weight: 500; line-height: 28px; color: var(--marine); margin-bottom: 20px; }
.carte-activite p { font-size: 18px; font-weight: 300; line-height: 26px; color: var(--marine); }
.carte-activite strong { font-weight: 700; }
.carte-activite .btn { margin-top: auto; }
.carte-activite p + .btn { margin-top: 30px; }
.carrousel__fleches { position: absolute; left: 0; bottom: 10px; display: flex; gap: 16px; }
.carrousel__fleches button {
  width: 32px; height: 32px;
  border: 0; border-radius: 50%;
  background: var(--blanc); color: var(--nuit);
  font-size: 18px; line-height: 1; cursor: pointer;
}

/* --- Cartes « tarif » à filets (crédits, école, pass) ---------------------- */
.offres { padding: 57px 0; }
.offres__entete { padding: 28px 0; text-align: center; }
.offres__entete h3 { font-size: 22px; font-weight: 500; margin-top: 26px; }
.offres__grille { display: grid; grid-template-columns: 1fr 1fr; gap: 57px 5.5%; padding: 28px 0; align-items: center; }
.offres__grille--3 { grid-template-columns: repeat(3, 1fr); gap: 5.5%; align-items: stretch; }
.offres__grille--3 .carte-filets { display: flex; flex-direction: column; }
.offres__grille--3 .carte-filets h3 { min-height: 112px; display: flex; align-items: center; justify-content: center; }
.offres__grille--3 .carte-filets .note { min-height: 54px; }
.offres__grille--3 .carte-filets .filet:last-child { margin-top: auto; }
.carte-filets {
  border: 2px solid var(--blanc);
  border-radius: 20px;
  box-shadow: 0 2px 10px 0 var(--blanc);
  padding: 15px 0;
  text-align: center;
  color: var(--blanc);
}
.carte-filets .filet { width: 100%; margin: 10px auto; }
.carte-filets .filet:first-child { margin-top: 0; }
.carte-filets .filet:last-child { margin-bottom: 0; }
.carte-filets h3, .carte-filets .gros { font-size: 30px; font-weight: 600; line-height: 46px; padding: 10px 30px; margin: 0; }
.carte-filets .gros { font-size: 35px; }
.carte-filets .gros--espace { margin-top: 25px; }
.carte-filets .petit, .carte-filets .note, .carte-filets .sous { font-size: 18px; line-height: 27px; padding: 0 40px; margin: 0; }
.carte-filets .sous { font-size: 16px; line-height: 28px; }

/* --- Grille de tarifs (padel, squash) -------------------------------------- */
.tarifs { padding: 57px 0; }
.tarifs__grille { display: grid; grid-template-columns: minmax(360px, 440px) 1fr; column-gap: 63px; align-items: center; }
.tarifs__grille--3 { grid-template-columns: repeat(3, 1fr); column-gap: 5.5%; align-items: start; }
.tarifs__grille--3 .tarifs__intro { padding-top: 0; }
.tarifs__grille--3 .tarifs__intro p { font-size: 18px; line-height: 26px; }
.tarifs__intro { padding: 32px 0; }
.tarifs__intro h2 { margin-bottom: 10px; }
.tarifs__intro p { font-size: 16px; line-height: 25px; margin-bottom: 0; }
.tarifs__intro p:last-of-type { margin-top: 20px; }
.tarifs__cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 353px)); gap: 34px; }
.tarifs__cartes .carte-prix { margin: 40px; }
.carte-prix {
  background: var(--blanc);
  border: 3px solid var(--bleu);
  border-radius: 20px;
  padding: 25px 0;
  text-align: center;
  color: var(--encre);
  box-shadow: 6px 6px 18px 0 rgba(0, 0, 0, .3);
}
.carte-prix h3 { font-size: 24px; font-weight: 500; line-height: 24px; }
.carte-prix .prix { font-size: 60px; font-weight: 700; line-height: 72px; color: var(--encre); margin: 0; }
.carte-prix .prix sup { font-size: 24px; line-height: 24px; }
.carte-prix h4 { font-size: 18px; font-weight: 500; line-height: 18px; }
.bascule { display: flex; gap: 20px; margin-top: 30px; }
.bascule button {
  font-family: inherit;
  font-size: 13.33px;
  font-weight: 400;
  line-height: 1.6;
  width: 157px;
  padding: 10px 36px;
  border: 0;
  border-radius: 30px;
  background: var(--blanc);
  color: #333;
  cursor: pointer;
}
.bascule button.actif { background: #562dd4; color: var(--blanc); }
[data-heures="creuses"] .pleines, [data-heures="pleines"] .creuses { display: none; }

/* --- Coachs / photos -------------------------------------------------------- */
.coachs { padding: 68px 0; }
.coachs__intro { text-align: center; max-width: 760px; margin: 0 auto 20px; }
.coachs__intro h2 { margin-bottom: 20px; }
.coachs__intro p { font-size: 16px; line-height: 26px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; align-items: start; padding-top: 70px; margin-bottom: 0; }
.trio > :nth-child(2) { margin-top: -50px; }
.photo-coach { position: relative; margin: 0; overflow: hidden; border-radius: 5px; }
.photo-coach img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.photo-coach--haute img { aspect-ratio: 3 / 4; }
.photo-coach figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 18px 20px;
  background: var(--bleu);
  color: var(--blanc);
  text-align: center;
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.photo-coach:hover figcaption, .photo-coach:focus-within figcaption { opacity: 1; transform: none; }
.photo-coach figcaption strong { display: block; font-size: 24px; font-weight: 500; line-height: 1.4; }
.photo-coach figcaption a { text-decoration: none; }


/* --- Le club : fondateurs -------------------------------------------------- */
.histoire { padding: 57px 0 34px; }
.histoire .grille { width: min(88%, 1240px); margin: 0 auto; display: grid; grid-template-columns: 1fr; row-gap: 10px; align-items: start; }   /* élargi (Fanny, 2026-10-26) : texte en haut, fondateurs en dessous sur toute la largeur */
.histoire .texte { max-width: 900px; }
.histoire .titre-xl { font-size: clamp(34px, 3.4vw, 48px); line-height: 1.15; overflow-wrap: break-word; hyphens: auto; }
.histoire h2 { margin-bottom: 30px; }
.histoire .grille > div:first-child { padding: 24px 0; }
.fondateurs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 3vw, 46px); padding: 10px 0 23px; }
.carte-fondateur {
  background: rgba(179, 191, 226, .5);
  border-radius: 20px;
  box-shadow: 0 2px 18px 0 rgba(179, 191, 226, .55);
  padding: clamp(28px, 3vw, 44px);
  font-size: 15.5px;
  line-height: 1.6;
  text-align: left;
}
.carte-fondateur p { margin-bottom: 14px; }
.carte-fondateur img { width: 104px; margin: 0 auto 16px; }

/* --- Restaurant ------------------------------------------------------------- */
.bar { padding: 80px 0 120px; }
.bar .deux-col { align-items: center; }
.bar img { width: 431px; margin: 0 auto; border-radius: 5px; }
.bar .texte p { font-size: 16px; line-height: 1.6; }
.bar h2 { margin-bottom: 30px; padding: 0 30px; text-align: center; }
.bandeau img { width: 100%; }

/* --- Pass VIP (proshop) ----------------------------------------------------- */
.pass { padding: 20px 0 34px; }
.pass .grille { display: grid; grid-template-columns: minmax(360px, 440px) 1fr; column-gap: 63px; align-items: center; }
.pass .grille > div:first-child h3 { font-size: 20px; font-weight: 500; margin-top: 26px; }
.pass .cartes { display: grid; grid-template-columns: 1fr 1fr; gap: 63px; padding: 31px 0; align-items: center; }

/* --- Pages légales ---------------------------------------------------------- */
.heros--court .rangee { padding: 260px 0 160px; }
.legal { background: var(--blanc); color: var(--gris); padding: 120px 0; }
.legal .contenu { width: min(860px, var(--rangee)); margin: 0 auto; }
.legal h2 { font-size: 26px; font-weight: 500; line-height: 36px; color: var(--encre); margin: 0; }
.legal h2.legal__titre { font-size: 48px; font-weight: 600; line-height: 56px; color: var(--bleu); margin-bottom: 16px; }
.legal h3 { font-size: 22px; font-weight: 500; line-height: 32px; color: var(--encre); margin: 0; }
.legal p { font-size: 16px; line-height: 28px; margin: 0 0 16px; }
.legal a { color: var(--bleu); text-decoration: none; }
.legal hr { border: 0; border-top: 1px solid #999; margin: 8px 0 16px; }

.clair { background: var(--blanc); color: var(--gris); }
.clair .titre-xl { color: var(--bleu); }
.clair .app__texte { font-size: 16px; }
.clair .app__texte a { color: var(--bleu); text-decoration: none; }
.contact-clair { position: relative; padding: 80px 0; color: var(--blanc); background: linear-gradient(90deg, transparent 50%, var(--bleu) 50%), var(--photo) center / cover no-repeat; }
.contact-clair .rangee { display: grid; grid-template-columns: 1fr 1fr; column-gap: 5.5%; }
.contact-clair .panneau { grid-column: 2; padding-left: 40px; }
.contact-clair .ouvert { font-size: 18px; font-weight: 600; margin-bottom: 30px; }
.contact-clair .contact-ligne { color: var(--blanc); text-decoration: none; }
.contact-clair .contact-ligne .rond { background: var(--nuit); }
.contact-clair .contact-ligne svg { fill: var(--blanc); }
.contact-clair h3 { font-size: 48px; line-height: 56px; margin-bottom: 30px; }
.contact-clair .btn { background: var(--blanc); color: var(--bleu); }
.avis-clair { background: rgba(179, 191, 226, .15); color: var(--gris); }
.avis-clair .titre-xl { color: var(--encre); }
.avis-clair .avis__intro p { color: var(--gris); }
.avis-clair .note-google .chiffre, .avis-clair .note-google .nb { color: var(--encre); }

/* ==========================================================================
   Pied de page (commun à toutes les pages)
   ========================================================================== */
.app { padding: 100px 0 70px; background: linear-gradient(180deg, var(--nuit) 0%, rgba(31, 78, 216, .73) 49%, var(--nuit) 100%), var(--nuit); }
.app.clair { background: var(--blanc); padding: 30px 0 150px; }
.app .deux-col { align-items: center; }
.app h2 { margin-bottom: 30px; max-width: 640px; }
.app__texte { margin-bottom: 30px; max-width: 640px; }
.telephones { position: relative; width: 300px; height: 480px; justify-self: end; margin-right: 6%; }
.telephones img { position: absolute; max-width: none; }
.telephones .tel-1 { width: 126px; left: 168px; top: 0; }
.telephones .tel-2 { width: 189px; left: 67px; top: 50px; }
.telephones .badge { width: 162px; left: 0; top: 400px; }
.flotte { animation: flotte 4s ease-in-out infinite; }
.tel-1.flotte { animation-delay: -2s; }
@keyframes flotte { 50% { transform: translateY(-12px); } }
.atouts { display: grid; grid-template-columns: repeat(3, 145px); gap: 24px; margin-bottom: 40px; }
.atout {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  min-height: 228px;
  padding: 40px 15px;
  border-radius: 20px;
  background: rgba(179, 191, 226, .79);
  box-shadow: 0 2px 10px 0 var(--lavande);
  color: var(--blanc);
  font-size: 18px; font-weight: 600; line-height: 1.6;
  text-align: center;
  text-decoration: none;
}
.atout img { width: 80px; margin-bottom: 14px; }

.avis { padding: 80px 0; }
.avis .deux-col { align-items: center; }
.avis__intro h2 { margin-bottom: 26px; }
.avis__intro h2 { font-size: 45px; }
.avis__intro p { font-size: 18px; }
.note-google { display: flex; align-items: center; gap: 6px; margin-top: 20px; }
.etoiles { color: #ffa901; font-size: 18px; letter-spacing: 1px; }
.etoiles .vide { color: var(--blanc); }
.note-google .chiffre { font-size: 24px; font-weight: 600; color: var(--blanc); }
.note-google .nb { font-size: 16px; color: var(--blanc); }
.carte-avis {
  background: var(--blanc);
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 6px 6px 18px 0 rgba(120, 120, 165, .08);
  color: var(--gris);
  font-size: 16px;
}
.carte-avis { margin: 0 0 24px; max-width: 640px; }
.carte-avis:nth-child(odd) { margin-left: 12px; }
.carte-avis:last-child { margin-bottom: 0; }
.carte-avis .auteur { display: flex; align-items: center; gap: 16px; margin-top: 16px; }
.carte-avis .auteur img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }
.carte-avis .auteur strong { display: block; font-size: 16px; font-weight: 500; color: var(--gris); }
.carte-avis .etoiles { font-size: 15px; }

.partenaires { padding: 28px 0 57px; }
.partenaires h2 { text-align: center; margin: 28px 0 20px; }
.defile { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.defile__piste { display: flex; align-items: center; min-height: 250px; width: max-content; animation: defile 40s linear infinite; }
.defile:hover .defile__piste { animation-play-state: paused; }
.defile__piste img { width: 262px; height: auto; margin-right: 30px; object-fit: contain; }
@keyframes defile { to { transform: translateX(-50%); } }

.pied { padding: 70px 0; background: linear-gradient(180deg, var(--nuit) 0%, rgba(31, 78, 216, .25) 55%, var(--bleu) 99%), var(--nuit); font-size: 16px; }
.pied .grille { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 5.5%; align-items: start; }
.pied__logo img { width: 143px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 15px; }
.pied a { text-decoration: none; color: var(--blanc); }
.pied a:hover { color: var(--lavande); }
.pied details summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.pied details summary::-webkit-details-marker { display: none; }
.pied details summary::after { content: "‹"; transition: transform .2s; }
.pied details[open] summary::after { transform: rotate(-90deg); }
.pied details ul { padding: 8px 0 0 14px; }
.pied__legal { padding-top: 43px; }
.pied__legal li { margin-bottom: 16px; }
.pied h3 { font-size: 18px; font-weight: 600; margin-bottom: 30px; }
.pied h3::after { content: ""; display: block; width: 30px; height: 2px; background: var(--bleu); margin-top: 10px; }
.contact-ligne { display: flex; align-items: center; gap: 15px; margin: 0 0 20px; }
.contact-ligne .rond { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bleu); display: grid; place-items: center; }
.contact-ligne svg { width: 14px; height: 14px; fill: var(--blanc); }
.pied .horaires { font-weight: 600; font-size: 18px; line-height: 31px; margin-top: 27px; }
.signature { background: var(--bleu); padding: 16px 0; line-height: 20px; text-align: center; font-size: 16px; color: var(--blanc); }
.signature a { text-decoration: none; }

.haut-de-page {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 40px; height: 40px; border-radius: 5px; border: 0;
  background: rgba(0, 0, 0, .4); color: var(--blanc); font-size: 20px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.haut-de-page.visible { opacity: 1; pointer-events: auto; }

/* --- Menu burger (ajout : le site DIVI d'origine n'avait pas de menu en haut) -- */
.burger {
  position: fixed; top: 24px; right: 24px; z-index: 120;
  width: 54px; height: 54px; border: 0; border-radius: 50%;
  background: rgba(8, 20, 54, .55); backdrop-filter: blur(6px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .3);
  display: grid; place-content: center; gap: 5px; cursor: pointer;
  transition: background .3s, transform .3s;
}
.burger:hover { background: var(--bleu); transform: scale(1.06); }
.burger span { display: block; width: 24px; height: 2px; border-radius: 2px; background: var(--blanc); transition: transform .35s, opacity .25s; }
.burger[aria-expanded="true"] { background: var(--bleu); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 110;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 28px;
  padding: 90px 24px 40px; overflow-y: auto;
  background: radial-gradient(circle at 80% 10%, rgba(31, 78, 216, .55), transparent 55%), rgba(8, 20, 54, .97);
  opacity: 0; transition: opacity .35s ease;
}
.menu[hidden] { display: none; }
.menu > :first-child { margin-top: auto; }  /* centré verticalement, mais défilable sur un écran bas (téléphone à l’horizontale) */
.menu > :last-child { margin-bottom: auto; }
.menu.ouvert { opacity: 1; }
.menu__logo img { width: 110px; }
.menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu li { opacity: 0; transform: translateY(16px); transition: opacity .4s ease, transform .4s ease; transition-delay: calc(var(--i, 0) * 55ms + 120ms); }
.menu.ouvert li { opacity: 1; transform: none; }
.menu li a {
  position: relative; display: inline-block; padding: 6px 4px;
  color: var(--blanc); text-decoration: none;
  font-size: clamp(24px, 4vw, 36px); font-weight: 600; line-height: 1.3;
}
.menu li a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--bleu); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.menu li a:hover::after, .menu li a:focus-visible::after, .menu li a[aria-current="page"]::after { transform: scaleX(1); }
.menu li a[aria-current="page"] { color: var(--lavande); }
body.menu-ouvert { overflow: hidden; }

/* --- Animations ------------------------------------------------------------- */
/* Barre de progression de lecture */
.progression { position: fixed; top: 0; left: 0; z-index: 130; height: 3px; width: 100%; background: linear-gradient(90deg, var(--bleu), var(--lavande)); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* Entrée du haut de page au chargement */
.heros__titre, .heros__texte, .heros .btns { animation: entree .9s cubic-bezier(.2, .7, .2, 1) both; }
.heros__texte { animation-delay: .2s; }
.heros .btns { animation-delay: .35s; }
.heros__logo { animation: logo-entree 1.2s cubic-bezier(.2, .7, .2, 1) .2s both, respire 6s ease-in-out 1.4s infinite; }
@keyframes entree { from { opacity: 0; transform: translateY(40px); } }
@keyframes logo-entree { from { opacity: 0; transform: scale(.8) rotate(-12deg); } }
@keyframes respire { 50% { transform: scale(1.03) rotate(2deg); } }

/* Apparition au défilement (avec variantes et décalage en cascade) */
.apparait { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--delai, 0s); }
.apparait.depuis-gauche { transform: translateX(-60px); }
.apparait.depuis-droite { transform: translateX(60px); }
.apparait.zoom { transform: scale(.92); }
.apparait.vu { opacity: 1; transform: none; }
main, footer { overflow-x: clip; } /* les glissements latéraux ne créent pas de barre horizontale */

/* Boutons : reflet lumineux au survol */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -75%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::after { left: 125%; }

/* Cartes : légère élévation au survol */
.carte-activite, .carte-filets, .carte-prix, .atout, .carte-avis, .carte-fondateur {
  transition: transform .35s ease, box-shadow .35s ease, background-color .35s ease;
}
.carte-activite:hover { transform: translateY(-8px); box-shadow: 10px 16px 30px rgba(0, 0, 0, .35); }
.carte-activite img { transition: transform .5s ease; }
.carte-activite:hover img { transform: rotate(-10deg) scale(1.15); }
.carte-filets.vu:hover { transform: translateY(-6px); box-shadow: 0 4px 26px 2px var(--blanc); }
.carte-prix:hover { transform: translateY(-6px) scale(1.03); }
.atout.vu:hover, .atout:hover { transform: translateY(-6px); background-color: rgba(31, 78, 216, .85); }
.atout img { transition: transform .4s ease; }
.atout:hover img { transform: scale(1.12) rotate(-6deg); }
.carte-avis.vu:hover { transform: translateY(-5px); box-shadow: 8px 14px 28px rgba(0, 0, 0, .25); }
.carte-fondateur.vu:hover { transform: translateY(-6px); }
.photo-coach img, .bar img, .bandeau img { transition: transform .8s ease; }
.photo-coach:hover img, .bar img:hover { transform: scale(1.06); }
.bandeau { overflow: hidden; }
.defile__piste img { transition: transform .3s ease, filter .3s ease; }
.defile__piste img:hover { transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(179, 191, 226, .6)); }
.pied a { transition: color .25s, padding-left .25s; }
.pied nav a:hover, .pied__legal a:hover { padding-left: 6px; }
.contact-ligne .rond { transition: transform .3s; }
.contact-ligne:hover .rond { transform: scale(1.15) rotate(-8deg); }
.haut-de-page:hover { background: var(--bleu); }

@media (prefers-reduced-motion: reduce) {
  .apparait, .apparait.depuis-gauche, .apparait.depuis-droite, .apparait.zoom { opacity: 1; transform: none; transition: none; }
  .defile__piste, .flotte, .tw-curseur, .heros__titre, .heros__texte, .heros .btns, .heros__logo { animation: none; }
  .menu, .menu li { transition: none; }
  .progression { display: none; }
}

/* Petit écran d’ordinateur : 2 cartes d’activité (à 3, les mots longs élargissent les cartes) */
@media (max-width: 1140px) {
  .carte-activite { flex-basis: calc((100% - 24px) / 2); }
}

/* ==========================================================================
   Tablette
   ========================================================================== */
@media (max-width: 980px) {
  .deux-col, .tarifs__grille, .pass .grille, .histoire .grille { grid-template-columns: 1fr; row-gap: 40px; }
  .heros .rangee { padding: 180px 0 100px; }
  .heros__titre { font-size: 44px; line-height: 70px; }
  .tw-curseur { font-size: 50px; }
  .heros__logo, .heros__logo--grand { width: 300px; max-width: 100%; margin: 0 auto; }
  .duo { padding: 80px 0; }
  .duo .rangee--large { width: var(--rangee); margin: 0 auto; }
  .duo__texte, .duo__texte--etroit { justify-self: start; max-width: none; padding: 0; }
  .duo .rangee--large[style] { padding: 60px 0 0 !important; }
  .accordeon, .accordeon--droite, .accordeon--gauche { height: 420px; border-radius: 30px; }
  .duo .media-avant { order: -1; }
  .activites .grille { grid-template-columns: 1fr; padding: 0; width: var(--rangee); margin: 0 auto; row-gap: 30px; }
  .carte-activite { flex-basis: calc((100% - 20px) / 2); }
  .carrousel__piste { gap: 20px; }
  .offres__grille, .offres__grille--3 { grid-template-columns: 1fr; gap: 40px; }
  .tarifs__grille--3 { row-gap: 30px; }
  .tarifs__cartes { grid-template-columns: 1fr 1fr; }
  .tarifs__cartes .carte-prix { margin: 0; }
  .histoire .grille { width: var(--rangee); }
  .fondateurs { grid-template-columns: 1fr 1fr; gap: 24px; }
  .pass .cartes { gap: 30px; }
  .pied .grille { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .legal .contenu { width: var(--rangee); }
  .contact-clair .rangee { grid-template-columns: 1fr; }
  .contact-clair { background: var(--photo) center / cover no-repeat; }
  .contact-clair .panneau { grid-column: 1; margin: 0; padding: 50px 30px; border-radius: 20px; background: var(--bleu); }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767px) {
  :root { --rangee: calc(100% - 32px); }
  .heros .rangee { padding: 130px 0 70px; }
  .heros__titre { font-size: 34px; line-height: 54px; }
  .tw-mot { padding: 0 0 6px 8px; }
  .tw-curseur { font-size: 38px; }
  .heros__texte { font-size: 16px; }
  .heros__logo, .heros__logo--grand { width: 220px; }
  .titre-xl, .titre-l { font-size: 32px; line-height: 40px; }
  .texte { font-size: 16px; line-height: 26px; }
  .accordeon, .accordeon--droite, .accordeon--gauche { height: 300px; }
  .carte-activite { flex-basis: 100%; }
  .carrousel__piste { gap: 15px; }
  .carte-filets .filet { width: 180px; }
  .tarifs__cartes, .fondateurs, .pass .cartes { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; gap: 24px; }
  .trio > :nth-child(2) { margin-top: 0; }
  .photo-coach figcaption { opacity: 1; transform: none; }
  .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .atout { min-height: 0; padding: 24px 10px; font-size: 16px; }
  .atout img { width: 60px; }
  .telephones { justify-self: center; margin-right: 0; }
  .pied .grille { grid-template-columns: 1fr; }
  .defile__piste img { width: 180px; height: 90px; }
  .btn { padding: 15px 26px; }
  .contact-clair h3 { font-size: 34px; }
  .legal { padding: 70px 0; }
  .legal h2.legal__titre { font-size: 32px; }
}
.carte-fondateur img { margin-left: 0; }   /* photo alignée à gauche avec le texte */

/* --- Page Contact (ajoutée le 2026-10-26) ------------------------------------ */
.contact-page { padding: 100px 0; background: linear-gradient(180deg, #081436 0%, rgba(31, 78, 216, .35) 55%, #081436 100%), var(--nuit); }
.contact-page__grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-page__grille > * { min-width: 0; }
.contact-page h2 { margin: 0 0 30px; }
.infos { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.info { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 20px; background: rgba(179, 191, 226, .14); border: 1px solid rgba(179, 191, 226, .25); color: var(--blanc); font-size: 16px; line-height: 1.6; transition: transform .3s, background .3s; }
.info:hover { transform: translateX(6px); background: rgba(179, 191, 226, .22); }
.info strong { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lavande); margin-bottom: 2px; }
.info a { color: var(--blanc); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.info a:hover { border-color: var(--blanc); }
.info .rond { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--bleu); display: grid; place-items: center; box-shadow: var(--ombre-glow); }
.info .rond svg { width: 20px; height: 20px; fill: var(--blanc); }
.formulaire { padding: clamp(26px, 4vw, 44px); border-radius: 30px; background: var(--blanc); color: var(--gris); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.formulaire .titre-l { color: var(--bleu); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ { position: relative; }
.champ--large { grid-column: 1 / -1; }
.champ input, .champ textarea, .champ select { width: 100%; padding: 24px 16px 10px; border-radius: 14px; border: 1.5px solid #e1e5ef; background: #f5f7fb; font: inherit; font-size: 16px; color: var(--encre); transition: border-color .3s, background .3s, box-shadow .3s; }
.champ select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4ed8' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.champ textarea { min-height: 160px; resize: vertical; }
.champ label { position: absolute; left: 17px; top: 17px; font-weight: 600; color: #8a8f9c; pointer-events: none; transform-origin: left top; transition: transform .3s, color .3s; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: none; border-color: var(--bleu); background: #fff; box-shadow: 0 0 0 4px rgba(31, 78, 216, .15); }
.champ input:focus + label, .champ input:not(:placeholder-shown) + label,
.champ textarea:focus + label, .champ textarea:not(:placeholder-shown) + label,
.champ select:focus + label, .champ select:valid + label { transform: translateY(-11px) scale(.74); color: var(--bleu); }
.formulaire .btn { margin-top: 20px; border: 0; cursor: pointer; font-family: inherit; }
.formulaire .btn[disabled] { opacity: .6; pointer-events: none; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.message-form { margin: 14px 0 0; padding: 14px 18px; border-radius: 14px; font-weight: 600; display: none; }
.message-form.ok { display: block; background: rgba(37, 160, 90, .12); color: #17673a; }
.message-form.erreur { display: block; background: #fdecec; color: #b42318; }
.formulaire__rgpd { margin: 14px 0 0; font-size: 14px; }
.formulaire__rgpd a { color: var(--bleu); }
.venir { padding: 100px 0; }
.venir__grille { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.venir__grille > * { min-width: 0; }
.venir p, .venir li { font-size: 17px; line-height: 1.7; }
.venir h3 { font-size: 24px; font-weight: 600; color: var(--encre); margin: 34px 0 12px; }
.itineraires { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.btn--contour { background: transparent; color: var(--bleu); box-shadow: inset 0 0 0 2px var(--bleu); }
.btn--contour:hover { background: var(--bleu); color: var(--blanc); }
.pratique { margin: 0; padding-left: 1.2em; }
.pratique li { margin-bottom: 8px; }
.pratique li::marker { color: var(--bleu); }
.plan { border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(8, 20, 54, .6); border: 1px solid #e1e5ef; }
.plan iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 980px) {
  .contact-page__grille, .venir__grille { grid-template-columns: 1fr; }
  .contact-page, .venir { padding: 70px 0; }
}
@media (max-width: 560px) {
  .champs { grid-template-columns: 1fr; }
  .itineraires .btn { flex: 1 1 100%; text-align: center; }
  .plan iframe { height: 320px; }
}
