/* =========================================================
   UNBROKEN PERTUIS — Feuille de style
   Fitness Fonctionnel & Hyrox — Pertuis (84)
   ========================================================= */

/* ---------- Variables ---------- */
:root{
  --bg-0:#0a0a0a;
  --bg-1:#141414;
  --card:#1b1b1b;
  --card-border:#2c2c2c;

  --text-0:#f5f5f2;
  --text-1:#b8b6b0;
  --text-2:#8a8884;

  --accent:#b8913f;
  --accent-2:#d9a441;
  --navy:#131629;
  --navy-2:#0e1024;

  --disabled:#3a3a3a;
  --disabled-text:#7a7a7a;

  --radius:16px;
  --maxw:1120px;

  /* Couleurs des types de séance (planning) */
  --c-opengym:#3fb8c9;
  --c-wod:#3fc97a;
  --c-hyrox:#e0447a;
  --c-haltero:#9b6fe0;
  --c-renfo:#3fc97a;
  --c-kids:#e0943f;
  --c-teamwod:#4f7fe0;
}

/* ---------- Base ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }

body{
  font-family:'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background:var(--bg-0);
  color:var(--text-0);
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{ font-family:'Anton', sans-serif; letter-spacing:1.2px; line-height:1.05; font-weight:400; }
a{ color:inherit; }
img{ max-width:100%; display:block; }

section{ padding:88px 24px; }
.section-alt{ background:var(--bg-1); }
.container{ max-width:var(--maxw); margin:0 auto; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:var(--accent-2); margin-bottom:12px;
}
.eyebrow::before{ content:""; width:22px; height:1px; background:var(--accent-2); display:inline-block; }

.section-title{ font-size:clamp(30px,5vw,44px); margin-bottom:16px; }
.section-lead{ color:var(--text-1); max-width:640px; font-size:16px; margin-bottom:48px; }

/* Accessibilité : lien d'évitement */
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--accent); color:#0a0a0a; padding:12px 20px;
  font-weight:700; border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

:focus-visible{ outline:2px solid var(--accent-2); outline-offset:3px; }

