/* =========================================================
   Urban Mine DZ — feuille de styles
   Palette issue du logo : vert profond #143c32, orange #fbb03b,
   verts de la roue #9fedb2 / #7ecb9a / #cbedd4, ivoire #f7f8f2
   ========================================================= */

:root {
  --vert-900: #0d2b24;
  --vert: #143c32;
  --vert-600: #1c5344;
  --vert-accent: #3f7a5c;

  --orange: #fbb03b;
  --orange-clair: #ffc76b;
  --menthe: #cbedd4;
  --vert-clair: #9fedb2;
  --vert-moyen: #7ecb9a;

  --ivoire: #f7f8f2;
  --ivoire-2: #eef1e5;
  --blanc: #ffffff;

  --ligne: #dde3d6;
  --ligne-sombre: rgba(247, 248, 242, .18);
  --muted: #4e6058;
  --muted-clair: #c8d6cb;

  --radius: 14px;
  --radius-sm: 8px;
  --ombre: 0 1px 2px rgba(20, 60, 50, .05), 0 12px 28px -18px rgba(20, 60, 50, .35);
  --ombre-haute: 0 2px 4px rgba(20, 60, 50, .06), 0 22px 44px -22px rgba(20, 60, 50, .45);

  --header-h: 88px;
  --gouttiere: 40px;
  --max: 1220px;

  --sans: 'DM Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --titre: 'Manrope', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivoire);
  color: var(--vert);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
cite { font-style: italic; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--vert);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-contact :focus-visible,
.site-footer :focus-visible,
.side-card :focus-visible { outline-color: var(--orange); }

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -80px;
  z-index: 100;
  background: var(--vert);
  color: var(--ivoire);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top .18s ease;
}
.skip-link:focus { top: 16px; }

/* ---------- Titres et textes ---------- */

h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(36px, 4.4vw, 60px); margin: 18px 0 0; }
h1 em { font-style: normal; display: block; color: var(--vert-accent); }

h2 { font-size: clamp(27px, 3vw, 41px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }

sup { font-size: .62em; line-height: 0; vertical-align: super; }

.lead {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.72;
  color: var(--muted);
  max-width: 56ch;
  margin-top: 22px;
}

.source {
  font-size: 13px;
  color: var(--muted);
  opacity: .85;
  margin-bottom: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--vert-600);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  outline: 3px solid rgba(251, 176, 59, .28);
  flex: none;
}

