/* =========================================================
   Assistance Marne — feuille de style
   Couleurs reprises du logo
   ========================================================= */
:root {
  --navy: #17387a;
  --navy-dark: #0f2654;
  --blue: #1a66b3;
  --blue-light: #e8f0fb;
  --orange: #e8611a;
  --orange-dark: #c94e0f;
  --bordeaux: #a3123a;
  --ink: #1d2433;
  --muted: #5a6478;
  --bg: #f6f8fc;
  --white: #fff;
  --radius: 22px;
  --shadow-sm: 0 4px 14px rgba(23, 56, 122, .08);
  --shadow: 0 14px 40px rgba(23, 56, 122, .14);
  --shadow-lg: 0 30px 80px rgba(15, 38, 84, .25);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-title: "Montserrat", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { font-family: var(--font-title); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.small { font-size: .85rem; color: var(--muted); }
.accent { color: var(--orange); }
.kicker {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bordeaux);
  margin-bottom: .6em;
}
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-title); font-weight: 700; font-size: 1rem;
  padding: .9em 1.6em; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn svg { width: 1.2em; height: 1.2em; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(232, 97, 26, .35); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-blue { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(23, 56, 122, .3); }
.btn-blue:hover { background: var(--blue); }
.btn-ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-block { width: 100%; }

/* ---------- En-tête ---------- */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 1.5rem;
  padding: .7rem clamp(1rem, 3vw, 2.5rem);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 56, 122, .08);
  transition: box-shadow .3s;
}
.topbar.scrolled { box-shadow: var(--shadow-sm); }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 56px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-title); font-weight: 900; color: var(--navy); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.brand-text small { color: var(--bordeaux); font-weight: 700; font-size: .75rem; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: .95rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.btn-call { padding: .7em 1.3em; font-size: .95rem; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 3px; background: var(--navy); border-radius: 3px; margin: 5px 0; transition: .3s; }

/* ---------- Accueil / orbite ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 110px 1rem 80px;
  display: flex; flex-direction: column; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 60%, #fff 0%, rgba(255,255,255,0) 60%),
    radial-gradient(circle at 10% 10%, rgba(26,102,179,.10), transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(232,97,26,.10), transparent 40%),
    var(--bg);
}
.marne-bg {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  width: 165%; max-width: 125vw; transform: translate(-50%, -50%);
  pointer-events: none;
}
.marne-line {
  fill: rgba(26, 102, 179, .035);
  stroke: var(--navy); stroke-width: 9; stroke-linejoin: round; opacity: .16;
  stroke-dasharray: 9000; stroke-dashoffset: 9000;
  animation: draw 3.5s var(--ease) .2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-head { position: relative; text-align: center; max-width: 760px; z-index: 2; }
.hero-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 900; margin-bottom: .3em; }
.hero-sub { color: var(--muted); font-size: 1.1rem; margin-bottom: .4rem; }

.orbit {
  --size: min(86vw, 700px, calc(100vh - 320px));
  min-width: 420px; min-height: 420px;
  position: relative; z-index: 2;
  width: var(--size); height: var(--size);
  margin-top: 1rem;
}
.orbit-ring { position: absolute; inset: 9%; width: 82%; height: 82%; animation: spin 80s linear infinite; }
.orbit-ring circle { fill: none; stroke: var(--blue); stroke-width: .35; stroke-dasharray: 1.2 2.2; opacity: .45; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-center {
  position: absolute; left: 50%; top: 50%;
  width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: #fff; box-shadow: var(--shadow-lg), 0 0 0 10px rgba(255,255,255,.7), 0 0 0 11px rgba(26,102,179,.15);
  display: grid; place-items: center;
  animation: breathe 4s ease-in-out infinite;
  transition: box-shadow .3s;
}
.orbit-center { overflow: hidden; }
.orbit-center img { width: 76%; }
.orbit-center:hover { box-shadow: var(--shadow-lg), 0 0 0 10px rgba(255,255,255,.9), 0 0 0 13px var(--orange); }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.035); } }

.orbit-node {
  --node: clamp(96px, 20%, 150px);
  position: absolute; left: 50%; top: 50%;
  width: var(--node); aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(.2);
  opacity: 0;
  border: 0; border-radius: 50%; cursor: pointer; padding: .4rem;
  background: #fff; color: var(--navy);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  font-family: var(--font-title); font-weight: 800; font-size: clamp(.68rem, 1.6vw, .85rem); line-height: 1.15; text-align: center;
  transition: left .9s var(--ease), top .9s var(--ease), transform .9s var(--ease), opacity .6s, box-shadow .3s, background .3s, color .3s;
  transition-delay: calc(var(--i) * 90ms + .4s);
}
.orbit.is-open .orbit-node { left: var(--x); top: var(--y); transform: translate(-50%, -50%) scale(1); opacity: 1; }
.orbit-node .ico {
  width: 46%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-light); color: var(--blue);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.orbit-node .ico svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.orbit-node:nth-of-type(even) .ico { background: #fdeee5; color: var(--orange); }
.orbit.is-open .orbit-node:hover, .orbit.is-open .orbit-node:focus-visible {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--orange);
  transition-delay: 0s;
}
.orbit-node:hover .ico { background: var(--orange); color: #fff; transform: rotate(-8deg) scale(1.05); }

.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid var(--navy); border-radius: 20px; opacity: .45; z-index: 2; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--navy); border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Chiffres ---------- */
.stats {
  max-width: 1150px; margin: 2.5rem auto 0; position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--navy); color: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 1.8rem 1.4rem; text-align: center; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-title); font-size: 2.3rem; font-weight: 900; color: #fff; line-height: 1.1; }
