/* ==========================================================================
   Plugin.ch — site vitrine
   ========================================================================== */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --brand: #0e70b1;
  --brand-2: #1590df;
  --brand-ink: #0a4f80;
  --accent: #22c55e;
  --warm: #f59e0b;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-card: #ffffff;
  --ink: #0b1a2b;
  --ink-2: #44546a;
  --ink-3: #566479;
  --line: #e3eaf2;
  --ring: rgba(14, 112, 177, .35);
  --shadow-sm: 0 1px 2px rgba(11, 26, 43, .06), 0 1px 3px rgba(11, 26, 43, .05);
  --shadow: 0 10px 30px -12px rgba(11, 26, 43, .18), 0 4px 10px -6px rgba(11, 26, 43, .08);
  --shadow-lg: 0 40px 80px -30px rgba(11, 26, 43, .35), 0 12px 30px -12px rgba(11, 26, 43, .18);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1200px;
  --header-h: 72px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1220; --bg-soft: #0f1829; --bg-card: #121d31;
    --ink: #e8eef7; --ink-2: #b2c0d4; --ink-3: #8696ad; --line: #1f2c44;
    --brand: #3b9ee6; --brand-2: #5cb3f0; --brand-ink: #9fd0f5;
    --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.8);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1220; --bg-soft: #0f1829; --bg-card: #121d31;
  --ink: #e8eef7; --ink-2: #b2c0d4; --ink-3: #8696ad; --line: #1f2c44;
  --brand: #3b9ee6; --brand-2: #5cb3f0; --brand-ink: #9fd0f5;
  --shadow: 0 10px 30px -12px rgba(0,0,0,.6); --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; }