/* ---------- Structure ---------- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

.section { padding-block: clamp(54px, 6.5vw, 100px); }
.section-alt { background: var(--ivoire-2); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 46px;
}
.section-head h2 { margin-top: 16px; }
.section-intro {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  max-width: 48ch;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--vert);
  border-color: var(--vert);
  color: var(--ivoire);
  box-shadow: var(--ombre);
}
.btn-primary:hover { background: var(--vert-600); border-color: var(--vert-600); }

.btn-ghost {
  background: transparent;
  border-color: rgba(20, 60, 50, .28);
  color: var(--vert);
}
.btn-ghost:hover { border-color: var(--vert); background: rgba(20, 60, 50, .05); }

.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--vert);
}
.btn-orange:hover { background: var(--orange-clair); border-color: var(--orange-clair); }

.btn-sm { padding: 11px 19px; font-size: 14px; }
.btn-wide { width: 100%; }

.ico {
  width: 19px;
  height: 19px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-bottom: 1.5px solid var(--orange);
  padding-bottom: 3px;
}
.link-arrow .ico { transition: transform .2s ease; }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- En-tête et marque ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 242, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ligne);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav { margin-inline-start: auto; }
.header-outils { display: flex; align-items: center; gap: 14px; }

/* Sélecteur de langue */
.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(20, 60, 50, .22);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--titre);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
}
.lang-switch a {
  padding: 9px 14px;
  color: var(--muted);
  transition: background-color .16s ease, color .16s ease;
}
.lang-switch a:hover { color: var(--vert); background: rgba(20, 60, 50, .07); }
.lang-switch a[aria-current="true"] { background: var(--vert); color: var(--ivoire); }

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  flex: none;
}
.brand-mark { width: 46px; height: 46px; }
.brand-text {
  font-family: var(--titre);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .015em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.brand-text sup { font-size: .5em; }
.brand-text b { margin-inline-start: 9px; color: var(--vert-accent); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav-list a {
  position: relative;
  padding-block: 6px;
  color: var(--muted);
  font-weight: 500;
  transition: color .16s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: inset-inline-end .22s ease;
}
.nav-list a:hover,
.nav-list a[aria-current="true"] { color: var(--vert); }
.nav-list a:hover::after,
.nav-list a[aria-current="true"]::after { inset-inline-end: 0; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid rgba(20, 60, 50, .25);
  border-radius: 999px;
  padding: 9px 16px 9px 13px;
  font-size: 14px;
  font-weight: 600;
}
.menu-bars { display: grid; gap: 4px; width: 18px; }
.menu-bars i {
  display: block;
  height: 2px;
  background: var(--vert);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Accueil ---------- */

.hero { padding-top: clamp(34px, 4vw, 62px); }

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(32px, 4.5vw, 60px);
  align-items: center;
  padding-bottom: clamp(40px, 5vw, 62px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ligne);
  font-size: 13.5px;
  color: var(--muted);
}
.trust-list li { position: relative; padding-inline-start: 23px; }
.trust-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: .62em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: inset 0 0 0 4px var(--ivoire), 0 0 0 1px rgba(20, 60, 50, .12);
}

.cycle-card { margin: 0; }
.cycle {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--ombre-haute);
  display: block;
}
.cycle-title {
  font-family: var(--titre);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2em;
  fill: rgba(247, 248, 242, .72);
}
.cycle-num {
  font-family: var(--titre);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  fill: var(--orange);
}
.cycle-label {
  font-family: var(--titre);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .09em;
  fill: var(--ivoire);
}
.cycle-card figcaption {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 50ch;
}
.cycle-aide { color: var(--vert-accent); font-weight: 500; }

/* Roue : apparition circulaire, puis mise en avant d'une étape au survol.
   Les groupes .roue et .petale n'ont pas d'attribut transform : la
   transformation CSS s'applique donc sans écraser le positionnement,
   avec pour origine le centre de leur propre boîte. */
.roue, .petale, .cycle-step { transform-box: fill-box; transform-origin: center; }
.petale, .cycle-step { cursor: pointer; }
.petale { transition: opacity .3s ease, transform .3s cubic-bezier(.2, .8, .3, 1); }
.cycle-step { transition: opacity .3s ease; }
.cycle-step text { transition: fill .3s ease; }

.js .cycle .roue,
.js .cycle .petale,
.js .cycle .cycle-step { opacity: 0; }

.js .cycle.anime .roue { animation: roue-entree 1.25s cubic-bezier(.2, .75, .25, 1) both; }
.js .cycle.anime .petale { animation: roue-apparition .55s ease both; }
.js .cycle.anime .petale-1 { animation-delay: .18s; }
.js .cycle.anime .petale-2 { animation-delay: .31s; }
.js .cycle.anime .petale-3 { animation-delay: .44s; }
.js .cycle.anime .petale-4 { animation-delay: .57s; }
.js .cycle.anime .cycle-step { animation: etape-apparition .5s ease both; }
.js .cycle.anime .cycle-step[data-etape="1"] { animation-delay: .80s; }
.js .cycle.anime .cycle-step[data-etape="2"] { animation-delay: .93s; }
.js .cycle.anime .cycle-step[data-etape="3"] { animation-delay: 1.06s; }
.js .cycle.anime .cycle-step[data-etape="4"] { animation-delay: 1.19s; }

.js .cycle.anime-fini .roue,
.js .cycle.anime-fini .petale,
.js .cycle.anime-fini .cycle-step { opacity: 1; }