.stat strong sup { font-size: .55em; color: var(--orange); }
.stat:nth-child(2) strong, .stat:nth-child(4) strong { color: #ffb48a; }
.stat span { font-size: .92rem; opacity: .85; }

/* ---------- Sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 1.25rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.8rem; }
.section-head p:not(.kicker) { color: var(--muted); }

/* ---------- Avant / Après ---------- */
.ba {
  --pos: 50%;
  position: relative; width: 100%; max-width: 1100px; margin: 0 auto;
  aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y;
  background: #ddd; cursor: ew-resize;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); filter: saturate(.85); }
.ba-tag {
  position: absolute; top: 16px; z-index: 3;
  font-family: var(--font-title); font-weight: 800; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .45em 1em; border-radius: 999px; color: #fff; pointer-events: none;
  transition: opacity .3s;
}
.ba-tag.before { left: 16px; background: rgba(29, 36, 51, .75); }
.ba-tag.after { right: 16px; background: var(--orange); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 4;
  width: 4px; margin-left: -2px; background: #fff; box-shadow: 0 0 18px rgba(0,0,0,.35);
  pointer-events: none;
}
.ba-knob {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; background: #fff;
  box-shadow: 0 6px 22px rgba(0,0,0,.3);
  display: grid; place-items: center; color: var(--navy); pointer-events: auto; cursor: grab;
  border: 3px solid var(--orange);
}
.ba-knob svg { width: 30px; height: 30px; fill: currentColor; }
.ba.dragging .ba-knob { cursor: grabbing; transform: translate(-50%, -50%) scale(1.08); }
.ba-range { position: absolute; opacity: 0; pointer-events: none; }
.ba-range:focus-visible ~ .ba-handle .ba-knob { outline: 3px solid var(--orange); outline-offset: 4px; }

.hs {
  position: absolute; z-index: 5; left: var(--hx); top: var(--hy);
  transform: translate(-50%, -50%);
  border: 0; padding: 0; background: none; cursor: pointer;
}
.hs-dot {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.35), 0 3px 12px rgba(0,0,0,.35);
  position: relative; transition: transform .35s var(--ease), background .3s;
}
.hs-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid #fff; animation: ping 2s ease-out infinite;
}
.hs-dot svg { width: 14px; height: 14px; fill: none; stroke: var(--orange); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.3); transition: .35s var(--ease); }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.hs-label {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  transform: translate(-50%, 6px); white-space: nowrap;
  background: #fff; color: var(--navy);
  font-family: var(--font-title); font-weight: 800; font-size: .82rem;
  padding: .45em .9em; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25);
  opacity: 0; transition: opacity .35s, transform .35s var(--ease); pointer-events: none;
}
.hs-label::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; }
.hs.is-done .hs-dot { transform: scale(1.15); }
.hs.is-done .hs-dot::after { animation: none; opacity: 0; }
.hs.is-done .hs-dot svg { opacity: 1; transform: scale(1); }
.hs.is-done .hs-label, .hs:hover .hs-label, .hs:focus-visible .hs-label { opacity: 1; transform: translate(-50%, 0); }
.hs.label-below .hs-label { bottom: auto; top: calc(100% + 10px); }
.hs.label-below .hs-label::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #fff; }

