/* ==========================================================================
   2M GLOBAL SERVICES — Feuille de styles principale
   Mary & Mayron Global Services — Bangui, République Centrafricaine
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & reset
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque */
  --navy-900: #060f22;
  --navy-800: #0b1e3f;
  --navy-700: #122c57;
  --navy-600: #1b3c70;
  --navy-100: #e8edf6;

  --gold-600: #a8842b;
  --gold-500: #c9a63f;
  --gold-400: #dcbc5e;
  --gold-100: #f7efd9;

  --ink: #12203a;
  --body: #4a5872;
  --muted: #7b879c;
  --line: #e3e8f1;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;

  /* Typo */
  --font-title: "Barlow Condensed", "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rythme */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(11, 30, 63, .06);
  --shadow: 0 14px 40px rgba(11, 30, 63, .10);
  --shadow-lg: 0 28px 70px rgba(11, 30, 63, .18);
  --container: 1200px;
  --header-h: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* Sécurité anti-débordement sur les très petits écrans */
h1, h2, h3, h4, p, li, a, cite { overflow-wrap: break-word; }

::selection { background: var(--gold-500); color: var(--navy-900); }

/* --------------------------------------------------------------------------
   2. Utilitaires de mise en page
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-800); color: #c4d0e4; }
.section--navy h2,
.section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(48px, 5vw, 70px); }

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 58px);
  text-align: center;
}
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold-500);
}
.section--navy .eyebrow { color: var(--gold-400); }

.section-lead { font-size: 1.05rem; color: var(--body); }
.section--navy .section-lead { color: #b6c4dc; }

/* Icônes SVG (sprite injecté par main.js) */
.ic {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
  vertical-align: middle;
  overflow: visible;
}

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

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

/* --------------------------------------------------------------------------
   3. Boutons & badges
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn .ic { width: 19px; height: 19px; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 10px 26px rgba(169, 133, 43, .34);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(169, 133, 43, .46); }

.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-3px); }

.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy-800); border-color: #fff; transform: translateY(-3px); }

.btn-outline-navy { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-800); color: #fff; transform: translateY(-3px); }

.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   4. Barre supérieure + en-tête
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--navy-900);
  color: #9fb0cb;
  font-size: .86rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  padding-block: 6px;
}
.topbar-list { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.topbar-list li { display: inline-flex; align-items: center; gap: 8px; }
.topbar-list .ic { width: 15px; height: 15px; color: var(--gold-500); flex: none; }
.topbar a:hover { color: #fff; }
.topbar-tag {
  font-family: var(--font-title);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-size: .82rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: 0 8px 30px rgba(11, 30, 63, .10); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 52px; height: 52px; flex: none; }
.logo img.logo-mark { object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-title);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.logo-name span { color: var(--gold-600); }
.logo-sub {
  font-size: .64rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
}

/* Navigation */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li > a {
  display: block;
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-title);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--navy-800);
  transition: color .2s;
}
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s;
}
.nav-menu > li > a:hover::after,
.nav-menu > li > a.is-active::after { transform: scaleX(1); }
.nav-menu > li > a.is-active { color: var(--gold-600); }

.header-cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-800);
  margin: 4px auto;
  transition: transform .3s, opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(201, 166, 63, .20), transparent 62%),
    linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  color: #cbd6e8;
  overflow: hidden;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent);
  z-index: -1;
}
.hero-glow {
  position: absolute;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 63, .22), transparent 65%);
  right: -180px;
  top: -160px;
  z-index: -1;
  animation: float 14s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-26px, 30px, 0); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
  padding: clamp(64px, 8vw, 112px) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border: 1px solid rgba(201, 166, 63, .45);
  border-radius: 999px;
  background: rgba(201, 166, 63, .10);
  color: var(--gold-400);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero-sub {
  font-size: 1.13rem;
  max-width: 60ch;
  color: #b8c6dd;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .05);
  font-size: .85rem;
  color: #d5dfef;
}
.hero-chips .ic { width: 16px; height: 16px; color: var(--gold-500); }

/* Colonne visuelle */
.hero-visual { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 30px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 18px; }
.hero-services { display: grid; gap: 12px; }
.hero-service {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .25s, background .25s;
}
.hero-service:hover { transform: translateX(6px); background: rgba(201, 166, 63, .14); }
.hero-service .ic { width: 26px; height: 26px; color: var(--gold-500); flex: none; }
.hero-service strong { display: block; color: #fff; font-size: .98rem; font-weight: 600; }
.hero-service span { font-size: .82rem; color: #9fb0cb; }

.hero-float {
  position: absolute;
  right: -14px;
  bottom: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.hero-float .ic { width: 26px; height: 26px; }
.hero-float strong { font-family: var(--font-title); font-size: 1.25rem; display: block; line-height: 1; }
.hero-float span { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; }

/* Hero secondaire (pages internes) */
.page-hero {
  position: relative;
  padding: clamp(58px, 7vw, 96px) 0;
  background:
    radial-gradient(800px 420px at 85% 0%, rgba(201, 166, 63, .18), transparent 60%),
    linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #c2d0e6;
  text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { max-width: 68ch; margin-inline: auto; color: #b3c2da; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  font-size: .85rem;
  color: #8fa2bf;
}
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, .25); }
.breadcrumb li { display: inline-flex; }
.breadcrumb [aria-current] { color: var(--gold-400); }

/* --------------------------------------------------------------------------
   6. Bandeau piliers
   -------------------------------------------------------------------------- */
.pillars {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}
.pillars-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pillar {
  padding: 26px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background .25s;
}
.pillar:last-child { border-right: 0; }
.pillar:hover { background: var(--bg-soft); }
.pillar-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-500);
}
.pillar-icon .ic { width: 23px; height: 23px; }
.pillar h3 { font-size: 1rem; margin-bottom: 4px; }
.pillar p { font-size: .85rem; color: var(--muted); line-height: 1.5; }

