/* ===== VARIABLES DE COULEUR (noir & orange) ===== */
:root {
  --primary: #ff6b00;      /* orange principal */
  --primary-dark: #e85d00;
  --dark: #0d0d0f;         /* noir profond (fond) */
  --dark-2: #16161a;       /* noir un peu plus clair (sections) */
  --dark-3: #1f1f25;       /* cartes */
  --light: #f4f4f6;        /* texte clair */
  --muted: #9a9aa5;        /* texte gris */
  --border: #2a2a32;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(255, 107, 0, 0.18);
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--light);
  background: var(--dark);
  line-height: 1.65;
}

.container { width: min(1140px, 90%); margin: 0 auto; }
.narrow { width: min(640px, 90%); }

h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); line-height: 1.08; font-weight: 800; letter-spacing: -1px; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 1rem; font-weight: 800; letter-spacing: -.5px; }
h3 { font-size: 1.3rem; margin-bottom: .6rem; font-weight: 700; }

.center { text-align: center; }
.muted { color: var(--muted); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .6rem;
}
.eyebrow.center { text-align: center; }

code { background: var(--dark-3); padding: 2px 6px; border-radius: 6px; font-size: .9em; color: var(--primary); }

/* ===== BOUTONS ===== */
.btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: .9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }
.btn-small { padding: .55rem 1.2rem; font-size: .9rem; }

/* ===== EN-TÊTE ===== */
.site-header {
  position: sticky; top: 0;
  background: rgba(13,13,15,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 0; }
.logo { display: flex; align-items: center; gap: .8rem; font-size: 2.1rem; font-weight: 900; text-decoration: none; color: var(--light); letter-spacing: -1px; }
.logo span { color: var(--primary); }
.logo-badge { height: 74px; width: auto; }
.nav-links { list-style: none; display: flex; gap: 1.8rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--light); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.burger span { width: 26px; height: 3px; background: var(--light); border-radius: 3px; transition: .3s; }

/* ===== HERO avec bandeau vidéo ===== */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: clamp(4.5rem, 11vw, 9rem) 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(255,107,0,.18), transparent 45%),
    linear-gradient(160deg, #0d0d0f 0%, #16161a 100%);
  overflow: hidden;
}
/* La vidéo de fond couvre tout le bandeau */
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Voile sombre par-dessus la vidéo pour que le texte reste lisible */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,15,.55) 0%, rgba(13,13,15,.78) 100%);
  z-index: 1;
}
.hero-inner { max-width: 820px; position: relative; z-index: 2; }

/* Le nom de la société en GÉANT */
.brand-title {
  font-size: clamp(3.2rem, 12vw, 7rem);
  font-weight: 900;
  letter-spacing: 4px;
  line-height: 1;
  margin-bottom: .8rem;
  background: linear-gradient(120deg, #ffffff 0%, var(--primary) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 30px rgba(255,107,0,.25);
}
.hero-slogan { font-size: clamp(1.4rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 0; }
.highlight {
  background: linear-gradient(120deg, var(--primary) 0%, #ffa64d 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.lead { font-size: 1.25rem; color: var(--muted); margin: 1.6rem 0 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 1.8rem; flex-wrap: wrap; margin-top: 3rem; }
.hero-badge { display: flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .95rem; }
.hero-badge strong { color: var(--light); }

/* ===== BANDEAU CONFIANCE ===== */
.trust-band { background: var(--dark-2); padding: 2rem 0; border-bottom: 1px solid var(--border); }
.trust-label {
  text-align: center; text-transform: uppercase; letter-spacing: 2px;
  font-size: .75rem; color: var(--muted); margin-bottom: 1.2rem;
}
.trust-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem; }
.trust-logo {
  height: 90px; width: auto; max-width: 200px;
  object-fit: contain;
  opacity: .95; transition: opacity .2s ease, transform .2s ease;
}
.trust-logo:hover { opacity: 1; transform: scale(1.05); }

/* ===== SECTIONS ===== */
.section { padding: clamp(3.8rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--dark-2); }

/* Sections alternées (texte + média côte à côte) */
.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: center; }
.split-reverse .split-media { order: 2; }
.split-media {
  font-size: 6rem;
  background: linear-gradient(135deg, var(--dark-3), #2a1a0e);
  aspect-ratio: 4/3; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.split-text p { color: var(--muted); margin-bottom: 1rem; }

/* Étapes de la méthode */
.steps { list-style: none; margin-top: 1.5rem; display: grid; gap: 1.3rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; color: var(--muted); }
.steps strong { color: var(--light); }
.step-num {
  flex: none;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff;
  border-radius: 50%; font-weight: 800;
}

/* Bandeau chiffres clés */
.stats-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 2rem; text-align: center; }
.stat-num { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1; }
.stat-label { display: block; margin-top: .5rem; color: rgba(255,255,255,.9); font-weight: 600; }

/* Galerie réalisations */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.gallery-item {
  position: relative;
  margin: 0;
  aspect-ratio: 4/3;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1rem .8rem;
  color: #fff; font-weight: 600; font-size: .95rem;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
}
.gallery-item:hover { border-color: var(--primary); }

/* Bouton son sur le bandeau vidéo */
.sound-toggle {
  position: absolute; bottom: 1.5rem; right: 1.5rem; z-index: 3;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(4px);
  color: #fff; font-size: 1.3rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease, border-color .2s ease;
}
.sound-toggle:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.08); }

/* Indice "défiler" sous le hero */
.scroll-cue {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; color: #fff; font-size: 1.8rem; text-decoration: none;
  animation: bounce 1.8s infinite;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* Animation d'apparition au défilement */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== CARTES SERVICES ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.8rem; }
.card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--primary); }
.card-icon { font-size: 2.6rem; margin-bottom: 1rem; }
.card p { color: var(--muted); }

/* ===== COORDONNÉES ===== */
.contact-info {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 2rem;
  margin: 2rem 0 .5rem;
}
.contact-info li { color: var(--muted); }
.contact-info a { color: var(--light); text-decoration: none; transition: color .2s; }
.contact-info a:hover { color: var(--primary); }

/* ===== FORMULAIRE ===== */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-form input, .contact-form textarea {
  padding: .95rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem; font-family: inherit;
  background: var(--dark-3); color: var(--light);
  transition: border-color .2s;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--muted); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary); }
.form-note { text-align: center; color: var(--primary); font-weight: 600; min-height: 1.2rem; }

/* ===== PIED DE PAGE ===== */
.site-footer { background: #08080a; color: var(--muted); padding: 2.5rem 0; text-align: center; border-top: 1px solid var(--border); }
.site-footer span { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 760px) {
  .burger { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--dark-2); flex-direction: column; gap: 0;
    padding: 1rem 0; border-bottom: 1px solid var(--border);
    transform: translateY(-150%); transition: transform .3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; text-align: center; padding: .6rem 0; }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .split-media { aspect-ratio: 16/9; }
}