/* ---------- Boutons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 26px; border-radius:8px;
  font-weight:800; font-size:14px; letter-spacing:0.4px; text-transform:uppercase;
  text-decoration:none; border:1px solid transparent; cursor:pointer;
  transition:transform .15s ease, filter .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active{ transform:scale(0.97); }

.btn-primary{
  background:var(--accent); color:#0a0a0a;
  box-shadow:0 10px 26px rgba(184,145,63,0.22);
}
.btn-primary:hover{ filter:brightness(1.08); }

.btn-ghost{ background:transparent; border-color:#3a3a3a; color:var(--text-0); }
.btn-ghost:hover{ border-color:var(--accent-2); background:rgba(217,164,65,0.06); }

.btn-dark{ background:#0a0a0a; color:var(--accent-2); border-color:#0a0a0a; }
.btn-dark:hover{ filter:brightness(1.3); }

/* ---------- Header ---------- */
header{
  position:sticky; top:0; z-index:100;
  background:var(--navy);
  border-bottom:1px solid #1e2140;
}
.nav{
  max-width:var(--maxw); margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 24px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-badge{ width:36px; height:36px; flex-shrink:0; object-fit:contain; }
.brand-name{ font-family:'Anton', sans-serif; font-size:19px; letter-spacing:1px; }

/* Barre de navigation des rubriques */
.subnav{
  border-top:1px solid #1e2140;
  background:var(--navy-2);
  overflow-x:auto;
  scrollbar-width:none; -ms-overflow-style:none;
}
.subnav::-webkit-scrollbar{ display:none; }
.subnav-inner{
  max-width:var(--maxw); margin:0 auto;
  display:flex; gap:10px; align-items:center;
  padding:10px 24px;
}
.subnav a{
  flex-shrink:0;
  font-size:12px; font-weight:700; letter-spacing:0.6px; text-transform:uppercase;
  color:var(--text-1); text-decoration:none;
  padding:8px 15px; border-radius:20px; border:1px solid #262b4a;
  transition:color .15s ease, border-color .15s ease, background .15s ease;
}
.subnav a:hover{ color:var(--text-0); border-color:var(--accent-2); }
.subnav a.active{ background:var(--accent); color:#0a0a0a; border-color:var(--accent); }

@media (max-width:600px){
  .nav-cta .btn{ padding:10px 16px; font-size:12.5px; }
  .brand-name{ font-size:16px; }
}

/* ---------- Bannière (hero) ---------- */
.hero{
  position:relative;
  min-height:82vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center;
  padding:72px 24px 80px;
  overflow:hidden;
  background:
    radial-gradient(circle at 50% 0%, #2a1b0f 0%, transparent 55%),
    repeating-linear-gradient(135deg, #101010 0 2px, #0a0a0a 2px 34px),
    var(--bg-0);
}
.hero::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(180deg, rgba(10,10,10,0) 0%, var(--bg-0) 96%);
}
.hero-content{ position:relative; z-index:1; max-width:760px; margin:0 auto; }
.hero-badge{
  width:150px; height:150px; margin:0 auto 20px; object-fit:contain;
  filter:drop-shadow(0 10px 26px rgba(184,145,63,0.22));
}
.hero h1{
  font-size:clamp(42px,8vw,74px);
  text-shadow:2px 0 0 rgba(255,60,60,0.35), -2px 0 0 rgba(60,200,255,0.3);
}
.hero .accent-word{ color:var(--accent-2); }
.hero .lead{
  margin-top:18px; color:var(--text-1); font-size:17px;
  max-width:520px; margin-left:auto; margin-right:auto;
}
.hero-ctas{ margin-top:34px; display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.hero-meta{
  margin-top:46px; display:flex; gap:34px; justify-content:center; flex-wrap:wrap;
  color:var(--text-2); font-size:13px;
}
.hero-meta strong{
  display:block; color:var(--text-0); font-size:20px;
  font-family:'Anton', sans-serif; font-weight:400; letter-spacing:1px;
}

/* ---------- Le concept ---------- */
.explain-split{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.explain-block{
  background:var(--bg-1); border:1px solid var(--card-border); border-radius:var(--radius);
  padding:32px;
}
.explain-block h3{ font-size:26px; margin-bottom:14px; }
.explain-block h3 span{ color:var(--accent-2); }
.explain-block p{ color:var(--text-1); font-size:15px; margin-bottom:12px; }
.explain-block ul{ margin-top:14px; list-style:none; }
.explain-block li{
  display:flex; gap:10px; align-items:flex-start;
  color:var(--text-1); font-size:14.5px; margin-bottom:10px;
}
.explain-block li svg{ width:16px; height:16px; stroke:var(--accent-2); flex-shrink:0; margin-top:3px; }

@media (max-width:860px){ .explain-split{ grid-template-columns:1fr; gap:28px; } }

/* ---------- Première séance ---------- */
.steps-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; margin-bottom:44px; }
.step-card{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius);
  padding:24px 20px;
}
.step-num{
  font-family:'Anton', sans-serif; font-size:28px; color:var(--accent-2);
  line-height:1; margin-bottom:12px;
}
.step-card h3{ font-family:'Inter', sans-serif; font-size:15px; font-weight:700; letter-spacing:0; margin-bottom:8px; }
.step-card p{ color:var(--text-1); font-size:13.5px; }

.quote-block{
  text-align:center; max-width:560px; margin:0 auto 28px;
  border-top:1px solid var(--card-border); border-bottom:1px solid var(--card-border);
  padding:28px 10px;
}
.quote-block p{ font-family:'Anton', sans-serif; font-size:26px; letter-spacing:0.5px; color:var(--accent-2); }
.quote-block small{ display:block; margin-top:10px; color:var(--text-2); font-size:13px; }

.note{ margin-top:16px; color:var(--text-2); font-size:12.5px; text-align:center; }

@media (max-width:960px){ .steps-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .steps-grid{ grid-template-columns:1fr; max-width:360px; margin-left:auto; margin-right:auto; } }

/* ---------- Planning ---------- */
.planning-legend{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:28px; }
.leg{ display:inline-flex; align-items:center; gap:7px; font-size:12.5px; color:var(--text-1); font-weight:600; }
.dot{ width:9px; height:9px; border-radius:50%; display:inline-block; background:var(--c); }

.opengym{ --c:var(--c-opengym); }
.wod    { --c:var(--c-wod); }
.hyrox  { --c:var(--c-hyrox); }
.haltero{ --c:var(--c-haltero); }
.renfo  { --c:var(--c-renfo); }
.kids   { --c:var(--c-kids); }
.teamwod{ --c:var(--c-teamwod); }

.planning-scroll{ overflow-x:auto; padding-bottom:10px; -webkit-overflow-scrolling:touch; }
.planning-grid{ display:flex; gap:16px; min-width:max-content; }
.day-card{
  width:210px; flex-shrink:0;
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius);
  padding:18px 16px;
}
.day-card h3{
  font-size:17px; text-align:center; margin-bottom:14px; color:var(--accent-2);
  padding-bottom:10px; border-bottom:1px solid var(--card-border);
}
.sess{
  border-left:3px solid var(--c);
  background:var(--bg-1); border-radius:0 8px 8px 0;
  padding:8px 10px; margin-bottom:8px;
  display:flex; flex-direction:column;
}
.sess .t{ font-size:10.5px; color:var(--text-2); font-weight:700; letter-spacing:0.2px; }
.sess .n{ font-size:13.5px; font-weight:700; margin:2px 0; }
.sess .c{ font-size:10.5px; color:var(--text-2); }

/* ---------- Tarifs ---------- */
.pricing-badges{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px; }
.pricing-badge{
  display:inline-flex; align-items:center; gap:6px;
  border:1px solid #3a3a3a; color:var(--text-1);
  font-size:12.5px; font-weight:600; padding:7px 14px; border-radius:20px;
}
.pricing-badge svg{ width:14px; height:14px; stroke:var(--accent-2); fill:none; stroke-width:2; }

.pricing-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; align-items:stretch; }
.price-card{
  background:var(--card); border:1px solid var(--card-border); border-radius:18px;
  padding:30px 24px; text-align:center;
  position:relative; overflow:hidden;
  display:flex; flex-direction:column;
}
.price-card.featured{ background:var(--accent); border-color:var(--accent); }
.price-card.featured::before{
  content:"Populaire"; position:absolute; top:14px; right:-34px;
  background:#0a0a0a; color:var(--accent-2);
  font-size:10.5px; font-weight:800; letter-spacing:1px; text-transform:uppercase;
  padding:4px 38px; transform:rotate(40deg);
}
.price-name{ font-family:'Anton', sans-serif; font-size:20px; letter-spacing:1px; color:var(--accent-2); }
.price-amount{ margin-top:10px; font-family:'Anton', sans-serif; font-size:44px; line-height:1; }
.price-amount sup{ font-size:18px; vertical-align:top; position:relative; top:4px; }
.price-amount small{ font-family:'Inter', sans-serif; font-size:13px; color:var(--text-2); font-weight:500; }
.price-desc{ margin-top:12px; color:var(--text-1); font-size:13.5px; flex-grow:1; }
.price-card .btn{ margin-top:22px; width:100%; padding:12px 20px; font-size:13.5px; }

.price-card.featured .price-name{ color:#0a0a0a; }
.price-card.featured .price-desc{ color:rgba(10,10,10,0.75); }
.price-card.featured .price-amount small{ color:rgba(10,10,10,0.6); }

.pricing-note{ text-align:center; margin-top:26px; color:var(--text-2); font-size:13px; }

@media (max-width:960px){ .pricing-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .pricing-grid{ grid-template-columns:1fr; max-width:360px; margin:0 auto; } }

/* ---------- Bannière Unbroken Program ---------- */
.remote-banner{
  margin-top:56px;
  display:grid; grid-template-columns:auto 1fr auto; gap:28px; align-items:center;
  background:var(--bg-0); border:1px solid #2c2416; border-radius:20px;
  padding:32px 36px;
}
.remote-banner > div{ min-width:0; }
.rb-badge{ width:92px; height:auto; flex-shrink:0; margin:0 auto; }
.remote-banner h3{
  font-size:22px; margin-bottom:8px; color:var(--accent-2);
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.rb-price{
  font-family:'Inter', sans-serif; font-size:11.5px; font-weight:700; letter-spacing:0.3px;
  text-transform:none; color:#0a0a0a; background:var(--accent-2);
  padding:4px 10px; border-radius:20px;
}
.remote-banner p{ color:var(--text-1); font-size:14.5px; max-width:520px; }

@media (max-width:760px){
  .remote-banner{ grid-template-columns:1fr; text-align:center; padding:28px 24px; }
  .remote-banner h3{ justify-content:center; }
  .remote-banner .btn{ width:100%; }
}

/* ---------- Coachs ---------- */
.coach-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.coach-card{
  background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius);
  overflow:hidden; padding-bottom:24px;
}
.coach-photo{ width:100%; aspect-ratio:4/3; background:#141414; overflow:hidden; }
.coach-photo img{ width:100%; height:100%; object-fit:cover; object-position:top center; }
.coach-card h3{
  font-family:'Inter', sans-serif; font-size:16px; font-weight:700; letter-spacing:0;
  margin-top:18px; padding:0 20px; color:var(--text-0);
}
.coach-card .role{
  font-size:12.5px; color:var(--accent-2); margin-top:4px; padding:0 20px;
  text-transform:uppercase; letter-spacing:0.5px; font-weight:600;
}
.coach-card p{ font-size:13.5px; color:var(--text-1); margin-top:10px; padding:0 20px; }

@media (max-width:860px){ .coach-grid{ grid-template-columns:1fr; max-width:380px; margin:0 auto; } }

/* ---------- Contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:stretch; }
.contact-list{ display:flex; flex-direction:column; gap:14px; }
.contact-item{
  display:flex; align-items:center; gap:16px; text-decoration:none;
  background:var(--card); border:1px solid var(--card-border); border-radius:14px;
  padding:16px 18px;
  transition:border-color .15s ease, background .15s ease;
}
.contact-item:hover{ border-color:var(--accent-2); background:#212121; }
.contact-item .icon{
  width:40px; height:40px; border-radius:10px; background:#262626; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.contact-item .icon svg{ width:19px; height:19px; stroke:var(--text-0); fill:none; stroke-width:2; }
.contact-item strong{ display:block; font-size:14.5px; }
.contact-item small{ display:block; color:var(--text-2); font-size:12.5px; margin-top:2px; }

.map-wrap{
  border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--card-border); min-height:300px;
}
.map-wrap iframe{ width:100%; height:100%; min-height:300px; border:0; filter:grayscale(0.3); }

@media (max-width:860px){ .contact-grid{ grid-template-columns:1fr; gap:28px; } }

/* ---------- Pied de page ---------- */
footer{
  border-top:1px solid #202020; padding:36px 24px; text-align:center;
  color:var(--text-2); font-size:13px;
}
footer a{ text-decoration:none; color:var(--text-1); }
footer a:hover{ color:var(--accent-2); }
.footer-badge{ width:40px; height:40px; margin:0 auto 14px; opacity:.85; object-fit:contain; }
.footer-links{ margin-top:6px; }

/* ---------- Réglages d'accessibilité ---------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; animation:none !important; }
}
