
/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s-4)); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh-body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 3px; border-radius: 4px; }
.section--dark :focus-visible, .urgent :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .infobar :focus-visible, .footer__bottom :focus-visible { outline-color: var(--white); }
::selection { background: var(--brand); color: var(--white); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--ink); color: var(--white); padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); }
.skip:focus { top: var(--s-4); }
.icon { flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 2 * var(--gutter)); }

/* ------------------------------------------------------------------ typographie */
.display { font-size: var(--fs-display); line-height: var(--lh-tight); font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.display--page { font-size: clamp(2rem, 1.5rem + 2.2vw, 3.25rem); }
.h2 { font-size: var(--fs-h2); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-3); margin-bottom: var(--s-4); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-700); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand); }
.eyebrow--light { color: rgba(255, 255, 255, .9); }
.eyebrow--accent { color: #F2A27A; }

/* ------------------------------------------------------------------ boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: 0 var(--s-5);
  border: 1.5px solid transparent; border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: 0.01em; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn .icon { transition: transform 200ms var(--ease-out); }
.btn--primary { background: var(--brand-600); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--sm { min-height: 42px; padding: 0 var(--s-4); }
.btn--lg { min-height: 54px; padding: 0 var(--s-6); font-size: var(--fs-base); }
.btn--xl { min-height: 64px; padding: 0 var(--s-6); font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--brand-700); }
  .btn--dark:hover { background: var(--ink-2); }
  .btn--light:hover { background: var(--sand); }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
}

/* ------------------------------------------------------------------ barre d'infos + en-tête */
.infobar { background: var(--ink); color: rgba(255, 255, 255, .85); font-size: var(--fs-xs); }
.infobar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 40px; }
.infobar a { display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: none; padding-block: var(--s-2); }
.infobar__links { display: flex; gap: var(--s-5); }
.infobar__urgent strong { color: var(--white); font-weight: 700; }
.infobar .icon { color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .infobar a:hover { color: var(--white); } }
@media (max-width: 767px) { .infobar__links { display: none; } .infobar__in { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(36, 24, 29, .06); }
.header__in { display: flex; align-items: center; gap: var(--s-6); min-height: var(--header-h); }
.header__logo { flex: none; display: block; }
.header__logo img { width: 150px; height: auto; }
.header__actions { display: flex; align-items: center; gap: var(--s-3); }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: var(--s-1); min-height: 44px; padding: 0 var(--s-4); border: 0; background: none; border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; text-decoration: none; color: var(--ink); cursor: pointer; transition: color 160ms var(--ease), background-color 160ms var(--ease); }
.nav__link .icon { transition: transform 200ms var(--ease-out); color: var(--muted); }
.nav__link[aria-current] { color: var(--brand-700); }
.has-sub.is-open .nav__link .icon { transform: rotate(180deg); }
.nav__mobile-contact { display: none; }

.sub { position: absolute; top: calc(100% + 8px); left: 50%; width: 340px; padding: var(--s-2); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px) scale(0.98); transform-origin: top center;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s 180ms; }
.sub::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }  /* pont de survol */
.sub ul { list-style: none; margin: 0; padding: 0; }
.sub li a { display: flex; align-items: center; gap: var(--s-3); padding: var(--s-2) var(--s-3); border-radius: var(--r-sm); font-size: var(--fs-sm); font-weight: 600; line-height: var(--lh-snug); text-decoration: none; transition: background-color 120ms var(--ease); }
.sub__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r-sm); background: var(--brand-50); color: var(--brand-700); flex: none; }
.sub li a[aria-current] { color: var(--brand-700); }
.sub__all { display: flex; align-items: center; justify-content: space-between; margin-top: var(--s-2); padding: var(--s-3); border-top: 1px solid var(--line); font-size: var(--fs-xs); font-weight: 700; text-decoration: none; color: var(--brand-700); }
.has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .nav__link:hover { background: var(--sand); }
  .has-sub:hover > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); transition-delay: 0s; }
  .has-sub:hover .nav__link .icon { transform: rotate(180deg); }
  .sub li a:hover { background: var(--sand); }
}

.burger { display: none; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--r-sm); background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

