/* Polices auto-hébergées — Poppins & Inter, licence SIL Open Font License 1.1.
   Rapatriées depuis Google Fonts pour qu'aucune IP visiteur ne soit transmise à un tiers. */

/* Inter — latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/inter-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter — latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../assets/fonts/inter-var-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;
}

/* Poppins — latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins — latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../assets/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;
}

/* Poppins — latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins — latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/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;
}

/* Poppins — latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/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+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins — latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../assets/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;
}

/* Poppins — latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/poppins-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Poppins — latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/poppins-800-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;
}
/* ============================
   DWE Consult — Stylesheet
   Palette claire : blanc pur + ardoise, accent bleu profond
   ============================ */

:root {
  /* Fonds & surfaces */
  --white: #ffffff;
  --surface: #f7f8fa;
  --surface-2: #eef1f5;
  --border: #e5e7eb;
  --border-strong: #d5dae1;

  /* Encres */
  --ink-900: #0f172a;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-500: #64748b;
  --ink-400: #94a3b8;

  /* Accent — utilisé avec parcimonie */
  --accent: #1d4ed8;
  --accent-700: #1e40af;
  --accent-50: #eff6ff;
  --accent-100: #dbeafe;

  --green: #059669;
  --red: #dc2626;

  --font-heading: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 18px 48px rgba(15, 23, 42, 0.10);

  --container-w: 1160px;
  --transition: 0.22s ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink-600);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--ink-900);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.05rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }

p { margin: 0 0 1em; color: var(--ink-600); }

a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

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

.icon {
  flex: none;
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn .icon { width: 17px; height: 17px; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.9em;
}

/* ---------- Progress bar ---------- */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.1s ease-out;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0.82em 1.55em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(29, 78, 216, 0.22);
}
.btn--primary:hover {
  background: var(--accent-700);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(29, 78, 216, 0.28);
}
.btn--ghost {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--border-strong);
}
.btn--ghost:hover { border-color: var(--ink-400); background: var(--surface); }
.btn--light {
  background: var(--white);
  color: var(--ink-900);
}
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--sm { padding: 0.58em 1.25em; font-size: 0.86rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-xs);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
}
.logo__mark { color: var(--ink-900); }
.logo__mark .dot { color: var(--accent); }
.logo__text { color: var(--ink-500); font-weight: 500; }

.nav { display: flex; gap: 22px; }
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-500);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--ink-900); }
.nav__link.active::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 14px; }

/* Email cliquable dans le header */
.header__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  padding: 0.5em 0.9em;
  border-radius: 999px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.header__mail:hover { background: var(--accent-50); color: var(--accent); }
.header__mail .icon { width: 17px; height: 17px; color: var(--accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 92px;
  overflow: hidden;
  background: var(--white);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__glow {
  position: absolute;
  width: 620px; height: 620px;
  top: -280px; right: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.07), transparent 68%);
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at 70% 0%, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 0%, black 10%, transparent 65%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-700);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.badge .icon { width: 15px; height: 15px; color: var(--accent); }

.highlight { color: var(--accent); }

.hero__lead { font-size: 1.06rem; max-width: 560px; color: var(--ink-600); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 20px; }

/* Rappel email sous les CTA du hero */
.hero__mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 9px;
  font-size: 0.92rem;
  color: var(--ink-500);
  margin-bottom: 40px;
}
.hero__mail .icon { width: 16px; height: 16px; }
.hero__mail a {
  font-weight: 600;
  color: var(--ink-900);
  border-bottom: 1px solid var(--border-strong);
  transition: color var(--transition), border-color var(--transition);
}
.hero__mail a:hover { color: var(--accent); border-color: var(--accent); }

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat { display: block; }
.stat__num, .stat__suffix {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink-900);
  display: inline;
}
.stat__label { display: block; font-size: 0.8rem; color: var(--ink-500); margin-top: 2px; }

/* ---------- Carte contact du hero ---------- */
.hero__visual { display: flex; justify-content: center; }

