/* ==========================================================================
   Alpha Drive — feuille de style principale
   Palette : bleu nuit, bleu saturé, azur, argent, tons clairs
   ========================================================================== */

:root {
  --ad-ink: #071730;
  --ad-navy: #0e2a54;
  --ad-navy-soft: #17365f;
  --ad-blue: #1560e8;
  --ad-blue-dark: #0f47ad;
  --ad-azure: #46a6f5;
  --ad-silver: #c3ced9;
  --ad-silver-light: #e6ecf3;
  --ad-paper: #f5f8fb;
  --ad-white: #ffffff;
  --ad-text: #1c2b41;
  --ad-text-soft: #56657d;
  --ad-line: rgba(14, 42, 84, 0.12);

  --ad-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --ad-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ad-r-sm: 8px;
  --ad-r-md: 14px;
  --ad-r-lg: 22px;

  --ad-shadow-sm: 0 2px 10px rgba(7, 23, 48, 0.06);
  --ad-shadow-md: 0 14px 34px rgba(7, 23, 48, 0.10);
  --ad-shadow-lg: 0 26px 60px rgba(7, 23, 48, 0.18);

  --ad-gutter: 24px;
  --ad-block: 96px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--ad-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ad-text);
  background: var(--ad-white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ad-blue-dark); }
a:hover { color: var(--ad-blue); }

h1, h2, h3, h4 {
  font-family: var(--ad-display);
  font-weight: 400;
  color: var(--ad-navy);
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  line-height: 1.16;
}
h1 { font-size: clamp(34px, 5.2vw, 58px); }
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: clamp(20px, 2.1vw, 25px); line-height: 1.28; }
h4 { font-size: 19px; line-height: 1.35; }
p { margin: 0 0 1.05em; }

:focus-visible {
  outline: 3px solid var(--ad-azure);
  outline-offset: 3px;
  border-radius: 4px;
}

.ad-shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--ad-gutter);
}
.ad-shell--narrow { max-width: 860px; }

.ad-block { padding: var(--ad-block) 0; }
.ad-block--tight { padding: 64px 0; }
.ad-block--paper { background: var(--ad-paper); }
.ad-block--night {
  background:
    radial-gradient(900px 500px at 82% 8%, rgba(70, 166, 245, 0.28), transparent 60%),
    linear-gradient(160deg, var(--ad-ink), var(--ad-navy) 62%, #123a70);
  background-color: var(--ad-navy);
  color: #d9e4f2;
}
.ad-block--night h2,
.ad-block--night h3 { color: #fff; }

/* --- éléments de signature : rail argenté ------------------------------- */
.ad-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ad-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ad-blue-dark);
  margin-bottom: 18px;
}
.ad-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--ad-silver), var(--ad-blue));
}
.ad-block--night .ad-eyebrow { color: var(--ad-azure); }
.ad-block--night .ad-eyebrow::before { background: linear-gradient(90deg, rgba(255,255,255,.35), var(--ad-azure)); }

.ad-lead {
  font-size: 19px;
  color: var(--ad-text-soft);
  max-width: 62ch;
}
.ad-block--night .ad-lead { color: #b9cbe2; }

.ad-head { max-width: 720px; margin-bottom: 52px; }
.ad-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* --- boutons ----------------------------------------------------------- */
.ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--ad-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.ad-btn--primary {
  background: linear-gradient(135deg, var(--ad-blue), var(--ad-blue-dark));
  color: #fff;
  box-shadow: 0 10px 24px rgba(21, 96, 232, 0.28);
}
.ad-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(21, 96, 232, 0.34); color: #fff; }
.ad-btn--primary:active { transform: translateY(0); }
.ad-btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #eaf2fb;
}
.ad-btn--ghost:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }
.ad-btn--outline {
  background: #fff;
  border-color: var(--ad-silver);
  color: var(--ad-navy);
}
.ad-btn--outline:hover { border-color: var(--ad-blue); color: var(--ad-blue-dark); }
.ad-btn--wide { width: 100%; }

