/* ==========================================================================
   DSM — feuille de style du site public
   Couleurs et police alignées sur la charte graphique officielle DSM
   (vert sapin #162c2c, vert d'eau #71a496, beige #f2eee5 ; police Montserrat).
   ========================================================================== */

:root {
  /* Vert sapin (couleur principale) — le plus foncé et sa variante 90 % */
  --forest: #293b39;
  --forest-deep: #162c2c;
  /* Vert sapin pour les surfaces d'action (contraste suffisant avec le blanc) */
  --teal: #293b39;
  --teal-dark: #162c2c;
  /* Vert d'eau (accent) et sa variante 90 % */
  --mint: #71a496;
  --sage: #88aea3;
  /* Beige (fond clair) et sa variante 50 % */
  --cream: #f2eee5;
  --cream-soft: #f9f6f3;
  --ink: #162c2c;
  --muted: #5f6b67;
  --line: #e4dfd4;
  --white: #f2eee5;

  --container: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(22, 44, 44, 0.06);
  --shadow-md: 0 10px 30px rgba(22, 44, 44, 0.10);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Base --------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 { line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--sage);
}
.eyebrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

/* --- Boutons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-dark); }

.btn-outline { border-color: rgba(242, 238, 229, 0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(242, 238, 229, 0.08); }

.btn-outline-dark { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-outline-dark:hover { border-color: var(--teal); color: var(--teal); }

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--teal);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-more .arrow { transition: transform 0.2s ease; }
.link-more:hover .arrow { transform: translateX(4px); }

/* --- Logo --------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo-img { height: 64px; width: auto; display: block; }
.site-header .logo { flex-shrink: 0; }
.site-header .logo-img { height: 56px; max-width: none; }

/* --- En-tête ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(242, 238, 229, 0.80);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(22, 44, 44, 0.08);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 32px;
  padding-right: 32px;
}
.site-header .logo { color: var(--ink); }
.site-header .logo svg { color: var(--teal); }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--teal); }
.nav-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  background: var(--forest);
}
.hero-content {
  color: var(--white);
  padding: 100px 60px 90px 0;
  max-width: 620px;
  margin-left: auto;
  width: 100%;
}
.hero .eyebrow { color: var(--mint); margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(38px, 4.4vw, 60px);
  margin-bottom: 24px;
}
.hero h1 .accent { color: var(--mint); }
.hero p {
  font-size: 18px;
  color: rgba(242, 238, 229, 0.82);
  margin-bottom: 36px;
  max-width: 440px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-visual {
  position: relative;
  background: var(--teal-dark);
  background-image:
    linear-gradient(120deg, rgba(13, 43, 38, 0.55), rgba(13, 43, 38, 0.12)),
    url("../img/photos/hero-salle-reunion.jpg");
  background-size: cover;
  background-position: center;
}
.hero-visual .badge {
  position: absolute;
  top: 40%; right: 40px;
  color: var(--white);
  text-align: left;
  max-width: 150px;
}
.hero-visual .badge .ico { color: var(--mint); margin-bottom: 10px; }
.hero-visual .badge strong { display: block; font-size: 17px; }
.hero-visual .badge span { font-size: 13px; color: rgba(242, 238, 229, 0.72); }

/* --- Bandeau chiffres --------------------------------------------------- */
.stats {
  background: var(--cream-soft);
  border-bottom: 1px solid var(--line);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 28px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; padding-left: 0; }
.stat .ico { color: var(--teal); flex-shrink: 0; }
.stat .num { font-size: 26px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.stat .lbl { font-size: 14px; color: var(--muted); }

/* --- Sections génériques ------------------------------------------------ */
.section { padding: 90px 0; }
.section-head { margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 40px); }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 620px; }
.section-head.between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

/* --- Deux univers ------------------------------------------------------- */
.universes .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.universe {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: var(--white);
}
.universe::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,58,51,0.15) 0%, rgba(13,43,38,0.92) 85%);
  z-index: 1;
}
.universe-av {
  background: #27423d url("../img/photos/univers-av-visio.jpg") center/cover no-repeat;
}
.universe-it {
  background: #16303c url("../img/photos/univers-it-serveurs.jpg") center/cover no-repeat;
}
.universe > * { position: relative; z-index: 2; }
.universe .ico-top { color: var(--mint); margin-bottom: 18px; }
.universe h3 { font-size: 26px; margin-bottom: 14px; }
.universe p { color: rgba(242, 238, 229, 0.8); margin-bottom: 22px; }
.universe .link-more { color: var(--mint); border-color: var(--mint); }

