/* =============================================
   SOVEXIS v2 — style.css
   Palette : #FF7E07 orange | #0B1628 navy
   Police  : Outfit (titres) + DM Sans (corps)
   Boutons : carrés (border-radius: 4px)
   ============================================= */

:root {
  --orange:        #FF7E07;
  --orange-dark:   #E06A00;
  --orange-light:  #FFF0E0;
  --navy:          #0B1628;
  --navy-mid:      #162035;
  --navy-light:    #1E2E4A;
  --white:         #FFFFFF;
  --off-white:     #F5F7FF;
  --grey-100:      #EEF0F8;
  --grey-300:      #C4C9D9;
  --grey-500:      #7A8099;
  --text-dark:     #1A2340;
  --text-body:     #3D4666;

  --radius-btn:  4px;    /* boutons : légèrement carrés */
  --radius-card: 16px;   /* cards, blocs */
  --radius-lg:   24px;

  --shadow-sm:     0 2px 12px rgba(11,22,40,.08);
  --shadow-md:     0 8px 32px rgba(11,22,40,.13);
  --shadow-lg:     0 20px 60px rgba(11,22,40,.18);
  --shadow-orange: 0 8px 28px rgba(255,126,7,.32);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-w: 1180px;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ─────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1rem, 2vw, 1.25rem); }
p  { font-size: 1.05rem; }

/* ── Utility ─────────────────────────────────── */
.container   { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; }
.section-sm  { padding: 64px 0; }
.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ── Buttons (carrés) ────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255,126,7,.40);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
}
.btn-ghost-dark {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.18);
}
.btn-ghost-dark:hover {
  background: rgba(255,255,255,.15);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════
   NAVIGATION — fond clair #F5F7FF, logo transparent
   ══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: var(--off-white);          /* même couleur que section simulation */
  box-shadow: 0 1px 0 rgba(11,22,40,.08);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(11,22,40,.10);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
/* Logo image */
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
  margin-right: 32px;
}
.nav-links a {
  color: var(--text-dark);              /* texte sombre sur fond clair */
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-cta { padding: 11px 22px; font-size: .88rem; }

/* Burger — traits sombres */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);              /* sombre sur fond clair */
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--orange); }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  color: white;
  font-size: 1.8rem;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -220px; right: -220px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(255,126,7,.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(30,60,120,.45) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 130px 0 80px;
  width: 100%;
}
/* Pleine largeur centré quand pas de simulateur */
.hero-inner--full {
  display: flex;
  justify-content: center;
}
.hero-inner--full .hero-text {
  max-width: 720px;
  text-align: center;
}
.hero-inner--full .hero-sub  { max-width: 100%; margin-left: auto; margin-right: auto; }
.hero-inner--full .hero-actions { justify-content: center; }
.hero-inner--full .hero-stats { max-width: 480px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,126,7,.14);
  border: 1px solid rgba(255,126,7,.3);
  color: var(--orange);
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.hero-badge svg { width: 13px; height: 13px; fill: var(--orange); }
.hero-title { color: var(--white); margin-bottom: 18px; }
.hero-title .accent {
  background: linear-gradient(135deg, #FF7E07, #FFB347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255,255,255,.62);
  font-size: 1.1rem;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.hero-stat {
  background: rgba(255,255,255,.04);
  padding: 18px 14px;
  text-align: center;
}
.hero-stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--orange);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: .78rem; color: rgba(255,255,255,.45); }

/* Simulator card (hero) */
.hero-simulator {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-card);
  padding: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sim-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 4px;
}
.sim-subtitle { font-size: .82rem; color: rgba(255,255,255,.45); margin-bottom: 22px; }
.sim-field { margin-bottom: 18px; }
.sim-field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255,255,255,.65);
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
}
.sim-field input,
.sim-field select {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-btn);
  color: var(--white);
  font-size: .95rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.sim-field input:focus,
.sim-field select:focus { outline: none; border-color: var(--orange); }
.sim-field select option { background: var(--navy-mid); color: white; }
.sim-range {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sim-range input[type="range"] {
  flex: 1;
  padding: 0;
  background: none;
  border: none;
  accent-color: var(--orange);
}
.sim-range-val {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--orange);
  font-size: 1rem;
  min-width: 60px;
  text-align: right;
}
.sim-result {
  background: linear-gradient(135deg, var(--orange), #FFB347);
  border-radius: var(--radius-btn);
  padding: 18px;
  margin-top: 18px;
  text-align: center;
}
.sim-result-label { font-size: .78rem; color: rgba(0,0,0,.55); font-weight: 700; }
.sim-result-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  display: block;
  line-height: 1.1;
}
.sim-result-sub { font-size: .75rem; color: rgba(255,255,255,.75); margin-top: 4px; }