/* --- en-tête ----------------------------------------------------------- */
.ad-topbar {
  background: var(--ad-ink);
  color: #b9cbe2;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.ad-topbar__row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  padding-block: 9px;
}
.ad-topbar a { color: #d6e3f2; text-decoration: none; }
.ad-topbar a:hover { color: #fff; text-decoration: underline; }

.ad-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ad-line);
}
.ad-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}
.ad-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ad-navy);
}
.ad-logo__mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--ad-azure), var(--ad-blue) 45%, var(--ad-navy));
  position: relative;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.ad-logo__mark::after {
  content: "";
  position: absolute;
  inset: 11px 11px auto 11px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
}
.ad-logo__text { font-family: var(--ad-display); font-size: 21px; letter-spacing: 0.01em; }
.ad-logo__text span { display: block; font-family: var(--ad-body); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ad-text-soft); }

.ad-nav { display: flex; align-items: center; gap: 28px; }
.ad-nav__link {
  font-size: 15px;
  color: var(--ad-text);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.ad-nav__link:hover { color: var(--ad-blue-dark); border-bottom-color: var(--ad-azure); }

.ad-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ad-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.ad-burger span,
.ad-burger span::before,
.ad-burger span::after {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--ad-navy);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}
.ad-burger span::before { content: ""; position: absolute; top: -6px; }
.ad-burger span::after { content: ""; position: absolute; top: 6px; }

/* --- hero -------------------------------------------------------------- */
.ad-hero {
  position: relative;
  overflow: hidden;
  color: #e8f0fa;
  background-color: var(--ad-ink);
}
.ad-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.ad-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 23, 48, 0.94) 8%, rgba(7, 23, 48, 0.72) 48%, rgba(7, 23, 48, 0.35) 100%);
}
.ad-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-block: 92px 100px;
}
.ad-hero h1 { color: #fff; }
.ad-hero__text p { color: #c6d7ec; font-size: 19px; max-width: 52ch; }
.ad-hero .ad-eyebrow { color: var(--ad-azure); }
.ad-hero .ad-eyebrow::before { background: linear-gradient(90deg, rgba(255,255,255,.4), var(--ad-azure)); }
.ad-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.ad-hero__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 13.5px;
  color: #9fb6d3;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.ad-hero__notes span::before { content: "— "; color: var(--ad-azure); }

.ad-hero__inner--solo {
  grid-template-columns: minmax(0, 760px);
  padding-block: 118px 126px;
}
.ad-hero__inner--solo .ad-hero__text p { max-width: 58ch; }
.ad-hero__inner--solo .ad-hero__notes { max-width: 720px; }

.ad-hero__stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ad-hero__halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(70, 166, 245, 0.36), rgba(7, 23, 48, 0) 68%);
}
.ad-hero__product {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: drop-shadow(0 30px 45px rgba(0, 0, 0, 0.45));
}

/* --- barre de repères -------------------------------------------------- */
.ad-marks {
  background: var(--ad-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.ad-marks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.ad-marks__item {
  background: var(--ad-navy);
  padding: 26px 22px;
  color: #cfdcee;
}
.ad-marks__item strong {
  display: block;
  font-family: var(--ad-display);
  font-size: 20px;
  color: #fff;
  margin-bottom: 4px;
  font-weight: 400;
}
.ad-marks__item span { font-size: 14px; color: #9db4d1; line-height: 1.5; }

/* --- disposition en deux colonnes -------------------------------------- */
.ad-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.ad-split--flip .ad-split__media { order: 2; }
.ad-split__media {
  position: relative;
  border-radius: var(--ad-r-lg);
  overflow: hidden;
  box-shadow: var(--ad-shadow-md);
  background: var(--ad-silver-light);
}
.ad-split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.ad-split__caption {
  position: absolute;
  right: 22px;
  top: 22px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ad-navy);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  box-shadow: var(--ad-shadow-sm);
}

.ad-checklist { list-style: none; margin: 26px 0 0; padding: 0; }
.ad-checklist li {
  position: relative;
  padding: 0 0 16px 34px;
  color: var(--ad-text-soft);
}
.ad-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--ad-azure);
  background: rgba(70, 166, 245, 0.16);
}
.ad-checklist strong { color: var(--ad-navy); font-weight: 600; }

