/* ═══════════════════════════════════════════════════════════════
   QuarX Stratégie : Feuille de styles principale
   Design : Bleu #0161aa / Bleu clair #0ba1dd / Anthracite #181D27
   Typographie : Montserrat (titres/marque) + Roboto (corps)
   Structure : 8 sections sombre/clair alternées
   ═══════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Couleurs de marque : ne pas modifier */
  --blue:        #0161aa;
  --blue-hover:  #014d88;
  --blue-light:  #0ba1dd;
  --blue-glow:   rgba(1, 97, 170, 0.15);

  /* Palette fond sombre */
  --dark:        #181D27;
  --dark-mid:    #232B3A;
  --dark-card:   #2A3347;

  /* Palette textes & neutres */
  --grey:        #676768;
  --grey-light:  #9a9b9b;
  --white:       #FFFFFF;
  --off-white:   #F5F7FA;

  /* Bordures */
  --border:       rgba(255,255,255,0.08);
  --border-light: rgba(0,0,0,0.08);

  /* Typographie */
  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Roboto', sans-serif;
  --font:         var(--font-body);

  /* Formes */
  --radius:    12px;
  --radius-sm: 6px;

  /* Ombres */
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.07);

  /* Transitions */
  --transition: 0.25s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img     { max-width: 100%; display: block; }
a       { text-decoration: none; color: inherit; }
ul      { list-style: none; }
button  { border: none; background: none; cursor: pointer; font-family: inherit; }


/* ════════════════════════════════════════════════════════════════
   LAYOUT
   ════════════════════════════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}


/* ════════════════════════════════════════════════════════════════
   TYPOGRAPHIE COMMUNE
   ════════════════════════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }

/* Étiquette de section (ex : "Ma Méthode", "Résultats") */
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  font-family: var(--font-heading);
}
.section-tag--light { color: var(--blue-light); }

/* Titre H2 de section */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--dark);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.section-title--light { color: var(--white); }

/* Sous-titre descriptif sous le H2 */
.section-sub {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: var(--grey);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 0;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
  text-align: center;
}
.enjeux .section-sub {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: var(--dark);
}

/* Bloc centré : tag + h2 + sous-titre */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}


/* ════════════════════════════════════════════════════════════════
   BOUTONS
   ════════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
  white-space: nowrap;
}

/* Bouton principal (bleu plein) */
.btn--primary {
  background: var(--blue);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(1, 97, 170, 0.4);
}

/* Bouton secondaire (contour blanc, sections sombres) */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--ghost:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.06);
}

/* Bouton pleine largeur (formulaire) */
.btn--full { width: 100%; justify-content: center; }


/* ════════════════════════════════════════════════════════════════
   ANIMATION : REVEAL AU SCROLL
   ════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ════════════════════════════════════════════════════════════════
   NAVIGATION
   ════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 8px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow var(--transition), padding var(--transition);
}
.nav.scrolled {
  padding: 6px 0;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav__logo-img {
  height: 64px;
  width: auto;
  display: block;
  border-radius: 6px;
  transition: opacity var(--transition);
}
.nav__logo:hover .nav__logo-img { opacity: 0.85; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__link {
  color: var(--grey);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover { color: var(--dark); background: var(--off-white); }
.nav__link.active { color: var(--dark); font-weight: 700; }

.nav__cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 16px;
  margin-left: 8px;
  font-weight: 700;
  font-size: 0.875rem;
}
.nav__cta:hover {
  background: var(--blue-hover) !important;
  color: var(--white) !important;
}

/* Burger : visible sous 768px uniquement */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { opacity: 0; }
.nav__burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ════════════════════════════════════════════════════════════════
   1. HERO : fond sombre
   Accroche forte avec différenciateur terrain→DG dans le H1.
   ════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 80px;
}

/* Grille de fond subtile */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(1,97,170,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1,97,170,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

/* Pastille de catégorie : taille augmentée pour équilibre visuel */
.hero__tag {
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 32px;
  padding: 10px 22px;
  border: 1px solid rgba(11,161,221,0.3);
  border-radius: 999px;
  font-family: var(--font-heading);
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.hero__headline--accent { color: var(--blue-light); }

.hero__sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--grey-light);
  line-height: 1.65;
  margin-bottom: 0;
  max-width: 600px;
}

