:root {
  /* Base : charte Activ'Expertise (bleu nuit, cyan). Accent corail pour les appels à l'action. */
  --paper: #f6fafc;
  --card: #ffffff;
  --ink: #0f2540;
  --soft: #4a5877;
  --line: #d9e6ee;
  --brick: #dc3f4d;
  --brick-dark: #b72d3b;
  --night: #113a60;
  --sand: #e6f6fb;
  --cyan: #3dbddf;
  --cyan-dark: #14799a;
  --a: #2e9b4f; --b: #5bb544; --c: #b9c92a; --d: #ecd313; --e: #f5b200; --f: #eb7a1c; --g: #d8222a;
  --radius: 16px;
  --display: "Barlow", "Segoe UI", system-ui, sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brick-dark); text-underline-offset: 3px; }
a:hover { color: var(--brick); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.005em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--cyan-dark); outline-offset: 2px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.1rem; white-space: nowrap; }
.brand b { color: var(--cyan-dark); }
.brand-mark { display: grid; gap: 3px; width: 26px; }
.brand-mark i { display: block; height: 4px; border-radius: 0 3px 3px 0; }
.brand-mark i:nth-child(1) { width: 45%; background: var(--a); }
.brand-mark i:nth-child(2) { width: 62%; background: var(--c); }
.brand-mark i:nth-child(3) { width: 80%; background: var(--e); }
.brand-mark i:nth-child(4) { width: 100%; background: var(--g); }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: .95rem; }
.nav a { color: var(--soft); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-color: var(--cyan); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--brick); color: #fff; font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer; font: 700 1rem var(--text); transition: background .15s, transform .15s; }
.btn:hover { background: var(--brick-dark); color: #fff; transform: translateY(-1px); }
.btn-small { padding: 9px 18px; font-size: .92rem; white-space: nowrap; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

/* Accueil : héros */
.hero { padding: 56px 0 64px; }
.hero-in { display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px; align-items: center; }
.kicker { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 14px; }
.lede { font-size: 1.2rem; color: var(--soft); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.proofs { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: .95rem; color: var(--soft); }
.proofs li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--a); margin-right: 8px; }
.expert { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: 0 24px 50px -30px rgba(17, 58, 96, .45); }
.expert img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.expert-body { padding: 16px 6px 4px; }
.expert-name { font-family: var(--display); font-size: 1.35rem; font-weight: 700; margin: 0; }
.expert-role { color: var(--soft); font-size: .95rem; margin: 2px 0 12px; }
.rating { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--soft); border-top: 1px solid var(--line); padding-top: 12px; }
.rating strong { font-size: 1.25rem; color: var(--ink); font-family: var(--display); }
.stars { color: #e0a100; letter-spacing: 2px; }

/* Sections */
.section { padding: 64px 0; }
.section.alt { background: var(--sand); }
.section.dark { background: var(--night); color: #eaf4fb; }
.section.dark h2 { color: #fff; }
.section.dark a { color: #8fdcf2; }
.section-head { max-width: 42em; margin-bottom: 34px; }
.section-head p { color: var(--soft); font-size: 1.08rem; }
.section.dark .section-head p { color: #c3d7e8; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p:last-child { margin-bottom: 0; }
.tag { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.tag-yes { background: #fde3dc; color: #8f2a14; }
.tag-no { background: #dff2e3; color: #1d6b35; }
.tag-maybe { background: #fdf0c8; color: #7a5600; }

/* Outil étiquette */
.tool { display: grid; grid-template-columns: 300px 1fr; gap: 36px; align-items: start; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; }
.scale { display: grid; gap: 7px; }
.scale button { display: flex; align-items: center; justify-content: space-between; border: 0; cursor: pointer; color: #fff; font: 700 1.05rem var(--text); padding: 9px 16px; border-radius: 4px 24px 24px 4px; text-align: left; opacity: .5; transition: opacity .15s, transform .15s; }
.scale button:hover { opacity: .85; }
.scale button[aria-pressed="true"] { opacity: 1; transform: translateX(6px); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.scale button span { font-weight: 500; font-size: .82rem; }
.scale .l-a { background: var(--a); width: 52%; } .scale .l-b { background: var(--b); width: 60%; }
.scale .l-c { background: var(--c); width: 68%; color: #2c3000; } .scale .l-d { background: var(--d); width: 76%; color: #3a3300; }
.scale .l-e { background: var(--e); width: 84%; color: #402c00; } .scale .l-f { background: var(--f); width: 92%; }
.scale .l-g { background: var(--g); width: 100%; }
.verdict h3 { font-size: 1.5rem; }
.verdict ul { padding-left: 1.1em; margin: 0 0 1em; }
.verdict li { margin-bottom: .45em; }

/* Calendrier */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: t; }
.timeline > div { border-top: 3px solid var(--cyan); padding-top: 18px; }
.timeline .date { font-family: var(--display); font-size: 1.45rem; font-weight: 700; color: #fff; display: block; margin-bottom: 6px; }
.timeline p { color: #cfe0ee; }
.fines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.fine { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 22px; }
.fine strong { display: block; font-family: var(--display); font-size: 2rem; color: #8fdcf2; line-height: 1.1; margin-bottom: 6px; }
.fine p { margin: 0; color: #cfe0ee; font-size: .97rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--night); color: #fff; font: 700 1.05rem var(--display); margin-bottom: 14px; }
.steps p { margin: 0; color: var(--soft); font-size: .97rem; }

/* À propos */
.about { display: grid; grid-template-columns: 280px 1fr; gap: 44px; align-items: center; }
.about img { border-radius: 22px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 26px; padding: 0; margin: 20px 0 0; list-style: none; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 3px; background: var(--cyan); }

/* Formulaire */
.quote { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
.form label small { font-weight: 400; color: var(--soft); }
.form input, .form select, .form textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #ffffff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(61, 189, 223, .28); }
.form textarea { min-height: 96px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--soft); }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex: none; }
.consent label { font-weight: 400; margin: 0; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .85rem; color: var(--soft); margin: 0; }
.form-status { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 500; }
.form-status.ok { background: #dff2e3; color: #185a2c; }
.form-status.err { background: #fde3dc; color: #8f2a14; }
.contact-direct { font-family: var(--display); font-size: 1.7rem; font-weight: 700; text-decoration: none; color: var(--ink); }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; padding: 18px 34px 18px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 500 1.6rem var(--display); color: var(--cyan-dark); }
.faq[open] summary::after { content: "\2212"; }
.faq div { padding: 0 0 18px; color: var(--soft); max-width: 46em; }

/* Sources */
.sources { font-size: .93rem; color: var(--soft); }
.sources ul { padding-left: 1.1em; }
.sources li { margin-bottom: .4em; }

/* Articles */
.article-head { padding: 52px 0 28px; }
.crumbs { font-size: .9rem; color: var(--soft); margin-bottom: 18px; }
.crumbs a { color: var(--soft); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.updated { font-size: .9rem; color: var(--soft); }
.prose { padding-bottom: 56px; }
.prose h2 { margin-top: 1.7em; font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.answer { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--cyan); border-radius: var(--radius); padding: 20px 24px; font-size: 1.08rem; margin: 0 0 1.6em; }
.answer p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.3em; }
table { border-collapse: collapse; width: 100%; background: var(--card); font-size: .97rem; }
th, td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
th { background: var(--sand); font-weight: 700; }
.cta-box { background: var(--night); color: #eaf4fb; border-radius: 22px; padding: 30px; margin: 2em 0; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.cta-box h2 { color: #fff; margin: 0 0 .3em; font-size: 1.5rem; }
.cta-box p { margin: 0; color: #c3d7e8; }
.related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0; list-style: none; }
.related a { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; font-weight: 700; color: var(--ink); }
.related a:hover { border-color: var(--cyan); }

/* Bandeau réseau */
.network { background: var(--night); color: #eaf4fb; }
.network-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 34px; padding: 16px 0; font-size: .95rem; }
.network strong { color: #fff; font-family: var(--display); font-size: 1.05rem; }
.network span { display: inline-flex; align-items: center; gap: 8px; }
.network span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.network .lead::before { display: none; }

/* Plateformes */
.platforms { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 18px 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--soft); }
.platforms li { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 4px 12px; font-weight: 500; }
.platforms li:first-child { border: 0; background: none; padding-left: 0; }

/* Réassurance */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 14px 30px -26px rgba(17, 58, 96, .5); }
.trust .ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--sand); color: var(--cyan-dark); margin-bottom: 14px; }
.trust .ico svg { width: 22px; height: 22px; }
.trust p { margin: 0; color: var(--soft); font-size: .97rem; }

/* Photos de terrain */
.field { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.field figure { margin: 0; position: relative; border-radius: 22px; overflow: hidden; background: var(--sand); }
.field img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.field figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(15, 37, 64, .78); color: #fff; font-size: .8rem; padding: 5px 11px; border-radius: 999px; }

/* Réseaux */
.social { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.social a { display: flex; align-items: center; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.social a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.social .ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--night); color: #fff; flex: none; }
.social .ico svg { width: 24px; height: 24px; }
.social b { display: block; font-family: var(--display); font-size: 1.15rem; }
.social small { color: var(--soft); font-size: .92rem; }
.foot-social { display: flex; gap: 14px; }

/* Pied */
.foot { background: var(--night); color: #c3d7e8; padding: 48px 0 40px; font-size: .93rem; }
.foot a { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; }
.foot-title { font-family: var(--display); color: #fff; font-size: 1.1rem; margin-bottom: .6em; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: .4em; }

@media (max-width: 900px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero { padding: 36px 0 44px; }
  .hero-in, .tool, .about, .quote, .foot-in, .cta-box { grid-template-columns: 1fr; gap: 28px; }
  .expert { max-width: 420px; }
  .grid3, .timeline, .fines, .trust, .field, .social { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about img { max-width: 220px; }
  .section { padding: 46px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .steps, .form, .facts, .related { grid-template-columns: 1fr; }
  .form, .tool { padding: 20px; }
  .brand-text { font-size: 1rem; }
  .btn-small { padding: 8px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
