/* =========================================================
   LA TERMITIÈRE — Design system
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root{
  --red:#BD3C2F;
  --red-light:#e0574a;
  --red-dark:#8f2d22;
  --ink:#231f20;

  --bg-main:#fdfbf7;
  --bg-alt:#f5f2eb;
  --bg-card:#ffffff;
  --text-main:#2b2b2b;
  --text-muted:#6b6560;
  --border:rgba(35,31,32,.10);
  --line:#e7e1d3;

  --shadow-sm:0 2px 10px rgba(35,31,32,.06);
  --shadow-md:0 14px 34px rgba(35,31,32,.10);
  --shadow-lg:0 22px 46px rgba(35,31,32,.14);

  --header-bg:rgba(253,251,247,.86);
  --white:#ffffff;

  --font-display:'Outfit', sans-serif;
  --font-body:'Inter', sans-serif;

  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:24px;
  --container:1180px;

  /* couleur "de section" par défaut = marque */
  --accent:var(--red);
  --accent-dark:var(--red-dark);
}

[data-theme="dark"]{
  --red-light:#ff6f60;
  --ink:#f3f1ed;

  --bg-main:#161513;
  --bg-alt:#1c1a17;
  --bg-card:#211f1c;
  --text-main:#ece8e1;
  --text-muted:#a89f92;
  --border:rgba(255,255,255,.10);
  --line:#332f2a;

  --shadow-sm:0 2px 10px rgba(0,0,0,.3);
  --shadow-md:0 14px 34px rgba(0,0,0,.35);
  --shadow-lg:0 22px 46px rgba(0,0,0,.45);

  --header-bg:rgba(22,21,19,.86);
  --white:#211f1c;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:90px; }
img, video{ -webkit-user-select:none; user-select:none; -webkit-user-drag:none; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
}

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text-main);
  background:var(--bg-main);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  transition:background-color .3s ease, color .3s ease;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--ink);
  line-height:1.16;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
  font-weight:700;
}

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

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

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-display); font-size:.75rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--accent);
  margin-bottom:14px;
}
.eyebrow::before{ content:""; width:18px; height:2px; background:var(--accent); display:inline-block; }
.eyebrow--plain::before{ display:none; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--accent); outline-offset:3px;
}

/* ---------- Boutons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-display); font-weight:600; font-size:.95rem;
  padding:13px 28px; border-radius:var(--radius-sm);
  border:2px solid transparent; cursor:pointer;
  transition:transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn-primary{ background:var(--accent); color:#fff; border-color:var(--accent); }
.btn-primary:hover{ filter:brightness(1.08); transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn-secondary{ background:transparent; color:var(--accent); border-color:var(--accent); }
.btn-secondary:hover{ background:var(--accent); color:#fff; transform:translateY(-2px); }
.btn-dark{ background:var(--ink); color:var(--white); border-color:var(--ink); }
.btn-dark:hover{ background:var(--accent); border-color:var(--accent); transform:translateY(-2px); }
.btn-sm{ padding:9px 18px; font-size:.85rem; }

/* ---------- Header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  border-bottom:1px solid var(--border);
}
.site-header::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:var(--header-bg); backdrop-filter:blur(12px);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; height:80px; }
.brand{ display:flex; align-items:center; gap:14px; perspective:600px; }
.brand-logo-wrap{
  display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; padding:7px; border-radius:14px;
  background:linear-gradient(150deg, #ffffff 0%, #f1efe9 100%);
  border:1px solid var(--border);
  box-shadow:0 1px 2px rgba(0,0,0,.06), 0 6px 14px rgba(0,0,0,.10), inset 0 1px 0 rgba(255,255,255,.6);
  transition:transform .35s ease, box-shadow .35s ease;
  transform-style:preserve-3d; will-change:transform;
  position:relative; overflow:hidden;
  animation:logo-reveal .7s cubic-bezier(.34,1.56,.64,1) both;
}
.brand-logo-wrap::after{
  content:""; position:absolute; inset:0; z-index:2; pointer-events:none;
  background:linear-gradient(115deg, transparent 42%, rgba(255,255,255,.85) 50%, transparent 58%);
  transform:translateX(-160%);
  animation:logo-shine 1.4s ease .6s 1;
}
@keyframes logo-reveal{
  0%{ opacity:0; transform:scale(.65); }
  100%{ opacity:1; transform:scale(1); }
}
@keyframes logo-shine{
  to{ transform:translateX(160%); }
}
@media (prefers-reduced-motion: reduce){
  .brand-logo-wrap{ animation:none; }
  .brand-logo-wrap::after{ animation:none; display:none; }
}
.brand:hover .brand-logo-wrap{
  transform:translateY(-2px) rotateX(12deg) rotateY(-14deg) scale(1.06);
  box-shadow:-6px 10px 18px rgba(0,0,0,.16), 0 2px 4px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.7);
}
@media (prefers-reduced-motion: reduce){
  .brand:hover .brand-logo-wrap{ transform:none; }
}
.brand img{ height:100%; width:100%; object-fit:contain; }
.brand span{ font-family:var(--font-display); font-weight:700; color:var(--ink); font-size:1.15rem; letter-spacing:.01em; }
.main-nav{ display:flex; align-items:center; gap:32px; }
.main-nav a{
  font-family:var(--font-display); font-size:.9rem; font-weight:500; color:var(--text-muted);
  position:relative; padding:6px 0; transition:color .18s ease;
}
.main-nav a::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:2px; background:var(--red); transition:width .2s ease; border-radius:2px; }
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }
.main-nav a:hover, .main-nav a.active{ color:var(--ink); }
.nav-cta{ background:var(--red); color:#fff !important; padding:10px 20px; border-radius:var(--radius-sm); font-weight:600 !important; }
.nav-cta::after{ display:none; }
.nav-cta:hover{ background:var(--red-light); color:#fff !important; }

.nav-controls{ display:flex; align-items:center; gap:6px; }
.theme-toggle{
  width:40px; height:40px; border-radius:50%; border:1px solid var(--border); background:var(--bg-card);
  color:var(--text-muted); cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:border-color .2s ease, color .2s ease;
}
.theme-toggle:hover{ color:var(--red); border-color:var(--red); }
.theme-toggle svg{ width:19px; height:19px; }
.theme-toggle .icon-moon{ display:none; }
[data-theme="dark"] .theme-toggle .icon-sun{ display:none; }
[data-theme="dark"] .theme-toggle .icon-moon{ display:block; }

.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--ink); margin:5px 0; transition:transform .2s ease, opacity .2s ease; }

/* ---------- Sous-menus deroulants (nav) ---------- */
.nav-dropdown{ position:relative; }
.nav-dropdown-toggle{
  display:flex; align-items:center; gap:5px; background:none; border:none; cursor:pointer;
  font-family:var(--font-display); font-size:.9rem; font-weight:500; color:var(--text-muted);
  padding:6px 0; transition:color .18s ease;
}
.nav-dropdown-toggle:hover, .nav-dropdown.active .nav-dropdown-toggle{ color:var(--ink); }
.nav-caret{ width:13px; height:13px; flex-shrink:0; transition:transform .2s ease; }
.nav-dropdown.open .nav-caret{ transform:rotate(180deg); }
.nav-dropdown-menu{
  position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%) translateY(-6px);
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md); box-shadow:var(--shadow-lg);
  padding:8px; min-width:170px; display:flex; flex-direction:column; gap:2px;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
  z-index:50;
}
.nav-dropdown-menu a{
  padding:9px 12px; border-radius:var(--radius-sm); color:var(--text-muted); font-size:.88rem;
  font-family:var(--font-display); font-weight:500; white-space:nowrap; transition:background .15s ease, color .15s ease;
}
.nav-dropdown-menu a::after{ display:none; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a.active{ background:var(--bg-alt); color:var(--ink); }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu{
  opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0);
}