/* --- cartes génériques -------------------------------------------------- */
.ad-grid { display: grid; gap: 26px; }
.ad-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ad-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ad-grid--4 { grid-template-columns: repeat(4, 1fr); }

.ad-card {
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-md);
  padding: 30px 28px;
  box-shadow: var(--ad-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.ad-card:hover { transform: translateY(-3px); box-shadow: var(--ad-shadow-md); border-color: rgba(21, 96, 232, 0.28); }
.ad-card h3 { margin-bottom: 10px; }
.ad-card p { color: var(--ad-text-soft); margin-bottom: 0; font-size: 16px; }
.ad-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(70, 166, 245, 0.18), rgba(21, 96, 232, 0.12));
  color: var(--ad-blue-dark);
}
.ad-card__icon svg { width: 22px; height: 22px; }

.ad-card--night {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}
.ad-card--night p { color: #b9cbe2; }
.ad-card--night:hover { border-color: rgba(70, 166, 245, 0.5); box-shadow: none; }
.ad-card--night .ad-card__icon { background: rgba(70, 166, 245, 0.16); color: #cfe6ff; }

/* --- composition -------------------------------------------------------- */
.ad-compo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.ad-compo__media {
  border-radius: var(--ad-r-lg);
  overflow: hidden;
  box-shadow: var(--ad-shadow-md);
}
.ad-compo__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ad-compo__list { display: grid; gap: 14px; }
.ad-compo__row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--ad-line);
}
.ad-compo__row:last-child { border-bottom: 0; }
.ad-compo__name { font-family: var(--ad-display); font-size: 19px; color: var(--ad-navy); }
.ad-compo__row p { margin: 0; font-size: 15.5px; color: var(--ad-text-soft); }

/* --- étapes de routine (séquence réelle) -------------------------------- */
.ad-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: step; }
.ad-step {
  position: relative;
  padding-top: 34px;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
}
.ad-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -14px;
  left: 0;
  background: var(--ad-navy);
  padding-right: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ad-azure);
}
.ad-step h3 { margin-bottom: 8px; }
.ad-step p { color: #b9cbe2; font-size: 16px; margin: 0; }

/* --- offres ------------------------------------------------------------- */
.ad-packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.ad-pack {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-lg);
  overflow: hidden;
  box-shadow: var(--ad-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ad-pack:hover { transform: translateY(-4px); box-shadow: var(--ad-shadow-md); }
.ad-pack--featured { border-color: rgba(21, 96, 232, 0.45); box-shadow: var(--ad-shadow-md); }
.ad-pack__figure {
  background: linear-gradient(160deg, var(--ad-silver-light), #fff);
  padding: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--ad-line);
}
.ad-pack__figure img {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.ad-pack__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.ad-pack__tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ad-blue-dark);
  background: rgba(21, 96, 232, 0.10);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.ad-pack h3 { margin-bottom: 6px; }
.ad-pack__meta { font-size: 14.5px; color: var(--ad-text-soft); margin-bottom: 18px; }
.ad-pack__price {
  font-family: var(--ad-display);
  font-size: 38px;
  color: var(--ad-navy);
  line-height: 1;
  margin-bottom: 6px;
}
.ad-pack__unit { font-size: 14px; color: var(--ad-text-soft); margin-bottom: 20px; }
.ad-pack ul { list-style: none; margin: 0 0 24px; padding: 0; font-size: 15.5px; color: var(--ad-text-soft); }
.ad-pack ul li { padding: 7px 0 7px 24px; position: relative; }
.ad-pack ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 2px;
  background: var(--ad-azure);
}
.ad-pack .ad-btn { margin-top: auto; }

/* --- témoignages -------------------------------------------------------- */
.ad-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ad-quote {
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-md);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.ad-quote p { font-size: 16px; color: var(--ad-text); }
.ad-quote__who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ad-line);
}
.ad-quote__badge {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(140deg, var(--ad-azure), var(--ad-navy));
  letter-spacing: 0.04em;
}
.ad-quote__who b { display: block; color: var(--ad-navy); font-weight: 600; font-size: 15.5px; }
.ad-quote__who span { font-size: 13.5px; color: var(--ad-text-soft); }