@keyframes roue-entree {
  from { opacity: 0; transform: rotate(-125deg) scale(.68); }
  55%  { opacity: 1; }
  to   { opacity: 1; transform: rotate(0) scale(1); }
}
@keyframes roue-apparition { from { opacity: 0; } to { opacity: 1; } }
@keyframes etape-apparition {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}

/* Étape survolée : le pétale correspondant ressort, le reste s'efface. */
.js .cycle.anime-fini[data-actif] .petale { opacity: .3; }
.js .cycle.anime-fini[data-actif] .cycle-step { opacity: .4; }
.js .cycle.anime-fini[data-actif] .petale.est-actif { opacity: 1; transform: scale(1.09); }
.js .cycle.anime-fini[data-actif] .cycle-step.est-actif { opacity: 1; }
.cycle .cycle-step.est-actif .cycle-label { fill: var(--orange); }
.cycle .cycle-step.est-actif .cycle-num { fill: var(--ivoire); }

.marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding-block: 24px;
  border-block: 1px solid var(--ligne);
}
.marquee li {
  padding: 8px 16px;
  border: 1px solid var(--ligne);
  border-radius: 999px;
  background: var(--blanc);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Le concept ---------- */

.concept {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(30px, 4.5vw, 62px);
  align-items: start;
}
.concept-text p { color: var(--muted); line-height: 1.85; max-width: 58ch; }
.concept-figure { margin: 0; }
.concept-figure svg {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.concept-figure figcaption {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.fig-titre {
  font-family: var(--titre);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  fill: var(--vert);
}
.fig-legende {
  font-family: var(--titre);
  font-size: 16px;
  font-weight: 600;
  fill: var(--vert);
}
.fig-note { font-size: 12px; fill: var(--muted); }
.fig-clair { fill: var(--ivoire); }
.fig-note-clair { fill: var(--menthe); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 54px;
  background: var(--ligne);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats li { background: var(--ivoire); padding: 28px 26px; }
.section-alt .stats li { background: var(--ivoire-2); }
.stats strong {
  display: block;
  font-family: var(--titre);
  font-size: 44px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.stats strong sup { font-size: .45em; }
.stats span { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- Cartes ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ombre-haute);
  border-color: #c9d4bd;
}
.card-accent { border-color: rgba(251, 176, 59, .55); background: #fffaf0; }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.card-index {
  font-family: var(--titre);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--vert-600);
}
.card-ico {
  width: 42px;
  height: 42px;
  padding: 7px;
  border-radius: 50%;
  background: var(--ivoire-2);
  fill: none;
  stroke: var(--vert);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card:hover .card-ico { background: var(--orange); }
.card-accent .card-ico { background: rgba(251, 176, 59, .3); }

.card h3 { margin-bottom: 12px; }
.card > p {
  font-size: 14.5px;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 16px;
}
.card-lien { margin: auto 0 0; padding-top: 8px; }
.card-lien .link-arrow { font-size: 14px; }

.card-list {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ligne);
  font-size: 13.5px;
  line-height: 1.55;
}
.card-list li { display: flex; gap: 10px; padding-block: 6px; }
.card-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------- Technologies ---------- */

.techno {
  max-width: 74ch;
  margin-bottom: 42px;
  padding: 26px 30px;
  background: var(--ivoire-2);
  border-inline-start: 3px solid var(--orange);
  border-radius: var(--radius);
}
.techno p { color: var(--muted); line-height: 1.8; }
.techno strong { color: var(--vert); }

.procede {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 56px;
}
.procede li {
  padding: 14px 14px 18px;
  background: var(--blanc);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
}
.procede img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  background: var(--vert-900);
  margin-bottom: 16px;
}
.procede-num {
  display: inline-block;
  font-family: var(--titre);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--vert-600);
  margin-bottom: 4px;
}
.procede h3 { font-size: 17px; margin-bottom: 6px; }
.procede p { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin: 0; }

.essais {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(28px, 3.5vw, 46px);
  background: var(--vert);
  color: var(--muted-clair);
  border-radius: 20px;
  margin-bottom: 56px;
}
.essais h3 { color: var(--ivoire); font-size: clamp(22px, 2.2vw, 29px); margin: 14px 0 14px; }
.essais p { line-height: 1.8; font-size: 15px; }
.essais .eyebrow { color: var(--orange); }
.essais .link-arrow { color: var(--ivoire); }

.essais-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.essais-photos figure { margin: 0; }
.essais-photos img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.essais-photos figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(247, 248, 242, .62);
}

