/* =============================================================================
   PADEL AND CO 81 — Saïx (Tarn) — feuille de style unique du site
   Reprise du site WordPress/DIVI (padelandco81.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.
   ============================================================================= */

:root {
  --bleu: #14395c;          /* bleu des sections et des titres (DIVI #14395C) */
  --bleu-2: #1b4c7b;        /* bleu des prix, du H1 et des boutons contour (DIVI #1B4C7B) */
  --bleu-vif: #2a6bab;
  --anthracite: #2d3436;    /* boutons pleins, bloc Jeff, proshop, bas de page (DIVI #2D3436) */
  --clair: #d1dbe5;         /* grands mots pâles derrière les titres (DIVI #D1DBE5) */
  --pastel: #e9edf4;        /* fond des interrupteurs « Heures creuses / pleines » (DIVI #E9EDF4) */
  --texte: #192028;         /* texte courant (DIVI #192028) */
  --gris: #5b6670;
  --blanc: #fff;
  --rayon: 22px;
  --rayon-bouton: 40px;     /* boutons très arrondis, comme sur le site (40 px) */
  --ombre: 0 24px 50px -28px rgba(20, 57, 92, .45);
  --ombre-forte: 0 34px 70px -30px rgba(20, 57, 92, .6);
  --titre: "Poppins", Helvetica, Arial, sans-serif;   /* titres et textes des modules */
  --accent: "Anton", Impact, "Arial Narrow", sans-serif; /* H1, sous-titres et coordonnées */
  --police: "Open Sans", Helvetica, Arial, sans-serif;  /* police de base du thème */
  --entete-h: 84px;
  --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) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--titre); font-size: 16px; line-height: 1.75; color: var(--texte); background: var(--blanc); overflow-x: clip; }
img, video { 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 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-family: var(--accent); font-weight: 400; font-size: clamp(2.3rem, 4.6vw, 3.6rem); color: var(--bleu-2); letter-spacing: .005em; }
h2 { font-family: var(--titre); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: var(--bleu); }
h3 { font-family: var(--titre); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.8rem); }
h4 { font-family: var(--accent); font-weight: 400; font-size: 1.15rem; letter-spacing: .02em; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--bleu-vif); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--bleu); color: var(--blanc); }

.conteneur { width: min(1180px, 100% - 40px); margin-inline: auto; }
.conteneur--etroit { width: min(880px, 100% - 40px); margin-inline: auto; }
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; isolation: isolate; }
.section--serree { padding: clamp(40px, 6vw, 72px) 0; }
/* Sections bleue (club house) et anthracite (proshop) : pois du logo dans les coins, comme sur le site
   d'origine (image DIVI 2560 px calée en haut à droite, taille réelle, jamais étirée) */