/* ══════════════════════════════════════════════
   SECTION SIMULATION COMPLÈTE
   ══════════════════════════════════════════════ */
.simulation-full {
  background: var(--off-white);
  padding: 96px 0;
}
.simulation-full .section-label { margin-bottom: 14px; }
.simulation-full h2 { margin-bottom: 12px; }
.simulation-full .section-sub {
  font-size: 1.05rem;
  color: var(--grey-500);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* Conteneur iframe — sans barre navigateur */
.iframe-container {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* iframe Revolt — hauteur auto gérée par iFrameResize */
#RevoltSimulatorIframe {
  width: 100%;
  min-height: 600px;
  height: auto;
  border: none;
  display: block;
}

/* ══════════════════════════════════════════════
   ABOUT / EXPERTISE
   ══════════════════════════════════════════════ */
.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,126,7,.14), transparent);
  z-index: 1;
}
.about-cert {
  position: absolute;
  bottom: 18px; left: 18px;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 13px 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.about-cert-icon {
  width: 40px; height: 40px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-cert-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.about-cert-text strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 800;
  color: var(--text-dark);
}
.about-cert-text span { font-size: .75rem; color: var(--grey-500); }
.about-content .section-sub { text-align: left; margin: 0 0 32px; font-size: 1rem; color: var(--grey-500); }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}
.feature-card {
  background: var(--off-white);
  border-radius: var(--radius-card);
  padding: 20px;
  border: 1px solid transparent;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-light);
  background: var(--white);
}
.feature-icon {
  width: 42px; height: 42px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.feature-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.feature-card h4 { font-size: .95rem; margin-bottom: 5px; }
.feature-card p { font-size: .82rem; color: var(--grey-500); line-height: 1.55; }

/* ══════════════════════════════════════════════
   STEPS
   ══════════════════════════════════════════════ */
.steps { background: var(--navy); overflow: hidden; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,126,7,.07) 0%, transparent 60%);
}
.steps .section-title { color: var(--white); }
.steps .section-sub  { color: rgba(255,255,255,.48); }
/* ══════════════════════════════════════════════
   STEPS — grands chiffres décoratifs
   ══════════════════════════════════════════════ */
.steps { background: var(--navy); overflow: hidden; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,126,7,.06) 0%, transparent 60%);
  pointer-events: none;
}
.steps .section-title { color: var(--white); }
.steps .section-sub  { color: rgba(255,255,255,.48); }

.steps-grid {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin: 0 auto;
  gap: 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
}
.step-item:last-child { border-bottom: none; }

/* Grand chiffre décoratif */
.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--orange);
  min-width: 80px;
  text-align: right;
  flex-shrink: 0;
  /* Légère opacité pour effet décoratif sans disparaître */
  opacity: .85;
  margin-top: -8px;
}

.step-content {}
.step-item h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 8px;
  margin-top: 4px;
}
.step-item p {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
}
.step-dot { display: none; }

@media (max-width: 480px) {
  .step-num { font-size: 3rem; min-width: 56px; }
}
.step-item {
  background: rgba(255,255,255,.03);
  padding: 36px 26px;
  transition: background var(--transition);
}
.step-item:hover { background: rgba(255,126,7,.06); }
.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.step-item h3 { color: var(--white); margin-bottom: 10px; }
.step-item p  { font-size: .85rem; color: rgba(255,255,255,.48); line-height: 1.65; }
.step-dot {
  width: 9px; height: 9px;
  background: var(--orange);
  border-radius: 50%;
  margin-top: 20px;
}

