/* ============================================================
   MINEDOS CONSULTING — site statique (page d'accueil + pages légales, français)
   Palette : bleu marine (fonds sombres), bleu #2E86DE (accents logo),
   jaune #FFD74B (accent), teal (liens / sections claires)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --teal-dark: #005151;
  --teal: #016665;
  --primary: #1D857F;
  --primary-light: #BFDDDA;
  --primary-lighter: #E8F4F2;
  --navy-hero: #22334E;
  --navy: #1C2C49;
  --navy-dark: #16233A;
  --navy-text: #1F2D45;
  --blue: #2E86DE;
  --blue-light: #9CC3EF;
  --blue-pale: #EAF2FB;
  --yellow: #FFD74B;
  --yellow-light: #FCEE77;
  --yellow-dark: #E3BF43;
  --headers: #263C47;
  --text: #1C2B33;
  --text-muted: #4A5E6A;
  --border: #D5E3E1;
  --focus: #FFB800;
  --hero-grad: linear-gradient(150deg, #22334E 39.58%, rgba(34, 51, 78, 0.35) 131.95%);
  --shadow: 0 2px 12px rgba(28, 43, 51, 0.08);
  --shadow-lg: 0 8px 28px rgba(28, 43, 51, 0.14);
  --font-serif: "Petrona", serif;
  --font-sans: "Source Sans Pro", sans-serif;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font: 400 18px/1.65 var(--font-sans);
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4 {
  font: 500 1em/1.2 var(--font-serif);
  color: var(--headers);
  margin: 0 0 24px;
}
h1 { font-size: 48px; }
h2 { font-size: 38px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }

p { font-size: 20px; margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--text-muted); }

img { display: block; max-width: 100%; }

::selection { background: var(--yellow); }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.container--narrow { max-width: 820px; }

.eyebrow {
  display: block;
  font: 600 16px var(--font-sans);
  color: var(--teal);
  margin-bottom: 8px;
}

/* ---------- Boutons (.cta) ---------- */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  min-width: 168px;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: 600 16px var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.cta.primary { background: var(--yellow); color: var(--text); }
.cta.primary:hover { background: var(--yellow-dark); }

.cta.secondary { background: transparent; border-color: var(--teal); color: var(--teal); }
.cta.secondary:hover { background: var(--primary-lighter); }

