/* TABOPDA ENTERPRISES — feuille de style principale
   Concept : corporate chaleureux africain moderne.
   Bandes « kente » comme fil conducteur, grandes images plein cadre,
   typographie affirmée (Syne) + texte lisible (Manrope). */

:root {
  --ink: #1b1813;        /* texte principal, noir chaud */
  --ink-soft: #57503f;   /* texte secondaire */
  --paper: #fdfbf7;      /* fond principal */
  --sand: #f3ecdf;       /* fond alterné */
  --line: #e4dccb;       /* filets */
  --night: #16213f;      /* bleu nuit (sections sombres) */
  --night-2: #0e1630;
  --ochre: #d98a1c;      /* or / ocre : accent principal */
  --clay: #a8402a;       /* argile rouge */
  --forest: #2f6b3f;     /* vert forêt */
  --on-dark: #f6f1e6;
  --on-dark-soft: #c9c2b2;

  --f-display: "Syne", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --accent: var(--ochre);
  --accent-2: var(--clay);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
}
html { overflow-x: clip; }
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px); background: var(--paper);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; font-family: var(--f-display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

/* Langues : le contenu existe en FR et EN, on masque l'autre */
html[data-lang="fr"] .en, html[data-lang="en"] .fr { display: none !important; }

.wrap {
  width: 100%; max-width: calc(var(--wrap) + 96px); margin-inline: auto;
  padding-left: max(var(--gutter), 4vw); padding-right: max(var(--gutter-r), 4vw);
}
@media (min-width: 1300px) { .wrap { padding-left: 48px; padding-right: 48px; } }

.eyebrow {
  font-family: var(--f-body); font-weight: 700; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .16em; color: var(--accent); display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }

/* ---------- Bande kente ---------- */
.kente {
  height: 8px; width: 100%;
  background:
    repeating-linear-gradient(90deg,
      var(--ochre) 0 46px, var(--night) 46px 54px, var(--clay) 54px 92px,
      var(--night) 92px 100px, var(--forest) 100px 136px, var(--night) 136px 144px,
      #e9c46a 144px 160px, var(--night) 160px 168px);
  background-size: 168px 100%;
}
.kente.animated { animation: kente-slide 30s linear infinite; }
@keyframes kente-slide { to { background-position: 168px 0; } }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(253, 251, 247, .94); backdrop-filter: blur(10px);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(27, 24, 19, .08); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; }
.brand-text small { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); margin-top: 4px; }

.menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu > li { position: relative; }
.menu > li > a, .menu > li > button {
  font: 600 .95rem var(--f-body); color: var(--ink); text-decoration: none; background: none; border: 0;
  padding: 10px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  transition: background .2s;
}
.menu > li > a:hover, .menu > li > button:hover, .menu > li > a[aria-current="page"] { background: var(--sand); }
.menu .chev { width: 10px; height: 10px; transition: transform .25s; }
.has-mega.open .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  width: min(760px, 92vw); background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px rgba(22, 33, 63, .16); padding: 18px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a {
  display: flex; gap: 12px; align-items: flex-start; text-decoration: none; padding: 12px; border-radius: 12px;
  transition: background .2s;
}
.mega a:hover { background: var(--sand); }
.mega .dot { width: 34px; height: 34px; border-radius: 10px; flex: none; display: grid; place-items: center; color: #fff; }
.mega .dot svg { width: 18px; height: 18px; }
.mega b { display: block; font-size: .9rem; line-height: 1.25; }
.mega span.sub { display: block; font-size: .78rem; color: var(--ink-soft); line-height: 1.35; margin-top: 2px; }

.lang-switch { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; margin-left: 8px; }
.lang-switch button {
  font: 700 .78rem var(--f-body); letter-spacing: .08em; padding: 7px 12px; border: 0; background: transparent;
  color: var(--ink); cursor: pointer; transition: background .2s, color .2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav-panel {
    position: fixed; inset: calc(76px + env(safe-area-inset-top, 0px)) 0 0 0; background: var(--paper);
    padding: 18px var(--gutter-r) 40px var(--gutter); overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .nav-open .nav-panel { transform: none; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; gap: 2px; }
  .menu > li > a, .menu > li > button { width: 100%; justify-content: space-between; font-size: 1.1rem; padding: 14px 8px; border-radius: 10px; }
  .mega {
    position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 0 0 8px;
    grid-template-columns: 1fr; display: none; opacity: 1; visibility: visible;
  }
  .has-mega.open .mega { display: grid; transform: none; }
  .lang-switch { margin: 16px 8px 0; align-self: flex-start; }
}

/* ---------- Visuels (photo + illustration de secours) ---------- */
.visual {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, var(--c1, var(--night)), var(--c2, var(--clay)));
}
.visual::before { /* motif bogolan */
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96' fill='none' stroke='%23fff' stroke-width='2'%3E%3Cpath d='M0 12l12-10 12 10 12-10 12 10 12-10 12 10 12-10 12 10'/%3E%3Cpath d='M0 84l12-10 12 10 12-10 12 10 12-10 12 10 12-10 12 10'/%3E%3Ccircle cx='24' cy='48' r='4'/%3E%3Ccircle cx='72' cy='48' r='4'/%3E%3Cpath d='M44 40l8 8-8 8M52 40l-8 8 8 8' /%3E%3Cpath d='M8 30h16M72 30h16M8 66h16M72 66h16'/%3E%3C/svg%3E");
  background-size: 96px 96px;
}
.visual .glyph {
  position: absolute; z-index: 0; right: -4%; bottom: -10%; width: 62%; max-width: 420px; aspect-ratio: 1;
  color: rgba(255, 255, 255, .22);
}
.visual .glyph svg { width: 100%; height: 100%; stroke-width: 1.1; }
.visual img.photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
  transition: transform 1.2s var(--ease);
}
.visual .shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

