/* BIS Rénovation — feuille de style du site
   Charte : agence 15.100.17 (2026). Couleurs : marine #000045, bleu #006BFF, jaune #FFC800, blanc.
   Typographies : Gabarito Black (titres), Manrope (texte). */

@font-face { font-family: 'Gabarito'; src: url('../fonts/Gabarito-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/Manrope-ExtraBold.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
  --navy: #000045;
  --navy-2: #0a0f63;
  --navy-3: #141a7a;
  --blue: #006BFF;
  --blue-dark: #0055cc;
  --blue-soft: #e8f1ff;
  --yellow: #FFC800;
  --yellow-dark: #e6b400;
  --white: #fff;
  --ink: #000045;
  --muted: #4b5079;
  --line: #dfe3ef;
  --bg-light: #f3f6fc;
  --picto-line: var(--blue);
  --picto-accent: var(--yellow);
  --picto-bg: var(--navy);
  --font-title: 'Gabarito', 'Arial Black', system-ui, sans-serif;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --radius-shape: 0 48px 0 0; /* quart de cercle, écho au motif */
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --shadow: 0 10px 30px rgba(0, 0, 69, .10);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 900; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.sr { 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: 100; background: var(--yellow); color: var(--navy); padding: 8px 16px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.hl { color: var(--yellow); }
.hl-blue { color: var(--blue); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .85em 1.5em; border-radius: 999px; font: 700 1rem/1.2 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--yellow); color: var(--navy); }
.btn--primary:hover { background: var(--yellow-dark); color: var(--navy); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); color: var(--white); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); background: transparent; }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); color: var(--white); }

