/* =========================================================
   D.O.P.E. Consultants — feuille de style
   Palette : bleu nuit + turquoise.
   --accent        : turquoise vif, sur fonds foncés et boutons
   --accent-strong : turquoise foncé, pour le texte sur fonds clairs (contraste AA)
   ========================================================= */
:root {
  --ink: #071a2f;          /* bleu nuit */
  --ink-2: #0c2541;
  --ink-3: #12304f;
  --paper: #ffffff;
  --tint: #f1f5f9;
  --line: #dde5ee;
  --line-dark: #1d3b5e;
  --text: #0f1e30;
  --muted: #4f6176;
  --muted-light: #8ea5c0;
  --on-dark: #c4d2e3;
  --accent: #22d3ee;
  --accent-hover: #67e8f9;
  --accent-strong: #0e7490;
  --on-accent: #062033;

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 10px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(56px, 7vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-head);
  font-size: 12px; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent-strong);
  margin: 0 0 18px;
}
.eyebrow-light { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  text-align: center;
  padding: 15px 26px; border-radius: 8px;
  text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 16px; font-size: 13.5px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); box-shadow: 0 8px 24px rgba(34,211,238,.25); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(7,26,47,.94); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line-dark); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 80px; }
.brand { display: flex; align-items: center; gap: 22px; text-decoration: none; flex: none; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; white-space: nowrap; }
.logo-mark { width: 30px; height: 36px; flex: none; }
.logo-text strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 25px; line-height: 1.05; letter-spacing: .03em; }
.logo-text small { display: block; font-family: var(--font-head); font-weight: 700; font-size: 9.5px; letter-spacing: .26em; margin-top: 3px; }
.brand-tagline {
  color: var(--on-dark); font-size: 14px; white-space: nowrap;
  padding-left: 22px; border-left: 1px solid rgba(255,255,255,.25);
}
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.nav a:not(.btn) {
  color: #e6eef7; text-decoration: none; font-size: 14.5px; font-weight: 500;
  position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .25s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  background: none; border: 1.5px solid rgba(255,255,255,.35); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .1em;
  width: 42px; height: 34px; border-radius: 6px; cursor: pointer;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--accent); }
.menu-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: #fff; transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 78% 40%, rgba(34,211,238,.16), transparent 60%),
    linear-gradient(160deg, #0a2340 0%, var(--ink) 55%, #04111f 100%);
  color: #fff;
  padding: 150px 0 140px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 78%, rgba(34,211,238,.55) 78% 80%, transparent 80%),
    linear-gradient(115deg, transparent 0 84%, rgba(34,211,238,.22) 84% 92%, transparent 92%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: center; }
.nav a { white-space: nowrap; }
.eyebrow-hero { color: #e6eef7; letter-spacing: .06em; font-size: 12px; }
.hero h1 { font-size: clamp(36px, 4.4vw, 60px); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 26px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: clamp(18px, 1.7vw, 20px); color: var(--on-dark); max-width: 600px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-actions .btn { white-space: nowrap; padding: 15px 20px; }
.hero-tagline { font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--muted-light); }
.hero-photo { margin: 0; position: relative; align-self: end; }
.hero-photo { margin-bottom: -140px; margin-right: -30px; }
.hero-photo img {
  width: 120%; max-width: 600px; margin-left: -6%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.35));
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 98%);
}