/* ---------- Héros d'accueil (diaporama) ---------- */
.hero { position: relative; color: var(--on-dark); background: var(--night); }
.slides { position: relative; min-height: clamp(520px, 78vh, 760px); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.slide.active { opacity: 1; visibility: visible; }
.slide .visual { position: absolute; inset: 0; }
.slide .shade { background: linear-gradient(90deg, rgba(14, 22, 48, .88) 0%, rgba(14, 22, 48, .55) 50%, rgba(14, 22, 48, .1) 100%); }
.slide.active img.photo { animation: kenburns 9s var(--ease) both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide-content {
  position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center;
  gap: 22px; padding-block: 80px 120px; max-width: 760px;
}
.slide .eyebrow { color: #f2c46d; }
.slide h1, .slide h2 { font-size: clamp(1.9rem, 5.4vw, 4rem); font-weight: 700; }
.slide p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--on-dark-soft); max-width: 52ch; }
.slide.active .anim { animation: rise .9s var(--ease) both; }
.slide.active .anim:nth-child(2) { animation-delay: .12s; }
.slide.active .anim:nth-child(3) { animation-delay: .24s; }
.slide.active .anim:nth-child(4) { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.slider-ui {
  position: absolute; z-index: 4; left: 0; right: 0; bottom: 34px;
  display: flex; align-items: center; gap: 18px;
}
.slider-dots { display: flex; gap: 10px; flex-wrap: wrap; }
.slider-dots button {
  position: relative; width: 54px; height: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .3);
  cursor: pointer; border-radius: 2px; overflow: hidden;
}
.slider-dots button::after {
  content: ""; position: absolute; inset: 0; background: #f2c46d; transform: scaleX(0); transform-origin: left;
}
.slider-dots button.active::after { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.paused .slider-dots button.active::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
.slider-label { font-size: .85rem; color: var(--on-dark-soft); letter-spacing: .06em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; font: 700 .95rem var(--f-body); text-decoration: none;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--ochre); color: var(--ink); }
.btn-primary:hover { background: #e9a23e; }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.sand { background: var(--sand); }
.section.dark { background: var(--night); color: var(--on-dark); }
.section.dark .lead { color: var(--on-dark-soft); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 820px; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); font-weight: 700; }
.split-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); }
.split-head .section-head { margin-bottom: 0; }

/* Intro du groupe */
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.intro-grid .big {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.2;
}
.intro-grid .big em { font-style: normal; color: var(--clay); }
.intro-side { display: grid; gap: 22px; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }

/* Grille des entreprises */
.biz-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .biz-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .biz-grid { grid-template-columns: 1fr; } }
.biz-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--on-dark);
  border-radius: var(--radius); overflow: hidden; min-height: 380px; background: var(--night);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.biz-card .visual { position: absolute; inset: 0; }
.biz-card .shade { background: linear-gradient(180deg, rgba(14, 22, 48, 0) 25%, rgba(14, 22, 48, .88) 100%); }
.biz-card:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(22, 33, 63, .25); }
.biz-card:hover img.photo { transform: scale(1.06); }
.biz-card:hover .glyph { transform: rotate(-6deg) scale(1.05); }
.biz-card .glyph { transition: transform .8s var(--ease); }
.biz-body { position: relative; z-index: 3; margin-top: auto; padding: 26px; display: grid; gap: 8px; }
.biz-body .tag { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f2c46d; }
.biz-body h3 { font-size: 1.55rem; font-weight: 700; }
.biz-body p { color: var(--on-dark-soft); font-size: .95rem; line-height: 1.5; }
.biz-body .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; margin-top: 6px; }
.biz-body .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.biz-card:hover .more svg { transform: translateX(5px); }

