/* =====================================================================
   MTM TECHNOLOGIES — Feuille de style principale
   Charte : marine #0A3866 · cobalt #1B5FA8 · orange #F37021 · beige #E8D9B8
   ===================================================================== */

/* ---------- Polices hébergées localement (aucun appel à Google Fonts — conforme RGPD) ---------- */
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/dm-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --navy: #0A3866;
  --navy-900: #062546;
  --cobalt: #1B5FA8;
  --orange: #F37021;
  --orange-600: #D95C12;
  --beige: #E8D9B8;
  --white: #FFFFFF;
  --pale: #F4F8FB;
  --ink: #0A3866;
  --text: #2B3D52;
  --muted: #5A6B7E;
  --line: #DCE5EE;
  --error: #C62828;
  --success: #1E7B47;

  --font-head: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "DM Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10,56,102,.06), 0 2px 8px rgba(10,56,102,.05);
  --shadow: 0 2px 6px rgba(10,56,102,.06), 0 12px 32px rgba(10,56,102,.08);
  --shadow-lg: 0 6px 16px rgba(10,56,102,.08), 0 24px 56px rgba(10,56,102,.12);
  --t: 300ms cubic-bezier(.2,.7,.2,1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 8vw, 112px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  color: var(--text); background: var(--white); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.1rem + 1.9vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1rem + .5vw, 1.35rem); font-weight: 600; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--pale { background: var(--pale); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Signature : le « circuit » orange issu du logo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head);
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-600);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--orange); border-radius: 2px; }
.eyebrow::after { content: ""; width: 7px; height: 7px; border: 2px solid var(--orange); border-radius: 50%; margin-left: -12px; background: var(--white); }
.section--pale .eyebrow::after { background: var(--pale); }
.section--navy .eyebrow { color: var(--beige); }
.section--navy .eyebrow::after { background: var(--navy); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  text-align: center; line-height: 1.25;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--t); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--cobalt); color: #fff; box-shadow: var(--shadow); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-600); color: #fff; box-shadow: 0 10px 24px rgba(243,112,33,.28); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--light:hover { background: #fff; color: var(--navy); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy); min-height: 44px; }
.link-arrow svg { width: 18px; height: 18px; color: var(--orange); transition: transform var(--t); }
.link-arrow:hover svg { transform: translateX(4px); }

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow var(--t), border-color var(--t);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(10,56,102,.06); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.brand { flex: none; display: flex; align-items: center; min-height: 44px; }
.brand img { height: 46px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px;
  font-family: var(--font-head); font-weight: 500; font-size: .92rem; color: var(--navy); white-space: nowrap;
  background: none; border: 0; cursor: pointer;
}
.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform var(--t);
}
.nav-link:hover { color: var(--cobalt); }
.nav-link:hover::after { transform: scaleX(.5); }
.nav-link[aria-current="page"]::after { transform: scaleX(1); }
.nav-link .chev { width: 14px; height: 14px; transition: transform var(--t); }

.has-sub:hover .chev, .has-sub.is-open .chev { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, 6px);
  min-width: 260px; list-style: none; margin: 0; padding: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.submenu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 10px; font-size: .93rem; color: var(--navy); }
.submenu a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 2px solid var(--orange); flex: none; transition: background var(--t); }
.submenu a:hover { background: var(--pale); color: var(--cobalt); }
.submenu a:hover::before { background: var(--orange); }

.header-tools { flex: none; display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang-switch button {
  min-width: 44px; min-height: 36px; padding: 0 10px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; color: var(--muted); letter-spacing: .04em; transition: background var(--t), color var(--t);
}
.lang-switch button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.socials { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--navy); transition: background var(--t), color var(--t); }
.socials a:hover { background: var(--pale); color: var(--orange); }
.socials svg { width: 18px; height: 18px; }

/* Bouton « Se connecter » (plateforme https://gps.mtm.sn) */
.btn-login {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border-radius: 999px;
  background: var(--orange); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .88rem; white-space: nowrap;
  transition: background var(--t), box-shadow var(--t), transform var(--t);
}
.btn-login svg { width: 17px; height: 17px; flex: none; }
.btn-login:hover { background: var(--orange-600); color: #fff; box-shadow: 0 8px 20px rgba(243,112,33,.28); }
.btn-login:active { transform: translateY(1px); }
.btn-login--mobile { display: none; }

.burger { display: none; width: 48px; height: 48px; border: 0; background: none; border-radius: 12px; cursor: pointer; place-items: center; color: var(--navy); }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: background var(--t); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t), top var(--t); }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }
.mobile-extras { display: none; }

