/*
Theme Name: L'Arène Cahors
Theme URI: https://larenecahors.fr/
Author: Broxima
Author URI: https://broxima.fr/
Description: Thème bloc sur mesure de L'Arène Cahors (padel, squash, bar). Tout le contenu est éditable dans Gutenberg.
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: larene
*/
/* ==========================================================================
   L'Arène Cahors — feuille de style unique (maquette + thème WordPress)
   Le HTML ciblé est celui des blocs natifs Gutenberg.
   ========================================================================== */
:root {
  --nuit: #0a1530;
  --nuit-2: #13254d;
  --court: #1f4fd6;
  --balle: #f2e535;
  --encre: #0b0b0c;
  --blanc: #ffffff;
  --gris: #eef1f5;
  --texte: #1a2233;
  --muted: #8a96ad;
  --r: 18px;
  --display: 'Anton', 'Arial Narrow', sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --gutter: max(32px, calc((100vw - 1240px) / 2));
}

/* ---------- Socle et neutralisation Gutenberg (spécificité nulle) ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--body); color: var(--texte); background: var(--gris); -webkit-font-smoothing: antialiased; }
:where(h1, h2, h3, h4, p, ul, ol, figure) { margin: 0; }
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
:where(ul, ol) { padding: 0; }
img, video { display: block; max-width: 100%; height: auto; }
figure.wp-block-image, figure.wp-block-video { margin: 0; }
a { color: inherit; text-decoration: none; }
.wp-block-site-logo img { width: auto; }
.wp-element-caption { margin: 0; }

/* ---------- Curseur balle (élément injecté par le script, décoratif) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; display: none; }
.cursor img { width: 40px; height: 40px; margin: -20px 0 0 -20px; transition: width .25s, height .25s, margin .25s;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); }
.cursor.big img { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor summary { cursor: none; }

/* ---------- Typo de base ---------- */
.kicker { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--balle); }
.kicker.dark { color: var(--court); }
.lead { font-size: 1.15rem; line-height: 1.6; color: #c9d2e3; max-width: 34ch; }
.lead.dark { color: #4a5568; }
.big { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: .98; text-transform: uppercase; letter-spacing: .005em; color: var(--encre); }
.big.light { color: var(--blanc); }
.big em, .mega-page em { font-style: normal; color: var(--court); }
.big.light em, .page-hero .mega-page em { color: var(--balle); }

/* ---------- Boutons (core/button : la classe est sur le conteneur) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button.btn .wp-block-button__link { display: inline-flex; align-items: center; padding: .95em 1.6em; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 0; transition: transform .2s; white-space: nowrap; }
.wp-block-button.btn .wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.btn-ball .wp-block-button__link { background: var(--balle); color: var(--encre); }
.wp-block-button.btn-dark .wp-block-button__link { background: var(--encre); color: var(--blanc); }
.stores { margin-top: 32px; }
.wp-block-button.store .wp-block-button__link { display: block; padding: 10px 18px 10px 50px; border-radius: 14px; background: var(--blanc) url(img/apple-store-logo.svg) 14px center / 26px no-repeat; color: var(--encre); font-weight: 700; font-size: 1rem; line-height: 1.15; transition: transform .2s; }
.wp-block-button.store-android .wp-block-button__link { background-image: url(img/google-play-store.svg); }
.wp-block-button.store .wp-block-button__link::before { content: "Télécharger sur"; display: block; font-size: .68rem; font-weight: 500; color: #555; }
.wp-block-button.store-android .wp-block-button__link::before { content: "Disponible sur"; }
.wp-block-button.store .wp-block-button__link:hover { transform: translateY(-2px); }
.stores-dark .wp-block-button.store .wp-block-button__link { background-color: var(--encre); color: var(--blanc); }
.stores-dark .wp-block-button.store .wp-block-button__link::before { color: #aab; }
.link-under { margin-top: 1.6rem; }
.link-under a { display: inline-block; font-weight: 600; color: var(--balle); border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-under.dark a { color: var(--court); }

/* ---------- En-tête ---------- */
.nav { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100; width: min(1240px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 10px 10px 10px 22px;
  background: rgba(10, 21, 48, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; border: 1px solid rgba(255,255,255,.08); }
.nav-logo img { height: 44px !important; width: auto !important; }
.admin-bar .nav { top: 48px; }
.nav nav.nav-links { color: #dfe5f1; }
.nav .nav-links .wp-block-navigation__container { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav .nav-links .wp-block-navigation-item__content { font-size: .92rem; font-weight: 500; color: #dfe5f1; }
.nav .nav-links .wp-block-navigation-item__content:hover, .nav .nav-links .current-menu-item .wp-block-navigation-item__content { color: var(--balle); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right .wp-block-buttons { gap: 0; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 0; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s, top .3s; }
.burger::before { top: 19px; } .burger::after { top: 26px; }
.menu-open .burger::before { top: 22px; transform: rotate(45deg); }
.menu-open .burger::after { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: 100vh; padding: 150px var(--gutter) 0;
  background: radial-gradient(1200px 700px at 85% 10%, var(--nuit-2), var(--nuit) 60%); color: var(--blanc);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 90px -6% -10% 34%; z-index: 0; pointer-events: none; opacity: .09;
  background: linear-gradient(#fff, #fff) 50% 0 / 3px 100% no-repeat, linear-gradient(#fff, #fff) 0 28% / 100% 3px no-repeat, linear-gradient(#fff, #fff) 0 72% / 100% 3px no-repeat;
  border: 3px solid #fff; transform: perspective(900px) rotateX(48deg) rotateZ(-8deg); transform-origin: 50% 0; }
.hero-text { position: relative; z-index: 2; padding-bottom: 40px; }
.hero-mosaic, .hero-stats { position: relative; z-index: 1; }
.mega { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(5.5rem, 12.5vw, 13rem); line-height: .84; margin: 18px 0 28px; white-space: nowrap; color: var(--blanc); }
.mega em { display: inline-block; width: .74em; height: .74em; vertical-align: -.02em; margin: 0 -.02em 0 -.06em; color: transparent; overflow: hidden; font-style: normal;
  background: url(img/balle.png) center / contain no-repeat; animation: bounce 2.4s cubic-bezier(.3,0,.3,1) infinite; }
@keyframes bounce { 0%, 100% { transform: translateY(0) rotate(0); } 45% { transform: translateY(-.32em) rotate(160deg); } 55% { transform: translateY(-.32em) rotate(200deg); } }

.hero-mosaic { height: 640px; }
.tile { position: absolute !important; border-radius: var(--r); overflow: hidden; background: var(--nuit-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.06); }
.tile figcaption { position: absolute; left: 14px; bottom: 12px; font-weight: 500; font-size: .78rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); color: var(--blanc); }
.tile figcaption strong { font-weight: 800; font-size: 1.05rem; }
.t-video { left: 0; top: 30px; width: 44%; height: 470px; }
.t-video video { object-position: 50% 38%; } /* l'échange est dans le haut de la vidéo : on le centre */
.t-smash { left: 47%; top: 0; width: 27%; height: 250px; }
.t-bar { left: 76.5%; top: 60px; width: 27%; height: 300px; }
.t-squash { left: 47%; top: 270px; width: 27%; height: 230px; }
.t-p500 { left: 76.5%; top: 380px; width: 27%; height: 220px; }
.sticker { position: absolute; left: 36%; top: 440px; z-index: 3; width: 128px; height: 128px; border-radius: 50%; background: var(--balle); color: var(--encre);
  display: grid; place-items: center; text-align: center; font-family: var(--display); font-size: 2.2rem; line-height: .85; transform: rotate(-12deg); box-shadow: 0 16px 30px -10px rgba(0,0,0,.5); }

.hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.12); margin-top: 20px; }
.stat { padding: 26px 20px 34px 0; font-size: .95rem; color: #dfe5f1; }
.stat-num { font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--balle); margin-bottom: 6px !important; }
.stat-sub { color: var(--muted); font-size: .85rem; margin-top: 2px !important; }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--balle); color: var(--encre); overflow: hidden; padding: 18px 0; transform: rotate(-1.5deg); margin: -14px -20px 0 !important; position: relative; z-index: 5; }
.marquee-track { display: flex; align-items: center; width: max-content; animation: defile 28s linear infinite; }
.marquee-track p { display: flex; align-items: center; gap: 34px; padding-right: 34px; font-family: var(--display); font-size: 2.4rem; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.marquee-track p::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: currentColor; }
.marquee-dark { background: var(--encre); color: var(--balle); transform: rotate(1.2deg); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- Premiers pas ---------- */
.debuter { padding: 140px var(--gutter) 120px; background: var(--gris); }
.debuter-head { max-width: 900px; }
.debuter-head .big { margin: 14px 0 22px !important; font-size: clamp(3rem, 7vw, 6.6rem); }
.debuter-head .lead { max-width: 52ch; }
.debuter-body { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 70px !important; align-items: start; }
.steps { display: grid; gap: 14px; }
.step { display: flex; gap: 22px; align-items: flex-start; background: var(--blanc); border-radius: var(--r); padding: 26px 28px; }
.step .n { font-family: var(--display); font-size: 4.2rem; line-height: .8; color: var(--court); min-width: 48px; }
.step h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px !important; color: var(--encre); }
.step p { color: #4a5568; line-height: 1.55; }
.debuter-visual { position: relative; }
.dv-photo img { width: 100%; height: 520px; object-fit: cover; border-radius: var(--r); }
.price-card { position: absolute; left: -60px; bottom: -50px; width: 340px; background: var(--balle); color: var(--encre); border-radius: var(--r); padding: 28px; box-shadow: 0 30px 50px -20px rgba(10,21,48,.45); }
.price { font-size: 1rem; font-weight: 600; }
.price strong { display: block; font-family: var(--display); font-weight: 400; font-size: 5rem; line-height: .9; }
.price-sub { margin-top: 8px !important; font-size: .9rem; line-height: 1.45; }
.price-when { margin: 14px 0 18px !important; font-weight: 800; }
.debuter-inner { padding-top: 120px; }
.debuter-inner .debuter-body { margin-top: 0 !important; }

/* ---------- Le club (grille de cartes) ---------- */
.club { padding: 130px var(--gutter); background: var(--nuit); color: var(--blanc); }
.club-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px !important; }
.club-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 16px; }
.card { position: relative; border-radius: var(--r); overflow: hidden; }
.card a { display: block; height: 100%; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.card:hover img { transform: scale(1.07); }
.card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,10,25,.8)); }
.card figcaption { position: absolute; left: 22px; bottom: 18px; z-index: 2; color: #cfd7e6; font-size: .9rem; pointer-events: none; }
.card figcaption strong { display: inline-block; font-family: var(--display); font-weight: 400; font-size: 2.4rem; text-transform: uppercase; color: var(--blanc); line-height: 1; margin-bottom: 4px; }
.c-padel { grid-column: 1 / 8; grid-row: span 4; }
.c-squash, .c-tournois { grid-column: 8 / 13; grid-row: span 2; }
.c-ecole { grid-column: 1 / 5; grid-row: span 3; }
.c-bar { grid-column: 5 / 9; grid-row: span 3; }
.c-pro { grid-column: 9 / 13; grid-row: span 3; }

/* ---------- 24/24 ---------- */
.autonome { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; padding: 120px var(--gutter); background: var(--court); color: var(--blanc); position: relative; overflow: hidden; }
.autonome::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 160%; border-left: 3px solid rgba(255,255,255,.18); border-right: 3px solid rgba(255,255,255,.18); transform: rotate(14deg); }
.phone { position: relative; width: 300px; height: 600px; margin: 0 auto !important; border-radius: 44px; padding: 12px; background: var(--encre); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); transform: rotate(-5deg); z-index: 1; }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 34px; }
.autonome-text { position: relative; z-index: 1; }
.autonome .big { font-size: clamp(2.6rem, 5vw, 4.8rem); }
.how { list-style: none; margin: 40px 0 28px !important; display: grid; gap: 4px; }
.how li { display: flex; gap: 22px; align-items: baseline; font-size: 1.3rem; font-weight: 600; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.how em { font-style: normal; font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--balle); min-width: 46px; }
.note { color: #d5defa; }
.app-hero { min-height: 100vh; padding-top: 150px; }

/* ---------- Tarifs ---------- */
.tarifs { display: grid; grid-template-columns: repeat(3, 1fr) .8fr; background: var(--encre); color: var(--blanc); scroll-margin-top: 90px; }
.tarif { padding: 54px 36px; border-right: 1px solid rgba(255,255,255,.1); position: relative; }
.t-price { font-family: var(--display); font-size: 5.4rem; line-height: .9; color: var(--balle); }
.t-what { font-weight: 700; font-size: 1.05rem; margin-top: 10px !important; }
.t-detail { color: var(--muted); margin-top: 4px !important; font-size: .92rem; }
.tarif-link { display: grid; place-items: center; background: var(--balle); color: var(--encre); text-align: center; border: 0; transition: background .2s; }
.tarif-link a { font-family: var(--display); font-size: 1.9rem; text-transform: uppercase; line-height: 1; }
.tarif-link a::after { content: ""; position: absolute; inset: 0; }
.tarif-link:hover { background: #fff36b; }
.tarif-alt { background: var(--court); }
.tarif-alt .t-price { color: var(--blanc); }
.tarif-alt .t-detail { color: #d5defa; }

/* ---------- Communauté ---------- */
.commu { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 140px var(--gutter); background: var(--gris); }
.commu-num { font-family: var(--display); font-size: clamp(8rem, 18vw, 16rem); line-height: .8; color: var(--court); }
.commu .big { font-size: clamp(2.2rem, 4.2vw, 3.8rem); margin: 10px 0 22px !important; }
.commu .lead { max-width: 44ch; margin-bottom: 30px !important; }
.commu-short { padding-top: 120px; padding-bottom: 120px; }
.polaroids { position: relative; height: 600px; }
.commu-short .polaroids { height: 520px; }
.pol { position: absolute !important; width: 56%; background: var(--blanc); padding: 12px 12px 46px; border-radius: 6px; box-shadow: 0 24px 50px -20px rgba(10,21,48,.4); transition: transform .4s; }
.pol img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.p1 { left: 0; top: 30px; transform: rotate(-7deg); }
.p2 { right: 0; top: 0; transform: rotate(5deg); }
.p3 { left: 12%; bottom: -10px; transform: rotate(4deg); z-index: 2; }
.p4 { right: 4%; bottom: 20px; transform: rotate(-4deg); z-index: 1; }
.pol:hover { transform: rotate(0) scale(1.04); z-index: 5; }

/* ---------- Bar (accueil) ---------- */
.bar { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--nuit); color: var(--blanc); min-height: 640px; }
.bar-img img { width: 100%; height: 100%; object-fit: cover; }
.bar-img { height: 100%; }
.bar-text { padding: 110px 70px; align-self: center; }
.bar-text .big { margin-bottom: 24px !important; }
.bar-side { position: absolute !important; right: 60px; bottom: -70px; width: 230px; z-index: 3; transform: rotate(6deg); }
.bar-side img { width: 230px; height: 290px; object-fit: cover; border-radius: var(--r); box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); }

/* ---------- Partenaires ---------- */
.partners { padding: 140px var(--gutter) 110px; background: var(--blanc); }
.partner-list { list-style: none; margin-top: 26px !important; }
.partner-list li { display: flex; align-items: baseline; gap: 30px; padding: 22px 0; border-bottom: 1px solid #dfe4ec; font-family: var(--display); text-transform: uppercase; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1; color: var(--encre); transition: color .2s, padding .3s; }
.partner-list li:hover { color: var(--court); padding-left: 14px; }
.partner-list em { font-style: normal; font-family: var(--body); font-size: .85rem; font-weight: 700; letter-spacing: .1em; color: var(--muted); min-width: 150px; }

/* ---------- FAQ (core/details) ---------- */
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; padding: 120px var(--gutter); background: var(--gris); }
.faq .big { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.faq-list .wp-block-details { border-bottom: 1px solid #d4dae5; padding: 22px 0; }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; font-weight: 700; font-size: 1.15rem; color: var(--encre); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--court); transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 12px !important; color: #4a5568; line-height: 1.65; max-width: 60ch; }

/* ---------- Pied de page ---------- */
.footer { background: var(--encre); color: #cfd7e6; padding: 110px var(--gutter) 40px; }
.footer-big { font-family: var(--display); text-transform: uppercase; font-size: clamp(3.4rem, 9vw, 9rem); line-height: .92; color: var(--blanc); margin-bottom: 70px !important; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: 30px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-logo img { width: 150px !important; height: auto !important; }
.f-title { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--balle); margin-bottom: 10px !important; }
.footer p { line-height: 1.7; }
.footer a:hover { color: var(--balle); }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 60px !important; font-size: .82rem; color: var(--muted); }
.credit a { color: #CB6CE6; font-weight: 700; }
.credit em { font-style: normal; color: #CB6CE6; display: inline-block; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* =================================================================
   Pages intérieures
   ================================================================= */
.page-hero { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; min-height: 82vh;
  padding: 150px var(--gutter) 90px; background: radial-gradient(1000px 600px at 90% 0%, var(--nuit-2), var(--nuit) 65%); color: var(--blanc); overflow: hidden; }
.page-hero-slim { min-height: 0; grid-template-columns: 1fr; padding-bottom: 80px; }
.mega-page { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(3.6rem, 8.4vw, 8.4rem); line-height: .9; margin: 16px 0 26px !important; color: var(--blanc); }
.page-hero .lead { max-width: 46ch; margin-bottom: 28px !important; }
.ph-img { position: relative; transform: rotate(3deg); }
.ph-img img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--r); box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.ph-img::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 150px; height: 150px; border-radius: 50%; background: url(img/balle-curseur.svg) center / cover; }

.courts { padding: 130px var(--gutter); background: var(--gris); }
.court-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px !important; }
.court { background: var(--blanc); border-radius: var(--r); overflow: hidden; }
.court:nth-child(even) { margin-top: 60px !important; }
.court img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.court-body { padding: 18px 20px 22px; }
.court-label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--court); }
.court h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.7rem; line-height: 1; margin-top: 6px !important; color: var(--encre); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 130px var(--gutter); background: var(--blanc); }
.split-dark { background: var(--nuit); color: var(--blanc); }
.split .big { margin: 12px 0 22px !important; font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.split .lead { max-width: 44ch; margin-bottom: 26px !important; }
.split-img img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--r); box-shadow: 0 40px 60px -30px rgba(10,21,48,.5); }
.split-img.poster img { height: auto; }
.tilt { transform: rotate(2.5deg); } .tilt-left { transform: rotate(-2.5deg); }
.price-lines { list-style: none; margin: 0 0 28px !important; max-width: 460px; }
.price-lines li { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid #dfe4ec; font-size: 1.05rem; }
.price-lines strong { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--court); }
.hours { margin-top: 10px !important; font-size: 1.1rem; }
.hours strong { display: block; font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--balle); text-transform: uppercase; }