@media (max-width: 1024px) {
  /* backdrop-filter crée un bloc conteneur pour les enfants position: fixed : à retirer pour le panneau du menu */
  .header { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .burger { display: grid; }
  .header__actions { margin-left: auto; }
  .header__logo img { width: 128px; }
  .nav { position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 116px); z-index: 40; margin: 0; padding: var(--s-4) var(--gutter) calc(var(--s-6) + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s 200ms; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; min-height: 56px; padding: 0 var(--s-1); font-size: var(--fs-lead); font-weight: 700; }
  .sub { position: static; width: auto; padding: 0 0 var(--s-3); border: 0; box-shadow: none; transform: none; display: none; opacity: 1; visibility: visible; transition: none; }
  .sub::before { display: none; }
  .has-sub.is-open > .sub { display: block; transform: none; }
  .sub li a { padding-inline: 0; }
  .nav__mobile-contact { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
  .header__cta { display: none; }
  body.menu-open { overflow: hidden; }
}

/* ------------------------------------------------------------------ hero (accueil) */
.hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: min(84svh, 760px); padding-block: var(--s-8) calc(var(--s-8) + var(--s-7)); color: var(--white); overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24, 14, 18, .88) 0%, rgba(24, 14, 18, .62) 45%, rgba(24, 14, 18, .15) 100%), linear-gradient(0deg, rgba(24, 14, 18, .6) 0%, transparent 40%); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide picture, .hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__slide.is-active img { animation: drift 9s linear forwards; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero .display { max-width: 15ch; }
.hero__lead { max-width: 46ch; margin-top: var(--s-5); font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__actions--center { justify-content: center; }
@media (max-width: 767px) {
  .hero { min-height: 86svh; }
  .hero__media::after { background: linear-gradient(0deg, rgba(24, 14, 18, .92) 0%, rgba(24, 14, 18, .72) 55%, rgba(24, 14, 18, .35) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* Bandeau d'engagements sous le hero */
.trust { position: relative; z-index: 2; margin-top: calc(-1 * var(--s-8)); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.trust__list li { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-5); font-size: var(--fs-sm); line-height: 1.4; color: var(--muted); }
.trust__list li + li { border-left: 1px solid var(--line); }
.trust__list .icon { color: var(--brand); }
.trust__list strong { display: block; font-size: var(--fs-base); color: var(--ink); }
@media (max-width: 1024px) { .trust__list { grid-template-columns: 1fr 1fr; } .trust__list li:nth-child(3) { border-left: 0; } .trust__list li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .trust__list { grid-template-columns: 1fr; } .trust__list li + li { border-left: 0; border-top: 1px solid var(--line); } .trust__list li { padding: var(--s-4) var(--s-5); } }

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--section); }
.section--first { padding-top: clamp(3rem, 2rem + 4vw, 5rem); }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark .lead { color: rgba(255, 255, 255, .78); }
.section__head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section__head .lead { margin-top: var(--s-4); }

/* Cartes de services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
.card { position: relative; display: flex; flex-direction: column; height: 100%; padding: var(--s-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out), border-color 220ms var(--ease); }
.section--sand .card { border-color: transparent; box-shadow: var(--shadow-sm); }
.card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: var(--s-5); border-radius: var(--r-md); background: var(--brand-50); color: var(--brand-700); transition: background-color 220ms var(--ease), color 220ms var(--ease); }
.card__title { font-size: var(--fs-h3); line-height: var(--lh-snug); font-weight: 700; letter-spacing: -0.01em; }
.card__text { margin-top: var(--s-3); font-size: var(--fs-sm); line-height: 1.6; color: var(--muted); }
.card__more { display: inline-flex; align-items: center; gap: var(--s-2); margin-top: auto; padding-top: var(--s-5); font-size: var(--fs-sm); font-weight: 700; color: var(--brand-700); }
.card__more .icon { transition: transform 200ms var(--ease-out); }
.card:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
  .card:hover .card__icon { background: var(--brand-600); color: var(--white); }
  .card:hover .card__more .icon { transform: translateX(4px); }
}
.card__body { display: flex; flex-direction: column; flex: 1; }
.card__text { display: block; }
.cards--2 { grid-template-columns: 1fr 1fr; }
.card--cta { background: var(--ink); color: var(--white); border-color: transparent; justify-content: center; }
.card--cta .card__text { color: rgba(255, 255, 255, .75); }
.card__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-5); }
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards__cta { grid-column: 1 / -1; }
}
/* Mobile : cartes compactes, icône à gauche */
@media (max-width: 640px) {
  .cards, .cards--2 { grid-template-columns: 1fr; gap: var(--s-3); }
  .card { flex-direction: row; align-items: flex-start; gap: var(--s-4); padding: var(--s-4) var(--s-5) var(--s-4) var(--s-4); }
  .card__icon { width: 44px; height: 44px; margin-bottom: 0; }
  .card__icon .icon { width: 22px; height: 22px; }
  .card__text { margin-top: var(--s-1); }
  .card__more { padding-top: var(--s-2); font-size: var(--fs-xs); }
  .card--cta { flex-direction: column; padding: var(--s-5); }
}

/* Section « sinistre » (image + étapes) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.split__media picture, .split__img { width: 100%; height: 100%; object-fit: cover; }
.split__body .lead { margin-top: var(--s-4); }
.steps-list { list-style: none; margin: var(--s-6) 0 0; padding: 0; display: grid; gap: var(--s-5); }
.steps-list li { display: flex; gap: var(--s-4); }
.steps-list__n { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--r-full); background: var(--brand-600); font-weight: 800; }
.steps-list strong { display: block; font-size: var(--fs-h3); line-height: var(--lh-snug); }
.steps-list p { margin-top: var(--s-1); font-size: var(--fs-sm); color: rgba(255, 255, 255, .72); }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-5) var(--s-6); margin-top: var(--s-7); padding: var(--s-5) var(--s-6); background: var(--white); border-radius: var(--r-md); color: var(--ink); }
.partners__label { width: 100%; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.partners__logo { height: auto; filter: grayscale(1); opacity: .75; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__media { aspect-ratio: 16 / 10; } }

/* Bandeau dépannage */
.urgent { background: var(--brand-600) radial-gradient(120% 140% at 100% 0%, rgba(255, 255, 255, .12), transparent 50%); color: var(--white); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); }
.urgent__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }
.urgent p:not(.eyebrow) { margin-top: var(--s-3); max-width: 52ch; color: rgba(255, 255, 255, .92); }
.urgent .eyebrow::before { background: var(--white); }
.urgent .btn--light { color: var(--brand-700); }
@media (max-width: 767px) { .urgent__in { flex-direction: column; align-items: flex-start; } .urgent .btn { width: 100%; } }

/* ------------------------------------------------------------------ pages intérieures */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(360px, 52vh, 520px); padding-block: var(--s-8) clamp(2.5rem, 2rem + 2vw, 4rem); color: var(--white); background: var(--ink); overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media picture, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24, 14, 18, .9) 0%, rgba(24, 14, 18, .55) 50%, rgba(24, 14, 18, .25) 100%); }
.page-hero .display { max-width: 20ch; }
.page-hero__lead { max-width: 56ch; margin-top: var(--s-4); font-size: var(--fs-lead); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.page-head { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 2vw, 3rem); background: var(--sand); border-bottom: 1px solid var(--line); }
.page-head--center { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); border: 0; }
.page-head--center .eyebrow { justify-content: center; }
.page-head--center .lead { margin: var(--s-4) auto 0; max-width: 48ch; }