/* --- Services ----------------------------------------------------------- */
.services { background: var(--cream); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}
.service .ico-wrap {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #e4ebe6;
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service h3 { font-size: 16px; margin-bottom: 8px; }
.service p { font-size: 13.5px; color: var(--muted); }

/* --- Engagement + revendeur -------------------------------------------- */
.engage .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--forest);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--white);
}
.engage-col { padding: 56px 48px; position: relative; }
.engage-col.left { background: var(--forest); }
.engage-col.right {
  position: relative;
  background:
    linear-gradient(180deg, rgba(41,59,57,0.9) 0%, rgba(22,44,44,0.82) 100%),
    url("../img/photos/revendeurs-bureau.jpg") center/cover no-repeat;
}
.engage-col.right > * { position: relative; z-index: 2; }
.engage .eyebrow { color: var(--mint); margin-bottom: 18px; }
.engage h2 { font-size: 30px; margin-bottom: 20px; }
.engage h2 .accent { color: var(--mint); }
.engage-col .intro { color: rgba(242, 238, 229, 0.82); margin-bottom: 26px; }

.engage-split { display: grid; grid-template-columns: 150px 1fr; gap: 28px; align-items: start; }

.map-ph {
  border-radius: var(--radius);
  overflow: hidden;
}
.map-ph img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .ico { color: var(--cream); flex-shrink: 0; margin-top: 2px; }
.feature-list strong { display: block; font-size: 15px; }
.feature-list span { font-size: 13.5px; color: rgba(242, 238, 229, 0.72); }

.flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 28px 0;
}
.flow-node { text-align: center; flex: 1; }
.flow-node .bubble {
  width: 56px; height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1.5px solid rgba(242, 238, 229, 0.45);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
}
.flow-node.mid .bubble { background: var(--teal-dark); border-color: var(--teal-dark); }
.flow-node .bubble img { width: 26px; height: auto; display: block; }
.flow-node strong { display: block; font-size: 14px; }
.flow-node span { font-size: 12px; color: rgba(242, 238, 229, 0.65); }
.flow .sep { color: var(--cream); opacity: .6; flex-shrink: 0; }

.engage .link-more { color: var(--mint); border-color: var(--mint); }

/* --- Réalisations ------------------------------------------------------- */
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.realisation .thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #27423d, #16303c);
  margin-bottom: 14px;
}
.realisation .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.realisation h3 { font-size: 15px; margin-bottom: 4px; }
.realisation p { font-size: 13px; color: var(--muted); }

/* --- Bandeau CTA -------------------------------------------------------- */
.cta-band {
  background: var(--forest-deep);
  color: var(--white);
}
.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 24px;
}
.cta-band .ico { color: var(--mint); flex-shrink: 0; }
.cta-band .txt { flex: 1; }
.cta-band h2 { font-size: 26px; margin-bottom: 8px; }
.cta-band p { color: rgba(242, 238, 229, 0.75); }

