/* =========================================================
   Kasper Clean — feuille de style principale
   Mobile-first. Palette extraite du logo.
   ========================================================= */

/* --- Polices locales --------------------------------------------------
   Le site utilise par defaut la pile systeme : aucune requete reseau,
   aucun decalage de mise en page, meilleur score Lighthouse.

   Pour activer Plus Jakarta Sans, deposez le fichier variable dans
   public/assets/fonts/ puis decommentez le bloc ci-dessous (voir README).

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-Variable.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
------------------------------------------------------------------------ */

/* --- Jetons ----------------------------------------------------------- */
:root {
  --navy: #061d63;
  --navy-700: #0a2a86;
  --blue: #0096d9;
  --blue-600: #007cb4;
  --blue-100: #bfe8fa;
  --white: #fff;
  --grey-50: #f5f8fc;
  --grey-100: #eaf1f8;
  --grey-200: #dfe7f1;
  --ink: #14203a;
  --ink-muted: #4d5b73;
  --accent-green: #17a34a;
  --accent-red: #d92c34;

  --font: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-xs: 0 1px 2px rgb(6 29 99 / 6%);
  --shadow-sm: 0 2px 10px rgb(6 29 99 / 6%);
  --shadow-md: 0 10px 30px rgb(6 29 99 / 9%);
  --shadow-lg: 0 24px 60px rgb(6 29 99 / 14%);

  --gutter: 1.25rem;
  --max: 76rem;
  --section-y: clamp(3.25rem, 7vw, 6rem);
  --header-h: 4.5rem;
}

/* --- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 .6em; line-height: 1.18; color: var(--navy); font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.12rem, 1.9vw, 1.3rem); }
h4 { font-size: 1rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--navy); }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 999;
  background: var(--navy); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 10px 10px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 0; color: #fff; }

/* --- Mise en page ----------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 50rem; }

.section { padding-block: var(--section-y); }
.section--tint { background: var(--grey-50); }
.section--navy { background: var(--navy); color: #dce6f6; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--light .eyebrow { color: var(--blue-100); }
.section__title { margin-bottom: .5rem; }
.section__text { color: var(--ink-muted); font-size: 1.06rem; }
.section--navy .section__text { color: #b9c8e4; }
.section__cta { margin-top: 2.25rem; }
.muted { color: var(--ink-muted); }

.eyebrow {
  margin: 0 0 .7rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: .35rem; }
.todo-note {
  background: #fff7e6; border-left: 4px solid #e8a33d;
  padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; color: #6b4c14;
}

/* --- Boutons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .8rem 1.6rem;
  font: 600 1rem/1.2 var(--font); text-align: center; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgb(0 150 217 / 28%); }
.btn--primary:hover { background: var(--blue-600); color: #fff; box-shadow: 0 10px 24px rgb(0 150 217 / 34%); }

.btn--accent { background: #fff; color: var(--navy); }
.btn--accent:hover { background: var(--blue-100); color: var(--navy); }

.btn--outline { background: transparent; color: var(--navy); border-color: var(--grey-200); }
.btn--outline:hover { background: var(--white); border-color: var(--blue); color: var(--navy); }

.btn--ghost { background: transparent; color: var(--navy); border-color: rgb(6 29 99 / 18%); }
.btn--ghost:hover { background: var(--grey-50); color: var(--navy); }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgb(255 255 255 / 45%); }
.btn--ghost-light:hover { background: rgb(255 255 255 / 12%); color: #fff; }

.btn--sm { min-height: 2.6rem; padding: .55rem 1.1rem; font-size: .93rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; text-decoration: none; color: var(--blue-600);
}
.link-arrow::after { content: '→'; transition: transform .18s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* --- En-tete ---------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-200);
  transition: box-shadow .2s ease;
}
.site-header[data-scrolled='true'] { box-shadow: var(--shadow-sm); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 2.6rem; width: auto; }

.site-nav {
  position: fixed; inset: var(--header-h) 0 auto;
  display: none; flex-direction: column;
  background: #fff; border-bottom: 1px solid var(--grey-200);
  padding: 1rem var(--gutter) 1.6rem;
  box-shadow: var(--shadow-md);
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}
.site-nav[data-open='true'] { display: flex; }

.site-nav__list { list-style: none; margin: 0 0 1rem; padding: 0; }
.site-nav__list a {
  display: block; padding: .8rem .25rem; font-weight: 600;
  color: var(--navy); text-decoration: none;
  border-bottom: 1px solid var(--grey-100);
}
.site-nav__list a:hover { color: var(--blue-600); }
.site-nav__list a[aria-current='page'] { color: var(--blue-600); }

.site-nav__actions { display: flex; flex-direction: column; gap: .8rem; }

.link-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap;
}
.link-phone:hover { color: var(--blue-600); }

.burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; padding: 0;
  background: transparent; border: 1px solid var(--grey-200);
  border-radius: 12px; cursor: pointer;
}
.burger__bars, .burger__bars::before, .burger__bars::after {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform .22s ease, opacity .18s ease;
}
.burger__bars { position: relative; }
.burger__bars::before { position: absolute; top: -6px; }
.burger__bars::after  { position: absolute; top: 6px; }
.burger[aria-expanded='true'] .burger__bars { background: transparent; }
.burger[aria-expanded='true'] .burger__bars::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] .burger__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* --- Fil d'Ariane ----------------------------------------------------- */
.breadcrumb { background: var(--grey-50); border-bottom: 1px solid var(--grey-100); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  list-style: none; margin: 0; padding: .85rem 0; font-size: .88rem;
}
.breadcrumb li + li::before { content: '/'; margin-right: .4rem; color: #9fb0c9; }
.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-600); text-decoration: underline; }
.breadcrumb [aria-current='page'] { color: var(--navy); font-weight: 600; }

