/* =========================================================
   Auto-Moto-École Robert Manzato — Feuille de style
   Reconstruction propre (Studio Riviera)
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --blue:        #2d6db9;
  --blue-600:    #2861a5;
  --blue-700:    #1f4d83;
  --blue-800:    #173a64;
  --blue-tint:   #eaf3fc;
  --blue-tint-2: #d8e9fa;
  --sky:         #85c1ff;
  --ink:         #16202e;
  --muted:       #586577;
  --line:        #e4ebf3;
  --white:       #ffffff;
  --bg-soft:     #f4f8fd;
  --green:       #25d366;
  --green-600:   #1ebe5a;

  --shadow-sm: 0 1px 2px rgba(22,32,46,.06), 0 2px 8px rgba(22,32,46,.05);
  --shadow-md: 0 10px 30px rgba(22,32,46,.10);
  --shadow-lg: 0 24px 60px rgba(22,32,46,.16);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  --container: 1180px;
  --pad: clamp(1.1rem, 4vw, 2rem);

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

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p  { color: var(--muted); }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.bg-soft { background: var(--bg-soft); }
.bg-blue { background: var(--blue); color: #fff; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-tint);
  padding: .45rem .9rem; border-radius: var(--radius-pill); margin-bottom: 1.1rem;
}
.bg-blue .eyebrow { color: #fff; background: rgba(255,255,255,.16); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head.center { margin-inline: auto; }
.section-head p { font-size: 1.08rem; margin-top: .85rem; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .92rem 1.6rem; border-radius: var(--radius-pill);
  border: 2px solid transparent; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  will-change: transform; line-height: 1; white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(45,109,185,.30); }
.btn--primary:hover { background: var(--blue-600); box-shadow: 0 12px 28px rgba(45,109,185,.40); }
.btn--ghost { background: #fff; color: var(--blue); border-color: var(--blue-tint-2); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); box-shadow: var(--shadow-md); }
.btn--white:hover { background: var(--blue-tint); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--wa { background: var(--green); color: #06351a; box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn--wa:hover { background: var(--green-600); }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.95); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; position: relative; z-index: 100; }
.nav__brand { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.nav__brand img { height: 30px; width: auto; }
.nav__brand b { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }

/* Brand lockup (badge + text) */
.brand-badge {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.55rem; line-height: 1;
  box-shadow: 0 6px 16px rgba(45,109,185,.32);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.08; }