.section--bleue { background: #1c4d7a url("images/fond-points-bleu.png") right top / 2560px auto no-repeat; color: var(--blanc); }
.section--sombre { background: var(--anthracite) url("images/fond-points-gris.png") right top / 2560px auto no-repeat; color: var(--blanc); }
.section--bleue h2, .section--bleue h3, .section--sombre h2, .section--sombre h3 { color: var(--blanc); }
.centre { text-align: center; }
.horaires { font-family: var(--titre); font-weight: 600; letter-spacing: .02em; line-height: 1.9; }
.horaires strong { font-weight: 700; }

/* Fond à pois (images du site) */
.fond-points { background: #1c4d7a url("images/fond-points-bleu.png") right top / 2560px auto no-repeat; color: var(--blanc); }
.fond-points h1, .fond-points h2 { color: var(--blanc); }
.fond-points--gris { background: var(--anthracite) url("images/fond-points-gris.png") right top / 2560px auto no-repeat; }

/* 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(--bleu-vif)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Titre double (grand mot pâle derrière le titre, module DIVI « Advanced Heading ») ---------- */
.titre-double { position: relative; text-align: center; margin: 0 auto clamp(26px, 4vw, 44px); }
.titre-double::before { content: attr(data-fond); display: block; font-family: var(--titre); font-weight: 700; font-size: clamp(2.4rem, 10vw, 9.3rem); line-height: 1; color: var(--clair); white-space: nowrap; margin-bottom: -.42em; pointer-events: none; user-select: none; max-width: 100%; overflow: hidden; text-overflow: clip; }
.js .titre-double::before { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.js .titre-double.visible::before { opacity: 1; transform: none; }
.titre-double > h1, .titre-double > h2 { position: relative; margin: 0; font-family: var(--titre); font-weight: 700; font-size: clamp(2rem, 4.2vw, 2.6rem); color: var(--bleu); }
.titre-double--long::before { font-size: clamp(2.4rem, 7vw, 6rem); white-space: normal; }
.fond-points .titre-double::before, .section--sombre .titre-double::before { color: rgba(255, 255, 255, .12); }
.fond-points .titre-double > h1, .fond-points .titre-double > h2, .section--sombre .titre-double > h2 { color: var(--blanc); }

/* ---------- Boutons (pilule, comme sur le site) ---------- */
.bouton { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: 15px 34px; border-radius: var(--rayon-bouton); font-family: var(--titre); font-weight: 600; font-size: 1rem; line-height: 1.3; text-align: center; color: var(--blanc); background: var(--anthracite); border: 2px solid var(--anthracite); 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, .3) 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); border-color: var(--bleu); box-shadow: 0 16px 30px -14px rgba(20, 57, 92, .7); }
.bouton svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.bouton:hover svg { transform: translateX(4px); }
.bouton--contour { background: var(--blanc); color: var(--bleu); border-color: var(--bleu); }
.bouton--contour:hover { background: var(--bleu); color: var(--blanc); }
.bouton--blanc { background: transparent; color: var(--blanc); border-color: var(--blanc); }
.bouton--blanc:hover { background: var(--blanc); color: var(--bleu); border-color: var(--blanc); }
.bouton--petit { padding: 10px 20px; font-size: .88rem; }
.boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.boutons--centre { justify-content: center; }

/* ---------- En-tête vitré blanc ---------- */
.entete { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--entete-h); color: var(--texte); transition: height .4s var(--ease); }
.entete::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .8); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(20, 57, 92, .08); transition: background .4s, box-shadow .4s; }
.entete.reduite { --entete-h: 66px; height: 66px; }
.entete.reduite::before { background: rgba(255, 255, 255, .96); box-shadow: 0 10px 30px -18px rgba(20, 57, 92, .5); }
.entete__in { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.entete__logo img { height: 52px; width: auto; transition: height .4s var(--ease), transform .5s var(--ease); }
.entete__logo:hover img { transform: scale(1.04) rotate(-1deg); }
.entete.reduite .entete__logo img { height: 42px; }
.menu { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.menu a { position: relative; padding: 10px 14px; font-family: var(--police); font-weight: 600; font-size: .95rem; color: rgba(25, 32, 40, .75); transition: color .25s; }
.menu a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--bleu-2); transform: scaleX(0) skewX(-12deg); 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: skewX(-12deg); }
.entete__actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--bleu); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s, background .3s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
body.menu-ouvert .burger span { background: var(--blanc); }
body.menu-ouvert .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
body.menu-ouvert .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.menu-ouvert .entete::before { background: var(--bleu); border-color: transparent; }
body.menu-ouvert .entete__logo img { filter: brightness(0) invert(1); }