.cta.on-dark { background: transparent; border-color: #fff; color: #fff; }
.cta.on-dark:hover { background: rgba(255, 255, 255, 0.15); }

/* Variante contour noir : bandeau jaune clair + section jaune */
.cta.secondary.dark { border-color: var(--text); color: var(--text); }
.cta.secondary.dark:hover { background: rgba(255, 255, 255, 0.5); }

/* ============================================================
   1. NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  z-index: 9999;
  background: transparent;
  transition: background-color 600ms ease, box-shadow 600ms ease;
}
.navbar.scrolled,
.navbar.is-scrolled,
.navbar.menu-open {
  background: #fff;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}
.navbar.menu-open { box-shadow: none; }

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Logo officiel : fichier original, présenté en badge net */
.brand-logo {
  display: block;
  height: 46px;
  width: auto;
  border-radius: 7px;
  box-shadow: 0 1px 6px rgba(10, 18, 32, 0.22);
}
.brand-logo--footer { height: 50px; }

.navbar__nav { display: flex; align-items: center; gap: 32px; }

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.navbar__link {
  font: 400 16px var(--font-sans);
  color: #fff;
  text-decoration: none;
  transition: color 600ms ease;
}
.navbar.scrolled .navbar__link,
.navbar.is-scrolled .navbar__link { color: var(--text); }
.navbar__link.is-active {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px;
  text-underline-offset: 10px;
}
.navbar.is-scrolled .navbar__link.is-active { text-decoration-color: var(--blue); }

/* Bouton Nous joindre : on-dark quand transparent, secondary quand scrolled */
.navbar__cta { border-color: #fff; color: #fff; }
.navbar__cta:hover { background: rgba(255, 255, 255, 0.15); }
.navbar.scrolled .navbar__cta,
.navbar.is-scrolled .navbar__cta { border-color: var(--teal); color: var(--teal); }
.navbar.scrolled .navbar__cta:hover,
.navbar.is-scrolled .navbar__cta:hover { background: var(--primary-lighter); }

/* Dropdown Services */
.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 340px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 8px 16px;
  font: 400 16px var(--font-sans);
  color: var(--text);
  text-decoration: none;
}
.dropdown a:hover { background: var(--primary-lighter); color: var(--teal); }

/* Hamburger (< 992px) */
.navbar__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}
.navbar__toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy-hero);
  transition: transform 200ms ease, opacity 200ms ease;
}
.navbar__toggle.open .navbar__toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.navbar__toggle.open .navbar__toggle-bar:nth-child(2) { opacity: 0; }
.navbar__toggle.open .navbar__toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: #fff;
  padding: 104px 24px 48px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease, visibility 300ms;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu__link {
  font: 600 20px var(--font-sans);
  color: var(--text);
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu__link:hover { color: var(--teal); }
.mobile-menu .cta { margin-top: 24px; }

/* ============================================================
   2. HERO (photographie + voile marine, devise institutionnelle)
   ============================================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: #1B2A44;
  overflow: hidden;
  padding: 160px 0 110px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(22, 35, 58, 0.88) 0%, rgba(22, 35, 58, 0) 34%),
    linear-gradient(100deg, rgba(22, 35, 58, 0.96) 0%, rgba(28, 44, 73, 0.9) 40%, rgba(34, 51, 78, 0.62) 74%, rgba(34, 51, 78, 0.38) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__title {
  color: #fff;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.14;
  margin-bottom: 22px;
}
.hero__title-accent { color: var(--yellow); }

.hero__text {
  color: rgba(255, 255, 255, 0.92);
  font-size: 21px;
  max-width: 620px;
  margin-bottom: 0;
}

.hero__eyebrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 600 15px var(--font-sans);
  letter-spacing: 0.4px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 26px;
  padding-bottom: 4px;
}
.hero__eyebrow-link:hover { text-decoration: underline; text-underline-offset: 6px; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

/* ============================================================
   3. CONVICTION
   ============================================================ */
.conviction { padding: 96px 0; background: #fff; }

.conviction__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.conviction__content { flex: 0 1 475px; }
.conviction__media { flex: 1 1 50%; }
.conviction__media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   4. ENGAGEMENTS (bande bleu marine)
   ============================================================ */
.engagements {
  background: var(--navy);
  color: #fff;
  padding: 88px 24px;
  text-align: center;
}
.engagements h2 { color: #fff; }

.engagements__row {
  display: flex;
  margin-top: 48px;
}
.engagement { flex: 1; padding: 0 24px; }
.engagement + .engagement { border-left: 1px solid rgba(255, 255, 255, 0.35); }

.engagement__title {
  font: 600 24px/1.3 var(--font-sans);
  color: var(--yellow);
  margin: 0 0 8px;
}
.engagement__desc {
  font: 400 16px/1.6 var(--font-sans);
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

/* ============================================================
   5. EXPERTISES
   ============================================================ */
.expertise { padding: 96px 0; background: #fff; }
.expertise h2 { text-align: center; }

.expertise__intro {
  max-width: 768px;
  margin: 0 auto 8px;
  text-align: center;
  color: var(--text-muted);
}

/* Onglets */
.expertise__tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}
.expertise__tab {
  width: 220px;
  padding: 8px 4px;
  background: none;
  border: none;
  border-bottom: 9px solid transparent;
  font: 400 15px/1.4 var(--font-sans);
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease;
}
.expertise__tab:hover { border-bottom-color: rgba(46, 134, 222, 0.5); }
.expertise__tab.is-active {
  border-bottom-color: var(--blue);
  font-weight: 600;
}

/* Carrousel */
.expertise__carousel {
  position: relative;
  margin-top: 48px;
  padding: 0 72px;
}
.expertise__viewport { overflow: hidden; }
.expertise__track {
  display: flex;
  transition: transform 500ms ease;
}

.expertise__slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 64px;
}
.expertise__slide[aria-hidden="true"] { visibility: hidden; }

.expertise__media img {
  width: 480px;
  aspect-ratio: 5 / 4;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.expertise__content { max-width: 500px; }
.expertise__content h3 { font-size: 32px; }

.expertise__tagline {
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 16px;
}

.expertise__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.expertise__list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  line-height: 1.55;
}
.expertise__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 9px;
  height: 9px;
  background: var(--yellow);
  border-radius: 2px;
}

/* Flèches */
.expertise__controls { height: 0; }
.expertise__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--headers);
  cursor: pointer;
  transition: background-color 200ms ease;
}
.expertise__arrow:hover { background: var(--yellow); }
.expertise__arrow--prev { left: 0; }
.expertise__arrow--next { right: 0; }

