/* ============================================================
   SOFRETMA TRANSIT — Feuille de styles principale
   Style : Dark & Corporate Bleu / Or / Marron
   W2K-Digital | style.css
   ============================================================ */

/* ---- Variables CSS ---- */
:root {
  /* Palette principale Bleu / Or / Marron */
  --bleu-nuit:    #0B2557;   /* Bleu nuit profond — fond principal dark */
  --bleu-profond: #0D3272;   /* Bleu profond — surfaces sombres */
  --bleu-ciel:    #38BDF8;   /* Bleu ciel — icônes, bordures, accents */
  --bleu-moyen:   #1D6FA4;   /* Bleu moyen — hover, sections alternées */

  --or:           #D4AF37;   /* Or luxe métallique — titres H2, icônes */
  --or-fonce:     #B8960C;   /* Or foncé — hover, variante */
  --or-clair:     #E8CC7A;   /* Or clair — texte sur fond sombre */

  --marron:       #7B4A2D;   /* Marron — accents chauds */
  --marron-clair: #A0623D;   /* Marron clair — hover marron */

  --emeraude:     #10B981;   /* Émeraude — boutons CTA principaux */
  --emeraude-fonce:#059669;  /* Émeraude foncé — hover CTA */

  /* Glassmorphism */
  --glass-bg:     rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);

  /* Neutres */
  --blanc:        #FFFFFF;
  --texte-clair:  #E2E8F0;   /* Texte sur fond sombre */
  --texte-muted:  #94A3B8;   /* Texte secondaire sur fond sombre */
  --gris-clair:   #F1F5F9;   /* Fond clair sections */
  --noir-texte:   #1E293B;   /* Texte sur fond clair */

  /* Espacement 8px grid */
  --gap-xs:   8px;
  --gap-sm:  16px;
  --gap-md:  24px;
  --gap-lg:  48px;
  --gap-xl:  80px;

  /* Rayons — style arrondi */
  --radius-sm:   8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  /* Ombres */
  --ombre:        0 4px 24px rgba(0,0,0,0.2);
  --ombre-forte:  0 8px 48px rgba(0,0,0,0.35);
  --ombre-or:     0 0 24px rgba(212,175,55,0.35);
  --ombre-bleu:   0 0 24px rgba(56,189,248,0.25);

  /* Transitions */
  --transition: 0.3s ease-in-out;

  /* ---- Aliases de compatibilité (pages internes) ---- */
  --vert-logo:   var(--emeraude);
  --vert-fonce:  var(--emeraude-fonce);
  --gris-clair:  rgba(255,255,255,0.06);
  --gris-texte:  var(--texte-muted);
  --noir-texte:  var(--texte-clair);
  --bleu:        var(--bleu-moyen);
  --bleu-clair:  var(--bleu-ciel);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bleu-nuit);
  color: var(--texte-clair);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: 'Inter', sans-serif; }

/* ---- Typographie ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); color: var(--or); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); color: var(--or); }
h4 { font-size: 1.1rem; font-weight: 600; color: var(--or-clair); }

p { margin-bottom: var(--gap-sm); }
p:last-child { margin-bottom: 0; }

/* ---- Conteneur ---- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--gap-md);
}

/* ---- Sections ---- */
.section { padding: var(--gap-xl) 0; }

/* Surface légèrement plus claire */
.section--surface {
  background: var(--bleu-profond);
  background: linear-gradient(135deg, rgba(13,50,114,0.6) 0%, rgba(11,37,87,0.8) 100%);
}

/* Section CTA foncée */
.section--cta {
  background: linear-gradient(135deg, var(--marron) 0%, #5A3020 100%);
}

/* ---- Titres de section ---- */
.section__titre {
  text-align: center;
  margin-bottom: var(--gap-lg);
}

.section__titre h2 { color: var(--or); }

.section__titre--gauche { text-align: left; margin-bottom: var(--gap-md); }

.section__sous-titre {
  text-align: center;
  color: var(--texte-muted);
  font-size: 1.05rem;
  margin-top: var(--gap-xs);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--gap-xs);
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  min-height: 48px;
  min-width: 48px;
  white-space: nowrap;
}