/* --- Pied de page ------------------------------------------------------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(242, 238, 229, 0.85);
  border-top: 1px solid rgba(242, 238, 229, 0.08);
}
.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 24px;
  flex-wrap: wrap;
}
.site-footer .logo { color: var(--white); }
.site-footer .logo svg { color: var(--mint); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 14px; color: rgba(242, 238, 229, 0.8); }
.footer-nav a:hover { color: var(--white); }
.footer-sign { font-style: italic; color: var(--mint); font-size: 18px; }
.footer-legal {
  flex-basis: 100%;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 18px;
  margin-top: 4px;
  border-top: 1px solid rgba(242, 238, 229, 0.08);
}
.footer-legal a { font-size: 13px; color: rgba(242, 238, 229, 0.6); }
.footer-legal a:hover { color: var(--white); }

/* --- Étiquette emplacement image --------------------------------------- */
.placeholder-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 238, 229, 0.65);
  background: rgba(0,0,0,0.3);
  padding: 4px 10px;
  border-radius: 6px;
}
.thumb .placeholder-tag,
.hero-visual .placeholder-tag,
.universe .placeholder-tag {
  position: absolute; bottom: 12px; left: 12px; z-index: 3;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .realisations-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-content { padding: 130px 24px 70px; max-width: none; margin: 0; }
  .hero-visual { min-height: 320px; order: 2; }
  .hero-visual .badge { right: 24px; }
  .engage .container { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; padding: 24px 0; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 20px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: none; }
  .universes .container { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section-head.between { flex-direction: column; align-items: flex-start; }
  .cta-band .container { flex-direction: column; text-align: center; }
  .site-footer .container { justify-content: center; text-align: center; }
  .flow { flex-wrap: wrap; }
  .engage-split { grid-template-columns: 1fr; }
}

/* ==========================================================================
   ACCUEIL — intégration de la maquette v4 validée
   Image jamais étirée : recadrage à ratio conservé (cover) ou dessin vectoriel.
   ========================================================================== */
body { background: var(--cream); }

.fr-map { display: inline-block; color: inherit; }
.fr-map svg { display: block; width: 100%; height: 100%; }

/* Hero : vert uni à gauche, photo lumineuse à droite, fondu vert court et doux */
.hero-visual {
  background: var(--teal-dark);
  background-image:
    linear-gradient(90deg,
      var(--forest) 0%,
      var(--forest) 6%,
      rgba(18, 58, 51, 0.70) 20%,
      rgba(18, 58, 51, 0) 44%),
    url("../img/photos/hero-salle-reunion.jpg");
  background-size: auto, cover;
  background-position: left, right center;
  background-repeat: no-repeat;
}
.hero-visual .badge {
  top: auto; bottom: 40px; right: 40px; max-width: 200px;
  padding: 18px 20px; border-radius: 12px;
  background: rgba(13, 43, 38, 0.55);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(167, 198, 182, 0.35);
}
.hero-visual .badge .fr-map { width: 48px; height: 48px; color: var(--mint); margin-bottom: 12px; }
.hero-visual .badge strong { font-size: 18px; color: #f2eee5; }
.hero-visual .badge span { color: rgba(242, 238, 229, 0.88); }

.stat .ico .fr-map { width: 34px; height: 34px; color: var(--teal); }

/* Bloc engagement : bande pleine largeur, moins haute */
.engage { background: var(--forest); padding: 56px 0; }
.engage .container { background: none; border-radius: 0; overflow: visible; max-width: var(--container); }
.engage-col { padding: 0 36px; }
.engage-col.left { padding-left: 0; }
.engage-col.right {
  padding: 36px; border-radius: 12px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(41,59,57,0.9) 0%, rgba(22,44,44,0.82) 100%),
    url("../img/photos/revendeurs-bureau.jpg") center/cover no-repeat;
}

/* Carte de France vectorielle, posée sur le vert, nettement plus petite */
.map-ph { background: none; border-radius: 0; overflow: visible; margin-bottom: 22px; }
.map-ph img { display: none; }
.map-fr { position: relative; width: 210px; margin: 6px 0 0; aspect-ratio: 1024 / 1024; }
.map-fr .fr-map { width: 100%; height: 100%; color: var(--mint); opacity: 0.9; }
.map-fr .dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: #f2eee5; box-shadow: 0 0 8px 2px rgba(167, 198, 182, 0.6);
  transform: translate(-50%, -50%);
}

/* Chaîne Fabricant -> Grossiste -> DSM -> Revendeur -> Client final */
.flow { gap: 4px; }
.flow-node { flex: 0 1 auto; max-width: 76px; }
.flow-node .bubble { width: 46px; height: 46px; margin-bottom: 8px; }
.flow-node .bubble svg { width: 20px; height: 20px; }
.flow-node .bubble img { width: 20px; height: auto; }
.flow-node strong { font-size: 12px; line-height: 1.2; }
.flow-node span { font-size: 11px; }
.flow-node.mid { transform: scale(1.12); }
.flow-node.mid strong { color: var(--mint); font-size: 13px; }
.flow .sep { font-size: 14px; }

/* ==========================================================================
   PAGES INTÉRIEURES — en-tête, contenu, tarifs, étapes, équipe, contact
   ========================================================================== */
.page-hero { background: var(--forest); color: var(--white); padding: 92px 0 72px; }
.page-hero .eyebrow { color: var(--mint); margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 18px; max-width: 780px; }
.page-hero p { font-size: 18px; color: rgba(242, 238, 229, 0.82); max-width: 660px; }

.prose { max-width: 780px; }
.prose p { color: var(--muted); font-size: 17px; margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

.content-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.content-split .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.content-split .media img { width: 100%; height: 100%; object-fit: cover; }

.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.offer-grid.three { grid-template-columns: repeat(3, 1fr); }
.offer-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.offer-card .ico-wrap {
  width: 54px; height: 54px; border-radius: 50%; background: #e4ebe6; color: var(--teal);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.offer-card h3 { font-size: 19px; margin-bottom: 10px; }
.offer-card > p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.offer-card ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.offer-card li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink); }
.offer-card li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--mint);
}

