/* ═══════════════════════════════════════════════════
   MCR Services — CSS Unifié
   Aesthetic: B2B Premium, acier & chaleur, no-icon
   ═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;600;700;800;900&family=Barlow:wght@400;500;600&display=swap');

/* ── Variables ────────────────────────────────────── */
:root {
  /* Couleurs de base (mode clair) */
  --c-steel:        #0f1923;
  --c-steel-mid:    #1a2737;
  --c-steel-light:  #243447;
  --c-orange:       #b84c1a;   /* était #e8622a — ratio ↑ 2.98→4.53 sur cream, texte/liens */
  --c-orange-warm:  #c95b28;   /* était #f07a44 — hover/accent, reste sur fonds sombres */
  --c-cream:        #f5f0e8;
  --c-cream-dark:   #ede6d9;
  --c-text:         #1a1a1a;
  --c-text-mid:     #5d6b7d;   /* était #4a5568 — plus clair, ratio 4.79 sur cream ✅ */
  --c-text-light:   #5a6a7e;   /* valeur la plus claire possible, ratio 4.87 sur cream ✅ */
  --c-white:        #ffffff;
  --c-border:       #e2d9cc;

  /* Alias sémantiques utilisés pour le mode clair/sombre */
  --bg-page:        var(--c-cream);
  --bg-page-alt:    var(--c-cream-dark);
  --bg-card:        var(--c-white);
  --text-primary:   var(--c-text);
  --text-secondary: var(--c-text-mid);
  --border-color:   var(--c-border);

  --f-display: 'Barlow Condensed', sans-serif;
  --f-body:    'Barlow', sans-serif;

  --s-xs: 0.5rem;
  --s-sm: 1rem;
  --s-md: 2rem;
  --s-lg: 3.5rem;
  --s-xl: 6rem;

  --section-pad: clamp(4rem, 8vw, 7rem);

  --container: 1200px;
  --radius:    4px;
  --radius-lg: 12px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 8px 32px rgba(0,0,0,.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.18);

  --ease: cubic-bezier(.16,1,.3,1);
}

/* ── Mode sombre ──────────────────────────────────── */
[data-theme="dark"] {
  --c-cream:        #111820;
  --c-cream-dark:   #0d1319;
  --c-white:        #ffffff;
  --c-text:         #e8e0d4;
  --c-text-mid:     #9aa5b4;
  --c-text-light:   #8c9db0;   /* était #6b7a8d — ratio ↑ 4.08→6.44 sur bg-page */
  --c-border:       #2a3a4e;
  --c-steel:        #0a1018;
  --c-steel-mid:    #111d2a;
  --c-steel-light:  #182434;

  /* Orange réhaussé pour contraste sur fonds sombres (ratio 5.28 sur #111820) */
  --c-orange:       #e8622a;
  --c-orange-warm:  #f07a44;

  --bg-page:        #111820;
  --bg-page-alt:    #0d1319;
  --bg-card:        #1a2535;
  --text-primary:   #e8e0d4;
  --text-secondary: #9aa5b4;
  --border-color:   #2a3a4e;

  color-scheme: dark;
}

/* ── Bouton toggle thème ──────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  color: rgba(255,255,255,.7);
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.theme-toggle svg { display: block; pointer-events: none; }
/* Icônes : soleil visible en dark, lune visible en light */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }


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

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

body {
  font-family: var(--f-body);
  color: var(--c-text);
  background: var(--c-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s, color .3s;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Skip Link ───────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%; left: 1rem;
  background: var(--c-orange);
  color: #fff;
  padding: .5rem 1.5rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
}

/* ── Container ───────────────────────────────────── */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* ── Typographie ─────────────────────────────────── */
h1 {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.02em;
}
h2 {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin-bottom: 1rem;
}
h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  line-height: 1.25;
  letter-spacing: .01em;
}
p { line-height: 1.7; }

/* ── Boutons ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.9rem;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .25s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-orange);
  color: #fff;
  border-color: var(--c-orange);
}
.btn-primary:hover {
  background: var(--c-orange-warm);
  border-color: var(--c-orange-warm);
  box-shadow: 0 8px 24px rgba(232,98,42,.35);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--border-color);
}
.btn-ghost:hover {
  background: var(--c-steel);
  color: #fff;
  border-color: var(--c-steel);
}

.btn-ghost--light {
  color: rgba(255,255,255,.85);
  border-color: rgba(255,255,255,.3);
}
.btn-ghost--light:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }

/* ── Section tag ──────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: .75rem;
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto var(--s-lg);
}
.section-header p {
  color: var(--c-text-mid);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: .5rem;
}

/* ── Actions groupe ───────────────────────────────── */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ══════════════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
  background: var(--c-white);
}