.contact-card {
  width: 100%;
  max-width: 400px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
}
.contact-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.dot-status {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
  flex: none;
}
.contact-card h2 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.contact-card__lead {
  font-size: 0.92rem;
  color: var(--ink-500);
  margin-bottom: 22px;
}
.contact-card__channels { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.channel {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
a.channel:hover {
  border-color: var(--accent);
  background: var(--accent-50);
  transform: translateX(3px);
}
.channel__icon {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.channel__icon .icon { width: 18px; height: 18px; }
.channel__label { display: block; font-size: 0.74rem; color: var(--ink-500); letter-spacing: 0.02em; }
.channel__value { display: block; font-size: 0.93rem; font-weight: 600; color: var(--ink-900); }
.contact-card__note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-500);
  margin: 14px 0 0;
}
.contact-card__note a { font-weight: 600; color: var(--accent); }
.contact-card__note a:hover { text-decoration: underline; }

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  background: var(--surface);
}
.trust__inner { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; text-align: center; }
.trust__label { margin: 0; font-size: 0.84rem; color: var(--ink-500); font-weight: 600; }
.trust__items { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; font-size: 0.88rem; color: var(--ink-700); font-weight: 500; }
.trust__items .sep { color: var(--ink-400); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section__head .section__lead { margin: 0 auto; }
.section__lead { color: var(--ink-600); }

/* ---------- Cards / Services ---------- */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card--highlight {
  border-color: var(--accent-100);
  box-shadow: var(--shadow-md);
}
.card--highlight .card__icon {
  background: var(--accent);
  color: var(--white);
}
.card__icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-50);
  color: var(--accent);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
}
.card__icon .icon { width: 24px; height: 24px; }
.card__list { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.card__list li {
  padding-left: 20px;
  position: relative;
  font-size: 0.91rem;
  color: var(--ink-600);
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

/* ---------- Pourquoi ---------- */
.pourquoi__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.features { display: grid; gap: 22px; margin-top: 32px; }
.feature { display: flex; gap: 15px; align-items: flex-start; }
.feature__icon {
  flex: none;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.feature__icon .icon { width: 19px; height: 19px; }
.feature h4 { margin-bottom: 3px; }
.feature p { margin: 0; font-size: 0.91rem; }

.pourquoi__visual { display: flex; justify-content: center; }
.map-card {
  position: relative;
  width: 100%;
  max-width: 330px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--white), var(--surface-2) 78%);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.map-card__pin { color: var(--accent); margin-bottom: 10px; }
.map-card__pin .icon { width: 28px; height: 28px; }
.map-card__zone { color: var(--ink-900); font-weight: 700; margin-bottom: 6px; }
.map-card__cities { font-size: 0.84rem; color: var(--ink-500); margin: 0; }
.map-card__ring {
  position: absolute;
  border: 1px solid rgba(29, 78, 216, 0.28);
  border-radius: 50%;
  animation: pulse 3.5s ease-out infinite;
}
.ring1 { inset: 10%; animation-delay: 0s; }
.ring2 { inset: 10%; animation-delay: 1.2s; }
.ring3 { inset: 10%; animation-delay: 2.4s; }
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Section IA ---------- */
.ia__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.ai-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-md);
}
.ai-panel__header {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.88rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-900);
}
.ai-panel__chat { display: flex; flex-direction: column; gap: 12px; }
.chat-bubble {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.87rem;
  max-width: 92%;
}
.chat-bubble--user {
  background: var(--surface-2);
  align-self: flex-end;
  color: var(--ink-700);
  border-bottom-right-radius: 4px;
}
.chat-bubble--ai {
  background: var(--accent);
  align-self: flex-start;
  color: var(--white);
  border-bottom-left-radius: 4px;
}

.check-list { display: flex; flex-direction: column; gap: 11px; margin: 22px 0 30px; }
.check-list li {
  padding-left: 30px;
  position: relative;
  color: var(--ink-600);
}
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent-50);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.timeline__item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.timeline__item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.timeline__num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-100);
  margin-bottom: 12px;
}

/* ---------- Bande CTA contact ---------- */
.cta-band {
  background: var(--ink-900);
  padding: 60px 0;
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band__text { flex: 1 1 440px; max-width: 640px; }
.cta-band h2 { margin-bottom: 8px; color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin: 0; }
.cta-band__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; flex: 0 0 auto; }
.cta-band__mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.cta-band__mail:hover { color: var(--white); }
.cta-band__mail .icon { width: 17px; height: 17px; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: flex-start;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.contact-info__item {
  display: flex; align-items: center; gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
a.contact-info__item:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.contact-info__icon {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-50);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.contact-info__icon .icon { width: 19px; height: 19px; }
.contact-info__label { display: block; font-size: 0.76rem; color: var(--ink-500); }
.contact-info__value { display: block; font-weight: 600; color: var(--ink-900); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}
.contact-form__head { margin-bottom: 2px; }
.contact-form__head h3 { margin-bottom: 4px; }
.contact-form__head p { margin: 0; font-size: 0.87rem; color: var(--ink-500); }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.84rem; font-weight: 600; color: var(--ink-700); }
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--white);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink-900);
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: var(--ink-400); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}
.form-row input.invalid,
.form-row textarea.invalid { border-color: var(--red); }
.error-msg { font-size: 0.78rem; color: var(--red); min-height: 1em; }
.form-success {
  text-align: center;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
}
.form-alt {
  text-align: center;
  font-size: 0.83rem;
  color: var(--ink-500);
  margin: 0;
}
.form-alt a { font-weight: 600; color: var(--accent); }
.form-alt a:hover { text-decoration: underline; }