.savoir-faire {
  padding-top: 42px;
  border-top: 1px solid var(--ligne);
}
.savoir-faire-intro {
  color: var(--muted);
  max-width: 62ch;
  margin-top: 12px;
  margin-bottom: 26px;
}
.savoir-faire ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--ligne);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  overflow: hidden;
}
.savoir-faire li { background: var(--ivoire); padding: 24px; }
.savoir-faire strong {
  display: block;
  font-family: var(--titre);
  font-size: 16px;
  margin-bottom: 8px;
}
.savoir-faire span { font-size: 13.5px; line-height: 1.65; color: var(--muted); }

/* ---------- Activités déclarées ---------- */

.activites { margin-top: 34px; }
.activites > summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 22px;
  background: var(--ivoire);
  border: 1.5px solid var(--ligne);
  border-radius: 999px;
  font-family: var(--titre);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.activites > summary::-webkit-details-marker { display: none; }
.activites > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-inline-end: 2px solid var(--vert);
  border-bottom: 2px solid var(--vert);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .22s ease;
}
.activites[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.activites > summary:hover { border-color: var(--vert); }

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 26px;
}
.activity-group {
  padding: 28px;
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
}
.activity-group h3 {
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--ligne);
}
.activity-group dl > div {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding-block: 13px;
  border-bottom: 1px solid rgba(20, 60, 50, .07);
}
.activity-group dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.activity-group dt {
  font-family: var(--titre);
  font-size: 13px;
  font-weight: 700;
  color: var(--vert-600);
  letter-spacing: .04em;
  padding-top: 2px;
}
.activity-group dd { font-size: 14.5px; line-height: 1.6; }

.tag {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(20, 60, 50, .08);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  vertical-align: 1px;
}

/* ---------- L’entreprise ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}
.about-text h2 { margin: 16px 0 24px; }
.about-text p { color: var(--muted); line-height: 1.8; max-width: 58ch; }
.about-text strong { color: var(--vert); }
.about-text .link-arrow { margin-top: 10px; }

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ligne);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
  overflow: hidden;
}
.facts li { padding: 24px; background: var(--ivoire); }
.facts strong {
  display: block;
  font-family: var(--titre);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.facts span { font-size: 13px; color: var(--muted); }

.side-card {
  margin-top: 20px;
  padding: 26px;
  background: var(--vert);
  color: var(--muted-clair);
  border-radius: var(--radius);
}
.side-card .eyebrow { color: var(--orange); margin-bottom: 14px; }
.side-card p { font-size: 14.5px; line-height: 1.75; margin: 0; }

.fondateur {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 4vw, 56px);
  margin-top: clamp(44px, 5vw, 72px);
  padding-top: clamp(34px, 4vw, 52px);
  border-top: 1px solid var(--ligne);
}
.fondateur-entete h3 {
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 14px 0 12px;
}
.fondateur-role { color: var(--muted); line-height: 1.75; font-size: 15px; margin: 0; }
.fondateur-faits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.fondateur-faits li {
  padding: 22px;
  background: var(--ivoire-2);
  border-radius: var(--radius);
}
.fondateur-faits strong {
  display: block;
  font-family: var(--titre);
  font-size: 15px;
  margin-bottom: 7px;
}
.fondateur-faits span { font-size: 13.5px; line-height: 1.7; color: var(--muted); }

.badge-label {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 26px;
  padding: 18px 22px;
  background: rgba(251, 176, 59, .13);
  border: 1px solid rgba(251, 176, 59, .45);
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
}
.badge-label .ico {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  stroke-width: 1.7;
  color: #a06a12;
}
.badge-label strong { color: var(--vert); }

/* ---------- Démarche ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.step {
  padding: 30px 26px;
  background: var(--ivoire);
  border: 1px solid var(--ligne);
  border-radius: var(--radius);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--vert);
  font-family: var(--titre);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.72; color: var(--muted); }

/* ---------- Questions fréquentes ---------- */

