*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --jaune:   #f5c400;
    --jaune-f: #c99e00;
    --noir:    #0a0a0a;
    --noir-m:  #141414;
    --noir-c:  #1e1e1e;
    --blanc:   #f0ede6;
    --gris:    #888;
    --hatch: repeating-linear-gradient(
      -55deg,
      transparent, transparent 8px,
      rgba(245,196,0,0.12) 8px, rgba(245,196,0,0.12) 16px
    );
  }

  html { scroll-behavior: smooth; }
  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--noir);
    color: var(--blanc);
    overflow-x: hidden;
    cursor: default;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 5%;
    background: var(--noir);
    border-bottom: 3px solid var(--jaune);
  }

  .logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.8rem; letter-spacing: 3px;
    color: var(--blanc); text-decoration: none;
    display: flex; align-items: center; gap: 10px;
  }
  .logo em { color: var(--jaune); font-style: normal; }
  .logo-badge {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.6rem; font-weight: 700;
    background: var(--jaune); color: var(--noir);
    padding: 3px 7px; letter-spacing: 0.1em;
  }

  .nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
  .nav-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--gris); text-decoration: none;
    transition: color .2s;
  }
  .nav-links a:hover { color: var(--jaune); }
  .nav-cta {
    background: var(--jaune) !important; color: var(--noir) !important;
    padding: 0.5rem 1.4rem; font-weight: 700 !important;
    transition: background .2s !important;
  }
  .nav-cta:hover { background: var(--jaune-f) !important; color: var(--noir) !important; }

  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { display: block; width: 24px; height: 2px; background: var(--jaune); }

  /* ── HERO ── */
#accueil {
    min-height: 90vh; /* Réduit un peu pour éviter un trop grand vide sur les petits écrans */
    padding: calc(5rem + 64px) 5% 5rem 5%; 
    position: relative; 
    overflow: hidden;
    display: flex; 
    align-items: center;
  }

  /* bandes hachurées de fond */
  .hero-bg {
    position: absolute; inset: 0;
    background: var(--hatch);
    opacity: 0.5;
  }
  .hero-glow {
    position: absolute;
    top: -200px; left: -100px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(245,196,0,0.15) 0%, transparent 65%);
    pointer-events: none;
  }