.ba-legend { display: flex; flex-wrap: wrap; gap: .5rem .7rem; justify-content: center; margin: 1.6rem auto 0; padding: 0; list-style: none; max-width: 1000px; }
.ba-legend li {
  display: flex; align-items: center; gap: .45em;
  background: #fff; border-radius: 999px; padding: .45em 1em; font-weight: 700; font-size: .92rem; color: var(--muted);
  box-shadow: var(--shadow-sm); transition: color .3s, background .3s;
}
.ba-legend li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #cfd6e4; transition: background .3s; }
.ba-legend li.is-done { color: var(--navy); }
.ba-legend li.is-done::before { background: var(--orange); }
.ba-hint { text-align: center; color: var(--muted); font-size: .9rem; margin-top: .8rem; }

/* ---------- Crédit d'impôt ---------- */
.tax-card {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff; border-radius: 32px; padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.tax-card::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.06); right: -120px; top: -160px; }
.tax-card h2 { color: #fff; }
.tax-card .kicker { color: #ffb48a; }
.tax-card .small { color: rgba(255,255,255,.7); }
.tax-visual { display: flex; align-items: center; justify-content: center; gap: 1.2rem; }
.coin { display: grid; place-items: center; border-radius: 50%; font-family: var(--font-title); font-weight: 900; }
.coin-full { width: 150px; height: 150px; background: rgba(255,255,255,.12); border: 3px dashed rgba(255,255,255,.5); font-size: 1.8rem; }
.coin-half { width: 110px; height: 110px; background: var(--orange); font-size: 1.6rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); animation: bob 3s ease-in-out infinite; }
.tax-arrow { font-size: 2.4rem; opacity: .7; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; counter-reset: s; }
.step { background: #fff; border-radius: var(--radius); padding: 2.2rem 1.8rem; box-shadow: var(--shadow-sm); position: relative; }
.step-num {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--orange); color: #fff; font-family: var(--font-title); font-weight: 900; font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.step:nth-child(2) .step-num { background: var(--blue); }
.step:nth-child(3) .step-num { background: var(--bordeaux); }
.step p { color: var(--muted); margin: 0; }

/* ---------- Zone ---------- */
.zone { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.zone-map svg { width: 100%; height: auto; }
.zone-fill { fill: #fff; stroke: var(--navy); stroke-width: 10; stroke-linejoin: round; filter: drop-shadow(0 20px 30px rgba(23,56,122,.15)); }
.pin-dot { fill: var(--orange); stroke: #fff; stroke-width: 8; }
.pin-pulse { fill: var(--orange); opacity: .25; transform-box: fill-box; transform-origin: center; animation: pinpulse 2.2s ease-out infinite; }
@keyframes pinpulse { 0% { transform: scale(.4); opacity: .5; } 100% { transform: scale(1.6); opacity: 0; } }
.pin-label { font-family: var(--font-title); font-weight: 800; font-size: 46px; fill: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; }
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem; padding: 1.4rem 1.5rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s;
  overflow-wrap: anywhere;
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card small { display: block; color: var(--muted); font-weight: 700; }
.contact-card strong { font-family: var(--font-title); color: var(--navy); font-size: 1.1rem; }
.contact-card.big { background: var(--orange); }
.contact-card.big small, .contact-card.big strong { color: #fff; }
.contact-card.big strong { font-size: 1.7rem; }
.cc-icon { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-light); }
.cc-icon svg { width: 26px; height: 26px; fill: var(--blue); }
.contact-card.big .cc-icon { background: rgba(255,255,255,.2); }
.contact-card.big .cc-icon svg { fill: #fff; }

.quote-form { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1rem; }
.quote-form h3 { margin: 0; }
.quote-form label { display: grid; gap: .35rem; font-weight: 700; color: var(--navy); font-size: .95rem; }
.quote-form input, .quote-form select, .quote-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  padding: .8em 1em; border-radius: 14px; border: 2px solid #dfe5f0; background: var(--bg);
  transition: border-color .2s, background .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form .small { margin: 0; }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 4rem 1.25rem 1.5rem; margin-top: 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer h4 { color: #fff; font-size: 1rem; }
.footer a { color: #ffb48a; text-decoration: none; }
.footer .small { color: rgba(255,255,255,.6); }
.footer-logo { background: #fff; border-radius: 18px; padding: .6rem; width: 190px; }
.footer-services { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.footer-services button { background: none; border: 0; padding: 0; color: rgba(255,255,255,.8); font: inherit; cursor: pointer; text-align: left; }
.footer-services button:hover { color: #fff; text-decoration: underline; }
.copyright { text-align: center; font-size: .85rem; opacity: .6; margin: 3rem 0 0; }

/* ---------- Bouton d'appel flottant ---------- */
.fab-call {
  display: none; position: fixed; right: 18px; bottom: 18px; z-index: 40;
  width: 62px; height: 62px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 10px 30px rgba(232,97,26,.5); place-items: center;
}
.fab-call svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Panneau de service ---------- */
.panel-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(15, 38, 84, .45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s; }
.panel-backdrop.show { opacity: 1; }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(1020px, 100vw); background: var(--bg);
  box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); transition: transform .55s var(--ease);
}
.panel.show { transform: translateX(0); }
.panel-close {
  position: sticky; top: 16px; float: right; margin: 16px 16px 0 0; z-index: 10;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--navy); font-size: 2rem; line-height: 1; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), background .3s;
}
.panel-close:hover { transform: rotate(90deg); background: var(--orange); color: #fff; }
.panel-hero {
  padding: 3rem clamp(1.4rem, 4vw, 3rem) 2.4rem;
  background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff;
  position: relative; overflow: hidden;
}
.panel-hero::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.07); }
.panel-hero .ph-icon { width: 76px; height: 76px; border-radius: 22px; background: var(--orange); display: grid; place-items: center; margin-bottom: 1.2rem; box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.panel-hero .ph-icon svg { width: 44px; height: 44px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.panel-hero h2 { color: #fff; margin-bottom: .3em; }
.panel-hero p { font-size: 1.12rem; opacity: .9; max-width: 640px; margin: 0; }
.panel-content { padding: 2.4rem clamp(1.4rem, 4vw, 3rem) 3rem; }
.panel-content > h3 { margin-top: 2.4rem; }
.panel-content > h3.first { margin-top: 0; }
.sub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.sub-card {
  background: #fff; border-radius: 20px; padding: 1.6rem; box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--blue);
  opacity: 0; transform: translateY(20px);
  animation: rise .6s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + .25s);
}
.sub-card:nth-child(even) { border-top-color: var(--orange); }
.sub-card h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.sub-card ul { margin: 0; padding-left: 1.1em; color: var(--muted); }
.sub-card li { margin: .2em 0; }
.sub-card li::marker { color: var(--orange); }
.sap-badge { display: inline-block; margin-top: .8rem; font-size: .78rem; font-weight: 800; color: #0d7a45; background: #e3f6ec; padding: .25em .8em; border-radius: 999px; }
@keyframes rise { to { opacity: 1; transform: none; } }
.panel-cta {
  margin-top: 2.4rem; padding: 1.8rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.panel-cta p { margin: 0; font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.panel-cta .btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.panel .ba { box-shadow: var(--shadow); }
body.panel-open { overflow: hidden; }

/* ---------- Apparitions au défilement ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.step.reveal:nth-child(2) { transition-delay: .12s; }
.step.reveal:nth-child(3) { transition-delay: .24s; }

/* =========================================================
   Responsive
   ========================================================= */
/* =========================================================
   Ajouts v2 : partenaire, carte, recrutement, formulaires
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Partenaire traiteur */
.partner {
  display: grid; grid-template-columns: 150px 1fr; gap: 1.6rem; align-items: center;
  background: #fff; border-radius: 22px; padding: 1.4rem; box-shadow: var(--shadow-sm);
  border-left: 6px solid #b3141b; margin-bottom: 2rem;
}
.partner img { width: 150px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.partner h3 { margin-bottom: .3rem; }
.partner p:last-child { margin: 0; color: var(--muted); }

/* Zone : 45 km de route autour de l'agence (mini-carte) */
.zone-radius { stroke-linejoin: round; fill: rgba(232, 97, 26, .12); stroke: var(--orange); stroke-width: 8; stroke-dasharray: 26 16; }
.radius-label { font-family: var(--font-title); font-weight: 900; font-size: 54px; fill: var(--orange); }

/* Panneau carte */
.panel.panel-map { width: min(760px, 100vw); display: flex; flex-direction: column; }
.panel.panel-map .panel-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.panel-hero.compact { padding: 2.2rem clamp(1.4rem, 4vw, 2.4rem) 1.8rem; }
.panel-hero.compact .ph-icon { width: 58px; height: 58px; border-radius: 18px; margin-bottom: .9rem; }
.panel-hero.compact .ph-icon svg { width: 32px; height: 32px; }
.panel-hero.compact h2 { font-size: 1.7rem; }
.panel-hero.compact p { font-size: 1rem; }
.map-content { display: flex; flex-direction: column; gap: 1rem; flex: 1; min-height: 0; padding-top: 1.6rem; padding-bottom: 1.6rem; }
.addr-box { position: relative; }
.addr-box input {
  width: 100%; font: inherit; padding: 1em 1.2em 1em 3em; border-radius: 16px;
  border: 2px solid #dfe5f0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a66b3' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 1em center / 1.3em;
  box-shadow: var(--shadow-sm);
}
.addr-box input:focus { outline: none; border-color: var(--blue); }
.addr-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1000;
  list-style: none; margin: 0; padding: .4rem; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg);
}
.addr-list li { padding: .7em 1em; border-radius: 10px; cursor: pointer; }
.addr-list li:hover, .addr-list li:focus { background: var(--blue-light); outline: none; color: var(--navy); }
.addr-list li.empty { color: var(--muted); cursor: default; }
.zone-result:empty { display: none; }
.zone-result { padding: 1rem 1.2rem; border-radius: 16px; font-size: .98rem; }
.zone-result.ok { background: #e3f6ec; color: #0b5b34; border: 2px solid #9fdcbc; }
.zone-result.ko { background: #fff3e9; color: #8a3a0c; border: 2px solid #f8c9a6; }
.zr-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.zr-actions .btn { padding: .65em 1.2em; font-size: .92rem; }
.zone-leaflet { flex: 1; min-height: 380px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #e8eef7; position: relative; }
.map-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); margin: 0; padding: 1rem; text-align: center; }
.map-pin.agency span {
  display: block; width: 22px; height: 22px; border-radius: 50%; cursor: pointer;
  background: var(--orange); border: 4px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35);
  position: relative;
}
.map-pin.agency span::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--orange); animation: ping 2s ease-out infinite; }
.agency-popup .leaflet-popup-content-wrapper { border-radius: 20px; }
.agency-popup .leaflet-popup-content { margin: 16px 20px; }
.agency-pop { display: flex; flex-direction: column; align-items: center; gap: .35rem; text-align: center; font-family: var(--font-body); color: var(--muted); font-size: .85rem; line-height: 1.35; }
.agency-pop strong { font-family: var(--font-title); color: var(--navy); font-size: 1rem; }
.agency-logo {
  width: 110px; height: 110px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 4px var(--orange), 0 8px 20px rgba(0,0,0,.2); margin-bottom: .4rem;
  animation: pop-in .35s var(--ease);
}
.agency-logo img { width: 80%; }
@keyframes pop-in { from { transform: scale(.4); opacity: 0; } }
.map-pin.home span { display: block; width: 28px; height: 28px; background: var(--blue); border: 4px solid #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.map-pin.home.out span { background: var(--bordeaux); }

/* Recrutement */
.jobs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-bottom: 2.4rem; }
.job {
  background: #fff; border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: .4rem; border-top: 5px solid var(--orange);
}
.job:nth-child(even) { border-top-color: var(--blue); }
.job h3 { margin: .3rem 0 0; }
.job p { color: var(--muted); font-size: .95rem; flex: 1; }
.job .btn { align-self: flex-start; padding: .6em 1.3em; font-size: .92rem; }
.job-tag { align-self: flex-start; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #0d7a45; background: #e3f6ec; padding: .3em .8em; border-radius: 999px; }
.jobs-empty { grid-column: 1 / -1; text-align: center; background: #fff; border-radius: var(--radius); padding: 1.6rem; color: var(--muted); box-shadow: var(--shadow-sm); margin: 0; }
.recruit-form { max-width: 760px; margin: 0 auto; }
.file-drop {
  display: flex !important; grid-template-columns: none; flex-direction: row; align-items: center; gap: 1rem !important;
  padding: 1.2rem; border-radius: 16px; border: 2px dashed #b9c6dd; background: var(--bg); cursor: pointer;
  transition: border-color .2s, background .2s; position: relative;
}
.file-drop:hover, .file-drop:focus-within { border-color: var(--blue); background: var(--blue-light); }
.file-drop.has-file { border-style: solid; border-color: #3aa46f; background: #e3f6ec; }
.file-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fd-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.fd-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fd-text { display: flex; flex-direction: column; }
.fd-text small { font-weight: 400; color: var(--muted); }
.check { display: flex !important; flex-direction: row; align-items: flex-start; gap: .7rem !important; font-weight: 400 !important; color: var(--muted) !important; font-size: .9rem !important; }
.check input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--orange); }
.form-msg:empty { display: none; }
.form-msg { margin: 0; padding: .8rem 1rem; border-radius: 12px; font-weight: 700; font-size: .95rem; }
.form-msg.ok { background: #e3f6ec; color: #0b5b34; }
.form-msg.ko { background: #fdebec; color: #9b1c24; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

@media (max-width: 1080px) {
  .nav { gap: 1.1rem; }
  .nav a { font-size: .88rem; }
  .brand-text { display: none; }
}
@media (max-width: 900px) {
  .burger { display: block; margin-left: auto; }
  .btn-call { display: none; }
  .nav {
    position: fixed; top: 66px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: #fff; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .nav.open { max-height: 400px; }
  .nav a { padding: 1rem 1.5rem; border-top: 1px solid #eef1f7; font-size: 1.05rem; }
  .brand-text { display: flex; }
  .stats { grid-template-columns: repeat(2, 1fr); margin: 1.5rem 1rem 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.12); }
  .tax-card, .zone, .contact-grid { grid-template-columns: 1fr; }
  .zone-map { max-width: 460px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .fab-call { display: grid; }
}

/* Sur mobile : l'orbite devient une grille de cartes */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .topbar { gap: .6rem; }
  .brand img { width: 46px; }
  .brand-text strong { font-size: .9rem; }
  .hero { min-height: auto; padding-bottom: 70px; }
  .scroll-hint { display: none; }
  .orbit {
    width: 100%; height: auto; max-width: 440px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem;
  }
  .orbit-ring, .marne-bg { display: none; }
  .orbit { min-width: 0; min-height: 0; }
  .orbit-center {
    position: relative; left: auto; top: auto; transform: none;
    grid-column: 1 / -1; justify-self: center; width: 62%; margin-bottom: .6rem;
    animation: none;
  }
  .orbit-node, .orbit.is-open .orbit-node {
    position: relative; left: auto; top: auto; width: auto; aspect-ratio: auto;
    transform: none; opacity: 1; border-radius: 20px; padding: 1.1rem .6rem; font-size: .9rem;
    transition-delay: 0s;
  }
  .orbit-node .ico { width: 56px; }
  .orbit.is-open .orbit-node:hover { transform: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .stat strong { font-size: 1.8rem; }
  .hs-label { font-size: .7rem; }
  .hs-dot { width: 20px; height: 20px; }
  .ba-knob { width: 48px; height: 48px; }
  .tax-visual { transform: scale(.85); }
  .partner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .zone-leaflet { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marne-line { stroke-dashoffset: 0; }
}

/* Évite les débordements horizontaux sur petits écrans */
.contact-grid > *, .zone > *, .tax-card > *, .form-row > * { min-width: 0; }
.quote-form input, .quote-form select, .quote-form textarea { width: 100%; min-width: 0; }

/* Page Recrutement */
.page-recruit { padding-top: calc(clamp(4rem, 8vw, 7rem) + 40px); min-height: 80vh; }
.page-recruit h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; }
.nav a[aria-current="page"] { color: var(--orange); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.footer-services a { color: rgba(255,255,255,.8); }
.footer-services a:hover { color: #fff; text-decoration: underline; }

/* Carte Zone : contour fixe, sans animation */
.zone-fill { stroke: #c3cce0; stroke-width: 8; filter: drop-shadow(0 20px 30px rgba(23,56,122,.10)); }

/* =========================================================
   Animations Motion + finitions (UI UX Pro Max)
   ========================================================= */
/* Motion gère les apparitions : on neutralise l'ancien système CSS */
.motion-ready .reveal { opacity: 1; transform: none; transition: none; }

/* Barre de progression de lecture */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60;
  background: linear-gradient(90deg, var(--orange), #ff9a5c);
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

/* Lien d'évitement pour la navigation au clavier */
.skip-link {
  position: fixed; left: 1rem; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: .7em 1.2em; border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* Retour tactile au clic (propriété « scale » indépendante du transform) */
.btn, .contact-card, .chip, .orbit-center, .job .btn { transition: transform .25s var(--ease), box-shadow .25s, background .25s, scale .12s ease-out; }
.btn:active, a.contact-card:active, .orbit-center:active { scale: .96; }
.orbit-node:active { scale: .94; }

/* Cibles tactiles confortables (44 px minimum) */
.footer-services a, .footer-services button { display: inline-block; padding: .25rem 0; min-height: 32px; }
.stat strong span { font-size: inherit; opacity: 1; font-variant-numeric: tabular-nums; }

/* Case à cocher : ne pas hériter de la largeur 100 % des champs */
.quote-form .check { display: flex !important; align-items: flex-start; text-align: left; }
.quote-form .check input[type=checkbox] { width: 22px; height: 22px; min-width: 22px; padding: 0; margin: .15rem 0 0; flex: none; }
.quote-form .check span, .quote-form .check { line-height: 1.45; }

/* =========================================================
   Menu en orbite : 10 services avec les pictogrammes de l'agence
   ========================================================= */
.orbit-node {
  --node: clamp(78px, 15.5%, 116px);
  background: transparent; box-shadow: none; padding: 0; gap: 0; overflow: visible;
}
.orbit-node .ico, .orbit-node:nth-of-type(even) .ico {
  width: 100%; height: 100%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; color: var(--orange);
  border: 4px solid #0b4f8a; box-shadow: var(--shadow); overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .4s var(--ease);
}
.orbit-node .ico.picto img { width: 100%; height: 100%; object-fit: cover; }
.orbit-node .ico:not(.picto) svg { width: 54%; height: 54%; stroke-width: 1.6; }
.orbit-node .lbl {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 10.5em; text-align: center;
  background: #fff; color: var(--navy); padding: .3em .85em; border-radius: 999px;
  box-shadow: var(--shadow-sm); font-size: clamp(.68rem, 1.3vw, .8rem); line-height: 1.2;
}
.orbit.is-open .orbit-node:hover, .orbit.is-open .orbit-node:focus-visible { box-shadow: none; }
.orbit-node:hover .ico, .orbit-node:focus-visible .ico { background: #fff; color: var(--orange); border-color: var(--orange); box-shadow: var(--shadow-lg), 0 0 0 4px rgba(232, 97, 26, .25); transform: none; }
.orbit-node:hover .lbl { background: var(--orange); color: #fff; }

/* Pictogramme en tête du panneau */
.ph-icon.picto { width: 96px; height: 96px; border-radius: 50%; padding: 0; overflow: hidden; background: #fff; border: 4px solid #fff; }
.ph-icon.picto img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 640px) {
  .orbit-node, .orbit.is-open .orbit-node {
    background: #fff; box-shadow: var(--shadow-sm); padding: 1rem .6rem; gap: .6rem; border-radius: 20px;
  }
  .orbit-node .ico, .orbit-node:nth-of-type(even) .ico { width: 76px; height: 76px; flex: none; box-shadow: none; }
  .orbit-node .lbl { position: static; transform: none; box-shadow: none; background: none; padding: 0; font-size: .9rem; max-width: none; }
  .orbit-node:hover .lbl { background: none; color: var(--navy); }
}

/* Menu en orbite agrandi : plus de place pour les libellés */
.orbit { --size: min(92vw, 880px); min-width: 560px; min-height: 560px; }
.orbit-center { width: 33%; }
.orbit-node { --node: clamp(92px, 14.5%, 128px); }
.orbit-node .ico, .orbit-node:nth-of-type(even) .ico { border-width: 5px; }
.orbit-node .lbl { font-size: clamp(.78rem, 1.2vw, .92rem); max-width: 11em; padding: .35em .9em; }
@media (max-width: 640px) {
  .orbit { min-width: 0; min-height: 0; }
  .orbit-center { width: 62%; }
  .orbit-node { --node: auto; }
}

/* Accueil : tout le menu visible sans faire défiler (le cercle s'adapte à la hauteur de l'écran) */
@media (min-width: 641px) {
  .hero { min-height: 100vh; min-height: 100svh; padding-top: 84px; padding-bottom: 24px; }
  .hero-head { max-width: 980px; }
  .hero-head .kicker { margin-bottom: .3em; }
  .hero-head h1 { font-size: clamp(1.6rem, 2.9vw, 2.5rem); margin-bottom: .2em; }
  .hero-sub { font-size: 1rem; margin-bottom: 0; }
  .orbit {
    --size: min(88vw, 760px, calc(100vh - 290px));
    --size: min(88vw, 760px, calc(100svh - 290px));
    min-width: 380px; min-height: 380px; margin-top: .4rem;
  }
  .orbit-node { --node: clamp(62px, 14%, 112px); }
  .orbit-node .ico, .orbit-node:nth-of-type(even) .ico { border-width: 4px; }
  .orbit-node .lbl { font-size: clamp(.7rem, 1.7vh, .86rem); max-width: 9.5em; padding: .28em .75em; top: calc(100% + 4px); }
  .scroll-hint { display: none; }
}

/* Libellés placés à l'extérieur du cercle, dans l'axe de chaque rond */
@media (min-width: 641px) {
  .orbit-node .lbl {
    top: calc(50% + var(--sin) * (50% + 5px));
    left: calc(50% + var(--cos) * (50% + 5px));
    transform: translate(calc(-50% + var(--cos) * 50%), calc(-50% + var(--sin) * 50%));
    max-width: 8.5em;
  }
}
/* La pastille blanche s'élargit toujours assez pour contenir le mot le plus long
   (« Accompagnement », « Déménagement ») : min-width l'emporte sur max-width. */
.orbit-node .lbl { min-width: min-content; box-sizing: border-box; overflow-wrap: normal; hyphens: none; }
@media (min-width: 641px) {
  .orbit-node .lbl { white-space: normal; }
  .orbit {
    --size: min(88vw, 760px, calc(100vh - 330px));
    --size: min(88vw, 760px, calc(100svh - 330px));
    margin-top: 1.9rem;
  }
}
@media (min-width: 641px) {
  .orbit { margin-top: 2.8rem; --size: min(88vw, 760px, calc(100vh - 310px)); --size: min(88vw, 760px, calc(100svh - 310px)); }
}

/* =========================================================
   Pages juridiques (mentions légales, confidentialité, tarifs)
   ========================================================= */
.legal { padding: 110px 1.25rem 4rem; }
.legal-doc { max-width: 860px; margin: 0 auto; background: #fff; border-radius: 28px; padding: clamp(1.6rem, 4vw, 3.2rem); box-shadow: var(--shadow-sm); }
.legal-doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: .2em; }
.legal-doc h2 { font-size: 1.3rem; margin: 2.2rem 0 .7rem; padding-top: .4rem; }
.legal-doc section { scroll-margin-top: 100px; }
.legal-doc ul { padding-left: 1.2em; }
.legal-doc li { margin: .3em 0; }
.legal-doc .facts { list-style: none; padding: 1.2rem 1.4rem; background: var(--bg); border-radius: 16px; }
.toc { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.4rem 0 .6rem; }
.toc a { font-weight: 700; font-size: .88rem; text-decoration: none; background: var(--blue-light); color: var(--navy); padding: .4em .9em; border-radius: 999px; }
.toc a:hover { background: var(--navy); color: #fff; }
.todo { background: #fff3c4; color: #7a4b00; border-radius: 6px; padding: .05em .35em; font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 1rem 0; border-radius: 16px; border: 1px solid #e3e8f2; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.legal-doc th, .legal-doc td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid #e3e8f2; vertical-align: top; }
.legal-doc th { background: var(--navy); color: #fff; font-family: var(--font-title); font-size: .85rem; }
.legal-doc tr:last-child td { border-bottom: 0; }
.legal-doc td.muted { color: var(--muted); font-style: italic; }
.tarifs td:nth-child(2) { font-weight: 700; color: var(--navy); white-space: nowrap; }
.frais { font-weight: 700; color: var(--navy); }
.legal-doc .btn { margin: .3rem .4rem .3rem 0; }
.footer-legal { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .25rem; font-size: .88rem; }
.footer-legal a { color: rgba(255,255,255,.8); }
.footer-legal a:hover { color: #fff; text-decoration: underline; }
.form-notice a { color: var(--blue); }

/* Photo en tête des panneaux de service */
.panel-hero.with-photo { display: grid; grid-template-columns: 1fr minmax(200px, 36%); gap: 2rem; align-items: center; padding-right: clamp(1.4rem, 4vw, 3rem); }
.ph-text { position: relative; z-index: 1; min-width: 0; }
.ph-photo { position: relative; z-index: 1; margin: 0; height: 270px; border-radius: 24px; overflow: hidden; border: 5px solid rgba(255,255,255,.9); box-shadow: 0 18px 40px rgba(0,0,0,.28); transform: rotate(2deg); }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) {
  .panel-hero.with-photo { grid-template-columns: 1fr; gap: 1.2rem; }
  .ph-photo { order: -1; height: 200px; transform: none; margin-top: 2.4rem; }
}

/* Choix de l'exemple Avant / Après */
.ba-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: -1rem auto 2rem; }
.ba-tabs button {
  display: inline-flex; align-items: center; gap: .6rem; cursor: pointer;
  font-family: var(--font-title); font-weight: 800; font-size: 1rem; color: var(--navy);
  background: #fff; border: 2px solid #dfe5f0; border-radius: 999px; padding: .45rem 1.3rem .45rem .45rem;
  box-shadow: var(--shadow-sm); transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.ba-tabs button img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid #0b4f8a; background: #fff; }
.ba-tabs button:hover { transform: translateY(-2px); border-color: var(--orange); }
.ba-tabs button[aria-selected="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }
.ba-tabs button[aria-selected="true"] img { border-color: #fff; }
#avant-apres .ba-slot { transition: opacity .2s; }
@media (max-width: 640px) { .ba-tabs button { font-size: .9rem; padding-right: 1rem; } .ba-tabs button img { width: 34px; height: 34px; } }

/* Accès admin discret : le © du pied de page */
.copyright .admin-link { color: inherit; text-decoration: none; cursor: default; }

.footer .copyright .admin-link, .footer .copyright .admin-link:hover { color: inherit; text-decoration: none; }

/* Espacement réduit entre les sections de la page d'accueil */
.section { padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head { margin-bottom: 2rem; }