.crumbs { margin-bottom: var(--s-4); font-size: var(--fs-xs); font-weight: 600; }
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin: 0 .6em; opacity: .5; }
.crumbs a { text-decoration: none; opacity: .85; }
.crumbs a:hover { text-decoration: underline; opacity: 1; }
.crumbs [aria-current] { opacity: .75; }
.page-head .crumbs { color: var(--muted); }
.page-head .crumbs a, .page-head .crumbs [aria-current] { opacity: 1; }
.page-head .crumbs a { color: var(--brand-700); }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.aside { position: sticky; top: calc(var(--header-h) + var(--s-5)); }
.aside__card { padding: var(--s-6); background: var(--sand); border-radius: var(--r-lg); display: grid; gap: var(--s-3); }
.aside__card > p:not(.aside__title) { font-size: var(--fs-sm); color: var(--muted); margin-bottom: var(--s-2); }
.aside__title { font-size: var(--fs-h3); font-weight: 800; line-height: var(--lh-snug); }
.aside__hours { margin-top: var(--s-4); padding-top: var(--s-4); border-top: 1px solid var(--line); display: grid; gap: var(--s-2); font-size: var(--fs-xs); }
.aside__hours dt { font-weight: 700; }
.aside__hours dd { color: var(--muted); }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; } .aside { position: static; } }