/* ── Image de fond ──
   Centrée verticalement pour révéler toute la scène de cuisine
   (postes de travail, hottes, équipe) et pas seulement les têtes. */
.header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.45) 0%,
    rgba(255,255,255,.18) 18%,
    rgba(255,255,255,0) 32%
  );
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  height: clamp(320px, 42vw, 480px);
  gap: 1rem;
}

/* ── Logo MCR : centré indépendamment de la largeur de .header-right ──
   Posé directement sur la photo (sans pilule ni fond) pour se fondre
   dans la bannière ; une ombre douce garde la lisibilité. */
.header-logos {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logos .logo img {
  height: 130px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.18)) drop-shadow(0 0 18px rgba(255,255,255,.5));
}

@media (max-width: 768px) {
  .header-inner { height: clamp(220px, 50vw, 320px); }
  .header-logos { top: 16px; }
  .header-logos .logo img { height: 84px; }
}
@media (max-width: 480px) {
  .header-inner { height: 200px; }
  .header-logos { top: 12px; }
  .header-logos .logo img { height: 70px; }
}

.header-right {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
  align-self: flex-start;
  margin-top: 22px;
}

@media (max-width: 768px) {
  .header-right { margin-top: 14px; }
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.main-nav a {
  font-family: var(--f-display);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #1a2330;
  padding: .5rem .85rem;
  text-shadow: 0 1px 4px rgba(255,255,255,.55);
  transition: color .2s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--c-orange);
}
.main-nav .nav-cta {
  background: var(--c-orange);
  color: #fff !important;
  padding: .5rem 1.2rem;
  margin-left: .5rem;
  border-radius: var(--radius);
  text-shadow: none;
}
.main-nav .nav-cta:hover { background: var(--c-orange-warm); }

/* ── Toggle thème : couleurs fixes, indépendantes du mode clair/sombre,
   pour rester lisible sur la photo dans les deux cas ── */
.site-header .theme-toggle {
  background: rgba(15,25,35,.1);
  border: none;
  color: #1a2330;
}
.site-header .theme-toggle:hover {
  background: rgba(15,25,35,.18);
  color: #000;
}

/* ── Burger : couleur fixe foncée, plus épais, sans contour ──
   indépendant du thème pour rester visible sur la photo en clair et sombre */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: #1a2330;
  border-radius: 2px;
  transition: all .3s var(--ease);
}

/* ══════════════════════════════════════════════════
   HERO (page d'accueil)
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  background: var(--c-steel);
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(0.75rem, 1.5vw, 1.25rem) 0 clamp(1rem, 2vw, 1.5rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,98,42,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,98,42,.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-bg::before {
  content: '';
  position: absolute;
  right: -10%; top: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(232,98,42,.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(232,98,42,.12);
  border: 1px solid rgba(232,98,42,.3);
  color: var(--c-orange-warm);
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--c-white);
  margin-bottom: 1.5rem;
}
.hero-accent { color: var(--c-orange); }

.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.6);
  max-width: 560px;
  margin-bottom: 1.5rem;
  line-height: 1.75;
  
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: .5rem;
}

.hero .actions .btn-ghost,
.hero .hero-actions .btn-ghost {
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.35);
}
.hero .actions .btn-ghost:hover,
.hero .hero-actions .btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.6);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.stat-number {
  display: block;
  font-family: var(--f-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--c-orange);
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.5);   /* était .45 — ratio ↑ 4.46→5.23 sur steel */
  margin-top: .25rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}

/* ══════════════════════════════════════════════════
   PAGE HERO (pages internes)
══════════════════════════════════════════════════ */
.page-hero {
  background: var(--c-steel);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,98,42,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,98,42,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  left: -5%; bottom: -30%;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(232,98,42,.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }

.page-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  color: var(--c-white);
  margin-bottom: 1.25rem;
}
.page-lead {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.6);
  max-width: 620px;
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════
   SERVICES / EXPERTISES