.brand-text b { font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--ink); letter-spacing: -.01em; }
.brand-text small { font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.footer__brand .brand-lockup { display: inline-flex; align-items: center; gap: .7rem; margin-bottom: 1.1rem; }
.footer__brand .brand-badge { background: #fff; color: var(--blue); box-shadow: none; }
.footer__brand .brand-text b { color: #fff; }
.footer__brand .brand-text small { color: var(--sky); }
@media (max-width: 420px) {
  .brand-text small { display: none; }
  .brand-text b { font-size: 1rem; }
  .brand-badge { width: 38px; height: 38px; font-size: 1.4rem; }
}
.nav__links { display: flex; align-items: center; gap: .35rem; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  color: var(--ink); padding: .55rem .95rem; border-radius: var(--radius-pill);
  transition: background .2s, color .2s; position: relative;
}
.nav__links a:hover { background: var(--blue-tint); color: var(--blue); }
.nav__links a.is-active { color: var(--blue); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 12px; padding: 0; align-items: center; justify-content: center;
}
.nav__toggle span { position: relative; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav__toggle span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(10,14,20,.72) 0%, rgba(10,14,20,.40) 38%, rgba(10,14,20,.08) 60%, rgba(10,14,20,0) 80%),
    linear-gradient(0deg, rgba(10,14,20,.45) 0%, rgba(10,14,20,0) 40%);
}
.hero__inner { padding-block: clamp(5rem, 14vw, 9rem); max-width: 760px; }
.hero h1 { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.hero__sub { font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: #fff; margin-top: 1.1rem; max-width: 560px; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.hero .btn-row { margin-top: 2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.6rem; }
.hero__badge { display: flex; align-items: center; gap: .6rem; font-size: .96rem; color: rgba(255,255,255,.92); font-weight: 500; }
.hero__badge svg { width: 22px; height: 22px; color: var(--sky); flex-shrink: 0; }

/* ---------- Trust bar ---------- */
.trust { background: var(--blue); color: #fff; }
.trust__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.trust__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.03em; }
.trust__label { margin-top: .4rem; font-weight: 500; color: rgba(255,255,255,.85); font-size: .98rem; }
.trust__grid > div { padding: 1.2rem .5rem; }
.trust__grid > div + div { border-left: 1px solid rgba(255,255,255,.18); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.6rem; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column; gap: .7rem;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-tint-2); }
.service-card__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  background: var(--blue-tint); color: var(--blue); margin-bottom: .4rem;
}
.service-card__icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.18rem; }
.service-card p { font-size: .98rem; }

/* ---------- About preview ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); width: 100%; }
.split__media.plain img { box-shadow: none; }
.split__media.framed img { box-shadow: var(--shadow-lg); }
.split__body h2 { margin-bottom: 1rem; }
.split__body p + p { margin-top: 1rem; }
.split__body .btn-row { margin-top: 1.8rem; }

/* ---------- Feature list ---------- */
.checklist { display: grid; gap: .8rem; margin-top: 1.4rem; }
.checklist li { display: flex; align-items: flex-start; gap: .7rem; color: var(--ink); font-weight: 500; }
.checklist svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ---------- Pricing cards (Cours) ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--blue-tint); }
.price-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.price-card:hover .price-card__media img { transform: scale(1.05); }
.price-card__price {
  position: absolute; top: .9rem; right: .9rem;
  background: #fff; color: var(--blue); font-family: var(--font-head); font-weight: 700;
  padding: .4rem .85rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-md);
  font-size: 1rem;
}
.price-card__body { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.price-card__body h3 { font-size: 1.2rem; }
.price-card__body p { font-size: .96rem; }
.price-card__body .btn { margin-top: auto; align-self: flex-start; }
.price-card__meta { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--blue); background: var(--blue-tint); padding: .25rem .7rem; border-radius: var(--radius-pill); align-self: flex-start; }