.objections { padding: 130px var(--gutter); background: var(--nuit); }
.obj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 50px !important; }
.obj { background: var(--nuit-2); border-radius: var(--r); padding: 34px 36px; color: #c9d2e3; font-size: 1.05rem; line-height: 1.6; }
.obj:nth-child(2) { background: var(--balle); color: var(--encre); transform: rotate(-1.5deg); }
.obj .q { font-family: var(--display); font-size: 2.1rem; line-height: 1.05; text-transform: uppercase; color: var(--blanc); margin-bottom: 12px !important; }
.obj:nth-child(2) .q { color: var(--encre); }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--balle); color: var(--encre); }
.fact { padding: 50px 32px; border-right: 2px solid rgba(0,0,0,.12); font-weight: 600; }
.fact-num { font-family: var(--display); font-weight: 400; font-size: 3.6rem; line-height: 1; text-transform: uppercase; margin-bottom: 8px !important; }
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; padding: 0 var(--gutter) 120px; background: var(--blanc); }
.gallery figure { border-radius: var(--r); overflow: hidden; }
.gallery img { width: 100%; height: 420px; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figure:nth-child(2) { margin-top: 50px !important; }
.note-band { padding: 26px var(--gutter); background: var(--nuit); color: #c9d2e3; font-weight: 500; }

.events { padding: 140px var(--gutter) 120px; background: var(--gris); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 50px 0 40px !important; }
.event, .news-item { background: var(--blanc); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.event img { width: 100%; height: 260px; object-fit: cover; }
.event-body, .news-body { padding: 22px 24px 26px; }
.event-tag { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--court); }
.event h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: 1.8rem; line-height: 1.05; margin: 6px 0 8px !important; color: var(--encre); }
.event p, .news-item p { color: #4a5568; }
.e-big { grid-column: span 2; grid-row: span 2; }
.e-big figure { flex: 1 1 auto; display: flex; }
.e-big img { height: auto; min-height: 420px; }

.menu-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 120px var(--gutter); background: var(--gris); }
.mw { position: relative; border-radius: var(--r); overflow: hidden; }
.mw img { width: 100%; height: 420px; object-fit: cover; }
.mw:nth-child(odd) { transform: translateY(40px); }
.mw figcaption { position: absolute; left: 18px; bottom: 14px; font-family: var(--display); font-size: 2.2rem; text-transform: uppercase; color: var(--blanc); text-shadow: 0 2px 16px rgba(0,0,0,.5); }

.formules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 120px var(--gutter); background: var(--gris); }
.formule { background: var(--blanc); border-radius: var(--r); padding: 32px 28px; line-height: 1.6; }
.formule:nth-child(2) { background: var(--nuit); color: #c9d2e3; }
.formule:nth-child(2) h3 { color: var(--blanc); }
.formule .n { font-family: var(--display); font-size: 3rem; line-height: 1.2; color: var(--court); }
.formule:nth-child(2) .n { color: var(--balle); }
.formule h3 { font-family: var(--display); font-weight: 400; font-size: 1.9rem; text-transform: uppercase; margin: 10px 0 !important; color: var(--encre); line-height: 1.05; }

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 100px var(--gutter) 130px; background: var(--gris); }
.news-item img { width: 100%; height: 240px; object-fit: cover; }
.news-item h2 { font-size: 1.3rem; font-weight: 800; line-height: 1.25; margin: 10px 0 8px !important; color: var(--encre); }
.news-item p { line-height: 1.55; }
.news-item .link-under { margin-top: 14px !important; }
.tag { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; background: var(--balle); color: var(--encre) !important; padding: 5px 10px; border-radius: 999px; }
.news-big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.news-big img { height: 100%; min-height: 360px; }
.news-big h2 { font-family: var(--display); font-weight: 400; font-size: 2.6rem; text-transform: uppercase; line-height: 1; }
.news-big .news-body { align-self: center; padding: 36px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 110px var(--gutter); background: var(--gris); }
.contact-info { display: grid; gap: 30px; align-content: start; }
.info h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; text-transform: uppercase; color: var(--court); margin-bottom: 6px !important; }
.info p { font-size: 1.15rem; line-height: 1.6; color: var(--encre); }
.contact-form, .contact-form-wrap .wpcf7-form { background: var(--blanc); border-radius: var(--r); padding: 36px; display: grid; gap: 18px; }
.contact-form label, .wpcf7-form label { display: grid; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--encre); }
.contact-form input, .contact-form select, .contact-form textarea,
.wpcf7-form input:not([type=submit]), .wpcf7-form select, .wpcf7-form textarea { width: 100%; font: inherit; font-weight: 400; padding: 14px 16px; border: 1.5px solid #d4dae5; border-radius: 12px; background: var(--gris); }
.wpcf7-form-control-wrap { display: block; }
.btn-envoyer, .wpcf7-submit { justify-self: start; padding: .95em 1.6em; border: 0; border-radius: 999px; background: var(--encre); color: var(--blanc); font: inherit; font-weight: 700; }
.wpcf7-spinner { display: none; }
.wpcf7-not-valid-tip { color: #c0392b; font-size: .85rem; margin-top: 4px; }
.wpcf7-response-output { margin: 0 !important; border-radius: 12px; }

.legal-text { padding: 90px max(32px, calc((100vw - 900px) / 2)) 120px; background: var(--blanc); }
.legal-text h2 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; text-transform: uppercase; margin: 34px 0 10px !important; color: var(--encre); }
.legal-text p { line-height: 1.7; color: #4a5568; }

.cta-band { padding: 110px var(--gutter); background: var(--balle); text-align: center; }
.cta-band .big { font-size: clamp(3rem, 8vw, 7rem); }
.cta-band p { font-size: 1.15rem; margin: 14px 0 6px !important; }
.cta-band .stores { justify-content: center; }

/* =================================================================
   Articles de blog
   ================================================================= */
.post { background: var(--blanc); }
.post-hero { padding: 160px max(32px, calc((100vw - 980px) / 2)) 70px; background: radial-gradient(900px 500px at 90% 0%, var(--nuit-2), var(--nuit) 65%); color: var(--blanc); }
.post-hero .tag a, .article-card .tag a { color: inherit; }
.mega-post { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.6rem, 5.4vw, 5rem); line-height: .98; margin: 18px 0 20px !important; color: var(--blanc); text-wrap: balance; }
.post-date { color: var(--muted); font-size: .95rem; }
.post-cover { max-width: 1080px; margin: -40px auto 0 !important; padding: 0 32px; position: relative; z-index: 2; }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--r); box-shadow: 0 40px 70px -35px rgba(10,21,48,.55); }
.post-body { max-width: 760px; margin: 0 auto; padding: 60px 32px 30px; font-size: 1.12rem; line-height: 1.75; color: #2b3445; }
.post-body > * + * { margin-top: 1.1em !important; }
.post-body .chapo { font-size: 1.3rem; line-height: 1.6; color: var(--encre); font-weight: 500; }
.post-body h2 { font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; color: var(--encre); margin-top: 1.9em !important; }
.post-body a { color: var(--court); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.post-body ul { padding-left: 1.2em; }
.post-body li + li { margin-top: .5em; }
.post-body li::marker { color: var(--court); }
.post-body strong { color: var(--encre); }
.post-faq { margin-top: 2.4em !important; padding: 30px 32px; background: var(--gris); border-radius: var(--r); }
.post-faq h2 { margin-top: 0 !important; }
.post-faq details { border-bottom: 1px solid #d4dae5; padding: 16px 0; }
.post-faq summary { font-weight: 700; color: var(--encre); list-style: none; }
.post-faq summary::-webkit-details-marker { display: none; }
.post-faq details p { margin-top: 8px !important; font-size: 1.02rem; }
.post-cta { margin-top: 2.4em !important; padding: 36px; background: var(--balle); border-radius: var(--r); color: var(--encre); }
.post-cta h2 { margin-top: 0 !important; }
.post-cta p { margin: 10px 0 20px !important; }
.post-cta .wp-block-button__link { text-decoration: none; color: var(--blanc) !important; }
.post-back { max-width: 760px; margin: 0 auto; padding: 10px 32px 110px; }
.post-back a { text-decoration: none; }

.articles { padding: 20px var(--gutter) 130px; background: var(--gris); }
.articles .big { font-size: clamp(2.2rem, 4.4vw, 4rem); margin-bottom: 40px !important; }
.articles-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; }
.article-card { background: var(--blanc); border-radius: var(--r); overflow: hidden; height: 100%; padding-bottom: 24px; }
.article-card .wp-block-post-featured-image { margin: 0; }
.article-card .wp-block-post-featured-image img { width: 100%; height: 220px; object-fit: cover; }
.article-card .tag { margin: 18px 24px 0 !important; }
.article-card .wp-block-post-title { font-size: 1.25rem; font-weight: 800; line-height: 1.25; margin: 10px 24px 8px !important; color: var(--encre); }
.article-card .wp-block-post-excerpt { margin: 0 24px !important; color: #4a5568; line-height: 1.55; }
.article-card .wp-block-post-excerpt__more-text { display: none; }

/* ---------- Apparitions au défilement ---------- */
.reveal { opacity: 0; translate: 0 40px; transition: opacity .8s, translate .8s, transform .4s, color .2s, padding .3s; }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- Mobile ---------- */
@media (max-width: 960px) {
  .nav { padding-left: 16px; }
  .nav-logo img { height: 36px !important; }
  .wp-block-button.btn .wp-block-button__link { padding: .8em 1.1em; font-size: .85rem; }
  .burger { display: block; }
  .nav nav.nav-links { display: none; position: absolute; left: 0; right: 0; top: 74px; padding: 14px 22px 22px; border-radius: 24px; background: var(--nuit); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
  .menu-open .nav nav.nav-links { display: block; }
  .nav .nav-links .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 0; }
  .nav .nav-links .wp-block-navigation-item__content { display: block; padding: 8px 0; font-family: var(--display); font-size: 2rem; text-transform: uppercase; }
  .admin-bar .nav { top: 62px; }

  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero-mosaic { height: 460px; }
  .t-video { width: 52%; height: 400px; top: 0; }
  .t-smash { left: 56%; width: 44%; height: 190px; }
  .t-bar, .t-p500 { display: none; }
  .t-squash { left: 56%; top: 205px; width: 44%; height: 195px; }
  .sticker { left: auto; right: 4%; top: 360px; width: 96px; height: 96px; font-size: 1.6rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .debuter-body, .commu, .faq, .autonome, .bar, .split, .contact { grid-template-columns: 1fr; }
  .price-card { position: relative; left: 0; bottom: 0; width: 100%; margin-top: -40px !important; }
  .dv-photo img { height: 380px; }
  .club-head { flex-direction: column; align-items: flex-start; }
  .club-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .c-padel, .c-squash, .c-tournois, .c-ecole, .c-bar, .c-pro { grid-column: auto; grid-row: span 1; }
  .c-padel { grid-column: 1 / -1; grid-row: span 2; }
  .card figcaption strong { font-size: 1.6rem; }
  .phone { width: 240px; height: 480px; }
  .tarifs { grid-template-columns: 1fr; }
  .tarif-link { padding: 40px; }
  .polaroids { height: 460px; }
  .bar-text { padding: 70px 24px; }
  .bar-side { display: none; }
  .bar-img img { height: 360px; }
  .partner-list li { flex-direction: column; gap: 6px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { grid-template-columns: 1fr; padding-top: 130px; min-height: 0; }
  .ph-img img { height: 340px; }
  .ph-img::after { width: 90px; height: 90px; right: -16px; bottom: -16px; }
  .court-list, .event-grid, .news, .formules, .obj-grid, .gallery { grid-template-columns: 1fr; }
  .court:nth-child(even), .gallery figure:nth-child(2) { margin-top: 0 !important; }
  .split, .contact { gap: 40px; padding-top: 90px; padding-bottom: 90px; }
  .split-img img { height: 380px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { padding: 32px 22px; } .fact-num { font-size: 2.6rem; }
  .menu-wall { grid-template-columns: 1fr 1fr; }
  .mw img { height: 260px; } .mw:nth-child(odd) { transform: none; }
  .e-big, .news-big { grid-column: auto; grid-row: auto; grid-template-columns: 1fr; }
  .e-big img { min-height: 260px; } .news-big img { min-height: 240px; }
  .gallery img { height: 300px; }
  .articles-grid { grid-template-columns: 1fr; }
  .post-hero { padding-top: 130px; }
  .post-cover { padding: 0 16px; }
  .post-body { padding: 44px 20px 20px; font-size: 1.05rem; }
  .post-faq, .post-cta { padding: 24px 20px; }
}