/* Slogan de marque (Roboto, Montserrat) */
.hero__slogan {
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-top: 32px;
  margin-bottom: 40px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Filigrane industriel : 3 photos à opacité très basse */
.hero__gallery {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__gallery-img {
  position: absolute;
  object-fit: cover;
  opacity: 0.08;
  filter: grayscale(100%);
  mix-blend-mode: screen;
  border-radius: 8px;
}

/* Photo HVAC : bas gauche */
.hero__gallery-img--1 {
  bottom: 60px;
  left: -20px;
  width: 340px;
  height: 240px;
  object-position: center;
  transform: rotate(-2deg);
}

/* Photo pompes : haut droite */
.hero__gallery-img--2 {
  top: 80px;
  right: 520px;
  width: 260px;
  height: 200px;
  object-position: center;
  transform: rotate(1.5deg);
}

/* Photo production : bas centre-droit */
.hero__gallery-img--3 {
  bottom: 40px;
  right: 480px;
  width: 220px;
  height: 160px;
  object-position: center top;
  transform: rotate(-1deg);
}

/* Cacher les filigrane sur mobile pour ne pas surcharger */
@media (max-width: 900px) {
  .hero__gallery { display: none; }
}

/* Barre d'accent en bas du hero */
.hero__accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-light), transparent);
}

/* Filigrane logo à droite */
.hero__logo-bg {
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  max-width: 44%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.10;
}
.hero__logo-bg img { width: 100%; height: auto; display: block; }


/* ════════════════════════════════════════════════════════════════
   2. ENJEUX : fond clair
   Nommer les douleurs dirigeants avant toute solution.
   ════════════════════════════════════════════════════════════════ */
.enjeux {
  padding: 80px 0;
  background: var(--off-white);
}

.enjeux__list {
  max-width: 820px;
  margin: 0 auto;
}

.enjeux__item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}
.enjeux__item:first-child { border-top: 1px solid var(--border-light); }

.enjeux__marker {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--blue);
}
.enjeux__marker svg { width: 100%; height: 100%; }

.enjeux__text { flex: 1; }

.enjeux__text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.enjeux__text p {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}


/* ════════════════════════════════════════════════════════════════
   3. CONSEIL : fond sombre
   Les trois axes de conseil, avec contexte "Pour qui" intégré.
   ════════════════════════════════════════════════════════════════ */
.services {
  padding: 80px 0;
  background: var(--dark-mid);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Carte de service (fond sombre) */
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: transform var(--transition), border-color var(--transition),
              box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11,161,221,0.35);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

/* Carte mise en avant */
.service-card--featured {
  border-color: var(--blue);
  background: rgba(1,97,170,0.12);
}
.service-card--featured:hover {
  box-shadow: 0 8px 40px rgba(1,97,170,0.25);
}

.service-card__badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-heading);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--blue-light);
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 0.9375rem;
  color: var(--grey-light);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.service-card__list li {
  font-size: 0.875rem;
  color: var(--grey-light);
  padding-left: 16px;
  position: relative;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-light);
}

/* Ligne contextuelle "Pour qui" en bas de carte */
.service-card__for {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: rgba(154,155,155,0.7);
  line-height: 1.5;
}


/* ════════════════════════════════════════════════════════════════
   4. MA MÉTHODE : fond clair
   4 piliers visualisés en grille 2x2 : plus lisible qu'une liste.
   ════════════════════════════════════════════════════════════════ */
.approche {
  padding: 80px 0;
  background: var(--white);
}

.approche .section-header { margin-bottom: 16px; }

/* Grille 2x2 des piliers méthode */
.methode__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin: 56px 0 64px;
}

.methode__pilier {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.methode__pilier:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: rgba(1,97,170,0.2);
}

.methode__icon {
  width: 44px;
  height: 44px;
  color: var(--blue);
  margin-bottom: 16px;
}
.methode__icon svg { width: 100%; height: 100%; }

.methode__num {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.methode__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.methode__text {
  font-size: 0.9375rem;
  color: var(--grey);
  line-height: 1.7;
}

.methode__concept {
  max-width: 720px;
  margin: 0 auto 3rem auto;
  text-align: center;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.75;
  color: var(--color-text-muted, #6b7280);
  font-style: italic;
}

.approche__cta { text-align: center; }


/* ════════════════════════════════════════════════════════════════
   5. RÉSULTATS : fond sombre
   Grands chiffres après la méthode : les preuves après le comment.
   ════════════════════════════════════════════════════════════════ */
.resultats {
  padding: 80px 0;
  background: var(--dark);
}

/* 4 stats en ligne */
.resultats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin: 64px 0 56px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
}

.resultats__stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.resultats__num {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}
.resultats__unit {
  font-size: 0.5em;
  color: var(--blue-light);
  font-weight: 700;
  margin-left: 3px;
  vertical-align: super;
}

.resultats__label {
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.55;
}

/* Citation fondateur sous les stats */
.resultats__quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.resultats__quote p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.50);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 16px;
}
.resultats__quote cite {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-light);
  font-style: normal;
  letter-spacing: 0.02em;
}


/* ════════════════════════════════════════════════════════════════
   6. PROFIL : fond clair
   Le fondateur après les preuves : crédibilité établie en amont.
   ════════════════════════════════════════════════════════════════ */
