/* =========================================================
   AVIENZA GESTION — Design System
   Premium administrative assistance / assistance administrative
   ========================================================= */

:root {
  /* Palette — Avenzia Gestion brand */
  --green-900: #091029;  /* deepest navy */
  --green-800: #0D1B3D;  /* brand navy */
  --green-700: #16284C;  /* navy lighter */
  --green-600: #2A3C63;
  --sage: #A7B89A;       /* brand sage */
  --sage-deep: #79917F;
  --gold-600: #9C8350;   /* champagne foncé — texte/accents sur fond clair */
  --gold-500: #C9B58C;   /* or champagne — couleur d'accent principale */
  --gold-400: #D8C7A3;   /* champagne clair — survol / accents sur navy */
  --gold-200: #ECE3D0;   /* champagne pâle */
  --ivory: #F7F6F2;      /* brand off-white */
  --cream: #F4EDDD;      /* warm cream (sections) */
  --sand: #EBDFC7;       /* warm sand accent */
  --ink: #181A22;
  --ink-soft: #464955;
  --muted: #797C88;
  --line: rgba(13,27,61,.11);
  --line-light: rgba(255,255,255,.15);
  --white: #ffffff;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing / radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 38px;
  --shadow-sm: 0 4px 18px rgba(13,27,61,.07);
  --shadow-md: 0 18px 50px -18px rgba(13,27,61,.22);
  --shadow-lg: 0 40px 90px -30px rgba(9,16,41,.40);

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

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

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section--tight { padding: clamp(54px, 6vw, 90px) 0; }
.bg-ivory { background: var(--ivory); }
.bg-cream { background: var(--cream); }
.bg-green { background: var(--green-800); color: var(--ivory); }
.bg-green-deep { background: var(--green-900); color: var(--ivory); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; }
.display {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
}
.h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
.h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--ink-soft); line-height: 1.6; }
.italic { font-style: italic; }
em, .serif-em { font-family: var(--serif); font-style: italic; }
.text-gold { color: var(--gold-600); }
.text-green { color: var(--green-700); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold-500); display: inline-block; }
.bg-green .eyebrow, .bg-green-deep .eyebrow { color: var(--gold-400); }
.bg-green .eyebrow::before, .bg-green-deep .eyebrow::before { background: var(--gold-400); }

.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: .95rem; font-weight: 600;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold-500); color: var(--green-900); box-shadow: 0 12px 30px -10px rgba(201,181,140,.55); }
.btn--gold:hover { background: var(--gold-400); transform: translateY(-2px); }
.btn--green { background: var(--green-800); color: var(--ivory); }
.btn--green:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: inherit; border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--green-700); color: var(--green-700); }
.bg-green .btn--ghost, .bg-green-deep .btn--ghost { border-color: var(--line-light); color: var(--ivory); }
.bg-green .btn--ghost:hover, .bg-green-deep .btn--ghost:hover { background: rgba(255,255,255,.07); color: var(--white); border-color: var(--gold-400); }
.btn--light { background: var(--ivory); color: var(--green-900); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-gold { background: transparent; border: 1.6px solid var(--gold-500); color: var(--gold-400); }
.btn--outline-gold:hover { background: var(--gold-500); color: var(--green-900); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(201,181,140,.5); }
.btn--outline-light { background: rgba(255,255,255,.06); border: 1.6px solid var(--line-light); color: var(--ivory); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: var(--gold-400); color: #fff; transform: translateY(-2px); }

.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .92rem; color: var(--green-700);
  border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 13px; border-color: var(--gold-500); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(250,247,242,.85);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(9,16,41,.4);
  padding: 14px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 46px; height: 46px; flex: none; position: relative; }
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand__mark .mark-on-light, .brand__mark .mark-on-dark { position: absolute; inset: 0; transition: opacity .35s var(--ease); }
.brand__mark .mark-on-dark { opacity: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.34rem; font-weight: 500; letter-spacing: .01em; color: var(--green-900); }
.brand__name .g { color: var(--sage-deep); }
.brand__sub { font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-600); margin-top: 5px; font-weight: 600; }