/* ══════════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════════ */
.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding: 18px;
  background: var(--off-white);
  border-radius: var(--radius-card);
}
.contact-detail-icon {
  width: 42px; height: 42px;
  background: var(--orange-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.contact-detail-text strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}
.contact-detail-text span { font-size: .88rem; color: var(--grey-500); }
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-card);
  padding: 38px;
}
.form-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 7px;
  font-family: 'Outfit', sans-serif;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--grey-100);
  border-radius: var(--radius-btn);
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255,126,7,.10);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: #E53E3E; }
.error-msg { display: none; font-size: .78rem; color: #E53E3E; margin-top: 4px; }
.form-group.has-error .error-msg { display: block; }
.form-submit { width: 100%; padding: 16px; font-size: 1rem; justify-content: center; }
.form-success {
  display: none;
  text-align: center;
  padding: 32px;
}
.form-success .success-icon {
  width: 60px; height: 60px;
  background: #ECFDF5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.form-success .success-icon svg { width: 30px; height: 30px; fill: #10B981; }
.form-success h3 { color: var(--text-dark); margin-bottom: 8px; }
.form-success p  { color: var(--grey-500); font-size: .95rem; }

/* ══════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════ */
.footer { background: var(--navy); padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-logo img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-desc { font-size: .88rem; color: rgba(255,255,255,.4); line-height: 1.7; max-width: 270px; }
.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.42); font-size: .88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.28); }
.footer-rge-badge {
  background: rgba(255,126,7,.14);
  border: 1px solid rgba(255,126,7,.3);
  color: var(--orange);
  font-size: .72rem;
  font-weight: 800;
  padding: 3px 11px;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
}

/* ══════════════════════════════════════════════
   PAGES INTERNES (hero compact)
   ══════════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,126,7,.16) 0%, transparent 60%);
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,.58); max-width: 520px; margin-top: 14px; font-size: 1.05rem; }

/* ══════════════════════════════════════════════
   ACTUALITÉS — CARDS
   ══════════════════════════════════════════════ */
.projects-section { background: var(--off-white); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-img { height: 200px; overflow: hidden; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card:hover .card-img img { transform: scale(1.06); }
.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--orange);
  color: white;
  font-size: .7rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 100px;
}
.card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.card-date  { font-size: .78rem; color: var(--grey-500); margin-bottom: 7px; }
.card-body h3 { font-size: 1rem; margin-bottom: 9px; color: var(--text-dark); }
.card-body p  { font-size: .84rem; color: var(--grey-500); line-height: 1.6; flex: 1; }
.card-footer  { padding: 0 22px 18px; display: flex; align-items: center; justify-content: space-between; }
.card-stat {
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-light);
  padding: 4px 10px;
  border-radius: 100px;
}
.card-arrow {
  width: 30px; height: 30px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.project-card:hover .card-arrow { background: var(--orange); }
.card-arrow svg { width: 13px; height: 13px; fill: var(--grey-500); transition: fill var(--transition); }
.project-card:hover .card-arrow svg { fill: white; }

/* ══════════════════════════════════════════════
   PROJET DÉTAIL
   ══════════════════════════════════════════════ */
.projet-header { background: var(--navy); padding: 140px 0 60px; position: relative; overflow: hidden; }
.projet-header::before {
  content: ''; position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,126,7,.14) 0%, transparent 60%);
}
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,.55); font-size: .9rem; transition: color var(--transition); margin-bottom: 22px;
}
.back-link:hover { color: var(--orange); }
.back-link svg { width: 16px; height: 16px; fill: currentColor; }
.projet-header h1 { color: var(--white); margin-bottom: 14px; }
.projet-meta { display: flex; gap: 10px; flex-wrap: wrap; }
.projet-tag {
  background: rgba(255,126,7,.14); border: 1px solid rgba(255,126,7,.3);
  color: var(--orange); font-size: .76rem; font-weight: 700;
  font-family: 'Outfit', sans-serif; padding: 4px 12px; border-radius: 100px;
}
.projet-body { background: var(--off-white); }
.projet-inner { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; padding: 64px 0; }
.projet-image { border-radius: var(--radius-card); overflow: hidden; margin-bottom: 28px; max-height: 440px; }
.projet-image img { width: 100%; height: 100%; object-fit: cover; }
.projet-description { font-size: 1.05rem; line-height: 1.85; }
.projet-sidebar {
  background: var(--white); border-radius: var(--radius-card);
  padding: 26px; box-shadow: var(--shadow-sm); position: sticky; top: 90px;
}
.sidebar-title {
  font-family: 'Outfit', sans-serif; font-size: .95rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: 18px; padding-bottom: 14px;
  border-bottom: 2px solid var(--orange);
}
.sidebar-stat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 0; border-bottom: 1px solid var(--grey-100);
}
.sidebar-stat:last-child { border-bottom: none; }
.sidebar-stat-label { font-size: .82rem; color: var(--grey-500); }
.sidebar-stat-val { font-family: 'Outfit', sans-serif; font-size: .92rem; font-weight: 800; color: var(--text-dark); }
.sidebar-cta { display: block; text-align: center; margin-top: 22px; }