/* --- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
  background:
    radial-gradient(1100px 520px at 88% -12%, #e6f5fd 0%, rgb(230 245 253 / 0%) 62%),
    linear-gradient(180deg, var(--grey-50) 0%, #fff 78%);
}
.hero__inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.hero__title { margin-bottom: .55rem; }
.hero__text { font-size: 1.08rem; color: var(--ink-muted); max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

.hero__points { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: .6rem; }
.hero__points li {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 500; color: var(--ink-muted); font-size: .97rem;
}
.hero__points .icon { color: var(--accent-green); flex-shrink: 0; width: 20px; height: 20px; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); object-fit: cover;
}
.hero__badge {
  position: absolute; left: 1rem; bottom: -1.1rem;
  background: #fff; border-radius: var(--radius);
  padding: .85rem 1.15rem; box-shadow: var(--shadow-md);
  border: 1px solid var(--grey-100);
}
.hero__badge strong { display: block; color: var(--navy); font-size: 1.05rem; line-height: 1.2; }
.hero__badge span { font-size: .82rem; color: var(--ink-muted); }

/* --- Hero des pages internes ----------------------------------------- */
.page-hero {
  padding-block: clamp(2.5rem, 5.5vw, 4.25rem) clamp(2rem, 4.5vw, 3rem);
  background: linear-gradient(180deg, var(--grey-50), #fff);
}
.page-hero--compact { padding-bottom: clamp(1.25rem, 3vw, 2rem); }
.page-hero__text { font-size: 1.06rem; color: var(--ink-muted); }

/* --- Grilles et cartes ------------------------------------------------ */
.grid { display: grid; gap: 1.25rem; }

.card {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 1.5rem;
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card__title { font-size: 1.14rem; margin-bottom: .45rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card__text { color: var(--ink-muted); font-size: .97rem; margin: 0; }
.card__more { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--blue-600); font-size: .93rem; }
.service-card { position: relative; }

.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; margin-bottom: 1rem;
  border-radius: 12px; background: #e7f5fd; color: var(--blue-600);
}
.section--navy .card__icon { background: rgb(191 232 250 / 14%); color: var(--blue-100); }

.feature { padding: 0; }
.feature h3 { margin-bottom: .4rem; }
.feature p { color: var(--ink-muted); font-size: .97rem; }
.section--navy .feature p { color: #b9c8e4; }

.split { display: grid; gap: 1.25rem; }
.split__card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-sm);
}
.split__card p { color: var(--ink-muted); }