/* Bouton or — navigations, accents */
.btn--or {
  background: var(--or);
  color: #1A1A1A;
  border-color: var(--or);
}
.btn--or:hover {
  background: var(--or-fonce);
  border-color: var(--or-fonce);
  transform: translateY(-2px);
  box-shadow: var(--ombre-or);
}

/* Bouton émeraude — CTA principal */
.btn--emeraude {
  background: var(--emeraude);
  color: var(--blanc);
  border-color: var(--emeraude);
}
.btn--emeraude:hover {
  background: var(--emeraude-fonce);
  border-color: var(--emeraude-fonce);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(16,185,129,0.45);
}

/* Bouton contour blanc */
.btn--outline-blanc {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-blanc:hover {
  background: var(--blanc);
  color: var(--bleu-nuit);
  border-color: var(--blanc);
}

/* Bouton vert — alias émeraude (compatibilité pages internes) */
.btn--vert {
  background: var(--emeraude);
  color: var(--blanc);
  border-color: var(--emeraude);
}
.btn--vert:hover {
  background: var(--emeraude-fonce);
  border-color: var(--emeraude-fonce);
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(16,185,129,0.45);
}

/* Bouton contour or */
.btn--outline-or {
  background: transparent;
  color: var(--or);
  border-color: var(--or);
}
.btn--outline-or:hover {
  background: var(--or);
  color: #1A1A1A;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-bottom: 3px solid var(--or);
  box-shadow: 0 2px 16px rgba(11,37,87,0.12);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: var(--gap-md);
}

/* Logo transparent – aucun fond, aucune bordure */
.header__logo {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  outline: none;
  text-decoration: none;
  line-height: 0;
}

.header__logo picture {
  display: block;
  background: transparent;
  line-height: 0;
}

.header__logo img {
  display: block;
  height: 56px;
  width: auto;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  /* Préserve la transparence du PNG/WebP */
  image-rendering: auto;
}

/* Navigation principale */
.header__nav { flex: 1; }

.nav__liste {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.nav__item { position: relative; }

.nav__lien,
.nav__dropdown-btn {
  display: block;
  padding: 8px 12px;
  color: var(--bleu-nuit);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  background: none;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

.nav__lien:hover,
.nav__dropdown-btn:hover,
.nav__lien--actif {
  color: var(--or);
  background: rgba(212,175,55,0.10);
}

.nav__fleche { font-size: 0.65rem; margin-left: 4px; }

/* Dropdown Services */
.nav__item--dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #0D3272;
  background: linear-gradient(160deg, #0D3272 0%, #0B2557 100%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--ombre-forte);
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 200;
  backdrop-filter: blur(12px);
}

.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
}

.dropdown__lien {
  display: block;
  padding: 10px 20px;
  color: var(--texte-clair);
  font-size: 0.88rem;
  transition: all var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.dropdown__lien:last-child { border-bottom: none; }
.dropdown__lien:hover {
  color: var(--or);
  background: rgba(212,175,55,0.08);
  padding-left: 28px;
}

/* Bouton CTA header */
.header__cta { flex-shrink: 0; }

/* Hamburger mobile */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bleu-nuit);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.actif span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.actif span:nth-child(2) { opacity: 0; }
.hamburger.actif span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Conteneur slideshow hero */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay dégradé sombre */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,37,87,0.88) 0%,
    rgba(11,37,87,0.70) 50%,
    rgba(29,111,164,0.55) 100%
  );
  z-index: 1;
}

.hero__contenu {
  position: relative;
  z-index: 2;
  color: var(--blanc);
  max-width: 780px;
}

.hero__titre {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--blanc);
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.4);
  letter-spacing: -0.5px;
}

.hero__sous-titre {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--or);
  margin-bottom: 16px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero__accroche {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--gap-lg);
  letter-spacing: 0.5px;
}

.hero__actions {
  display: flex;
  gap: var(--gap-sm);
  flex-wrap: wrap;
}

/* Hero page interne */
.hero--interne {
  min-height: 42vh;
  text-align: center;
  justify-content: center;
}
.hero--interne .hero__contenu { text-align: center; max-width: 900px; }

