/* ============================================================
   Dental Fast — site public (vitrine)
   Mêmes couleurs que l'application (css/style.css).
   ============================================================ */
:root {
  --navy: #04253E; --navy-2: #0A3354; --navy-3: #12456E;
  --teal: #2FD3CF; --teal-2: #1BAEB8; --teal-dark: #0A7FA0;
  --ice: #E8F7F8; --bg: #F3F6F9; --card: #FFFFFF; --line: #DFE6EC;
  --ink: #0E2235; --muted: #5F7385; --danger: #D64545; --ok: #1E9E6A;
  --radius: 18px; --shadow: 0 1px 2px rgba(4, 37, 62, .06), 0 10px 30px rgba(4, 37, 62, .08);
  --font: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--teal), var(--teal-2)); color: var(--navy); box-shadow: 0 6px 20px rgba(27, 174, 184, .35); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(27, 174, 184, .45); }
.btn-outline { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .08); }
.btn-ghost { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-ghost:hover { border-color: var(--teal-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(4, 37, 62, .97); backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; height: 76px; max-width: 1380px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.brand b { display: block; font-size: 17px; letter-spacing: .12em; font-weight: 600; }
.brand small { display: block; font-size: 10.5px; letter-spacing: .16em; color: #9FC3D6; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav { display: flex; gap: 2px; }
.main-nav a { color: #D5E6EF; text-decoration: none; font-size: 14.5px; font-weight: 500; padding: 8px 11px; white-space: nowrap; border-radius: 999px; transition: background .2s, color .2s; }
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.main-nav a.active { color: var(--teal); }
.header-cta { display: flex; gap: 10px; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 500px at 85% 20%, rgba(47, 211, 207, .22), transparent 60%),
  radial-gradient(700px 500px at 10% 110%, rgba(10, 127, 160, .35), transparent 60%),
  linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 100%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 90px; padding-bottom: 100px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--teal), #8FF0EC); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #C3D9E5; }
.hero .eyebrow { color: var(--teal); }
.hero-points { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: #C3D9E5; font-size: 14px; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; stroke: var(--teal); }
.page-hero { color: #fff; background: radial-gradient(800px 400px at 90% 0%, rgba(47, 211, 207, .18), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.page-hero .wrap { padding-top: 70px; padding-bottom: 70px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); }
.page-hero .lead { color: #C3D9E5; }
.page-hero .eyebrow { color: var(--teal); }
.crumbs { font-size: 13px; color: #9FC3D6; margin-bottom: 14px; }
.crumbs a { color: #9FC3D6; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Maquette « suivi du cas » (héros de l'accueil) */
.mock { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); backdrop-filter: blur(6px); }
.mock-card { background: #fff; color: var(--ink); border-radius: 16px; padding: 20px; }
.mock-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.mock-head b { color: var(--navy); }
.mock-badge { font-size: 12px; font-weight: 700; color: #8A5A00; background: #FFF1D6; padding: 4px 10px; border-radius: 999px; }
.mock-steps { list-style: none; margin: 0; padding: 0; }
.mock-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; position: relative; font-size: 14px; }
.mock-steps li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: #fff; margin-top: 4px; flex-shrink: 0; }
.mock-steps li.done::before { background: var(--teal-2); border-color: var(--teal-2); }
.mock-steps li.cur::before { border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(27, 174, 184, .18); }
.mock-steps small { display: block; color: var(--muted); font-size: 12px; }
.mock-row { display: flex; gap: 10px; margin-top: 14px; }
.mock-chip { flex: 1; background: var(--bg); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; }
.mock-chip b { display: block; color: var(--navy); font-size: 14px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--navy); color: #D5E6EF; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--teal); }
.section-head { margin-bottom: 48px; }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.card h3 { margin-top: 4px; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .2s, border-color .2s; }
.card-link:hover { transform: translateY(-3px); border-color: var(--teal-2); }
.card-link .more { color: var(--teal-dark); font-weight: 600; font-size: 14px; }
.icon { width: 54px; height: 54px; border-radius: 14px; background: var(--ice); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 28px; height: 28px; stroke: var(--teal-dark); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.section.dark .icon { background: rgba(47, 211, 207, .12); }
.section.dark .icon svg { stroke: var(--teal); }

.checks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A7FA0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Étapes numérotées */
.steps { counter-reset: st; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: st; content: counter(st, decimal-leading-zero); display: block; font-size: 34px; font-weight: 700; color: var(--teal-2); margin-bottom: 10px; letter-spacing: -.02em; }
.section.dark .step { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }

/* Bandeau d'appel à l'action */
.cta-band { border-radius: 26px; padding: 56px; color: #fff; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center;
  background: radial-gradient(600px 300px at 100% 0%, rgba(47, 211, 207, .3), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-3)); }
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: #C3D9E5; margin: 0; }

/* Catalogue des prothèses */
.cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; position: sticky; top: 76px; z-index: 5; background: #fff; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cat-nav a { text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--navy); font-size: 14px; font-weight: 500; background: #fff; }
.cat-nav a:hover { border-color: var(--teal-2); }
.cat { scroll-margin-top: 160px; margin-bottom: 64px; }
.cat-head { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-bottom: 22px; }
.cat-head .icon { margin: 0; width: 64px; height: 64px; }
.cat-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.item { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; }
.item b { display: block; color: var(--navy); font-size: 15px; }
.item small { color: var(--muted); font-size: 13px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 30px 18px 0; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--teal-dark); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq-group { margin-bottom: 40px; }
.faq-group h2 { font-size: 22px; }

/* Formulaires */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--navy); }
.req { color: var(--danger); }
.input { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--teal-2); box-shadow: 0 0 0 4px rgba(27, 174, 184, .15); }
textarea.input { min-height: 140px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; cursor: pointer; background: #fff; }
.choice:has(input:checked) { border-color: var(--teal-2); background: var(--ice); }
.choice input { accent-color: var(--teal-dark); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--teal-dark); }
.hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 12px; font-size: 14.5px; }
.form-msg.ok { background: #E7F7EF; color: #136B47; }
.form-msg.err { background: #FDEEEE; color: #A33232; }

/* Coordonnées */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
.contact-list .icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }

/* Textes légaux */
.prose { max-width: 820px; }
.prose h2 { font-size: 22px; margin-top: 2em; }
.prose h3 { font-size: 17px; margin-top: 1.5em; }
.prose ul { padding-left: 20px; }
.todo { background: #FFF4D6; color: #7A5200; padding: 1px 6px; border-radius: 6px; font-weight: 600; font-size: .92em; }

/* Pied de page */
.site-footer { background: #031B2E; color: #9FB8C8; font-size: 14.5px; padding: 70px 0 0; }
.site-footer h4 { color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #9FB8C8; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-brand p { margin-top: 14px; max-width: 300px; }
.foot-bottom { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Page 404 */
.err-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
.err-page .code { font-size: 110px; font-weight: 700; color: var(--teal-2); line-height: 1; }

/* ---------- Responsive ---------- */
html, body { overflow-x: clip; }
@media (max-width: 1360px) { .site-header .brand small { display: none; } .main-nav a { padding: 8px 8px; font-size: 14px; } }
@media (max-width: 1180px) {
  .burger { display: block; }
  .menu { display: none; }
  body.menu-open .menu { display: flex; flex-direction: column; align-items: stretch; gap: 12px; position: absolute; top: 76px; left: 0; right: 0;
    background: var(--navy); padding: 10px 20px 22px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); max-height: calc(100vh - 76px); overflow-y: auto; }
  body.menu-open .main-nav { flex-direction: column; }
  body.menu-open .main-nav a { padding: 12px 8px; font-size: 16px; }
  body.menu-open .header-cta { flex-direction: column; }
}
@media (max-width: 980px) {
  .hero .wrap, .split { grid-template-columns: 1fr; gap: 40px; }
  .hero .wrap { padding-top: 60px; padding-bottom: 70px; }
  .g3, .g4, .steps, .cat-items { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .cat-nav { top: 76px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 64px 0; }
  .wrap { padding: 0 16px; }
  .g2, .g3, .g4, .steps, .cat-items, .form .row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .brand small { display: none; }
  .cat-nav { flex-wrap: nowrap; overflow-x: auto; }
  .cat-nav a { white-space: nowrap; }
}

/* ============================================================
   Photos (v2) : bannières, cartes photo, image + texte, galerie
   ============================================================ */
.hero.photo { background: linear-gradient(100deg, rgba(4, 37, 62, .95) 0%, rgba(4, 37, 62, .78) 42%, rgba(4, 37, 62, .15) 100%), var(--photo) center/cover no-repeat; }
.hero.photo .wrap { min-height: calc(100vh - 76px); max-height: 900px; padding-top: 70px; padding-bottom: 80px; }
.page-hero.photo { background: linear-gradient(100deg, rgba(4, 37, 62, .95) 0%, rgba(4, 37, 62, .8) 50%, rgba(4, 37, 62, .4) 100%), var(--photo) center/cover no-repeat; }
.page-hero.photo .wrap { padding-top: 110px; padding-bottom: 110px; }

.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(4, 37, 62, .14); }
.pcard .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .ph img { transform: scale(1.06); }
.pcard .bd { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard h3 { margin: 0; }
.pcard p { margin: 0; color: var(--muted); font-size: 14.5px; }
.pcard .more { margin-top: auto; padding-top: 8px; color: var(--teal-dark); font-weight: 600; font-size: 14px; }

.media { position: relative; }
.media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(4, 37, 62, .18); }
.media .float { position: absolute; left: -24px; bottom: -24px; background: #fff; border-radius: 18px; padding: 16px 20px; box-shadow: 0 20px 40px rgba(4, 37, 62, .18); display: flex; gap: 12px; align-items: center; max-width: 280px; }
.media .float .icon { margin: 0; width: 46px; height: 46px; flex-shrink: 0; }
.media .float b { display: block; color: var(--navy); font-size: 15px; line-height: 1.3; }
.media .float small { color: var(--muted); font-size: 12.5px; }
.media.right .float { left: auto; right: -24px; }
.media-duo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: end; }
.media-duo img { width: 100%; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px rgba(4, 37, 62, .15); }
.media-duo img:first-child { aspect-ratio: 3 / 4; }
.media-duo img:last-child { aspect-ratio: 1 / 1; margin-bottom: 40px; }
.split.rev > :first-child { order: 2; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .1); border-radius: 22px; overflow: hidden; }
.stat { background: var(--navy-2); padding: 30px 26px; }
.stat b { display: block; font-size: 38px; font-weight: 700; color: var(--teal); letter-spacing: -.02em; line-height: 1.1; }
.stat span { color: #C3D9E5; font-size: 14.5px; }
.stats-wrap { margin-top: -70px; position: relative; z-index: 3; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 18px; }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-weight: 600; font-size: 15px;
  background: linear-gradient(transparent, rgba(4, 37, 62, .85)); }
.gallery figcaption small { display: block; font-weight: 400; font-size: 12.5px; color: #C3D9E5; }

.materials { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.materials span { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--navy); font-size: 14px; }

.photo-band { position: relative; color: #fff; padding: 120px 0; background: linear-gradient(90deg, rgba(4, 37, 62, .92), rgba(4, 37, 62, .55)), var(--photo) center/cover no-repeat; }
.photo-band h2 { color: #fff; }
.photo-band p { color: #D5E6EF; max-width: 620px; }

.cat-banner { height: 220px; border-radius: 20px; overflow: hidden; margin-bottom: 22px; }
.cat-banner img { width: 100%; height: 100%; object-fit: cover; }

.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.legal-nav a { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); font-size: 14px; }
.legal-nav a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg); color: var(--navy); }
.sitemap-list { columns: 2; gap: 40px; }
.sitemap-list ul { break-inside: avoid; }

@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .media .float, .media.right .float { left: 12px; right: auto; bottom: -20px; }
  .split.rev > :first-child { order: 0; }
  .hero.photo .wrap { min-height: 0; }
}
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; } .stat b { font-size: 30px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery figure.tall, .gallery figure.wide { grid-row: auto; grid-column: auto; }
  .media-duo { grid-template-columns: 1fr; } .media-duo img:last-child { display: none; }
  .sitemap-list { columns: 1; }
  .page-hero.photo .wrap { padding-top: 70px; padding-bottom: 70px; }
}

/* Plateformes d'empreinte numérique (numerique.html) */
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.platform { display: flex; align-items: center; justify-content: center; height: 130px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.platform img { display: block; width: auto; max-width: 100%; max-height: 64px; }
.platform img.s { max-height: 36px; }
.platforms-note { margin-top: 24px; font-size: 13px; }
@media (max-width: 980px) { .platforms { grid-template-columns: repeat(2, 1fr); gap: 16px; } .platform { height: 104px; padding: 16px; } }