.price-table {
  width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 15px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.price-table caption { text-align: left; font-weight: 700; margin-bottom: 12px; font-size: 18px; color: var(--ink); }
.price-table th, .price-table td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--forest); color: #f2eee5; font-weight: 600; }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table tbody tr:nth-child(even) { background: var(--cream-soft); }
.price-note { font-size: 13.5px; color: var(--muted); margin-top: 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps.two { grid-template-columns: repeat(2, 1fr); }
.steps.four { grid-template-columns: repeat(4, 1fr); }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.step .n {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--forest); color: #f2eee5; font-weight: 700; margin-bottom: 16px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

.band-soft { background: var(--cream); }

.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 780px; }
.team-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.team-card .role { color: var(--mint); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.team-card h3 { font-size: 22px; margin: 6px 0 14px; }
.team-card .exp { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.team-card a { color: var(--teal); font-weight: 600; display: block; font-size: 15px; }
.team-card .portrait { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: linear-gradient(135deg, #27423d, #16303c); }
.team-card .portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.contact-card .role { color: var(--mint); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-card h3 { font-size: 19px; margin: 6px 0 12px; }
.contact-card a { display: block; color: var(--ink); font-size: 15px; margin-bottom: 6px; }
.contact-card a:hover { color: var(--teal); }
.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font); font-size: 15px; color: var(--ink); background: var(--cream-soft);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint); background: #f2eee5; }

.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 0; }
.empty-state .ico { color: var(--mint); margin-bottom: 20px; display: inline-flex; }
.empty-state h2 { font-size: 26px; margin-bottom: 14px; }
.empty-state p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }

/* --- Actualités --------------------------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.news-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #27423d, #16303c); }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card .body { padding: 22px 24px 26px; }
.news-card .date { color: var(--mint); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.news-card h2 { font-size: 20px; margin: 8px 0 10px; }
.news-card p { color: var(--muted); font-size: 15px; }

@media (max-width: 992px) {
  .site-header .logo-img { height: 44px; }
  .content-split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .offer-grid, .offer-grid.three, .steps, .steps.two, .steps.four, .team-grid, .news-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   COMPATIBILITÉ ET ACCESSIBILITÉ (Safari, iPhone, clavier) — 04/11
   ========================================================================== */
/* Bouton principal sur fond vert : sans ce réglage il prend la couleur du fond et disparaît */
.hero .btn-primary, .page-hero .btn-primary, .engage .btn-primary, .cta-band .btn-primary {
  background: var(--mint); color: var(--forest-deep);
}
.hero .btn-primary:hover, .page-hero .btn-primary:hover, .engage .btn-primary:hover, .cta-band .btn-primary:hover {
  background: var(--sage);
}

/* iPhone en paysage : rien sous l'encoche */
.site-header .container, .site-footer .container {
  padding-left: max(32px, env(safe-area-inset-left, 0px));
  padding-right: max(32px, env(safe-area-inset-right, 0px));
}
.site-footer { padding-bottom: env(safe-area-inset-bottom, 0px); }

/* Navigation au clavier : contour visible, jamais pour la souris */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px;
}

/* Réglage « réduire les animations » du système respecté */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Chiffres-clés : une colonne sur téléphone (débordait de 92 px sur iPhone) */
.stat > div { min-width: 0; }
@media (max-width: 560px) {
  .stats .container { grid-template-columns: 1fr; }
  .stat { padding: 18px 0; }
  .stat .num { font-size: 22px; }
  .site-header .container, .site-footer .container {
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
}

/* --- Bandeau cookies (consentement avant mesure d'audience) ------------ */
.bandeau-cookies {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 100;
  max-width: 680px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px 26px;
  padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px));
}
.bandeau-cookies p { font-size: 14.5px; color: var(--ink); margin-bottom: 16px; }
.bandeau-cookies p a { color: var(--teal); font-weight: 600; border-bottom: 1px solid currentColor; }
.bandeau-cookies-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.bandeau-cookies-actions .btn { padding: 10px 22px; font-size: 14px; }

@media (max-width: 560px) {
  .bandeau-cookies { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .bandeau-cookies-actions { justify-content: stretch; }
  .bandeau-cookies-actions .btn { flex: 1; justify-content: center; }
}