/* ============================================================
   GRILLE SERVICES (nouvelle section index)
   ============================================================ */
.services-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-md);
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,175,55,0.4);
  box-shadow: var(--ombre-or);
}

.service-card__lien { display: block; }

.service-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.service-card:hover .service-card__img { transform: scale(1.06); }

/* Overlay gradient sur image service */
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(11,37,87,0.9) 100%);
}

.service-card__corps { padding: var(--gap-sm) var(--gap-md); }

.service-card__titre {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--or);
  margin-bottom: 8px;
}

.service-card__texte {
  font-size: 0.88rem;
  color: var(--texte-muted);
  line-height: 1.6;
}

/* ============================================================
   EXPERTISE SECTION
   ============================================================ */
.expertise-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-lg);
  align-items: center;
}

.expertise__img {
  border-radius: var(--radius-lg);
  box-shadow: var(--ombre-forte);
  width: 100%;
  object-fit: cover;
}

.expertise__lead {
  font-size: 1rem;
  color: var(--texte-muted);
  margin-bottom: var(--gap-md);
  font-style: italic;
}

.expertise__liste {
  margin-top: var(--gap-md);
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.expertise__item {
  display: flex;
  gap: var(--gap-sm);
  align-items: flex-start;
  padding: 12px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--texte-clair);
}

.expertise__item strong { color: var(--or); }

.expertise__icone {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   POURQUOI NOUS — CARTES GLASSMORPHISM
   ============================================================ */
.atouts-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-md);
}

.atout-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: var(--gap-lg) var(--gap-md);
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}

/* Couleur de bordure différente par carte (comme le PDF) */
.atout-card--1 {
  border: 1px solid rgba(56,189,248,0.5);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.1);
}
.atout-card--2 {
  border: 1px solid rgba(56,189,248,0.35);
}
.atout-card--3 {
  border: 1px solid rgba(56,189,248,0.2);
}

.atout-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-bleu);
}

.atout-card__icone-wrap {
  width: 60px;
  height: 60px;
  background: var(--emeraude);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--gap-md);
  color: var(--blanc);
  box-shadow: 0 0 20px rgba(16,185,129,0.4);
}

.atout-card__titre {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--or);
  margin-bottom: var(--gap-sm);
  text-align: center;
}

.atout-card__texte {
  font-size: 0.92rem;
  color: var(--texte-clair);
  text-align: left;
  line-height: 1.7;
}

/* ============================================================
   CHIFFRES CLÉS (style existant mis à jour)
   ============================================================ */
.chiffres {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap-md);
  text-align: center;
}

.chiffre__nombre {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--or);
  display: block;
  line-height: 1;
}

.chiffre__label {
  font-size: 0.95rem;
  color: var(--texte-muted);
  margin-top: var(--gap-xs);
  display: block;
}

/* ============================================================
   CARDS & GRILLE (composant réutilisable pages internes)
   ============================================================ */
.cards-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gap-md);
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--gap-md);
  box-shadow: var(--ombre);
  transition: all var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.35);
  box-shadow: var(--ombre-forte);
}

.card__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--gap-md);
  aspect-ratio: 16/9;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.card:hover .card__image img { transform: scale(1.04); }

.card__icone {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--bleu-moyen), var(--bleu-profond));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--gap-sm);
  font-size: 1.5rem;
  border: 1px solid var(--glass-border);
}

.card__titre {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--or);
  margin-bottom: var(--gap-xs);
}

.card__texte { font-size: 0.92rem; color: var(--texte-muted); }

.card__lien {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--gap-sm);
  color: var(--bleu-ciel);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap var(--transition);
}
.card__lien:hover { gap: 10px; color: var(--or); }

/* ============================================================
   TÉMOIGNAGES (composant réutilisable)
   ============================================================ */
.temoignage {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--gap-lg) var(--gap-md) var(--gap-md);
  box-shadow: var(--ombre);
  position: relative;
}

.temoignage::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--or);
  opacity: 0.3;
  position: absolute;
  top: 8px;
  left: var(--gap-md);
  line-height: 1;
}

