/* =========================================================================
   E@SY SERVICES SOLUTIONS — Système de design
   Palette : bleu #0161c3 + vert #57b424 + jaune #fd9301
   Typo : Fraunces (display) / IBM Plex Sans (texte) / IBM Plex Mono (repères)
   Signature : route de navigation en pointillés + repères de coordonnées
   ========================================================================= */

:root {
  --navy-950: #0161c3;
  --navy-900: #0155af;
  --navy-800: #014b9a;
  --navy-700: #013f7f;
  --teal-600: #57b424;
  --teal-500: #6bc73c;
  --teal-100: #edf8e7;
  --gold-500: #fd9301;
  --gold-400: #ffab2f;
  --sand-50: #f6f8f7;
  --sand-100: #eef2f1;
  --ink-900: #10202b;
  --ink-600: #435661;
  --ink-400: #7c8e97;
  --line: #dbe4e6;
  --white: #ffffff;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 12px 32px -18px rgba(7, 28, 44, 0.35);
  --shadow-pop: 0 18px 46px -14px rgba(7, 28, 44, 0.45);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1em; color: var(--ink-600); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold-500);
  display: inline-block;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--dark {
  background: var(--navy-950);
  color: var(--sand-100);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #b9c8d0; }
.section--alt { background: var(--white); }

.section-head {
  max-width: 640px;
  margin-bottom: 46px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Boutons & CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--white);
  color: var(--navy-950);
  border-color: rgba(1, 97, 195, 0.18);
  box-shadow: 0 10px 24px -10px rgba(7, 28, 44, 0.18);
}
.btn-primary:hover {
  background: #f7f9fb;
  color: var(--navy-950);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.news-detail-content .btn-outline {
  color: var(--navy-950);
  border-color: rgba(1, 97, 195, 0.18);
}
.news-detail-content .btn-outline:hover {
  border-color: var(--navy-950);
  background: rgba(1, 97, 195, 0.08);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-ghost {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-ghost:hover { background: var(--navy-800); color: var(--white); }
.btn-whatsapp {
  background: #1f9b57;
  color: var(--white)
}
.btn-whatsapp:hover { background: #1c8a4d; }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 28, 44, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
  overflow: hidden;
  padding: 2px;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { line-height: 1.15; }
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}
.brand-text span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: #d7e2e7;
  font-size: 0.93rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.main-nav a.active {
  color: var(--white);
  background: transparent;
  box-shadow: inset 0 -2px 0 0 var(--gold-400);
}

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  width: 42px; height: 42px;
  color: var(--white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  padding: 90px 0 70px;
  background-image:
    linear-gradient(120deg, rgba(1, 97, 195, 0.82) 0%, rgba(1, 97, 195, 0.55) 45%, rgba(87, 180, 36, 0.42) 100%),
    url('/media/services/background.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events: none;
}
.hero-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  text-align: center;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  text-align: center;
}
.hero-kicker::before { content: "⚓"; }
.hero h1 {
  color: var(--white);
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.hero-lead {
  color: #c4d3da;
  font-size: 1.08rem;
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  justify-content: center;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 46px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero-stat.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 6vw, 5.2rem);
  line-height: 1;
  color: var(--white);
}
.hero-stat .stat-value {
  display: inline-block;
  min-width: 2.4ch;
}
.hero-stat span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9fb3bc;
}
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.hero-card .coord {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold-400);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  display: block;
}
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hero-card li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.92rem; color: #dbe6ea;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(255,255,255,0.14);
}
.hero-card li:last-child { border-bottom: none; padding-bottom: 0; }
.hero-card li .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal-500); margin-top: 6px; flex-shrink: 0;
}

/* ---------- Route divider (signature) ---------- */
.route-divider {
  width: 100%;
  height: 46px;
  margin: 8px 0 30px;
}

