/* ─────────────────────────────────────────────
   SATIBAT — Service page styles
   Loaded after core.css. Adds: dropdown nav,
   service hero, intro, benefits, FAQ, related,
   CTA band, and per-page accent theming.
   ───────────────────────────────────────────── */

/* Accent theming — set on <body> */
body.theme-chape    { --accent: var(--blue);   --accent-light: var(--blue-light);   --accent-dark: #2f4f8a; }
body.theme-creation { --accent: var(--orange); --accent-light: var(--orange-light); --accent-dark: #d94d20; }
body.theme-group    { --accent: var(--teal);   --accent-light: var(--teal-light);   --accent-dark: var(--teal-dark); }

/* ─── NAV DROPDOWN ───────────────────────── */
.nav-drop { position: relative; }
/* invisible hover bridge: spans the gap between the link and the menu
   so the dropdown stays open while the cursor travels down to it */
.nav-drop::after {
  content: ''; position: absolute; top: 100%; left: -12px; right: -12px;
  height: 16px; pointer-events: none;
}
.nav-drop:hover::after { pointer-events: auto; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-drop > a .caret { width: 9px; height: 9px; transition: transform .25s; }
.nav-drop:hover > a .caret { transform: rotate(180deg); }
.nav-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--white); border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 24px 60px rgba(26,41,40,.16);
  padding: 10px; min-width: 480px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  z-index: 50;
}
.nav-drop:hover .nav-menu,
.nav-drop:focus-within .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-menu a {
  display: flex !important; align-items: center; gap: 12px;
  padding: 11px 14px !important; border-radius: 6px;
  color: var(--text) !important; background: transparent !important;
  font-size: 13.5px !important; font-weight: 500 !important;
}
.nav-menu a:hover { background: var(--off) !important; color: var(--teal) !important; }
.nav-menu a .nm-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.nav-menu a .nm-dot.blue { background: var(--blue); }
.nav-menu a .nm-dot.orange { background: var(--orange); }
/* Menu : cube du logo SATIBAT à la place des points */
.nav-menu a .nm-dot { width: 18px; height: 18px; border-radius: 0; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 2363 2363%22 preserveAspectRatio=%22xMidYMid meet%22%3E%3Cg%3E%3Cg transform=%22matrix(12.864253,0,0,12.864253,1190.853831,867.026483)%22%3E%3Cpath d=%22M0,-43.555L59.3,-13.639L76.167,-22.063L0.02,-60.501L-47.176,-36.903L13.344,-6.633L0,0.039L-60.717,-30.014L-77.683,-21.531L0.02,16.946L47.196,-6.633L-13.344,-36.903L0,-43.555Z%22 fill=%22rgb(39,118,115)%22/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg transform=%22matrix(12.864253,0,0,12.864253,1191.107256,994.121447)%22%3E%3Cpath d=%22M0,21.276L-77.702,-16.847L-77.702,0.276L0,38.123L75.636,0.886L75.636,-16.06L0,21.276Z%22 fill=%22rgb(2,95,91)%22/%3E%3C/g%3E%3Cg transform=%22matrix(-11.549094,-5.666342,-5.666342,11.549094,302.902833,787.969047)%22%3E%3Cpath d=%22M-78.416,3.076L8.134,3.076L0.592,18.448L-85.836,18.2L-78.416,3.076Z%22 fill=%22rgb(1,63,59)%22/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg transform=%22matrix(12.864253,0,0,12.864253,1191.107256,1388.844338)%22%3E%3Cpath d=%22M0,21.256L-77.702,-16.847L-77.702,0.256L0,38.103L75.636,0.866L75.636,-16.08L0,21.256Z%22 fill=%22rgb(2,95,91)%22/%3E%3C/g%3E%3Cg transform=%22matrix(-11.55027,-5.663946,-5.663946,11.55027,302.775037,1182.759392)%22%3E%3Cpath d=%22M-78.413,3.065L8.129,3.065L0.598,18.421L-85.831,18.191L-78.413,3.065Z%22 fill=%22rgb(1,63,59)%22/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg transform=%22matrix(12.864253,0,0,12.864253,1572.406299,1974.21675)%22%3E%3Cpath d=%22M0,-8.424L-29.64,6.416L-107.343,-31.687L-107.343,-14.584L-29.64,23.263L0,8.286L0,-8.424Z%22 fill=%22rgb(39,118,115)%22/%3E%3C/g%3E%3Cg transform=%22matrix(0,12.864253,12.864253,0,1978.394417,1583.669596)%22%3E%3Cpath d=%22M14.437,-16.227L31.224,-16.227L16.385,14.437L-0.56,14.437L14.437,-16.227Z%22 fill=%22rgb(39,118,115)%22/%3E%3C/g%3E%3Cg transform=%22matrix(-11.55027,-5.663946,-5.663946,11.55027,302.775037,1577.223712)%22%3E%3Cpath d=%22M-78.413,3.065L8.129,3.065L0.598,18.421L-85.831,18.191L-78.413,3.065Z%22 fill=%22rgb(1,63,59)%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat !important; }
.nav-menu a .nm-dot.blue { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 2363 2363%22 preserveAspectRatio=%22xMidYMid meet%22%3E%3Cg%3E%3Cg transform=%22matrix(12.864253,0,0,12.864253,1190.853831,867.026483)%22%3E%3Cpath d=%22M0,-43.555L59.3,-13.639L76.167,-22.063L0.02,-60.501L-47.176,-36.903L13.344,-6.633L0,0.039L-60.717,-30.014L-77.683,-21.531L0.02,16.946L47.196,-6.633L-13.344,-36.903L0,-43.555Z%22 fill=%22rgb(39,118,115)%22/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg transform=%22matrix(12.864253,0,0,12.864253,1191.107256,994.121447)%22%3E%3Cpath d=%22M0,21.276L-77.702,-16.847L-77.702,0.276L0,38.123L75.636,0.886L75.636,-16.06L0,21.276Z%22 fill=%22rgb(2,95,91)%22/%3E%3C/g%3E%3Cg transform=%22matrix(-11.549094,-5.666342,-5.666342,11.549094,302.902833,787.969047)%22%3E%3Cpath d=%22M-78.416,3.076L8.134,3.076L0.592,18.448L-85.836,18.2L-78.416,3.076Z%22 fill=%22rgb(1,63,59)%22/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg transform=%22matrix(12.864253,0,0,12.864253,1191.107256,1388.844338)%22%3E%3Cpath d=%22M0,21.256L-77.702,-16.847L-77.702,0.256L0,38.103L75.636,0.866L75.636,-16.08L0,21.256Z%22 fill=%22rgb(2,95,91)%22/%3E%3C/g%3E%3Cg transform=%22matrix(-11.55027,-5.663946,-5.663946,11.55027,302.775037,1182.759392)%22%3E%3Cpath d=%22M-78.413,3.065L8.129,3.065L0.598,18.421L-85.831,18.191L-78.413,3.065Z%22 fill=%22rgb(1,63,59)%22/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg transform=%22matrix(12.864253,0,0,12.864253,1572.406299,1974.21675)%22%3E%3Cpath d=%22M0,-8.424L-29.64,6.416L-107.343,-31.687L-107.343,-14.584L-29.64,23.263L0,8.286L0,-8.424Z%22 fill=%22rgb(66,105,178)%22/%3E%3C/g%3E%3Cg transform=%22matrix(0,12.864253,12.864253,0,1978.394417,1583.669596)%22%3E%3Cpath d=%22M14.437,-16.227L31.224,-16.227L16.385,14.437L-0.56,14.437L14.437,-16.227Z%22 fill=%22rgb(66,105,178)%22/%3E%3C/g%3E%3Cg transform=%22matrix(-11.55027,-5.663946,-5.663946,11.55027,302.775037,1577.223712)%22%3E%3Cpath d=%22M-78.413,3.065L8.129,3.065L0.598,18.421L-85.831,18.191L-78.413,3.065Z%22 fill=%22rgb(26,54,100)%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important; }
.nav-menu a .nm-dot.orange { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 2363 2363%22 preserveAspectRatio=%22xMidYMid meet%22%3E%3Cg%3E%3Cg transform=%22matrix(12.770649,0,0,12.797593,1190.852474,866.379192)%22%3E%3Cpath d=%22M0,-43.871L59.731,-13.738L76.72,-22.223L0.02,-60.94L-47.519,-37.17L13.441,-6.681L0,0.04L-61.158,-30.232L-78.247,-21.688L0.02,17.069L47.539,-6.681L-13.441,-37.17L0,-43.871Z%22 fill=%22rgb(39,118,115)%22/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg transform=%22matrix(12.770649,0,0,12.797593,1191.105333,993.74212)%22%3E%3Cpath d=%22M0,21.43L-78.266,-16.97L-78.266,0.277L0,38.4L76.185,0.892L76.185,-16.177L0,21.43Z%22 fill=%22rgb(2,95,91)%22/%3E%3C/g%3E%3Cg transform=%22matrix(-11.465043,-5.637014,-5.625146,11.489233,302.963431,787.167938)%22%3E%3Cpath d=%22M-78.985,3.097L8.194,3.097L0.597,18.581L-86.46,18.333L-78.985,3.097Z%22 fill=%22rgb(1,63,59)%22/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg transform=%22matrix(12.770649,0,0,12.797593,1191.105333,1389.268374)%22%3E%3Cpath d=%22M0,21.41L-78.266,-16.97L-78.266,0.257L0,38.38L76.185,0.872L76.185,-16.197L0,21.41Z%22 fill=%22rgb(241,90,41)%22/%3E%3C/g%3E%3Cg transform=%22matrix(-11.465043,-5.637014,-5.625146,11.489233,302.963431,1182.693)%22%3E%3Cpath d=%22M-78.985,3.097L8.194,3.097L0.597,18.581L-86.46,18.333L-78.985,3.097Z%22 fill=%22rgb(169,55,27)%22/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Cg transform=%22matrix(12.770649,0,0,12.797593,1572.378167,1975.829421)%22%3E%3Cpath d=%22M0,-8.485L-29.855,6.463L-108.122,-31.917L-108.122,-14.69L-29.855,23.432L0,8.346L0,-8.485Z%22 fill=%22rgb(2,95,91)%22/%3E%3C/g%3E%3Cg transform=%22matrix(0,12.797593,12.770649,0,1978.334113,1584.490539)%22%3E%3Cpath d=%22M14.541,-16.345L31.451,-16.345L16.504,14.541L-0.565,14.541L14.541,-16.345Z%22 fill=%22rgb(2,95,91)%22/%3E%3C/g%3E%3Cg transform=%22matrix(-11.466201,-5.634647,-5.622784,11.490393,302.836565,1578.031599)%22%3E%3Cpath d=%22M-78.982,3.087L8.188,3.087L0.603,18.554L-86.454,18.323L-78.982,3.087Z%22 fill=%22rgb(1,63,59)%22/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important; }
.nav-menu a .nm-sub { display: block; font-size: 11.5px; color: var(--muted); font-weight: 400; margin-top: 1px; }
.nav-menu a .nm-txt strong { font-weight: 600; }
/* dropdown text color follows nav state — keep dark always since menu is white */

/* ─── BREADCRUMB ─────────────────────────── */
.breadcrumb {
  font-family: var(--font-body); font-size: 12.5px;
  color: rgba(255,255,255,.62); letter-spacing: .01em;
  display: flex; align-items: center; gap: 8px; margin-bottom: 26px;
}
.breadcrumb a { color: rgba(255,255,255,.62); text-decoration: none; transition: color .18s; }
.breadcrumb a:hover { color: white; }
.breadcrumb span.sep { opacity: .4; }
.breadcrumb .current { color: white; font-weight: 500; }

/* ─── SERVICE HERO ───────────────────────── */
.svc-hero {
  position: relative; overflow: hidden;
  background: var(--teal-dark);
  margin-top: -76px; padding: 132px 0 0;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.svc-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.svc-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,62,59,.45) 0%, rgba(0,62,59,.25) 38%, rgba(0,40,38,.92) 100%),
    linear-gradient(90deg, rgba(0,40,38,.55) 0%, transparent 55%);
}
.svc-hero-inner {
  position: relative; z-index: 2;
  max-width: 1320px; width: 100%; margin: 0 auto; padding: 24px 48px 72px;
}
.svc-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: white; margin-bottom: 22px;
  padding: 7px 16px 7px 14px; border-radius: 100px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  white-space: nowrap;
}
.svc-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.svc-h1 {
  font-family: var(--font-title);
  font-size: clamp(40px, 6vw, 82px); font-weight: 800;
  color: white; line-height: .98; letter-spacing: -.03em;
  margin-bottom: 22px; max-width: 14ch; text-wrap: balance;
}
.svc-h1 em { font-style: normal; color: var(--accent); }
.svc-lead {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7;
  color: rgba(255,255,255,.86); max-width: 60ch; margin-bottom: 34px;
}
.svc-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 52px; }
.btn-accent {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--accent); color: white;
  padding: 15px 30px; border-radius: 100px;
  font-family: var(--font); font-size: 14.5px; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.24); }
