/* ==========================================================================
   LIBERALIA Conseil — courtier et marketplace des professions libérales
   Feuille de style commune. Couleurs reprises de l'ancien site (logo #154360, menthe #76D7C4).
   ========================================================================== */

@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/Newsreader-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }

:root {
  --petrol: #154360;      /* bleu du logo */
  --petrol-900: #0d2c40;
  --night: #15284b;
  --mint: #76d7c4;        /* couleur principale de l'ancien site */
  --mint-100: #e4f6f1;
  --teal: #04c0b4;
  --teal-700: #0b7f78;    /* turquoise lisible sur fond clair */
  --cream: #f5f1d0;
  --paper: #fbfaf4;
  --sand: #f3f1e7;
  --ink: #17262f;
  --text: #33444f;
  --muted: #5d6e7a;
  --line: #e2e4dc;
  --white: #fff;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(13,44,64,.06), 0 12px 32px -12px rgba(13,44,64,.18);
  --shadow-lg: 0 30px 60px -24px rgba(13,44,64,.35);
  --container: 1200px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; line-height: 1.12; }
h1 em, h2 em { font-style: italic; color: var(--teal-700); }
h3 { font-weight: 700; font-size: 19px; line-height: 1.3; }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100000; background: #fff; color: #000; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }

/* Boutons, étiquettes */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font: 700 15px/1 var(--font); letter-spacing: .01em; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--petrol); color: #fff; box-shadow: 0 10px 24px -10px rgba(21,67,96,.7); }
.btn--primary:hover { background: var(--petrol-900); }
.btn--mint { background: var(--mint); color: var(--petrol-900); }
.btn--mint:hover { background: #8fe0d0; }
.btn--ghost { border-color: currentColor; color: var(--petrol); background: transparent; }
.btn--ghost:hover { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.kicker--light { color: var(--mint); }

.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker::after { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font-size: 14px; color: var(--muted); }
.breadcrumb a:hover { color: var(--petrol); text-decoration: underline; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.page-hero--center .chips { justify-content: center; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--petrol); transition: .2s; }
.chip:hover, .chip.is-active { background: var(--petrol); border-color: var(--petrol); color: #fff; }

.checks { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.checks--2col { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.checks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; fill: var(--teal); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .insurers__track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Barre du haut, en-tête, menu
   -------------------------------------------------------------------------- */
.topbar { background: var(--petrol-900); color: #cfe3ea; font-size: 13px; }
.topbar__inner { max-width: var(--container); margin: 0 auto; padding: 8px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar__tag { font-weight: 600; letter-spacing: .02em; }
.topbar__links { display: flex; gap: 24px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 600; }
.topbar__links a:hover { color: var(--mint); }
.topbar svg { width: 14px; height: 14px; }

.site-header { position: sticky; top: 0; z-index: 90; background: rgba(251,250,244,.92); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background-color .3s; }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: saturate(1.4) blur(12px); } }
.site-header.is-sticky { background: rgba(255,255,255,.95); border-bottom-color: var(--line); box-shadow: 0 10px 30px -20px rgba(13,44,64,.35); }
.navbar { max-width: var(--container); margin: 0 auto; padding: 0 24px; height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.navbar__logo img { width: 176px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font: 700 15px/1 var(--font); color: var(--ink); background: none; border: 0; cursor: pointer; transition: background-color .2s, color .2s;
}
.nav > li > a:hover, .nav > li > button:hover, .nav__has-sub.open > button { background: var(--mint-100); color: var(--petrol); }
.nav__chev { width: 14px; height: 14px; transition: transform .3s; }
.nav__has-sub.open .nav__chev { transform: rotate(180deg); }
.nav__cta { margin-left: 10px; }
.nav > li.nav__cta > .btn { min-height: 46px; padding: 0 20px; font-size: 14px; background: var(--petrol); color: #fff; }
.nav > li.nav__cta > .btn:hover { background: var(--petrol-900); color: #fff; }

.nav__has-sub { position: static; }
.nav__mega {
  position: absolute; left: 50%; top: 100%; width: min(1100px, calc(100vw - 48px)); transform: translate(-50%, 12px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 28px; padding: 30px 34px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav__has-sub.open .nav__mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 1101px) {
  .nav__has-sub:hover .nav__mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .nav__has-sub:hover .nav__chev { transform: rotate(180deg); }
}
.nav__col-title { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 10px; }
.nav__col ul { list-style: none; margin: 0; padding: 0; }
.nav__col a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink); transition: background-color .2s; }
.nav__col a:hover { background: var(--mint-100); }
.nav__col img { width: 28px; height: 28px; }

.burger { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--mint-100); cursor: pointer; padding: 13px 12px; }
.burger span { display: block; height: 2px; margin: 4px 0; background: var(--petrol); border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Accueil
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: 70px 24px 90px; overflow: hidden;
  background: radial-gradient(circle at 85% 20%, rgba(118,215,196,.35), transparent 45%), radial-gradient(circle at 10% 90%, rgba(245,241,208,.9), transparent 40%), var(--paper); }
.hero__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 72px); }
.hero__lead { margin-top: 24px; font-size: 19px; max-width: 560px; color: var(--text); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { display: flex; gap: 40px; list-style: none; margin: 46px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.hero__stats strong { display: block; font: 500 40px/1 var(--serif); color: var(--petrol); }
.hero__stats span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.hero__visual { position: relative; isolation: isolate; }
.hero__visual img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 220px 220px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero__visual::before { content: ""; position: absolute; inset: auto -26px -26px auto; width: 60%; height: 60%; border-radius: var(--radius-lg); background: var(--mint); z-index: -1; }
.hero__badge { position: absolute; left: -34px; top: 34%; display: flex; gap: 14px; align-items: center; max-width: 300px; padding: 16px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero__badge img { width: 48px; height: 48px; flex: none; }
.hero__badge p { font-size: 13px; line-height: 1.4; color: var(--muted); }
.hero__badge strong { display: block; font-size: 15px; color: var(--ink); }

.insurers { padding: 46px 0; background: #fff; border-block: 1px solid var(--line); overflow: hidden; }
.insurers__title { text-align: center; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.insurers__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.insurers:hover .insurers__track { animation-play-state: paused; }
.insurers__row { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
.insurers__row img { width: auto; height: 46px; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; }
.insurers__row img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

.pillars, .values { padding: 110px 0; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar { position: relative; padding: 38px 34px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .35s var(--ease), box-shadow .35s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar__num { display: block; font: italic 500 46px/1 var(--serif); color: var(--mint); margin-bottom: 22px; }
.pillar h3 { font-size: 21px; margin-bottom: 12px; }
.pillar p { color: var(--muted); }

.feature { padding: 0 24px; }
.feature__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--petrol); color: #d7e6ec; }
.feature__text { padding: 76px 64px; }
.feature h2 { color: #fff; font-size: clamp(30px, 3.2vw, 42px); }
.feature__text > p { margin-top: 22px; font-size: 17px; }
.feature__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature__list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.07); font-weight: 700; color: #fff; }
.feature__list img { width: 40px; height: 40px; flex: none; padding: 6px; border-radius: 10px; background: #fff; }
.feature__btns { margin-top: 36px; }
.feature__img { margin: 0; min-height: 100%; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.mission-list { margin: 30px 0 0; padding: 0; list-style: none; counter-reset: m; display: grid; gap: 18px; }
.mission-list li { counter-increment: m; position: relative; padding-left: 56px; font-size: 17px; }
.mission-list li::before { content: counter(m, decimal-leading-zero); position: absolute; left: 0; top: -2px; font: italic 500 28px/1 var(--serif); color: var(--mint); }
.mission-list strong { color: #fff; }

.market { padding: 120px 0 100px; }
.market__group + .market__group { margin-top: 50px; }
.market__label { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; font: italic 500 26px/1 var(--serif); color: var(--petrol); }
.market__label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.market__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 54px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--mint); }
.svc-card img { width: 56px; height: 56px; margin-bottom: 10px; }
.market__grid--5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.market__grid--5 .svc-card { padding: 22px 20px 54px; }
.svc-card__tag { position: absolute; top: 18px; right: 18px; padding: 3px 9px; border-radius: 999px; background: var(--sand); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.svc-card__title { font-size: 17px; font-weight: 800; color: var(--ink); line-height: 1.3; }
.svc-card__desc { font-size: 14px; color: var(--muted); line-height: 1.5; }
.svc-card__go { position: absolute; right: 20px; bottom: 18px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--mint-100); color: var(--petrol); transition: background-color .3s, color .3s, transform .3s var(--ease); }
.svc-card__go svg { width: 16px; height: 16px; }
.svc-card:hover .svc-card__go { background: var(--petrol); color: #fff; transform: translateX(3px); }

.pros { padding: 110px 0; background: var(--sand); }
.pros__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pro-card { display: block; padding: 0 30px 34px; text-align: center; background: #fff; border-radius: var(--radius-lg); transition: transform .35s var(--ease), box-shadow .35s; }
.pro-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pro-card img { width: 100%; max-width: 300px; margin: 0 auto 6px; aspect-ratio: 1; object-fit: contain; background: radial-gradient(circle at 50% 62%, var(--mint-100) 0 55%, transparent 56%); }
.pro-card h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin-bottom: 10px; }
.pro-card p { font-size: 15px; color: var(--muted); }

.problems { padding: 120px 0; }
.problems__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.problem { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 1 / 1.08; color: #fff; }
.problem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.problem:hover img { transform: scale(1.05); }
.problem::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,44,64,0) 35%, rgba(13,44,64,.92) 100%); }
.problem div { position: absolute; z-index: 1; left: 26px; right: 26px; bottom: 26px; }
.problem h3 { color: #fff; font-size: 21px; margin-bottom: 8px; }
.problem p { font-size: 15px; color: #dbe8ed; }

.why { padding: 110px 0; background: linear-gradient(180deg, var(--paper), var(--mint-100)); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card { text-align: center; }
.why-card__img { position: relative; margin: 0 auto 22px; max-width: 240px; aspect-ratio: 1; border-radius: 50%; background: #fff; overflow: hidden; box-shadow: var(--shadow); }
.why-card__img img { position: absolute; inset: 8% 0 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 15px; color: var(--muted); }

.ce-band { padding: 110px 24px; }
.ce-band__grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: .85fr 1fr; gap: 70px; align-items: center; }
.ce-band img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 1; object-fit: cover; }
.ce-band p { margin: 20px 0 32px; font-size: 18px; }

/* --------------------------------------------------------------------------
   Prise de rendez-vous et formulaires
   -------------------------------------------------------------------------- */
.rdv { padding: 110px 24px; background: var(--night); color: #cbd8e3; position: relative; overflow: hidden; }
.rdv::before { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(118,215,196,.28), transparent 65%); }
.rdv__grid { position: relative; max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.rdv h2 { color: #fff; }
.rdv__text > p { margin-top: 18px; font-size: 18px; }
.rdv__contact { list-style: none; margin: 36px 0 0; padding: 0; display: grid; gap: 18px; }
.rdv__contact li { display: flex; gap: 16px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.rdv__contact svg { width: 42px; height: 42px; flex: none; padding: 11px; border-radius: 12px; background: rgba(118,215,196,.14); color: var(--mint); }
.rdv__contact a { font-size: 17px; font-weight: 700; color: #fff; }
.rdv__contact a:hover { color: var(--mint); }
.rdv__card { padding: 38px; background: #fff; border-radius: var(--radius-lg); color: var(--text); box-shadow: var(--shadow-lg); }
.rdv__card-title { display: flex; align-items: center; gap: 12px; font: 500 26px/1.2 var(--serif); color: var(--ink); }
.rdv__card-title svg { width: 26px; height: 26px; color: var(--teal-700); }
.rdv__card-sub { margin: 10px 0 24px; color: var(--muted); font-size: 15px; }
.rdv__slot .calendly-inline-widget { border-radius: var(--radius-lg); overflow: hidden; background: #fff; }

.contact-form { display: flex; flex-wrap: wrap; gap: 16px 18px; }
.field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; }
.field--half { flex-basis: calc(50% - 9px); }
.field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.field label span { color: #c0392b; margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--paper); font: 500 16px/1.4 var(--font); color: var(--ink); transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(4,192,180,.15); }
.contact-form__legal { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.contact-form__legal a { text-decoration: underline; }
.contact-form button { margin-top: 4px; }
.contact-form__status { flex-basis: 100%; font-weight: 700; color: var(--teal-700); min-height: 1.4em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------------------
   Pages intérieures (services, qui sommes-nous, professions, contact)
   -------------------------------------------------------------------------- */
.page-hero, .svc-hero { padding: 64px 24px 90px; background: radial-gradient(circle at 90% 0%, rgba(118,215,196,.3), transparent 45%), var(--paper); }
.page-hero__grid, .svc-hero__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.page-hero h1, .svc-hero h1 { font-size: clamp(36px, 4.6vw, 60px); }
.page-hero__lead, .svc-hero__lead { margin-top: 22px; font-size: 19px; max-width: 640px; }
.page-hero__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.page-hero--center { text-align: center; }
.page-hero--center .breadcrumb, .page-hero--center .kicker { justify-content: center; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero--short { padding-bottom: 60px; }
.svc-hero__icon { justify-self: center; width: min(320px, 70vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: var(--shadow-lg); outline: 14px solid rgba(118,215,196,.25); }
.svc-hero__icon img { width: 58%; height: auto; }

.svc-intro { padding: 70px 0; background: #fff; border-block: 1px solid var(--line); }
.svc-intro p { font: 500 clamp(21px, 2.2vw, 27px)/1.5 var(--serif); color: var(--ink); text-align: center; }

.svc-items { padding: 110px 0; }
.svc-items__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-item { padding: 32px 30px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .35s var(--ease), box-shadow .35s; }
.svc-item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.svc-item img { width: 64px; height: 64px; margin-bottom: 18px; }
.svc-item h3 { margin-bottom: 8px; }
.svc-item p { font-size: 15px; color: var(--muted); }

.svc-insurers { padding: 0 0 110px; }
.logo-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-wall img { width: 100%; height: 86px; padding: 18px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 14px; }

.steps { padding: 100px 0; background: var(--sand); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.steps__list li { counter-increment: s; position: relative; padding: 70px 30px 32px; background: #fff; border-radius: var(--radius-lg); }
.steps__list li::before { content: counter(s); position: absolute; top: 26px; left: 30px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--petrol); color: #fff; font-weight: 800; font-size: 15px; }
.steps__list strong { display: block; font-size: 19px; color: var(--ink); margin-bottom: 8px; }
.steps__list span { font-size: 15px; color: var(--muted); }

.partner-cta { padding: 70px 0; }
.partner-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 44px 50px; border-radius: var(--radius-lg); background: var(--cream); }
.partner-cta h2 { font-size: clamp(24px, 2.6vw, 32px); }
.partner-cta p { margin-top: 8px; color: var(--text); }
.partner-cta .btn--mint { background: var(--petrol); color: #fff; flex: none; }

.svc-more { padding: 100px 0; }
.svc-more h2 { margin-bottom: 30px; font-size: 32px; }

.mission { padding: 0 0 40px; margin-top: -30px; }
.mission__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mission-card { margin: 0; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.mission-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mission-card figcaption { padding: 22px 26px; font-weight: 700; color: var(--ink); }

.prof { padding: 90px 24px; }
.prof--alt { background: var(--sand); }
.prof__grid { max-width: 1060px; margin: 0 auto; display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; align-items: center; }
.prof--alt .prof__grid > img { order: 2; }
.prof__img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; box-shadow: var(--shadow-lg); }
.prof h2 { margin-bottom: 16px; }

.map { padding: 100px 0; }
.map__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: center; }
.map__text p { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; }
.map__text svg { width: 18px; height: 22px; flex: none; margin-top: 3px; color: var(--teal-700); }
.map__text .btn { margin-top: 26px; }
.map__frame { width: 100%; height: 400px; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* Pages légales */
.legal { max-width: 860px; margin: 0 auto; padding: 70px 24px 100px; }
.legal h1 { font-size: clamp(36px, 4.4vw, 52px); margin-bottom: 30px; }
.legal h2 { font-family: var(--font); font-weight: 800; font-size: 20px; letter-spacing: 0; margin: 38px 0 12px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal a { color: var(--teal-700); text-decoration: underline; }
.legal-site { color: var(--muted); }
.todo { display: inline-block; padding: 1px 10px; border-radius: 6px; background: #fff3c4; color: #7a5b00; font-weight: 700; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer { background: var(--petrol-900); color: #a9c0cc; padding: 80px 0 30px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 50px; }
.footer__brand img { width: 200px; height: auto; }
.footer__brand p { margin-top: 22px; max-width: 340px; line-height: 1.7; }
.footer__social { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-top: 20px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; }
.footer__social svg { width: 18px; height: 18px; }
.footer__title { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 16px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__links--2col { grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.footer__links a:hover { color: #fff; }
.footer__bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; }
.footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 22px; }
.footer__bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Actualités / blog
   -------------------------------------------------------------------------- */
.news { padding: 110px 24px; max-width: calc(var(--container) + 48px); margin: 0 auto; }
.news--list { padding-top: 40px; }
.news__head { text-align: center; margin-bottom: 40px; }
.news__cta { text-align: center; margin-top: 46px; }
.news__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__img { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--petrol), var(--teal)); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.post-card__cat { padding: 4px 10px; border-radius: 999px; background: var(--mint-100); color: var(--teal-700); font-weight: 700; }
.post-card h3 { font-size: 19px; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--teal-700); }
.post-card p { font-size: 15px; color: var(--muted); flex: 1; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 800; font-size: 14px; color: var(--petrol); }
.post-card__more svg { width: 16px; height: 16px; transition: transform .3s; }
.post-card__more:hover svg { transform: translateX(4px); }

.blog-hero { padding: 64px 0 30px; text-align: center; background: radial-gradient(circle at 90% 0%, rgba(118,215,196,.3), transparent 45%), var(--paper); }
.blog-hero .breadcrumb, .blog-hero .chips { justify-content: center; }
.blog-hero h1 { font-size: clamp(40px, 5vw, 64px); }
.blog-hero p { margin-top: 14px; font-size: 18px; color: var(--muted); }

.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; }
.pagination span[aria-current] { background: var(--petrol); border-color: var(--petrol); color: #fff; }

.preview-bar { position: sticky; top: 84px; z-index: 80; padding: 12px 24px; text-align: center; background: #fff3c4; color: #5c4400; font-weight: 700; }
.preview-bar a { text-decoration: underline; }

.post-hero { padding: 56px 0 40px; background: var(--paper); }
.post-hero .container { max-width: 900px; }
.post-hero__cat { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--mint-100); color: var(--teal-700); font-size: 13px; font-weight: 800; margin-bottom: 18px; }
.post-hero h1 { font-size: clamp(32px, 4.4vw, 52px); }
.post-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; font-size: 14px; color: var(--muted); }
.post-hero__meta img { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.post-hero__meta a { font-weight: 700; color: var(--petrol); }
.post-hero__meta svg { width: 15px; height: 15px; display: inline; vertical-align: -2px; }
.post-cover { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.post-cover img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 16 / 8; object-fit: cover; }
.post-layout { max-width: 1100px; margin: 0 auto; padding: 50px 24px 80px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 60px; }
.post-layout:not(:has(.post-toc)) { grid-template-columns: minmax(0, 760px); justify-content: center; }
.post-toc { position: sticky; top: 110px; align-self: start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-size: 14px; }
.post-toc p { font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.post-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); }
.post-toc a:hover { color: var(--teal-700); }
.post-content { font-size: 18px; line-height: 1.8; color: var(--text); }
.post-content > * + * { margin-top: 1.1em; }
.post-content h2 { font-size: clamp(26px, 2.6vw, 32px); margin-top: 1.8em; scroll-margin-top: 110px; }
.post-content h3 { font-size: 21px; margin-top: 1.6em; scroll-margin-top: 110px; }
.post-content a { color: var(--teal-700); text-decoration: underline; text-underline-offset: 3px; }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-content li + li { margin-top: .4em; }
.post-content blockquote { position: relative; margin: 1.8em 0; padding: 30px 30px 26px 74px; background: var(--mint-100); border-radius: var(--radius); font-family: var(--serif); font-size: 21px; line-height: 1.55; color: var(--ink); }
.post-content blockquote::before { content: "“"; position: absolute; left: 22px; top: 6px; font: italic 500 72px/1 var(--serif); color: var(--teal); }
.post-content img { border-radius: var(--radius); }
.post-content strong { color: var(--ink); }
.post-author { display: flex; gap: 22px; align-items: flex-start; margin-top: 50px !important; padding: 28px; border-radius: var(--radius-lg); background: var(--sand); }
.post-author img { width: 88px; height: 88px; border-radius: 50%; background: #fff; flex: none; }
.post-author__name { font-weight: 800; color: var(--ink); font-size: 18px; }
.post-author p + p { margin-top: 6px; font-size: 15px; line-height: 1.6; }
.post-author .btn { margin-top: 16px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .burger { display: block; order: 2; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 84px); z-index: 95; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 20px 24px 40px; background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: 16px 12px; font-size: 18px; border-radius: 12px; }
  .nav__mega { position: static; width: auto; transform: none; display: none; grid-template-columns: 1fr 1fr; padding: 10px 12px 18px; border: 0; box-shadow: none; opacity: 1; visibility: visible; }
  .nav__has-sub.open .nav__mega { display: grid; transform: none; }
  .nav__cta { margin: 16px 0 0; }
  .nav__cta .btn { width: 100%; min-height: 54px; }
  .hero__grid, .page-hero__grid, .svc-hero__grid, .feature__grid, .rdv__grid, .ce-band__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 640px; }
  .hero__badge { left: 16px; }
  .feature__img { max-height: 420px; }
  .market__grid, .market__grid--5 { grid-template-columns: repeat(3, 1fr); }
  .why__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .logo-wall { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }
  .navbar { height: 72px; }
  .navbar__logo img { width: 150px; }
  .nav { height: calc(100dvh - 72px); }
  .hero { padding: 40px 20px 70px; }
  .hero__stats { gap: 22px; }
  .hero__stats strong { font-size: 32px; }
  .hero__visual::before { right: -12px; bottom: -12px; }
  .pillars, .values, .market, .pros, .problems, .why, .ce-band, .svc-items, .steps, .svc-more, .map, .rdv { padding-block: 76px; }
  .pillars__grid, .pros__grid, .problems__grid, .svc-items__grid, .steps__list, .mission__grid, .post-grid { grid-template-columns: 1fr; }
  .market__grid, .market__grid--5 { grid-template-columns: 1fr 1fr; }
  .feature { padding: 0; }
  .feature__grid { border-radius: 0; }
  .feature__text { padding: 60px 24px; }
  .feature__list { grid-template-columns: 1fr; }
  .problem { aspect-ratio: 4 / 3; }
  .prof__grid { grid-template-columns: 1fr; gap: 36px; }
  .prof--alt .prof__grid > img { order: 0; }
  .prof__img { max-height: 420px; width: 100%; }
  .checks--2col { grid-template-columns: 1fr; }
  .partner-cta__inner { flex-direction: column; align-items: flex-start; padding: 34px 28px; }
  .map__grid { grid-template-columns: 1fr; }
  .rdv__card { padding: 28px 22px; }
  .field--half { flex-basis: 100%; }
  .logo-wall { grid-template-columns: repeat(3, 1fr); }
  .post-layout { grid-template-columns: 1fr; gap: 30px; }
  .post-toc { position: static; }
  .footer__grid { grid-template-columns: 1fr; }
  .post-author { flex-direction: column; }
  .nav__mega { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .market__grid, .market__grid--5 { grid-template-columns: 1fr; }
  .hero__btns .btn { width: 100%; }
  .hero__badge { position: static; margin-top: 18px; max-width: none; }
  .hero__stats { flex-wrap: wrap; }
  .topbar__links { gap: 14px; }
  .topbar__links a:last-child { display: none; }
  .footer__links--2col { grid-template-columns: 1fr; }
}