/* ---------- Success / students gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery figure { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 3/4; background: var(--blue-tint); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- Reviews ---------- */
.reviews-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .85rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq__item.is-open { box-shadow: var(--shadow-md); border-color: var(--blue-tint-2); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.3rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.faq__icon { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; transition: transform .35s var(--ease), background .25s, color .25s; }
.faq__icon svg { width: 16px; height: 16px; }
.faq__item.is-open .faq__icon { background: var(--blue); color: #fff; transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a-inner { padding: 0 1.3rem 1.25rem; color: var(--muted); }

.bg-blue .faq__item { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.bg-blue .faq__q { color: #fff; }
.bg-blue .faq__a-inner { color: rgba(255,255,255,.85); }
.bg-blue .faq__icon { background: rgba(255,255,255,.18); color: #fff; }
.bg-blue .faq__item.is-open .faq__icon { background: #fff; color: var(--blue); }

/* ---------- CTA band ---------- */
.cta { position: relative; color: #fff; isolation: isolate; border-radius: 0; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, rgba(23,58,100,.92) 0%, rgba(31,77,131,.78) 55%, rgba(45,109,185,.55) 100%); }
.cta__inner { padding-block: clamp(3.5rem, 8vw, 5.5rem); max-width: 620px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.9); margin-top: 1rem; font-size: 1.1rem; }
.cta .btn-row { margin-top: 1.8rem; }

/* ---------- Liens utiles ---------- */
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.link-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: .7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.link-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--blue-tint-2); }
.link-card__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--blue-tint); color: var(--blue); display: grid; place-items: center; }
.link-card__icon svg { width: 26px; height: 26px; }
.link-card h3 { font-size: 1.12rem; }
.link-card p { font-size: .95rem; }
.link-card a.link-card__go { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; color: var(--blue); font-weight: 600; font-family: var(--font-head); font-size: .95rem; word-break: break-word; }
.link-card a.link-card__go:hover { text-decoration: underline; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(160deg, var(--blue-tint) 0%, #fff 75%); padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem,4vw,3rem); border-bottom: 1px solid var(--line); }
.page-hero__inner { max-width: 720px; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.page-hero p { margin-top: 1rem; font-size: 1.12rem; }
.breadcrumb { display: flex; gap: .5rem; font-size: .9rem; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.breadcrumb a:hover { color: var(--blue); }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.founder__photo { position: relative; }
.founder__photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 28% center; }
.founder__tag { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-family: var(--font-head); font-weight: 600; padding: .6rem 1.3rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-md); white-space: nowrap; font-size: .95rem; }
.founder__body h2 { margin-bottom: .4rem; }
.founder__diplomas { display: grid; gap: .7rem; margin: 1.3rem 0; }
.founder__diplomas li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; color: var(--ink); }
.founder__diplomas svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--blue-800); color: rgba(255,255,255,.78); }
.footer a { color: rgba(255,255,255,.78); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.2rem; padding-block: clamp(3rem,6vw,4.2rem); }
.footer__brand img { height: 30px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer__brand p { color: rgba(255,255,255,.6); font-size: .96rem; max-width: 280px; }
.footer__social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.footer__social a:hover { background: var(--blue); }
.footer__social svg { width: 19px; height: 19px; color: #fff; }
.footer__col h4 { color: #fff; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer__col ul { display: grid; gap: .65rem; }
.footer__col a, .footer__col li { font-size: .98rem; }
.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; margin-bottom: .7rem; color: rgba(255,255,255,.78); }
.footer__contact svg { width: 19px; height: 19px; color: var(--sky); flex-shrink: 0; margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; align-items: center; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer__bottom a { color: rgba(255,255,255,.7); }

/* ---------- Newsletter mini-form ---------- */
.newsletter { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; max-width: 360px; }
.newsletter input { flex: 1; min-width: 180px; padding: .8rem 1rem; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: .95rem; }
.newsletter input::placeholder { color: rgba(255,255,255,.55); }
.newsletter input:focus { outline: none; border-color: var(--sky); background: rgba(255,255,255,.14); }
.newsletter button { padding: .8rem 1.3rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.prose h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
.prose p, .prose li { color: var(--muted); margin-bottom: .9rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose a { color: var(--blue); font-weight: 500; }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--ink); }
.prose .updated { font-size: .9rem; color: var(--muted); font-style: italic; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
.reveal.d5 { transition-delay: .40s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: 1 / -1; }
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 460px; margin-inline: auto; }
  .founder__photo img { aspect-ratio: 4 / 3; object-position: 28% center; }
}
@media (max-width: 860px) {
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: inline-flex; }

  .mobile-menu {
    display: flex;
    position: fixed; top: 0; left: 0; right: 0;
    height: 100vh; height: 100dvh; width: 100%; z-index: 95;
    background: linear-gradient(165deg, var(--blue-800) 0%, var(--blue) 100%);
    flex-direction: column; justify-content: center; gap: .15rem;
    padding: 96px var(--pad) 2.6rem;
    opacity: 0; visibility: hidden;
    transition: opacity .38s var(--ease), visibility .42s;
    overflow-y: auto; overscroll-behavior: contain;
  }
  body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }

  .mobile-menu a:not(.btn) {
    font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; letter-spacing: -.01em;
    padding: .85rem .2rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12);
    opacity: 0; transform: translateY(16px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
  }
  .mobile-menu a.is-active { color: var(--sky); }
  body.menu-open .mobile-menu a:not(.btn) { opacity: 1; transform: none; }
  body.menu-open .mobile-menu a:nth-of-type(1) { transition-delay: .14s; }
  body.menu-open .mobile-menu a:nth-of-type(2) { transition-delay: .20s; }
  body.menu-open .mobile-menu a:nth-of-type(3) { transition-delay: .26s; }
  body.menu-open .mobile-menu a:nth-of-type(4) { transition-delay: .32s; }
  .mobile-menu .btn { width: 100%; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease) .4s, transform .45s var(--ease) .4s, background .2s, color .2s; }
  .mobile-menu .btn--primary { margin-top: 1.7rem; }
  .mobile-menu .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
  body.menu-open .mobile-menu .btn { opacity: 1; transform: none; }

  /* Header morphs to match the open overlay */
  body.menu-open .site-header { background: transparent; box-shadow: none; border-color: transparent; }
  body.menu-open .brand-text b { color: #fff; }
  body.menu-open .brand-badge { background: #fff; color: var(--blue); }
  body.menu-open .nav__actions .btn--primary { display: none; }
  body.menu-open .nav__toggle { background: transparent; border-color: rgba(255,255,255,.45); }
  body.menu-open .nav__toggle span,
  body.menu-open .nav__toggle span::before,
  body.menu-open .nav__toggle span::after { background: #fff; }

  .services-grid, .price-grid, .links-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-width: 540px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav__actions .btn--primary { display: none; }
  .services-grid, .price-grid, .links-grid { grid-template-columns: 1fr; }
  .trust__grid { grid-template-columns: 1fr; }
  .trust__grid > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .hero__badges { gap: .8rem 1.3rem; }
  .footer__top { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .btn:hover, .service-card:hover, .price-card:hover { transform: none; }
}

.mobile-menu { display: none; }
@media (max-width: 860px) { .mobile-menu { display: flex; } }

/* =========================================================
   ENHANCEMENTS — animations & finition premium
   ========================================================= */

/* ---- Hero motion ---- */
.hero__bg img { animation: kenburns 24s ease-in-out infinite alternate; transform-origin: 60% 50%; }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.14) translateY(-1.5%); } }
.cta__bg img { animation: kenburns 30s ease-in-out infinite alternate; }

.hero__inner { position: relative; z-index: 1; }
.hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .55rem; color: rgba(255,255,255,.85); font-family: var(--font-head); font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.hero__mouse { width: 25px; height: 40px; border: 2px solid rgba(255,255,255,.65); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.hero__mouse span { width: 4px; height: 8px; background: #fff; border-radius: 2px; animation: scrolldot 1.7s var(--ease) infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(-3px); } 35% { opacity: 1; } 75%, 100% { opacity: 0; transform: translateY(9px); } }
@media (max-width: 860px) { .hero__scroll { display: none; } }

/* Floating decorative plate in hero */
.hero__plate { position: absolute; z-index: 1; width: 92px; right: 6%; top: 22%; filter: drop-shadow(0 16px 30px rgba(0,0,0,.35)); animation: floaty 6s ease-in-out infinite; opacity: .96; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-14px) rotate(-2deg); } }
@media (max-width: 991px) { .hero__plate { display: none; } }

/* ---- Decorative soft blobs ---- */
.bg-soft, .section { position: relative; }
.bg-soft { overflow: hidden; }
.bg-soft::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -200px; background: radial-gradient(circle, rgba(133,193,255,.40), transparent 68%); border-radius: 50%; pointer-events: none; z-index: 0; }
.bg-soft::after { content: ""; position: absolute; width: 420px; height: 420px; left: -160px; bottom: -180px; background: radial-gradient(circle, rgba(45,109,185,.16), transparent 70%); border-radius: 50%; pointer-events: none; z-index: 0; }
.bg-soft .container { position: relative; z-index: 1; }