.faq-wrap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: start;
}
.faq-head h2 { margin: 16px 0 18px; }
.faq-head .btn { margin-top: 8px; }

.faq { border-top: 1px solid var(--ligne); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  font-family: var(--titre);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ivoire-2);
  box-shadow: inset 0 0 0 1px var(--ligne);
  background-image: linear-gradient(var(--vert), var(--vert)), linear-gradient(var(--vert), var(--vert));
  background-size: 10px 1.6px, 1.6px 10px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform .22s ease;
}
.faq details[open] summary::after {
  transform: rotate(135deg);
  background-size: 10px 1.6px, 0 0;
}
.faq summary:hover { color: var(--vert-600); }
.faq-body {
  padding: 0 0 22px;
  padding-inline-end: 46px;
  font-size: 14.5px;
  line-height: 1.78;
  color: var(--muted);
}
.faq-body p { margin: 0; }

/* ---------- Contact ---------- */

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 4.5vw, 62px);
  padding: clamp(30px, 4vw, 54px);
  background: var(--vert);
  color: var(--muted-clair);
  border-radius: 20px;
}
.contact-panel h2 { color: var(--ivoire); margin: 16px 0 18px; }
.contact-panel .eyebrow { color: var(--orange); }
.contact-lead { font-size: 15px; line-height: 1.75; max-width: 44ch; }

.contact-items { margin: 28px 0; border-top: 1px solid var(--ligne-sombre); }
.contact-items li { padding: 18px 0; border-bottom: 1px solid var(--ligne-sombre); }
.contact-label {
  display: block;
  font-size: 12px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(247, 248, 242, .6);
  margin-bottom: 6px;
}
.contact-value {
  display: inline-block;
  font-family: var(--titre);
  font-size: 21px;
  font-weight: 600;
  color: var(--ivoire);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.contact-plain {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.55;
  border-bottom: 0;
  color: var(--muted-clair);
}

#formulaire-devis {
  padding: clamp(24px, 2.6vw, 34px);
  background: rgba(247, 248, 242, .05);
  border: 1px solid var(--ligne-sombre);
  border-radius: var(--radius);
}
.form-title { margin: 0 0 22px; color: var(--ivoire); font-size: 19px; }

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}
.field { margin: 0 0 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--muted-clair);
}
.field abbr { color: var(--orange); text-decoration: none; border: 0; }

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  background: rgba(13, 43, 36, .55);
  color: var(--ivoire);
  border: 1.5px solid rgba(247, 248, 242, .22);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: border-color .16s ease, background-color .16s ease;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(247, 248, 242, .45); }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(247, 248, 242, .4); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--orange); background: rgba(13, 43, 36, .8); }