/* --- Etapes ----------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: step; }
.steps__item {
  position: relative; padding: 1.75rem 1.5rem 1.5rem;
  background: rgb(255 255 255 / 6%); border: 1px solid rgb(191 232 250 / 20%);
  border-radius: var(--radius);
}
.steps__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; margin-bottom: .9rem;
  border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700;
}
.steps__item p { color: #b9c8e4; margin: 0; font-size: .97rem; }

/* --- Bandeau a propos ------------------------------------------------- */
.about-band { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
.about-band__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.about-band__content p { color: var(--ink-muted); }
.quote {
  border-left: 4px solid var(--blue); padding-left: 1rem;
  font-size: 1.1rem; font-weight: 600; color: var(--navy); font-style: italic;
}

/* --- Puces / zones ---------------------------------------------------- */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem .95rem; background: #fff; border: 1px solid var(--grey-200);
  border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--navy);
}
.chip .icon { width: 18px; height: 18px; color: var(--blue-600); }
.chips--sm .chip { font-size: .85rem; padding: .35rem .75rem; background: var(--grey-50); }

/* --- Listes a puces cochees ------------------------------------------ */
.list-check { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.list-check li { position: relative; padding-left: 1.75rem; color: var(--ink-muted); font-size: .97rem; }
.list-check li::before {
  content: ''; position: absolute; left: 0; top: .42em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: #e7f5fd
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007cb4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E")
    center / .7rem no-repeat;
}
.list-check--lg li { font-size: 1.02rem; color: var(--ink); }

/* --- Sommaire des services ------------------------------------------- */
.services-toc { background: var(--navy); }
.services-toc ul {
  list-style: none; margin: 0; padding: 1rem 0;
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: thin;
}
.services-toc a {
  display: inline-block; white-space: nowrap;
  padding: .45rem .9rem; border-radius: 999px;
  background: rgb(255 255 255 / 10%); color: #dce6f6;
  font-size: .88rem; font-weight: 500; text-decoration: none;
}
.services-toc a:hover { background: var(--blue); color: #fff; }

/* --- Fiche service detaillee ----------------------------------------- */
.service-detail-list { display: grid; gap: 1.25rem; }
.service-detail {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-xs); scroll-margin-top: calc(var(--header-h) + 5rem);
}
.service-detail__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.4rem; }
.service-detail__head h3 { margin-bottom: .3rem; }
.service-detail__summary { color: var(--ink-muted); margin: 0; font-size: .99rem; }
.service-detail__body { display: grid; gap: 1.5rem; }
.service-detail__body h4 {
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-600);
  margin-bottom: .7rem;
}
.service-detail__foot { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--grey-100); }

/* --- FAQ -------------------------------------------------------------- */
.faq { display: grid; gap: .7rem; }
.faq__item {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius); overflow: hidden;
}
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq__question {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--navy); font-size: 1.02rem;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after {
  content: '+'; flex-shrink: 0; font-size: 1.5rem; line-height: 1;
  color: var(--blue-600); transition: transform .2s ease;
}
.faq__item[open] .faq__question::after { content: '−'; }
.faq__question:hover { background: var(--grey-50); }
.faq__answer { padding: 0 1.25rem 1.25rem; color: var(--ink-muted); }

.callout {
  margin-top: 2rem; padding: 1.25rem 1.4rem;
  background: var(--grey-50); border: 1px solid var(--grey-200);
  border-radius: var(--radius);
}
.callout p { margin: 0; }