.btn-accent svg { width: 16px; height: 16px; }
.btn-ghost-white {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: white;
  padding: 15px 28px; border-radius: 100px;
  font-family: var(--font); font-size: 14.5px; font-weight: 600;
  text-decoration: none; border: 1.5px solid rgba(255,255,255,.4);
  transition: background .2s, border-color .2s;
}
.btn-ghost-white:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.7); }

/* Hero facts strip */
.svc-facts {
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 30px; max-width: 920px;
}
.svc-fact { flex: 1; min-width: 150px; padding-right: 36px; position: relative; }
.svc-fact + .svc-fact { padding-left: 36px; }
.svc-fact + .svc-fact::before {
  content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 1px;
  background: rgba(255,255,255,.16);
}
.svc-fact .fact-num {
  font-family: var(--font-title); font-size: 30px; font-weight: 700;
  color: white; line-height: 1; letter-spacing: -.02em; margin-bottom: 8px;
}
.svc-fact .fact-num small { font-size: 16px; font-weight: 600; }
.svc-fact .fact-label { font-family: var(--font-body); font-size: 12.5px; color: rgba(255,255,255,.7); line-height: 1.5; }

/* ─── SECTIONS ───────────────────────────── */
.svc-section { padding: 100px 0; }
.svc-section.bg-off { background: var(--off); }
.svc-eyebrow-dark {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 11.5px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.svc-eyebrow-dark .line { width: 28px; height: 1.5px; background: var(--accent); }

/* Intro */
.svc-intro-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center;
}
.svc-intro-text h2 {
  font-family: var(--font-title); font-size: clamp(28px, 3vw, 40px); font-weight: 700;
  color: var(--text); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 22px; text-wrap: balance;
}
.svc-intro-text p {
  font-family: var(--font-body); font-size: 15.5px; line-height: 1.8;
  color: var(--muted); margin-bottom: 18px;
}
.svc-intro-text p strong { color: var(--text); font-weight: 600; }
.svc-intro-media {
  position: relative; border-radius: 8px; overflow: hidden;
  aspect-ratio: 4/5; box-shadow: 0 30px 70px rgba(26,41,40,.18);
}
.svc-intro-media img {
  width: 100%; height: 100%; display: block; object-fit: cover;
}
/* Vidéo de fond dans le hero */
.svc-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (prefers-reduced-motion: reduce) { .svc-hero-video { display: none; } }

