/* ===========================================================
   COACHING BY MATT — Design system
   Palette: acier / noir / rouge (issue du logo & du studio CM)
   Display: Bebas Neue — Body: Inter — Data/mono: JetBrains Mono
   =========================================================== */

:root{
  --bg:        #0a0a0a;
  --bg-alt:    #111111;
  --surface:   #1a1a1a;
  --surface-2: #212121;
  --border:    #2b2b2b;
  --border-2:  #383838;

  --steel:      #d7dae0;
  --steel-dim:  #9a9ea5;
  --white:      #f5f5f3;
  --muted:      #97979a;

  --red:       #e2222d;
  --red-dark:  #8e0f19;
  --red-glow:  rgba(226,34,45,.45);

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --container: 1180px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--steel);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0; font-family:var(--font-display); font-weight:400; letter-spacing:.01em; color:var(--white); }
p{ margin:0; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

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

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}

/* ---------- eyebrow / tags ---------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--red);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}
.eyebrow::before{
  content:"";
  width:22px; height:2px;
  background:var(--red);
  display:inline-block;
}

/* ---------- background texture ---------- */
.grain{
  position:fixed; inset:0; pointer-events:none; z-index:2;
  opacity:.045; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===================== HEADER ===================== */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(10,10,10,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 24px;
  max-width:var(--container); margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ height:44px; width:auto; }
.brand-text{ font-family:var(--font-display); font-size:22px; letter-spacing:.03em; color:var(--white); line-height:1; }
.brand-text span{ color:var(--red); }

.main-nav{ display:flex; align-items:center; gap:2px; }
.main-nav a{
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--steel-dim);
  padding:10px 14px;
  border-radius:2px;
  transition:color .2s ease;
  position:relative;
}
.main-nav a:hover{ color:var(--white); }
.main-nav a.active{ color:var(--white); }
.main-nav a.active::after{
  content:""; position:absolute; left:14px; right:14px; bottom:4px; height:2px; background:var(--red);
}

.header-cta{
  display:flex; align-items:center; gap:10px;
}
.btn-wa-small{
  font-family:var(--font-mono);
  font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  background:var(--red); color:#fff;
  padding:10px 16px;
  border-radius:2px;
  display:flex; align-items:center; gap:8px;
  transition:background .2s ease, transform .15s ease;
  white-space:nowrap;
}
.btn-wa-small:hover{ background:#ff2a37; transform:translateY(-1px); }

.nav-toggle{
  display:none;
  flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:8px;
}
.nav-toggle span{ width:24px; height:2px; background:var(--steel); }

/* ===================== BUTTONS ===================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family:var(--font-mono);
  font-size:13px; letter-spacing:.08em; text-transform:uppercase;
  padding:16px 30px;
  border-radius:2px;
  border:1px solid transparent;
  cursor:pointer;
  transition:all .2s ease;
}
.btn-primary{
  background:var(--red); color:#fff;
  box-shadow:0 0 0 rgba(226,34,45,0);
}
.btn-primary:hover{ background:#ff2a37; box-shadow:0 8px 24px -6px var(--red-glow); transform:translateY(-2px); }
.btn-outline{
  background:transparent; color:var(--white); border-color:var(--border-2);
}
.btn-outline:hover{ border-color:var(--red); color:var(--red); }
.btn-block{ width:100%; }

/* ===================== HERO ===================== */
.hero{
  position:relative;
  min-height:92vh;
  display:flex; align-items:flex-end;
  overflow:hidden;
  border-bottom:1px solid var(--border);
}
.hero-bg{
  position:absolute; inset:0;
  background-size:cover; background-position:center 30%;
}
.hero-bg::after{
  content:"";
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(8,8,8,.35) 0%, rgba(8,8,8,.55) 45%, rgba(8,8,8,.96) 100%),
    linear-gradient(90deg, rgba(8,8,8,.85) 0%, rgba(8,8,8,.15) 55%);
}
.hero-content{
  position:relative; z-index:3;
  padding:70px 24px 64px;
  max-width:var(--container); margin:0 auto; width:100%;
}
.hero-tag{
  font-family:var(--font-mono);
  color:var(--red);
  font-size:13px; letter-spacing:.2em; text-transform:uppercase;
  display:flex; align-items:center; gap:10px; margin-bottom:22px;
}
.hero-tag::before{ content:"●"; font-size:9px; color:var(--red); }
.hero h1{
  font-size:clamp(48px, 9vw, 112px);
  line-height:.92;
  max-width:900px;
  color:var(--white);
  text-transform:uppercase;
}
.hero h1 em{ font-style:normal; color:var(--red); }
.hero-sub{
  margin-top:22px;
  max-width:560px;
  font-size:18px;
  color:var(--steel-dim);
}
.hero-sub-headline{
  font-family:var(--font-display);
  font-size:clamp(22px,3vw,32px);
  color:var(--white);
  text-transform:uppercase;
  margin-top:26px;
  max-width:700px;
  line-height:1.2;
}
.hero-sub-text{
  margin-top:14px;
  max-width:640px;
  font-size:16.5px;
  line-height:1.55;
  color:var(--muted);
}
.hero-sub-text strong{ color:var(--steel); font-weight:600; }
.hero-stats-line{
  margin-top:16px;
  max-width:700px;
  font-family:var(--font-mono);
  font-size:12.5px;
  letter-spacing:.02em;
  line-height:1.7;
  color:var(--muted);
}
.hero-actions{ display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }

.hero-stats{
  position:relative; z-index:3;
  border-top:1px solid var(--border);
  background:rgba(10,10,10,.7);
  backdrop-filter:blur(6px);
}
.stats-row{
  max-width:var(--container); margin:0 auto; padding:0 24px;
  display:grid; grid-template-columns:repeat(3,1fr);
}
.stat{
  padding:22px 20px;
  border-right:1px solid var(--border);
}
.stat:last-child{ border-right:none; }
.stat-num{
  font-family:var(--font-display);
  font-size:clamp(20px,2.2vw,28px); color:var(--red); line-height:1.1;
}
.stat-label{
  font-family:var(--font-mono);
  font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--muted); margin-top:6px;
}

/* ===================== SECTIONS ===================== */
section{ padding:100px 0; }
.section-tight{ padding:70px 0; }
.section-head{ max-width:640px; margin-bottom:56px; }
.section-head h2{
  font-size:clamp(34px,5vw,56px);
  line-height:1;
  text-transform:uppercase;
}
.section-head p{ margin-top:16px; font-size:17px; color:var(--muted); }
.bg-alt{ background:var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }

/* ===================== CARDS ===================== */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  padding:32px;
  position:relative;
}
.card-corner{ position:relative; }
.card-corner::before,.card-corner::after{
  content:""; position:absolute; width:16px; height:16px;
  border:2px solid var(--red); opacity:.85;
}
.card-corner::before{ top:-1px; left:-1px; border-right:none; border-bottom:none; }
.card-corner::after{ bottom:-1px; right:-1px; border-left:none; border-top:none; }

.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.grid-5{ display:grid; grid-template-columns:repeat(5,1fr); gap:18px; }
.offers-row1{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.offers-row2{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; max-width:calc(66.666% - 6.67px); margin:20px auto 0; }

/* ---------- offer / service card ---------- */
.offer-card{
  background:var(--surface);
  border:1px solid var(--border);
  padding:34px 30px;
  display:flex; flex-direction:column; gap:18px;
  transition:border-color .2s ease, transform .2s ease;
}
.offer-card:hover{ border-color:var(--red); transform:translateY(-4px); }
.offer-num{ font-family:var(--font-mono); color:var(--red); font-size:13px; letter-spacing:.1em; }
.offer-card h3{ font-size:28px; text-transform:uppercase; }
.offer-card p{ color:var(--muted); font-size:15px; }
.offer-list{ display:flex; flex-direction:column; gap:9px; margin-top:auto; }
.offer-list li{
  font-size:14px; color:var(--steel-dim);
  display:flex; gap:10px; align-items:flex-start;
}
.offer-list li::before{ content:"—"; color:var(--red); flex:none; }

/* ===================== GAUGE (places disponibles) ===================== */
.gauge-block{
  background:linear-gradient(135deg, var(--surface) 0%, var(--bg-alt) 100%);
  border:1px solid var(--border-2);
  padding:36px;
  display:flex; align-items:center; gap:32px; flex-wrap:wrap;
}
.gauge-info{ flex:1; min-width:220px; }
.gauge-info .eyebrow{ margin-bottom:10px; }
.gauge-info h3{ font-size:26px; text-transform:uppercase; margin-bottom:8px; }
.gauge-info p{ color:var(--muted); font-size:14.5px; }
.gauge-plates{
  display:flex; gap:6px;
}
.plate{
  width:20px; height:52px;
  border-radius:3px;
  background:var(--border);
  border:1px solid var(--border-2);
}
.plate.filled{
  background:linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  border-color:var(--red);
  box-shadow:0 0 14px -2px var(--red-glow);
}
.gauge-count{
  font-family:var(--font-mono);
  font-size:14px; color:var(--white);
  white-space:nowrap;
}
.gauge-count strong{ color:var(--red); font-size:20px; }

/* ===================== TRANSFORMATIONS GRID ===================== */
.transfo-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:4px;
}
.transfo-item{
  position:relative; overflow:hidden;
  aspect-ratio:1/1;
  background:var(--surface);
}
.transfo-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s ease;
}
.transfo-item:hover img{ transform:scale(1.05); }
.transfo-item::after{
  content:""; position:absolute; inset:0;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);
}