/* ============================================================
   6. APPROCHE (4 étapes)
   ============================================================ */
.approche {
  background: var(--primary-lighter);
  padding: 96px 0;
  text-align: center;
}
.approche__intro {
  max-width: 768px;
  margin: 0 auto;
  color: var(--text-muted);
}

.approche__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  text-align: left;
}
.approche__num {
  display: block;
  font: 400 36px/1.1 var(--font-serif);
  color: var(--blue);
  margin-bottom: 8px;
}
.approche__step h3 {
  font: 600 18px/1.3 var(--font-sans);
  color: var(--headers);
  margin: 0 0 8px;
}
.approche__step p {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   7. NOTRE REGARD
   ============================================================ */
.regard {
  background: #fff;
  padding: 96px 0;
}
.regard__inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.regard__content { flex: 0 1 580px; }
.regard__media { flex: 1 1 45%; }
.regard__media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   8. ÉQUIPE
   ============================================================ */
.equipe {
  background: var(--primary-lighter);
  padding: 96px 0;
  text-align: center;
}
.equipe__intro {
  max-width: 640px;
  margin: 0 auto 56px;
  color: var(--text-muted);
}

.equipe__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

.member {
  flex: 0 1 256px;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.member:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.member__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--blue-pale);
}
.member__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.member:hover .member__photo img { transform: scale(1.04); }

.member__body { padding: 20px 20px 26px; }

.member__name {
  font: 600 19px/1.3 var(--font-sans);
  color: var(--headers);
  margin: 0 0 6px;
}
.member__role {
  font: 400 14.5px/1.5 var(--font-sans);
  color: var(--teal);
  margin: 0;
}

/* ============================================================
   9. PERSPECTIVES
   ============================================================ */
.insights { padding: 96px 0; background: #fff; }

.insights__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.insights__intro { max-width: 576px; }
.insights__intro p { margin-bottom: 0; }

.insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Cartes */
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 24px;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.card:hover .card__media img { transform: scale(1.08); }

.card__tag {
  display: block;
  font: 600 14px var(--font-sans);
  color: var(--teal);
  margin-bottom: 8px;
}
.card__title {
  font: 600 18px/1.4 var(--font-sans);
  color: var(--headers);
  margin: 0 0 8px;
}
.card__excerpt {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.card__more {
  margin-top: auto;
  font: 600 16px var(--font-sans);
  color: var(--teal);
  opacity: 0;
  transition: opacity 200ms ease;
}
.card:hover .card__more,
.card:focus-within .card__more { opacity: 1; }

/* ============================================================
   10. BANDEAU FORMATION
   ============================================================ */
.banner {
  background: var(--yellow-light);
  padding: 16px 0;
}
.banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}
.banner__text {
  font: 600 18px var(--font-sans);
  color: var(--text);
  margin: 0;
}

/* ============================================================
   11. CONTACT
   ============================================================ */
.help {
  position: relative;
  background: var(--yellow);
  padding: 88px 0;
  text-align: center;
  overflow: hidden;
}

.help__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.help__circle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.help__circle--md {
  width: 785px;
  height: 785px;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0.25) 100%);
}
.help__circle--lg {
  width: 1140px;
  height: 1140px;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
}