/* Mise en avant (feature) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 30px 70px rgba(22, 33, 63, .12); }
.feature .visual { min-height: 440px; }
.feature-body { padding: clamp(28px, 5vw, 64px); display: grid; gap: 20px; align-content: center; }
.feature-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 700; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 3px; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } .feature .visual { min-height: 280px; } }

/* Chiffres / objectifs */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(246, 241, 230, .2); }
.stat { padding: 34px 24px 10px 0; display: grid; gap: 8px; align-content: start; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(246, 241, 230, .2); }
.stat .num { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: #f2c46d; font-variant-numeric: tabular-nums; }
.stat p { color: var(--on-dark-soft); font-size: .95rem; }
.stats-note { margin-top: 26px; font-size: .8rem; color: var(--on-dark-soft); letter-spacing: .04em; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(246, 241, 230, .2); }
}

/* Bandeau fondation / CTA */
.cta-band { position: relative; border-radius: 22px; overflow: hidden; color: var(--on-dark); }
.cta-band .visual { position: absolute; inset: 0; }
.cta-band .shade { background: linear-gradient(90deg, rgba(14, 22, 48, .85), rgba(14, 22, 48, .35)); }
.cta-inner { position: relative; z-index: 3; padding: clamp(36px, 7vw, 90px); display: grid; gap: 20px; max-width: 700px; }
.cta-inner h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; }
.cta-inner p { color: var(--on-dark-soft); }
.cta-inner .eyebrow { color: #f2c46d; }

/* ---------- Pages filiales ---------- */
.page-hero { position: relative; color: var(--on-dark); background: var(--night); }
.page-hero .visual { position: absolute; inset: 0; }
.page-hero .shade { background: linear-gradient(90deg, rgba(14, 22, 48, .9) 0%, rgba(14, 22, 48, .6) 55%, rgba(14, 22, 48, .2) 100%); }
.page-hero-inner { position: relative; z-index: 3; padding-block: clamp(80px, 12vw, 150px) clamp(60px, 9vw, 110px); display: grid; gap: 20px; max-width: 820px; }
.page-hero .eyebrow { color: #f2c46d; }
.page-hero h1 { font-size: clamp(1.9rem, 7vw, 3.9rem); font-weight: 700; overflow-wrap: anywhere; }
.page-hero h1 .pre { display: block; font-size: .42em; letter-spacing: .2em; color: var(--on-dark-soft); margin-bottom: 8px; }
.page-hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--on-dark-soft); max-width: 58ch; }
.page-hero .anim { animation: rise .9s var(--ease) both; }
.page-hero .anim:nth-child(2) { animation-delay: .1s; }
.page-hero .anim:nth-child(3) { animation-delay: .2s; }
.page-hero .anim:nth-child(4) { animation-delay: .3s; }
.status-pill {
  display: inline-flex; align-items: center; gap: 10px; align-self: start; justify-self: start;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 600;
}
.status-pill i { width: 9px; height: 9px; border-radius: 50%; background: #f2c46d; box-shadow: 0 0 0 0 rgba(242, 196, 109, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(242, 196, 109, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 196, 109, 0); } }

.mission { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); }
.mission h2 { font-size: clamp(1.5rem, 3.2vw, 2.5rem); font-weight: 700; }
.mission .text { display: grid; gap: 18px; font-size: 1.08rem; color: var(--ink-soft); }
.mission .text p:first-child { font-size: clamp(1.2rem, 2vw, 1.5rem); color: var(--ink); font-weight: 600; line-height: 1.45; }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; } }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.offer {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.offer::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.offer:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 33, 63, .1); }
.offer:hover::after { transform: scaleX(1); }
.offer .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.offer .ico svg { width: 26px; height: 26px; }
.offer h3 { font-size: 1.2rem; font-weight: 700; font-family: var(--f-display); }
.offer p { color: var(--ink-soft); font-size: .97rem; line-height: 1.6; }

/* Produits SoftSolution */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .products { grid-template-columns: 1fr; } }
.product {
  border-radius: var(--radius); padding: 28px; display: grid; gap: 16px; align-content: start; min-height: 230px;
  background: var(--night); color: var(--on-dark); position: relative; overflow: hidden;
  transition: transform .35s var(--ease);
}
.product:hover { transform: translateY(-5px) rotate(-.4deg); }
.product::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--pc, var(--ochre)); opacity: .9; transition: transform .6s var(--ease); }
.product:hover::before { transform: scale(1.25); }
.product .mono { position: relative; width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; }
.product h3 { font-size: 1.45rem; font-weight: 700; position: relative; }
.product .soon { justify-self: start; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); color: #f2c46d; }
.product p { color: var(--on-dark-soft); font-size: .92rem; }