/* header on dark hero (home) before scroll */
.site-header.on-dark:not(.scrolled) .brand__mark .mark-on-light { opacity: 0; }
.site-header.on-dark:not(.scrolled) .brand__mark .mark-on-dark { opacity: 1; }
.site-header.on-dark:not(.scrolled) .brand__name { color: var(--ivory); }
.site-header.on-dark:not(.scrolled) .nav-links a { color: rgba(250,247,242,.86); }
.site-header.on-dark:not(.scrolled) .nav-links a:hover { color: var(--white); }
.site-header.on-dark:not(.scrolled) .burger span { background: var(--ivory); }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  position: relative; font-size: .95rem; font-weight: 500; color: var(--ink-soft);
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 1.5px; width: 0;
  background: var(--gold-500); transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--green-900); }
.nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 100px; background: rgba(255,255,255,.55); }
.lang-switch button { font-size: .76rem; font-weight: 700; letter-spacing: .04em; padding: 6px 11px; border-radius: 100px; color: var(--ink-soft); transition: background .25s, color .25s; }
.lang-switch button:hover { color: var(--green-900); }
.lang-switch button.active { background: var(--green-800); color: var(--ivory); }
.site-header.on-dark:not(.scrolled) .lang-switch { border-color: var(--line-light); background: rgba(255,255,255,.08); }
.site-header.on-dark:not(.scrolled) .lang-switch button { color: rgba(250,247,242,.82); }
.site-header.on-dark:not(.scrolled) .lang-switch button:hover { color: #fff; }
.site-header.on-dark:not(.scrolled) .lang-switch button.active { background: var(--gold-500); color: var(--green-900); }
.mobile-menu .lang-switch { margin-top: 24px; background: rgba(255,255,255,.08); border-color: var(--line-light); }
.mobile-menu .lang-switch button { color: rgba(250,247,242,.85); padding: 9px 16px; font-size: .85rem; }
.mobile-menu .lang-switch button.active { background: var(--gold-500); color: var(--green-900); }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 120; }
.burger span { width: 24px; height: 2px; background: var(--green-900); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--green-900); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 8px; opacity: 0; pointer-events: none;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; transform: none; }
.mobile-menu a { font-family: var(--serif); font-size: 2rem; color: var(--ivory); padding: 10px; opacity: .9; }
.mobile-menu a:hover { color: var(--gold-400); }
.mobile-menu .btn { margin-top: 26px; }
.mobile-menu .menu-foot { margin-top: 30px; font-size: .85rem; color: rgba(250,247,242,.6); letter-spacing: .05em; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: radial-gradient(120% 100% at 85% 10%, var(--green-700), var(--green-900) 62%);
  color: var(--ivory); overflow: hidden;
  padding-top: 120px; padding-bottom: 70px;
}
.hero__bg-shape {
  position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5;
  background: radial-gradient(circle, rgba(201,181,140,.28), transparent 70%);
  width: 620px; height: 620px; top: -160px; right: -140px; pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
  width: 100%;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(255,255,255,.07); border: 1px solid var(--line-light);
  font-size: .8rem; letter-spacing: .04em; color: var(--gold-200); margin-bottom: 26px;
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: #6FD08C; box-shadow: 0 0 0 4px rgba(111,208,140,.18); }
.hero h1 { color: var(--ivory); }
.hero h1 .serif-em { color: var(--gold-400); }
.hero__lead { margin-top: 26px; max-width: 520px; color: rgba(250,247,242,.82); font-size: 1.15rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
/* "Voir les prestations" — bouton encadré clair (distinct du bouton or), visible sur le fond marine / la photo */
.hero__cta .btn--ghost { background: rgba(255,255,255,.08); border: 1.6px solid rgba(255,255,255,.6); color: var(--ivory); }
.hero__cta .btn--ghost:hover { background: rgba(255,255,255,.16); border-color: #fff; color: #fff; transform: translateY(-2px); }
.hero__meta { display: flex; gap: 38px; margin-top: 48px; flex-wrap: wrap; }
.hero__meta .num { font-family: var(--serif); font-size: 2.1rem; color: var(--gold-400); line-height: 1; }
.hero__meta .lbl { font-size: .82rem; color: rgba(250,247,242,.7); margin-top: 8px; max-width: 140px; }

/* Hero centré (sans photo) */
.hero--center { text-align: center; }
.hero--center .hero__inner { max-width: 900px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.hero--center .hero__lead { margin-left: auto; margin-right: auto; max-width: 620px; }
.hero--center .hero__cta { justify-content: center; }
.hero--center .hero__meta { justify-content: center; gap: 50px; }
.hero--center .hero__meta .lbl { margin-inline: auto; }
.hero--center .hero__bg-shape { left: 50%; right: auto; top: -240px; transform: translateX(-50%); width: 720px; height: 720px; opacity: .6; }

/* Hero avant/après — image en FOND, texte par-dessus (proposition #1) */
.hero--ba {
  min-height: 94vh;
  align-items: flex-end;            /* texte ancré en bas */
  padding-top: 110px; padding-bottom: 60px;
  background-color: var(--green-900);
  background-image:
    linear-gradient(0deg, rgba(9,16,41,.95) 3%, rgba(9,16,41,.55) 42%, rgba(9,16,41,.30) 100%),
    url('../img/hero-avant-apres.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--ba .hero__inner { max-width: 840px; }
.ba-tag { position: absolute; top: 100px; z-index: 3; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: 7px 14px; border-radius: 100px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ba-tag.before { left: 26px; background: rgba(9,16,41,.55); color: #ecdcdc; border: 1px solid rgba(255,255,255,.22); }
.ba-tag.after  { right: 26px; background: rgba(201,181,140,.9); color: var(--green-900); }
@media (max-width: 600px) {
  .ba-tag { top: 86px; font-size: .62rem; padding: 5px 11px; }
}

.hero__visual { position: relative; }
.hero__photo {
  position: relative; border-radius: 40px 40px 130px 40px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.1);
  aspect-ratio: 4 / 4.5;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; display: block; }
.hero__float {
  position: absolute; background: var(--ivory); color: var(--ink);
  border-radius: var(--r-md); padding: 16px 20px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 13px;
}
.hero__float .ico { width: 40px; height: 40px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; color: var(--green-700); flex: none; }
.hero__float .ico svg { width: 21px; height: 21px; }
.hero__float .t { font-weight: 700; font-size: .95rem; line-height: 1.1; }
.hero__float .s { font-size: .78rem; color: var(--muted); }
.hero__float--1 { bottom: 60px; left: -54px; }
.hero__float--2 { top: 30px; right: -52px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background-color: var(--green-900);
  background-image:
    linear-gradient(100deg, rgba(9,16,41,.97) 0%, rgba(13,27,61,.88) 46%, rgba(13,27,61,.55) 100%),
    var(--hero-img, none);
  background-size: cover; background-position: center right;
  color: var(--ivory); padding: 170px 0 90px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,181,140,.22), transparent 70%); border-radius: 50%;
}
.page-hero .inner { position: relative; max-width: 760px; }
.page-hero h1 { color: var(--ivory); font-size: clamp(2.6rem, 5vw, 4.2rem); }
.page-hero .lead { color: rgba(250,247,242,.82); margin-top: 22px; }
.crumb { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 22px; }
.crumb a { opacity: .8; } .crumb a:hover { opacity: 1; }

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trustbar .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 0; }
.trustbar .item { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink-soft); font-size: .96rem; }
.trustbar .item svg { width: 22px; height: 22px; color: var(--gold-600); flex: none; }

/* ---------- Intro / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--media-right { direction: ltr; }
.media-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 5/6;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--full { aspect-ratio: auto; }
.media-frame--full img { height: auto; object-fit: contain; }
.media-frame::after {
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.18); border-radius: var(--r-lg); pointer-events: none;
}
.media-tag {
  position: absolute; left: 22px; bottom: 22px; background: rgba(9,16,41,.78);
  backdrop-filter: blur(8px); color: var(--ivory); padding: 14px 20px; border-radius: var(--r-sm);
  border: 1px solid var(--line-light);
}
.media-tag .t { font-family: var(--serif); font-size: 1.05rem; }
.media-tag .s { font-size: .78rem; color: var(--gold-200); letter-spacing: .04em; }

.signature { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--green-700); margin-top: 8px; }

/* ---------- Services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.svc-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 34px 30px; transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--cream); color: var(--green-700); margin-bottom: 22px;
  transition: background .35s, color .35s;
}
.svc-card:hover .ico { background: var(--green-800); color: var(--gold-400); }
.svc-card .ico svg { width: 27px; height: 27px; }
.svc-card h3 { font-size: 1.32rem; margin-bottom: 12px; }
.svc-card p { color: var(--ink-soft); font-size: .98rem; }
.svc-card .more { margin-top: 20px; }

/* ---------- Detailed service blocks (prestations) ---------- */
.svc-detail { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
.svc-detail + .svc-detail { margin-top: 0; }
.svc-block { padding: clamp(46px,6vw,76px) 0; border-top: 1px solid var(--line); }
.svc-block:first-of-type { border-top: none; }
.svc-aside .num-badge {
  font-family: var(--serif); font-size: 2.4rem; color: var(--gold-500);
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px;
}
.svc-aside .ico-lg {
  width: 64px; height: 64px; border-radius: 18px; background: var(--green-800); color: var(--gold-400);
  display: grid; place-items: center; margin-bottom: 22px;
}
.svc-aside .ico-lg svg { width: 30px; height: 30px; }
.svc-aside h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
.svc-aside p { color: var(--ink-soft); margin-top: 14px; font-size: .98rem; }
.feature-list { display: grid; gap: 2px; }
.feature-list li {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 4px;
  border-bottom: 1px solid var(--line); transition: padding-left .3s var(--ease);
}
.feature-list li:hover { padding-left: 14px; }
.feature-list li:last-child { border-bottom: none; }
.feature-list .chk {
  flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--cream); color: var(--green-700); display: grid; place-items: center;
}
.feature-list .chk svg { width: 14px; height: 14px; }
.feature-list .ft-text strong { display: block; font-weight: 600; font-size: 1.04rem; }
.feature-list .ft-text span { color: var(--muted); font-size: .92rem; }

/* ---------- Why / benefits ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.why-card {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-light); border-radius: var(--r-md);
  padding: 30px 28px; transition: background .35s, transform .35s var(--ease);
}
.why-card:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.why-card .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(201,181,140,.16); color: var(--gold-400); display: grid; place-items: center; margin-bottom: 20px; }
.why-card .ico svg { width: 24px; height: 24px; }
.why-card h3 { font-size: 1.2rem; color: var(--ivory); margin-bottom: 10px; }
.why-card p { color: rgba(250,247,242,.74); font-size: .95rem; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 3rem; color: var(--gold-500); opacity: .35; line-height: 1;
  position: absolute; top: -14px; left: 0;
}
.step .bar { height: 2px; background: var(--line); position: relative; margin: 12px 0 22px; }
.step .bar::after { content: ""; position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.step h3 { font-size: 1.18rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(2.4rem,4vw,3.4rem); color: var(--gold-400); line-height: 1; }
.stat .lbl { margin-top: 12px; color: rgba(250,247,242,.78); font-size: .92rem; }

/* ---------- Témoignages / reviews (bandeau défilant) ---------- */
.reviews-section .section-head { margin-bottom: 44px; }
.reviews-marquee {
  position: relative; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews-track {
  display: flex; gap: 24px; width: max-content;
  animation: reviews-scroll 55s linear infinite;
  will-change: transform;
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }
@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-track { animation: none; flex-wrap: wrap; justify-content: center; }
}
.review-card {
  flex: 0 0 auto; width: 380px;
  display: flex; flex-direction: column; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  white-space: normal;
}
.review-stars { color: var(--gold-500); letter-spacing: 3px; font-size: 1.05rem; }
.review-card blockquote { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; flex: 1; }
.review-author { display: flex; align-items: center; gap: 14px; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-author img {
  width: 52px; height: 52px; border-radius: 12px; object-fit: contain;
  background: var(--ivory); padding: 6px; border: 1px solid var(--line); flex-shrink: 0;
}
.review-author img.is-dark { background: var(--green-900); border-color: transparent; }
.review-author span { display: flex; flex-direction: column; line-height: 1.3; }
.review-author strong { font-size: 1rem; color: var(--ink); }
.review-author em { font-style: normal; font-size: .82rem; color: var(--muted); }

/* ---------- Logos partenaires ---------- */
.partners { margin-top: 64px; text-align: center; }
.partners-title {
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  font-weight: 600; margin-bottom: 30px;
}
.partners-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.partner-logo {
  display: flex; align-items: center; justify-content: center;
  width: 160px; height: 92px; padding: 16px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.partner-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.partner-logo.is-dark { background: var(--green-900); border-color: transparent; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ---------- Quote / pitch ---------- */
.pitch { text-align: center; max-width: 880px; margin-inline: auto; }
.pitch blockquote {
  font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1.25; font-weight: 400;
  letter-spacing: -.01em;
}
.pitch blockquote .text-gold { font-style: italic; }
.pitch .mark { font-family: var(--serif); font-size: 4rem; color: var(--gold-500); line-height: 0; opacity: .5; }

/* ---------- Bilingual ---------- */
.lang-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.lang-chip {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: 100px; font-weight: 600;
}
.lang-chip .flag { font-size: 1.3rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; left:-100px; bottom:-160px; width:420px; height:420px; background: radial-gradient(circle, rgba(201,181,140,.18), transparent 70%); border-radius:50%; }
.cta-inner { position: relative; text-align: center; max-width: 720px; margin-inline: auto; }
.cta-inner h2 { color: var(--ivory); }
.cta-inner .lead { color: rgba(250,247,242,.82); margin-top: 18px; }
.cta-inner .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info .info-item { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--cream); color: var(--green-700); display: grid; place-items: center; flex: none; }
.contact-info .ico svg { width: 22px; height: 22px; }
.contact-info .t { font-weight: 600; }
.contact-info .v { color: var(--ink-soft); font-size: .96rem; }
.contact-info .v a:hover { color: var(--green-700); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px,4vw,46px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--ivory);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); background: var(--white);
  box-shadow: 0 0 0 4px rgba(201,181,140,.15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 16px; text-align: center; }
.form-success {
  display: none; background: rgba(111,208,140,.12); border: 1px solid rgba(111,208,140,.4);
  color: var(--green-800); padding: 16px 18px; border-radius: var(--r-sm); margin-bottom: 20px; font-size: .95rem;
}
.form-success.show { display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; margin-top: 50px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 4px; font-family: var(--serif); font-size: 1.22rem; color: var(--ink); }
.faq-q .pm { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .3s, color .3s, transform .3s; color: var(--green-700); }
.faq-q .pm svg { width: 15px; height: 15px; transition: transform .35s var(--ease); }
.faq-item.open .faq-q .pm { background: var(--green-800); color: var(--gold-400); border-color: var(--green-800); }
.faq-item.open .faq-q .pm svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { color: var(--ink-soft); padding: 0 4px 26px; max-width: 680px; }

/* ---------- Pill list (about values) ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 40px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item .ico { width: 46px; height: 46px; border-radius: 13px; background: var(--cream); color: var(--green-700); display: grid; place-items: center; flex: none; }
.value-item .ico svg { width: 22px; height: 22px; }
.value-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.value-item p { color: var(--ink-soft); font-size: .94rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(250,247,242,.78); padding: 80px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand .brand__name { color: var(--ivory); }
.footer-brand p { margin-top: 18px; max-width: 300px; font-size: .95rem; }
.footer-col h4 { font-family: var(--sans); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; padding: 6px 0; font-size: .95rem; transition: color .25s; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line-light); font-size: .85rem; color: rgba(250,247,242,.55); }
.footer-bottom a:hover { color: var(--ivory); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  display: inline-flex; align-items: center;
  height: 60px; max-width: 60px; padding-left: 15px; overflow: hidden;
  background: #1FA855; color: #fff; border-radius: 100px; white-space: nowrap;
  box-shadow: 0 16px 38px -10px rgba(31,168,85,.55), 0 6px 16px rgba(9,16,41,.18);
  transition: max-width .45s var(--ease), transform .35s var(--ease), background .3s;
}
.wa-float .wa-ico { width: 30px; height: 30px; flex: none; display: grid; place-items: center; }
.wa-float .wa-ico svg { width: 30px; height: 30px; }
.wa-float .wa-label { font-weight: 600; font-size: .95rem; padding: 0 18px 0 12px; opacity: 0; transition: opacity .3s .05s; }
.wa-float:hover { max-width: 280px; background: #25c265; transform: translateY(-2px); }
.wa-float:hover .wa-label { opacity: 1; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 100px; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(31,168,85,.45); animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(31,168,85,.45); }
  70% { box-shadow: 0 0 0 18px rgba(31,168,85,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,168,85,0); }
}
@media (max-width: 600px) {
  .wa-float { right: 16px; bottom: 16px; height: 56px; max-width: 56px; padding-left: 13px; }
  .wa-float .wa-ico, .wa-float .wa-ico svg { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float::after { animation: none; } }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .nav-links, .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
  .hero__visual { max-width: 420px; margin-inline: auto; }
  .hero__float--1 { left: 0; } .hero__float--2 { right: 0; }
  .split { grid-template-columns: 1fr; }
  .split .media-frame { max-width: 480px; margin-inline: auto; }
  .svc-grid, .why-grid { grid-template-columns: repeat(2,1fr); }
  .steps { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); gap: 40px 24px; }
  .svc-detail { grid-template-columns: 1fr; gap: 30px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .value-grid { grid-template-columns: 1fr; }
}

/* ---------- Mobile (≤ 600px) ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }

  /* tighter vertical rhythm so pages scroll less */
  .section { padding: 58px 0; }
  .section--tight { padding: 46px 0; }
  .svc-block { padding: 40px 0; }

  /* hero avant/après sur mobile — image VERTICALE en fond plein, texte par-dessus */
  .hero--ba {
    min-height: 92vh;
    padding-top: 104px; padding-bottom: 50px;
    align-items: flex-end;
    background-image:
      linear-gradient(0deg, rgba(9,16,41,.96) 4%, rgba(9,16,41,.55) 40%, rgba(9,16,41,.2) 70%, rgba(9,16,41,.45) 100%),
      url('../img/hero-avant-apres-mobile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .ba-tag.before { top: 88px; left: 16px; }
  .ba-tag.after  { top: 88px; right: 16px; }
  .hero__visual { display: none; }
  .hero__content { text-shadow: 0 1px 18px rgba(9,16,41,.4); }
  .hero__lead { font-size: 1.05rem; }
  .hero__cta { gap: 12px; }
  .hero__meta { flex-wrap: nowrap; gap: 12px; margin-top: 36px; justify-content: space-between; }
  .hero__meta > div { flex: 1 1 0; min-width: 0; }
  .hero__meta .num { font-size: 1.5rem; }
  .hero__meta .lbl { font-size: .72rem; max-width: none; margin-top: 6px; }
  .hero__float { display: none; }
  .hero__photo { border-radius: var(--r-lg) var(--r-lg) 70px var(--r-lg); }

  /* full-width, comfortable tap targets */
  .hero__cta .btn, .cta-inner .btns .btn, .page-hero .btn { width: 100%; justify-content: center; }
  .cta-inner .btns { flex-direction: column; width: 100%; }
  .btn { padding: 16px 26px; }

  /* inner page hero — stronger overlay for text readability over photo */
  .page-hero { padding: 122px 0 60px; background-position: center; background-image: linear-gradient(160deg, rgba(9,16,41,.95) 0%, rgba(13,27,61,.9) 100%), var(--hero-img, none); }

  /* grids → single column */
  .svc-grid, .why-grid, .steps { grid-template-columns: 1fr; }
  .why-grid { gap: 16px; }
  .partner-logo { width: 132px; height: 80px; }
  .review-card { width: 300px; padding: 26px 22px; }
  .steps { gap: 30px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }

  /* cards a touch more compact */
  .svc-card { padding: 28px 24px; }
  .why-card { padding: 26px 22px; }
  .form-card { padding: 26px 20px; }

  /* section heads + leads sit comfortably */
  .section-head .lead, .lead { font-size: 1.04rem; }
  .pitch .mark { font-size: 3rem; }

  /* ----- Prestations page — reworked mobile design ----- */
  .svc-block { padding: 34px 0; }
  .svc-detail { gap: 22px; }
  .svc-aside { position: relative; padding-right: 56px; }
  .svc-aside .ico-lg { width: 52px; height: 52px; border-radius: 15px; margin-bottom: 16px; }
  .svc-aside .ico-lg svg { width: 26px; height: 26px; }
  .svc-aside .num-badge { position: absolute; top: 2px; right: 0; margin: 0; font-size: 2.5rem; opacity: .4; }
  .svc-aside h2 { font-size: 1.55rem; line-height: 1.12; }
  .svc-aside p { font-size: .95rem; margin-top: 12px; }
  /* feature items become tidy cards */
  .feature-list { gap: 12px; margin-top: 4px; }
  .feature-list li { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; box-shadow: var(--shadow-sm); }
  .feature-list li:hover { padding-left: 16px; }
  .feature-list .chk { width: 24px; height: 24px; }
  .feature-list .ft-text strong { font-size: 1rem; }
  .feature-list .ft-text span { font-size: .9rem; }
  /* bilingue block chips */
  #bilingue .lang-row { margin-top: 22px; }

  /* target audiences → tidy 2×2 grid */
  .trustbar .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; padding: 26px 0; }
  .trustbar .item { font-size: .9rem; align-items: flex-start; }
  .trustbar .item svg { margin-top: 1px; }

  /* footer */
  .footer-bottom { flex-direction: column; gap: 8px; text-align: left; }
}

@media (max-width: 380px) {
  .display { font-size: 2.3rem; }
  .hero__meta { gap: 9px; }
  .hero__meta .num { font-size: 1.32rem; }
  .hero__meta .lbl { font-size: .66rem; }
}