/* --- Bandeau CTA ------------------------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-700) 58%, #0b3ba8 100%);
  color: #dce6f6; padding-block: clamp(2.75rem, 6vw, 4.25rem);
}
.cta-band__inner { display: grid; gap: 1.75rem; align-items: center; }
.cta-band__title { color: #fff; margin-bottom: .5rem; font-size: clamp(1.45rem, 3vw, 2.1rem); }
.cta-band__text { color: #b9c8e4; margin: 0; max-width: 40rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* --- Etat vide / 404 -------------------------------------------------- */
.empty-state {
  text-align: center; padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--grey-50); border: 1px dashed var(--grey-200);
  border-radius: var(--radius-lg);
}
.empty-state__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem; margin-bottom: 1rem;
  border-radius: 50%; background: #e7f5fd; color: var(--blue-600);
}
.empty-state p { color: var(--ink-muted); max-width: 38rem; margin-inline: auto; }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.75rem; }

.error-page { text-align: center; }
.error-code {
  font-size: clamp(4.5rem, 16vw, 8rem); font-weight: 800; line-height: 1;
  color: var(--blue-100); margin: 0 0 .5rem;
}
.error-links {
  list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: center; padding: 0; margin: 2.5rem 0 0;
}

/* --- Formulaires ------------------------------------------------------ */
.form-layout { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: start; }

.form__section {
  border: 1px solid var(--grey-200); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.85rem); margin: 0 0 1.25rem;
  background: #fff;
}
.form__section legend {
  padding: 0 .6rem; font-weight: 700; color: var(--navy); font-size: 1.05rem;
}
.form__note { margin: .9rem 0 0; font-size: .85rem; color: var(--ink-muted); }

.field { margin-bottom: 1.15rem; }
.field:last-child { margin-bottom: 0; }
.field-row { display: grid; gap: 1.15rem; }

.field__label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .95rem; color: var(--navy); }
.req { color: var(--accent-red); }
.opt { font-weight: 400; color: var(--ink-muted); font-size: .85rem; }
.field__hint { margin: .4rem 0 0; font-size: .84rem; color: var(--ink-muted); }
.field__error {
  margin: .4rem 0 0; font-size: .87rem; font-weight: 600; color: var(--accent-red);
  display: flex; gap: .35rem;
}
.field__error::before { content: '⚠'; }

input[type='text'], input[type='email'], input[type='tel'], input[type='date'],
input[type='file'], select, textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem;
  font: 400 1rem/1.5 var(--font); color: var(--ink);
  background: #fff; border: 1.5px solid var(--grey-200); border-radius: 11px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
textarea { min-height: 8rem; resize: vertical; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234d5b73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center; background-size: 1.15rem;
  padding-right: 2.6rem;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue); box-shadow: 0 0 0 4px rgb(0 150 217 / 14%); outline: none;
}
input[aria-invalid='true'], select[aria-invalid='true'], textarea[aria-invalid='true'] {
  border-color: var(--accent-red); background: #fff8f8;
}
input[type='file'] { padding: .6rem; background: var(--grey-50); }

.radio-row { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.radio-card {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1rem; cursor: pointer;
  border: 1.5px solid var(--grey-200); border-radius: 11px;
  font-weight: 600; color: var(--navy); background: #fff;
  transition: border-color .16s ease, background-color .16s ease;
}
.radio-card:hover { border-color: var(--blue-100); }
.radio-card input { accent-color: var(--blue); width: 1.1rem; height: 1.1rem; }
.radio-card:has(input:checked) { border-color: var(--blue); background: #f2fafe; }
.radio-card:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; font-size: .95rem; }
.check input { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--blue); }
.field--check { padding: 1rem; background: var(--grey-50); border-radius: 11px; }