/* ---------- Cards services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--teal-500);
}
.service-image-card {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sand-100);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}
.service-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-code {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--gold-500);
  background: #fdf3e0;
  padding: 3px 9px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 16px;
}
.service-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--teal-100);
  color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.service-card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; margin-bottom: 14px; }
.service-card .cta-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card .cta-link:hover { color: var(--teal-600); }

.saripam-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 28px 0;
}
.saripam-info-card h2 {
  font-size: 1.06rem;
  margin-bottom: 8px;
}
.saripam-info-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.event-block {
  margin-top: 36px;
  padding: 28px 28px 24px;
  background: #f8fbfa;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.event-block h2 {
  margin-bottom: 14px;
}
.event-block p {
  max-width: 720px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.event-block--speakers .event-grid {
  grid-template-columns: 1fr;
}
.event-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  position: relative;
}
.event-card--platinum {
  border: 2px solid #2d1b4e;
  background: linear-gradient(135deg, #f5f0ff 0%, #ffffff 100%);
}
.event-card--gold {
  border: 2px solid #d4a574;
  background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
}
.event-card--silver {
  border: 2px solid #a8a8a8;
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
}
.event-card--bronze {
  border: 2px solid #8b6f47;
  background: linear-gradient(135deg, #faf7f2 0%, #ffffff 100%);
}
.sponsor-badge {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: inline-block;
}
.event-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}
.event-card p {
  font-size: 0.95rem;
  color: var(--ink-600);
}
.speaker-photo {
  height: 210px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  margin: -20px -18px 18px;
  width: calc(100% + 36px);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy-950);
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}
.faq-item[open] summary::after {
  content: '-';
}
.faq-answer {
  padding: 0 22px 18px;
  color: var(--ink-600);
  line-height: 1.7;
}

.journal-marquee,
.participants-marquee {
  overflow: hidden;
  position: relative;
  margin-top: 22px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 0;
}
.journal-marquee::before,
.journal-marquee::after,
.participants-marquee::before,
.participants-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  z-index: 2;
  pointer-events: none;
}
.journal-marquee::before,
.participants-marquee::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255,255,255,1), rgba(255,255,255,0));
}
.journal-marquee::after,
.participants-marquee::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255,255,255,1), rgba(255,255,255,0));
}
.journal-track,
.participants-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 6px 0;
  will-change: transform;
}
.journal-track {
  animation: journal-scroll 60s linear infinite;
}
.participants-track {
  animation: participants-scroll 50s linear infinite;
}
.journal-slide,
.participant-card {
  width: 780px;
  min-width: 380px;
  height: 500px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--sand-100);
  flex-shrink: 0;
}
.participant-card {
  width: 320px;
  min-width: 320px;
  height: 240px;
}
.journal-slide img,
.participant-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.journal-slide {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
@keyframes journal-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes participants-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .journal-slide {
    width: 300px;
    min-width: 300px;
    height: 200px;
  }
  .participant-card {
    width: 260px;
    min-width: 260px;
    height: 190px;
  }
  .event-block--sponsors {
    padding: 20px 16px 18px;
  }
  .event-block--sponsors .event-grid {
    gap: 12px;
  }
  .event-block--sponsors .event-card {
    padding: 14px 12px;
  }
  .event-block--sponsors .sponsor-badge {
    font-size: 1.8rem;
    margin-bottom: 6px;
  }
  .event-block--sponsors .event-card h3 {
    margin-bottom: 6px;
  }
  .event-block--sponsors .event-card p {
    font-size: 0.84rem;
    line-height: 1.45;
  }
}

/* Fix: ensure news detail content is visible in case of reveal/js issues */
.news-detail {
  display: block !important;
}
.news-detail-content h1,
.news-detail-content h2,
.news-detail-content h3,
.news-detail-content p,
.news-detail-content li,
.news-detail-content .news-date {
  color: var(--navy-950) !important;
}
.news-detail .news-body,
.news-detail .news-chapo {
  background: transparent !important;
}
.news-detail .reveal-init { opacity: 1 !important; transform: none !important; transition: none !important; }

.service-detail {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-detail:last-child { border-bottom: none; }
.service-detail .service-icon { width: 100px; height: 100px; }
.service-detail-actions { margin-top: 16px; }
.service-image-block {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--sand-100);
  border: 1px solid var(--line);
}
.service-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Actualités ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.news-media {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-600));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  overflow: hidden;
}
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.news-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 10px;
}
.news-body h3 { font-size: 1.05rem; margin-bottom: 10px; }
.news-body p { font-size: 0.9rem; flex: 1; }

.news-list-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.news-list-item:last-child { border-bottom: none; }
.news-list-media {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-600));
}
.news-list-media img { width: 100%; height: 100%; object-fit: cover; }
.news-list-actions .btn-primary,
.news-list-actions .btn-primary:hover {
  color: #0161c3;
}

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.empty-state .eyebrow { justify-content: center; }

/* ---------- Bandes valeurs / mission-vision ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}
.value-card .service-code { margin-bottom: 14px; }
.value-card p { font-size: 0.93rem; }

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.profile-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  display: grid;
  gap: 20px;
}
.profile-card strong {
  display: block;
  font-family: var(--font-display);
  color: var(--navy-950);
  margin-bottom: 10px;
}
.profile-card p {
  color: var(--ink-700);
  line-height: 1.7;
  font-size: 0.95rem;
}
.profile-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand-100);
  border: 1px solid var(--line);
}
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-800), var(--teal-600) 130%);
  aspect-ratio: 4/3;
  position: relative;
}
.split-media svg { width: 100%; height: 100%; }

/* ---------- Équipe ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.team-card { text-align: left; }
.team-photo {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  background: linear-gradient(150deg, var(--navy-700), var(--navy-950));
  margin-bottom: 14px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-400);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card strong { display: block; font-family: var(--font-display); font-size: 1rem; color: var(--navy-950); }
.team-card span { font-size: 0.84rem; color: var(--ink-400); }

/* ---------- Logos partenaires / clients ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.logo-chip {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--ink-600);
  display: flex; align-items: center; gap: 10px;
}
.logo-chip img { max-height: 60px; width: auto; }

/* ---------- Formulaire ---------- */
.form-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-950);
  margin-bottom: 7px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-900);
  background: var(--sand-50);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field-input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(21, 156, 123, 0.18);
}
.field-errors { color: #b3261e; font-size: 0.8rem; margin-top: 6px; }
.form-note { font-size: 0.8rem; color: var(--ink-400); margin-top: 14px; }

.confirmation-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--teal-100);
  border: 1px solid rgba(14, 124, 97, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 26px;
  color: var(--teal-600);
}
.confirmation-banner strong { display: block; color: var(--navy-950); margin-bottom: 3px; }