.apropos {
  padding: 80px 0;
  background: var(--dark); /* base sombre, surchargée par --light */
}

/* Variante fond clair (utilisée dans le HTML via apropos--light) */
.apropos--light {
  background: var(--off-white);
}

.apropos__inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

/* Photo sticky : reste visible pendant que le texte défile */
.apropos__photo {
  position: sticky;
  top: 100px;
  display: flex;
  justify-content: center;
}

/* ── Photo de profil — zone modifiée pour intégration SVG ── */
.apropos__photo-placeholder {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
}

/* Photo raster (fallback) */
.apropos__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  transition: transform var(--transition);
}
.apropos__photo-img:hover { transform: scale(1.03); }

/* Photo SVG profil : cercle et bordure gérés dans le SVG */
.apropos__photo-img--svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
}
.apropos__photo-placeholder svg {
  width: 64px;
  height: 64px;
  color: rgba(0,0,0,0.2);
}

/* Titre nom fondateur */
.apropos__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 4px;
  color: var(--white); /* défaut sombre */
}
.apropos__title--dark { color: var(--dark); }

/* Ligne de crédentiels */
.apropos__credentials {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 8px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.45);
}
.apropos__credentials--dark { color: var(--grey); }

/* Accroche principale */
.apropos__lead {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 14px;
  color: var(--white);
}
.apropos__lead--dark { color: var(--dark); }

/* Paragraphes courants */
.apropos__text {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.62);
}
.apropos__text--dark { color: var(--grey); }
.apropos__text--dark strong { color: var(--dark); }

/* Bloc conviction/frustration */
.apropos__conviction {
  border-left: 3px solid var(--blue-light);
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;

  /* Défaut fond sombre */
  background: rgba(11,161,221,0.08);
}
.apropos__conviction--light-bg {
  background: rgba(1,97,170,0.06);
  border-left-color: var(--blue);
}
.apropos__conviction p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}
.apropos__conviction--light-bg p { color: var(--dark); }
.apropos__conviction strong { color: var(--blue-light); font-weight: 700; }
.apropos__conviction--light-bg strong { color: var(--blue); }

/* Texte question finale */
.apropos__cta-text {
  margin-top: 16px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.62);
}
.apropos__cta-text--dark { color: var(--grey); }
.apropos__cta-text strong { color: var(--white); font-weight: 600; }
.apropos__cta-text--dark strong { color: var(--dark); }

/* Ligne d'actions (CTA + LinkedIn) */
.apropos__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.apropos__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color var(--transition);
  color: var(--blue-light);
}
.apropos__linkedin--dark { color: var(--blue); }
.apropos__linkedin:hover,
.apropos__linkedin--dark:hover { color: var(--blue-hover); }


/* ════════════════════════════════════════════════════════════════
   7. FAQ : fond sombre
   Lever les objections silencieuses juste avant le CTA final.
   Accordéon natif <details>/<summary>, sans JS supplémentaire.
   ════════════════════════════════════════════════════════════════ */
.faq {
  padding: 80px 0;
  background: var(--dark-mid);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__question {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
  user-select: none;
}
/* Supprimer la flèche native */
.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { display: none; }

/* Icône + animée */
.faq__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  color: var(--blue-light);
  flex-shrink: 0;
  transition: transform var(--transition);
}
details[open] > .faq__question::after { transform: rotate(45deg); }
.faq__question:hover { color: var(--blue-light); }

.faq__answer {
  padding: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__answer p {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.8;
}


/* ════════════════════════════════════════════════════════════════
   8. CONTACT : fond clair
   S'ouvre sur la question-miroir, pas sur un formulaire.
   ════════════════════════════════════════════════════════════════ */
.contact {
  padding: 80px 0;
  background: var(--dark); /* base, surchargée par --light */
}

.contact--light {
  background: var(--white);
}

.contact__inner {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}

/* Titre de la section Contact (clair) */
.contact__title--dark {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.contact__sub {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--grey);
}
.contact__sub--dark { color: var(--grey); }

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  transition: color var(--transition);
  color: var(--grey-light);
}
.contact__info-item--dark {
  color: var(--grey);
}
.contact__info-item:hover { color: var(--white); }
.contact__info-item--dark:hover { color: var(--blue); }
.contact__info-item svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ── Formulaire de base (fond sombre) ── */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--grey-light);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.9375rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%238892A4' stroke-width='1.5' stroke-linecap='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-group select option { background: var(--dark); color: var(--white); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(136,146,164,0.45); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(1,97,170,0.06);
}
.form-group input.error,
.form-group textarea.error { border-color: #E5534B; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── Formulaire variante fond clair ── */
.contact__form--light .form-group label {
  color: var(--grey);
}
.contact__form--light .form-group input,
.contact__form--light .form-group select,
.contact__form--light .form-group textarea {
  background: var(--off-white);
  border-color: var(--border-light);
  color: var(--dark);
}
.contact__form--light .form-group select option {
  background: var(--white);
  color: var(--dark);
}
.contact__form--light .form-group input::placeholder,
.contact__form--light .form-group textarea::placeholder {
  color: rgba(103,103,104,0.45);
}
.contact__form--light .form-group input:focus,
.contact__form--light .form-group select:focus,
.contact__form--light .form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(1,97,170,0.04);
}