.temoignage__texte {
  font-style: italic;
  font-size: 0.97rem;
  color: var(--texte-clair);
  margin-bottom: var(--gap-sm);
  padding-top: var(--gap-sm);
}

.temoignage__auteur {
  font-weight: 700;
  color: var(--or);
  display: block;
}

.temoignage__poste { font-size: 0.85rem; color: var(--texte-muted); }

/* ============================================================
   AVANTAGES (section pages internes)
   ============================================================ */
.avantages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-md);
}

.avantage {
  display: flex;
  gap: var(--gap-sm);
  align-items: flex-start;
  padding: var(--gap-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: var(--ombre);
}

.avantage__icone {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--or), var(--or-fonce));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.avantage__titre { font-weight: 600; margin-bottom: 4px; color: var(--or-clair); }
.avantage__texte { font-size: 0.9rem; color: var(--texte-muted); margin: 0; }

/* ============================================================
   ÉTAPES / PROCESSUS (pages internes)
   ============================================================ */
.etapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--gap-md);
  counter-reset: etapes;
}

.etape {
  text-align: center;
  padding: var(--gap-md);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.etape::before {
  counter-increment: etapes;
  content: counter(etapes, decimal-leading-zero);
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--or);
  line-height: 1;
  margin-bottom: var(--gap-sm);
}

.etape__titre { font-size: 1.1rem; font-weight: 600; color: var(--or-clair); margin-bottom: var(--gap-xs); }
.etape__texte { font-size: 0.9rem; color: var(--texte-muted); margin: 0; }

/* ============================================================
   DESTINATIONS (pages transport)
   ============================================================ */
.destinations { display: flex; flex-wrap: wrap; gap: var(--gap-xs); }

.destination__tag {
  background: rgba(212,175,55,0.15);
  color: var(--or);
  border: 1px solid rgba(212,175,55,0.4);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.destination__tag:hover { background: var(--or); color: #1A1A1A; }

/* ============================================================
   FORMULAIRES (pages formulaires.html & contact)
   ============================================================ */
.formulaire { max-width: 700px; margin: 0 auto; }

.formulaire__groupe { margin-bottom: var(--gap-md); }

.formulaire__label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--or-clair);
}

.formulaire__champ {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--texte-clair);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  transition: border-color var(--transition);
  min-height: 44px;
}

.formulaire__champ:focus {
  outline: none;
  border-color: var(--bleu-ciel);
  box-shadow: 0 0 0 3px rgba(56,189,248,0.15);
}

.formulaire__champ::placeholder { color: var(--texte-muted); }

.formulaire__champ--textarea {
  resize: vertical;
  min-height: 120px;
}

select.formulaire__champ option { background: var(--bleu-profond); color: var(--texte-clair); }

.formulaire__ligne {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap-md);
}

/* ============================================================
   ONGLETS (formulaires.html)
   ============================================================ */
.onglets__liste {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-xs);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: var(--gap-lg);
}

.onglet__btn {
  padding: 10px 20px;
  background: none;
  border: none;
  color: var(--texte-muted);
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: all var(--transition);
  min-height: 44px;
}

.onglet__btn.actif,
.onglet__btn:hover { color: var(--or); border-bottom-color: var(--or); }

.onglet__contenu { display: none; }
.onglet__contenu.actif { display: block; }

/* ============================================================
/* ============================================================
   WHATSAPP FLOTTANT
   ============================================================ */
.whatsapp-flottant {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  background: #25D366;
  color: var(--blanc);
  padding: 14px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  animation: pulse-whatsapp 2s ease-in-out infinite;
  transition: transform var(--transition);
}

.whatsapp-flottant:hover { transform: scale(1.05); color: var(--blanc); }

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: linear-gradient(180deg, var(--bleu-nuit) 0%, #070E1F 100%);
  color: var(--texte-clair);
  padding: var(--gap-xl) 0 0;
  position: relative;
  border-top: 1px solid var(--glass-border);
}

.footer__vague {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--or), var(--bleu-ciel), var(--emeraude));
}