.help__content { position: relative; z-index: 1; }
.help__content h2 { color: var(--headers); }
.help__text { max-width: 560px; margin: 0 auto 8px; }
.help__coords {
  font: 600 16px var(--font-sans);
  color: var(--navy-text);
  margin-bottom: 0;
}
.help__coords a { color: inherit; }
.help__content .cta { margin-top: 20px; }

/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: #fff;
  padding: 56px 0 40px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer__brand .navbar__brand { margin-bottom: 24px; }

.footer__social { display: flex; gap: 16px; }
.footer__social a {
  color: #fff;
  transition: opacity 200ms ease;
}
.footer__social a:hover { opacity: 0.7; }

.footer__heading {
  font: 700 16px var(--font-sans);
  color: #fff;
  margin: 0 0 16px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__list a,
.footer__address a {
  font: 400 16px var(--font-sans);
  color: #fff;
  text-decoration: none;
}
.footer__list a:hover,
.footer__address a:hover { color: var(--yellow); }

.footer__address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.65;
}

.footer__signature {
  max-width: 640px;
  margin: 48px auto 0;
  text-align: center;
  font-size: 14px;
  color: #D7E1EE;
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.footer__copy {
  margin: 0;
  font-size: 14px;
  color: #D7E1EE;
}
.footer__legal-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
}
.footer__legal-links a {
  font-size: 14px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 4px;
}
.footer__legal-links a:hover { color: var(--yellow); text-decoration-color: var(--yellow); }

/* ============================================================
   13. PAGES LÉGALES
   ============================================================ */