/* ===================== PRICING ===================== */
.price-table{ border:1px solid var(--border); }
.price-row{
  display:grid; grid-template-columns:2fr 1fr 1fr auto auto;
  gap:16px; align-items:center;
  padding:22px 26px;
  border-bottom:1px solid var(--border);
}
.price-row:last-child{ border-bottom:none; }
.price-row.head{
  background:var(--bg-alt);
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted);
}
.price-name{ color:var(--white); font-size:16px; font-weight:600; }
.price-name small{ display:block; color:var(--muted); font-weight:400; font-size:13px; margin-top:2px; }
.price-value{ font-family:var(--font-mono); color:var(--steel); }
.price-value strong{ color:var(--red); font-size:19px; }
.price-badge{
  font-family:var(--font-mono); font-size:10.5px; letter-spacing:.08em; text-transform:uppercase;
  background:rgba(226,34,45,.12); color:var(--red);
  padding:4px 9px; border-radius:2px; border:1px solid rgba(226,34,45,.35);
  white-space:nowrap;
}
.btn-pay{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  background:var(--red); color:#fff;
  padding:10px 18px; border-radius:2px;
  white-space:nowrap;
  display:inline-flex; align-items:center; gap:6px;
  transition:background .2s ease, transform .15s ease;
}
.btn-pay:hover{ background:#ff2a37; transform:translateY(-1px); }
.btn-pay svg{ width:14px; height:14px; }
.btn-quote{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.06em; text-transform:uppercase;
  background:transparent; color:var(--white); border:1px solid var(--border-2);
  padding:9px 17px; border-radius:2px;
  white-space:nowrap;
  display:inline-flex; align-items:center; gap:6px;
  transition:border-color .2s ease, color .2s ease;
}
.btn-quote:hover{ border-color:var(--red); color:var(--red); }

.pricing-block{ margin-bottom:64px; }
.pricing-block-head{ display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:20px; flex-wrap:wrap; }
.pricing-block-head h3{ font-size:24px; text-transform:uppercase; }
.pricing-block-head p{ color:var(--muted); font-size:14px; }

/* ===================== TESTIMONIAL / QUOTE ===================== */
.quote-block{
  border-left:3px solid var(--red);
  padding:6px 0 6px 28px;
  font-family:var(--font-display);
  font-size:26px;
  color:var(--white);
  line-height:1.25;
  max-width:780px;
}

/* ===================== FOOTER ===================== */
.site-footer{
  background:var(--bg-alt);
  border-top:1px solid var(--border);
  padding:64px 0 28px;
}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px;
  padding-bottom:44px;
  border-bottom:1px solid var(--border);
}
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.footer-brand img{ height:38px; }
.footer-brand span{ font-family:var(--font-display); font-size:20px; color:var(--white); }
.footer-col h4{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); margin-bottom:16px;
}
.footer-col ul{ display:flex; flex-direction:column; gap:10px; }
.footer-col a{ color:var(--steel-dim); font-size:14.5px; transition:color .2s; }
.footer-col a:hover{ color:var(--red); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:26px; flex-wrap:wrap; gap:12px;
}
.footer-bottom p{ font-size:13px; color:var(--muted); font-family:var(--font-mono); }

/* ===================== WHATSAPP FLOAT ===================== */
.wa-float{
  position:fixed; right:22px; bottom:22px; z-index:200;
  width:60px; height:60px; border-radius:50%;
  background:var(--red);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 30px -6px rgba(226,34,45,.6);
  transition:transform .2s ease;
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:28px; height:28px; fill:#fff; }

/* ===================== PAGE HEADER (sous-pages) ===================== */
.page-hero{
  padding:180px 0 64px;
  border-bottom:1px solid var(--border);
  position:relative;
  background:
    radial-gradient(ellipse 900px 500px at 15% 0%, rgba(226,34,45,.10), transparent 60%),
    var(--bg);
}
.page-hero h1{ font-size:clamp(42px,7vw,84px); text-transform:uppercase; line-height:.95; }
.page-hero p{ margin-top:18px; max-width:600px; color:var(--muted); font-size:17px; }
.breadcrumb{
  font-family:var(--font-mono); font-size:12px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--muted); margin-bottom:20px;
}
.breadcrumb a:hover{ color:var(--red); }

