/* =========================================================
   Rey Marketing — feuille de styles
   ========================================================= */

:root {
  --ink: #0f2747;
  --ink-2: #173a63;
  --ink-soft: #46546b;
  --muted: #6a7487;
  --navy: #173a63;
  --line: #e6e2da;
  --paper: #fbf9f5;
  --soft: #f3efe7;
  --white: #ffffff;
  --accent: #c39446;
  --accent-dark: #8a6427;
  --accent-soft: #f5ecda;
  --gold: #d9b26a;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(18, 22, 31, .25);
  --container: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: 820px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 .98rem/1 var(--font-body);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(23, 58, 99, .7);
}
.btn--primary:hover { background: var(--ink); box-shadow: 0 10px 24px -10px rgba(195, 148, 70, .9); }
.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: .7rem 1.2rem; font-size: .9rem; }
.btn--block { width: 100%; }

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.eyebrow--light { color: var(--gold); }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(18, 22, 31, .4);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo { display: inline-flex; align-items: center; }
.logo__img { width: auto; height: 60px; }
.logo--light .logo__img { height: 64px; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative;
  font-weight: 500;
  font-size: .95rem;
  color: var(--ink-soft);
  transition: color .2s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Héros ---------- */
.hero {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -160px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft) 0%, rgba(255, 231, 224, 0) 70%);
  z-index: -1;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 64px;
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  letter-spacing: -.02em;
  line-height: 1.05;
}
.hero__title em {
  font-style: italic;
  color: var(--accent);
}
.hero__lead {
  margin-top: 1.5rem;
  max-width: 540px;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
}
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}
.hero__chips li {
  padding: .4rem .9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.hero__visual { position: relative; }
.board {
  background: var(--ink);
  color: var(--white);
  border-radius: 24px;
  padding: 22px 24px 26px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}
.board__head { display: flex; align-items: center; gap: 6px; margin-bottom: 18px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #39404f; }
.board__title {
  margin-left: auto;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9aa3b5;
}
.board__chart {
  width: 100%;
  height: 170px;
  border-bottom: 1px solid #2c3343;
}
.board__line {
  stroke-dasharray: 520;
  stroke-dashoffset: 520;
  animation: draw 2.2s .4s ease forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.board__steps { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.board__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  color: #9aa3b5;
}
.board__steps li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #39404f;
}
.board__steps li.is-done { color: var(--white); }
.board__steps li.is-done::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px var(--ink);
}
.board__steps li.is-active { color: var(--gold); }
.board__steps li.is-active::before { border-color: var(--gold); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .8rem 1.1rem;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-weight: 600;
  font-size: .9rem;
  animation: float 5s ease-in-out infinite;
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
}
.float-card__icon--alt { background: #e3eaf3; color: var(--navy); }
.float-card--a { top: -22px; left: -30px; }
.float-card--b { bottom: -26px; right: -14px; animation-delay: -2.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .section__lead { color: #aab2c3; }

.section__head { max-width: 680px; margin-bottom: 56px; }
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  letter-spacing: -.015em;
}
.section__lead {
  margin-top: 1rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

/* ---------- Services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service--featured {
  grid-column: span 2;
  grid-row: span 1;
  background: linear-gradient(135deg, var(--navy) 0%, #24528a 100%);
  border: 0;
  color: var(--white);
}
.service__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.service__icon svg { width: 26px; height: 26px; }
.service--featured .service__icon { background: rgba(255, 255, 255, .12); color: var(--gold); }
.service--featured .service__list li::before { color: var(--gold); }

.service__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.45rem;
  margin-bottom: .75rem;
}
.service--featured .service__title { font-size: 1.9rem; }
.service__text { color: var(--ink-soft); }
.service--featured .service__text { color: rgba(255, 255, 255, .92); max-width: 560px; }

.service__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 1.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .95rem;
}
.service__list li { position: relative; padding-left: 1.5rem; }
.service__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.service__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: 1.6rem;
  font-weight: 600;
  color: var(--accent-dark);
}
.service__link span { transition: transform .2s ease; }
.service__link:hover span { transform: translateX(5px); }
.service--featured .service__link { color: var(--gold); }

/* ---------- Méthode ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.step {
  padding: 30px 26px;
  border: 1px solid #2c3343;
  border-radius: var(--radius);
  background: var(--ink-2);
  transition: border-color .3s ease, transform .3s ease;
}
.step:hover { border-color: var(--accent); transform: translateY(-4px); }
.step__num {
  display: block;
  margin-bottom: 1.4rem;
  font: 600 2.6rem/1 var(--font-display);
  color: var(--accent);
}
.step__title { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.step p { color: #aab2c3; font-size: .96rem; }

/* ---------- Pourquoi nous ---------- */
.why {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.why__intro { position: sticky; top: 120px; }
.why__intro .btn { margin-top: 2rem; }
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.why__item {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.why__item h3 {
  position: relative;
  padding-top: 1.2rem;
  margin-bottom: .6rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.why__item h3::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 4px;
  border-radius: 2px;
  background: var(--accent);
}
.why__item p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__item summary {
  position: relative;
  padding: 1.2rem 3.5rem 1.2rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 1.4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .25s ease;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact__list {
  display: grid;
  gap: 1.2rem;
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}
.contact__list li { display: grid; gap: .15rem; }
.contact__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__list a { font-weight: 600; font-size: 1.08rem; }
.contact__list a:hover { color: var(--accent-dark); }

.form {
  display: grid;
  gap: 18px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: .45rem; }
.field span { font-size: .88rem; font-weight: 600; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #d93a3a; }

.form__status { min-height: 1.4em; font-size: .95rem; font-weight: 500; text-align: center; }
.form__status.is-error { color: #d93a3a; }
.form__status.is-success { color: #1f8a4c; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #aab2c3; padding-top: 72px; }
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__tagline { margin-top: 1rem; max-width: 320px; }
.footer__col { display: grid; gap: .6rem; align-content: start; }
.footer__col h4 {
  margin-bottom: .4rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__col a { transition: color .2s ease; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  padding-top: 24px;
  padding-bottom: 28px;
  border-top: 1px solid #2c3343;
  font-size: .88rem;
}

/* ---------- Accessibilité ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: .7rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Barre de progression de lecture ---------- */
.progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
}

.nav__link.is-active { color: var(--ink); }
.nav__link.is-active::after { transform: scaleX(1); }

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden;
  padding: 22px 0;
  background: var(--ink);
  color: var(--white);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.marquee__list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font: 500 1.35rem/1 var(--font-display);
  font-style: italic;
}
.marquee__list li::after {
  content: "✦";
  margin: 0 2.2rem;
  font-style: normal;
  font-size: .9rem;
  color: var(--accent);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Le lien des cartes de service est un bouton */
button.service__link {
  align-self: flex-start;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Fenêtre de détail d'un service ---------- */
.modal {
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(18, 22, 31, .5);
}
.modal::backdrop {
  background: rgba(18, 22, 31, .6);
  backdrop-filter: blur(4px);
}
.modal[open] { animation: modal-in .3s ease; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.modal__inner { position: relative; padding: 44px; }
.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.modal__close:hover { background: var(--accent-soft); transform: rotate(90deg); }
.modal__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -.015em;
}
.modal__intro { margin-top: .8rem; font-size: 1.08rem; color: var(--ink-soft); }
.modal__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  margin: 32px 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.modal__grid h4 {
  margin-bottom: .9rem;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal__grid h4:not(:first-child) { margin-top: 1.6rem; }
.modal__format { color: var(--ink-soft); font-size: .96rem; }

.check-list { display: grid; gap: .7rem; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.9rem; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: .15rem;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 700;
}
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.tag-list li {
  padding: .4rem .85rem;
  border-radius: 999px;
  background: var(--soft);
  font-size: .88rem;
  font-weight: 500;
}

/* ---------- Diagnostic express (quiz) ---------- */
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.quiz {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
}
.quiz__progress { height: 6px; background: var(--soft); }
.quiz__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  transition: width .4s ease;
}
.quiz__body { padding: 40px; min-height: 340px; }
.quiz__body > * { animation: fade-up .4s ease both; }
@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.quiz__step {
  margin-bottom: .6rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.quiz__question {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.6rem;
}
.quiz__answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__answer {
  padding: 1.1rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  font: 500 1rem/1.4 var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.quiz__answer:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}
.quiz__text { margin-top: -.6rem; font-size: 1.08rem; color: var(--ink-soft); max-width: 560px; }
.quiz__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 2rem; }
.quiz__restart {
  padding: .6rem .4rem;
  background: none;
  border: 0;
  font: 600 .95rem var(--font-body);
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.quiz__restart:hover { color: var(--ink); }

/* ---------- Bouton retour en haut ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s, background .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }

/* ---------- Formulaire : compléments ---------- */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* ---------- WhatsApp ---------- */
.wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
}
.wa__btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(18, 140, 74, .7);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa__btn svg { width: 32px; height: 32px; }
.wa__btn:hover { transform: scale(1.07); box-shadow: 0 16px 34px -10px rgba(18, 140, 74, .85); }
.wa__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: wa-pulse 2.6s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .7; }
  80%, 100% { transform: scale(1.55); opacity: 0; }
}

.wa__bubble {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: 230px;
  padding: 14px 34px 14px 16px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: .92rem;
  line-height: 1.45;
  animation: fade-up .4s ease both;
}
.wa__bubble::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -7px;
  width: 14px;
  height: 14px;
  background: var(--white);
  transform: rotate(45deg);
}
.wa__bubble[hidden] { display: none; }
.wa__bubble a { display: block; color: var(--ink); }
.wa__bubble strong { color: #128c4a; }
.wa__bubble-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.wa__bubble-close:hover { background: var(--soft); color: var(--ink); }

/* Le bouton « haut de page » se place au-dessus du bouton WhatsApp, avec un contour pour rester visible sur fond sombre */
.to-top { bottom: 98px; right: 29px; border: 2px solid rgba(255, 255, 255, .35); }

.hero__wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.2rem;
  font-weight: 600;
  font-size: .95rem;
  color: #128c4a;
}
.hero__wa svg { flex: none; width: 20px; height: 20px; }
.hero__wa:hover span { text-decoration: underline; text-underline-offset: 3px; }

.btn--wa {
  background: #128c4a;
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(18, 140, 74, .8);
}
.btn--wa:hover { background: #0e7a3f; }
.btn--wa svg { width: 20px; height: 20px; }
.modal__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Réseaux sociaux ---------- */
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4rem; }
.social[hidden] { display: none; }
.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--white);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.social a:hover { background: var(--accent); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.social--contact a { background: var(--soft); color: var(--navy); }
.social--contact a:hover { background: var(--navy); color: var(--white); }

/* ---------- Apparition au défilement ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .board__line { animation: none; stroke-dashoffset: 0; }
  .float-card { animation: none; }
  .marquee__track { animation: none; }
  .modal[open], .quiz__body > * { animation: none; }
  .wa__btn::before, .wa__bubble { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__inner,
  .why,
  .contact { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .why__intro { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service--featured { grid-column: span 2; }
}

@media (max-width: 820px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(18, 22, 31, .3);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__link { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 1.2rem; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header__inner { height: 72px; }
  .nav { top: 72px; }
  .logo__img { height: 48px; }
  .section { padding: 80px 0; }
  .hero { padding: 48px 0 90px; }
  .services,
  .steps,
  .why__grid,
  .form__row,
  .service__list { grid-template-columns: 1fr; }
  .service--featured { grid-column: auto; }
  .service { padding: 26px; }
  .form { padding: 24px; }
  .float-card--a { left: -6px; }
  .float-card--b { right: -6px; }
  .modal__inner { padding: 32px 22px 26px; }
  .modal__grid,
  .quiz__answers { grid-template-columns: 1fr; }
  .modal__grid { gap: 24px; }
  .quiz__body { padding: 28px 22px; }
  .marquee__list li { font-size: 1.1rem; }
  .to-top { right: 22px; bottom: 84px; width: 44px; height: 44px; }
  .wa { right: 16px; bottom: 16px; }
  .wa__btn { width: 56px; height: 56px; }
  .wa__bubble { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}