.contact-mini {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}
.contact-mini-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
}
.contact-mini-item .icon-box {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--teal-100); color: var(--teal-600);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-mini-item strong { display: block; font-size: 0.9rem; color: var(--navy-950); }
.contact-mini-item span { font-size: 0.86rem; color: var(--ink-600); }

/* ---------- Footer ---------- */
.site-footer {
  background: rgba(7, 28, 44, 0.94);
  color: #a9bac1;
  padding: 64px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand p { color: #92a5ad; font-size: 0.88rem; margin-top: 14px; max-width: 34ch; }
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { color: #b9c8cf; font-size: 0.9rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--gold-400); }
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-chip {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.social-chip:hover { background: var(--teal-600); border-color: var(--teal-600); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: #7c8e97;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1f9b57;
  color: var(--white);
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px -10px rgba(31, 155, 87, 0.6);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -8px rgba(31, 155, 87, 0.7); }
.whatsapp-float .wa-label { display: none; }
@media (min-width: 640px) {
  .whatsapp-float .wa-label { display: inline; }
}

/* ---------- Bannière CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy-900), var(--teal-600) 150%);
  border-radius: var(--radius-lg);
  padding: 52px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: #d3e2e6; margin: 0; }

/* ---------- Breadcrumb / page header ---------- */
.page-hero {
  background: var(--navy-950);
  color: var(--white);
  padding: 64px 0 46px;
  position: relative;
  overflow: hidden;
}
.page-hero .container { position: relative; }
.page-hero p { color: #bfd0d6; max-width: 60ch; }

/* ---------- Reveal au scroll ---------- */
.reveal-init { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-init.is-visible { opacity: 1; transform: translateY(0); }
.field-invalid { border-color: #b3261e !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal-init { opacity: 1; transform: none; transition: none; }
}

/* ---------- Messages Django ---------- */
.django-messages { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.django-messages li {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 0.88rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(1, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .form-shell { grid-template-columns: 1fr; }
  .hero { padding: 70px 0 54px; }
}

/* ---------- À propos hero background (blur) ---------- */
.apropos-hero {
  position: relative;
  overflow: hidden;
}
.apropos-hero .apropos-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/core/img/port.jpeg');
  background-size: cover;
  background-position: center center;
  filter: blur(5px);
  transform: scale(1.04);
  z-index: 0;
  pointer-events: none;
}
.apropos-hero .apropos-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,21,32,0.08);
  z-index: 1;
  pointer-events: none;
}
.apropos-hero .container {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.apropos-hero .founder-image {
  margin-bottom: 18px;
  max-width: 320px;
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 22px 40px rgba(0,0,0,0.22);
}
.apropos-hero .founder-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apropos-hero .container p,
.apropos-hero .container h2,
.apropos-hero .container h3 {
  color: #ffffff;
}
.apropos-hero .container .eyebrow {
  color: rgba(255,255,255,0.9);
}

@media (max-width: 780px) {
  .apropos-hero .apropos-bg { filter: blur(6px); }
}

@media (max-width: 780px) {
  .container { padding: 0 18px; }
  .main-nav, .header-actions .btn-ghost-desktop { display: none; }
  .nav-toggle { display: flex; }
  .site-header .container {
    height: auto;
    min-height: 78px;
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .brand { min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-text span { display: none; }
  .brand-text strong { font-size: 0.95rem; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--navy-950);
    flex-direction: column;
    padding: 14px 24px 24px;
    gap: 4px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .site-header.nav-open .main-nav a { padding: 12px 10px; }
  .service-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-list-item { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-detail { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero { padding: 54px 0 42px; }
  .hero-actions {
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 12px 10px;
    font-size: 0.82rem;
    white-space: normal;
    text-align: center;
  }
  .hero-stats { gap: 16px 20px; margin-top: 32px; }
  .hero-card { padding: 22px; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.3rem); }
  .hero-lead { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .profile-card { padding: 16px; gap: 12px; }
  .profile-image {
    aspect-ratio: 3/4;
    border-radius: var(--radius-md);
  }
  .profile-image img { object-position: center top; }
  .profile-card p { font-size: 0.88rem; line-height: 1.5; }
  .whatsapp-float { padding: 14px; }
}