.hero-inner {
    position: relative; 
    z-index: 1;
    display: grid; 
    grid-template-columns: 1.1fr 1fr;
    width: 100%; 
    align-items: center;
    padding: 0; /* On passe à 0 pour s'aligner sur les grilles du dessous */
    gap: 4rem;
  }

  /* Ruban diagonal deco */
  .hero-tape {
    position: absolute; top: 80px; right: -60px;
    width: 400px; height: 44px;
    background: repeating-linear-gradient(
      -55deg, var(--jaune) 0px, var(--jaune) 20px,
      var(--noir) 20px, var(--noir) 40px
    );
    opacity: 0.18;
    transform: rotate(12deg);
    pointer-events: none;
  }

  .hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--jaune);
    margin-bottom: 1.5rem;
    opacity: 0; animation: fadeUp .5s .1s forwards;
  }
  .hero-eyebrow::before {
    content: ''; width: 30px; height: 2px; background: var(--jaune);
  }

  .hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: 0.88; letter-spacing: 2px;
    opacity: 0; animation: fadeUp .6s .2s forwards;
  }
  .hero-title .yl { color: var(--jaune); }
  .hero-title .stroke {
    -webkit-text-stroke: 2px var(--blanc);
    color: transparent;
  }

  .hero-sub {
    margin-top: 2rem; max-width: 440px;
    font-size: 1rem; color: var(--gris); line-height: 1.7;
    opacity: 0; animation: fadeUp .6s .35s forwards;
  }

  .hero-tags {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.8rem;
    opacity: 0; animation: fadeUp .6s .45s forwards;
  }
  .tag {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; padding: 0.4rem 0.9rem;
    border: 2px solid rgba(245,196,0,0.3); color: var(--jaune);
    transition: background .2s, border-color .2s;
  }
  .tag:hover { background: var(--jaune); color: var(--noir); border-color: var(--jaune); }

  .hero-btns {
    display: flex; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap;
    opacity: 0; animation: fadeUp .6s .55s forwards;
  }
  .btn-yellow {
    background: var(--jaune); color: var(--noir);
    padding: 1rem 2.2rem; font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem; letter-spacing: 2px;
    border: none; cursor: pointer; text-decoration: none;
    transition: background .2s, transform .15s;
  }
  .btn-yellow:hover { background: var(--jaune-f); transform: translateY(-3px); }
  .btn-border {
    background: transparent; color: var(--blanc);
    padding: 1rem 2.2rem; font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem; letter-spacing: 2px;
    border: 2px solid rgba(255,255,255,0.2); cursor: pointer; text-decoration: none;
    transition: border-color .2s, transform .15s;
  }
  .btn-border:hover { border-color: var(--jaune); color: var(--jaune); transform: translateY(-3px); }

  /* Hero right */
  .hero-right {
    display: flex; flex-direction: column; gap: 1rem;
    opacity: 0; animation: fadeIn 1s .7s forwards;
  }

  .big-stat-box {
    background: var(--jaune); padding: 2.5rem 2rem;
    position: relative; overflow: hidden;
  }
  .big-stat-box::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(
      -55deg, transparent, transparent 10px,
      rgba(0,0,0,0.06) 10px, rgba(0,0,0,0.06) 20px
    );
  }
  .big-stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 5rem; line-height: 1; color: var(--noir);
    position: relative; z-index: 1;
  }
  .big-stat-lbl {
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.15em;
    text-transform: uppercase; color: rgba(0,0,0,0.55);
    position: relative; z-index: 1;
  }

  .mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .mini-card {
    background: var(--noir-c); border: 2px solid var(--noir-c);
    padding: 1.5rem 1.2rem; text-align: center;
    transition: border-color .2s, background .2s;
    position: relative;
  }
  .mini-card::after {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: var(--jaune); transform: scaleX(0); transform-origin: left;
    transition: transform .3s;
  }
  .mini-card:hover { border-color: var(--jaune); }
  .mini-card:hover::after { transform: scaleX(1); }
  .mini-icon { font-size: 2rem; display: block; margin-bottom: 0.6rem; }
  .mini-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.95rem; letter-spacing: 1.5px; color: var(--blanc);
  }
  .mini-sub { font-size: 0.72rem; color: var(--gris); margin-top: 0.2rem; }

  .open-banner {
    background: var(--noir-c); border: 2px solid rgba(245,196,0,0.2);
    padding: 1rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
  }
  .open-dot { width: 10px; height: 10px; background: #2ecc71; border-radius: 50%; animation: pulse 2s infinite; flex-shrink: 0; }
  .open-text { font-size: 0.85rem; font-weight: 500; color: var(--blanc); }
  .open-hours { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; letter-spacing: 2px; color: var(--jaune); }
  @keyframes pulse { 0%,100%{box-shadow:0 0 0 0 rgba(46,204,113,.5)} 50%{box-shadow:0 0 0 8px rgba(46,204,113,0)} }

  /* ── SOCIAUX CONTACT ── */
  .contact-socials {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 1.8rem;
    background: var(--noir-c);
    justify-content: flex-start;
  }
  .social-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gris);
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s;
  }
  .social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
  /* Couleurs au survol aux couleurs de votre charte graphique */
  .social-btn:hover {
    background: rgba(245, 196, 0, 0.1);
    border-color: var(--jaune);
    color: var(--jaune);
    transform: translateY(-2px);
  }

  /* ── BOUTONS RESEAUX SOCIAUX ── */
  .social-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gris);
    text-decoration: none;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
  }
  .social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }
  .social-btn:hover {
    background: rgba(245, 196, 0, 0.1);
    border-color: var(--jaune);
    color: var(--jaune);
    transform: translateY(-2px);
  }

  /* ── SECTIONS ── */
section { 
    padding: 5rem 5%; 
  }

  .eyebrow {
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--jaune);
    display: flex; align-items: center; gap: 10px; margin-bottom: 0.8rem;
  }
  .eyebrow::before { content: ''; width: 20px; height: 2px; background: var(--jaune); }

  .sec-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 0.9; letter-spacing: 2px;
  }
  .sec-title em { color: var(--jaune); font-style: normal; }

  /* ── SERVICES ── */