/* Cadrage du hero décalé (sujet à droite du titre) */
.svc-hero-bg.focus-left { background-position: 10% center; }

/* Intro avec vidéo 16:9 */
.svc-intro-grid.has-video { grid-template-columns: .9fr 1.1fr; gap: 64px; }
.svc-intro-media.is-video { aspect-ratio: 16/9; background: #0b1f1e; }
.svc-intro-media.is-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-intro-media.is-video::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(0,32,30,.55), rgba(0,32,30,.15) 55%); transition: opacity .3s ease;
}
.intro-play {
  position: absolute; inset: 0; z-index: 2; width: 100%; border: 0; background: none; cursor: pointer; color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.intro-play-ico {
  width: 78px; height: 78px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 10px rgba(255,255,255,.2), 0 12px 30px rgba(0,0,0,.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.intro-play-ico svg { width: 32px; height: 32px; fill: #fff; margin-left: 4px; }
.intro-play:hover .intro-play-ico { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(255,255,255,.24), 0 12px 30px rgba(0,0,0,.3); }
.intro-play-txt { font-family: var(--font-body); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.svc-intro-media.is-video.is-playing::before,
.svc-intro-media.is-video.is-playing .intro-play,
.svc-intro-media.is-video.is-playing .svc-intro-badge { opacity: 0; pointer-events: none; }
.svc-intro-media.is-video .svc-intro-badge { top: 20px; left: 20px; bottom: auto; padding: 12px 16px; max-width: 200px; transition: opacity .3s ease; }
.svc-intro-media.is-video .svc-intro-badge .b-num { font-size: 22px; }
.svc-intro-media.is-video .svc-intro-badge .b-txt { font-size: 12px; margin-top: 4px; }
.svc-intro-badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 3;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-radius: 8px; padding: 16px 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  max-width: 220px;
}
.svc-intro-badge .b-num {
  font-family: var(--font-title); font-size: 26px; font-weight: 800;
  color: var(--accent); line-height: 1; letter-spacing: -.02em;
}
.svc-intro-badge .b-txt { font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 6px; }

/* ─── BENEFITS ───────────────────────────── */
.svc-head-center { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.svc-head-center .svc-eyebrow-dark { justify-content: center; }
.svc-head-center h2 {
  font-family: var(--font-title); font-size: clamp(28px, 3vw, 40px); font-weight: 700;
  color: var(--text); line-height: 1.1; letter-spacing: -.02em; text-wrap: balance;
}
.svc-head-center p { font-family: var(--font-body); font-size: 16px; color: var(--muted); line-height: 1.7; margin-top: 16px; }

.benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.benefit {
  background: white; border: 1px solid var(--border); border-radius: 10px;
  padding: 34px 30px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.benefit:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(26,41,40,.1); border-color: transparent; }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--accent-light); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit h3 {
  font-family: var(--font-title); font-size: 18px; font-weight: 600;
  color: var(--text); margin-bottom: 10px; letter-spacing: -.01em;
}
.benefit p { font-family: var(--font-body); font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ─── GALLERY (reuses .reals* from core.css) ─ */
.svc-gallery { background: var(--teal); }
.svc-gallery .reals-thumb { background: var(--accent); }
.svc-gallery .reals-cat { color: var(--accent) !important; filter: brightness(1.5); }

/* ─── FAQ ────────────────────────────────── */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 4px; font-family: var(--font-title);
  font-size: 17px; font-weight: 600; color: var(--text); letter-spacing: -.01em;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--border); position: relative; transition: all .25s;
}
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--muted); transition: all .25s;
  top: 50%; left: 50%;
}
.faq-icon::before { width: 12px; height: 1.5px; transform: translate(-50%,-50%); }
.faq-icon::after { width: 1.5px; height: 12px; transform: translate(-50%,-50%); }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: white; }
.faq-item.open .faq-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.faq-a-inner {
  padding: 0 4px 28px; font-family: var(--font-body);
  font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 90%;
}