.legal-hero {
  background:
    linear-gradient(to top, rgba(22, 35, 58, 0.65), rgba(22, 35, 58, 0) 55%),
    linear-gradient(150deg, #22334E 30%, #2A3F61 100%);
  color: #fff;
  padding: 172px 0 64px;
}
.legal-hero__eyebrow {
  font: 600 13px var(--font-sans);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin: 0 0 14px;
}
.legal-hero__title {
  color: #fff;
  font-size: clamp(32px, 4.2vw, 46px);
  margin-bottom: 14px;
}
.legal-hero__intro {
  color: #E7EDF6;
  font-size: 20px;
  max-width: 640px;
  margin-bottom: 22px;
}
.legal-hero__version {
  display: inline-block;
  font: 600 13.5px var(--font-sans);
  color: #C9D6E9;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  margin: 0;
}

.legal-body { padding: 72px 0 96px; background: #fff; }

.legal-toc {
  background: var(--primary-lighter);
  border-left: 4px solid var(--teal);
  border-radius: 12px;
  padding: 26px 32px;
  margin-bottom: 24px;
}
.legal-toc__title {
  font: 600 18px/1.3 var(--font-sans);
  color: var(--headers);
  margin: 0 0 10px;
}
.legal-toc__list {
  margin: 0;
  padding-left: 20px;
  font-size: 16px;
  line-height: 2;
}
.legal-toc__list a { color: var(--teal); }

.legal-body__heading {
  font-size: 26px;
  margin: 44px 0 14px;
}

.legal-body p {
  font-size: 17px;
  line-height: 1.78;
  color: #2A3B47;
}
.legal-body p a { color: var(--teal); }

.legal-list {
  margin: 0 0 20px;
  padding-left: 22px;
}
.legal-list li {
  font-size: 17px;
  line-height: 1.72;
  color: #2A3B47;
  margin-bottom: 10px;
}

.legal-back { margin-top: 64px; }

/* ============================================================
   APPARITION DISCRÈTE AU DÉFILEMENT
   ============================================================ */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
html.js .approche__steps .reveal:nth-child(2),
html.js .equipe__grid .reveal:nth-child(2),
html.js .insights__grid .reveal:nth-child(2) { transition-delay: 70ms; }
html.js .approche__steps .reveal:nth-child(3),
html.js .equipe__grid .reveal:nth-child(3),
html.js .insights__grid .reveal:nth-child(3) { transition-delay: 140ms; }
html.js .approche__steps .reveal:nth-child(4),
html.js .equipe__grid .reveal:nth-child(4) { transition-delay: 210ms; }
html.js .equipe__grid .reveal:nth-child(5) { transition-delay: 210ms; }
html.js .equipe__grid .reveal:nth-child(6) { transition-delay: 280ms; }
html.js .equipe__grid .reveal:nth-child(7) { transition-delay: 280ms; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .expertise__media img { width: 420px; }
}

@media (max-width: 991px) {
  /* Navbar → hamburger */
  .navbar { height: 74px; }
  .brand-logo { height: 40px; }
  .navbar__nav { display: none; }
  .navbar__toggle { display: flex; }

  .hero { min-height: 0; padding: 140px 0 84px; }

  /* Onglets → pastilles 12px */
  .expertise__tabs { gap: 8px; }
  .expertise__tab {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 0;
    font-size: 0;
    background: var(--primary-light);
  }
  .expertise__tab:hover { background: rgba(46, 134, 222, 0.5); }
  .expertise__tab.is-active { background: var(--blue); }

  /* Carrousel empilé + flèches sous la slide */
  .expertise__carousel { padding: 0; }
  .expertise__slide {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .expertise__media { width: 100%; display: flex; justify-content: center; }
  .expertise__media img {
    width: 78%;
    max-width: 460px;
  }
  .expertise__content { display: flex; flex-direction: column; align-items: center; }
  .expertise__list { text-align: left; }
  .expertise__arrow { position: static; transform: none; }
  .expertise__controls {
    height: auto;
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
  }

  .approche__steps { grid-template-columns: repeat(2, 1fr); }

  .insights__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .insights__grid { grid-template-columns: repeat(2, 1fr); }

  .member { flex: 0 1 30%; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; }

  .legal-hero { padding-top: 148px; }
}

@media (max-width: 767px) {
  h1 { font-size: 36px; }
  h2 { font-size: 30px; }
  h3 { font-size: 24px; }
  h4 { font-size: 22px; }
  p { font-size: 16px; }

  .brand-logo { height: 37px; border-radius: 6px; }
  .brand-logo--footer { height: 44px; }

  .hero { padding: 126px 0 68px; }
  .hero__title { font-size: clamp(30px, 8.4vw, 38px); }
  .hero__text { font-size: 18px; }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__actions .cta { width: 100%; }

  /* Sections 2 colonnes → empilées */
  .conviction__inner,
  .regard__inner { flex-direction: column; text-align: center; gap: 40px; }
  .conviction__content,
  .regard__content { display: flex; flex-direction: column; align-items: center; flex: 0 1 auto; }
  .regard__inner { flex-direction: column-reverse; }
  .conviction__media img,
  .regard__media img { height: 300px; }

  /* Engagements empilés */
  .engagements__row {
    flex-direction: column;
    width: 88%;
    margin: 48px auto 0;
  }
  .engagement { padding: 24px 0; }
  .engagement + .engagement {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
  }

  .approche__steps { grid-template-columns: 1fr; }
  .insights__grid { grid-template-columns: 1fr; }
  .member { flex: 0 1 44%; }
  .footer__grid { grid-template-columns: 1fr; }

  .legal-toc { padding: 22px 24px; }
}

@media (max-width: 575px) {
  .cta { width: 100%; }
  .banner__inner { flex-direction: column; }
}

@media (max-width: 479px) {
  .member { flex: 0 1 100%; }
  .expertise__media img { width: 92%; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
}