/* Honeypot : hors ecran, jamais affiche, ignore par les lecteurs d'ecran. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem;
  font-weight: 500; border: 1px solid transparent;
}
.alert--success { background: #eafaf0; border-color: #b8e8c9; color: #12633a; }
.alert--error   { background: #fdeeee; border-color: #f6c6c6; color: #92202a; }

.form-aside { display: grid; gap: 1rem; }
.aside-card {
  background: #fff; border: 1px solid var(--grey-200);
  border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-xs);
}
.aside-card--soft { background: var(--grey-50); box-shadow: none; }
.aside-card h2 { font-size: 1.1rem; margin-bottom: .9rem; }
.aside-card h3 { font-size: .95rem; margin: 1.25rem 0 .5rem; }
.aside-card p { font-size: .95rem; color: var(--ink-muted); }

.contact-list { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: .85rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .96rem; }
.contact-list .icon { color: var(--blue-600); flex-shrink: 0; margin-top: .15rem; }
.contact-list a { font-weight: 600; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.mini-steps { margin: 0; padding-left: 1.15rem; color: var(--ink-muted); font-size: .95rem; }
.mini-steps li { margin-bottom: .5rem; }

.hours { list-style: none; margin: 0; padding: 0; font-size: .93rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid var(--grey-100); }

.address-card {
  font-style: normal; background: var(--grey-50); border: 1px solid var(--grey-200);
  border-radius: var(--radius); padding: 1.25rem 1.4rem; line-height: 1.8;
}

/* --- Pied de page ----------------------------------------------------- */
.site-footer { background: var(--navy); color: #b9c8e4; padding-block: clamp(2.75rem, 6vw, 4rem) 1.75rem; }
.footer-grid { display: grid; gap: 2.25rem; }
.footer-col--brand img { height: 2.75rem; width: auto; margin-bottom: 1rem; }
.footer-tagline { color: var(--blue-100); font-weight: 600; font-style: italic; margin-bottom: .6rem; }
.footer-note { font-size: .88rem; color: #93a6c8; }
.footer-title { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .5rem; }
.footer-list a { color: #b9c8e4; text-decoration: none; font-size: .94rem; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-address { font-style: normal; margin-bottom: 1rem; line-height: 1.75; font-size: .94rem; }
.footer-address strong { color: #fff; }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  justify-content: space-between; align-items: center;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 12%);
  font-size: .86rem;
}
.footer-bottom p { margin: 0; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.footer-legal a { color: #b9c8e4; text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* --- Animations d'apparition ----------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Points de rupture
   ========================================================= */

@media (min-width: 40em) {           /* 640px */
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: repeat(2, 1fr); }
  .service-detail__body { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 62em) {           /* 992px */
  :root { --gutter: 2rem; }

  .burger { display: none; }

  .site-nav {
    position: static; display: flex; flex-direction: row; align-items: center;
    gap: 1.5rem; padding: 0; background: none; border: 0; box-shadow: none;
    max-height: none; overflow: visible;
  }
  .site-nav__list { display: flex; gap: .35rem; margin: 0; }
  .site-nav__list a {
    padding: .45rem .7rem; border: 0; border-radius: 8px; font-size: .95rem;
  }
  .site-nav__list a:hover { background: var(--grey-50); }
  .site-nav__list a[aria-current='page'] { background: #e7f5fd; }
  .site-nav__actions { flex-direction: row; align-items: center; gap: 1rem; }

  .hero__inner { grid-template-columns: 1.05fr .95fr; }
  .hero__points { grid-template-columns: repeat(2, 1fr); }
  .hero__badge { left: -1.5rem; bottom: 2rem; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }

  .about-band { grid-template-columns: .9fr 1.1fr; }
  .cta-band__inner { grid-template-columns: 1.4fr auto; }
  .cta-band__actions { justify-content: flex-end; }

  .form-layout { grid-template-columns: minmax(0, 1.7fr) minmax(0, .9fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 90em) {           /* 1440px */
  :root { --max: 80rem; }
}

/* --- Preferences utilisateur ----------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .breadcrumb, .services-toc, .form-aside { display: none; }
  body { color: #000; }
  a::after { content: ' (' attr(href) ')'; font-size: .85em; }
}