/* ---------- Bandeau supérieur ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .86rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.audience { display: flex; }
.audience a { color: rgba(255, 255, 255, .75); text-decoration: none; padding: 9px 14px; font-weight: 600; border-right: 1px solid rgba(255, 255, 255, .2); }
.audience a:first-child { padding-left: 0; }
.audience a:last-child { border-right: 0; }
.audience a[aria-current] { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.audience a:hover { color: var(--white); }
.topbar-right { display: flex; gap: 20px; align-items: center; }
.topbar-rge { display: inline-flex; align-items: center; gap: 6px; }
.topbar-rge svg { width: 14px; color: var(--yellow); }
.topbar-phone { color: var(--yellow); font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar-phone svg { width: 15px; }
.topbar-phone:hover { color: var(--white); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 30, .35); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; color: var(--yellow); flex: none; }
.brand .logo-svg { width: 78px; height: auto; }
.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 11px; border-radius: 8px; }
.nav-link svg { width: 14px; transition: transform .2s; }
.nav-link:hover, .nav-link.is-active { color: var(--yellow); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 30px; }
.nav-toggle-close { display: none; }

/* Méga-menu */
.has-mega { position: static; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); color: var(--ink); box-shadow: 0 24px 40px rgba(0, 0, 40, .18); border-top: 4px solid var(--yellow); display: none; }
.has-mega.is-open .mega { display: block; }
.mega-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; padding-block: 32px; }
.mega-cat { display: flex; align-items: center; gap: 12px; font-family: var(--font-title); font-size: 1.15rem; color: var(--navy); text-decoration: none; margin-bottom: 10px; }
.mega-cat:hover { color: var(--blue); }
.mega-picto { width: 52px; flex: none; }
.mega ul { list-style: none; margin: 0; padding: 0 0 0 64px; }
.mega li a { display: block; padding: 4px 0; color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.mega li a:hover { color: var(--blue); }
.mega p { padding-left: 64px; color: var(--muted); font-size: .92rem; margin: 0; }

/* ---------- Héros de page ---------- */
.page-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ''; position: absolute; z-index: -1; right: -4%; top: 0; bottom: 0; width: 46%; background: var(--blue); opacity: .16; -webkit-mask: url('../img/motif.svg') left center / cover no-repeat; mask: url('../img/motif.svg') left center / cover no-repeat; }
.page-hero--photo::after { display: none; }
.page-hero-inner { display: grid; gap: 40px; align-items: center; padding-block: clamp(40px, 7vw, 88px); }
.page-hero--photo .page-hero-inner { grid-template-columns: 1.1fr 1fr; }
.page-hero-text { max-width: 760px; }
.page-hero h1 { color: var(--white); }
.page-hero-intro { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 640px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-shape); }
.page-hero-media::before { content: ''; position: absolute; left: -18px; bottom: -18px; width: 38%; height: 50%; background: var(--yellow); border-radius: 0 0 0 48px; z-index: -1; }
.page-hero-picto { display: block; width: 84px; margin-bottom: 16px; }
.kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; color: var(--yellow); margin-bottom: 12px; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 22px; font-size: .85rem; }
.breadcrumb li { color: rgba(255, 255, 255, .6); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { color: var(--yellow); }

/* ---------- Accueil : héros ---------- */
.home-hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.home-hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.home-hero h1.kicker { font-family: inherit; line-height: inherit; }
.home-hero .hero-title { font-family: var(--font-title); font-weight: 900; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; max-width: none; font-size: clamp(2.3rem, 5.2vw, 4.1rem); color: var(--white); }
.home-hero .hero-title .hl { display: block; }
.hero-rotator { display: grid; }
.hero-rotator-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(.35em); transition: opacity .6s ease, transform .6s ease, visibility 0s .6s; }
.hero-rotator-item.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease, visibility 0s; }
.home-hero p { font-size: 1.18rem; color: rgba(255, 255, 255, .85); max-width: 560px; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.home-hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.home-hero-badges li { display: flex; align-items: center; gap: 8px; }
.home-hero-badges svg { width: 18px; color: var(--yellow); }
.home-hero-visual { position: relative; }
.home-hero-visual > img { width: 100%; aspect-ratio: 1 / 1.02; object-fit: cover; border-radius: 0 160px 0 0; }
.home-hero-visual::before { content: ''; position: absolute; z-index: -1; inset: -40px -80px -40px 30%; background: var(--blue); -webkit-mask: url('../img/motif.svg') center / cover; mask: url('../img/motif.svg') center / cover; opacity: .55; }
.home-hero-card { position: absolute; left: -28px; bottom: 28px; background: var(--yellow); color: var(--navy); border-radius: 0 28px 0 28px; padding: 16px 20px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); max-width: 290px; }
.home-hero-card strong { font-family: var(--font-title); font-size: 2rem; line-height: 1; }
.home-hero-card span { font-size: .88rem; font-weight: 700; line-height: 1.3; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--light { background: var(--bg-light); }
.section--navy { background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255, 255, 255, .85); }
.section--blue { background: var(--blue); color: var(--white); }
.section--blue h2 { color: var(--white); }
.section--frise { position: relative; }
.section--frise::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: clamp(24px, 4vw, 56px); background: var(--blue); -webkit-mask: url('../img/frise.svg') top left / 100% auto repeat-y; mask: url('../img/frise.svg') top left / 100% auto repeat-y; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.section-head p { margin: .6em 0 0; color: var(--muted); max-width: 640px; }
.section--navy .section-head p { color: rgba(255, 255, 255, .8); }
.center { text-align: center; }
.center .section-head { justify-content: center; text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.grid-2--center { align-items: center; }
.grid-2--wide { grid-template-columns: 1.15fr 1fr; }
.media-shape img { width: 100%; border-radius: var(--radius-shape); aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Solutions (catégories) ---------- */
.solutions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.solution { display: flex; flex-direction: column; gap: 10px; padding: 28px 24px; background: var(--white); color: var(--ink); text-decoration: none; border-radius: var(--radius-shape); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.solution:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); color: var(--ink); }
.solution-picto { width: 76px; }
.solution-title { font-family: var(--font-title); font-size: 1.35rem; line-height: 1.15; }
.solution-text { color: var(--muted); font-size: .95rem; flex: 1; }
.solution-more { display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 700; font-size: .95rem; }
.solution-more svg { width: 16px; transition: transform .2s; }
.solution:hover .solution-more svg { transform: translateX(4px); }
.section--navy .solution { background: var(--navy-2); color: var(--white); border-color: rgba(255, 255, 255, .1); }
.section--navy .solution-text { color: rgba(255, 255, 255, .75); }
.section--navy .solution-more { color: var(--yellow); }

/* ---------- Cartes ---------- */
.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.lots { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--white); color: var(--ink); text-decoration: none; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.card[hidden] { display: none; }
.card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-media--motif { background: var(--navy); position: relative; }
.card-media--motif::after { content: ''; position: absolute; inset: 0; background: var(--blue); -webkit-mask: url('../img/motif.svg') center / cover; mask: url('../img/motif.svg') center / cover; opacity: .6; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.card-title { font-family: var(--font-title); font-size: 1.2rem; line-height: 1.2; }
.card-text { color: var(--muted); font-size: .95rem; }
.card-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; margin-top: auto; }
.card-meta svg { width: 15px; }
.card-picto { width: 56px; margin-top: -48px; background: var(--white); border-radius: 12px; padding: 6px; box-shadow: var(--shadow); }
.card--lot .card-media { aspect-ratio: 16 / 10; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--blue-soft); color: var(--blue-dark); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* ---------- Filtres ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip { font: 600 .92rem var(--font); border: 2px solid var(--line); background: var(--white); color: var(--ink); padding: 8px 16px; border-radius: 999px; cursor: pointer; }
.chip:hover { border-color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Réassurance ---------- */
.reassurance { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.reassurance li { display: flex; flex-direction: column; gap: 6px; padding: 26px 22px; border-radius: var(--radius-shape); background: var(--navy-2); color: var(--white); }
.reassurance .picto { width: 48px; margin-bottom: 8px; }
.reassurance strong { font-family: var(--font-title); font-weight: 900; font-size: 1.3rem; line-height: 1.15; color: var(--yellow); }
.reassurance span { font-size: .93rem; color: rgba(255, 255, 255, .8); }
.section--light .reassurance li, .section:not(.section--navy) .reassurance li { background: var(--navy); }

/* ---------- Parcours ---------- */
.parcours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; text-align: center; }
.parcours::before { content: ''; position: absolute; top: 42px; left: 10%; right: 10%; border-top: 3px dashed rgba(255, 255, 255, .3); }
.parcours li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.parcours-icon { width: 86px; height: 86px; border-radius: 50%; background: var(--white); border: 4px solid var(--yellow); display: grid; place-items: center; position: relative; z-index: 1; }
.parcours-icon svg { width: 46px; }
.parcours-num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: .9rem; margin-top: 6px; }
.parcours strong { font-family: var(--font-title); font-size: 1.12rem; line-height: 1.2; color: var(--white); }
.parcours p { font-size: .92rem; color: rgba(255, 255, 255, .78); margin: 0; }
.section:not(.section--navy) .parcours::before { border-color: var(--line); }
.section:not(.section--navy) .parcours strong { color: var(--navy); }
.section:not(.section--navy) .parcours p { color: var(--muted); }
.section:not(.section--navy) .parcours-icon { background: var(--blue-soft); }

/* ---------- Avantages (pages lots) ---------- */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.benefit { padding: 28px 26px; border-radius: var(--radius-shape); background: var(--white); border: 1px solid var(--line); }
.benefit h3 { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.benefit h3::before { content: ''; width: 14px; height: 14px; flex: none; border-radius: 0 14px 0 0; background: var(--yellow); }
.benefit p { color: var(--muted); margin: 0; font-size: .97rem; }
.benefit ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: .97rem; }
.section--navy .benefit { background: var(--navy-2); border-color: rgba(255, 255, 255, .1); }
.section--navy .benefit h3 { color: var(--white); }
.section--navy .benefit p, .section--navy .benefit ul { color: rgba(255, 255, 255, .8); }

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
.stat { border-left: 4px solid var(--yellow); padding: 6px 0 6px 18px; }
.stat strong { display: block; font-family: var(--font-title); font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--blue); }
.section--navy .stat strong { color: var(--yellow); }
.stat span { font-size: .95rem; color: var(--muted); }
.section--navy .stat span { color: rgba(255, 255, 255, .8); }