/* ---------- Benefits strip ---------- */
.benefits { position: relative; z-index: 2; margin-top: -78px; }
.benefits ul {
  list-style: none; margin: 0; padding: 30px 12px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: 14px;
  box-shadow: 0 20px 50px rgba(7,26,47,.14), 0 2px 6px rgba(7,26,47,.06);
}
.benefits li { display: flex; gap: 16px; padding: 4px 24px; }
.benefits li + li { border-left: 1px solid var(--line); }
.benefits svg { width: 40px; height: 40px; flex: none; color: var(--accent-strong); }
.benefits strong { display: block; font-family: var(--font-head); font-size: 16.5px; margin-bottom: 4px; }
.benefits span { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* ---------- Statement ---------- */
.statement {
  background: linear-gradient(110deg, #0b3a5a 0%, var(--accent-strong) 100%);
  border-bottom: 1px solid var(--line-dark);
  color: #fff; padding: clamp(36px, 4.5vw, 56px) 0;
}
.statement blockquote { margin: 0; }
.statement p {
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(22px, 3vw, 34px); line-height: 1.3; letter-spacing: -0.015em;
  max-width: 980px; margin: 0;
}
.statement strong { font-weight: 800; color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-tint { background: var(--tint); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { margin-bottom: 18px; }
.section-lead { font-size: 19px; color: var(--muted); }
.section-dark .section-lead { color: var(--on-dark); }
#expertises { padding-top: clamp(64px, 8vw, 104px); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.pillar {
  padding: 36px clamp(24px, 3vw, 40px) 40px;
  border-radius: 14px; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--ink) 0%, #0b3150 70%, #0c4a63 100%);
  transition: transform .25s, box-shadow .25s;
}
.pillar:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(7,26,47,.25); }
.pillar-top { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.pillar-icon { width: 52px; height: 52px; flex: none; color: var(--accent); }
.pillar-num { font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--accent); letter-spacing: .1em; margin-left: auto; align-self: flex-start; }
.pillar h3 { font-size: 23px; margin-bottom: 12px; }
.pillar p { color: var(--on-dark); }
.pillar ul, .offer ul { list-style: none; padding: 0; margin: 20px 0 0; }
.pillar li, .offer li { padding: 9px 0 9px 22px; position: relative; border-top: 1px solid var(--line); font-size: 15.5px; }
.pillar li { border-color: rgba(255,255,255,.12); color: #e6eef7; }
.pillar li::before, .offer li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 2px; background: var(--accent-strong); }
.pillar li::before { background: var(--accent); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.steps li { padding: 0 28px 0 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.step-num {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-family: var(--font-head); font-weight: 800; font-size: 18px;
  margin-bottom: 26px;
}
.steps li:first-child .step-num { background: var(--accent); color: var(--on-accent); }
.steps h3 { font-size: 22px; margin-bottom: 12px; }
.steps p { color: var(--on-dark); font-size: 16px; }

/* ---------- Modèle hybride ---------- */
.model {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0;
  margin-top: 72px; border: 1px solid var(--line-dark); border-radius: 14px;
  background: var(--ink-2);
}
.model-item { padding: 36px clamp(24px, 3vw, 44px); }
.model-label { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.model-item h3 { font-size: 22px; margin-bottom: 12px; }
.model-item p:not(.model-label) { color: var(--on-dark); font-size: 16px; margin: 0; }
.model-plus {
  display: grid; place-items: center; width: 56px;
  font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--accent);
  border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark);
}

/* ---------- Checks ---------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 16px 0 16px 38px; position: relative; border-bottom: 1px solid var(--line); }
.checks li:first-child { border-top: 1px solid var(--line); }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 22px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--accent-strong); border-bottom: 2.5px solid var(--accent-strong); transform: rotate(-45deg);
}
.checks strong { font-family: var(--font-head); }
.ai-points .section-lead { margin-bottom: 28px; }

/* ---------- Offers ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.offer {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 14px;
  padding: 36px 30px; background: #fff; position: relative;
}
.offer h3 { min-height: 2.4em; }
.offer .price { font-family: var(--font-head); font-weight: 800; font-size: 32px; letter-spacing: -0.02em; margin: 18px 0 14px; }
.offer .price span { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.offer .price small { font-size: 16px; font-weight: 600; color: var(--muted); }
.offer > p:not(.price):not(.badge) { color: var(--muted); font-size: 16px; }
.offer ul { flex: 1; margin-bottom: 28px; }
.offer-featured { background: linear-gradient(160deg, var(--ink), #0b3150); color: #fff; border-color: var(--ink); }
.offer-featured .price span, .offer-featured .price small, .offer-featured > p:not(.price):not(.badge) { color: var(--on-dark); }
.offer-featured li { border-color: var(--line-dark); }
.offer-featured li::before { background: var(--accent); }
.badge {
  position: absolute; top: -13px; left: 30px;
  background: var(--accent); color: var(--on-accent); font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; margin: 0;
}
.fineprint { font-size: 14px; color: var(--muted); margin-top: 26px; }

/* ---------- Cases ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: #fff; padding: 34px 30px; border-radius: 14px; border-top: 4px solid var(--accent); box-shadow: 0 2px 10px rgba(7,26,47,.05); }
.case-tag { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 14px; }
.case h3 { margin-bottom: 22px; }
.case dl { margin: 0; }
.case dt { font-family: var(--font-head); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-top: 16px; }
.case dd { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about-photo { margin: 0; position: relative; max-width: 400px; justify-self: center; width: 100%; }
.about-photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; border-radius: 14px;
  background: radial-gradient(circle at 50% 35%, #12507a 0%, #0b2f4f 55%, var(--ink-2) 100%);
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: clamp(56px, 7vw, 88px); }
.values article { background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 14px; padding: 30px 28px; border-top: 3px solid var(--accent); }
.values h3 { margin-bottom: 10px; }
.values p { color: var(--on-dark); margin: 0; font-size: 16px; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(110deg, #0b3a5a 0%, var(--accent-strong) 100%); color: #fff; padding: clamp(48px, 6vw, 72px) 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 10px; max-width: 720px; }
.cta-inner p { margin: 0; color: #d6f3f8; }
.cta-inner .btn { flex: none; }
.about-photo::after { content: ""; position: absolute; left: -14px; bottom: -14px; width: 40%; height: 40%; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); border-bottom-left-radius: 18px; pointer-events: none; }
.about-text h2 { margin-bottom: 6px; }
.about-role { font-family: var(--font-head); font-weight: 600; color: var(--accent); margin-bottom: 26px; }
.about-text > p:not(.eyebrow):not(.about-role) { color: var(--on-dark); font-size: 18px; }
.creds { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.creds li { border: 1px solid var(--line-dark); background: var(--ink-2); padding: 8px 14px; border-radius: 40px; font-size: 14px; color: #e6eef7; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); }
.contact-intro h2 { margin-bottom: 18px; }
.contact-direct { list-style: none; padding: 0; margin: 36px 0 0; }
.contact-direct li { display: flex; flex-direction: column; padding: 16px 0; border-top: 1px solid var(--line-dark); }
.contact-direct li > span:first-child { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); font-weight: 600; }
.contact-direct a { color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.contact-direct a:hover { color: var(--accent); }
.contact-form { background: var(--ink-2); padding: clamp(24px, 4vw, 44px); border-radius: 14px; display: grid; gap: 18px; position: relative; border: 1px solid var(--line-dark); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--on-dark); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-size: 16px; color: #fff;
  background: var(--ink-3); border: 1px solid var(--line-dark); border-radius: 8px;
  padding: 13px 14px; width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .invalid { border-color: #f87171; }
.contact-form button { justify-self: start; }
.contact-form button:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; }
.form-privacy { margin: 0; font-size: 13.5px; color: var(--muted-light); }
.form-status { margin: 0; font-size: 15px; color: var(--on-dark); min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer { background: #04111f; color: var(--muted-light); padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer-contact { margin-left: auto !important; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer a.logo, .site-footer a.logo:hover { color: #fff; }
.site-footer p { margin: 0; font-size: 14px; }
.copyright { flex-basis: 100%; margin-top: 12px !important; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13px !important; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1380px) {
  .brand-tagline { display: none; }
}
@media (max-width: 1060px) {
  .nav { gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .offers, .cases { grid-template-columns: 1fr; max-width: 640px; }
  .offer h3 { min-height: 0; }
  .benefits ul { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .benefits li:nth-child(3) { border-left: 0; }
}
@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 80px 0 auto 0; background: var(--ink);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line-dark);
    transform: translateY(-120%); opacity: 0; visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; }
  .site-header.menu-open { background: var(--ink); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { max-width: 340px; margin-bottom: -120px; }
  .hero-photo img { margin-left: 0; width: 100%; }
  .values { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .split, .about, .contact { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .model { grid-template-columns: 1fr; }
  .model-plus { width: auto; height: 44px; border: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .hero { padding: 120px 0 120px; }
  .benefits ul { grid-template-columns: 1fr; padding: 16px 6px; row-gap: 0; }
  .benefits li { padding: 16px 18px; }
  .benefits li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 0; border-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .footer-contact { margin-left: 0 !important; }
}