/* ─── RELATED SERVICES ───────────────────── */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
  position: relative; border-radius: 10px; overflow: hidden; min-height: 240px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px; text-decoration: none; isolation: isolate;
  background: var(--teal-dark);
}
.related-card-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform .5s ease; }
.related-card:hover .related-card-bg { transform: scale(1.06); }
.related-card-veil {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(0,40,38,.94) 0%, rgba(0,40,38,.35) 60%, rgba(0,40,38,.15) 100%);
}
.related-tag {
  align-self: flex-start; font-family: var(--font-body); font-size: 10px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: white;
  padding: 4px 10px; border-radius: 100px; margin-bottom: 12px;
}
.related-tag.blue { background: rgba(66,105,178,.9); }
.related-tag.orange { background: rgba(241,90,41,.92); }
.related-card h3 { font-family: var(--font-title); font-size: 21px; font-weight: 600; color: white; letter-spacing: -.01em; margin-bottom: 6px; }
.related-card .r-link {
  font-family: var(--font-body); font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85);
  display: inline-flex; align-items: center; gap: 7px; transition: gap .2s;
}
.related-card:hover .r-link { gap: 12px; }
.related-card .r-link svg { width: 15px; height: 15px; }

/* ─── CTA BAND ───────────────────────────── */
.svc-cta {
  position: relative; overflow: hidden;
  background: var(--accent); color: white;
  padding: 84px 0; text-align: center;
}
.svc-cta::before, .svc-cta::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.svc-cta::before { width: 380px; height: 380px; top: -160px; right: -80px; }
.svc-cta::after { width: 300px; height: 300px; bottom: -180px; left: -60px; }
.svc-cta-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 48px; }
.svc-cta h2 {
  font-family: var(--font-title); font-size: clamp(30px, 4vw, 48px); font-weight: 800;
  line-height: 1.05; letter-spacing: -.02em; margin-bottom: 18px; text-wrap: balance;
}
.svc-cta p { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.9); margin-bottom: 34px; }
.btn-cta-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: white; color: var(--accent-dark);
  padding: 16px 34px; border-radius: 100px;
  font-family: var(--font); font-size: 15px; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.btn-cta-white:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,0,0,.26); }