/* Étapes (processus réel) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 24px 0 0; display: grid; gap: 12px; align-content: start; position: relative; }
.step .n { font-family: var(--f-display); font-weight: 700; font-size: 1rem; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; position: relative; z-index: 1; }
.step::before { content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 14px); opacity: .5; }
.step:last-child::before { display: none; }
.step h3 { font-size: 1.12rem; font-weight: 700; font-family: var(--f-display); }
.step p { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { padding: 0 0 0 64px; }
  .step .n { position: absolute; left: 0; top: 0; }
  .step::before { top: 46px; bottom: -26px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 14px); }
}

/* Objectifs */
.goals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.goal { border-top: 3px solid var(--accent); padding-top: 20px; display: grid; gap: 10px; align-content: start; }
.goal b { font-family: var(--f-display); font-size: 1.15rem; }
.goal p { color: var(--ink-soft); font-size: .96rem; }
.section.dark .goal p { color: var(--on-dark-soft); }
@media (max-width: 860px) { .goals { grid-template-columns: 1fr; } }

/* Navigation entre filiales */
.siblings { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sib { display: flex; align-items: center; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--sand); text-decoration: none; transition: background .3s, transform .3s var(--ease); }
.sib:hover { background: var(--line); transform: translateY(-3px); }
.sib.next { justify-content: flex-end; text-align: right; }
.sib small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); font-weight: 700; }
.sib b { font-family: var(--f-display); font-size: clamp(1.05rem, 2vw, 1.4rem); }
.sib svg { width: 22px; height: 22px; flex: none; }
@media (max-width: 620px) { .siblings { grid-template-columns: 1fr; } .sib.next { justify-content: space-between; } }

/* ---------- À propos ---------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value { padding: 26px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; transition: transform .35s var(--ease), border-color .35s; }
.value:hover { transform: translateY(-4px); border-color: var(--ochre); }
.value .ico { color: var(--clay); }
.value .ico svg { width: 30px; height: 30px; }
.value h3 { font-family: var(--f-display); font-size: 1.1rem; }
.value p { font-size: .93rem; color: var(--ink-soft); }
@media (max-width: 1100px) { .values { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .values { grid-template-columns: 1fr; } }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.vm { border-radius: 22px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 16px; align-content: start; }
.vm.v { background: var(--night); color: var(--on-dark); }
.vm.m { background: var(--ochre); color: var(--ink); }
.vm h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; }
.vm p { font-size: 1.08rem; }
.vm.v p { color: var(--on-dark-soft); }
@media (max-width: 760px) { .vm-grid { grid-template-columns: 1fr; } }

.letter { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.letter .portrait { aspect-ratio: 4/5; border-radius: 18px; --c1: #2a3b6e; --c2: #a8402a; }
.letter .portrait .glyph { right: 10%; bottom: 8%; width: 80%; }
.letter blockquote { margin: 0; display: grid; gap: 18px; font-size: 1.1rem; color: var(--ink-soft); max-width: 68ch; }
.letter blockquote p:first-child { font-family: var(--f-display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; color: var(--ink); line-height: 1.25; }
.letter .sign { font-weight: 700; color: var(--ink); }
.letter .sign span { display: block; font-weight: 500; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .letter { grid-template-columns: 1fr; } .letter .portrait { max-width: 220px; } }

.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.phase { padding: 28px; border-radius: var(--radius); border: 1px solid rgba(246, 241, 230, .2); display: grid; gap: 12px; align-content: start; }
.phase .ph { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #f2c46d; }
.phase h3 { font-family: var(--f-display); font-size: 1.3rem; }
.phase p { color: var(--on-dark-soft); font-size: .95rem; }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }

.biz-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.biz-list a { display: flex; align-items: center; gap: 14px; padding: 20px 8px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 700; transition: padding .3s var(--ease), color .3s; }
.biz-list a:hover { padding-left: 16px; color: var(--clay); }
.biz-list .dot { width: 12px; height: 12px; border-radius: 4px; flex: none; transform: rotate(45deg); }
@media (max-width: 860px) { .biz-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .biz-list { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--night-2); color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 70px 50px; }
.site-footer .brand-text small { color: var(--on-dark-soft); }
.site-footer h4 { font-family: var(--f-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .16em; color: #f2c46d; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-dark-soft); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-about p { color: var(--on-dark-soft); margin-top: 18px; max-width: 34ch; font-size: .95rem; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark-soft); font-size: .95rem; }
.contact-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #f2c46d; }
.contact-list .val { user-select: all; }
.footer-bottom { border-top: 1px solid rgba(246, 241, 230, .12); padding-block: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--on-dark-soft); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Apparition au défilement ----------
   Le contenu est visible par défaut ; l'animation ne joue que lorsque
   l'élément entre dans l'écran. */
.reveal.in { animation: rise .9s var(--ease) both; }
.reveal.in.d1 { animation-delay: .08s; }
.reveal.in.d2 { animation-delay: .16s; }
.reveal.in.d3 { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
