/* ==========================================================================
   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: #ffffff;

  --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; }

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(255, 255, 255, 0.5); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 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: 34px; width: auto; display: block; }

/* --- En-tête ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}
.site-header .logo { color: var(--ink); }
.site-header .logo svg { color: var(--teal); }

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

.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(255, 255, 255, 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(255,255,255,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(255,255,255,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; }
.engage-col.left { background: var(--forest); position: relative; }
.engage-col.right {
  position: relative;
  background:
    linear-gradient(180deg, rgba(26,79,69,0.86) 0%, rgba(22,48,60,0.92) 100%),
    url("../img/photos/revendeurs-bureau.jpg") center/cover no-repeat;
}
.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(255,255,255,0.82); margin-bottom: 26px; }

.map-ph {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
}
.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(--mint); flex-shrink: 0; margin-top: 2px; }
.feature-list strong { display: block; font-size: 15px; }
.feature-list span { font-size: 13.5px; color: rgba(255,255,255,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(167,198,182,0.5);
  display: flex; align-items: center; justify-content: center;
  color: var(--mint);
}
.flow-node.mid .bubble { background: var(--teal-dark); border-color: var(--teal-dark); }
.flow-node strong { display: block; font-size: 14px; }
.flow-node span { font-size: 12px; color: rgba(255,255,255,0.65); }
.flow .sep { color: var(--mint); 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(255,255,255,0.75); }

/* --- Pied de page ------------------------------------------------------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.85);
  border-top: 1px solid rgba(255,255,255,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(255,255,255,0.8); }
.footer-nav a:hover { color: var(--white); }
.footer-sign { font-style: italic; color: var(--mint); font-size: 18px; }

/* --- Étiquette emplacement image --------------------------------------- */
.placeholder-tag {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,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; }
}