/* ---------- Écran de chargement (logo) ---------- */
.loading-splash{
  position:fixed; inset:0; z-index:999; display:flex; align-items:center; justify-content:center;
  background:#ffffff;
  transition:opacity .5s ease, visibility .5s ease;
}
.loading-splash.loading-hidden{ opacity:0; visibility:hidden; pointer-events:none; }
.loading-splash-video{ width:min(760px, 92vw); height:auto; }
.loading-splash-logo{
  width:120px; height:120px; border-radius:26px; background:#fff; padding:18px;
  display:flex; align-items:center; justify-content:center; box-shadow:0 20px 60px rgba(0,0,0,.35);
  animation:loading-pulse 1.6s ease-in-out infinite;
}
.loading-splash-logo img{ width:100%; height:100%; object-fit:contain; }
@keyframes loading-pulse{
  0%, 100%{ transform:scale(1); opacity:1; }
  50%{ transform:scale(1.06); opacity:.85; }
}
@media (prefers-reduced-motion: reduce){
  .loading-splash-logo{ animation:none; }
}

/* ---------- Hero (accueil) ---------- */
.hero{
  position:relative; background:var(--ink); color:#fff; overflow:hidden; isolation:isolate;
  min-height:100vh; display:flex; align-items:center; padding:150px 0 80px;
}
.hero-bg{ position:absolute; inset:0; z-index:-2; }
.hero-bg-slide{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1.4s ease; }
.hero-bg-slide.active{ opacity:1; }
.hero-overlay{ position:absolute; inset:0; z-index:-1; background:linear-gradient(135deg, rgba(22,20,18,.55) 0%, rgba(35,31,32,.42) 45%, rgba(189,60,47,.30) 100%); }
.hero-content{ max-width:680px; }
.hero-badge{
  display:inline-block; font-family:var(--font-display); font-weight:600; font-size:.8rem; letter-spacing:.04em;
  color:#fff; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.3); backdrop-filter:blur(6px);
  padding:8px 18px; border-radius:40px; margin-bottom:22px;
}
.hero-slogan{
  font-size:1.05rem; font-weight:700; letter-spacing:.02em; padding:10px 26px;
}
.hero h1{ color:#fff; font-size:clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom:.4em; }
.hero h1 em{ color:var(--red-light); font-style:normal; }
.hero p.lede{ color:rgba(255,255,255,.78); font-size:1.1rem; max-width:560px; margin-left:auto; margin-right:auto; margin-bottom:2.2em; }
.hero-sector-caption{
  transition:opacity .4s ease, transform .4s ease; transform:translateY(0); min-height:2.4em; color:#fff;
  font-family:var(--font-display); font-weight:700; font-size:clamp(1.6rem, 3.6vw, 2.6rem);
  line-height:1.3; max-width:720px; margin:0 auto 30px; text-shadow:0 2px 6px rgba(0,0,0,.55), 0 4px 24px rgba(0,0,0,.45);
}
.hero-sector-caption strong{ display:block; color:var(--red-light); font-size:1.15em; margin-bottom:.2em; }
.hero-cta{ transition:opacity .4s ease, transform .4s ease; transform:translateY(0); }
.hero-sector-caption.fading, .hero-cta.fading{ opacity:0; transform:translateY(14px); }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero .btn-secondary{ color:#fff; border-color:rgba(255,255,255,.55); }
.hero .btn-secondary:hover{ background:#fff; color:var(--ink); border-color:#fff; }
.hero-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; margin-top:80px; border-top:1px solid rgba(255,255,255,.18); padding-top:30px; }
.hero-stats div{ padding-right:20px; }
.hero-stats strong{ display:block; font-family:var(--font-display); color:#fff; font-size:1.7rem; font-weight:700; }
.hero-stats span{ color:rgba(255,255,255,.65); font-size:.85rem; }

.hero-scroll-cue{
  position:absolute; left:50%; bottom:28px; transform:translateX(-50%); z-index:1;
  width:38px; height:38px; display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.75); border:1px solid rgba(255,255,255,.35); border-radius:50%;
  animation:hero-scroll-bounce 2.2s ease-in-out infinite;
}
.hero-scroll-cue svg{ width:18px; height:18px; }
.hero-scroll-cue:hover{ color:#fff; border-color:#fff; }
@keyframes hero-scroll-bounce{
  0%, 100%{ transform:translate(-50%, 0); }
  50%{ transform:translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce){
  .hero-scroll-cue{ animation:none; }
}
@media (max-width:700px){
  .hero{ min-height:100svh; padding:140px 0 70px; }
}

/* ---------- Section générique ---------- */
section{ padding:96px 0; }
.section-head{ max-width:640px; margin-bottom:52px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head p{ color:var(--text-muted); font-size:1.05rem; }
.bg-alt{ background:var(--bg-alt); }

/* ---------- Sections plein écran avec photo de fond ---------- */
.photo-section{
  position:relative; color:#fff; padding:110px 0; overflow:hidden; isolation:isolate;
}
.photo-section-bg{ position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center; }
.photo-section-overlay{ position:absolute; inset:0; z-index:-1; background:linear-gradient(135deg, rgba(22,20,18,.88) 0%, rgba(35,31,32,.72) 55%, rgba(189,60,47,.5) 100%); }
.photo-section .section-head p{ color:rgba(255,255,255,.72); }
.photo-section .eyebrow{ color:#f2a89e; }
.photo-section .eyebrow::before{ background:#f2a89e; }
.photo-section h2{ color:#fff; }

.glass-card{
  background:rgba(255,255,255,.08); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,.18); border-radius:var(--radius-lg);
  padding:38px 36px; max-width:640px;
}
.glass-card p{ font-family:var(--font-display); font-size:1.35rem; font-weight:600; line-height:1.44; color:#fff; }
.glass-card .vision-meta{ color:rgba(255,255,255,.65); }

.parallax-band{
  background-attachment:fixed;
}
@media (max-width: 900px){
  .parallax-band{ background-attachment:scroll; }
}
.stats-row.on-photo .stat-card{
  background:rgba(255,255,255,.1); backdrop-filter:blur(8px); border-color:rgba(255,255,255,.2);
}
.stats-row.on-photo .stat-card strong{ color:#fff; }
.stats-row.on-photo .stat-card span{ color:rgba(255,255,255,.7); }

/* ---------- Bandes photo plein écran (sans texte, respiration visuelle) ---------- */
.photo-strip{
  width:100%; height:320px; background-size:cover; background-position:center;
  position:relative; overflow:hidden;
}
@media (max-width:700px){ .photo-strip{ height:200px; } }
.photo-strip--tall{ height:720px; background-size:contain; background-repeat:no-repeat; background-color:var(--ink); }
@media (max-width:900px){ .photo-strip--tall{ height:560px; } }
@media (max-width:700px){ .photo-strip--tall{ height:420px; } }

/* ---------- Bande de couleur pleine largeur avec titre ---------- */
.color-band{
  padding:54px 0; text-align:center;
}
.color-band h2{
  color:#fff; margin:0; font-size:clamp(1.6rem, 4vw, 2.4rem); letter-spacing:.02em;
}
.color-band p{ color:rgba(255,255,255,.85); margin:10px 0 0; font-size:1rem; }

/* ---------- Motif géométrique léger (sections texte) ---------- */
.pattern-bg{ position:relative; overflow:hidden; }
.pattern-bg::before{
  content:""; position:absolute; inset:0; z-index:0; opacity:.5; pointer-events:none;
  background-image:
    linear-gradient(135deg, rgba(189,60,47,.05) 25%, transparent 25%),
    linear-gradient(225deg, rgba(189,60,47,.05) 25%, transparent 25%),
    linear-gradient(45deg, rgba(35,31,32,.04) 25%, transparent 25%);
  background-position: 0 0, 0 0, 40px 0;
  background-size: 160px 160px;
}
.pattern-bg > .container{ position:relative; z-index:1; }

/* ---------- À propos / Vision ---------- */
.vision-block{ display:grid; grid-template-columns: 1.1fr 1fr; gap:60px; align-items:center; }
.about-editorial{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:52px; align-items:center;
  margin-top:44px; margin-bottom:40px;
}
.about-editorial-photo{
  aspect-ratio:4/5; border-radius:var(--radius-lg); background-size:cover; background-position:center;
  box-shadow:var(--shadow-md);
}
.about-photo-cluster{ position:relative; aspect-ratio:1/1; width:100%; max-width:480px; }
.about-photo-cluster .cluster-photo{
  position:absolute; border-radius:50%; overflow:hidden; background-size:cover; background-position:top center;
  box-shadow:0 8px 20px rgba(0,0,0,.22); border:4px solid var(--bg-main);
  transition:transform .25s ease, box-shadow .25s ease, z-index 0s;
}
.about-photo-cluster .cluster-photo:hover{
  transform:scale(1.1) !important; z-index:5 !important; box-shadow:0 14px 30px rgba(0,0,0,.35);
}
.cluster-label{
  position:absolute; inset:0; border-radius:50%; z-index:1;
  background:rgba(15,13,11,.6); color:#fff; text-align:center;
  display:flex; align-items:center; justify-content:center; padding:8%;
  font-family:var(--font-display); font-size:.7rem; font-weight:600; line-height:1.2;
  opacity:0; transition:opacity .25s ease; pointer-events:none;
}
.about-photo-cluster .cluster-photo:hover .cluster-label{ opacity:1; }
.about-photo-cluster .cluster-photo--main{ width:52%; aspect-ratio:1; top:24%; left:24%; z-index:3; }
.about-photo-cluster .cluster-sector{ width:30%; aspect-ratio:1; z-index:2; }
.about-photo-cluster .cluster-sector--n{ top:0%; left:35%; }
.about-photo-cluster .cluster-sector--ne{ top:10.3%; left:59.7%; }
.about-photo-cluster .cluster-sector--e{ top:35%; left:70%; }
.about-photo-cluster .cluster-sector--se{ top:59.7%; left:59.7%; }
.about-photo-cluster .cluster-sector--s{ top:70%; left:35%; }
.about-photo-cluster .cluster-sector--sw{ top:59.7%; left:10.3%; }
.about-photo-cluster .cluster-sector--w{ top:35%; left:0%; }
.about-photo-cluster .cluster-sector--nw{ top:10.3%; left:10.3%; }
.about-editorial-text p{ color:var(--text-main); font-size:1.03rem; margin-bottom:18px; }
.about-editorial-text p:last-of-type{ margin-bottom:0; }

.vision-expansion{
  display:grid; grid-template-columns:1.3fr 0.7fr; gap:48px; align-items:center;
  margin:56px 0;
}
.vision-expansion-photo{
  border-radius:var(--radius-md); overflow:hidden; background:var(--bg-alt); box-shadow:var(--shadow-md);
}
.vision-expansion-photo img{ width:100%; height:auto; display:block; }
.vision-expansion-text p{ color:var(--text-main); font-size:1.05rem; line-height:1.65; margin:0; }
@media (max-width:760px){
  .vision-expansion{ grid-template-columns:1fr; }
  .vision-expansion-photo{ max-width:280px; margin:0 auto; }
}

.team-teaser{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  background:var(--bg-card); border:1px solid var(--border); border-left:4px solid var(--red);
  border-radius:var(--radius-md); padding:28px 30px; margin-bottom:40px; box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease;
}
.team-teaser:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); }
.team-teaser-arrow{
  flex:none; width:44px; height:44px; border-radius:50%; background:var(--red); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.team-teaser-arrow svg{ width:18px; height:18px; }
@media (max-width:800px){
  .about-editorial{ grid-template-columns:1fr; }
  .about-editorial-photo{ aspect-ratio:16/10; }
  .team-teaser{ flex-direction:column; align-items:flex-start; text-align:left; }
}

.vision-quote{ padding:8px 0; }
.vision-quote p{ font-family:var(--font-display); font-size:1.55rem; color:var(--ink); font-weight:600; line-height:1.45; }
.vision-meta{ color:var(--text-muted); font-size:.95rem; margin-top:16px; }

/* ---------- Ce qui nous distingue (liste a coche + photo) ---------- */
.distinguish-section{
  display:grid; grid-template-columns:0.95fr 1.05fr; gap:52px; align-items:center; margin:64px 0;
}
.distinguish-list{ display:flex; flex-direction:column; gap:22px; margin-top:22px; }
.distinguish-item{ display:flex; gap:16px; }
.distinguish-check{
  flex:none; width:30px; height:30px; border-radius:50%; background:var(--red); color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.distinguish-check svg{ width:16px; height:16px; }
.distinguish-item h4{ margin:0 0 4px; font-size:1.05rem; }
.distinguish-item p{ margin:0; color:var(--text-muted); font-size:.92rem; line-height:1.5; }
.distinguish-photo{ border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:4/3; box-shadow:var(--shadow-md); }
.distinguish-photo img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:800px){
  .distinguish-section{ grid-template-columns:1fr; }
}

/* ---------- Chiffres cles en compteurs, cartes separees ---------- */
.stats-counters{
  display:grid; grid-template-columns:repeat(2,1fr); gap:20px; max-width:440px; margin:0 auto;
}
.stat-counter{
  display:flex; flex-direction:column; align-items:center; text-align:center; gap:12px;
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:28px 18px; box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease;
}
.stat-counter:hover{ transform:translateY(-5px); box-shadow:var(--shadow-md); }
.stat-counter-icon{
  flex:none; width:56px; height:56px; border-radius:50%; background:rgba(189,60,47,.1);
  color:var(--red); display:flex; align-items:center; justify-content:center;
}
.stat-counter-icon svg{ width:26px; height:26px; }
.stat-counter-num{ color:var(--ink); font-family:var(--font-display); font-size:1.7rem; font-weight:700; line-height:1; }
.stat-counter-label{ color:var(--text-muted); font-size:.8rem; margin-top:4px; }
@media (max-width:720px){
  .stats-counters{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:420px){
  .stats-counters{ grid-template-columns:1fr; }
}

.vision-quote--split{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:28px; align-items:center; }
.vision-quote-photo{
  aspect-ratio:3/4; min-height:200px; border-radius:var(--radius-md);
  background-size:cover; background-position:top center; box-shadow:var(--shadow-sm);
}
@media (max-width:640px){
  .vision-quote--split{ grid-template-columns:1fr; }
  .vision-quote-photo{ aspect-ratio:16/10; }
}
.vision-graphic{
  background:var(--bg-alt); border:1px solid var(--border); border-radius:var(--radius-lg);
  aspect-ratio:4/3; position:relative; overflow:hidden; box-shadow:var(--shadow-md);
}
.vision-bg-slide{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity 1.4s ease; }
.vision-bg-slide.active{ opacity:1; }

.stats-row{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:64px; }
.stat-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md); padding:26px 22px; text-align:center; box-shadow:var(--shadow-sm); }
.stat-card strong{ display:block; font-family:var(--font-display); font-size:1.9rem; color:var(--red); }
.stat-card span{ color:var(--text-muted); font-size:.85rem; }

/* ---------- Grille des secteurs (cartes) ---------- */
.sector-grid-cards{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.sector-card{
  --accent: #BD3C2F;
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg);
  overflow:hidden; box-shadow:var(--shadow-sm); display:flex; flex-direction:column;
  transition:transform .22s ease, box-shadow .22s ease;
  position:relative;
}
.sector-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.sector-card-photo{
  height:170px; background-size:cover; background-position:center; position:relative; flex:none;
  border-bottom:3px solid var(--accent);
  transition:transform .4s ease;
}
.sector-card:hover .sector-card-photo{ transform:scale(1.08); }
.sector-card-logo-badge{
  position:absolute; left:16px; bottom:-22px; height:52px; width:52px; border-radius:14px;
  background:#fff; box-shadow:var(--shadow-md); display:flex; align-items:center; justify-content:center;
  padding:6px; border:1px solid var(--border);
}
.sector-card-logo-badge img{ max-width:100%; max-height:100%; object-fit:contain; }
.sector-card-logo-badge .letter-badge{
  width:100%; height:100%; border-radius:8px; background:var(--accent); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:1.1rem;
}
.sector-card-body{ padding:34px 26px 26px; display:flex; flex-direction:column; flex:1; }
.sector-card h3{ font-size:1.25rem; margin-bottom:10px; }
.sector-card p{ color:var(--text-muted); font-size:.92rem; flex:1; margin-bottom:20px; }
.sector-card .card-link{
  display:inline-flex; align-items:center; gap:8px; font-family:var(--font-display); font-weight:600;
  font-size:.88rem; color:var(--accent);
}
.sector-card .card-link svg{ width:16px; height:16px; transition:transform .2s ease; }
.sector-card:hover .card-link svg{ transform:translateX(4px); }

@media (max-width:980px){ .sector-grid-cards{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .sector-grid-cards{ grid-template-columns:1fr; } }

/* ---------- FAQ ---------- */
.faq-accordion{ max-width:760px; margin:0 auto; }
.faq-item{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md); margin-bottom:14px; overflow:hidden; box-shadow:var(--shadow-sm); }
.faq-question{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:18px;
  background:none; border:none; cursor:pointer; padding:20px 24px;
  font-family:var(--font-display); font-weight:600; font-size:1rem; color:var(--ink); text-align:left;
}
.faq-icon{ width:20px; height:20px; flex:none; color:var(--red); transition:transform .25s ease; }
.faq-item.open .faq-icon{ transform:rotate(180deg); }
.faq-answer{ max-height:0; overflow:hidden; transition:max-height .32s ease, padding .32s ease; padding:0 24px; }
.faq-item.open .faq-answer{ max-height:320px; padding:0 24px 22px; }
.faq-answer p{ color:var(--text-muted); font-size:.95rem; line-height:1.65; margin:0; }

/* ---------- Contact ---------- */
.contact{ background:var(--ink); color:#fff; }
[data-theme="dark"] .contact{ background:var(--bg-alt); }
.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:70px; }
.contact h2{ color:#fff; }
.contact .section-head p{ color:rgba(255,255,255,.65); }
.contact-list{ list-style:none; margin-top:8px; }
.contact-list li{ display:flex; align-items:center; gap:16px; padding:16px 0; border-bottom:1px solid rgba(255,255,255,.12); }
.contact-list svg{ width:20px; height:20px; color:var(--red-light); flex:none; }
.contact-list a, .contact-list span.txt{ color:rgba(255,255,255,.86); font-size:.98rem; }
.contact-list a:hover{ color:#fff; }
.social-row{ display:flex; gap:12px; margin-top:26px; }
.social-row a{ width:42px; height:42px; border:1.5px solid rgba(255,255,255,.25); border-radius:50%; display:flex; align-items:center; justify-content:center; transition:border-color .2s ease, background .2s ease; }
.social-row a:hover{ border-color:var(--red); background:var(--red); }
.social-row svg{ width:18px; height:18px; }

.contact-form{ display:flex; flex-direction:column; gap:16px; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.contact-form label{ font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:rgba(255,255,255,.55); margin-bottom:6px; display:block; }
.contact-form input, .contact-form select, .contact-form textarea{
  width:100%; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.18); color:#fff;
  padding:12px 14px; font-family:var(--font-body); font-size:.95rem; border-radius:var(--radius-sm);
}
.contact-form textarea{ resize:vertical; min-height:110px; }
.contact-form input::placeholder, .contact-form textarea::placeholder{ color:rgba(255,255,255,.35); }
.contact-form input[readonly]{ background:rgba(189,60,47,.18); border-color:rgba(189,60,47,.5); color:var(--red-light, #e88f83); font-weight:600; }
.form-note{ font-size:.78rem; color:rgba(255,255,255,.5); margin-top:-6px; }
.hp-field{ position:absolute; left:-9999px; top:-9999px; }

/* ---------- Footer ---------- */
footer{ background:var(--bg-alt); color:var(--text-muted); padding:44px 0; border-top:1px solid var(--line); }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px; }
.footer-inner .brand span{ color:var(--ink); }
footer nav{ display:flex; gap:24px; flex-wrap:wrap; }
footer nav a{ font-size:.85rem; color:var(--text-muted); }
footer nav a:hover{ color:var(--red); }
.footer-fine{ font-size:.78rem; margin-top:20px; color:var(--text-muted); opacity:.7; }

/* =========================================================
   PAGE DÉTAIL SECTEUR (service.html)
   ========================================================= */
.sector-hero{
  position:relative; padding:210px 0 130px; min-height:56vh; display:flex; align-items:center;
  color:#fff; overflow:hidden; isolation:isolate;
  background:var(--accent-dark, var(--red-dark));
}
.sector-hero::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:.32;
  background:linear-gradient(100deg, var(--accent-dark, var(--red-dark)) 10%, rgba(0,0,0,.22) 60%, rgba(0,0,0,.08) 100%);
}
.sector-hero-photo{
  position:absolute; inset:0; z-index:-2; background-size:cover; background-position:center;
  opacity:.92; filter:saturate(1.05);
}
.sector-hero-inner{ display:flex; align-items:center; gap:24px; flex-wrap:wrap; }
.sector-hero-logo{ height:70px; background:#fff; border-radius:var(--radius-md); padding:12px 18px; display:flex; align-items:center; box-shadow:var(--shadow-md); }
.sector-hero-logo img{ height:100%; width:auto; max-width:190px; object-fit:contain; }
.sector-hero-badge-letter{
  width:70px; height:70px; border-radius:50%; background:rgba(255,255,255,.16); border:1px solid rgba(255,255,255,.3);
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:1.8rem;
}
.sector-hero h1{ color:#fff; font-size:clamp(1.9rem, 4vw, 2.8rem); margin:0; text-shadow:0 2px 6px rgba(0,0,0,.6), 0 6px 26px rgba(0,0,0,.5); }
.sector-hero .sector-hero-tag{ color:#fff; font-family:var(--font-display); font-weight:600; letter-spacing:.06em; text-transform:uppercase; font-size:.82rem; margin-bottom:6px; display:block; text-shadow:0 1px 4px rgba(0,0,0,.65), 0 4px 16px rgba(0,0,0,.5); }
.sector-breadcrumb{ margin-top:26px; font-size:.85rem; color:#fff; text-shadow:0 1px 4px rgba(0,0,0,.65), 0 3px 14px rgba(0,0,0,.5); }
.sector-breadcrumb a{ color:#fff; text-decoration:underline; text-underline-offset:3px; }

.sector-body{ padding:70px 0 90px; position:relative; overflow:hidden; }
.page-watermark{
  position:absolute; inset:0;
  background-repeat:repeat; background-position:0 0; background-size:72px 72px;
  opacity:.05; pointer-events:none; z-index:0;
}
:root[data-theme="dark"] .page-watermark{ opacity:.08; }
:root[data-theme="light"] .page-watermark{ opacity:.05; }
.sector-layout{ display:grid; grid-template-columns:1fr 320px; gap:56px; align-items:start; position:relative; z-index:1; }
.sector-main{ min-width:0; }

.sector-mission-text{ font-size:1.08rem; color:var(--text-main); margin-bottom:28px; }

.cta-buttons{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:40px; }
.btn-whatsapp{ background:#25D366; color:#fff; border-color:#25D366; }
.btn-whatsapp:hover{ background:#1ebd5a; border-color:#1ebd5a; transform:translateY(-2px); }

.timeline-wrap{
  position:relative; overflow:hidden; margin-top:8px; padding:26px 26px 6px;
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-lg); box-shadow:var(--shadow-sm);
}
.timeline-watermark{
  position:absolute; inset:0; background-size:cover; background-position:center; z-index:0; pointer-events:none;
}
.timeline-wrap::after{
  content:""; position:absolute; inset:0; z-index:0;
  background:linear-gradient(100deg, var(--bg-card) 40%, rgba(0,0,0,0) 80%);
}
.timeline{ position:relative; z-index:1; display:flex; flex-direction:column; gap:0; margin-top:8px; }
.timeline-item{ display:flex; gap:18px; position:relative; padding-bottom:28px; }
.timeline-item:last-child{ padding-bottom:0; }
.timeline-item:not(:last-child)::before{
  content:""; position:absolute; left:17px; top:38px; bottom:0; width:2px; background:var(--line);
}
.timeline-dot{
  flex:none; width:36px; height:36px; border-radius:50%; background:var(--accent); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:.95rem;
  z-index:1;
}
.timeline-content h4{ font-size:1rem; margin-bottom:4px; }
.timeline-content p{ color:var(--text-muted); font-size:.92rem; margin:0; }

.sector-section-title{
  font-family:var(--font-display); font-weight:700; font-size:1.3rem; color:var(--ink);
  margin:40px 0 20px; padding-bottom:12px; border-bottom:2px solid var(--accent);
  display:inline-block;
}
.service-cards{ display:grid; gap:16px; }
.service-card{
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:20px 22px; box-shadow:var(--shadow-sm); border-left:4px solid var(--accent);
}
.service-card h4{ font-size:1rem; margin-bottom:6px; }
.service-card p{ color:var(--text-muted); font-size:.92rem; margin:0; }

table.price-table{
  width:100%; border-collapse:separate; border-spacing:0; margin-top:6px; font-size:.9rem;
  border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden;
}
table.price-table th{ background:var(--accent); color:#fff; text-align:left; padding:11px 14px; font-family:var(--font-display); font-weight:600; font-size:.76rem; text-transform:uppercase; letter-spacing:.05em; }
table.price-table td{ padding:11px 14px; border-bottom:1px solid var(--line); background:var(--bg-card); color:var(--text-main); }
table.price-table tr:last-child td{ border-bottom:none; }
.price-table-title{ font-family:var(--font-display); font-weight:600; font-size:.85rem; color:var(--ink); margin:24px 0 8px; }
.price-table-title:first-child{ margin-top:0; }
.table-note{ font-size:.85rem; color:var(--text-muted); margin-top:10px; }

.carousel-viewport{ overflow:hidden; margin-top:14px; -webkit-mask-image:linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); mask-image:linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent); }
.carousel-track{ display:flex; gap:14px; width:max-content; animation:carousel-scroll 26s linear infinite; }
.carousel-viewport:hover .carousel-track{ animation-play-state:paused; }
@media (prefers-reduced-motion: reduce){ .carousel-track{ animation:none; } }
@keyframes carousel-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

.gallery-strip{ display:flex; gap:14px; }
.g-thumb{ width:220px; aspect-ratio:1/1; flex:none; border-radius:var(--radius-sm); overflow:hidden; border:none; padding:0; cursor:pointer; background:var(--bg-alt); position:relative; box-shadow:var(--shadow-sm); }
.g-thumb img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease; }
.g-thumb:hover img{ transform:scale(1.06); }

.video-strip{ display:flex; gap:14px; }
.v-thumb{ width:220px; aspect-ratio:1/1; flex:none; border-radius:var(--radius-sm); overflow:hidden; border:none; padding:0; cursor:pointer; background:var(--ink); position:relative; box-shadow:var(--shadow-sm); }
.v-thumb img{ width:100%; height:100%; object-fit:cover; display:block; opacity:.82; transition:opacity .25s ease; }
.v-thumb:hover img{ opacity:1; }
.play-badge{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.play-badge svg{ width:38px; height:38px; color:#fff; filter:drop-shadow(0 2px 6px rgba(0,0,0,.5)); }

.lightbox{ position:fixed; inset:0; z-index:999; background:rgba(15,13,11,.92); display:none; align-items:center; justify-content:center; padding:40px; }
.lightbox.open{ display:flex; }
.lightbox-content{ max-width:min(92vw, 1000px); max-height:86vh; }
.lightbox-content img, .lightbox-content video{ max-width:100%; max-height:86vh; display:block; border-radius:var(--radius-md); }
.lightbox-close{ position:absolute; top:22px; right:26px; background:none; border:none; color:#fff; cursor:pointer; width:40px; height:40px; }
.lightbox-close svg{ width:100%; height:100%; }

/* Sidebar infos */
.sector-sidebar{ position:sticky; top:100px; display:flex; flex-direction:column; gap:16px; }
.info-card{ background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md); padding:22px; box-shadow:var(--shadow-sm); }
.info-card .lbl{ display:flex; align-items:center; gap:8px; font-family:var(--font-display); font-weight:600; font-size:.76rem; text-transform:uppercase; letter-spacing:.06em; color:var(--accent); margin-bottom:8px; }
.info-card .lbl svg{ width:15px; height:15px; }
.info-card p{ margin:0; color:var(--text-main); font-size:.94rem; }
.info-card p a{ color:var(--accent); font-weight:600; text-decoration:none; }
.info-card p a:hover{ text-decoration:underline; }
.info-card.cta{ background:var(--accent); color:#fff; text-align:center; }
.info-card.cta p{ color:rgba(255,255,255,.85); font-size:.88rem; margin-bottom:14px; }
.info-card.cta .btn{ width:100%; justify-content:center; background:#fff; color:var(--accent); border-color:#fff; }

.other-sectors{ margin-top:20px; }
.other-sectors-title{ font-family:var(--font-display); font-weight:600; font-size:.8rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); margin-bottom:12px; }
.other-sector-link{
  display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:var(--radius-sm);
  border:1px solid var(--border); margin-bottom:8px; background:var(--bg-card); font-size:.86rem; font-weight:500;
  transition:border-color .2s ease, transform .2s ease;
}
.other-sector-link:hover{ border-color:var(--accent-link, var(--red)); transform:translateX(3px); }
.other-sector-link .dot{ width:9px; height:9px; border-radius:50%; flex:none; }

.soon-panel{ text-align:center; max-width:560px; margin:0 auto; padding:20px 0 10px; }
.soon-panel .soon-badge{
  display:inline-block; font-family:var(--font-display); font-weight:600; font-size:.72rem; text-transform:uppercase; letter-spacing:.08em;
  color:var(--accent); border:1px solid var(--accent); border-radius:20px; padding:5px 14px; margin-bottom:18px;
}
.soon-panel p{ color:var(--text-muted); font-size:1rem; margin-bottom:26px; }

.media-placeholder{
  aspect-ratio:16/10; border-radius:var(--radius-md); border:1.5px dashed var(--line); background:var(--bg-alt);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; color:var(--text-muted);
  margin-bottom:10px;
}
.media-placeholder svg{ width:34px; height:34px; opacity:.5; }
.media-placeholder span{ font-size:.78rem; text-align:center; max-width:260px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px){
  .sector-layout{ grid-template-columns:1fr; }
  .sector-sidebar{ position:static; }
}
@media (max-width: 900px){
  .vision-block, .contact-grid{ grid-template-columns:1fr; }
  .hero-stats{ grid-template-columns:repeat(2,1fr); row-gap:24px; }
  .stats-row{ grid-template-columns:repeat(2,1fr); }
  .main-nav{
    position:fixed; top:80px; left:0; right:0; bottom:0; background:var(--bg-main);
    flex-direction:column; align-items:flex-start; padding:28px; gap:22px;
    transform:translateX(100%); transition:transform .28s ease; border-top:1px solid var(--line);
  }
  .main-nav.open{ transform:translateX(0); }
  .nav-toggle{ display:block; }
  .form-row{ grid-template-columns:1fr; }

  .nav-dropdown{ width:100%; }
  .nav-dropdown-toggle{ width:100%; justify-content:space-between; font-size:.9rem; }
  .nav-dropdown-menu{
    position:static; transform:none; opacity:1; visibility:visible; pointer-events:auto;
    box-shadow:none; border:none; padding:6px 0 0 14px; min-width:0;
    max-height:0; overflow:hidden; transition:max-height .22s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu{ max-height:220px; transform:none; }
  .nav-dropdown-menu a{ padding:10px 0; }
}
@media (max-width: 560px){
  section{ padding:66px 0; }
  .hero{ padding:150px 0 76px; }
  .sector-hero{ padding:160px 0 80px; min-height:46vh; }
}

.carrieres-photo-banner{
  aspect-ratio:21/9; border-radius:var(--radius-lg); background-size:cover; background-position:center;
  box-shadow:var(--shadow-md); margin:8px 0 40px;
}
@media (max-width:640px){ .carrieres-photo-banner{ aspect-ratio:4/3; } }

/* ---------- Page Équipe ---------- */
.values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.value-card{
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:28px 22px; text-align:center; box-shadow:var(--shadow-sm);
}
.value-icon{
  width:52px; height:52px; border-radius:50%; background:var(--red); color:#fff;
  display:flex; align-items:center; justify-content:center; margin:0 auto 16px;
}
.value-icon svg{ width:24px; height:24px; }
.value-card h4{ font-size:1.05rem; margin-bottom:8px; }
.value-card p{ color:var(--text-muted); font-size:.9rem; margin:0; }

.value-card--accent{
  --accent: var(--red);
  position:relative; overflow:hidden;
  border-top:4px solid var(--accent);
  transition:transform .25s ease, box-shadow .25s ease;
}
.value-card--accent::before{
  content:""; position:absolute; top:-46px; right:-46px; width:130px; height:130px;
  background:var(--accent); opacity:.09; border-radius:50%; z-index:0; pointer-events:none;
}
.value-card--accent::after{
  content:""; position:absolute; bottom:-50px; left:-50px; width:100px; height:100px;
  background:var(--accent); opacity:.06; border-radius:50%; z-index:0; pointer-events:none;
}
.value-card--accent > *{ position:relative; z-index:1; }
.value-card--accent:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.value-card--accent .value-icon{ width:58px; height:58px; background:var(--accent); }
.value-card--accent .value-icon svg{ width:26px; height:26px; }

/* ---------- Grille de valeurs, cartes espacees et animees (page A propos) ---------- */
.value-bands{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
}
.value-band{
  position:relative; overflow:hidden;
  padding:26px 24px; min-height:190px; border-radius:var(--radius-md); box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; align-items:flex-start; justify-content:center;
  transition:transform .25s ease, box-shadow .25s ease;
}
.value-band:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.value-band::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(135deg, currentColor 25%, transparent 25%),
    linear-gradient(225deg, currentColor 25%, transparent 25%);
  background-position: 0 0, 0 0;
  background-size: 120px 120px;
  opacity:.05;
}
.value-band--light{ background:var(--bg-alt); color:var(--ink); }
.value-band--accent{ background:var(--red); color:#fff; }
.value-band--accent::before{ opacity:.1; }
.value-band--dark{ background:var(--ink); color:#fff; }
.value-band--dark::before{ opacity:.08; }
.value-band-icon{
  position:relative; z-index:1;
  width:36px; height:36px; margin-bottom:14px; color:var(--red);
}
.value-band--accent .value-band-icon, .value-band--dark .value-band-icon{ color:#fff; }
.value-band-icon svg{ width:100%; height:100%; }
.value-band-text{ position:relative; z-index:1; }
.value-band-text h4{ margin:0 0 6px; font-size:1.02rem; color:inherit; }
.value-band-text p{ margin:0; font-size:.85rem; line-height:1.45; opacity:.85; }
@media (max-width:720px){
  .value-bands{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:480px){
  .value-bands{ grid-template-columns:1fr; }
  .value-band{ min-height:0; padding:24px; }
}

.carrieres-values-grid{ grid-template-columns:repeat(4,1fr); }
@media (max-width:980px){ .carrieres-values-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .carrieres-values-grid{ grid-template-columns:1fr; } }

.team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:20px; }
.team-member-card{
  --accent:#BD3C2F;
  background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:28px 22px; text-align:center; box-shadow:var(--shadow-sm);
}
.leader-section {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 800px;
  margin: 40px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
}
.leader-section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.leader-photo-wrap {
  flex: none;
  position: relative;
  width: 260px;
  background: var(--bg-alt);
}
.leader-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}
.leader-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  padding: 34px 40px;
}
.leader-role {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent, var(--red));
}
.leader-name {
  font-size: 1.45rem;
  margin: 0 0 10px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.leader-quote {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.5;
  margin: 0 0 12px;
  padding-left: 14px;
  border-left: 3px solid var(--accent, var(--red));
}
.leader-divider {
  height: 1px;
  background: var(--line);
  margin: 0 0 12px;
}
.leader-bio {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 768px) {
  .leader-section {
    flex-direction: column;
    text-align: center;
  }
  .leader-photo-wrap {
    width: 100%;
    height: 220px;
  }
  .leader-info {
    text-align: center;
    align-items: center;
    padding: 24px;
  }
  .leader-quote {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 10px 0;
    margin-bottom: 10px;
  }
}
.team-member-avatar{
  width:72px; height:72px; border-radius:50%; background:var(--bg-alt); border:2px solid var(--accent);
  display:flex; align-items:center; justify-content:center; margin:0 auto 16px; padding:12px;
}
.team-member-avatar img{ max-width:100%; max-height:100%; object-fit:contain; }
.team-member-avatar--photo{ width:120px; height:120px; padding:0; overflow:hidden; }
.team-member-avatar--photo img{ width:100%; height:100%; max-width:none; max-height:none; object-fit:cover; }
.team-member-avatar--photo img[src*="garderie-responsable"],
.team-member-avatar--photo img[src*="GE1.jpeg"],
.team-member-avatar--photo img[src*="responsable_maxi_gym"],
.team-member-avatar--photo img[src*="responsable_briqueterie"],
.team-member-avatar--photo img[src*="responsable-logistique"],
.team-member-avatar--photo img[src*="image_educatrice"] {
  object-position: center 15%;
}
.team-member-avatar .letter-badge{
  width:100%; height:100%; border-radius:50%; background:var(--accent); color:#fff;
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-weight:700; font-size:1.2rem;
}
.team-member-card h4{ font-size:1rem; margin-bottom:4px; }
.team-member-card p{ color:var(--text-muted); font-size:.85rem; margin:0; font-style:italic; }

@media (max-width:900px){
  .values-grid{ grid-template-columns:repeat(2,1fr); }
  .team-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:560px){
  .values-grid{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   PAGES PROMOTIONS & CARRIÈRES
   ========================================================= */
.promotions-grid, .offres-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:22px; margin-top:20px; }

.promo-card, .offre-card{
  --accent: var(--red);
  background:var(--bg-card); border:1px solid var(--border); border-left:4px solid var(--accent);
  border-radius:var(--radius-md); padding:26px; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; align-items:flex-start;
}
.promo-card-photo, .offre-card-photo{
  width:calc(100% + 52px); margin:-26px -26px 16px; display:block;
  aspect-ratio:16/10; object-fit:cover; border-radius:var(--radius-md) var(--radius-md) 0 0;
}
.promo-card h3, .offre-card h3{ font-size:1.15rem; margin:8px 0 8px; }
.promo-card p, .offre-card p{ color:var(--text-muted); font-size:.92rem; margin:0 0 14px; }
.promo-card .btn, .offre-card .btn{ margin-top:auto; }

.promo-card-tag, .offre-card-tag{
  display:inline-block; font-family:var(--font-display); font-weight:600; font-size:.72rem;
  text-transform:uppercase; letter-spacing:.05em; color:var(--accent);
  background:var(--bg-alt); border:1px solid var(--accent); border-radius:20px; padding:4px 12px;
}
.promo-card-valid{ font-size:.82rem; color:var(--accent); font-weight:600; }

.offre-card-head{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:4px; }
.offre-card-type{
  display:inline-block; font-family:var(--font-display); font-weight:700; font-size:.72rem;
  text-transform:uppercase; letter-spacing:.05em; color:#fff;
  background:var(--accent); border-radius:20px; padding:4px 12px;
}
.offre-card-location{ font-size:.82rem; color:var(--text-muted); margin:0 0 10px; }
.offre-card-deadline{ font-size:.82rem; color:var(--accent); font-weight:600; }

@media (max-width:800px){
  .promotions-grid, .offres-grid{ grid-template-columns:1fr; }
}

/* =========================================================
   PAGE GALERIE
   ========================================================= */
.gallery-filters{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin:28px 0 8px; }
.gallery-filter{
  font-family:var(--font-display); font-weight:600; font-size:.82rem; padding:8px 18px; border-radius:20px;
  border:1px solid var(--border); background:var(--bg-card); color:var(--text-muted); cursor:pointer;
  transition:border-color .2s ease, color .2s ease, background .2s ease;
}
.gallery-filter:hover{ border-color:var(--red); color:var(--red); }
.gallery-filter.active{ background:var(--red); border-color:var(--red); color:#fff; }

.gallery-grid-full{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; margin-top:26px; }