/* --- FAQ ---------------------------------------------------------------- */
.ad-faq { max-width: 860px; margin: 0 auto; }
.ad-faq__item { border-bottom: 1px solid var(--ad-line); }
.ad-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: 0;
  padding: 24px 0;
  font-family: var(--ad-display);
  font-size: 20px;
  color: var(--ad-navy);
  cursor: pointer;
}
.ad-faq__q:hover { color: var(--ad-blue-dark); }
.ad-faq__sign {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--ad-silver);
  position: relative;
  transition: transform .25s ease, border-color .25s ease;
}
.ad-faq__sign::before,
.ad-faq__sign::after {
  content: "";
  position: absolute;
  background: var(--ad-blue-dark);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.ad-faq__sign::before { width: 11px; height: 1.5px; }
.ad-faq__sign::after { width: 1.5px; height: 11px; transition: opacity .2s ease; }
.ad-faq__q[aria-expanded="true"] .ad-faq__sign { border-color: var(--ad-blue); transform: rotate(90deg); }
.ad-faq__q[aria-expanded="true"] .ad-faq__sign::after { opacity: 0; }
.ad-faq__a {
  display: none;
  padding: 0 0 26px;
  color: var(--ad-text-soft);
  max-width: 70ch;
}
.ad-faq__a.is-open { display: block; }

/* --- formulaire --------------------------------------------------------- */
.ad-form-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: start;
}
.ad-form {
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-lg);
  padding: 36px;
  box-shadow: var(--ad-shadow-md);
}
.ad-field { margin-bottom: 20px; }
.ad-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ad-navy);
  margin-bottom: 7px;
}
.ad-field label span { color: var(--ad-blue); }
.ad-field input,
.ad-field select,
.ad-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  color: var(--ad-text);
  background: #fbfdff;
  border: 1px solid var(--ad-silver);
  border-radius: var(--ad-r-sm);
  padding: 13px 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ad-field textarea { min-height: 110px; resize: vertical; }
.ad-field input:focus,
.ad-field select:focus,
.ad-field textarea:focus {
  border-color: var(--ad-blue);
  box-shadow: 0 0 0 3px rgba(21, 96, 232, 0.15);
  outline: none;
}
.ad-field.is-invalid input,
.ad-field.is-invalid select { border-color: #c0392b; background: #fffafa; }
.ad-field__error { display: none; font-size: 13.5px; color: #c0392b; margin-top: 6px; }
.ad-field.is-invalid .ad-field__error { display: block; }
.ad-field__hint { font-size: 13px; color: var(--ad-text-soft); margin-top: 6px; }

.ad-form__duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ad-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--ad-text-soft);
  margin-bottom: 22px;
}
.ad-consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--ad-blue); }
.ad-consent.is-invalid { color: #c0392b; }
.ad-form__note { font-size: 13px; color: var(--ad-text-soft); margin: 16px 0 0; }

.ad-form-side ul { list-style: none; padding: 0; margin: 26px 0 0; }
.ad-form-side li {
  padding: 16px 0;
  border-bottom: 1px solid var(--ad-line);
  color: var(--ad-text-soft);
  font-size: 15.5px;
}
.ad-form-side li b { display: block; color: var(--ad-navy); font-weight: 600; }

/* --- contact ------------------------------------------------------------ */
.ad-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.ad-contact__card {
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-md);
  padding: 28px;
}
.ad-contact__card h3 { font-size: 20px; margin-bottom: 8px; }
.ad-contact__card p { margin: 0; color: var(--ad-text-soft); font-size: 16px; }
.ad-contact__card a { color: var(--ad-blue-dark); text-decoration: none; }
.ad-contact__card a:hover { text-decoration: underline; }