@media (max-width: 1240px) { .header-tools .socials { display: none; } .header-tools { gap: 10px; } .btn-login { padding: 8px 14px; } .nav-link { padding: 8px 9px; font-size: .88rem; } .nav-link::after { left: 9px; right: 9px; } }
@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  /* backdrop-filter crée un bloc conteneur pour les enfants fixed : on le retire pour que le panneau occupe tout l'écran */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .brand img { height: 40px; }
  .burger { display: grid; }
  .header-tools { margin-left: auto; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(420px, 100%); background: #fff;
    display: block; overflow-y: auto; padding: 16px var(--gutter) 40px; transform: translateX(100%);
    transition: transform var(--t), visibility var(--t); visibility: hidden; box-shadow: -20px 0 40px rgba(10,56,102,.1);
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .nav-backdrop { position: fixed; inset: var(--header-h) 0 0 0; background: rgba(6,37,70,.4); opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t); z-index: -1; }
  .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; min-height: 56px; font-size: 1.05rem; padding: 8px 4px; }
  .nav-link::after { left: 4px; right: auto; width: 28px; bottom: 10px; }
  .submenu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px 8px; min-width: 0; display: none; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { transform: none; }
  .has-sub.is-open .submenu { display: block; transform: none; }
  .has-sub:hover .chev { transform: none; }
  .has-sub.is-open .chev { transform: rotate(180deg); }
  .btn-login--desktop { display: none; }
  .btn-login--mobile { display: flex; justify-content: center; width: 100%; min-height: 52px; margin-top: 24px; font-size: 1rem; }
  .mobile-extras { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
  .mobile-extras .socials { display: flex; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 380px) { .brand img { height: 34px; } .lang-switch button { min-width: 38px; padding: 0 6px; } .header-inner { gap: 8px; } }

/* =====================================================================
   HERO ACCUEIL
   ===================================================================== */
.hero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  min-height: min(88vh, 820px); display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,37,70,.92) 0%, rgba(6,37,70,.78) 38%, rgba(6,37,70,.25) 72%, rgba(6,37,70,.05) 100%),
    linear-gradient(0deg, rgba(6,37,70,.7) 0%, rgba(6,37,70,0) 40%);
}
.hero__content { padding-block: clamp(80px, 12vw, 140px) clamp(48px, 7vw, 88px); max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; margin-bottom: 26px;
  border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(232,217,184,.45);
  font-family: var(--font-head); font-size: .85rem; font-weight: 500; color: #fff; letter-spacing: .01em;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(243,112,33,.25); }
.hero__intro { font-size: clamp(1rem, .95rem + .25vw, 1.12rem); color: rgba(255,255,255,.88); max-width: 640px; margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Bande partenaires */
.partners { background: var(--navy-900); color: #fff; }
.partners__inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 40px; padding-block: 22px; }
.partners__label { font-family: var(--font-head); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--beige); }
.partners__list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 36px; list-style: none; margin: 0; padding: 0; }
.partners__list li { font-family: var(--font-head); font-weight: 600; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); letter-spacing: .02em; display: flex; align-items: center; gap: 36px; }
.partners__list li + li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-left: -36px; margin-right: 0; position: relative; left: -15px; }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-top: calc(var(--section-y) * -0.0); }
.stat { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px); text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line); }
.stat__num { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); color: var(--navy); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__num .plus { color: var(--orange); margin-right: 2px; }
.stat__label { margin-top: 10px; font-size: .95rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 767px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3)::before { display: none; } .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Section heading */
.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }

/* Cartes services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--pale); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 26px 26px 20px; display: flex; flex-direction: column; flex: 1; }
.card__num { font-family: var(--font-head); font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--orange-600); margin-bottom: 10px; }
.card__body p { color: var(--muted); font-size: .98rem; flex: 1; }
@media (max-width: 1023px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 679px) { .cards { grid-template-columns: 1fr; } }

/* CTA final */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px) clamp(24px, 6vw, 80px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0; max-width: 620px; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%;
  border: 2px solid rgba(243,112,33,.35); pointer-events: none;
}
.cta-band::before {
  content: ""; position: absolute; right: 40px; bottom: -160px; width: 280px; height: 280px; border-radius: 50%;
  border: 1px solid rgba(232,217,184,.22); pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }

/* =====================================================================
   PAGES INTÉRIEURES
   ===================================================================== */
.page-hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,37,70,.92) 0%, rgba(6,37,70,.7) 50%, rgba(6,37,70,.3) 100%); }
.page-hero .container { padding-block: clamp(72px, 11vw, 150px) clamp(48px, 7vw, 96px); }
.page-hero h1 { color: #fff; max-width: 780px; margin: 0; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 620px; margin: 18px 0 0; font-size: 1.08rem; }

.page-head { background: var(--pale); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head .container { padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); }
.page-head h1 { margin: 0; max-width: 860px; }
.page-head p { margin: 16px 0 0; max-width: 640px; font-size: 1.1rem; color: var(--muted); }
.page-head::after { content: ""; position: absolute; right: -100px; top: -140px; width: 380px; height: 380px; border-radius: 50%; border: 2px solid rgba(243,112,33,.22); }
.page-head::before { content: ""; position: absolute; right: 80px; top: 40px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--orange); }

/* À propos */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-intro p { font-size: 1.08rem; }
.about-intro p:first-of-type::first-letter { font-family: var(--font-head); font-weight: 700; color: var(--orange); float: left; font-size: 3.6em; line-height: .85; margin: 6px 12px 0 0; }
@media (max-width: 767px) { .about-intro { grid-template-columns: 1fr; } }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.feature { background: #fff; border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); position: relative; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--pale); color: var(--cobalt); margin-bottom: 22px; }
.feature__icon svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); font-size: .98rem; margin: 0; }
.feature h3 { margin-bottom: 12px; }
@media (max-width: 1023px) { .feature-grid { grid-template-columns: 1fr; } }

/* Services */
.quicknav { position: sticky; top: var(--header-h); z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.quicknav ul { list-style: none; margin: 0; padding: 12px 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.quicknav ul::-webkit-scrollbar { display: none; }
.quicknav a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; color: var(--navy); white-space: nowrap; font-family: var(--font-head); font-weight: 500; font-size: .88rem;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.quicknav a span { font-size: .72rem; color: var(--orange-600); font-weight: 600; }
.quicknav a:hover, .quicknav a.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.quicknav a.is-active span, .quicknav a:hover span { color: var(--beige); }

.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.svc + .svc { margin-top: clamp(64px, 9vw, 128px); }
.svc:nth-of-type(even) .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
/* Pas de liseré décalé : visuels alignés comme sur la page Contact */
.svc__body { position: relative; }
.svc__body .svc__index { font-family: var(--font-head); font-weight: 700; font-size: clamp(3.6rem, 2.6rem + 3vw, 5.6rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--beige); margin-bottom: 8px; letter-spacing: -0.04em; }
.svc__body p { font-size: 1.04rem; }
.svc-list { position: relative; isolation: isolate; }
@media (max-width: 899px) {
  .svc { grid-template-columns: 1fr; }
  .svc:nth-of-type(even) .svc__media { order: 0; }
}

/* Charte */
.bio { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.bio__portrait { position: sticky; top: calc(var(--header-h) + 32px); }
.bio__portrait img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; width: 100%; }
.bio__note { margin-top: 14px; font-size: .82rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.bio__note::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.bio__text p { font-size: 1.06rem; }
.bio__text p:first-child { font-size: 1.2rem; color: var(--navy); font-weight: 500; line-height: 1.6; }
.bio__text p:last-child { border-top: 1px solid var(--beige); padding-top: 1.4em; margin-top: 1.6em; }
@media (max-width: 899px) { .bio { grid-template-columns: 1fr; } .bio__portrait { position: static; max-width: 420px; } }

.commit-visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: clamp(28px, 4vw, 48px); }
.commit-visual img { width: 100%; aspect-ratio: 21/8; object-fit: cover; }
@media (max-width: 767px) { .commit-visual img { aspect-ratio: 16/10; } }
.commit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.commit { background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 40px); border: 1px solid var(--line); transition: transform var(--t), box-shadow var(--t); }
.commit:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.commit__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.commit__head h3 { margin: 0; }
.commit__n { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--orange); color: var(--orange-600); font-family: var(--font-head); font-weight: 600; font-size: .9rem; }
.commit p { margin: 0; color: var(--muted); }
@media (max-width: 767px) { .commit-grid { grid-template-columns: 1fr; } }