══════════════════════════════════════════════════ */
.expertises,
.services-section {
  padding: var(--section-pad) 0;
  background: var(--c-cream);
}

.expertises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Carte service texte (services.php) */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid transparent;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--c-orange);
}
.service-card .service-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: .25rem;
}
.service-card .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.service-card:hover .service-img img {
  transform: scale(1.05);
}
.service-card p {
  color: var(--c-text-mid);
  font-size: .95rem;
  line-height: 1.65;
  flex: 1;
}
.service-card .btn {
  align-self: flex-start;
  margin-top: .5rem;
}

/* Carte expertise avec image (index.php) */
.expertise-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
}
.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.expertise-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.expertise-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s var(--ease);
}
.expertise-card:hover .expertise-img img { transform: scale(1.04); }
.card-body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  flex: 1;
}
.card-body h3 { margin: 0; }
.card-body p {
  color: var(--c-text-mid);
  font-size: .95rem;
  line-height: 1.65;
  flex: 1;
}
.produit-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-orange);
  transition: gap .2s;
}
.produit-link:hover { gap: .7rem; }

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ══════════════════════════════════════════════════
   ENGAGEMENTS (index)
══════════════════════════════════════════════════ */
.engagements {
  padding: var(--section-pad) 0;
  background: var(--c-steel);
  position: relative;
  overflow: hidden;
}
.engagements::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 70px 70px;
  pointer-events: none;
}
.engagements-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.engagements .section-tag { color: var(--c-orange-warm); }
.engagements h2 { color: var(--c-white); }
.engagements-lead {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.engagements-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.07);
}
.engagements-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.engagements-list strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-white);
  letter-spacing: .01em;
}
.engagements-list .sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════
   TÉMOIGNAGES — CARROUSEL
══════════════════════════════════════════════════ */
.temoignages {
  padding: var(--section-pad) 0;
  background: var(--c-cream-dark);
}

/* Wrapper du carrousel */
.carousel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.carousel-track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: var(--radius-lg);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.carousel-track-wrap::-webkit-scrollbar { display: none; }

.carousel-track {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  /* La track doit être aussi large que toutes ses cartes */
  width: max-content;
}

/* Carte témoignage — largeur fixe = 1/3 du wrapper visible */
.temoignage-card {
  width: calc((var(--carousel-w, 60vw) - 3rem) / 3);
  min-width: 260px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
  scroll-snap-align: start;
}

.temoignage-card blockquote p {
  font-size: 1.05rem;
  color: var(--c-text-mid);
  line-height: 1.75;
  font-style: italic;
}
.temoignage-card blockquote::before {
  content: '\201C';
  display: block;
  font-family: var(--f-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--c-orange);
  line-height: .75;
  margin-bottom: .75rem;
}

.temoignage-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: auto;
}
.temoignage-author strong {
  display: block;
  font-weight: 700;
  font-size: .95rem;
}
.temoignage-societe {
  display: block;
  font-size: .82rem;
  color: var(--c-text-light);
  margin-top: .15rem;
  font-style: normal;
}
.temoignage-stars { font-size: 1.1rem; letter-spacing: 2px; }
.temoignage-stars .star-on  { color: #f59e0b; }
.temoignage-stars .star-off { color: var(--c-border); }

/* Contrôles */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--c-text);
  cursor: pointer;
  transition: all .2s var(--ease);
  flex-shrink: 0;
}
.carousel-btn:hover {
  background: var(--c-orange);
  border-color: var(--c-orange);
  color: #fff;
  transform: scale(1.08);
}
.carousel-btn:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--c-border);
  cursor: pointer;
  padding: 0;
  transition: all .25s var(--ease);
}
.carousel-dot.active {
  background: var(--c-orange);
  width: 24px;
  border-radius: 4px;
}
.carousel-dot:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
}
@media (min-width: 1200px) {
    .hero-lead {
        white-space: nowrap;
    }
}
@media (max-width: 900px) {
  .temoignage-card { width: calc((var(--carousel-w, 80vw) - 1.5rem) / 2); }
}

@media (max-width: 640px) {
  .temoignage-card {
    width: var(--carousel-w, 90vw);
    padding: 1.75rem 1.5rem;
  }
  .temoignage-card blockquote p { font-size: .95rem; }
}