/* Menu mobile plein écran */
.tiroir { position: fixed; inset: 0; z-index: 99; background: radial-gradient(circle at 100% 0, var(--bleu-2), var(--bleu) 65%); color: var(--blanc); padding: calc(var(--entete-h) + 24px) 24px 36px; overflow-y: auto; clip-path: circle(0 at calc(100% - 44px) 42px); 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) 42px); visibility: visible; }
body.menu-ouvert { overflow: hidden; }
.tiroir > a:not(.bouton) { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--accent); font-size: 1.7rem; letter-spacing: .02em; border-bottom: 1px solid rgba(255, 255, 255, .14); opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .5s var(--ease), color .3s; }
.tiroir > a:not(.bouton)::after { content: "→"; font-family: var(--titre); font-size: 1.1rem; opacity: .5; transition: transform .3s var(--ease); }
.tiroir > a:not(.bouton):hover::after { transform: translateX(6px); }
.tiroir > a.actif { color: var(--clair); }
body.menu-ouvert .tiroir > a, body.menu-ouvert .tiroir > .bouton, body.menu-ouvert .tiroir__contact { 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 > .bouton { margin-top: 28px; align-self: flex-start; background: var(--blanc); color: var(--bleu); border-color: var(--blanc); opacity: 0; transform: translateY(20px); transition: opacity .5s .3s, transform .5s .3s var(--ease); }
.tiroir__contact { margin-top: auto; padding-top: 28px; font-size: .9rem; opacity: 0; transition: opacity .5s .35s; }
.tiroir__contact a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Apparitions ---------- */
.js .revele { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--delai, 0s), transform .9s var(--ease) var(--delai, 0s); }
.js .revele--gauche { transform: translateX(-46px); }
.js .revele--droite { transform: translateX(46px); }
.js .revele--zoom { transform: scale(.9); }
.js .revele.visible { opacity: 1; transform: none; }
.ligne-titre { display: block; overflow: hidden; padding-bottom: .06em; }
.ligne-titre > span { display: inline-block; }
.js .ligne-titre > span { transform: translateY(105%); transition: transform 1s var(--ease) var(--delai, 0s); }
.js .ligne-titre.visible > span { transform: none; }
.apparait { opacity: 0; transform: translateY(24px); animation: apparait 1s var(--ease) forwards; }
.apparait.d2 { animation-delay: .15s; } .apparait.d3 { animation-delay: .3s; } .apparait.d4 { animation-delay: .45s; }
@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(360px circle at var(--x, 50%) var(--y, 50%), rgba(42, 107, 171, .16), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.lueur:hover::before { opacity: 1; }
.lueur > * { position: relative; z-index: 1; }

/* ---------- Héros de l'accueil ---------- */
.hero { position: relative; padding: calc(var(--entete-h) + clamp(30px, 6vw, 70px)) 0 clamp(50px, 7vw, 90px); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -1; right: -10%; top: -20%; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; border-radius: 50%; background: radial-gradient(circle, rgba(209, 219, 229, .7), transparent 65%); animation: halo 9s ease-in-out infinite alternate; }
@keyframes halo { to { transform: translate(-6%, 8%) scale(1.08); } }
.hero__grille { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { margin-bottom: .5em; }
.hero p { font-size: 1.02rem; max-width: 560px; }
.hero .horaires { margin: 22px 0 30px; color: var(--bleu); }
.hero__photo { position: relative; }
.hero__photo img { width: 100%; filter: drop-shadow(0 40px 50px rgba(20, 57, 92, .35)); animation: flotte 7s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-14px) rotate(1deg); } }

/* Bandeau titre des pages intérieures */
.bandeau { padding: calc(var(--entete-h) + clamp(30px, 5vw, 60px)) 0 clamp(30px, 5vw, 60px); }
.bandeau.fond-points { padding-bottom: clamp(50px, 7vw, 90px); }
.bandeau .horaires { margin: 18px 0 30px; }
.bandeau p.intro { max-width: 820px; margin-inline: auto; }

/* « 5 PISTES INDOOR – 2 OUTDOOR » */
.pistes { display: flex; justify-content: center; flex-wrap: wrap; align-items: baseline; gap: .3em .5em; font-family: var(--accent); font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: var(--texte); letter-spacing: .03em; margin: 0; }
.pistes b { font-weight: 400; font-size: 1.6em; color: var(--bleu-2); }
.pistes i { font-style: normal; opacity: .4; }