/* Témoignages */
.testi-feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; margin-bottom: clamp(32px, 4vw, 56px); }
.testi-feature::after { content: "\201C"; position: absolute; right: clamp(16px, 4vw, 48px); top: -40px; font-family: Georgia, serif; font-size: 18rem; line-height: 1; color: rgba(243,112,33,.18); pointer-events: none; }
.testi-feature img { width: clamp(120px, 16vw, 200px); height: clamp(120px, 16vw, 200px); border-radius: 50%; object-fit: cover; border: 4px solid var(--orange); }
.testi-feature blockquote { margin: 0; position: relative; z-index: 1; }
.testi-feature blockquote p { font-family: var(--font-head); font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); font-weight: 500; line-height: 1.4; color: #fff; margin-bottom: 22px; }
.testi-feature cite { font-style: normal; display: flex; align-items: center; gap: 12px; color: var(--beige); font-weight: 500; }
.testi-feature cite::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
@media (max-width: 679px) { .testi-feature { grid-template-columns: 1fr; text-align: left; } }

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.testi { background: #fff; border: 1px dashed #C4D2E0; border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.testi__badge { align-self: flex-start; font-size: .74rem; font-weight: 600; letter-spacing: .04em; color: #8A5A10; background: #FBF3E3; border: 1px solid var(--beige); padding: 4px 10px; border-radius: 999px; }
.testi blockquote { margin: 0; color: var(--muted); font-style: italic; font-size: .98rem; flex: 1; }
.testi blockquote p { margin: 0; }
.testi__who { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.testi__who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.testi__who strong { display: block; font-family: var(--font-head); color: var(--navy); font-weight: 600; font-size: .95rem; }
.testi__who span { font-size: .86rem; color: var(--muted); }
@media (max-width: 1023px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) { .testi-grid { grid-template-columns: 1fr; } }

/* Formulaires */
.form-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 899px) { .form-layout { grid-template-columns: 1fr; } .form-aside { order: -1; } }
.form-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(24px, 4vw, 48px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--navy); padding: 0; }
.field label .req, .field legend .req { color: var(--orange-600); }
.field label .opt { color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 1rem; color: var(--text); transition: border-color var(--t), box-shadow var(--t);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A3866' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9C9DA; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 4px rgba(27,95,168,.14); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: .86rem; line-height: 1.4; min-height: 0; }
.field-error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .94rem; transition: border-color var(--t), background var(--t), color var(--t); background: #fff; }
.chip span:hover { border-color: var(--cobalt); }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.qualif { grid-column: 1 / -1; display: grid; gap: 22px; padding: 24px; border-radius: 14px; background: var(--pale); border: 1px solid var(--line); animation: fadeUp 400ms cubic-bezier(.2,.7,.2,1); }
.qualif[hidden] { display: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); }
.form-success { display: flex; gap: 18px; align-items: flex-start; padding: clamp(24px, 4vw, 40px); background: #EEF8F2; border: 1px solid #BFE3CD; border-radius: var(--radius-lg); color: var(--success); animation: fadeUp 400ms cubic-bezier(.2,.7,.2,1); }
.form-success svg { width: 36px; height: 36px; flex: none; }
.form-success[hidden] { display: none; }
.form-success p { margin: 0; font-size: 1.1rem; font-weight: 500; line-height: 1.55; }
.form-aside img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hp { position: absolute; left: -9999px; }

.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 3px; }
.contact-list a { color: var(--navy); font-weight: 500; display: inline-block; min-height: 32px; }
.contact-list a:hover { color: var(--cobalt); }
.map { margin-top: 24px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; background: var(--pale); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 24px; color: var(--muted); font-size: .92rem;
  background-image: radial-gradient(circle at 50% 46%, rgba(243,112,33,.12) 0 34px, transparent 35px), repeating-linear-gradient(0deg, transparent 0 31px, rgba(10,56,102,.05) 31px 32px), repeating-linear-gradient(90deg, transparent 0 31px, rgba(10,56,102,.05) 31px 32px); }
.map__pin { width: 40px; height: 40px; color: var(--navy); }