#services { background: var(--noir-m); }

  .srv-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 3rem; flex-wrap: wrap; gap: 1.5rem;
  }
  .srv-head p { max-width: 380px; color: var(--gris); font-size: 0.92rem; line-height: 1.7; }

  .srv-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
    background: rgba(245,196,0,0.08);
  }

  .srv-card {
    background: var(--noir-m); padding: 2.2rem 1.8rem;
    position: relative; overflow: hidden;
    transition: background .25s;
  }
  .srv-card:hover { background: var(--noir-c); }
  .srv-card::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--jaune); transform: scaleY(0); transform-origin: bottom;
    transition: transform .3s;
  }
  .srv-card:hover::before { transform: scaleY(1); }

  .srv-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem; color: rgba(245,196,0,0.08);
    line-height: 1; position: absolute; top: 1rem; right: 1.2rem;
    transition: color .25s;
  }
  .srv-card:hover .srv-num { color: rgba(245,196,0,0.18); }

  .srv-ico { font-size: 2rem; margin-bottom: 1rem; display: block; }
  .srv-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem; letter-spacing: 1.5px;
    margin-bottom: 0.7rem; color: var(--blanc);
  }
  .srv-card:hover .srv-title { color: var(--jaune); }
  .srv-desc { font-size: 0.87rem; color: var(--gris); line-height: 1.7; }

  /* ── POURQUOI ── */
#pourquoi {
  background: var(--noir);
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 5rem; 
  align-items: center;
}

  .why-left p { color: var(--gris); font-size: 0.95rem; line-height: 1.7; margin-top: 1.2rem; max-width: 400px; }

  .why-nums {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    background: rgba(245,196,0,0.08); margin-top: 3rem;
  }
  .why-num-box {
    background: var(--noir); padding: 2rem 1.5rem;
    border-top: 3px solid var(--jaune);
    transition: background .2s;
  }
  .why-num-box:hover { background: var(--noir-c); }
  .wn-big {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem; color: var(--jaune); line-height: 1;
  }
  .wn-lbl { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); margin-top: 0.3rem; }

  .why-right { display: flex; flex-direction: column; gap: 2px; background: rgba(245,196,0,0.06); }
  .why-item {
    background: var(--noir-c); padding: 1.8rem 2rem;
    display: flex; gap: 1.2rem; align-items: flex-start;
    border-left: 4px solid transparent;
    transition: border-color .2s, background .2s;
  }
  .why-item:hover { border-left-color: var(--jaune); background: #202020; }
  .wi-ico { font-size: 1.6rem; flex-shrink: 0; }
  .wi-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem; letter-spacing: 1px;
    margin-bottom: 0.3rem; color: var(--blanc);
  }
  .wi-desc { font-size: 0.85rem; color: var(--gris); line-height: 1.6; }

  /* ── CONTACT ── */