picture img { width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 750; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3, .h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding: 0; margin: 0; list-style: none; }
address { font-style: normal; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.mt { margin-top: 2rem; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; color: #fff; }
.ic { flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.2em; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95em 1.5em; font-size: 1.02rem; }
.btn-sm { padding: .45em .9em; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 8px 20px -8px rgba(14,112,177,.6); }
.btn-primary:hover { color: #fff; box-shadow: 0 12px 26px -8px rgba(14,112,177,.7); }
.btn-ghost { background: var(--bg-card); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.btn-white { background: #fff; color: #0a4f80; }
.btn-white:hover { color: #0e70b1; }
.btn-outline-white { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { color: #fff; background: rgba(255,255,255,.1); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.center-row { justify-content: center; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(11,26,43,.4); }
.header-in { height: 100%; display: flex; align-items: center; gap: 20px; width: min(1400px, 100% - 32px); }
.brand { color: var(--ink); display: inline-flex; }
.brand:hover { color: var(--ink); }
.logo { display: inline-flex; }
.logo img { height: 30px; width: auto; }
.logo .logo-d { display: none; }
:root[data-theme="dark"] .logo .logo-l { display: none; }
:root[data-theme="dark"] .logo .logo-d { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .logo .logo-l { display: none; } :root:not([data-theme]) .logo .logo-d { display: block; } }
.nav { flex: 1; display: flex; align-items: center; gap: 16px; }
.nav ul { display: flex; gap: 2px; margin-inline: auto; }
.nav ul a { white-space: nowrap; color: var(--ink-2); font-weight: 550; font-size: .92rem; padding: 8px 10px; border-radius: 999px; }
.nav ul a:hover, .nav ul a[aria-current] { color: var(--ink); background: var(--bg-soft); }
.nav ul a[aria-current] { color: var(--brand); }
.nav-actions { display: flex; gap: 8px; flex: none; }
.nav-actions .btn { padding: .6em 1.05em; }
.header-tools { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-card); color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { color: var(--brand); }
.theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .theme-toggle .i-sun { display: none; } :root:not([data-theme]) .theme-toggle .i-moon { display: block; } }
.menu-btn { display: none; }
.only-menu { display: none; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-card); cursor: pointer; font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: 48px; min-width: 170px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
.lang a { display: block; padding: 8px 12px; border-radius: 9px; color: var(--ink); }
.lang a:hover { background: var(--bg-soft); }
.lang a[aria-current] { color: var(--brand); font-weight: 650; }

@media (max-width: 1290px) {
  .menu-btn { display: inline-grid; }
  .only-menu { display: inline-flex; }
  .login-btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px;
    background: var(--bg); padding: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100dvh - var(--header-h)); overflow: auto;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; margin: 0; }
  .nav ul a { display: block; padding: 12px 14px; font-size: 1.05rem; }
  .nav-actions { flex-direction: column; }
  .header-tools { margin-left: auto; }
}

/* ---------- Typo de section ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--brand); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }
.lead-sm { font-size: 1.08rem; color: var(--ink-2); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.tinted { background: var(--bg-soft); }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--ink-2); }
.section-head .ic-badge { margin-inline: auto; }
.note { background: color-mix(in srgb, var(--warm) 14%, var(--bg-card)); border: 1px solid color-mix(in srgb, var(--warm) 35%, var(--line)); padding: 10px 14px; border-radius: 12px; font-size: .92rem; color: var(--ink-2); max-width: 70ch; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 60% at 85% 10%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 70%),
    radial-gradient(40% 50% at 5% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(70% 60% at 70% 20%, #000, transparent 75%);
}
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 span { background: linear-gradient(120deg, var(--brand), var(--brand-2) 50%, #22c3a6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { font-size: .82rem; font-weight: 600; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: var(--bg-card); border: 1px solid var(--line); }
.hero-visual { position: relative; padding-bottom: 40px; }
.device-browser { margin: 0; border-radius: 14px; overflow: hidden; background: var(--bg-card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: perspective(1800px) rotateY(-6deg) rotateX(2deg); transform-origin: left center; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar span:nth-child(2) { background: #febc2e; } .browser-bar span:nth-child(3) { background: #28c840; }
.browser-bar em { margin: 0 auto; font-style: normal; font-size: .72rem; color: var(--ink-3); background: var(--bg-card); padding: 2px 40px; border-radius: 6px; }
.device-phone { margin: 0; width: 26%; min-width: 130px; border-radius: 28px; padding: 7px; background: #0b1220; box-shadow: var(--shadow-lg); }
.device-phone img { border-radius: 22px; }
.hero-visual .device-phone { position: absolute; right: -2%; bottom: 0; }

/* ---------- Chiffres ---------- */
.stats-band { border-block: 1px solid var(--line); background: var(--bg-card); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 16px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { color: var(--ink-3); font-size: .92rem; }

/* ---------- Grilles ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why, .tile, .card, .mode {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.why p, .tile p, .card p, .mode p { color: var(--ink-2); font-size: .95rem; margin: 0; }
a.card { color: inherit; display: block; }
a.card:hover, .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.ic-badge { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; margin-bottom: 16px; color: var(--brand); background: color-mix(in srgb, var(--brand) 12%, transparent); }
.card-accent { background: linear-gradient(150deg, var(--brand), var(--brand-2)); color: #fff; border: 0; }
.card-accent p, .card-accent a, .card-accent .more { color: rgba(255,255,255,.92); }
.card-accent .ic-badge { background: rgba(255,255,255,.18); color: #fff; }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 650; color: var(--brand); }
.big { font-size: 1.4rem !important; font-weight: 700; color: var(--ink) !important; }

/* ---------- Vitrines (texte + capture) ---------- */
.showcase-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.reverse .showcase-in, .showcase-in.reverse { grid-template-columns: 1.1fr .9fr; }
.reverse .showcase-in > :first-child, .showcase-in.reverse > :first-child { order: 2; }
.showcase-copy p { color: var(--ink-2); font-size: 1.05rem; }
.checks { display: grid; gap: 10px; margin-top: 18px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .97rem; }
.checks .ic { color: var(--accent); margin-top: 3px; }
.shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: var(--bg-card); }
.wide-shot { margin-bottom: 48px; }
.shot-dark { margin-top: 48px; }

/* ---------- Mobile ---------- */
.mobile-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.phones { display: flex; justify-content: center; gap: 0; }
.phones .device-phone { width: 46%; max-width: 250px; }
.phones .tilt-l { transform: rotate(-5deg) translateY(10px); z-index: 1; }
.phones .tilt-r { transform: rotate(4deg) translateX(-14%) translateY(-18px); }
.stores { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.stores img { height: 42px; width: auto; }

/* ---------- Bento modules ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.bento .tile:nth-child(1), .bento .tile:nth-child(4), .bento .tile:nth-child(11), .bento .tile:nth-child(12) { grid-column: span 2; background: linear-gradient(160deg, color-mix(in srgb, var(--brand) 8%, var(--bg-card)), var(--bg-card)); }
.tile h3 { font-size: 1.05rem; margin-bottom: .35em; }

/* ---------- Promo duo ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 440px; border-radius: 24px; overflow: hidden; color: #fff; isolation: isolate; }
.promo picture { position: absolute; inset: 0; z-index: -2; }
.promo-img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.promo:hover .promo-img { transform: scale(1.04); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5,20,40,.05) 20%, rgba(5,20,40,.88) 75%); }
.promo-padel picture img { object-position: left top; }
.promo-txt { padding: 28px; }
.promo-txt h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); color: #fff; }
.promo-txt p { color: rgba(255,255,255,.85); }
.promo .more { color: #fff; }
.tag { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); margin-bottom: 12px; }

/* ---------- Témoignages ---------- */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testi { margin: 0; display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.testi .q { color: var(--brand); opacity: .5; margin-bottom: 10px; }
.testi blockquote { margin: 0 0 20px; flex: 1; color: var(--ink-2); font-size: .98rem; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi small { display: block; color: var(--ink-3); }
.avatar { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #22c3a6); color: #fff; font-weight: 700; font-size: .85rem; }

/* ---------- Clubs ---------- */
.clients { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.club-cloud { display: flex; flex-wrap: wrap; gap: 8px; mask-image: linear-gradient(180deg, #000 60%, transparent); }
.club-cloud li { font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: var(--bg-card); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; margin-top: 32px; }
.faq details { background: var(--bg-card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 650; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding-bottom: 12px; }

/* ---------- Bandeau CTA ---------- */
.cta-band { padding: 0 0 clamp(64px, 9vw, 110px); }
.tinted + .cta-band { padding-top: clamp(64px, 9vw, 110px); }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: #fff; background: radial-gradient(80% 120% at 100% 0%, #22c3a6 0%, transparent 50%), linear-gradient(135deg, #0a4f80, #0e70b1 55%, #1590df); box-shadow: var(--shadow-lg); }
.cta-in h2 { color: #fff; margin-bottom: .3em; }
.cta-in p { color: rgba(255,255,255,.85); margin: 0; max-width: 52ch; }

/* ---------- En-tête de page ---------- */
.page-head { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 56px); overflow: hidden; }
.page-head h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 20ch; }
.page-head.center h1, .page-head.center .lead { margin-inline: auto; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--ink-3); margin-bottom: 18px; }
.crumbs a { color: var(--ink-3); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.toc a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-card); color: var(--ink-2); font-size: .9rem; font-weight: 550; }
.toc a:hover { color: var(--brand); }
.pill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-top: 28px; }
.pill-grid li { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-card); color: var(--ink-2); font-size: .95rem; }
.pill-grid .ic { color: var(--accent); }

/* ---------- Padel ---------- */
.padel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.padel-grid .card h2 { margin-bottom: .5em; }
.links { display: grid; gap: 10px; margin-top: 12px; }
.links a { display: flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; }

/* ---------- Matériel ---------- */
.gallery { display: grid; gap: 12px; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-card); box-shadow: var(--shadow-sm); }
.gallery picture { height: 100%; }
.gallery img { height: 100%; width: 100%; object-fit: cover; }
.g-kiosk { grid-template-columns: repeat(4, 1fr); }
.g-kiosk .g-wide { grid-column: span 4; aspect-ratio: 16/8; }
.g-kiosk figure:not(.g-wide) { aspect-ratio: 3/4.6; }
.g-3 { grid-template-columns: .8fr 1fr 1fr; align-items: stretch; }
.g-2 { grid-template-columns: 1fr 1fr; }
.g-2 .g-wide { grid-column: span 2; }
.card-photo { background: #fff !important; padding: 8px; }
.card-photo img { object-fit: contain; }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mode .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 750; margin-bottom: 12px; }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; margin-bottom: 20px; }
.plan { position: relative; background: var(--bg-card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan.popular { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.plan h2 { font-size: 1.35rem; margin-bottom: .2em; }
.plan-tag { color: var(--ink-3); font-size: .9rem; }
.price { margin: 8px 0 18px; }
.price strong { font-size: 1.7rem; letter-spacing: -.03em; }
.price span { color: var(--ink-3); font-size: .85rem; }
.plan .checks { margin: 0 0 24px; flex: 1; gap: 8px; }
.plan .checks li { font-size: .88rem; }
.plan .checks li.limit { font-weight: 650; color: var(--ink); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-card); margin-top: 32px; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .93rem; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare thead th { position: sticky; top: 0; background: var(--bg-soft); font-size: .9rem; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--ink-2); }
.compare .yes { color: var(--accent); display: inline-flex; }
.compare .no { color: var(--ink-3); }
.compare tr.limits td { font-weight: 650; font-size: .85rem; }
.options { display: grid; gap: 10px; }
.options li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-card); }
.options li span { display: flex; gap: 10px; color: var(--ink-2); }
.options .ic { color: var(--warm); margin-top: 3px; }
.options strong { white-space: nowrap; color: var(--brand); }

/* ---------- Où jouer ---------- */
.where-in { display: grid; grid-template-columns: 380px 1fr; gap: 20px; }
.where-side { display: flex; flex-direction: column; min-height: 0; }
.search { display: flex; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-card); color: var(--ink-3); }
.search input { flex: 1; border: 0; background: transparent; padding: 12px 0; font: inherit; color: var(--ink); outline: none; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; }
.chip { font: inherit; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-card); color: var(--ink-2); cursor: pointer; }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.club-list { overflow: auto; max-height: 620px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-card); }
.club-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.club-list li:hover, .club-list li.active { background: var(--bg-soft); }
.club-list li[hidden] { display: none; }
.club-list strong { display: block; font-size: .95rem; }
.club-list small { color: var(--ink-3); font-size: .8rem; }
.tags { display: flex; gap: 4px; margin-top: 4px; }
.tags em { font-style: normal; font-size: .7rem; font-weight: 650; padding: 2px 7px; border-radius: 6px; background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand-ink); }
.map-box { position: sticky; top: calc(var(--header-h) + 16px); height: 720px; }
.map { height: 100%; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-soft); }
.map-consent { height: 100%; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; color: var(--ink-2); background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--brand) 10%, transparent), transparent); }
.map-consent .ic { color: var(--brand); }
.leaflet-popup-content { font: 14px/1.4 "Inter", system-ui, sans-serif; }
.leaflet-popup-content strong { display: block; margin-bottom: 4px; }