/* Légal */
.legal-body { max-width: 780px; }
.legal-body h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-body h2:first-child { margin-top: 0; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,.78); font-size: .95rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange) 0 18%, var(--navy) 18% 100%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 88px) 40px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 20px; background: #fff; padding: 8px 12px; border-radius: 12px; box-sizing: content-box; }
.footer-slogan { font-family: var(--font-head); color: #fff; font-weight: 600; font-size: 1.1rem; line-height: 1.4; margin-bottom: 10px; }
.footer-tagline { color: var(--beige); font-size: .92rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--beige); font-weight: 600; margin-bottom: 18px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(255,255,255,.82); }
.footer-links a:hover { color: var(--orange); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 4px; }
.footer-contact a { color: #fff; display: inline-block; min-height: 28px; }
.footer-contact a:hover { color: var(--orange); }
.footer-follow { margin-top: 22px; }
.footer-follow p { margin: 0 0 8px; color: var(--beige); font-size: .88rem; }
.site-footer .socials a { color: #fff; border: 1px solid rgba(255,255,255,.2); width: 44px; height: 44px; margin-right: 6px; }
.site-footer .socials a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; font-size: .86rem; color: rgba(255,255,255,.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FLOTTANTS : WhatsApp, retour en haut, cookies
   ===================================================================== */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; align-items: center; gap: 10px;
}
.wa__btn { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); border: 3px solid #fff; transition: transform var(--t), background var(--t); }
.wa__btn svg { width: 28px; height: 28px; }
.wa__btn svg .wa-bg { fill: #25D366; }
.wa__btn:hover { transform: translateY(-2px); background: var(--cobalt); color: #fff; }
.wa__bubble { order: -1; background: #fff; color: var(--navy); font-family: var(--font-head); font-weight: 500; font-size: .88rem; padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transform: translateX(8px); pointer-events: none; transition: opacity var(--t), transform var(--t); }
.wa:hover .wa__bubble, .wa__btn:focus-visible + .wa__bubble { opacity: 1; transform: none; }
.to-top { position: fixed; right: 29px; bottom: 92px; z-index: 89; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity var(--t), transform var(--t), visibility var(--t), color var(--t); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--orange); }
.to-top svg { width: 18px; height: 18px; }
body.cookie-open .wa { bottom: calc(var(--cookie-h, 0px) + 16px); }
body.cookie-open .to-top { bottom: calc(var(--cookie-h, 0px) + 88px); }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 980px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 18px 22px; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; font-size: .94rem;
  animation: fadeUp 400ms cubic-bezier(.2,.7,.2,1);
}
.cookie[hidden] { display: none; }
.cookie__text { flex: 1 1 320px; margin: 0; color: var(--text); }
.cookie__text a { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie .btn { min-height: 44px; padding: 8px 18px; font-size: .88rem; }
.cookie-panel { position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px; background: rgba(6,37,70,.5); }
.cookie-panel[hidden] { display: none; }
.cookie-panel__box { background: #fff; border-radius: var(--radius-lg); max-width: 520px; width: 100%; padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; }
.cookie-panel__box h2 { font-size: 1.35rem; }
.cookie-opt { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cookie-opt strong { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.cookie-opt span { font-size: .88rem; color: var(--muted); }
.cookie-opt em { font-style: normal; font-size: .8rem; color: var(--success); white-space: nowrap; font-weight: 600; }
.switch { position: relative; flex: none; width: 50px; height: 28px; }
.switch input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; z-index: 1; }
.switch i { position: absolute; inset: 0; background: #C9D5E1; border-radius: 999px; transition: background var(--t); }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform var(--t); }
.switch input:checked + i { background: var(--navy); }
.switch input:checked + i::after { transform: translateX(22px); }
.switch input:focus-visible + i { outline: 3px solid var(--orange); outline-offset: 2px; }
.cookie-panel__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

@media (max-width: 599px) {
  .cookie { left: 8px; right: 8px; bottom: 8px; padding: 16px; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1 1 auto; }
  .wa { right: 14px; bottom: 14px; }
  .to-top { right: 21px; bottom: 84px; }
}

/* ---------- Apparition au scroll (discrète) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }
.no-js .reveal { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media print { .site-header, .wa, .to-top, .cookie, .quicknav { display: none !important; } }