.btn-cta-white svg { width: 17px; height: 17px; }

/* ═════════════════════════════════════════════
   GROUP & ENTITY PAGES
   ═════════════════════════════════════════════ */

/* Entity hero logo plaque */
.entity-logo-plaque {
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.entity-logo-plaque img { height: 150px; width: auto; display: block; filter: brightness(0) invert(1); }

/* Manifesto (Le Groupe hero) */
.manifesto-h1 {
  font-family: var(--font-title);
  font-size: clamp(34px, 4.4vw, 62px); font-weight: 800;
  color: #fff; line-height: 1.04; letter-spacing: -.03em;
  max-width: 18ch; text-wrap: balance; margin-bottom: 24px;
}
.manifesto-h1 em { font-style: normal; color: var(--teal-mid); filter: brightness(1.4); }

/* ─── TIMELINE ───────────────────────────── */
.timeline { max-width: 780px; margin: 0 auto; }
.tl-item { display: flex; gap: 30px; }
.tl-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 18px; }
.tl-dot {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; margin-top: 4px;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.tl-line { flex: 1; width: 2px; background: var(--border); margin: 6px 0; }
.tl-item:last-child .tl-line { display: none; }
.tl-body { padding-bottom: 44px; }
.tl-item:last-child .tl-body { padding-bottom: 0; }
.tl-year {
  font-family: var(--font-title); font-size: 22px; font-weight: 800;
  color: var(--accent); letter-spacing: -.02em; line-height: 1; margin-bottom: 8px;
}
.tl-body h3 { font-family: var(--font-title); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; letter-spacing: -.01em; }
.tl-body p { font-family: var(--font-body); font-size: 14.5px; line-height: 1.7; color: var(--muted); max-width: 56ch; }

/* ─── VALUES ─────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value {
  padding: 34px 28px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s;
}
.value:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(26,41,40,.1); }
.value-num {
  font-family: var(--font-title); font-size: 14px; font-weight: 700;
  color: var(--accent); letter-spacing: .04em; margin-bottom: 18px;
  display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--accent-light);
}
.value h3 { font-family: var(--font-title); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: -.01em; }
.value p { font-family: var(--font-body); font-size: 14px; line-height: 1.7; color: var(--muted); }

/* ─── TEAM ───────────────────────────────── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-photo { aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; box-shadow: 0 22px 54px rgba(26,41,40,.16); background: var(--off); max-width: 1000px; margin: 0 auto; }
.team-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-grid.leaders { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto 44px; }
.member { text-align: left; }
.member-photo {
  position: relative; aspect-ratio: 3/4; border-radius: 12px; overflow: hidden;
  margin-bottom: 18px; box-shadow: 0 14px 36px rgba(26,41,40,.12); background: var(--off);
}
.member-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.member h4 { font-family: var(--font-title); font-size: 19px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.member .role { font-family: var(--font-body); font-size: 13.5px; font-weight: 600; color: var(--accent); margin-top: 3px; }
.member .bio { font-family: var(--font-body); font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 8px; }

/* ─── SERVICES GRID (entity pages) ───────── */
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc-cards.cols4 { grid-template-columns: repeat(2, 1fr); }
.svc-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 32px 30px; border-radius: 12px; text-decoration: none;
  background: var(--white); border: 1px solid var(--border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(26,41,40,.1); border-color: transparent; }
.svc-card:hover::before { transform: scaleY(1); }
.svc-card-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.svc-card-icon svg { width: 24px; height: 24px; }
.svc-card h3 { font-family: var(--font-title); font-size: 20px; font-weight: 600; color: var(--text); letter-spacing: -.01em; }
.svc-card p { font-family: var(--font-body); font-size: 14px; line-height: 1.7; color: var(--muted); flex: 1; }
.svc-card .sc-link { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; transition: gap .2s; }
.svc-card:hover .sc-link { gap: 12px; }
.svc-card .sc-link svg { width: 15px; height: 15px; }

/* ─── KPIs on teal (Le Groupe) ───────────── */
.kpis-plain { display: grid; grid-template-columns: repeat(4, 1fr); }

/* ─── RESPONSIVE additions ───────────────── */
@media (max-width: 980px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-cards, .svc-cards.cols4 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
  .team-grid, .team-grid.leaders { grid-template-columns: 1fr; }
  .tl-body h3 { font-size: 16px; }
}

/* ─── RESPONSIVE ─────────────────────────── */
@media (max-width: 980px) {
  .svc-intro-grid, .svc-intro-grid.has-video { grid-template-columns: 1fr; gap: 44px; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
  .nav-menu { min-width: 320px; grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .svc-section { padding: 68px 0; }
  .svc-fact { min-width: 120px; }
}

/* ─── Galerie « réalisations » : effet immersif (identique à l'accueil) ─── */
.svc-gallery .reals-head { opacity: 0; transform: translateY(60px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.svc-gallery .reals-head.is-in { opacity: 1; transform: none; }
.svc-gallery .reals-zoom { transform-origin: 50% 30%; will-change: transform; }
.svc-gallery .reals-stage { cursor: grab; touch-action: pan-y; user-select: none; }
.svc-gallery .reals-stage.is-grabbing,
.svc-gallery .reals-stage.is-grabbing .real-slide { cursor: grabbing; }
.svc-gallery .real-slide-img { transform: scale(1.06); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.svc-gallery .real-slide.is-active .real-slide-img { transform: scale(1); }
.svc-gallery .reals-caption-l, .svc-gallery .reals-caption-r { transition: opacity .35s ease, transform .5s cubic-bezier(.2,.7,.2,1) !important; }
.svc-gallery .reals-caption.is-fading .reals-caption-l,
.svc-gallery .reals-caption.is-fading .reals-caption-r { transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) {
  .svc-gallery .reals-head { opacity: 1; transform: none; }
  .svc-gallery .reals-zoom { transform: none !important; }
}