.field select option { color: var(--vert); background: var(--blanc); }
.field textarea { min-height: 116px; resize: vertical; }

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 12.5px;
  font-weight: 500;
  color: #ffd9a8;
}
.field[data-invalid] .field-error { display: block; }
.field[data-invalid] input,
.field[data-invalid] select,
.field[data-invalid] textarea { border-color: #e8a25c; }

.pot-de-miel {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#formulaire-devis .btn { margin-top: 6px; }
.form-note {
  margin: 14px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(247, 248, 242, .62);
}
.form-status {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--orange);
}
.form-status:empty { margin: 0; }
.etat-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 17px;
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font-size: 13.5px;
  font-weight: 600;
}
.etat-action:hover { background: var(--orange); color: var(--vert); }

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--vert-900);
  color: var(--muted-clair);
  padding-top: clamp(44px, 5vw, 66px);
}
.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, .8fr);
  gap: 40px;
  padding-bottom: 44px;
}
.brand-footer .brand-text { color: var(--ivoire); }
.brand-footer .brand-text b { color: var(--orange); }
.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.7;
  max-width: 40ch;
}
.site-footer h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(247, 248, 242, .58);
  margin-bottom: 16px;
}
.footer-nav li { padding-block: 5px; }
.footer-nav a,
.footer-contact a { border-bottom: 1px solid transparent; }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--orange); border-bottom-color: var(--orange); }
.footer-contact p { font-size: 14.5px; line-height: 1.7; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--ligne-sombre);
  font-size: 12.5px;
  color: rgba(247, 248, 242, .55);
}
.footer-legal p { margin: 0; }

/* ---------- Barre d’action mobile ---------- */

.action-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(247, 248, 242, .96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--ligne);
}
.action-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}
.action-call { background: var(--vert); color: var(--ivoire); }
.action-wa { background: var(--orange); color: var(--vert); }

/* ---------- Pages de contenu ---------- */

.prose { max-width: 780px; }
.prose h1 { margin: 16px 0 0; }
.prose h2 {
  font-size: clamp(21px, 2vw, 26px);
  margin: 44px 0 14px;
  padding-top: 26px;
  border-top: 1px solid var(--ligne);
}
.prose p { color: var(--muted); line-height: 1.8; max-width: 66ch; }
.prose a:not(.btn):not(.link-arrow) {
  color: var(--vert);
  font-weight: 500;
  border-bottom: 1.5px solid var(--orange);
}

.legal-list { margin-top: 8px; }
.legal-list > div {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  padding-block: 13px;
  border-bottom: 1px solid var(--ligne);
}
.legal-list dt { font-weight: 600; font-size: 14.5px; }
.legal-list dd { color: var(--muted); font-size: 15px; line-height: 1.65; }

.a-completer {
  padding: 16px 20px;
  border-inline-start: 3px solid var(--orange);
  background: var(--ivoire-2);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
}

.erreur { min-height: 76vh; display: flex; align-items: center; }
.erreur .brand { margin-bottom: 34px; }
.erreur-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.erreur-ar {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ligne);
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
  font-size: 15px;
}
.erreur-ar a { border-bottom: 1.5px solid var(--orange); font-weight: 500; }

/* ---------- Apparition au défilement ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Version arabe : sens de lecture de droite à gauche
   ========================================================= */

html[lang="ar"] {
  --sans: 'Tajawal', 'Segoe UI', Tahoma, Arial, sans-serif;
  --titre: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
}

html[lang="ar"] body { line-height: 1.85; }

/* L'arabe est une écriture liée : tout interlettrage la casse. */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .eyebrow,
html[lang="ar"] .contact-label,
html[lang="ar"] .site-footer h2,
html[lang="ar"] .cycle-label,
html[lang="ar"] .cycle-title,
html[lang="ar"] .fig-titre,
html[lang="ar"] .activites > summary,
html[lang="ar"] .facts strong,
html[lang="ar"] .stats span { letter-spacing: normal; }

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 { line-height: 1.38; }
html[lang="ar"] .faq summary { line-height: 1.6; }

/* La marque reste en caractères latins. */
html[lang="ar"] .brand-text { font-family: 'Manrope', var(--titre); }