/* ---- Marquee ---- */
.marquee { background: var(--blue); color: #fff; overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; flex-shrink: 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: .9rem; padding: .85rem 1.5rem; font-family: var(--font-head); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.marquee__item svg { width: 16px; height: 16px; color: var(--sky); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Stat counters ---- */
.trust__grid > div { position: relative; }
.trust__num .count { font-variant-numeric: tabular-nums; }

/* ---- Testimonials ---- */
.gbadge { display: inline-flex; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: var(--radius-pill); padding: .55rem 1.15rem; font-family: var(--font-head); font-weight: 600; margin-bottom: 1.4rem; }
.gbadge img { width: 20px; height: 20px; }
.gbadge .stars { display: inline-flex; gap: 1px; color: #f5a623; }
.gbadge .stars svg { width: 16px; height: 16px; }
.gbadge b { font-size: 1.05rem; }
.gbadge span { color: var(--muted); font-weight: 500; font-size: .9rem; }

.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.tcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--blue-tint-2); }
.tcard__stars { display: flex; gap: 2px; color: #f5a623; }
.tcard__stars svg { width: 18px; height: 18px; }
.tcard__text { color: var(--ink); font-size: 1.02rem; line-height: 1.62; }
.tcard__who { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.tcard__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; flex-shrink: 0; }
.tcard__name { font-family: var(--font-head); font-weight: 600; font-size: .96rem; line-height: 1.2; }
.tcard__name span { display: block; font-family: var(--font-body); font-weight: 400; font-size: .82rem; color: var(--muted); }
.tcard__g { position: absolute; top: 1.5rem; right: 1.5rem; width: 22px; height: 22px; }

/* ---- Service card icon micro-interaction ---- */
.service-card__icon { transition: transform .4s var(--ease), background .3s, color .3s; }
.service-card:hover .service-card__icon { transform: translateY(-4px) rotate(-5deg); background: var(--blue); color: #fff; }
.service-card { position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.service-card:hover::before { transform: scaleX(1); }

/* ---- Link card icon ---- */
.link-card__icon { transition: transform .4s var(--ease), background .3s, color .3s; }
.link-card:hover .link-card__icon { transform: translateY(-4px) rotate(-5deg); background: var(--blue); color: #fff; }

/* ---- Button shine ---- */
.btn--primary, .btn--wa, .btn--white { position: relative; overflow: hidden; }
.btn--primary::after, .btn--wa::after, .btn--white::after { content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-20deg); transition: left .65s var(--ease); pointer-events: none; }
.btn--primary:hover::after, .btn--wa:hover::after, .btn--white:hover::after { left: 150%; }

/* ---- Heading accent bar ---- */
.section-head h2 { position: relative; }
.section-head.center h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--sky)); margin: 1rem auto 0; }