/* ---------- Partenaires ---------- */
.partners { display: grid; gap: 20px; }
.partner { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; padding: 28px; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.partner-logo { display: grid; place-items: center; height: 120px; padding: 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.partner-logo img { max-height: 88px; width: auto; height: auto; object-fit: contain; }
.partner p { color: var(--ink-2); }
.partner-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.coupon { font-size: .9rem; color: var(--ink-2); }
.coupon code { font: 700 .95rem/1 ui-monospace, monospace; padding: 6px 10px; border-radius: 8px; border: 1px dashed var(--brand); color: var(--brand); margin-left: 6px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }

/* ---------- Aide ---------- */
.help-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.video { margin: 0; }
.video figcaption { font-weight: 650; margin-top: 10px; }
.yt, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16/9; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: pointer; background: #000; box-shadow: var(--shadow); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .2s; }
.yt:hover img { opacity: 1; }
.yt .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: rgba(14,112,177,.92); color: #fff; }

/* ---------- Contact ---------- */
.contact-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-cards address { color: var(--ink-2); }
.form { display: grid; gap: 16px; padding: clamp(24px, 4vw, 36px); }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--ring); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex !important; grid-template-columns: none; gap: 10px !important; align-items: flex-start; font-weight: 400 !important; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); }
.form button { justify-self: start; }
.alert { padding: 12px 14px; border-radius: 12px; margin: 0; }
.alert.ok { background: color-mix(in srgb, var(--accent) 14%, var(--bg-card)); color: var(--ink); }
.alert.err { background: color-mix(in srgb, #ef4444 14%, var(--bg-card)); color: var(--ink); }

/* ---------- Textes juridiques ---------- */
.prose { color: var(--ink-2); }
.prose h2 { font-size: 1.4rem; color: var(--ink); margin-top: 2em; }
.prose h3 { font-size: 1.1rem; color: var(--ink); margin-top: 1.5em; }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding-top: 64px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-brand p { color: var(--ink-2); margin-top: 14px; max-width: 34ch; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--brand); }
.site-footer address { color: var(--ink-2); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg-card); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 24px 0 32px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom .small { flex-basis: 100%; }

/* ---------- Animations ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .device-browser { transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-in, .split, .showcase-in, .reverse .showcase-in, .showcase-in.reverse, .mobile-in, .clients, .contact-in, .where-in { grid-template-columns: 1fr; }
  .reverse .showcase-in > :first-child, .showcase-in.reverse > :first-child { order: 0; }
  .device-browser { transform: none; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .plan.popular { transform: none; }
  .padel-grid, .help-cards, .videos { grid-template-columns: repeat(2, 1fr); }
  .modes { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .map-box { position: relative; top: 0; height: 460px; order: -1; }
  .club-list { max-height: 420px; }
  .partner { grid-template-columns: 1fr; }
  .partner-logo { max-width: 260px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .why-grid, .bento, .duo, .testimonials, .pricing, .padel-grid, .help-cards, .videos, .modes, .row2 { grid-template-columns: 1fr; }
  .bento .tile:nth-child(n) { grid-column: auto; }
  .g-kiosk { grid-template-columns: 1fr 1fr; }
  .g-kiosk .g-wide { grid-column: span 2; }
  .g-3 { grid-template-columns: 1fr 1fr; }
  .g-3 figure:first-child { grid-row: span 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .promo { min-height: 380px; }
  .cta-row .btn { flex: 1 1 100%; }
  .header-tools .theme-toggle { display: none; }
  .logo img { height: 24px; }
  .hero-visual .device-phone { width: 30%; right: 0; }
}