.footer__grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--gap-lg);
  padding-bottom: var(--gap-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: block;
  height: 52px;
  width: auto;
  margin-bottom: var(--gap-sm);
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.footer__slogan {
  color: var(--or-clair);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer__desc {
  font-size: 0.88rem;
  color: var(--texte-muted);
  margin-bottom: var(--gap-md);
  line-height: 1.7;
}

.footer__legal {
  font-size: 0.8rem;
  color: var(--texte-muted);
  line-height: 1.7;
}
.footer__legal strong { color: var(--or-clair); }

.footer__titre {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--or);
  margin-bottom: var(--gap-sm);
  font-weight: 700;
  letter-spacing: 0.3px;
}

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

.footer__lien {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer__lien:hover { color: var(--or); }

.footer__contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--texte-muted);
  margin-bottom: 10px;
}

.footer__reseaux {
  display: flex;
  gap: var(--gap-xs);
  margin-top: var(--gap-sm);
}

.footer__reseau {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--texte-clair);
  transition: all var(--transition);
}
.footer__reseau:hover {
  background: var(--or);
  color: #1A1A1A;
  border-color: var(--or);
}

.footer__bas {
  padding: var(--gap-md) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap-sm);
  font-size: 0.82rem;
  color: var(--texte-muted);
}

.footer__legaux { display: flex; gap: var(--gap-sm); }
.footer__legaux a { color: var(--texte-muted); transition: color var(--transition); }
.footer__legaux a:hover { color: var(--or); }

/* ============================================================
   SECTIONS SPÉCIFIQUES PAGES INTERNES
   ============================================================ */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--gap-sm);
}
.breadcrumb a { color: var(--or-clair); }
.breadcrumb a:hover { color: var(--blanc); }

/* Badge */
.hero__badge {
  display: inline-block;
  background: rgba(212,175,55,0.2);
  border: 1px solid rgba(212,175,55,0.5);
  color: var(--or);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--gap-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Texte hero pages internes */
.hero__titre { color: var(--blanc); }
.hero__titre span { color: var(--or); }
.hero__texte { font-size: 1.05rem; opacity: 0.9; margin-bottom: var(--gap-lg); max-width: 620px; }
.hero__actions { display: flex; gap: var(--gap-sm); flex-wrap: wrap; }

/* Sections pages internes — fond clair optionnel */
.section--blanc {
  background: var(--bleu-profond);
}
.section--gris { background: var(--glass-bg); }
.section--vert { background: linear-gradient(135deg, var(--bleu-moyen), var(--bleu-nuit)); color: var(--blanc); }
.section--marron { background: linear-gradient(135deg, var(--marron), #5A3020); color: var(--blanc); }

.section__titre h2 { color: var(--or); }
.section--vert .section__titre h2,
.section--marron .section__titre h2 { color: var(--or-clair); }

/* Section sous-titre pages internes */
.section__sous-titre { color: var(--texte-muted); }
.section--vert .section__sous-titre,
.section--marron .section__sous-titre { color: rgba(255,255,255,0.75); }

/* Contenu légal */
.contenu-legal { max-width: 900px; margin: 0 auto; }
.contenu-legal h2 {
  color: var(--or);
  font-size: 1.4rem;
  margin: var(--gap-lg) 0 var(--gap-sm);
  border-left: 4px solid var(--bleu-ciel);
  padding-left: var(--gap-sm);
}
.contenu-legal p { color: var(--texte-clair); }

/* Auth box */
.auth-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--gap-lg);
  box-shadow: var(--ombre-forte);
  backdrop-filter: blur(12px);
}
.auth-box__titre {
  color: var(--or);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.badge-bientot {
  display: inline-block;
  background: rgba(212,175,55,0.12);
  color: var(--or);
  border: 1px solid rgba(212,175,55,0.35);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: var(--gap-md);
}

/* Carte embed */
.carte-embed {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--ombre);
  border: 1px solid var(--glass-border);
}
.carte-embed iframe { width: 100%; height: 100%; border: none; }

/* Article card (actualites) */
.article-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--ombre);
  transition: all var(--transition);
}
.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.35);
  box-shadow: var(--ombre-forte);
}
.article-card__image { aspect-ratio: 16/9; overflow: hidden; }
.article-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.article-card:hover .article-card__image img { transform: scale(1.04); }
.article-card__corps { padding: var(--gap-md); }
.article-card__categorie {
  display: inline-block;
  background: rgba(212,175,55,0.2);
  color: var(--or);
  border: 1px solid rgba(212,175,55,0.4);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: var(--gap-xs);
}
.article-card__titre { font-size: 1.1rem; font-weight: 700; color: var(--or); margin-bottom: var(--gap-xs); }
.article-card__extrait { font-size: 0.9rem; color: var(--texte-muted); }
.article-card__date { font-size: 0.8rem; color: var(--texte-muted); margin-top: var(--gap-xs); }

