/* INFIRMIA — feuille de style
   Couleurs reprises de l'ancien site : dégradé corail → violet → pervenche, accent turquoise, bleu nuit.
   Nouvelle mise en page « tournée » : personnages détourés posés sur des pastilles dégradées, cartes douces, fond nuage.
   Titres en Gabarito (géométrique arrondie), texte en Albert Sans.
   Motif signature : le tracé de pouls corail (fonction wave() dans inc/layout.php). */

@font-face { font-family: "Gabarito"; src: url("../fonts/Gabarito-var.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("../fonts/AlbertSans-var.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }

:root {
  --ink: #1e2440;          /* bleu nuit : titres, fonds sombres */
  --ink-2: #2a3156;
  --text: #33395a;
  --muted: #626986;
  --coral: #ff5c7a;        /* corail du logo */
  --coral-text: #c22e49;   /* corail lisible sur fond clair */
  --coral-pale: #ffe1e6;
  --violet: #8b5cf6;
  --violet-deep: #6236d6;  /* bouton principal (texte blanc lisible) */
  --violet-pale: #f0ebff;
  --peri: #7b8cf0;
  --peri-pale: #e3e7ff;
  --teal: #14b8a6;
  --teal-text: #0c7a70;
  --teal-light: #7fe8dc;
  --paper: #fbfaff;        /* fond « nuage » */
  --card: #ffffff;
  --line: #e6e3f4;
  --on-dark: #dfe2f5;
  --on-dark-muted: #a9aecb;
  --grad: linear-gradient(135deg, #ff7d95 0%, #8b5cf6 55%, #7b8cf0 100%);
  --grad-soft: linear-gradient(135deg, #ffe1e6 0%, #ebe3ff 55%, #e3e7ff 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 26px 50px -30px rgba(30, 36, 64, .45);
  --shadow-soft: 0 18px 40px -28px rgba(98, 54, 214, .45);
  --head: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-deep); text-underline-offset: 3px; text-decoration-color: rgba(139, 92, 246, .45); }
a:hover { color: var(--coral-text); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
h1 em, h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--card); box-shadow: 0 0 0 1px var(--line); font: 600 .84rem/1 var(--body); color: var(--ink); }
.eyebrow::before { content: "+"; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; font: 700 1.05rem/1 var(--body); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.container { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 40px); }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { width: 46px; height: 46px; flex: none; fill: none; stroke: var(--coral); stroke-width: 2; stroke-linejoin: round; }
.logo__mark circle { stroke-width: 1.8; }
.logo__word { display: flex; flex-direction: column; font: 600 1.6rem/1 var(--head); color: var(--ink); letter-spacing: -.02em; }
.logo__word span { margin-top: 3px; font: 700 .68rem/1 var(--body); letter-spacing: .32em; text-transform: uppercase; color: var(--teal-text); }
.logo--light .logo__word { color: #fff; }
.logo--light .logo__word span { color: var(--teal-light); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 700 .95rem/1 var(--body); text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 1rem; }
.btn--primary { background: var(--violet-deep); color: #fff; box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: rgba(30, 36, 64, .25); color: var(--ink); background: var(--card); }
.btn--ghost:hover { border-color: var(--coral); color: var(--coral-text); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--coral-pale); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }
.link-more { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; text-decoration: none; color: var(--violet-deep); }
.link-more .ico { transition: transform .2s; color: var(--coral); }
.link-more:hover .ico { transform: translateX(4px); }

/* Tracé de pouls */
.wave { width: min(var(--wrap), 100% - 40px); height: 40px; margin-inline: auto; color: var(--coral); }
.wave svg { width: 100%; height: 100%; display: block; overflow: visible; }
.wave path { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wave--hero { position: absolute; left: 0; right: 0; bottom: 18px; opacity: .8; }
.page-home .wave--hero svg { clip-path: inset(0 100% 0 0); animation: pulse 2.2s .3s cubic-bezier(.5, .05, .2, 1) forwards; }
@keyframes pulse { to { clip-path: inset(0 0 0 0); } }
.wave--footer { color: var(--coral); opacity: .7; margin-bottom: 40px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 255, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 12px 30px -24px rgba(30, 36, 64, .5); }
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: .84rem; }
.topbar__inner { display: flex; align-items: center; gap: 22px; min-height: 36px; }
.topbar__tag { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--on-dark); font-weight: 500; }
.topbar__tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-light); box-shadow: 0 0 0 4px rgba(127, 232, 220, .18); }
.topbar a { color: var(--on-dark); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a .ico { color: var(--coral); }
.topbar a:hover { color: #fff; }
.navbar { display: flex; align-items: center; gap: 24px; min-height: 80px; }
.navbar__logo { text-decoration: none; }
.is-scrolled .logo__mark { width: 40px; height: 40px; }
.nav-wrap { margin-left: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav > li > a, .nav > li > button { display: inline-flex; align-items: center; gap: 5px; padding: 10px 12px; border: 0; background: none; font: 600 .94rem/1 var(--body); color: var(--ink); text-decoration: none; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.nav > li > a:hover, .nav > li > button:hover, .nav__has-sub.open > button { background: var(--violet-pale); color: var(--violet-deep); }
.nav > li > a[aria-current] { color: var(--violet-deep); }
.nav > li > button .ico { width: 16px; transition: transform .2s; color: var(--coral); }
.nav__has-sub { position: relative; }
.nav__has-sub.open > button .ico { transform: rotate(180deg); }
.nav__dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; list-style: none; margin: 0; padding: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav__has-sub.open > .nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__dropdown ul { list-style: none; margin: 0; padding: 0; }
.nav__dropdown a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: 12px; color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav__dropdown a:hover, .nav__dropdown a[aria-current] { background: var(--grad-soft); color: var(--ink); }
.nav__dropdown a .ico { width: 14px; color: var(--muted); }
.nav__dropdown--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; min-width: 600px; left: 50%; transform: translate(-50%, -6px); }
.nav__has-sub.open > .nav__dropdown--cols { transform: translate(-50%, 0); }
.nav__group { margin: 8px 14px 6px; font: 700 .74rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-text); }
.nav__cta { margin-left: 10px; }
.nav > li > a.btn { padding: 0 22px; color: #fff; background: var(--violet-deep); }
.nav > li > a.btn:hover { background: var(--ink); color: #fff; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Rythme des sections */
main > section { padding-block: clamp(68px, 9vw, 112px); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2::before, .rdv h2::before { content: ""; display: block; width: 54px; height: 6px; border-radius: 6px; background: var(--grad); margin-bottom: 20px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head--light h2 { color: #fff; }
.section-head--light p { color: var(--on-dark-muted); }

/* Hero de l'accueil : fond nuage, pastille dégradée derrière les personnages */
main > .hero { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(96px, 10vw, 128px); background: radial-gradient(40% 60% at 85% 30%, rgba(139, 92, 246, .16), transparent 70%), radial-gradient(35% 50% at 60% 90%, rgba(255, 125, 149, .16), transparent 70%), var(--paper); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; }
.hero h1 { font-size: clamp(2.5rem, 4.8vw, 3.9rem); max-width: 17ch; }
.hero__lead { font-size: 1.18rem; max-width: 33em; color: var(--muted); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero__proof { display: flex; align-items: center; gap: 14px; }
.hero__proof img { width: 62px; height: 62px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.hero__proof p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.35; }
.hero__proof strong { display: block; font: 600 1.35rem/1.15 var(--head); color: var(--ink); }
.hero__visual { position: relative; width: min(540px, 100%); margin-left: auto; }
.hero__visual::before { content: ""; position: absolute; inset: 8% 4% 0; border-radius: 50%; background: var(--grad); opacity: .9; }
.hero__visual::after { content: ""; position: absolute; inset: 3% -1% -5%; border-radius: 50%; border: 2px dashed rgba(139, 92, 246, .35); animation: spin 90s linear infinite; }
.hero__photo { position: relative; z-index: 1; width: 100%; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent 99%); mask-image: linear-gradient(180deg, #000 82%, transparent 99%); }
.hero__label { position: absolute; z-index: 2; left: -4%; bottom: 6%; width: 136px; padding: 8px; border-radius: 50%; background: var(--ink); animation: spin 40s linear infinite; }
.hero__tags { position: absolute; z-index: 2; inset: 0; list-style: none; margin: 0; padding: 0; pointer-events: none; }
.hero__tags li { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: .88rem; color: var(--ink); animation: float 6s ease-in-out infinite; }
.hero__tags li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.hero__tags li:nth-child(1) { top: 14%; left: -6%; }
.hero__tags li:nth-child(2) { top: 6%; right: 2%; animation-delay: -2s; }
.hero__tags li:nth-child(2)::before { background: var(--coral); }
.hero__tags li:nth-child(3) { bottom: 22%; right: -4%; animation-delay: -4s; }
.hero__tags li:nth-child(3)::before { background: var(--violet); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Communauté */
.community__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.community__photos { position: relative; padding: 0 0 18% 0; }
.community__photos img:first-child { width: 82%; aspect-ratio: 1; object-fit: cover; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; box-shadow: var(--shadow); }
.community__photos img:last-child { position: absolute; right: 0; bottom: 0; width: 62%; padding: 14px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.pillars { margin: 28px 0; display: grid; gap: 20px; }
.pillars dt { display: flex; align-items: center; gap: 12px; font: 600 1.18rem/1.25 var(--head); color: var(--ink); margin-bottom: 4px; }
.pillars dt::before { content: "+"; width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--coral-pale); color: var(--coral-text); font: 700 1.1rem/1 var(--body); }
.pillars dd { margin: 0; padding-left: 40px; color: var(--muted); }
.pillars--compact { gap: 14px; }
.pillars--row { grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* Besoins : accès rapide */
main > .needs { background: var(--card); border-block: 1px solid var(--line); }
.needs__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.needs__list a { display: flex; flex-direction: column; height: 100%; padding: 14px 14px 22px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.needs__list img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 18px; background: var(--grad-soft); margin-bottom: 16px; }
.needs__list span { font: 600 1.12rem/1.25 var(--head); color: var(--ink); padding: 0 6px; }
.needs__list a:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.needs__list a:hover span { color: var(--violet-deep); }
.needs__cta { margin: 36px 0 0; text-align: center; }

/* Devenir IDEL : parcours en 4 étapes */
.journey__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.journey__text { position: sticky; top: 140px; }
.journey__text h2::before { content: ""; display: block; width: 54px; height: 6px; border-radius: 6px; background: var(--grad); margin-bottom: 20px; }
.journey__text .lead { color: var(--muted); margin-bottom: 28px; }
.journey__quiz { display: flex; margin-top: 22px; }
.journey__steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.journey__steps li { counter-increment: step; display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 16px 22px 16px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); position: relative; }
.journey__steps li::after { content: counter(step, decimal-leading-zero); position: absolute; top: 14px; right: 20px; font: 800 1rem/1 var(--head); color: var(--coral-text); }
.journey__steps img { width: 96px; height: 96px; object-fit: contain; border-radius: 50%; background: var(--grad-soft); }
.journey__steps h3 { margin-bottom: 4px; padding-right: 30px; }
.journey__steps p { margin: 0; color: var(--muted); font-size: .97rem; }

/* Blocs services */
.feature__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.feature--reverse .feature__img { order: 2; }
main > .feature--tint { background: linear-gradient(180deg, var(--violet-pale), var(--paper)); }
.feature__img { display: grid; place-items: center; position: relative; isolation: isolate; }
.feature__img::before { content: ""; position: absolute; z-index: -1; width: min(420px, 92%); aspect-ratio: 1; border-radius: 50%; background: var(--grad-soft); }
.feature__img::after { content: "+"; position: absolute; z-index: -1; top: 6%; right: 12%; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: #fff; font: 700 1.8rem/1 var(--body); box-shadow: 0 10px 24px -10px rgba(255, 92, 122, .8); }
.feature__img img { width: min(440px, 100%); aspect-ratio: 1; object-fit: contain; }
.feature__text h2 { max-width: 17ch; }
.feature__text .lead { color: var(--muted); }
.feature__text .hero__btns { margin-bottom: 0; }
.ticks { list-style: none; margin: 20px 0 30px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(20, 184, 166, .14); color: var(--teal-text); margin-top: .12em; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.duo__card { display: grid; grid-template-columns: 170px 1fr; gap: 26px; align-items: center; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-soft); }
.duo__card img { width: 170px; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: var(--grad-soft); }
.duo__card p { color: var(--muted); }

/* Protection : liste des assurances sur fond bleu nuit */
main > .protect { background: radial-gradient(45% 70% at 100% 0%, rgba(139, 92, 246, .35), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(255, 92, 122, .22), transparent 70%), var(--ink); color: #fff; position: relative; overflow: hidden; }
.protect .container { position: relative; }
.protect__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.protect__cols > div { padding: 26px 28px 14px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.protect h3 { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255, 92, 122, .16); color: #ffb3c1; font: 700 .76rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; }
.protect__list { list-style: none; margin: 0; padding: 0; }
.protect__list li + li { border-top: 1px solid rgba(255, 255, 255, .1); }
.protect__list a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 4px; color: var(--on-dark-muted); text-decoration: none; }
.protect__list a > span { transition: transform .2s; }
.protect__list strong { display: block; font: 600 1.32rem/1.2 var(--head); color: #fff; margin-bottom: 4px; }
.protect__list span { font-size: .94rem; }
.protect__list .ico { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, transform .2s; }
.protect__list a:hover strong { color: #ffc4cf; }
.protect__list a:hover > span { transform: translateX(6px); }
.protect__list a:hover .ico { background: var(--coral); transform: translateX(3px); }

/* Litiges */
.issues__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.issues__list li { background: var(--card); padding: 14px 14px 24px; border-radius: var(--radius); border: 1px solid var(--line); color: var(--muted); font-size: .96rem; }
.issues__list img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 18px; background: var(--grad-soft); margin-bottom: 16px; }
.issues__list li > strong, .issues__list li { padding-inline: 14px; }
.issues__list li > img { margin-inline: -14px; width: calc(100% + 28px); max-width: none; }
.issues__list strong { display: block; margin-bottom: 6px; font: 600 1.15rem/1.25 var(--head); color: var(--ink); }
.issues__cta { margin: 36px 0 0; }

/* Assureurs */
main > .insurers { background: var(--card); border-block: 1px solid var(--line); padding-block: 56px; }
.insurers__title { font: 600 1.3rem/1.3 var(--head); text-align: center; margin-bottom: 30px; color: var(--ink); }
.insurers__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 40px; }
.insurers__list img { height: 44px; width: auto; max-width: 110px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .2s, opacity .2s; }
.insurers__list li:hover img { filter: none; opacity: 1; }

/* Rendez-vous et formulaire */
main > .rdv { background: radial-gradient(50% 80% at 0% 0%, rgba(255, 92, 122, .28), transparent 65%), radial-gradient(50% 80% at 100% 100%, rgba(123, 140, 240, .3), transparent 65%), var(--ink-2); color: #fff; }
.rdv__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.rdv h2 { color: #fff; }
.rdv__intro > p { color: var(--on-dark); font-size: 1.1rem; }
.rdv__ways { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 12px; }
.rdv__ways a { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #fff; text-decoration: none; transition: background .2s, border-color .2s; }
.rdv__ways a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); color: #fff; }
.rdv__ways .ico { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--coral); color: #fff; }
.rdv__ways strong { display: block; font-size: 1.05rem; overflow-wrap: anywhere; }
.rdv__ways span { font-size: .9rem; color: var(--on-dark-muted); }
.rdv__slot { background: var(--card); color: var(--text); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6); }
.rdv__slot:has(.calendly-inline-widget) { padding: 8px; }
.contact-form { display: grid; gap: 14px; }
.contact-form__title { font: 600 1.6rem/1.2 var(--head); color: var(--ink); margin: 0 0 4px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-size: .88rem; font-weight: 700; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: 400 1rem/1.4 var(--body); color: var(--text); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); transition: border-color .2s, background .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--violet); background: #fff; box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn { justify-self: start; }
.contact-form__status { margin: 0; font-weight: 600; min-height: 1.4em; }
.contact-form__status.is-ok { color: var(--teal-text); }
.contact-form__status.is-err { color: #b42318; }
.contact-form__legal { margin: 0; font-size: .82rem; color: var(--muted); }

/* Pages intérieures : en-tête doux */
main > .page-hero { position: relative; padding-block: clamp(36px, 5vw, 64px) clamp(96px, 10vw, 124px); background: radial-gradient(45% 80% at 90% 10%, rgba(139, 92, 246, .18), transparent 70%), radial-gradient(40% 70% at 0% 100%, rgba(255, 125, 149, .14), transparent 70%), var(--paper); overflow: hidden; }
.page-hero h1 { max-width: 19ch; }
.page-hero__lead { font-size: 1.18rem; max-width: 40em; color: var(--muted); }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.page-hero__img { margin: 0; justify-self: center; position: relative; isolation: isolate; }
.page-hero__img::before { content: ""; position: absolute; z-index: -1; inset: 6%; border-radius: 50%; background: var(--grad); opacity: .85; }
.page-hero__img img { width: min(400px, 100%); aspect-ratio: 1; object-fit: contain; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--violet-deep); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
main > .prose-section { padding-block: clamp(44px, 6vw, 76px); }
.prose-section p { font-size: 1.12rem; }
.prose-section .lead { font: 600 1.35rem/1.45 var(--head); color: var(--ink); }

main > .reasons { background: var(--card); border-block: 1px solid var(--line); }
.reasons__grid { margin: 34px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.reasons__grid > div { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.reasons dt { display: flex; gap: 14px; align-items: center; font: 600 1.25rem/1.2 var(--head); color: var(--ink); margin-bottom: 10px; }
.reasons dt .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--grad); color: #fff; }
.reasons dd { margin: 0; color: var(--muted); }

.steps__list { list-style: none; counter-reset: step; margin: 38px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.steps__list li { counter-increment: step; position: relative; padding-top: 78px; }
.steps__list li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font: 600 1.5rem/1 var(--head); box-shadow: 0 0 0 6px var(--coral-pale); }
.steps__list li::after { content: ""; position: absolute; top: 28px; left: 78px; right: -14px; border-top: 2px dashed rgba(255, 92, 122, .5); }
.steps__list li:last-child::after { display: none; }
.steps__list p { color: var(--muted); }

main > .more { background: var(--violet-pale); padding-block: 58px; }
.more h2 { font-size: 1.6rem; }
.more__list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.more__list a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; color: var(--ink); font-weight: 600; transition: border-color .2s, color .2s; }
.more__list a:hover { border-color: var(--violet); color: var(--violet-deep); }
.more__list .ico { width: 16px; color: var(--coral); }

.about__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(36px, 6vw, 84px); align-items: center; }
.about__text p { font-size: 1.08rem; }
.about__text .hero__btns { margin-bottom: 0; }
.about__aside { position: relative; }
.about__aside > img:first-child { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; box-shadow: var(--shadow); }
.about__label { position: absolute; bottom: -10px; left: -24px; width: 120px; background: #fff; border-radius: 50%; box-shadow: var(--shadow); }
main > .values { background: var(--card); border-top: 1px solid var(--line); }

.partners__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partners__list li { background: var(--card); padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.partners__list li::before { content: "+"; width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 12px; background: var(--grad-soft); color: var(--coral-text); font: 700 1.3rem/1 var(--body); }
.partners__list h2 { font-size: 1.35rem; margin-bottom: 6px; }
.partners__list p { color: var(--muted); flex: 1; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(20, 184, 166, .12); color: var(--teal-text); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.partners__cta { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.partners__cta p { margin: 0 12px 0 0; font: 600 1.3rem/1.3 var(--head); color: var(--ink); }

.address__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 44px; align-items: center; }
.address p { display: flex; gap: 10px; }
.address p .ico { color: var(--coral); margin-top: .3em; }
.address__map { width: 100%; height: 340px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--violet-pale); }

/* Test de connaissances IDEL */
.quiz { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow-soft); }
.quiz__progress { height: 8px; border-radius: 8px; background: var(--violet-pale); overflow: hidden; margin-bottom: 26px; }
.quiz__progress span { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.quiz__step[hidden] { display: none; }
.quiz__count { font-weight: 700; color: var(--coral-text); font-size: .9rem; margin-bottom: 8px; }
.quiz fieldset { border: 0; margin: 0; padding: 0; }
.quiz legend { font: 600 1.4rem/1.3 var(--head); color: var(--ink); margin-bottom: 18px; padding: 0; }
.quiz__options { display: grid; gap: 10px; }
.quiz__options label { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 500; transition: border-color .2s, background .2s; }
.quiz__options label:hover { border-color: var(--violet); }
.quiz__options label:has(input:checked) { border-color: var(--violet); background: var(--violet-pale); }
.quiz__options input { accent-color: var(--violet-deep); width: 18px; height: 18px; }
.quiz__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; }
.quiz__done { text-align: center; }
.quiz__done h2 { font-size: 1.8rem; }
.quiz .contact-form { gap: 14px; }

/* Actualités (accueil, liste, article) */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16 / 10; display: block; overflow: hidden; background: var(--grad-soft); }
.post-card__img:empty { background: url("../img/label.webp") center / 30% no-repeat, var(--grad-soft); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body { padding: 22px 24px 26px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: .84rem; color: var(--muted); margin-bottom: 10px; }
.post-card__cat { padding: 4px 10px; border-radius: 999px; background: var(--coral-pale); color: var(--coral-text); font-weight: 700; font-size: .74rem; }
.post-card h3 { font-size: 1.3rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--violet-deep); }
.post-card p { color: var(--muted); font-size: .97rem; margin: 0; }
.news__cta { margin: 32px 0 0; }
.news__empty { text-align: center; color: var(--muted); }
main > .blog-hero { padding-bottom: 30px; }
main > .news--list { padding-top: 30px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.chip:hover { border-color: var(--violet); color: var(--violet-deep); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 46px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--card); }
.pagination span { background: var(--violet-deep); color: #fff; border-color: var(--violet-deep); }

.preview-bar { background: var(--coral); color: var(--ink); text-align: center; padding: 10px 20px; font-weight: 700; }
.post-hero { padding-block: 54px 30px; }
.post-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.3rem); max-width: 22ch; }
.post-hero__cat { display: inline-block; margin-bottom: 14px; padding: 5px 12px; border-radius: 999px; background: var(--coral-pale); color: var(--coral-text); font-weight: 700; text-decoration: none; font-size: .8rem; }
.post-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: .92rem; }
.post-hero__meta img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.post-hero__meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-cover { width: min(1080px, 100% - 40px); margin: 0 auto 44px; }
.post-cover img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 8; object-fit: cover; }
.post-layout { width: min(1080px, 100% - 40px); margin: 0 auto 84px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 54px; align-items: start; }
.post-layout:not(:has(.post-toc)) { grid-template-columns: minmax(0, 720px); justify-content: center; }
.post-toc { position: sticky; top: 130px; font-size: .92rem; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.post-toc p { font: 700 .74rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-text); margin-bottom: 10px; }
.post-toc ol { margin: 0; padding-left: 18px; display: grid; gap: 7px; }
.post-toc a { color: var(--muted); text-decoration: none; }
.post-toc a:hover { color: var(--violet-deep); }
.post-content { font-size: 1.08rem; max-width: 720px; }
.post-content h2 { font-size: 1.9rem; margin-top: 1.6em; }
.post-content h3 { margin-top: 1.4em; }
.post-content img { border-radius: var(--radius); margin: 1.4em 0; }
.post-content blockquote { margin: 1.8em 0; padding: 22px 26px; border-radius: var(--radius); background: var(--violet-pale); font: 600 1.25rem/1.5 var(--head); color: var(--ink); }
.post-content ul, .post-content ol { padding-left: 1.3em; }
.post-content li { margin-bottom: .4em; }
.post-content li::marker { color: var(--coral); }
.post-author { display: flex; gap: 20px; align-items: flex-start; margin-top: 54px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.post-author img { width: 76px; height: 76px; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); flex: none; }
.post-author__name { font: 600 1.25rem/1.2 var(--head); color: var(--ink); margin-bottom: 6px; }
.post-author p { font-size: .97rem; color: var(--muted); }

/* Pages légales */
.legal { width: min(820px, 100% - 40px); margin: 0 auto; padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
.legal h2 { font-size: 1.5rem; margin-top: 1.8em; }
.legal .todo { padding: 14px 18px; background: var(--coral-pale); border-radius: var(--radius-sm); }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 40px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; }
.footer__brand .logo { margin-bottom: 20px; }
.footer__brand a { text-decoration: none; }
.footer__brand p { max-width: 32ch; }
.footer__title { font: 700 .76rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--coral); }
.site-footer .btn--light, .site-footer .btn--light:hover { color: var(--ink); text-decoration: none; }
.footer__contact li, .footer__contact a { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer__contact .ico { color: var(--coral); margin-top: .25em; }
.footer__contact + .btn { margin-top: 22px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer__social a:hover { background: var(--coral); color: #fff; }
.footer__social svg { width: 20px; height: 20px; }
.footer__bottom { margin-top: 54px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; color: #8b91b0; }
.footer__bottom p { margin: 0; }

/* Tablette : menu en panneau */
@media (max-width: 1160px) {
  .burger { display: flex; }
  .nav-wrap { position: fixed; top: 116px; right: 0; bottom: 0; left: 0; background: var(--paper); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; margin: 0; }
  .nav-wrap:has(.nav.open) { transform: none; visibility: visible; }
  .nav { flex-direction: column; align-items: stretch; gap: 0; padding: 14px 20px 40px; }
  .nav > li { border-bottom: 1px solid var(--line); }
  .nav > li > a, .nav > li > button { width: 100%; justify-content: space-between; padding: 16px 6px; font-size: 1.08rem; border-radius: 0; }
  .nav > li > a:hover, .nav > li > button:hover, .nav__has-sub.open > button { background: none; }
  .nav__dropdown, .nav__dropdown--cols { position: static; display: none; min-width: 0; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; background: transparent; }
  .nav__has-sub.open > .nav__dropdown, .nav__has-sub.open > .nav__dropdown--cols { display: block; transform: none; }
  .nav__cta { margin: 20px 0 0; }
  .nav > li.nav__cta { border: 0; }
  .nav__cta .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .needs__list, .issues__list { grid-template-columns: repeat(2, 1fr); }
  .duo { grid-template-columns: 1fr; }
  .journey__grid { grid-template-columns: 1fr; }
  .journey__text { position: static; }
}

/* Mobile */
@media (max-width: 860px) {
  body { font-size: 16px; }
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; gap: 16px; font-size: .8rem; }
  .navbar { min-height: 68px; }
  .logo__mark, .is-scrolled .logo__mark { width: 38px; height: 38px; }
  .logo__word { font-size: 1.35rem; }
  .nav-wrap { top: 104px; }
  .hero__grid, .community__grid, .feature__grid, .rdv__grid, .page-hero__grid, .about__grid, .address__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(400px, 100%); margin: 16px auto 0; }
  .hero__label { width: 96px; left: -2%; }
  .hero__tags li { font-size: .78rem; padding: 7px 12px; }
  .hero__tags li:nth-child(1) { left: -2%; }
  .hero__tags li:nth-child(3) { right: -2%; }
  .feature--reverse .feature__img { order: 0; }
  .feature__img img { width: min(320px, 100%); }
  .feature__img::before { width: min(310px, 88%); }
  .protect__cols, .reasons__grid, .pillars--row, .post-grid, .partners__list, .steps__list { grid-template-columns: 1fr; }
  .steps__list li::after { display: none; }
  .page-hero__img img { width: min(280px, 100%); }
  .about__aside { max-width: 380px; }
  .about__label { left: -10px; width: 96px; }
  .post-layout { grid-template-columns: 1fr; }
  .post-toc { position: static; }
  .contact-form__row { grid-template-columns: 1fr; }
  .duo__card { grid-template-columns: 110px 1fr; padding: 20px; gap: 18px; align-items: start; }
  .duo__card img { width: 110px; }
  .protect__cols > div { padding: 20px 18px 8px; }
}
@media (max-width: 520px) {
  .needs__list { gap: 12px; }
  .needs__list a { padding: 10px 10px 16px; }
  .needs__list span { font-size: .98rem; padding: 0 2px; }
  .issues__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__btns .btn { width: 100%; }
  .topbar a:last-child { display: none; }
  .duo__card { grid-template-columns: 1fr; }
  .duo__card img { width: 140px; }
  .journey__steps li { grid-template-columns: 70px 1fr; gap: 14px; padding: 14px 16px 14px 12px; }
  .journey__steps img { width: 70px; height: 70px; }
  .quiz__nav .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .page-home .wave--hero svg { clip-path: none; }
}
.quiz .quiz__consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.quiz__consent input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--violet-deep); }
.quiz__btns { justify-content: center; }
.feature__img img.is-photo { width: min(400px, 90%); object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); }