/* --- pied de page ------------------------------------------------------- */
.ad-footer {
  background: var(--ad-ink);
  color: #a9bdd6;
  padding: 70px 0 34px;
  font-size: 15px;
}
.ad-footer h4 { color: #fff; font-family: var(--ad-body); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.ad-footer a { color: #cfdcee; text-decoration: none; }
.ad-footer a:hover { color: #fff; text-decoration: underline; }
.ad-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ad-footer__grid ul { list-style: none; margin: 0; padding: 0; }
.ad-footer__grid li { margin-bottom: 11px; }
.ad-footer__brand p { color: #94aac6; font-size: 15px; max-width: 34ch; }
.ad-footer .ad-logo { color: #fff; margin-bottom: 16px; }
.ad-footer .ad-logo__text span { color: #7d95b4; }
.ad-footer__bottom {
  margin-top: 46px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  font-size: 13.5px;
  color: #8ba1bd;
}
.ad-footer__micro {
  margin-top: 20px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #7f96b3;
  max-width: 96ch;
}
.ad-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #cfdcee;
  cursor: pointer;
  text-decoration: underline;
}
.ad-linkbtn:hover { color: #fff; }

/* --- pages légales ------------------------------------------------------ */
.ad-legal-hero {
  background: linear-gradient(150deg, var(--ad-ink), var(--ad-navy));
  color: #dbe6f5;
  padding: 66px 0 58px;
}
.ad-legal-hero h1 { color: #fff; margin-bottom: 10px; }
.ad-legal-hero p { color: #b3c7e0; margin: 0; }
.ad-legal { padding: 72px 0 90px; }
.ad-legal h2 { font-size: 27px; margin-top: 44px; }
.ad-legal h2:first-of-type { margin-top: 0; }
.ad-legal h3 { font-size: 21px; margin-top: 28px; }
.ad-legal p, .ad-legal li { color: var(--ad-text-soft); }
.ad-legal ul, .ad-legal ol { padding-left: 22px; margin-bottom: 1.1em; }
.ad-legal li { margin-bottom: 9px; }
.ad-legal__meta {
  background: var(--ad-paper);
  border-left: 3px solid var(--ad-blue);
  border-radius: 0 var(--ad-r-sm) var(--ad-r-sm) 0;
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 15.5px;
}
.ad-legal__meta p { margin: 0 0 6px; }
.ad-legal__meta p:last-child { margin-bottom: 0; }
.ad-legal__back { margin-top: 48px; }

/* --- page éditoriale ---------------------------------------------------- */
.ad-article { padding: 72px 0 40px; }
.ad-article p, .ad-article li { color: var(--ad-text-soft); }
.ad-article h2 { margin-top: 46px; }
.ad-note {
  background: var(--ad-paper);
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-md);
  padding: 26px 28px;
  margin: 34px 0;
}
.ad-note p:last-child { margin-bottom: 0; }
.ad-figure {
  border-radius: var(--ad-r-lg);
  overflow: hidden;
  box-shadow: var(--ad-shadow-md);
  margin: 36px 0;
}
.ad-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ad-figure figcaption {
  background: #fff;
  padding: 14px 20px;
  font-size: 14px;
  color: var(--ad-text-soft);
  border-top: 1px solid var(--ad-line);
}
.ad-figure { margin-left: 0; margin-right: 0; }

.ad-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin: 36px 0; }
.ad-tile {
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-md);
  overflow: hidden;
  background: #fff;
}
.ad-tile img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ad-tile__body { padding: 24px 26px; }
.ad-tile__body h3 { font-size: 21px; margin-bottom: 8px; }
.ad-tile__body p { margin: 0; font-size: 15.5px; }

/* --- page de confirmation ----------------------------------------------- */
.ad-success { padding: 92px 0; text-align: center; }
.ad-success__mark {
  width: 82px;
  height: 82px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--ad-azure), var(--ad-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 34px rgba(21, 96, 232, 0.3);
}
.ad-success__mark svg { width: 36px; height: 36px; stroke: #fff; }
.ad-success__panel {
  max-width: 640px;
  margin: 34px auto 0;
  background: var(--ad-paper);
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-lg);
  padding: 30px 32px;
  text-align: left;
}
.ad-success__panel h3 { font-size: 20px; }
.ad-success__panel ul { margin: 0; padding-left: 20px; color: var(--ad-text-soft); }
.ad-success__panel li { margin-bottom: 8px; }
.ad-success__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* --- bandeau cookies ---------------------------------------------------- */
.ad-cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-lg);
  box-shadow: var(--ad-shadow-lg);
  padding: 26px 28px;
  max-width: 1160px;
  margin: 0 auto;
  display: none;
}
.ad-cookie.is-visible { display: block; }
.ad-cookie__row { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.ad-cookie h3 { font-size: 21px; margin-bottom: 6px; }
.ad-cookie p { margin: 0; font-size: 14.5px; color: var(--ad-text-soft); max-width: 78ch; }
.ad-cookie__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ad-cookie__actions .ad-btn { padding: 13px 22px; font-size: 14.5px; }

.ad-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 23, 48, 0.6);
}
.ad-modal.is-visible { display: flex; }
.ad-modal__panel {
  background: #fff;
  border-radius: var(--ad-r-lg);
  width: 100%;
  max-width: 640px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--ad-shadow-lg);
}
.ad-modal__head {
  padding: 26px 30px 18px;
  border-bottom: 1px solid var(--ad-line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.ad-modal__head h3 { margin: 0; }
.ad-modal__close {
  border: 0;
  background: var(--ad-paper);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  color: var(--ad-navy);
  cursor: pointer;
  flex: none;
}
.ad-modal__close:hover { background: var(--ad-silver-light); }
.ad-modal__body { padding: 22px 30px 6px; }
.ad-modal__foot {
  padding: 20px 30px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  border-top: 1px solid var(--ad-line);
  position: sticky;
  bottom: 0;
  background: #fff;
}

.ad-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--ad-line);
}
.ad-toggle:last-of-type { border-bottom: 0; }
.ad-toggle h4 { margin: 0 0 5px; font-family: var(--ad-body); font-size: 16px; font-weight: 600; color: var(--ad-navy); }
.ad-toggle p { margin: 0; font-size: 14px; color: var(--ad-text-soft); }
.ad-switch { position: relative; display: inline-block; width: 50px; height: 28px; flex: none; }
.ad-switch input { opacity: 0; width: 0; height: 0; }
.ad-switch__track {
  position: absolute;
  inset: 0;
  background: var(--ad-silver);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .2s ease;
}
.ad-switch__track::before {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.ad-switch input:checked + .ad-switch__track { background: var(--ad-blue); }
.ad-switch input:checked + .ad-switch__track::before { transform: translateX(22px); }
.ad-switch input:disabled + .ad-switch__track { background: var(--ad-azure); opacity: 0.55; cursor: not-allowed; }
.ad-switch input:focus-visible + .ad-switch__track { outline: 3px solid var(--ad-azure); outline-offset: 2px; }

/* --- utilitaires -------------------------------------------------------- */
.ad-hidden { display: none !important; }
.ad-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- adaptatif ----------------------------------------------------------- */
@media (max-width: 1080px) {
  :root { --ad-block: 78px; }
  .ad-hero__inner { grid-template-columns: 1fr; gap: 44px; padding-block: 70px 76px; }
  .ad-hero__inner--solo { grid-template-columns: 1fr; padding-block: 84px 88px; }
  .ad-hero__inner--solo {
  grid-template-columns: minmax(0, 760px);
  padding-block: 118px 126px;
}
.ad-hero__inner--solo .ad-hero__text p { max-width: 58ch; }
.ad-hero__inner--solo .ad-hero__notes { max-width: 720px; }

.ad-hero__stage { max-width: 420px; margin: 0 auto; }
  .ad-marks__grid { grid-template-columns: repeat(2, 1fr); }
  .ad-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ad-compo { grid-template-columns: 1fr; gap: 40px; }
  .ad-form-wrap { grid-template-columns: 1fr; gap: 36px; }
  .ad-packs { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .ad-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}

@media (max-width: 900px) {
  .ad-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--ad-line);
    box-shadow: var(--ad-shadow-md);
    padding: 10px 24px 22px;
  }
  .ad-nav.is-open { display: flex; }
  .ad-nav__link { padding: 14px 0; border-bottom: 1px solid var(--ad-line); }
  .ad-nav .ad-btn { margin-top: 14px; }
  .ad-burger { display: block; }
  .ad-header__row { position: relative; }
  .ad-split, .ad-split--flip .ad-split__media { grid-template-columns: 1fr; order: 0; }
  .ad-split { gap: 34px; }
  .ad-steps { grid-template-columns: 1fr; gap: 26px; }
  .ad-quotes, .ad-grid--3, .ad-contact { grid-template-columns: 1fr; }
  .ad-tiles { grid-template-columns: 1fr; }
  .ad-cookie__row { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 600px) {
  :root { --ad-block: 62px; --ad-gutter: 18px; }
  body { font-size: 16px; }
  .ad-grid--2, .ad-grid--4, .ad-form__duo { grid-template-columns: 1fr; }
  .ad-compo__row { grid-template-columns: 1fr; gap: 6px; }
  .ad-form { padding: 26px 22px; }
  .ad-footer__grid { grid-template-columns: 1fr; }
  .ad-topbar__row { justify-content: center; text-align: center; }
  .ad-cookie { left: 12px; right: 12px; bottom: 12px; padding: 22px 20px; }
  .ad-cookie__actions .ad-btn { flex: 1 1 100%; }
  .ad-modal__foot { justify-content: stretch; }
  .ad-modal__foot .ad-btn { flex: 1 1 100%; }
  .ad-hero__product { max-width: 300px; }
}

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

/* --- cartes illustrées -------------------------------------------------- */
.ad-mediacard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-md);
  overflow: hidden;
  box-shadow: var(--ad-shadow-sm);
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ad-mediacard:hover { transform: translateY(-3px); box-shadow: var(--ad-shadow-md); }
.ad-mediacard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ad-mediacard__body { padding: 24px 24px 26px; }
.ad-mediacard__body h3 { font-size: 20px; margin-bottom: 8px; }
.ad-mediacard__body p { margin: 0; font-size: 15.5px; color: var(--ad-text-soft); }

/* --- bandeau formule longue durée --------------------------------------- */
.ad-strip {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 42px;
  padding: 34px 40px;
  background: linear-gradient(135deg, var(--ad-silver-light), #fff 65%);
  border: 1px solid var(--ad-line);
  border-radius: var(--ad-r-lg);
}
.ad-strip img { width: 100%; max-width: 300px; aspect-ratio: 1 / 1; object-fit: contain; }
.ad-strip h3 { margin-bottom: 8px; }
.ad-strip p { color: var(--ad-text-soft); font-size: 16px; max-width: 68ch; }

@media (max-width: 900px) {
  .ad-strip { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; text-align: left; }
  .ad-strip img { max-width: 220px; margin: 0 auto; }
}