/* ══════════════════════════════════════════════════
   SECTION CONTACT (index)
══════════════════════════════════════════════════ */
.contact {
  padding: var(--section-pad) 0;
  background: var(--c-cream);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-info .section-tag { color: var(--c-orange); }
.contact-info h2 { color: var(--c-text); margin-bottom: 1rem; }
.contact-info > p { color: var(--c-text-mid); margin-bottom: 2rem; font-size: 1.05rem; }

/* ══════════════════════════════════════════════════
   CTA SECTION (bas de pages)
══════════════════════════════════════════════════ */
.cta-section {
  background: var(--c-steel);
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(232,98,42,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232,98,42,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.cta-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
}
.cta-container .section-tag { color: var(--c-orange-warm); }
.cta-container h2 { color: var(--c-white); }
.cta-container p {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  max-width: 500px;
  margin: .75rem auto 2rem;
  line-height: 1.75;
}
.cta-container .actions { justify-content: center; }
.cta-container .btn-ghost {
  color: rgba(255,255,255,.8);
  border-color: rgba(255,255,255,.3);
}
.cta-container .btn-ghost:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

/* ══════════════════════════════════════════════════
   À PROPOS
══════════════════════════════════════════════════ */
.about-section {
  padding: var(--section-pad) 0;
  background: var(--c-cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-content .section-tag { margin-bottom: .75rem; }
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p {
  color: var(--c-text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Équipe */
.team-section {
  padding: var(--section-pad) 0;
  background: var(--c-cream-dark);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow .3s var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-card h3 {
  font-size: 1.2rem;
  margin-bottom: .25rem;
}
.team-role {
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-orange);
  margin-bottom: .75rem;
}
.team-card p {
  color: var(--c-text-mid);
  font-size: .95rem;
  line-height: 1.65;
}

/* Valeurs */
.values-section {
  padding: var(--section-pad) 0;
  background: var(--c-steel);
  position: relative;
  overflow: hidden;
}
.values-section::before {
  content: '';
  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: 70px 70px;
  pointer-events: none;
}
.values-section .section-header { position: relative; z-index: 1; color: var(--c-white); }
.values-section .section-header p { color: rgba(255,255,255,.6); }
.values-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}
.value-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-top: 2px solid var(--c-orange);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: background .3s;
}
.value-card:hover { background: rgba(255,255,255,.07); }
.value-card h3 {
  color: var(--c-white);
  margin-bottom: .5rem;
  font-size: 1.1rem;
}
.value-card p {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  line-height: 1.65;
}

/* Stats */
.stats-section {
  padding: 4rem 0;
  background: var(--c-orange);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0,0,0,.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat-card {
  background: var(--c-orange);
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
}
.stat-card strong {
  font-family: var(--f-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.stat-card span {
  font-family: var(--f-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ══════════════════════════════════════════════════
   POURQUOI NOUS (services.php)
══════════════════════════════════════════════════ */
.why-us {
  padding: var(--section-pad) 0;
  background: var(--c-cream-dark);
}
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-content .section-tag { margin-bottom: .75rem; }
.why-content h2 { margin-bottom: 1.25rem; }
.why-text {
  color: var(--c-text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
  border-top: 1px solid var(--c-border);
}
.why-list li {
  padding: .9rem 0;
  border-bottom: 1px solid var(--c-border);
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-text);
  letter-spacing: .01em;
  padding-left: 1.25rem;
  position: relative;
}
.why-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 14px;
  background: var(--c-orange);
  border-radius: 2px;
}
.why-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ══════════════════════════════════════════════════
   PAGE CONTACT
══════════════════════════════════════════════════ */
.contact-page {
  padding: var(--section-pad) 0;
  background: var(--c-cream);
}
.contact-page .section-header { margin-bottom: 2.5rem; }

.alert-success {
  background: #f0fff4;
  border: 1px solid #68d391;
  color: #276749;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 2rem;
}
.alert-error {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 760px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 0;
}
label {
  font-family: var(--f-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-text);
}
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--f-body);
  font-size: .95rem;
  color: var(--c-text);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(232,98,42,.12);
  outline: none;
}
textarea { resize: vertical; min-height: 140px; }

.rgpd-group {
  margin: 1.5rem 0 .5rem;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  cursor: pointer;
  font-family: var(--f-body);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--c-text-mid);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: .1rem;
  accent-color: var(--c-orange);
  cursor: pointer;
}
.rgpd-text {
  font-size: .85rem;
  color: var(--c-text-light);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.rgpd-text p + p { margin-top: .5rem; }

.contact-form .btn { margin-top: 0; }

/* Honeypot */
.hp-field, input[name="website"] {
  position: absolute;
  left: -9999px; top: -9999px;
  opacity: 0; pointer-events: none;
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer {
  background: var(--c-steel);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,.05);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .logo-mcr  { font-size: 1.5rem; color: var(--c-white); }
.footer-brand .logo-services { font-size: .95rem; color: var(--c-orange); }
.footer-text {
  color: rgba(255,255,255,.65);  /* était .4 — ratio ↑ ~2.7→8.0 sur steel */
  font-size: .875rem;
  line-height: 1.75;
  margin-top: 1rem;
  max-width: 300px;
}

/* ── Colonne Partenaire (GAFIC) ── */
.footer-col--partner {
  display: flex;
  flex-direction: column;
}
.footer-gafic {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  transition: opacity .2s;
}
.footer-gafic:hover,
.footer-gafic:focus-visible {
  opacity: .85;
}
.footer-gafic img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-partner-text {
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  line-height: 1.6;
  margin-top: .9rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
}
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-contact a:hover { color: var(--c-orange-warm); }
.footer-contact a + a::before {
  content: '|';
  color: rgba(255,255,255,.25);
  margin-right: .35rem;
  pointer-events: none;
}

.footer-col strong,
.footer-col h3 {
  display: block;
  font-family: var(--f-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.25rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-col a {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-col li {
  color: rgba(255,255,255,.7);
}
.footer-col a:hover { color: var(--c-orange-warm); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.5);   /* était .25 — ratio ↑ pour copyright */
}

/* ══════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--c-orange);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232,98,42,.35);
  opacity: 0;
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.back-to-top--visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top:focus-visible {
  outline: 3px solid var(--c-orange);
  outline-offset: 3px;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid,
  .why-us-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual img,
  .why-visual img { max-height: 360px; object-position: center; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .footer-brand { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: clamp(220px, 50vw, 320px); left: 0; right: 0;
    background: var(--c-white);
    border-top: 1px solid var(--c-border);
    box-shadow: 0 8px 24px rgba(15,25,35,.1);
    padding: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s;
    z-index: 99;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav a {
    display: block;
    padding: .8rem 1rem;
    color: var(--c-text-mid);
    background: transparent;
    font-weight: 800;
  }
  .main-nav a:hover,
  .main-nav a[aria-current="page"] {
    color: var(--c-orange);
    background: rgba(184,76,26,.08);
  }
  .nav-toggle { display: flex; order: 1; }
  .theme-toggle { order: 0; }

  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .actions { flex-direction: column; }
  .actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .service-card,
  .expertise-card,
  .team-card,
  .value-card,
  .temoignage-card {
    animation: fadeUp .5s var(--ease) both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ══════════════════════════════════════════════════
   PRINT
══════════════════════════════════════════════════ */
@media print {
  .site-header, .nav-toggle { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  body { color: #000; background: #fff; }
}
/* ═══════════════════════════════════════════════
   PAGES LÉGALES — mentions-legales, politique, rgpd
   À ajouter dans assets/css/style.css
   ═══════════════════════════════════════════════ */

/* Hero commun */
.legal-hero {
    background: var(--color-dark, #1a1a2e);
    padding: 8rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-hero .section-tag {
    margin-bottom: 1rem;
    display: inline-block;
}

.legal-hero .page-title {
    color: #fff;
    margin-bottom: 1rem;
}

.legal-update {
    font-family: var(--ff-ui, 'Barlow', sans-serif);
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.08em;
    margin: 0;
}

/* Corps principal */
.legal-body {
    padding: 4rem 0 6rem;
}

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

/* Lien retour */
.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--ff-ui, 'Barlow', sans-serif);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted, #666);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: color 0.2s ease;
}

.legal-back:hover {
    color: var(--color-primary, #e63946);
}

/* Section légale */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--color-border, #e5e5e5);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: clamp(1.15rem, 2.5vw, 1.45rem);
    font-weight: 700;
    color: var(--color-heading, #111);
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-primary, #e63946);
    display: inline-block;
}

.legal-section h3 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-primary, #e63946);
    margin-top: 1.6rem;
    margin-bottom: 0.5rem;
}

.legal-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-muted, #555);
    margin-bottom: 0.9rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section a {
    color: var(--color-primary, #e63946);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section a:hover { opacity: 0.8; }

.legal-section address {
    font-style: normal;
    background: var(--color-bg-alt, #f7f7f7);
    border-left: 3px solid var(--color-primary, #e63946);
    padding: 1.1rem 1.4rem;
    margin: 1rem 0;
    font-size: 0.97rem;
    line-height: 1.9;
    color: var(--color-text, #222);
}

/* Sommaire */
.legal-toc {
    background: var(--color-bg-alt, #f7f7f7);
    border-left: 3px solid var(--color-primary, #e63946);
    padding: 1.4rem 1.8rem;
    margin-bottom: 3.5rem;
}

.legal-toc-title {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    color: var(--color-primary, #e63946) !important;
    margin-bottom: 0.8rem !important;
}

.legal-toc ol {
    margin: 0;
    padding-left: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.legal-toc li {
    font-size: 0.95rem;
    color: var(--color-muted, #555);
}

.legal-toc a {
    color: var(--color-primary, #e63946);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Tableaux */
.table-scroll {
    overflow-x: auto;
    margin: 1.4rem 0;
    -webkit-overflow-scrolling: touch;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.93rem;
    min-width: 480px;
}

.legal-table th {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-dark, #1a1a2e);
    padding: 0.75rem 1rem;
    text-align: left;
    white-space: nowrap;
}

.legal-table td {
    padding: 0.7rem 1rem;
    color: var(--color-muted, #555);
    border-bottom: 1px solid var(--color-border, #e5e5e5);
    line-height: 1.5;
    vertical-align: top;
}

.legal-table tr:nth-child(even) td {
    background: var(--color-bg-alt, #f7f7f7);
}

.legal-table code {
    font-size: 0.85em;
    background: rgba(0, 0, 0, 0.06);
    padding: 0.1em 0.4em;
    border-radius: 3px;
}

/* Liste des droits */
.rights-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 0.9rem;
    margin: 1.4rem 0;
    padding: 0;
    list-style: none;
}

.rights-list li {
    background: var(--color-bg-alt, #f7f7f7);
    border-left: 3px solid var(--color-primary, #e63946);
    padding: 0.85rem 1rem;
    font-size: 0.93rem;
    color: var(--color-text, #222);
    line-height: 1.5;
}

.rights-list li strong {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-primary, #e63946);
    margin-bottom: 0.3rem;
}

/* ── RGPD spécifique ── */

/* Intro */
.rgpd-intro {
    background: var(--color-bg-alt, #f7f7f7);
    border-left: 4px solid var(--color-primary, #e63946);
    padding: 1.2rem 1.5rem;
    margin-bottom: 3rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text, #222);
}

/* Principes */
.rgpd-principles {
    list-style: none;
    padding: 0;
    margin: 1.4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rgpd-principles li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: var(--color-bg-alt, #f7f7f7);
    padding: 1rem 1.2rem;
    border-radius: 4px;
}

.principle-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.rgpd-principles strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-heading, #111);
    margin-bottom: 0.25rem;
}

.rgpd-principles p {
    margin: 0 !important;
    font-size: 0.93rem;
}

/* Grille droits */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.right-card {
    border: 1px solid var(--color-border, #e5e5e5);
    border-radius: 6px;
    padding: 1.2rem;
    background: var(--color-bg, #fff);
}

.right-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.right-number {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--color-primary, #e63946);
    color: #fff;
    padding: 0.2em 0.5em;
    border-radius: 3px;
    white-space: nowrap;
}

.right-card h3 {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: var(--color-heading, #111) !important;
    margin: 0 !important;
}

.right-card p {
    font-size: 0.88rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Exercer droits */
.exercer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.4rem 0;
}

.exercer-card {
    border: 1px solid var(--color-border, #e5e5e5);
    border-radius: 6px;
    padding: 1.4rem;
    text-align: center;
    background: var(--color-bg, #fff);
}

.exercer-card svg {
    color: var(--color-primary, #e63946);
    margin-bottom: 0.7rem;
}

.exercer-card h3 {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--color-heading, #111) !important;
    margin: 0 0 0.4rem !important;
}

.exercer-card a {
    display: block;
    font-weight: 600;
    color: var(--color-primary, #e63946);
    text-decoration: underline;
    margin-bottom: 0.3rem;
}

.exercer-card address {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.88rem;
}

.exercer-card p {
    font-size: 0.8rem !important;
    color: var(--color-muted, #999) !important;
    margin: 0 !important;
}

/* Info box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    background: #fff8e1;
    border-left: 3px solid #f59e0b;
    padding: 0.9rem 1.1rem;
    margin-top: 1rem;
    border-radius: 0 4px 4px 0;
}

.info-box svg { color: #f59e0b; flex-shrink: 0; margin-top: 0.1rem; }

.info-box p {
    font-size: 0.9rem !important;
    color: #78350f !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* Carte CNIL */
.cnil-card {
    border: 1px solid var(--color-border, #e5e5e5);
    border-radius: 6px;
    padding: 1.4rem;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.cnil-logo-area strong {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--color-primary, #e63946);
    letter-spacing: -0.02em;
}

.cnil-logo-area span {
    font-size: 0.82rem;
    color: var(--color-muted, #666);
}

.cnil-card address {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 640px) {
    .legal-hero { padding: 6rem 0 3rem; }
    .legal-body  { padding: 2.5rem 0 4rem; }
    .rights-grid { grid-template-columns: 1fr; }
    .exercer-grid { grid-template-columns: 1fr; }
    .rights-list { grid-template-columns: 1fr; }
    .legal-table { font-size: 0.82rem; }
    .legal-table th,
    .legal-table td { padding: 0.55rem 0.75rem; }
}
/* ═══════════════════════════════════════════════════════════════
   Section partenariat GAFIC — à coller dans style.css
   ═══════════════════════════════════════════════════════════════ */

.partenariat-gafic {
  padding: 5rem 0;
  background: var(--color-surface-alt, #f5f5f5); /* légèrement différent du fond principal */
}

[data-theme="dark"] .partenariat-gafic {
  background: rgba(255, 255, 255, .04);
}

/* ── Intro texte ── */
.section-intro {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text-muted, #555);
  line-height: 1.7;
}

/* ── Corps : logo + stats + valeurs ── */
.gafic-body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
  margin-top: 3rem;
  justify-content: center;
}

/* Logo */
.gafic-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  min-width: 140px;
}

.gafic-logo-wrap img {
  width: 140px;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.gafic-since {
  font-size: .8rem;
  color: var(--color-text-muted, #777);
  text-align: center;
}

/* Stats */
.gafic-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gafic-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  min-width: 130px;
}

[data-theme="dark"] .gafic-stat {
  background: rgba(255, 255, 255, .07);
}

.gafic-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary, #b84c1a);
  line-height: 1.1;
}

.gafic-stat-label {
  font-size: .78rem;
  color: var(--color-text-muted, #666);
  margin-top: .3rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Valeurs */
.gafic-values {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-self: center;
}

.gafic-values li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .92rem;
  font-weight: 500;
}

.gafic-values li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary, #b84c1a);
  flex-shrink: 0;
}

/* CTA */
.gafic-cta {
  text-align: center;
  margin-top: 2.5rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 2px solid var(--color-primary, #b84c1a);
  color: var(--color-primary, #b84c1a);
  padding: .65rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--color-primary, #b84c1a);
  color: #fff;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .gafic-body {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .gafic-stats {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 360px;
  }
}

/* ── Hero actions : espacement mobile ────────────────
   Sur mobile les deux boutons passent en colonne
   avec un gap généreux entre eux.
───────────────────────────────────────────────────── */
@media (max-width: 640px) {
  .hero .hero-actions {
    flex-direction: column;
    align-items: stretch;   /* boutons pleine largeur */
    gap: 1rem;              /* espace entre "Devis" et "Services" */
  }
  .hero .hero-actions .btn {
    justify-content: center;
    width: 100%;
  }
}

/* ── Hero lead : réduction marge basse sur mobile ─── */
@media (max-width: 640px) {
  .hero-lead {
    margin-bottom: 1rem;
  }
}

/* ── Hero : padding réduit sur mobile ──────────────── */
@media (max-width: 640px) {
  .hero {
    padding: 2rem 0 2.5rem;
  }
}