/* ---------- Barre de contact mobile ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 850;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.06);
}
.mobile-cta .btn { flex: 1; padding: 0.7em 1em; font-size: 0.88rem; }

/* ---------- Footer ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding-top: 56px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer__brand p { margin-top: 12px; font-size: 0.88rem; max-width: 320px; color: var(--ink-500); }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col h5 { color: var(--ink-500); text-transform: uppercase; font-size: 0.73rem; letter-spacing: 0.07em; margin-bottom: 4px; }
.footer__col a, .footer__col span { color: var(--ink-600); font-size: 0.9rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--accent); }
.footer__mail {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--ink-900) !important;
  font-size: 0.95rem !important;
}
.footer__mail .icon { width: 17px; height: 17px; color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__bottom p { margin: 0; font-size: 0.8rem; color: var(--ink-500); }
.footer__bottom a { font-size: 0.8rem; color: var(--ink-500); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--accent); }

@media (max-width: 620px) {
  .footer__bottom-inner { justify-content: center; text-align: center; }
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-900);
  font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), color var(--transition);
  z-index: 800;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1220px) {
  /* Le header devient dense : on garde l'icône email, on masque l'adresse */
  .header__mail span { display: none; }
  .header__mail { padding: 0.5em 0.6em; }
}

@media (max-width: 960px) {
  .cards--3 { grid-template-columns: 1fr; }
  .pourquoi__grid,
  .ia__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { justify-content: flex-start; }
  .contact-card { max-width: 100%; }
  .ia__visual { order: 2; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav {
    position: fixed;
    top: 66px; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    transition: transform var(--transition);
  }
  .nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header__actions .btn--sm,
  .header__mail span { display: none; }
  .header__mail { padding: 0.5em; }
  .hero { padding: 120px 0 64px; }
  .hero__stats { gap: 24px; }
  .timeline { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .mobile-cta { display: flex; }
  .back-to-top { bottom: 84px; }
  body { padding-bottom: 68px; }
}

@media (max-width: 480px) {
  .contact-form { padding: 24px; }
  .contact-card { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .map-card__ring { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Pages légales ---------- */
.legal { padding: 140px 0 90px; }
.legal__inner { max-width: 760px; margin: 0 auto; }
.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 26px;
  transition: color var(--transition);
}
.legal__back:hover { color: var(--accent); }
.legal__updated {
  font-size: 0.85rem;
  color: var(--ink-500);
  margin: 0 0 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal__toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin-bottom: 48px;
}
.legal__toc h2 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 14px;
  padding: 0;
  border: 0;
}
.legal__toc ol { counter-reset: toc; padding: 0; margin: 0; list-style: none; }
.legal__toc li { counter-increment: toc; margin-bottom: 7px; font-size: 0.92rem; }
.legal__toc li::before { content: counter(toc, decimal-leading-zero) '. '; color: var(--ink-400); font-weight: 600; }
.legal__toc a { color: var(--ink-700); transition: color var(--transition); }
.legal__toc a:hover { color: var(--accent); }

.legal section { margin-bottom: 46px; scroll-margin-top: 100px; }
.legal h2 {
  font-size: 1.3rem;
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal h3 { font-size: 1rem; margin: 26px 0 8px; }
.legal p, .legal li { font-size: 0.94rem; }
.legal a:not(.btn):not(.legal__back):not(.logo) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1em; }
.legal ul li { padding-left: 18px; position: relative; }
.legal ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 2px;
  background: var(--accent);
}

/* Fiche d'identification de l'éditeur */
.identity {
  display: grid;
  grid-template-columns: minmax(190px, auto) 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin: 0 0 22px;
}
.identity dt,
.identity dd {
  padding: 12px 18px;
  margin: 0;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}
.identity dt { color: var(--ink-500); background: rgba(255, 255, 255, 0.55); }
.identity dd { color: var(--ink-900); font-weight: 600; }
.identity dt:nth-last-of-type(1),
.identity dd:nth-last-of-type(1) { border-bottom: 0; }

@media (max-width: 620px) {
  .legal { padding: 110px 0 70px; }
  .identity { grid-template-columns: 1fr; }
  .identity dt { padding-bottom: 0; border-bottom: 0; background: none; }
  .identity dd { padding-top: 2px; }
}