/* Les flèches suivent le sens de lecture. */
[dir="rtl"] .ico-fleche { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .ico-fleche { transform: scaleX(-1) translateX(4px); }

/* Quelques réglages fins propres au sens inverse. */
[dir="rtl"] .cycle-card figcaption,
[dir="rtl"] .concept-figure figcaption,
[dir="rtl"] .essais-photos figcaption { text-align: right; }
[dir="rtl"] .form-row { direction: rtl; }
[dir="rtl"] .field input,
[dir="rtl"] .field textarea,
[dir="rtl"] .field select { text-align: start; }
[dir="rtl"] .contact-value[href^="tel:"] { direction: ltr; display: inline-block; }
/* Un numéro de téléphone se lit toujours de gauche à droite : les éléments
   porteurs de dir="ltr" ne doivent pas être forcés dans l'autre sens. */
[dir="rtl"] [dir="ltr"] { direction: ltr; unicode-bidi: isolate; }

/* =========================================================
   Adaptations écran
   ========================================================= */

@media (max-width: 1080px) {
  :root { --gouttiere: 32px; }
  .hero-inner { grid-template-columns: 1fr; }
  .cycle-card { max-width: 560px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .concept { grid-template-columns: 1fr; }
  .concept-figure { max-width: 560px; }
  .procede { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .essais { grid-template-columns: 1fr; }
  .savoir-faire ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fondateur { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .contact-panel { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; --gouttiere: 22px; }

  body { padding-bottom: 74px; }

  .menu-toggle { display: inline-flex; padding: 10px 12px; }
  /* Le libellé reste lisible par les lecteurs d'écran mais ne prend plus de place :
     à 390 px, marque + langues + bouton ne tiennent pas sur une ligne. */
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .site-nav { margin-inline-start: 0; }
  .header-inner { gap: 12px; }
  .header-outils { gap: 10px; margin-inline-start: auto; }
  .lang-switch { font-size: 12px; }
  .lang-switch a { padding: 8px 11px; }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px var(--gouttiere) 24px;
    background: var(--ivoire);
    border-bottom: 1px solid var(--ligne);
    box-shadow: 0 22px 40px -26px rgba(20, 60, 50, .55);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; font-size: 16px; }
  .nav-list a {
    display: block;
    padding: 13px 0;
    border-bottom: 1px solid var(--ligne);
    color: var(--vert);
  }
  .nav-list a::after { display: none; }
  .nav-cta { margin-top: 16px; }

  .brand-mark { width: 38px; height: 38px; }
  .brand-text { font-size: 16px; }
  .brand-text b { margin-inline-start: 7px; }

  .section-head { grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .section-intro { max-width: none; }

  .hero-actions .btn { flex: 1 1 auto; }
  .trust-list { gap: 8px 18px; font-size: 13px; }

  .cards,
  .procede,
  .activity-grid,
  .steps,
  .savoir-faire ul,
  .fondateur-faits,
  .essais-photos { grid-template-columns: 1fr; }

  .stats { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .procede img { height: 200px; }
  .essais-photos img { height: 220px; }

  .activity-group { padding: 22px; }
  .activity-group dl > div { grid-template-columns: 62px minmax(0, 1fr); gap: 10px; }

  .form-row { grid-template-columns: 1fr; }
  .faq-body { padding-inline-end: 0; }

  .legal-list > div { grid-template-columns: 1fr; gap: 4px; padding-block: 12px; }

  .footer-nav li { padding-block: 0; }
  .footer-nav a,
  .footer-contact a { display: inline-block; padding-block: 9px; }
  .link-arrow { padding-block: 7px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-legal { flex-direction: column; }

  .action-bar { display: flex; }
}

@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .marquee li { font-size: 12.5px; padding: 7px 13px; }
  .brand-text { font-size: 15px; }
  .cycle-card figcaption { font-size: 13px; }
}

@media (min-width: 1500px) {
  :root { --max: 1340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .cycle .roue,
  .js .cycle .petale,
  .js .cycle .cycle-step { opacity: 1; }
}

/* ---------- Impression ---------- */

@media print {
  .site-header, .action-bar, .hero-visual, .btn, .faq summary::after { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .contact-panel, .side-card, .essais, .site-footer { background: #fff !important; color: #000 !important; }
  .faq-body, .activites > div { display: block !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; }
}