/* Carousel logos partenaires */
.carousel-logos { overflow: hidden; padding: var(--gap-md) 0; }
.carousel-logos__piste {
  display: flex;
  gap: var(--gap-lg);
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}
.carousel-logos:hover .carousel-logos__piste { animation-play-state: paused; }
@keyframes scroll-logos {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.logo-temoin {
  width: 140px;
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.5);
  opacity: 0.5;
  transition: all var(--transition);
  flex-shrink: 0;
}
.logo-temoin:hover { filter: none; opacity: 1; }

/* Indicateur auto-scroll */
#indicateur-scroll {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--or);
  z-index: 8000;
  animation: pulse-indicator 1.5s ease-in-out infinite;
}
@keyframes pulse-indicator {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.5); opacity: 0.6; }
}

/* ============================================================
   ANIMATIONS SCROLL
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLETTE 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .services-grille { grid-template-columns: repeat(2, 1fr); }
  .atouts-grille { grid-template-columns: 1fr 1fr; }
  .footer__grille { grid-template-columns: 1fr 1fr; }
  .nav__lien, .nav__dropdown-btn { font-size: 0.82rem; padding: 8px 8px; }
}

/* ============================================================
   RESPONSIVE — MOBILE 768px
   ============================================================ */
@media (max-width: 769px) {
  .hamburger { display: flex; }

  .header__nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #0B2557;
    background: linear-gradient(160deg, #0D3272 0%, #0B2557 100%);
    padding: var(--gap-md);
    transform: translateX(-100%);
    transition: transform var(--transition);
    z-index: 999;
    height: calc(100vh - 80px);
    overflow-y: auto;
    border-top: 1px solid var(--glass-border);
  }

  .header__nav.ouvert { transform: translateX(0); }

  .nav__liste {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav__lien,
  .nav__dropdown-btn { font-size: 1rem; padding: 12px 16px; width: 100%; text-align: left; color: var(--texte-clair); }

  .nav__lien:hover, .nav__dropdown-btn:hover, .nav__lien--actif { color: var(--or); background: rgba(212,175,55,0.15); }

  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: var(--radius-sm);
    margin-top: 4px;
    display: none;
    backdrop-filter: none;
  }

  .dropdown__lien { color: var(--texte-clair); border-bottom-color: rgba(255,255,255,0.07); }
  .nav__item--dropdown.ouvert .dropdown { display: block; }

  .header__cta { display: none; }

  .expertise-layout { grid-template-columns: 1fr; }
  .expertise__visuel { order: -1; }
  .atouts-grille { grid-template-columns: 1fr; }
  .services-grille { grid-template-columns: repeat(2, 1fr); }
  .footer__grille { grid-template-columns: 1fr; }
  .footer__bas { flex-direction: column; text-align: center; }
  .formulaire__ligne { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — MOBILE 481px
   ============================================================ */
@media (max-width: 481px) {
  .hero { min-height: 72vh; }
  .services-grille { grid-template-columns: 1fr; }
  .atouts-grille { grid-template-columns: 1fr; }
  .whatsapp-flottant { bottom: 16px; right: 16px; padding: 12px 16px; font-size: 0.82rem; }
  .section { padding: var(--gap-lg) 0; }
  .cards-grille { grid-template-columns: 1fr; }
}