.form-legal {
  font-size: 0.75rem;
  color: var(--grey);
  text-align: center;
  margin-top: -4px;
}

.contact__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 48px 24px;
}
.contact__success-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}


/* ════════════════════════════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════════════════════════════ */
.footer {
  background: #0F1319;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__logo { display: inline-flex; align-items: center; }
.footer__logo-img {
  height: 56px;
  width: auto;
  border-radius: 6px;
  opacity: 0.9;
  transition: opacity var(--transition);
  display: block;
}
.footer__logo:hover .footer__logo-img { opacity: 1; }

.footer__nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: 0.875rem;
  color: var(--grey);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }

.footer__legal {
  width: 100%;
  font-size: 0.8125rem;
  color: rgba(136,146,164,0.6);
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
}
.footer__mentions {
  color: rgba(136,146,164,0.6);
  margin-left: 16px;
  transition: color var(--transition);
}
.footer__mentions:hover { color: var(--grey); }


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════════ */

/* ── Tablette large : 1100px ── */
@media (max-width: 1100px) {
  .resultats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* ── Tablette : 1024px ── */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  }

  .contact__inner { grid-template-columns: 1fr; gap: 56px; }

  /* Padding sections — palier 1024px */
  .hero      { padding: 90px 0 60px; }
  .enjeux    { padding: 60px 0; }
  .services  { padding: 60px 0; }
  .approche  { padding: 60px 0; }
  .resultats { padding: 60px 0; }
  .apropos   { padding: 60px 0; }
  .faq       { padding: 60px 0; }
  .contact   { padding: 60px 0; }
}

/* ── Tablette portrait : 900px ── */
@media (max-width: 900px) {
  .hero__logo-bg { display: none; }

  .methode__grid { grid-template-columns: 1fr; gap: 20px; }

  .apropos__inner { grid-template-columns: 1fr; gap: 40px; }
  .apropos__photo { position: static; max-width: 200px; }
  .apropos__photo-placeholder { aspect-ratio: 1/1; max-height: none; }

  .footer__nav { margin-left: 0; }
}

/* ── Mobile : 768px ── */
@media (max-width: 768px) {
  /* Menu burger */
  .nav__links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 48px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.4);
    z-index: 999;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__link { font-size: 1.0625rem; width: 100%; padding: 10px 0; border-radius: 0; }
  .nav__cta { margin-left: 0; margin-top: 16px; width: 100%; justify-content: center; }
  .nav__burger { display: flex; }

  /* Hero */
  .hero { min-height: 100svh; padding: 88px 0 40px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: fit-content; }

  /* Enjeux */
  .enjeux__item { gap: 16px; padding: 20px 0; }

  /* Sections padding */
  .enjeux   { padding: 40px 0; }
  .services { padding: 40px 0; }
  .approche { padding: 40px 0; }
  .resultats { padding: 40px 0; }
  .apropos  { padding: 40px 0; }
  .faq      { padding: 40px 0; }
  .faq__question { padding: 18px 0; font-size: 0.9375rem; }
  .contact  { padding: 40px 0; }

  /* Résultats : 2 colonnes sur mobile */
  .resultats__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 40px 0;
    gap: 32px;
    margin: 40px 0 40px;
  }

  /* Formulaire */
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__nav { margin-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
  .footer__legal { margin-top: 0; padding-top: 16px; }
}

/* ── Mobile petit : 480px ── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Padding sections — palier 480px */
  .hero      { padding: 84px 0 28px; }
  .services  { padding: 28px 0; }
  .approche  { padding: 28px 0; }
  .enjeux    { padding: 28px 0; }
  .resultats { padding: 28px 0; }
  .apropos   { padding: 28px 0; }
  .faq       { padding: 28px 0; }
  .contact   { padding: 28px 0; }

  .faq__question { padding: 14px 0; gap: 12px; }
  .faq__answer   { padding: 0 0 18px; }
  .faq__answer p { font-size: 0.875rem; }

  .services__grid { grid-template-columns: 1fr; }
  .service-card   { padding: 28px 20px; }

  .methode__pilier { padding: 28px 20px; }

  .resultats__grid { grid-template-columns: 1fr; }

  .apropos__actions { flex-direction: column; align-items: flex-start; }

  .footer__nav { grid-template-columns: 1fr; gap: 10px; }
}