#contact { background: var(--noir-m); }

  .contact-wrap {
    display: grid; grid-template-columns: 1fr 1.4fr;
    gap: 5rem; margin-top: 3.5rem;
  }

  .cinfo { display: flex; flex-direction: column; gap: 2px; background: rgba(245,196,0,0.06); }
  .ci-row {
    background: var(--noir-c); padding: 1.5rem 1.8rem;
    display: flex; align-items: center; gap: 1.2rem;
    border-left: 4px solid transparent;
    transition: border-color .2s, background .2s;
  }
  .ci-row:hover { border-left-color: var(--jaune); background: #1f1f1f; }
  .ci-ico {
    width: 44px; height: 44px; background: rgba(245,196,0,0.12);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
  }
  .ci-lbl { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jaune); margin-bottom: 0.2rem; }
  .ci-val { font-size: 0.92rem; color: var(--blanc); }

  .cform { display: flex; flex-direction: column; gap: 1rem; }
  .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

  .cform input, .cform textarea, .cform select {
    width: 100%; padding: 0.9rem 1.1rem;
    background: var(--noir-c); border: 2px solid rgba(255,255,255,0.06);
    color: var(--blanc); font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
    outline: none; transition: border-color .2s;
  }
  .cform input::placeholder, .cform textarea::placeholder { color: #555; }
  .cform select option { background: var(--noir-c); }
  .cform input:focus, .cform textarea:focus, .cform select:focus { border-color: var(--jaune); }
  .cform textarea { resize: vertical; min-height: 130px; }

  .cform button {
    width: 100%; padding: 1.1rem;
    background: var(--jaune); color: var(--noir); border: none; cursor: pointer;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem; letter-spacing: 3px;
    transition: background .2s, transform .15s;
  }
  .cform button:hover { background: var(--jaune-f); transform: translateY(-2px); }

  /* ── FOOTER ── */
  footer {
    background: var(--noir); border-top: 3px solid var(--jaune);
    padding: 2rem 5%;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  }
  footer p { font-size: 0.78rem; color: var(--gris); }

  /* ── ANIM ── */
  @keyframes fadeUp { from{opacity:0;transform:translateY(22px)} to{opacity:1;transform:translateY(0)} }
  @keyframes fadeIn { from{opacity:0} to{opacity:1} }

  .reveal { opacity:0; transform:translateY(28px); transition:opacity .65s,transform .65s; }
  .reveal.visible { opacity:1; transform:translateY(0); }

  /* ── RESPONSIVE ── */
  @media(max-width:900px){
    .hero-inner { grid-template-columns:1fr; padding:3rem 5%; }
    .hero-right { margin-top:2rem; }
    #pourquoi { grid-template-columns:1fr; gap:3rem; }
    .srv-grid { grid-template-columns:1fr; }
    .contact-wrap { grid-template-columns:1fr; gap:3rem; }
    .frow { grid-template-columns:1fr; }
    .nav-links { display:none; }
    .nav-links.open {
      display:flex; flex-direction:column;
      position:fixed; inset:64px 0 0;
      background:var(--noir-m); padding:3rem 5%; gap:2rem;
    }
    .nav-links.open a { font-size:1.2rem; }
    .hamburger { display:flex; }
    section { padding:4rem 5%; }
    .srv-head { flex-direction:column; align-items:flex-start; }
    .why-nums { grid-template-columns:1fr 1fr; }
  }
  /* ── POPIN CONFIRMATION ── */
.popin-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* Fond sombre transparent */
  backdrop-filter: blur(5px); /* Floute l'arrière-plan du site */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999; /* Reste toujours au-dessus du reste du site */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Classe qui sera activée par JavaScript */
.popin-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popin-box {
  background: var(--noir-m); /* Le gris/noir de tes sections */
  border: 1px solid rgba(245, 196, 0, 0.2); /* Légère bordure jaune */
  padding: 3rem 2rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
  transition: transform 0.3s ease;
}

.popin-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.popin-box h3 {
  color: var(--jaune); /* Ton jaune officiel */
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.popin-box p {
  color: var(--gris);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* ── POPIN CONFIRMATION ── */
.popin-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px); /* Floute légèrement le site derrière */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;             /* Masquée par défaut */
  pointer-events: none;   /* Inclickable tant qu'elle est masquée */
  transition: opacity 0.3s ease;
}

/* Classe activée lors de l'envoi du formulaire */
.popin-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popin-box {
  background: var(--noir-m);
  border: 2px solid var(--jaune);
  padding: 3rem 2rem;
  max-width: 450px;
  width: 90%;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  transform: translateY(-10px);
  transition: transform 0.3s ease;
}

.popin-overlay.active .popin-box {
  transform: translateY(0);
}

.popin-icon { 
  font-size: 3rem; 
  margin-bottom: 1rem; 
}

.popin-box h3 { 
  color: var(--jaune); 
  font-size: 1.8rem; 
  margin-bottom: 1rem; 
}

.popin-box p { 
  color: var(--gris); 
  font-size: 0.95rem; 
  line-height: 1.6; 
  margin-bottom: 2rem; 
}

/* Style du bouton Fermer */
.popin-box .btn {
  background: var(--jaune) !important;
  color: var(--noir) !important;
  border: none !important;
  padding: 0.8rem 2.5rem !important;
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.2rem !important;
  letter-spacing: 2px !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(245, 196, 0, 0.2) !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}

.popin-box .btn:hover {
  background: var(--jaune-f) !important;
  transform: translateY(-2px) !important;
}

#close-popin-btn:active {
  transform: translateY(1px);
}