/* ---------- Contenu éditorial ---------- */
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 4px solid var(--yellow); background: var(--bg-light); border-radius: 0 var(--radius) var(--radius) 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-light); font-weight: 700; }
.table-scroll { overflow-x: auto; }
.note { font-size: .9rem; color: var(--muted); background: var(--bg-light); border-radius: var(--radius); padding: 14px 18px; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist svg { width: 20px; flex: none; color: var(--white); background: var(--blue); border-radius: 50%; padding: 3px; margin-top: 3px; }
.section--navy .checklist svg { background: var(--yellow); color: var(--navy); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 1.5em 0; }
.facts div { background: var(--bg-light); border-radius: var(--radius); padding: 14px 16px; }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.facts dd { margin: 0; font-weight: 700; }

/* ---------- Galerie ---------- */
.gallery-group { margin: 0 0 24px; }
.gallery-group figcaption { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--blue); margin-bottom: 10px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.gallery a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 30, .92); display: grid; place-items: center; padding: 56px 16px; }
.lightbox img { max-height: 100%; width: auto; max-width: 100%; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: var(--white); border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; line-height: 1; }
.lightbox button:hover { background: var(--yellow); color: var(--navy); }
.lightbox-close { top: 12px; right: 12px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- Avis ---------- */
.avis { display: grid; gap: 28px; }
.avis-score { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.avis-note { font-family: var(--font-title); font-size: 3.2rem; line-height: 1; color: var(--blue); }
.avis-note small { font-size: 1.4rem; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; color: var(--yellow); }
.stars svg { width: 22px; }
.avis-card { margin: 0; padding: 26px; background: var(--white); border-radius: var(--radius-shape); border: 1px solid var(--line); }
.avis-card blockquote { margin: 12px 0 16px; font-size: 1rem; }
.avis-card figcaption span { display: block; font-size: .85rem; color: var(--muted); }
.avis-empty, .avis-links { color: var(--muted); margin: 0; }

/* ---------- Zones ---------- */
.zones { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.zones-map svg { width: 100%; max-width: 440px; margin: auto; }
.zones-map-label { font: 800 15px var(--font); fill: var(--navy); }
.zones-map-sea { font: italic 600 12px var(--font); fill: var(--blue); }
.section--navy .zones-map-label { fill: var(--white); }
.zones-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.zones-list a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; background: var(--blue-soft); color: var(--navy); text-decoration: none; font-weight: 700; }
.zones-list a:hover { background: var(--blue); color: var(--white); }
.zones-list svg { width: 16px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 22px 18px; color: var(--muted); }
.faq-answer p:last-child { margin: 0; }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: var(--blue); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ''; position: absolute; z-index: -1; right: 0; top: 0; bottom: 0; width: 30%; background: var(--navy); opacity: .25; -webkit-mask: url('../img/motif.svg') left center / cover; mask: url('../img/motif.svg') left center / cover; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .9); max-width: 620px; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Formulaire ---------- */
.form { display: grid; gap: 18px; background: var(--white); padding: clamp(22px, 4vw, 40px); border-radius: var(--radius-shape); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: .93rem; }
.form input:not([type=checkbox]):not([type=radio]), .form textarea { font: 500 1rem var(--font); padding: 12px 14px; border: 2px solid var(--line); border-radius: 10px; color: var(--ink); background: var(--white); width: 100%; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); }
.form .is-invalid { border-color: #d0021b !important; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.form legend { font-weight: 700; font-size: .93rem; margin-bottom: 8px; }
.form-choice, .form-checks { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.form .form-choice label, .form .form-checks label, .form .form-consent { display: flex; align-items: flex-start; gap: 8px; font-weight: 500; }
.form input[type=checkbox], .form input[type=radio] { accent-color: var(--blue); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.form-consent { font-size: .88rem; color: var(--muted); }
.form-hp { position: absolute !important; left: -9999px; }
.form button { justify-self: start; }
.form-status { margin: 0; font-weight: 700; }
.form-status.is-ok { color: #0a7d32; }
.form-status.is-error { color: #d0021b; }
.contact-aside { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-item > svg { width: 22px; color: var(--yellow); flex: none; margin-top: 4px; }
.contact-item a { color: var(--white); font-weight: 700; }

/* ---------- Bandeau France Rénov' ---------- */
.france-renov { background: var(--white); padding-block: 28px; border-top: 1px solid var(--line); }
.france-renov a { display: block; max-width: 840px; margin: auto; }
.france-renov img { width: 100%; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); font-size: .95rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 48px; }
.footer h2 { font-family: var(--font); font-weight: 800; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer a:hover { color: var(--yellow); }
.footer .brand .logo-svg { width: 110px; margin-bottom: 18px; }
.footer-rge { display: flex; gap: 12px; align-items: center; font-size: .88rem; }
.footer-rge svg { width: 44px; flex: none; }
.footer-contact li { display: flex; gap: 10px; }
.footer-contact svg { width: 18px; flex: none; color: var(--yellow); margin-top: 4px; }
.footer .btn { margin-top: 20px; }
.footer .btn--primary { color: var(--navy); }
.footer-social { display: inline-flex; margin: 20px 0 0 12px; width: 40px; height: 40px; border-radius: 50%; background: var(--navy-3); align-items: center; justify-content: center; }
.footer-social svg { width: 20px; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .6); }
.footer-legal-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; }

/* ---------- Plan du site ---------- */
.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.sitemap h2 { font-size: 1.3rem; }
.sitemap ul { padding-left: 1.1em; }

/* ---------- Divers ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.pill-list li { background: var(--blue-soft); color: var(--navy); padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.section--navy .pill-list li { background: var(--navy-3); color: var(--white); }
.badge-soon { display: inline-block; background: var(--yellow); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; vertical-align: middle; }
.split-photo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.split-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.split-photo img:first-child { border-radius: 48px var(--radius) var(--radius) var(--radius); }
.split-photo img:last-child { margin-top: 48px; border-radius: var(--radius) var(--radius) 48px var(--radius); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .topbar-rge { display: none; }
  .nav-link { padding: 10px 7px; font-size: .88rem; }
  .nav { gap: 10px; }
  .nav-cta { padding: .7em 1.1em; }
}
@media (max-width: 1100px) {
  .nav-link { padding: 10px 8px; font-size: .9rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .topbar-rge { display: none; }
  .nav-toggle { display: block; }
  .header.is-open .nav-toggle-open { display: none; }
  .header.is-open .nav-toggle-close { display: block; }
  .nav { position: fixed; inset: calc(var(--header-h)) 0 0 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 32px; overflow-y: auto; display: none; margin: 0; }
  .header.is-open .nav { display: flex; }
  .nav-list { flex-direction: column; }
  .nav-link { font-size: 1.1rem; padding: 14px 0; width: 100%; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; }
  .mega { position: static; box-shadow: none; border: 0; background: transparent; color: var(--white); }
  .mega-inner { grid-template-columns: 1fr; padding: 12px 0; gap: 16px; }
  .mega-cat { color: var(--white); font-size: 1.05rem; margin-bottom: 4px; }
  .mega-picto { width: 40px; }
  .mega ul, .mega p { padding-left: 52px; }
  .mega li a, .mega p { color: rgba(255, 255, 255, .75); }
  .nav-cta { margin-top: 20px; justify-content: center; }
  .home-hero-inner, .page-hero--photo .page-hero-inner, .grid-2, .grid-2--wide, .zones { grid-template-columns: 1fr; }
  .home-hero-visual { max-width: 520px; }
  .parcours { grid-template-columns: 1fr; text-align: left; gap: 24px; }
  .parcours::before { top: 0; bottom: 0; left: 42px; right: auto; border-top: 0; border-left: 3px dashed rgba(255, 255, 255, .3); }
  .parcours li { display: grid; grid-template-columns: 86px 1fr; column-gap: 18px; align-items: start; }
  .parcours-icon { grid-row: span 3; }
  .parcours-num { display: none; }
  .parcours strong { margin-top: 10px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar-inner { justify-content: center; }
  .topbar-right { display: none; }
  .audience a { padding: 9px 8px; font-size: .8rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .home-hero-card { left: 12px; bottom: 12px; }
  .btn { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Cartes non cliquables (div.solution) */
div.solution:hover { transform: none; box-shadow: none; border-color: var(--line); }
.section--navy div.solution:hover { border-color: rgba(255, 255, 255, .1); }
.solution-picto .picto--step { width: 56px; }

/* Liens et encadrés sur fond marine */
.section--navy .prose a:not(.btn), .section--navy p a:not(.btn), .section--navy .benefit a:not(.btn) { color: var(--yellow); }
.section--navy .prose a:not(.btn):hover, .section--navy p a:not(.btn):hover, .section--navy .benefit a:not(.btn):hover { color: var(--white); }
.contact-aside--navy { background: var(--navy); color: var(--white); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-shape); }
.contact-aside--navy h2, .contact-aside--navy h3 { color: var(--yellow); }
.contact-aside--navy p { color: rgba(255, 255, 255, .85); }
.checklist--plain svg { background: none; color: var(--blue); padding: 0; }