/* ---------- Club house (section bleue) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.duo--inverse > :first-child { order: 2; }
.bloc-texte .bloc-texte__titre { font-family: var(--titre); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 .3em; }
.bloc-texte .bloc-texte__sous-titre { font-family: var(--accent); font-weight: 400; font-size: 1.15rem; letter-spacing: .02em; line-height: 1.2; margin: 0 0 1.2em; opacity: .9; }
.bloc-texte p, .bloc-texte li { font-weight: 300; }
.bloc-texte strong { font-weight: 600; }
.bloc-texte ul { list-style: none; padding: 0; }
.bloc-texte li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.bloc-texte li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px; border-radius: 50%; border: 3px solid currentColor; opacity: .7; }
.bloc-texte li p { margin: 0; }
.bloc-texte .bouton { margin-top: 10px; }

/* ---------- Carrousel photos ---------- */
.carrousel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; border-radius: var(--rayon); }
.carrousel::-webkit-scrollbar { display: none; }
.carrousel.glisse { cursor: grabbing; scroll-snap-type: none; }
.carrousel.glisse * { pointer-events: none; }
.carrousel > * { flex: 0 0 auto; scroll-snap-align: start; }
.carrousel--photos > * { width: min(78%, 420px); }
.carrousel--photos img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--rayon); transition: transform .8s var(--ease); }
.carrousel--photos a { display: block; overflow: hidden; border-radius: var(--rayon); }
.carrousel--photos a:hover img { transform: scale(1.06); }
.carrousel__nav { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.carrousel__points { display: flex; gap: 8px; }
.carrousel__points button { width: 10px; height: 10px; border-radius: 10px; background: currentColor; opacity: .3; transition: width .4s var(--ease), opacity .3s; }
.carrousel__points button.actif { width: 30px; opacity: 1; }
.carrousel__fleche { width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; transition: background .3s, color .3s, transform .3s var(--ease); }
.carrousel__fleche:hover { background: currentColor; transform: scale(1.06); }
.carrousel__fleche:hover svg { color: var(--bleu); }
.section--sombre .carrousel__fleche:hover svg { color: var(--anthracite); }
.carrousel__fleche svg { width: 20px; height: 20px; }
.carrousel__nav .carrousel__fleche:first-of-type { margin-left: auto; }

/* ---------- Interrupteur (Heures creuses / pleines…) ---------- */
.interrupteur { position: relative; display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 6px; border-radius: 40px; background: var(--pastel); margin: 0 auto clamp(26px, 4vw, 40px); }
.interrupteur button { position: relative; z-index: 1; padding: 12px clamp(18px, 4vw, 34px); border-radius: 40px; font-family: var(--titre); font-weight: 600; font-size: .95rem; color: var(--gris); transition: color .4s; }
.interrupteur button[aria-selected="true"] { color: var(--bleu); }
.interrupteur__curseur { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 6px); border-radius: 40px; background: var(--blanc); box-shadow: 0 8px 20px -10px rgba(20, 57, 92, .5); transition: transform .5s var(--ease); }
.interrupteur[data-choix="1"] .interrupteur__curseur { transform: translateX(100%); }
.panneau[hidden] { display: none; }
html:not(.js) .panneau[hidden] { display: grid; margin-top: clamp(16px, 2.4vw, 28px); } /* sans JavaScript : tous les tarifs restent lisibles */
.panneau.entre > * { animation: entre .6s var(--ease) both; }
.panneau.entre > :nth-child(2) { animation-delay: .07s; } .panneau.entre > :nth-child(3) { animation-delay: .14s; } .panneau.entre > :nth-child(4) { animation-delay: .21s; }
@keyframes entre { from { opacity: 0; transform: translateY(20px) scale(.97); } }

/* ---------- Cartes de prix ---------- */
.prix-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.prix-grille--4 { grid-template-columns: repeat(4, 1fr); }
.carte-prix { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(28px, 3.4vw, 40px) 22px; border-radius: var(--rayon); background: var(--blanc); box-shadow: 0 20px 50px -24px rgba(20, 57, 92, .35); border: 1px solid rgba(20, 57, 92, .06); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.carte-prix::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, var(--bleu), var(--bleu-vif)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.carte-prix:hover { transform: translateY(-8px); box-shadow: var(--ombre-forte); }
.carte-prix:hover::after { transform: none; }
.carte-prix h3 { font-weight: 700; color: var(--bleu-2); font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-bottom: .3em; }
.carte-prix p { margin: 0; color: var(--texte); font-size: .95rem; }
.carte-prix em { font-style: italic; }
.carte-prix__prix { font-family: var(--titre); font-weight: 700; font-size: clamp(2.2rem, 4vw, 2.8rem); color: var(--bleu-2); line-height: 1; margin: 22px 0 6px; }
.carte-prix .bouton { margin-top: 22px; }
.carte-prix__note { margin-top: auto !important; padding-top: 14px; }

/* ---------- Coaching (accueil) ---------- */
.coaching-grille { display: grid; grid-template-columns: 1fr .8fr 1fr; gap: clamp(20px, 4vw, 50px); align-items: center; }
.coaching-grille h3 { font-family: var(--accent); font-weight: 400; letter-spacing: .02em; font-size: 1.3rem; color: var(--bleu); margin-bottom: .5em; }
.coaching-grille article + article { margin-top: 34px; }
.coaching-grille .raquette { justify-self: center; max-width: 300px; filter: drop-shadow(0 30px 40px rgba(20, 57, 92, .35)); animation: balance 8s ease-in-out infinite; }
@keyframes balance { 50% { transform: rotate(-5deg) translateY(-10px); } }

/* Bloc Jeff (fond anthracite) */
.coach { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 4vw, 50px); align-items: end; padding: clamp(30px, 5vw, 60px) clamp(24px, 5vw, 60px) 0; border-radius: calc(var(--rayon) + 8px); background: var(--anthracite) url("images/fond-points-gris.png") center / cover no-repeat; color: var(--blanc); overflow: hidden; margin-top: clamp(50px, 7vw, 90px); }
.coach h2 { color: var(--blanc); font-size: clamp(1.7rem, 3vw, 2.2rem); }
.coach__texte { align-self: center; padding-bottom: clamp(30px, 5vw, 60px); }
.coach__texte p, .coach__texte li { font-family: var(--police); }
.coach__photo { position: relative; align-self: end; }
.coach__photo img { position: relative; margin-inline: auto; max-height: 560px; width: auto; transition: transform .8s var(--ease); }
.coach:hover .coach__photo img { transform: translateY(-8px) scale(1.02); }