/* --------------------------------------------------------------------------
   7. Cartes services
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s, box-shadow .3s, border-color .3s;
  overflow: hidden;
  height: 100%;
}
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--navy-100);
  color: var(--navy-800);
  margin-bottom: 20px;
  transition: background .3s, color .3s;
}
.card-icon .ic { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--navy-800); color: var(--gold-500); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .9rem;
  color: var(--gold-600);
}
.card-link .ic { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card-link .ic { transform: translateX(5px); }

/* Carte sur fond marine */
.card--dark {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .10);
  color: #b6c4dc;
}
.card--dark .card-icon { background: rgba(201, 166, 63, .14); color: var(--gold-500); }
.card--dark:hover { background: rgba(255, 255, 255, .09); }

/* --------------------------------------------------------------------------
   8. Blocs texte + média
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
}
.split--reverse .split-media { order: 2; }

.media-frame { position: relative; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: 0;
}
.media-frame > * { position: relative; z-index: 1; }
.media-frame img,
.media-frame .photo {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.media-stack > *:first-child { grid-column: 1 / -1; }

/* Placeholder photo (remplacé automatiquement si l'image existe) */
.photo,
.photo-fallback {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 26px;
  text-align: center;
  border-radius: var(--radius-lg);
  background:
    repeating-linear-gradient(45deg, rgba(11, 30, 63, .04) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, var(--navy-100), #fff);
  border: 1px dashed rgba(11, 30, 63, .22);
  color: var(--muted);
  font-size: .84rem;
  letter-spacing: .05em;
}
.photo-fallback code {
  display: block;
  margin-top: 6px;
  font-size: .78rem;
  color: var(--navy-700);
}
.media-stack .photo,
.media-stack .photo-fallback { min-height: 160px; }

.list-check { display: grid; gap: 12px; margin: 22px 0 28px; }
.list-check li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .98rem;
}
.list-check .ic {
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 3px;
  color: var(--gold-600);
}
.section--navy .list-check .ic { color: var(--gold-500); }

/* Liste en deux colonnes */
.list-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 26px; }

/* --------------------------------------------------------------------------
   9. Processus (timeline)
   -------------------------------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  counter-reset: step;
  position: relative;
}
.process::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(201, 166, 63, .55) 0 10px, transparent 10px 20px);
}
.step { position: relative; text-align: center; }
.step-num {
  counter-increment: step;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gold-500);
  color: var(--navy-800);
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: background .3s, color .3s, transform .3s;
}
.step-num::before { content: counter(step, decimal-leading-zero); }
.step:hover .step-num { background: var(--navy-800); color: var(--gold-500); transform: translateY(-5px); }
.step h3 { font-size: .98rem; margin-bottom: 6px; }
.step p { font-size: .85rem; color: var(--muted); line-height: 1.55; }
.section--navy .step-num { background: rgba(255, 255, 255, .06); color: #fff; }
.section--navy .step p { color: #9fb0cb; }

/* --------------------------------------------------------------------------
   10. Chiffres clés
   -------------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 26px 16px; border-radius: var(--radius); }
.stat-value {
  font-family: var(--font-title);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
}
.stat-label {
  margin-top: 10px;
  font-size: .88rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #a9b8d0;
}

/* --------------------------------------------------------------------------
   11. Secteurs importés (mosaïque)
   -------------------------------------------------------------------------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.tile:hover { transform: translateY(-5px); border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.tile .ic { width: 26px; height: 26px; color: var(--gold-600); flex: none; }
.tile span { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.35; }

/* --------------------------------------------------------------------------
   12. Bandeau CTA
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #c3d0e6;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 166, 63, .25), transparent 65%);
  right: -120px;
  bottom: -220px;
}
.cta-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(46px, 6vw, 74px) 0;
}
.cta-inner h2 { color: #fff; margin-bottom: 8px; }
.cta-inner p { max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   13. Témoignages
   -------------------------------------------------------------------------- */
.quote {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  height: 100%;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  right: 22px;
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold-100);
}
.quote p { font-size: .96rem; font-style: italic; position: relative; }
.quote footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-500);
  font-family: var(--font-title);
  font-size: 1.05rem;
  flex: none;
}
.quote cite { font-style: normal; font-weight: 600; color: var(--ink); display: block; font-size: .93rem; }
.quote small { color: var(--muted); font-size: .8rem; }