/* ---- Reveal variants ---- */
.reveal--left { transform: translateX(-44px); }
.reveal--right { transform: translateX(44px); }
.reveal--scale { transform: scale(.9); }
.reveal--left.is-in, .reveal--right.is-in, .reveal--scale.is-in { transform: none; }

/* ---- Price card price pulse on hover ---- */
.price-card__price { transition: transform .3s var(--ease); }
.price-card:hover .price-card__price { transform: scale(1.06); }

/* ---- Secteurs / régions desservies ---- */
.sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; position: relative; z-index: 1; }
.sectors a { display: flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s, color .2s; }
.sectors a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); flex-shrink: 0; transition: transform .25s var(--ease); }
.sectors a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-tint-2); color: var(--blue); }
.sectors a:hover::before { transform: scale(1.5); }
@media (max-width: 860px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sectors { grid-template-columns: 1fr; } }

/* ---- Responsive: testimonials & marquee ---- */
@media (max-width: 860px) {
  .testimonials { grid-template-columns: 1fr; }
  .marquee__item { font-size: .92rem; padding: .75rem 1.1rem; }
}

/* ---- Reduced motion overrides ---- */
@media (prefers-reduced-motion: reduce) {
  .hero__bg img, .cta__bg img, .marquee__track, .hero__plate, .hero__mouse span { animation: none !important; }
  .btn--primary::after, .btn--wa::after, .btn--white::after { display: none; }
}