/* ===================== MISC ===================== */
.divider{ height:1px; background:var(--border); margin:64px 0; }
.tag-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:20px; }
.tag{
  font-family:var(--font-mono); font-size:11.5px; letter-spacing:.06em; text-transform:uppercase;
  border:1px solid var(--border-2); color:var(--steel-dim);
  padding:10px 12px; border-radius:2px;
  text-align:center;
}

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.img-frame{ position:relative; border:1px solid var(--border-2); padding:8px; background:var(--surface); }
.img-frame img{ width:100%; }

.check-list{ display:flex; flex-direction:column; gap:14px; }
.check-list li{ display:flex; gap:14px; align-items:flex-start; font-size:15.5px; color:var(--steel); }
.check-list li b{ color:var(--red); font-family:var(--font-mono); flex:none; }

.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px; }
.contact-info-item{ padding:22px 0; border-bottom:1px solid var(--border); }
.contact-info-item h4{ font-family:var(--font-mono); font-size:11.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.contact-info-item p{ font-size:18px; color:var(--white); }
.contact-info-item a:hover{ color:var(--red); }

.map-wrap{ border:1px solid var(--border); height:100%; min-height:340px; }
.map-wrap iframe{ width:100%; height:100%; min-height:340px; border:0; filter:grayscale(1) invert(.92) contrast(.9); }

/* ===================== RESPONSIVE ===================== */
@media (max-width:980px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .stats-row{ grid-template-columns:1fr; }
  .stat{ border-right:none; border-bottom:1px solid var(--border); }
  .stat:last-child{ border-bottom:none; }
  .grid-3, .grid-2{ grid-template-columns:1fr; }
  .grid-4{ grid-template-columns:repeat(2,1fr); }
  .grid-5{ grid-template-columns:repeat(2,1fr); }
  .offers-row1{ grid-template-columns:repeat(2,1fr); }
  .offers-row2{ grid-template-columns:repeat(2,1fr); max-width:100%; }
  .two-col{ grid-template-columns:1fr; gap:36px; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:32px; }
  .transfo-grid{ grid-template-columns:repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
  .price-row{ grid-template-columns:1fr; gap:10px; text-align:left; }
  .price-row.head{ display:none; }
  .price-row{ position:relative; padding-right:26px; }
  .price-badge{ position:static; display:inline-block; margin-top:4px; }
  .btn-pay{ width:100%; justify-content:center; margin-top:6px; }
  .btn-quote{ width:100%; justify-content:center; margin-top:6px; }
}

@media (max-width:600px){
  section{ padding:64px 0; }
  .hero{ min-height:100vh; }
  .hero-actions{ flex-direction:column; }
  .hero-actions .btn{ width:100%; }
  .footer-grid{ grid-template-columns:1fr; }
  .gauge-block{ flex-direction:column; align-items:flex-start; }
  .tag-row{ grid-template-columns:repeat(2,1fr); }
  .offers-row1{ grid-template-columns:1fr; }
  .offers-row2{ grid-template-columns:1fr; max-width:100%; }
}

.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }

/* mobile nav panel */
.mobile-nav{
  position:fixed; inset:0; z-index:150;
  background:rgba(8,8,8,.98);
  display:none;
  flex-direction:column;
  padding:100px 32px 40px;
  gap:6px;
}
.mobile-nav.open{ display:flex; }
.mobile-nav a{
  font-family:var(--font-display);
  font-size:32px; text-transform:uppercase; color:var(--white);
  padding:14px 0; border-bottom:1px solid var(--border);
}
.mobile-nav a.active{ color:var(--red); }
.mobile-nav .btn{ margin-top:24px; }
.nav-close{
  position:absolute; top:22px; right:24px;
  background:none; border:none; color:var(--white); font-size:28px; cursor:pointer;
}

/* ===================== PLANNING LEGEND + WA HELPER ===================== */
.legend-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; margin-top:36px; }
.legend-item{ display:flex; gap:14px; align-items:flex-start; background:var(--surface); border:1px solid var(--border); padding:18px 20px; }
.legend-swatch{ width:22px; height:22px; border-radius:3px; flex:none; margin-top:3px; }
.legend-swatch.red{ background:var(--red); }
.legend-swatch.yellow{ background:#e8b923; }
.legend-swatch.blue{ background:#3a7ca8; }
.legend-swatch.dark{ background:#232323; border:1px solid var(--border-2); }
.legend-title{ font-size:14.5px; font-weight:600; color:var(--white); margin-bottom:4px; }
.legend-desc{ font-size:13.5px; color:var(--muted); line-height:1.5; }

.wa-field label{ display:block; font-family:var(--font-mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.wa-field input, .wa-field select{
  width:100%; background:var(--bg-alt); border:1px solid var(--border-2); color:var(--white);
  padding:14px 16px; font-family:var(--font-body); font-size:15px; border-radius:2px;
}

@media (max-width:640px){
  .legend-grid{ grid-template-columns:1fr; }
}
