/* ==========================================================================
   LIMAGREEN SARL — Feuille de style principale
   Couleurs officielles : modifiez-les ici, elles s'appliquent à tout le site.
   ========================================================================== */
:root {
  --green: #126B45;        /* Vert profond */
  --green-2: #1D8A5A;      /* Vert secondaire */
  --green-soft: #E6F2EC;
  --navy: #102B46;         /* Bleu marine */
  --navy-2: #0B2036;
  --white: #FFFFFF;
  --grey: #F3F6F5;         /* Gris clair */
  --line: #DCE4E1;
  --ink: #16293B;
  --muted: #5A6B78;
  --gold: #C9A227;
  --wa: #25D366;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px -12px rgba(16, 43, 70, .22);
  --shadow-lg: 0 30px 60px -25px rgba(16, 43, 70, .35);
  --container: 1200px;
  --ff-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--ff-body); font-size: 16.5px; line-height: 1.65;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-2); }
h1, h2, h3, h4 { font-family: var(--ff-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.1vw, 2.55rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: #C9D6E2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--ff-head);
  font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #7FD3A8; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 700; font-size: .92rem; letter-spacing: .04em; text-transform: uppercase;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s; white-space: nowrap;
}
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(18, 107, 69, .7); }
.btn--primary:hover { background: var(--green-2); color: #fff; transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { color: var(--green); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--wa { background: var(--wa); color: #0B2A17; }
.btn--wa:hover { background: #1FBF5B; color: #0B2A17; transform: translateY(-2px); }
.btn--wa .ic { width: 1.3em; height: 1.3em; }
.btn--wa:hover .ic { transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-head); font-weight: 700; font-size: .92rem; color: var(--green); }
.link-arrow .ic { transition: transform .25s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }

/* ---------- Barre supérieure + en-tête ---------- */
.topbar { background: var(--navy-2); color: #A9BBCB; font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 8px 0; }
.topbar a { color: #fff; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .ic { width: 15px; height: 15px; color: #7FD3A8; }
.topbar-left, .topbar-right { display: flex; gap: 22px; align-items: center; }

.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(16,43,70,.35); border-color: var(--line); }
.header .container { display: flex; align-items: center; gap: 20px; height: 82px; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; display: block; padding: 10px 9px; font-family: var(--ff-head); font-weight: 600; font-size: .875rem; color: var(--navy); white-space: nowrap;
}
.nav a::after { content: ""; position: absolute; left: 9px; right: 9px; bottom: 4px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--green); }
.header-cta { padding: 12px 20px; font-size: .8rem; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.burger .ic { width: 24px; height: 24px; }
.nav-mobile-cta { display: none; }

/* ---------- Hero accueil ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy); }
.hero-media, .page-hero-media { position: absolute; inset: 0; }
.hero-media img, .page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(11,32,54,.94) 0%, rgba(16,43,70,.82) 42%, rgba(16,43,70,.35) 75%, rgba(18,107,69,.25) 100%);
}
.hero .container, .page-hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 760px; padding: 80px 0 110px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #7FD3A8; }
.hero p.sub { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #D2DDE7; max-width: 62ch; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-size: .86rem; color: #E8EFF5; backdrop-filter: blur(6px); }
.hero-badge .ic { color: #7FD3A8; }
.hero-scroll { display: none; position: absolute; z-index: 2; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.45); border-radius: 14px; }
.hero-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bandeau chiffres/atouts ---------- */
.strip { position: relative; z-index: 3; margin-top: -58px; }
.strip-inner { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; }
.strip-item { padding: 28px 26px; display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item .ic { width: 34px; height: 34px; color: var(--green); }
.strip-item strong { display: block; font-family: var(--ff-head); color: var(--navy); font-size: 1rem; line-height: 1.3; margin-bottom: 4px; }
.strip-item span { font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ---------- Pages internes : en-tête ---------- */
.page-hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.page-hero .container { padding: clamp(80px, 11vw, 140px) 0 clamp(60px, 8vw, 96px); }
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p { color: #D2DDE7; font-size: 1.15rem; max-width: 62ch; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: #A9BBCB; margin-bottom: 22px; flex-wrap: wrap; }
.breadcrumb a { color: #fff; }
.page-hero .btn-row { margin-top: 30px; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 22px; transition: background .35s, color .35s; }
.card-icon .ic { width: 28px; height: 28px; }
.card:hover .card-icon { background: var(--green); color: #fff; }
.card p { color: var(--muted); font-size: .97rem; }
.card .num { position: absolute; top: 26px; right: 28px; font-family: var(--ff-head); font-weight: 800; font-size: .85rem; color: #B7C6C0; letter-spacing: .08em; }

.pole-card { display: flex; flex-direction: column; }
.pole-card ul { list-style: none; margin: 4px 0 22px; }
.pole-card li { position: relative; padding-left: 22px; margin-bottom: 7px; font-size: .94rem; color: #3D5061; }
.pole-card li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--green-2); }
.pole-card .link-arrow { margin-top: auto; }
.pole-card.featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green) inset; }
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green); margin-bottom: 14px; align-self: flex-start; }
.tag .ic { width: 14px; height: 14px; }
.tag--navy { background: #E4EAF1; color: var(--navy); }
.tag--gold { background: #FBF3DA; color: #8A6A0B; }

.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { color: var(--green); margin-top: 3px; width: 20px; height: 20px; }
.section--navy .check-list .ic { color: #7FD3A8; }

/* ---------- Bloc image + texte ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .frame { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3.2; background: linear-gradient(135deg, var(--navy), var(--green)); box-shadow: var(--shadow-lg); }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover .frame img { transform: scale(1.04); }
.split-media .float-card { position: absolute; right: -22px; bottom: -26px; background: #fff; border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; max-width: 290px; }
.float-card .ic { width: 36px; height: 36px; color: var(--green); }
.float-card strong { display: block; font-family: var(--ff-head); color: var(--navy); font-size: .95rem; line-height: 1.3; }
.float-card span { font-size: .82rem; color: var(--muted); }

/* ---------- Agréments ---------- */
.agr-card { position: relative; background: #fff; border-radius: var(--radius-lg); padding: 36px 32px 30px; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.agr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.agr-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--green), var(--green-2)); }
.agr-card.is-recepisse::before { background: linear-gradient(90deg, var(--navy), #2B5683); }
.agr-seal { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--green-soft); color: var(--green); margin-bottom: 20px; border: 1px dashed rgba(18,107,69,.4); }
.agr-card.is-recepisse .agr-seal { background: #E4EAF1; color: var(--navy); border-color: rgba(16,43,70,.35); }
.agr-seal .ic { width: 30px; height: 30px; }
.agr-card h3 { font-size: 1.15rem; }
.agr-card p { color: var(--muted); font-size: .95rem; }
.agr-meta { margin: 8px 0 22px; border-top: 1px solid var(--line); }
.agr-meta div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.agr-meta dt { color: var(--muted); }
.agr-meta dd { margin: 0; color: var(--navy); font-weight: 600; }
.agr-meta dd.pending { color: #7C8C98; font-weight: 500; font-style: italic; }
.agr-card .btn { margin-top: auto; align-self: flex-start; padding: 12px 20px; font-size: .78rem; }
.section--grey .agr-card { border-color: transparent; box-shadow: var(--shadow); }
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--radius); background: #fff; border-left: 4px solid var(--green); color: #3D5061; font-size: .94rem; box-shadow: var(--shadow); }
.notice .ic { color: var(--green); margin-top: 2px; }

/* ---------- Étapes ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 2px; background: repeating-linear-gradient(90deg, var(--green-2) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step-num { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--green); color: var(--green); font-family: var(--ff-head); font-weight: 800; font-size: 1.25rem; transition: background .3s, color .3s; }
.step:hover .step-num { background: var(--green); color: #fff; }
.step h3 { font-size: 1.02rem; }
.step p { font-size: .9rem; color: var(--muted); }

/* ---------- Statistiques / mise en avant ---------- */
.highlight { border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--navy) 0%, #15385B 55%, var(--green) 140%); color: #D2DDE7; padding: clamp(36px, 5vw, 60px); position: relative; overflow: hidden; }
.highlight::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255,255,255,.04); }
.highlight h2, .highlight h3 { color: #fff; }
.big-figure { font-family: var(--ff-head); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4.2rem); color: #7FD3A8; line-height: 1; margin-bottom: 10px; }

/* ---------- Valeurs ---------- */
.value { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: background .3s, transform .3s var(--ease); }
.value:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.value .ic { width: 32px; height: 32px; color: #7FD3A8; margin-bottom: 14px; }
.value h3 { font-size: 1.08rem; margin-bottom: 6px; }
.value p { font-size: .92rem; margin: 0; }

/* ---------- Cibles ---------- */
.targets { display: flex; flex-wrap: wrap; gap: 12px; }
.target { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--ff-head); font-weight: 600; font-size: .9rem; color: var(--navy); transition: border-color .3s, transform .3s var(--ease); }
.target:hover { border-color: var(--green); transform: translateY(-2px); }
.target .ic { color: var(--green); }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--green); color: #E5F4EC; padding: clamp(38px, 5vw, 64px); display: grid; grid-template-columns: 1.4fr auto; gap: 30px; align-items: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.14), transparent 60%), radial-gradient(500px 280px at 0% 120%, rgba(16,43,70,.45), transparent 60%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { margin: 0; max-width: 58ch; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- Actualités ---------- */
.news-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-media { aspect-ratio: 16/9; background: linear-gradient(135deg, var(--navy), var(--green)); overflow: hidden; }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.news-date { display: inline-flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--muted); margin-bottom: 10px; }
.news-date .ic { width: 16px; height: 16px; color: var(--green); }
.news-body p { color: var(--muted); font-size: .95rem; }
.news-body .link-arrow { margin-top: auto; }

/* ---------- Formulaires ---------- */
.form-wrap { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--ff-head); font-weight: 600; font-size: .88rem; color: var(--navy); }
.field label .req { color: var(--green); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; color: var(--ink); background: var(--grey); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 15px; width: 100%;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(29,138,90,.12); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #C0392B; background: #FFF6F5; }
.hp { position: absolute; left: -10000px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 26px; }
.form-note { font-size: .84rem; color: var(--muted); margin: 16px 0 0; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: .93rem; display: none; }
.form-status.is-error { display: block; background: #FFF1EF; color: #8E2B20; border: 1px solid #F3C7C0; }
.form-status.is-loading { display: block; background: var(--green-soft); color: var(--green); }
.btn[disabled] { opacity: .7; cursor: wait; }

.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); margin-bottom: 16px; }
.contact-card .ic { width: 26px; height: 26px; color: var(--green); }
.contact-card strong { display: block; font-family: var(--ff-head); color: var(--navy); }
.contact-card span, .contact-card a { font-size: .95rem; }
.wa-list { list-style: none; display: grid; gap: 10px; }
.wa-list a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .93rem; transition: border-color .25s, transform .25s var(--ease); }
.wa-list a:hover { border-color: var(--wa); transform: translateX(4px); }
.wa-list .ic { color: #1FAA52; width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-family: var(--ff-head); font-weight: 700; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--green); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 14px; margin: 0; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-2); color: #9FB2C3; padding: 80px 0 0; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 18px; border-radius: 12px; margin-bottom: 20px; }
.footer-logo img { height: 40px; width: auto; }
.footer h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a { color: #C9D6E2; }
.footer a:hover { color: #7FD3A8; }
.footer .sign { font-family: var(--ff-head); color: #fff; font-weight: 600; font-size: 1.02rem; line-height: 1.5; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { color: #7FD3A8; margin-top: 3px; width: 18px; height: 18px; }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .84rem; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 120; display: inline-flex; align-items: center; gap: 0;
  background: var(--wa); color: #fff; border-radius: 999px; height: 60px; padding: 0 18px; box-shadow: 0 14px 30px -8px rgba(37,211,102,.6);
  transition: gap .3s var(--ease), padding .3s var(--ease), transform .3s var(--ease);
}
.wa-float .ic { width: 28px; height: 28px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--ff-head); font-weight: 700; font-size: .9rem; transition: max-width .4s var(--ease); }
.wa-float:hover { color: #fff; gap: 10px; transform: translateY(-3px); }
.wa-float:hover span { max-width: 220px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: waPulse 2.4s infinite; }
@keyframes waPulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.35); } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 110; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top .ic { transform: rotate(-90deg); }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Divers ---------- */
.prose p { color: #3D5061; }
.prose h3 { margin-top: 1.6em; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: 48px; }
.center { text-align: center; }
.divider-leaf { display: flex; align-items: center; gap: 16px; color: var(--green); }
.thanks { text-align: center; max-width: 640px; margin-inline: auto; }
.thanks .agr-seal { margin: 0 auto 24px; width: 86px; height: 86px; }
.thanks .agr-seal .ic { width: 40px; height: 40px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1260px) {
  .burger { display: inline-flex; }
  .header-cta.desktop { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); background: #fff; z-index: 150; padding: 96px 26px 30px;
    transform: translateX(100%); transition: transform .4s var(--ease); box-shadow: -20px 0 60px -20px rgba(16,43,70,.4); overflow-y: auto; margin: 0;
  }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { padding: 15px 4px; font-size: 1.02rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-mobile-cta { display: grid; gap: 12px; margin-top: 26px; }
  .nav-close { position: absolute; top: 22px; right: 22px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(11,32,54,.5); z-index: 140; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-backdrop.show { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1261px) { .nav-close { display: none; } .nav-backdrop { display: none; } }
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .strip-inner { grid-template-columns: repeat(2, 1fr); }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .steps::before { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .btn-row { justify-content: flex-start; }
}
@media (max-width: 820px) {
  .topbar-left .hide-sm { display: none; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media .float-card { right: 12px; bottom: -22px; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .container { justify-content: center; }
  .topbar-right { display: none; }
  .header .container { height: 70px; }
  .brand img { height: 38px; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .strip { margin-top: -40px; }
  .strip-inner { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 22px; }
  .strip-item:last-child { border-bottom: 0; }
  .hero { min-height: auto; }
  .hero-content { padding: 64px 0 96px; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .agr-meta div { grid-template-columns: 1fr; gap: 2px; }
  .card { padding: 28px 24px; }
  .wa-float { right: 16px; bottom: 16px; height: 56px; padding: 0 14px; }
  .to-top { right: 22px; bottom: 84px; }
  .cta-band .btn { width: 100%; }
  .hero-scroll { display: none; }
}

/* Si une photo ne se charge pas, le dégradé de fond reste visible (le texte alternatif est masqué visuellement) */
.hero-media img, .page-hero-media img, .frame img, .news-media img { color: transparent; font-size: 0; }