.prose { font-size: var(--fs-lead); line-height: 1.7; }
.prose > * + * { margin-top: var(--s-5); }
.prose h2 { margin-top: var(--s-7); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); line-height: var(--lh-snug); font-weight: 800; letter-spacing: -0.01em; }
.prose a { color: var(--brand-700); font-weight: 600; text-underline-offset: 3px; }
.wrap--narrow.prose { font-size: var(--fs-base); }
.note { padding: var(--s-5) var(--s-6); border-left: 3px solid var(--brand); background: var(--sand); border-radius: 0 var(--r-md) var(--r-md) 0; }
.note h2 { margin-top: 0; font-size: var(--fs-h3); }
.note p { margin-top: var(--s-2); font-size: var(--fs-base); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-5); margin-top: var(--s-7) !important; padding-top: var(--s-6); border-top: 1px solid var(--line); font-size: var(--fs-sm); font-weight: 600; }
.checks li { display: flex; align-items: center; gap: var(--s-2); }
.checks .icon { color: var(--brand); }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.legal__date { font-size: var(--fs-xs); color: var(--muted); }

/* ------------------------------------------------------------------ contact */
.contact { background: var(--sand); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact__info .lead { margin-top: var(--s-4); }
.contact__list { display: grid; gap: var(--s-4); margin: var(--s-6) 0 !important; }
.contact__list li { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact__list .icon { color: var(--brand); margin-top: 2px; }
.contact__list strong { display: block; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact__list a { text-decoration: none; font-weight: 700; }
.contact__list a:hover { color: var(--brand-700); }
.map { position: relative; height: 280px; border-radius: var(--r-lg); overflow: hidden; background: #EDE6E0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cpath d='M0 60h160M0 120h160M50 0v160M110 0v160' stroke='%23E2D9D1' stroke-width='8' fill='none'/%3E%3Cpath d='M-10 150 150 -10' stroke='%23fff' stroke-width='14' fill='none'/%3E%3C/svg%3E"); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(0.2); }
.map__consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-3); padding: var(--s-5); text-align: center; background: rgba(247, 242, 238, .72); }
.map__consent .icon { color: var(--brand); }
.map__consent p { max-width: 38ch; font-size: var(--fs-xs); line-height: 1.5; color: var(--ink-2); }
.map__consent a { font-size: var(--fs-xs); font-weight: 600; }
.contact__form { position: sticky; top: calc(var(--header-h) + var(--s-5)); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } .contact__form { position: static; } }

/* Formulaire */
.form__title { font-size: var(--fs-h3); font-weight: 800; margin-bottom: var(--s-5); }
.steps { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); }
.steps__item { display: flex; align-items: center; gap: var(--s-2); padding-bottom: var(--s-3); border-bottom: 3px solid var(--line); font-size: var(--fs-xs); font-weight: 700; color: var(--muted); transition: border-color 200ms var(--ease), color 200ms var(--ease); }
.steps__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: var(--r-full); background: var(--sand); font-size: var(--fs-xs); flex: none; transition: background-color 200ms var(--ease), color 200ms var(--ease); }
.steps__item.is-active { border-color: var(--brand-600); color: var(--ink); }
.steps__item.is-active .steps__n, .steps__item.is-done .steps__n { background: var(--brand-600); color: var(--white); }
.steps__item.is-done { border-color: var(--brand); color: var(--ink); }
@media (max-width: 420px) { .steps__label { display: none; } }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: var(--s-4); }
.step[hidden] { display: none; }
.step:not([hidden]) { animation: step-in 240ms var(--ease-out); }
@keyframes step-in { from { opacity: 0; transform: translateY(6px); } }
.field { flex: 1 1 100%; display: flex; flex-direction: column; gap: var(--s-2); }
.field[hidden] { display: none; }
.field--half { flex: 1 1 calc(50% - var(--s-2)); }
.field label { font-size: var(--fs-sm); font-weight: 700; }
.req { color: var(--brand-700); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: var(--s-3) var(--s-4); border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--ink); font: inherit; font-size: max(16px, var(--fs-base)); line-height: 1.4; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFC4BC; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(203, 95, 43, .15); }
.field textarea { min-height: 140px; resize: vertical; }
.field input[type="file"] { padding: var(--s-3); font-size: var(--fs-sm); background: var(--sand); border-style: dashed; cursor: pointer; }
.field input[type="file"]::file-selector-button { margin-right: var(--s-3); padding: var(--s-2) var(--s-4); border: 0; border-radius: 6px; background: var(--ink); color: var(--white); font: inherit; font-weight: 700; cursor: pointer; }
.field [aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }
.select { position: relative; }
.select select { appearance: none; padding-right: var(--s-7); cursor: pointer; }
.select::after { content: ""; position: absolute; right: var(--s-4); top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.hint { font-size: var(--fs-xs); color: var(--muted); }
.field-error { font-size: var(--fs-xs); font-weight: 700; color: #B42318; }
.form__nav { flex: 1 1 100%; display: flex; gap: var(--s-3); margin-top: var(--s-2); }
.form__nav .btn { flex: 1; }
.form__legal { flex: 1 1 100%; font-size: var(--fs-xs); color: var(--muted); }
.form__legal a { color: var(--brand-700); }
.form__status { margin-top: var(--s-4); font-size: var(--fs-sm); font-weight: 700; }
.form__status:empty { display: none; }
.form__status.is-ok { padding: var(--s-5); border-radius: var(--r-md); background: #ECF7EE; color: #1E6B34; }
.form__status.is-error { padding: var(--s-4); border-radius: var(--r-md); background: #FDECEA; color: #8A1C12; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 520px) { .field--half { flex-basis: 100%; } }

/* ------------------------------------------------------------------ pied de page */
.footer { background: var(--white); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-7); padding-block: clamp(3rem, 2rem + 4vw, 5rem); font-size: var(--fs-sm); }
.footer__brand img { width: 170px; }
.footer__brand > p { margin-top: var(--s-4); max-width: 34ch; color: var(--muted); }
.footer__badges { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); margin-top: var(--s-5); }
.footer__badge { filter: grayscale(1); opacity: .7; }
.footer__rplp { display: inline-flex; align-items: center; gap: var(--s-2); font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.footer__rplp .icon { color: var(--brand); }
.footer__title { margin-bottom: var(--s-4); font-size: var(--fs-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer__list { list-style: none; margin: var(--s-3) 0 0; padding: 0; display: grid; gap: var(--s-2); }
nav .footer__list { margin-top: 0; }
.footer__list a { display: inline-flex; align-items: center; gap: var(--s-2); padding-block: 2px; text-decoration: none; color: var(--ink-2); transition: color 160ms var(--ease); }
.footer__list .icon { color: var(--brand); }
.footer__urgent { font-weight: 700; }
.footer__grid a:hover { color: var(--brand-700); }
.hours { display: grid; gap: var(--s-3); }
.hours dt { font-weight: 700; }
.hours dd { color: var(--muted); }
.footer__bottom { background: var(--ink); color: rgba(255, 255, 255, .72); font-size: var(--fs-xs); }
.footer__bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-5); padding-block: var(--s-3); }
.footer__bottom p:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-5); }
.footer__bottom a { text-decoration: none; padding-block: var(--s-1); }
.footer__bottom a:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: var(--s-6); } }

/* ------------------------------------------------------------------ apparition au défilement (légère, une seule fois) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(3n+2) { transition-delay: 60ms; }
.js .cards .reveal:nth-child(3n) { transition-delay: 120ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__slide.is-active img { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Signature Forge16 (partial forge16-credit.php) : petit logo cliquable, couleur du texte */
.f16-credit { display: inline-flex; align-items: center; gap: .45em; color: inherit; text-decoration: none; opacity: .8; transition: opacity .15s; }
.f16-credit:hover, .f16-credit:focus-visible { opacity: 1; text-decoration: none; color: inherit; }
.f16-credit .f16-logo { display: block; width: auto; height: .72em; min-height: 9px; }
/* Champs du catalogue non utilisés par la v3 (sections ajoutées par l'agent) */
.card__badge { display: inline-block; margin-bottom: var(--s-2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-700); }
.urgent__items { margin-top: var(--s-3); padding-left: 1.2em; }