/* Cartes « Notre vision » (haut bleu 25 % comme sur le site) */
.vision { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); }
.carte-vision { position: relative; padding: 0 0 30px; border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.carte-vision__haut { position: relative; padding: 30px 28px 26px; background: var(--bleu-2) url("images/fond-points-bleu.png") center / cover no-repeat; color: var(--blanc); }
.carte-vision__haut h2 { color: var(--blanc); font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin: 0; }
.carte-vision__haut span { display: block; font-family: var(--accent); font-size: 2.6rem; line-height: 1; opacity: .35; margin-bottom: 6px; }
.carte-vision p { padding: 0 28px; }
.carte-vision p:first-of-type { margin-top: 24px; }
.carte-vision:hover { transform: translateY(-8px) rotate(-.4deg); box-shadow: var(--ombre-forte); }

/* Tournois & événements */
.evenements { max-width: 860px; margin-inline: auto; text-align: center; }
.evenements h3 { font-family: var(--accent); font-weight: 400; letter-spacing: .02em; display: inline-block; margin-top: 10px; padding: 14px 26px; border-radius: 40px; background: var(--pastel); color: var(--bleu); font-size: clamp(1.05rem, 2vw, 1.3rem); }

/* ---------- Coaching : cartes qui se retournent (module « Flip Box ») ---------- */
.cartes-flip { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); }
.flip { perspective: 1400px; min-height: 560px; }
.flip__in { position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.flip.retourne .flip__in { transform: rotateY(180deg); }
@media (hover: hover) { .flip:hover .flip__in { transform: rotateY(180deg); } }
.flip__face { position: absolute; inset: 0; display: flex; flex-direction: column; border-radius: var(--rayon); backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.flip__face--avant { align-items: center; justify-content: center; gap: 10px; text-align: center; background: var(--blanc); box-shadow: var(--ombre); border: 1px solid rgba(20, 57, 92, .08); }
.flip__face--avant img { width: 62%; max-width: 230px; transition: transform .8s var(--ease); }
.flip__face--avant h2 { font-family: var(--accent); font-weight: 400; letter-spacing: .02em; line-height: 1.2; font-size: 1.6rem; color: var(--bleu); margin: 0; }
.flip__face--avant small { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.flip__face--avant small svg { width: 16px; height: 16px; animation: tourne 3s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.flip__face--arriere { transform: rotateY(180deg); padding: 30px 26px; background: var(--bleu) url("images/fond-points-bleu.png") center / cover no-repeat; color: var(--blanc); font-size: .93rem; line-height: 1.6; overflow-y: auto; }
.flip__face--arriere h3 { font-family: var(--accent); font-weight: 400; letter-spacing: .02em; color: var(--blanc); font-size: 1.4rem; margin-bottom: .6em; }
.flip__face--arriere ul { padding-left: 1.1em; }
.flip__face--arriere li p { margin: 0 0 .3em; }
.flip__bouton { position: absolute; inset: 0; z-index: 2; border-radius: var(--rayon); }

/* ---------- École de padel (tarifs) ---------- */
.ecole-prix { display: inline-flex; flex-direction: column; align-items: center; padding: 26px 50px; border-radius: var(--rayon); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ecole-prix h3 { font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 700; margin: 0; color: var(--blanc); }
.ecole-prix p { margin: 0; }

/* ---------- Partenaires : bandeau défilant ---------- */
.partenaires { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.partenaires__piste { display: flex; align-items: center; gap: clamp(30px, 5vw, 60px); width: max-content; animation: defile 48s linear infinite; padding: 10px 0; }
.partenaires:hover .partenaires__piste { animation-play-state: paused; }
.partenaires img { height: clamp(70px, 9vw, 110px); width: auto; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.partenaires img:hover { filter: none; opacity: 1; transform: scale(1.08); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Formulaire de contact ---------- */
.contact-page { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.contact-page__intro h2 { color: var(--anthracite); font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.formulaire { padding: clamp(24px, 4vw, 44px); border-radius: calc(var(--rayon) + 6px); background: var(--blanc); box-shadow: var(--ombre-forte); border: 1px solid rgba(20, 57, 92, .07); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { position: relative; }
.champ--large { grid-column: 1 / -1; }
.formulaire__info { margin: 0 0 16px; font-size: .82rem; opacity: .8; }
.formulaire__info a { text-decoration: underline; text-underline-offset: 3px; }
.champ input, .champ textarea { width: 100%; padding: 24px 16px 10px; border-radius: 14px; border: 2px solid transparent; background: var(--pastel); font: inherit; font-size: 1rem; color: var(--texte); transition: border-color .3s, background .3s, box-shadow .3s; }
.champ textarea { min-height: 170px; resize: vertical; }
.champ label { position: absolute; left: 18px; top: 17px; font-size: 1rem; color: var(--gris); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: left top; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--bleu-2); background: var(--blanc); box-shadow: 0 10px 24px -14px rgba(20, 57, 92, .6); }
.champ input:focus + label, .champ input:not(:placeholder-shown) + label, .champ textarea:focus + label, .champ textarea:not(:placeholder-shown) + label { transform: translateY(-11px); font-size: .74rem; font-weight: 600; color: var(--bleu-2); letter-spacing: .04em; }
.champ.erreur input, .champ.erreur textarea { border-color: #c0392b; }
.piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.formulaire .bouton { margin-top: 22px; }
.message-form { margin: 16px 0 0; font-weight: 600; min-height: 1.5em; }
.message-form.ok { color: #1e7d4f; }
.message-form.ko { color: #c0392b; }
.formulaire.envoye .champs, .formulaire.envoye .bouton { display: none; }
.merci { display: none; text-align: center; padding: 30px 0; }
.formulaire.envoye .merci { display: block; animation: entre .7s var(--ease); }
.merci svg { width: 70px; height: 70px; color: var(--bleu-2); margin: 0 auto 14px; }
.petit-texte { font-size: .8rem; color: var(--gris); margin: 16px 0 0; }
.petit-texte a { text-decoration: underline; }

/* ---------- Pages de texte (mentions légales) ---------- */
.texte-legal { max-width: 860px; margin-inline: auto; }
.texte-legal h3, .bloc-legal > h2 { font-size: 1.2rem; color: var(--bleu); margin-top: 1.8em; }
.bloc-legal > h2 { font-weight: 600; line-height: 1.2; }
.texte-legal ul, .texte-legal ol { padding-left: 1.3em; }
.texte-legal li { margin-bottom: .35em; }
.texte-legal a { color: var(--bleu-2); text-decoration: underline; }
.sommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 40px; }
.sommaire a { padding: 10px 20px; border-radius: 40px; background: var(--pastel); font-weight: 600; font-size: .9rem; color: var(--bleu); transition: background .3s, color .3s, transform .3s var(--ease); }
.sommaire a:hover { background: var(--bleu); color: var(--blanc); transform: translateY(-2px); }
.bloc-legal + .bloc-legal { margin-top: clamp(60px, 8vw, 100px); }

/* ---------- Bloc « Télécharger l'application du club » (pied commun) ---------- */
.appli { padding: clamp(40px, 6vw, 80px) 0 0; }
.appli__boite { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding: clamp(30px, 5vw, 60px) clamp(24px, 5vw, 60px) 0; border-radius: calc(var(--rayon) + 10px); background: var(--bleu) url("images/fond-points-bleu.png") center / cover no-repeat; color: var(--blanc); overflow: hidden; }
.appli h2 { color: var(--blanc); font-size: clamp(1.7rem, 3.4vw, 2.2rem); }
.appli h3 { font-family: var(--accent); font-weight: 400; font-size: clamp(1.15rem, 2vw, 1.4rem); letter-spacing: .02em; margin-bottom: 1.3em; }
.appli__texte { padding-bottom: clamp(30px, 5vw, 60px); }
.appli__tel { align-self: end; justify-self: center; }
.appli__tel img { max-height: 420px; width: auto; transform: translateY(8%); transition: transform .8s var(--ease); }
.appli__boite:hover .appli__tel img { transform: translateY(2%) rotate(-2deg); }
.appli__stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-size: .85rem; }
.appli__stores a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .35); transition: background .3s, color .3s; }
.appli__stores a:hover { background: var(--blanc); color: var(--bleu); }
.appli__stores svg { width: 15px; height: 15px; }

/* ---------- Coordonnées (pied commun) ---------- */
.contact { padding: clamp(50px, 7vw, 90px) 0; }
.contact__grille { display: grid; grid-template-columns: .75fr 1.15fr .8fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.contact__logo { justify-self: center; width: min(330px, 80%); }
.contact__logo img { transition: transform .8s var(--ease); }
.contact__logo:hover img { transform: rotate(-6deg) scale(1.04); }
.coordonnees { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.coordonnees a { display: flex; align-items: center; gap: 18px; padding: 12px 18px 12px 12px; border-radius: 20px; font-family: var(--accent); font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: .02em; color: var(--texte); transition: background .3s, transform .35s var(--ease); }
.coordonnees a:hover { background: var(--pastel); transform: translateX(6px); }
.coordonnees img { width: 52px; height: 52px; flex: none; transition: transform .5s var(--ease); }
.coordonnees a:hover img { transform: rotate(-8deg) scale(1.08); }
.reseaux { display: flex; gap: 16px; padding-left: 12px; margin-top: 8px; }
.reseaux a, .coordonnees .reseaux a { display: grid; place-items: center; flex: none; width: 58px; height: 58px; padding: 0; border-radius: 50%; transition: transform .4s var(--ease); }
.reseaux a:hover, .coordonnees .reseaux a:hover { background: none; }
.reseaux img, .coordonnees .reseaux img { width: 58px; height: 58px; max-width: none; aspect-ratio: 1; border-radius: 50%; object-fit: contain; }
.reseaux a:hover { transform: translateY(-5px) rotate(-6deg); }
/* Mini carte dans la forme du logo (galet à bordure bleue) + itinéraires — forme : <clipPath id="forme-logo"> (padelandco.js) */
.mini-carte { justify-self: center; width: min(300px, 100%); text-align: center; }
.mini-carte__forme { padding: 5.5%; background: var(--bleu-2); clip-path: url(#forme-logo); transition: transform .8s var(--ease); }
.mini-carte:hover .mini-carte__forme { transform: rotate(-3deg) scale(1.02); }
.mini-carte__dedans { position: relative; aspect-ratio: 1; clip-path: url(#forme-logo); background: var(--pastel); }
.mini-carte__dedans iframe { position: absolute; left: -12%; top: -19%; width: 124%; height: 130%; border: 0; filter: saturate(.85); }
.mini-carte__epingle { position: absolute; left: 50%; top: 46%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #e5f000; border: 5px solid var(--bleu); pointer-events: none; box-shadow: 0 0 0 0 rgba(27, 76, 123, .55); animation: epingle 2.2s infinite; }
@keyframes epingle { 70% { box-shadow: 0 0 0 16px rgba(27, 76, 123, 0); } 100% { box-shadow: 0 0 0 0 rgba(27, 76, 123, 0); } }
.mini-carte__credit { margin: 6px 0 12px; font-size: .72rem; color: var(--gris); }
.mini-carte__credit a { text-decoration: underline; }
.mini-carte__boutons { display: grid; gap: 10px; }
.mini-carte__boutons .bouton { width: 100%; }

/* ---------- Bas de page ---------- */
.pied { background: var(--anthracite); color: var(--blanc); padding: 30px 0 34px; font-size: .9rem; }
.pied__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.pied p { margin: 0; }
.pied a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .4); transition: text-decoration-color .3s; }
.pied a:hover { text-decoration-color: currentColor; }
.pied nav { display: flex; flex-wrap: wrap; gap: 4px 18px; width: 100%; padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.pied nav a { text-decoration: none; font-weight: 600; opacity: .8; }
.pied nav a:hover { opacity: 1; }
.coeur { display: inline-block; color: #e25555; animation: bat 1.4s ease-in-out infinite; }
@keyframes bat { 15%, 45% { transform: scale(1.25); } 30% { transform: scale(1); } }

/* 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; }
.haut { width: 48px; height: 48px; border-radius: 50%; background: var(--bleu); color: var(--blanc); display: grid; place-items: center; box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background .3s; }
.haut.visible { opacity: 1; transform: none; pointer-events: auto; }
.haut:hover { background: var(--bleu-vif); }
.haut svg { width: 20px; height: 20px; }
.flottant .bouton { display: none; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }

/* Visionneuse photo */
.visionneuse { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 60px 20px; background: rgba(15, 30, 46, .94); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.visionneuse.ouverte { opacity: 1; visibility: visible; }
.visionneuse img { max-height: 84vh; width: auto; border-radius: 14px; box-shadow: 0 40px 80px -30px #000; transform: scale(.94); transition: transform .5s var(--ease); }
.visionneuse.ouverte img { transform: none; }
.visionneuse button { position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--blanc); background: rgba(255, 255, 255, .12); transition: background .3s; }
.visionneuse button:hover { background: rgba(255, 255, 255, .28); }
.visionneuse button svg { width: 22px; height: 22px; }
.visionneuse [data-fermer] { top: 18px; right: 18px; }
.visionneuse [data-avant] { left: 18px; top: 50%; translate: 0 -50%; }
.visionneuse [data-apres] { right: 18px; top: 50%; translate: 0 -50%; }
.visionneuse__compte { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .7); font-size: .85rem; margin: 0; }

/* Page 404 */
.page-404 .hero { min-height: 100vh; display: grid; align-items: center; text-align: center; }
.page-404 .code { display: block; font-family: var(--accent); font-size: clamp(6rem, 22vw, 14rem); line-height: 1; color: var(--clair); }

/* ---------- Adaptations écran ---------- */
@media (max-width: 1080px) {
  .prix-grille--4 { grid-template-columns: repeat(2, 1fr); }
  .flip { min-height: 600px; }
}
@media (max-width: 980px) {
  .menu, .entete__actions .bouton { display: none; }
  .burger { display: block; }
  .hero__grille, .duo, .coach, .contact__grille, .contact-page, .appli__boite { grid-template-columns: 1fr; }
  .section--bleue, .section--sombre { background-image: none; }  /* comme sur le site d'origine : pas de pois sur tablette et téléphone (ils passeraient sous le texte) */
  .hero { text-align: center; }
  .hero p { margin-inline: auto; }
  .hero .boutons { justify-content: center; }
  .hero__photo { max-width: 460px; margin-inline: auto; }
  .duo--inverse > :first-child { order: 0; }
  .coaching-grille { grid-template-columns: 1fr 1fr; }
  .coaching-grille .raquette { grid-row: 1; grid-column: 1 / -1; max-width: 200px; }
  .vision, .cartes-flip { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .flip { min-height: 520px; }
  .coach { text-align: center; }
  .coach ul { text-align: left; display: inline-block; }
  .appli__boite { text-align: center; }
  .appli__stores { justify-content: center; }
  .contact__grille { text-align: left; }
  .contact__logo { width: min(220px, 60%); }
  .flottant .bouton { display: inline-flex; }
}
@media (max-width: 720px) {
  :root { --entete-h: 70px; }
  .entete__logo img { height: 42px; }
  .prix-grille, .prix-grille--4 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .coaching-grille { grid-template-columns: 1fr; text-align: center; }
  .champs { grid-template-columns: 1fr; }
  .coordonnees a { font-size: 1.05rem; gap: 12px; }
  .coordonnees img { width: 42px; height: 42px; }
  .interrupteur button { padding: 11px 16px; font-size: .88rem; }
  .flip { min-height: 560px; }
  .pied__in { flex-direction: column; align-items: flex-start; }
  .fond-points, .fond-points--gris { background-size: 1500px auto; }  /* pois plus petits sur téléphone */
}

/* 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, .titre-double::before { opacity: 1 !important; transform: none !important; }
  .partenaires__piste { flex-wrap: wrap; justify-content: center; width: auto; }
  .partenaires__piste img[aria-hidden="true"] { display: none; }
}
