/* =========================================================
   AS Cavaillon TT — feuille de style
   Design system : bleu marine "table" + orange "balle"
   ========================================================= */

:root {
  --navy-950: #060f26;
  --navy-900: #0a1b3d;
  --navy-800: #12224a;
  --navy-700: #1b3168;
  --blue-500: #1e63d6;
  --blue-400: #3b82f6;

  --orange: #ec5a2a;
  --orange-soft: #ff7a3c;
  --amber: #f4b23e;

  --ink: #0e1526;
  --muted: #5b6577;
  --muted-light: #aeb8ca;
  --line: #e7ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --bg-soft-2: #eef2fa;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(14,21,38,.06), 0 4px 14px rgba(14,21,38,.05);
  --shadow-md: 0 10px 30px rgba(12,26,64,.10);
  --shadow-lg: 0 24px 60px rgba(12,26,64,.16);

  --container: 1160px;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.02em; font-weight: 800; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--orange-soft), var(--orange));
  color: #fff; box-shadow: 0 8px 22px rgba(236,90,42,.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(236,90,42,.42); }

.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--navy-900); background: var(--bg-soft); transform: translateY(-2px); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.7); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(12,26,64,.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo { display: inline-grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(10,27,61,.18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.06rem; font-weight: 800; letter-spacing: -.02em; color: var(--navy-900); }
.brand-text em { font-style: normal; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--orange); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a {
  padding: 9px 14px; border-radius: 10px; font-weight: 500; font-size: .96rem; color: #33405a;
  transition: background .15s ease, color .15s ease;
}
.main-nav > a:hover { background: var(--bg-soft-2); color: var(--navy-900); }
.main-nav > a.active { color: var(--navy-900); font-weight: 600; }
.nav-cta { margin-left: 8px; }
.nav-cta:hover { background: linear-gradient(135deg, var(--orange-soft), var(--orange)); color: #fff; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px; border-radius: 10px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--navy-900); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; padding-top: 40px; overflow: hidden;
  background: radial-gradient(1200px 600px at 78% -8%, #1c3f8f 0%, transparent 55%), linear-gradient(160deg, var(--navy-900) 0%, var(--navy-950) 100%); }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(1000px 520px at 20% 0%, #000 30%, transparent 75%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px;
  padding-block: 54px 34px;
}
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--amber); background: rgba(244,178,62,.12); border: 1px solid rgba(244,178,62,.25);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.hero-copy h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 800; }
.grad { background: linear-gradient(100deg, var(--amber), var(--orange-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { margin-top: 20px; font-size: 1.14rem; color: #cdd7ea; max-width: 40ch; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div { position: relative; padding-right: 30px; }
.hero-stats div:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(255,255,255,.15); }
.hero-stats dt { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; background: linear-gradient(120deg,#fff,#c7d5f2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats dd { font-size: .84rem; color: var(--muted-light); text-transform: uppercase; letter-spacing: .08em; }

.hero-art { position: relative; display: grid; place-items: center; }
.art-svg { width: 100%; max-width: 460px; filter: drop-shadow(0 30px 60px rgba(0,0,0,.4)); animation: floaty 6s ease-in-out infinite; will-change: transform; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .art-svg { animation: none; } }

/* ---------- Partenaires ---------- */
.partners {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  padding-block: 26px; margin-top: 8px;
  border-top: 1px solid rgba(255,255,255,.10);
}
.partners-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-light); }
.partners-list { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 34px; padding: 0; }
.partners-list li { font-weight: 700; color: rgba(255,255,255,.72); letter-spacing: .01em; font-size: 1.02rem; }

/* ---------- Sections ---------- */
.section { padding-block: 88px; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { color: var(--orange); background: rgba(236,90,42,.08); border-color: rgba(236,90,42,.18); }
.eyebrow-light { color: var(--amber) !important; background: rgba(244,178,62,.14) !important; border-color: rgba(244,178,62,.28) !important; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: var(--navy-900); }
.section-sub { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

/* ---------- Le club (features) ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d3dcec; }
.feature-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-soft-2), #fff); font-size: 1.5rem; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.feature h3 { font-size: 1.16rem; color: var(--navy-900); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .96rem; }

/* ---------- Cartes formules ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-featured { border: 1.5px solid transparent; background:
  linear-gradient(#fff,#fff) padding-box,
  linear-gradient(135deg, var(--orange-soft), var(--amber)) border-box; box-shadow: var(--shadow-md); }
.card-flag { position: absolute; top: -12px; right: 18px; background: linear-gradient(135deg, var(--orange-soft), var(--orange));
  color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-emoji { font-size: 1.8rem; }
.card-age { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-500); background: #eaf1ff; padding: 5px 10px; border-radius: 999px; }
.card h3 { font-size: 1.25rem; color: var(--navy-900); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card-price { margin-top: 16px; font-size: 1.7rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.02em; }
.card-price span { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }

.options { margin-top: 30px; background: #fff; border: 1px dashed #cdd7ea; border-radius: var(--radius); padding: 24px 26px; }
.section-alt .options { background: #fff; }
.options-title { font-weight: 700; color: var(--navy-900); margin-bottom: 12px; }
.options-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.options-list li { position: relative; padding-left: 26px; color: var(--muted); font-size: .96rem; }
.options-list li::before { content: "🏓"; position: absolute; left: 0; top: 0; font-size: .95rem; }
.options-list strong { color: var(--navy-900); }

/* ---------- Horaires ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.timetable { width: 100%; border-collapse: collapse; min-width: 560px; }
.timetable thead th { background: var(--navy-900); color: #fff; text-align: left; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; padding: 15px 20px; font-weight: 600; }
.timetable tbody th, .timetable tbody td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: middle; }
.timetable tbody th { font-weight: 700; color: var(--navy-900); text-align: left; }
.timetable tbody td { color: var(--muted); }
.timetable tbody tr:hover { background: var(--bg-soft); }
.slot { display: inline-block; background: #eef2fa; color: #2b3a58; font-weight: 600; font-size: .88rem; padding: 5px 12px; border-radius: 8px; margin: 3px 6px 3px 0; }
.slot-match { background: rgba(236,90,42,.10); color: var(--orange); }
.row-match th { color: var(--orange); }
.table-note { text-align: center; margin-top: 18px; color: var(--muted); font-size: .92rem; }
.table-note a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Tarifs ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 20px; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card h3 { font-size: 1.02rem; color: var(--navy-900); }
.pc-age { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.pc-amount { margin-top: 12px; font-size: 1.7rem; font-weight: 800; color: var(--orange); letter-spacing: -.02em; }
.price-card-hl { background: linear-gradient(160deg, var(--navy-900), var(--navy-800)); border-color: transparent; }
.price-card-hl h3 { color: #fff; }
.price-card-hl .pc-age { color: var(--muted-light); }
.price-card-hl .pc-amount { color: var(--amber); }

.tarif-cta { margin-top: 34px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.tarif-cta p { color: var(--navy-900); font-weight: 500; }

/* ---------- Compétitions ---------- */
.comp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.comp-card { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.comp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.comp-day { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; font-weight: 800; letter-spacing: .04em; font-size: 1rem; }
.comp-card h3 { font-size: 1.12rem; color: var(--navy-900); margin-bottom: 6px; }
.comp-card p { color: var(--muted); font-size: .95rem; }
.comp-card strong { color: var(--navy-900); }

/* ---------- Contact (dark) ---------- */
.section-dark { background: radial-gradient(900px 500px at 85% 0%, #16336f 0%, transparent 60%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-sub { color: var(--muted-light); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: stretch; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-sm); padding: 18px 20px; }
.ci-ic { font-size: 1.4rem; }
.contact-list strong { display: block; color: #fff; margin-bottom: 2px; }
.contact-list div { color: var(--muted-light); font-size: .96rem; }
.contact-list a { color: var(--amber); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.contact-map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: var(--shadow-lg); min-height: 340px; display: flex; }
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(.12); }

/* Facade de carte (chargement à la demande) */
.map-facade {
  flex: 1; border: 0; cursor: pointer; color: #fff; font: inherit; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 30px; min-height: 340px;
  background:
    radial-gradient(600px 300px at 30% 20%, rgba(30,99,214,.55), transparent 60%),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  background-image:
    radial-gradient(600px 300px at 30% 20%, rgba(30,99,214,.45), transparent 60%),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(150deg, var(--navy-800), var(--navy-950));
  background-size: auto, 34px 34px, 34px 34px, auto;
  transition: filter .2s ease;
}
.map-facade:hover { filter: brightness(1.08); }
.map-pin { font-size: 2.2rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.4)); }
.map-facade-title { font-size: 1.2rem; font-weight: 800; }
.map-facade-sub { color: var(--muted-light); font-size: .92rem; }
.map-facade-btn { margin-top: 12px; background: linear-gradient(135deg, var(--orange-soft), var(--orange)); color: #fff; font-weight: 600; padding: 10px 20px; border-radius: 999px; box-shadow: 0 8px 22px rgba(236,90,42,.32); }
.map-openlink { position: absolute; bottom: 12px; right: 14px; z-index: 2; font-size: .82rem; color: #fff; background: rgba(10,27,61,.6); padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(4px); }
.map-openlink:hover { background: rgba(10,27,61,.85); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #cdd7ea; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 30px; padding-block: 52px 34px; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { color: #fff; font-size: 1.05rem; }
.footer-brand p { color: var(--muted-light); font-size: .92rem; margin-top: 4px; max-width: 30ch; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--muted-light); font-size: .96rem; width: fit-content; }
.footer-nav a:hover { color: #fff; }
.footer-contact p { font-size: .94rem; color: var(--muted-light); margin-bottom: 6px; }
.footer-contact a { color: var(--amber); font-weight: 600; }
.footer-social { display: flex; gap: 16px; margin-top: 8px; }
.footer-social a { color: #fff; font-weight: 600; font-size: .92rem; border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 2px; }
.footer-social a:hover { border-color: var(--amber); color: var(--amber); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 18px; }
.footer-bottom p { font-size: .84rem; color: var(--muted-light); text-align: center; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom-inner p { text-align: left; }
.footer-bottom-inner a { font-size: .84rem; color: var(--muted-light); border-bottom: 1px solid rgba(255,255,255,.25); padding-bottom: 1px; }
.footer-bottom-inner a:hover { color: var(--amber); border-color: var(--amber); }

/* ---------- Page Mentions légales ---------- */
.legal-hero { color: #fff; padding: 56px 0 40px;
  background: radial-gradient(900px 420px at 80% -20%, #1c3f8f 0%, transparent 55%), linear-gradient(160deg, var(--navy-900), var(--navy-950)); }
.legal-hero .eyebrow { color: var(--amber); background: rgba(244,178,62,.12); border: 1px solid rgba(244,178,62,.25); }
.legal-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-top: 6px; }
.legal-hero-sub { margin-top: 14px; color: var(--muted-light); max-width: 60ch; font-size: 1.04rem; }

.legal { padding-block: 60px 80px; }
.legal-container { max-width: 820px; }
.legal-block { padding: 26px 0; border-top: 1px solid var(--line); }
.legal-block:first-of-type { border-top: 0; padding-top: 0; }
.legal-block h2 { font-size: 1.35rem; color: var(--navy-900); margin-bottom: 16px; position: relative; padding-left: 16px; }
.legal-block h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px;
  background: linear-gradient(var(--orange-soft), var(--amber)); }
.legal-block p { color: #384357; margin-bottom: 12px; font-size: 1rem; line-height: 1.7; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a { color: var(--orange); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }

.legal-dl { display: grid; gap: 2px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.legal-dl > div { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 14px 20px; background: #fff; }
.legal-dl > div:nth-child(odd) { background: var(--bg-soft); }
.legal-dl dt { font-weight: 700; color: var(--navy-900); font-size: .95rem; }
.legal-dl dd { color: #384357; font-size: .98rem; }

.legal-back { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-back a { color: var(--orange); font-weight: 600; }
.legal-back a:hover { text-decoration: underline; }

@media (max-width: 620px) {
  .legal-dl > div { grid-template-columns: 1fr; gap: 2px; }
  .legal-dl dt { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
}

/* ---------- Reveal (animation d'apparition) ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .feature-grid, .cards, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .comp-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; padding-block: 40px 20px; }
  .hero-art { order: -1; max-width: 340px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .options-list { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px 22px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-140%); transition: transform .3s cubic-bezier(.22,.61,.36,1); z-index: 55;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav > a { padding: 13px 12px; border-radius: 10px; font-size: 1.02rem; }
  .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
  .nav-toggle { display: flex; }
  .section { padding-block: 64px; }
  .section-head { margin-bottom: 38px; }
  .tarif-cta { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 22px; }
  .hero-stats div { padding-right: 22px; }
}

@media (max-width: 480px) {
  .feature-grid, .cards, .price-grid, .options-list, .footer-inner { grid-template-columns: 1fr; }
  .brand-text em { display: none; }
  .hero-actions .btn, .contact-actions .btn { flex: 1 1 auto; }
  .hero-stats dt { font-size: 1.7rem; }
}