/* --------------------------------------------------------------------------
   14. Contact & formulaire
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 42px; align-items: start; }

.info-card {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, box-shadow .25s;
}
.info-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }
.info-icon {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--navy-100);
  color: var(--navy-800);
}
.info-icon .ic { width: 21px; height: 21px; }
.info-card h3 { font-size: .95rem; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: .95rem; color: var(--body); display: block; overflow-wrap: anywhere; }
.info-card a:hover { color: var(--gold-600); }

.form-card {
  padding: clamp(26px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .03em;
}
.field label .req { color: #d1495b; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-soft);
  font-family: inherit;
  font-size: .97rem;
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 166, 63, .15);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d1495b; background: #fdf3f4; }
.field-error { display: none; margin-top: 6px; font-size: .8rem; color: #d1495b; }
.field.has-error .field-error { display: block; }

.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-feedback {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: .9rem;
  background: #edf7f0;
  border: 1px solid #bfe3cc;
  color: #1f6b40;
}
.form-feedback.is-visible { display: block; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 340px;
  background: var(--bg-soft);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   15. FAQ (accordéon)
   -------------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--navy-800);
}
.faq-q .ic { width: 20px; height: 20px; flex: none; color: var(--gold-600); transition: transform .3s; }
.faq-item.is-open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a > div { padding: 0 22px 22px; font-size: .96rem; }

/* --------------------------------------------------------------------------
   16. Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #93a4c0; font-size: .93rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: clamp(50px, 6vw, 78px) 0 46px;
}
.footer-top h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-top h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--gold-500);
}
.footer-brand .logo-name { color: #fff; }
.footer-brand .logo-sub { color: #7d8ea9; }
.footer-brand p { margin-top: 18px; font-size: .92rem; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--gold-500); padding-left: 5px; }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; }
.footer-contact .ic { width: 17px; height: 17px; color: var(--gold-500); flex: none; margin-top: 4px; }
.footer-contact a:hover { color: var(--gold-500); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  color: #cbd6e8;
  transition: background .25s, color .25s, transform .25s;
}
.socials a:hover { background: var(--gold-500); color: var(--navy-900); transform: translateY(-3px); }
.socials .ic { width: 18px; height: 18px; }

.legal-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  font-size: .82rem;
  line-height: 1.7;
}
.legal-box strong { color: #cbd6e8; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: .84rem;
  color: #7d8ea9;
}
.footer-bottom a:hover { color: var(--gold-500); }

/* --------------------------------------------------------------------------
   17. Boutons flottants
   -------------------------------------------------------------------------- */
.floaters {
  position: fixed;
  right: 20px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  gap: 12px;
  justify-items: center;
}
.float-btn {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(11, 30, 63, .28);
  transition: transform .25s, opacity .25s, visibility .25s;
}
.float-btn:hover { transform: translateY(-4px); }
.float-btn .ic { width: 24px; height: 24px; }
.float-wa { background: #25d366; color: #fff; }
.float-top { background: var(--navy-800); color: var(--gold-500); opacity: 0; visibility: hidden; }
.float-top.is-visible { opacity: 1; visibility: visible; }

/* --------------------------------------------------------------------------
   18. Animations à l'apparition
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid-5, .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .process::before { display: none; }
  .pillars-inner { grid-template-columns: repeat(3, 1fr); }
  .pillar:nth-child(3) { border-right: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: grid; }
  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 26px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .35s cubic-bezier(.4, 0, .2, 1);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-menu > li > a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav-menu > li > a::after { display: none; }
  .header-cta .btn { display: none; }
  .header-cta .btn-tel { display: inline-flex; }

  .grid-5, .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { max-width: 520px; }
  .hero-float { right: 8px; }

  .split { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split-media { order: 0; }
  .media-frame::before { inset: 12px -12px -12px 12px; }

  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .topbar-inner { justify-content: center; }
  .topbar-tag { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .grid-2, .grid-3, .grid-4, .grid-5, .tiles, .list-cols { grid-template-columns: 1fr; }
  .pillars { margin-top: -26px; }
  .pillars-inner { grid-template-columns: 1fr 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:nth-last-child(-n+1) { border-bottom: 0; }
  .process { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-float { position: static; margin-top: 18px; justify-content: center; }
  /* Les libellés longs passent à la ligne au lieu de forcer la largeur du bloc */
  .btn { width: 100%; white-space: normal; text-align: center; }
  .hero-actions, .cta-actions { width: 100%; }
  .topbar-list { gap: 14px; justify-content: center; font-size: .8rem; }
}

@media (max-width: 420px) {
  .logo-sub { display: none; }
  .stats, .process { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   20. Impression
   -------------------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .floaters, .cta-band, .form-card { display: none !important; }
  body { color: #000; }
  .hero, .page-hero, .section--navy { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1 { color: #000 !important; }
}