/* ══════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════ */
.faq-section { background: var(--off-white); }
.search-bar-wrap { max-width: 560px; margin: 0 auto 44px; position: relative; }
.search-bar-wrap svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; fill: var(--grey-500); pointer-events: none;
}
#faq-search {
  width: 100%; padding: 15px 20px 15px 50px;
  border: 2px solid var(--grey-100); border-radius: var(--radius-btn);
  font-family: 'DM Sans', sans-serif; font-size: 1rem;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
#faq-search:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,126,7,.10); }
.faq-cats { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.faq-cat {
  padding: 7px 18px; border-radius: 100px; border: 2px solid var(--grey-100);
  background: var(--white); font-family: 'Outfit', sans-serif; font-size: .82rem;
  font-weight: 700; color: var(--grey-500); transition: var(--transition); cursor: pointer;
}
.faq-cat.active, .faq-cat:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--white); border-radius: var(--radius-card); margin-bottom: 10px;
  box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid transparent; transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--orange-light); }
.faq-question {
  width: 100%; text-align: left; padding: 20px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: none; font-family: 'Outfit', sans-serif; font-size: .98rem;
  font-weight: 700; color: var(--text-dark); transition: color var(--transition);
}
.faq-question:hover, .faq-item.open .faq-question { color: var(--orange); }
.faq-icon {
  width: 30px; height: 30px; background: var(--off-white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}
.faq-icon svg { width: 13px; height: 13px; fill: var(--grey-500); transition: fill var(--transition); }
.faq-item.open .faq-icon { background: var(--orange); transform: rotate(180deg); }
.faq-item.open .faq-icon svg { fill: white; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.4,0,.2,1); }
.faq-answer-inner { padding: 0 22px 20px; font-size: .93rem; color: var(--text-body); line-height: 1.75; }
.faq-no-results { text-align: center; padding: 48px; color: var(--grey-500); display: none; }

/* ══════════════════════════════════════════════
   ANIMATIONS SCROLL
   ══════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-d1 { transition-delay: .10s; }
.fade-up-d2 { transition-delay: .20s; }
.fade-up-d3 { transition-delay: .30s; }
.fade-up-d4 { transition-delay: .40s; }
.fade-up-d5 { transition-delay: .50s; }

/* ══════════════════════════════════════════════
   WAVE DIVIDERS
   ══════════════════════════════════════════════ */
.wave { line-height: 0; }
.wave svg { display: block; width: 100%; }

/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner       { grid-template-columns: 1fr; gap: 40px; padding: 130px 0 60px; }
  .hero-sub         { max-width: 100%; }
  .about-grid       { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid       { grid-template-columns: 1fr 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .projet-inner     { grid-template-columns: 1fr; }
  .projet-sidebar   { position: static; }
  .projects-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section         { padding: 64px 0; }
  .nav-links       { display: none; }
  .nav-cta         { display: none; }
  .burger          { display: flex; }
  .steps-grid      { grid-template-columns: 1fr; }
  .about-features  { grid-template-columns: 1fr; }
  .form-row        { grid-template-columns: 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom   { flex-direction: column; text-align: center; }
  .projects-grid   { grid-template-columns: 1fr; }
  .hero-stats      { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .hero-actions    { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .hero-stats      { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px; }
}

/* ── Galerie thumbnails page projet ──── */
.projet-gallery {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.gallery-thumb {
  width: 110px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s, box-shadow 0.2s, transform 0.15s;
  border: 3px solid transparent;
}
.gallery-thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.gallery-thumb.active {
  opacity: 1;
  border-color: var(--orange);
  box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

/* ── Lightbox plein écran ──── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lightbox-fade 0.2s ease;
}
@keyframes lightbox-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.2s;
  z-index: 2;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 2.8rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; font-size: 2rem; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: 12px; right: 16px; }
}
