/* ==========================================================================
   Cabinet BAUMES — Avocat en droit des affaires
   Direction artistique « registre ouvert » : page blanche, un seul bleu marine,
   Inter très grasse pour les titres, filets gris froids, rayons de 12 px.
   ========================================================================== */

/* 0. Police Inter hébergée avec le site (aucun appel à Google Fonts)
   Fichier variable : couvre toutes les graisses de 100 à 900 et les caractères français.
   ========================================================================== */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}

/* 1. Tokens
   ========================================================================== */
:root {
  /* Couleurs — le marine est la seule teinte saturée */
  --navy: #0c2764;
  --navy-hover: #091d4b;
  --ink: #0f172b;
  --slate-ink: #1d293d;
  --graphite: #314158;
  --muted: #45556c;
  --mist: #62748e;
  --border: #e2e8f0;
  --border-navy: #aab3c9; /* bleu marine adouci : cadres des vignettes */
  --silver: #c3c6cb;
  --white: #ffffff;
  --cloud: #f1f5f9;
  --cloud-soft: #f8fafc;

  /* Teintes d'état — réservées aux petits badges */
  --ok-bg: #ecfdf3;
  --ok-fg: #15803d;
  --wait-bg: #fef6e4;
  --wait-fg: #a16207;
  --no-fg: #b42318;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --shadow-md: rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.1) 0 4px 6px -4px;
  --ring: 0 0 0 3px rgba(12, 39, 100, 0.16);

  --maxw: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--ink);
  background: var(--white);
  font-feature-settings: "calt" 1, "rlig" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote {
  margin: 0;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

::selection {
  background: rgba(12, 39, 100, 0.14);
}

/* Un élément masqué (attribut hidden) reste masqué, quel que soit son style d'affichage */
[hidden] {
  display: none !important;
}

.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: 16px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

/* 3. Mise en page
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(72px, 10vw, 120px);
}

.section--mist {
  background: var(--cloud-soft);
  border-block: 1px solid var(--border);
}

/* 4. Typographie
   ========================================================================== */
.kicker {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mist);
}

.display {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}

.title {
  font-size: clamp(2.125rem, 4.4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--navy);
  text-wrap: balance;
}

.lead {
  font-size: clamp(1.0625rem, 1.4vw, 1.125rem);
  line-height: 1.63;
  color: var(--graphite);
}

.section-head {
  max-width: 760px;
  margin: 0 auto clamp(48px, 6vw, 64px);
  text-align: center;
}

.section-head .lead {
  margin-top: 20px;
}

.section-head--left {
  margin-inline: 0;
  text-align: left;
}

/* 5. Boutons, badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.025em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-hover);
}

.btn--outline {
  background: var(--white);
  border-color: var(--border);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--cloud-soft);
  border-color: var(--silver);
}

.btn--ghost {
  padding-inline: 12px;
  background: transparent;
  font-weight: 500;
  color: var(--ink);
}

.btn--ghost:hover {
  color: var(--navy);
}

.btn--lg {
  padding: 13px 22px;
}

.btn--sm {
  gap: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.43;
}

.btn--sm svg {
  width: 14px;
  height: 14px;
}

.btn--block {
  width: 100%;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pill--ok {
  background: var(--ok-bg);
  color: var(--ok-fg);
}

.pill--wait {
  background: var(--wait-bg);
  color: var(--wait-fg);
}

.pill--neutral {
  background: var(--cloud);
  color: var(--graphite);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius);
  background: var(--cloud);
  font-size: 13px;
  font-weight: 500;
  color: var(--graphite);
  white-space: nowrap;
}

/* 6. En-tête
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 17px;
  font-weight: 800;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__links a {
  position: relative;
  display: block;
  padding-block: 8px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color 0.15s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--navy);
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn__short {
  display: none;
}

/* Tablette et mobile : le bandeau passe sur deux lignes et les liens
   restent toujours visibles (défilement horizontal si l'écran est étroit) */
@media (max-width: 1023px) {
  :root {
    --header-h: 113px;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0 16px;
    height: auto;
  }

  .brand,
  .nav__actions {
    grid-row: 1;
    height: 64px;
  }

  .nav__actions {
    grid-column: 2;
  }

  .nav__actions .btn--ghost {
    display: none;
  }

  .nav__menu {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-inline: calc(var(--gutter) * -1);
    border-top: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav__menu::-webkit-scrollbar {
    display: none;
  }

  .nav__links {
    gap: 24px;
    width: max-content;
    padding-inline: var(--gutter);
  }

  .nav__links a {
    display: flex;
    align-items: center;
    height: 48px;
    padding-block: 0;
    font-size: 15px;
    white-space: nowrap;
  }
}

@media (max-width: 479px) {
  .btn__long {
    display: none;
  }

  .btn__short {
    display: inline;
  }
}

@media (max-width: 339px) {
  .nav__actions {
    display: none;
  }
}

/* 7. Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px) 0;
  text-align: center;
}

.hero__lead {
  max-width: 640px;
  margin: 24px auto 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--mist);
}

.hero__meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__meta svg {
  width: 16px;
  height: 16px;
}

/* Illustration aquarelle sous l'accroche (le bas de l'image est transparent) */
.hero__art {
  width: min(560px, 100%);
  margin: clamp(24px, 4vw, 40px) auto -40px;
  pointer-events: none;
  user-select: none;
}

/* 8. Cartes
   ========================================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.card--raised {
  box-shadow: var(--shadow-md);
}

/* 10. Apparition au défilement
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 11. Icônes CSS (masques) — traits fins, jamais pleins
   ========================================================================== */
:root {
  --icon-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362748e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.checklist {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
  font-size: 15px;
  color: var(--graphite);
}

.checklist li {
  position: relative;
  padding-left: 26px;
}

.checklist li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 16px;
  height: 16px;
  background-color: var(--mist);
  -webkit-mask: var(--icon-check) center / contain no-repeat;
  mask: var(--icon-check) center / contain no-repeat;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: color 0.15s ease;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.15s ease;
}

.link-arrow:hover {
  color: var(--navy);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* 12. Expertises
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 959px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.service {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-color: var(--border-navy);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.service .icon-tile {
  border-color: var(--border-navy);
  color: var(--navy);
}

/* Dès deux colonnes, chaque ligne d'une vignette (intitulé, texte, liste, lien)
   s'aligne exactement sur celle des vignettes voisines */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .grid-3 .service {
      display: grid;
      grid-row: span 4;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
  }
}

/* Au survol (souris uniquement) : le cadre passe en bleu marine plein */
@media (hover: hover) {
  .service:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }

  .price:hover {
    border-color: var(--navy);
  }
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.icon-tile svg {
  width: 22px;
  height: 22px;
}

/* Logo et intitulé sur la même ligne */
.service__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.service__head .icon-tile {
  flex: none;
}

.service__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.service__text {
  margin-top: 16px;
  color: var(--muted);
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Les puces restent groupées en haut, même si la vignette voisine a une liste plus longue */
.service .checklist {
  align-content: start;
}

.service__note {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mist);
}

/* Appel de note (astérisque) réduit, légèrement surélevé, sans modifier la hauteur de ligne */
.note-ref {
  margin-left: 1px;
  font-size: 0.7em;
  line-height: 0;
  vertical-align: 0.3em;
}

.service .link-arrow {
  justify-self: start;
  margin-top: auto;
  padding-top: 24px;
}

/* 13. Méthode
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.split__aside {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.split__aside .lead {
  margin-top: 20px;
}

.split__aside .btn {
  margin-top: 32px;
}

@media (max-width: 899px) {
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .split__aside {
    position: static;
  }
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 8px 24px;
  padding-block: 32px;
  border-top: 1px solid var(--border);
}

.step:last-child {
  border-bottom: 1px solid var(--border);
}

.step__num {
  padding-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--mist);
}

.step__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.step__text {
  max-width: 52ch;
  margin-top: 6px;
  color: var(--muted);
}

.step .tag {
  align-self: start;
  margin-top: 2px;
}

@media (max-width: 559px) {
  .step {
    grid-template-columns: 36px minmax(0, 1fr);
    padding-block: 24px;
  }

  .step .tag {
    grid-column: 2;
    justify-self: start;
  }
}

/* 14. Honoraires
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 960px;
  margin-inline: auto;
}

@media (max-width: 639px) {
  .pricing-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Écrans larges : les 4 vignettes sur une seule ligne */
@media (min-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    max-width: none;
  }

  .pricing-grid .price {
    padding: 32px 24px 28px;
  }

  .pricing-grid .price__sub {
    font-size: 16px;
  }

  .pricing-grid .price__text {
    font-size: 15px;
  }

  .pricing-grid .checklist {
    font-size: 14px;
  }
}

.price {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-color: var(--border-navy);
  transition: border-color 0.2s ease;
}

/* Pastille (IDÉAL PME, PROCÉDURES COLLECTIVES) posée sur le bord supérieur de la carte,
   pour laisser toute la largeur à l'intitulé même quand les colonnes sont étroites */
.price__top .pill {
  position: absolute;
  top: 0;
  left: 50%;
  border: 1px solid var(--border-navy);
  transform: translate(-50%, -50%);
}

/* Sur deux colonnes, chaque ligne d'une carte (titre, sous-titre, prix, texte,
   liste, bouton) s'aligne exactement sur celle de la carte voisine */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .pricing-grid .price {
      display: grid;
      grid-row: span 7;
      grid-template-rows: subgrid;
      row-gap: 0;
    }
  }
}

.price--featured {
  box-shadow: var(--shadow-md);
}

.price__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  min-height: 22px;
  font-size: 14px;
  font-weight: 500;
}

.price__label {
  color: var(--muted);
}

.price__sub {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.price__from {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mist);
}

.price__value {
  margin-top: 2px;
  font-size: clamp(2.25rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.price__value small {
  margin-left: 4px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--mist);
}

.price__text {
  margin-top: 12px;
  color: var(--muted);
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Les puces restent groupées en haut, même si la carte voisine a une liste plus haute */
.price .checklist {
  align-content: start;
}

.price__cta {
  margin-top: auto;
  padding-top: 32px;
}

.pricing-note {
  max-width: 760px;
  margin: 40px auto 0;
  font-size: 14px;
  text-align: center;
  color: var(--mist);
}

/* 15. Le cabinet
   ========================================================================== */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

@media (max-width: 899px) {
  .about {
    grid-template-columns: minmax(0, 1fr);
  }
}

.profile {
  padding: 32px;
}

.profile__id {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.profile__avatar {
  display: grid;
  flex: none;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.profile__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.profile__role {
  font-size: 14px;
  color: var(--muted);
}

.profile__list {
  margin: 0;
}

.profile__list > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-bottom: 1px solid var(--border);
}

.profile__list > div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.profile__list dt {
  font-size: 14px;
  font-weight: 500;
  color: var(--mist);
}

.profile__list dd {
  font-size: 15px;
  font-weight: 500;
}

.prose .lead {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.prose .lead + .lead {
  margin-top: 16px;
}

.prose .title {
  margin-bottom: 24px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.value__title {
  margin-top: 16px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.value__text {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}

@media (max-width: 639px) {
  .values {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 16. FAQ
   ========================================================================== */
.faq {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  list-style: none;
  cursor: pointer;
  transition: color 0.15s ease;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  background-color: var(--mist);
  -webkit-mask: var(--icon-plus) center / contain no-repeat;
  mask: var(--icon-plus) center / contain no-repeat;
  transition: transform 0.2s ease;
}

.faq summary:hover {
  color: var(--navy);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 48px 24px 0;
  line-height: 1.63;
  color: var(--muted);
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* 17. Contact
   ========================================================================== */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  align-items: start;
  max-width: 1080px;
  margin-inline: auto;
}

@media (max-width: 899px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}

.form {
  padding: 32px;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
}

.field .optional {
  font-weight: 400;
  color: var(--mist);
}

.input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input::placeholder {
  color: var(--silver);
}

.input:hover {
  border-color: var(--silver);
}

.input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: var(--ring);
}

.input[aria-invalid="true"] {
  border-color: var(--no-fg);
}

textarea.input {
  min-height: 140px;
  resize: vertical;
}

select.input {
  padding-right: 42px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--white) var(--icon-chevron) no-repeat right 14px center / 16px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--muted);
}

.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.form__secure {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--mist);
}

.form__secure svg {
  width: 16px;
  height: 16px;
}

/* Champ piège anti-robots, hors de l'écran */
.form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 15px;
}

.form__status--ok {
  background: var(--ok-bg);
  color: #14532d;
}

.form__status--error {
  background: #fef3f2;
  color: var(--no-fg);
}

@media (max-width: 559px) {
  .form {
    padding: 24px;
  }

  .form__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form__foot .btn {
    width: 100%;
  }
}

.coords {
  padding: 32px;
}

.coords__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.coords__item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
}

.coords__item:first-child {
  padding-top: 0;
}

.coords__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.coords__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--mist);
}

.coords__value {
  display: block;
  margin-top: 2px;
  font-weight: 600;
  letter-spacing: -0.025em;
}

a.coords__value:hover {
  color: var(--navy);
}

.coords__hint {
  margin-top: 2px;
  font-size: 14px;
  color: var(--muted);
}

/* Prise de rendez-vous en ligne (Cal.com) */
.booking {
  max-width: 1080px;
  margin: 0 auto 24px;
  padding: 32px;
}

.booking__head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.booking__head .icon-tile {
  flex: none;
}

.booking__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.booking__text {
  margin-top: 4px;
  color: var(--muted);
}

/* Choix du type de rendez-vous */
.booking__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.booking__option {
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  border: 1px solid var(--border-navy);
  border-radius: var(--radius);
  background: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.booking__option:hover {
  border-color: var(--navy);
}

.booking__option.is-active {
  border-color: var(--navy);
  background: var(--cloud-soft);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.booking__option-title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.booking__option.is-active .booking__option-title {
  color: var(--navy);
}

.booking__option-meta {
  font-size: 14px;
  color: var(--mist);
}

@media (max-width: 559px) {
  .booking__options {
    grid-template-columns: minmax(0, 1fr);
  }
}

.booking__consent {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px dashed var(--border-navy);
  border-radius: var(--radius);
  background: var(--cloud-soft);
}

.booking__consent p {
  flex: 1 1 320px;
  font-size: 14px;
  color: var(--muted);
}

.booking__consent a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(12, 39, 100, 0.3);
  text-underline-offset: 3px;
}

.booking__embed {
  min-height: 600px;
  margin-top: 24px;
}

.booking__notice {
  padding: 20px 24px;
  border-radius: var(--radius);
  background: var(--wait-bg);
  color: var(--wait-fg);
}

@media (max-width: 559px) {
  .booking {
    padding: 24px 20px;
  }

  .booking__consent .btn {
    width: 100%;
  }

  .booking__embed {
    min-height: 480px;
  }
}

/* 18. Pied de page
   ========================================================================== */
.site-footer {
  padding-block: 72px 32px;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.footer__about {
  max-width: 340px;
  margin-top: 16px;
  font-size: 15px;
  color: var(--muted);
}

.footer__title {
  font-size: 14px;
  font-weight: 600;
}

.footer__links {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--muted);
}

.footer__links a:hover {
  color: var(--navy);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--mist);
}

@media (max-width: 859px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 479px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 19. Page « Mentions légales »
   ========================================================================== */
.legal {
  max-width: 760px;
  margin-inline: auto;
}

.legal__updated {
  margin-top: 16px;
  font-size: 14px;
  color: var(--mist);
}

.legal section {
  padding-block: 32px;
  border-top: 1px solid var(--border);
}

.legal section:first-of-type {
  margin-top: 48px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.legal p,
.legal li {
  line-height: 1.63;
  color: var(--muted);
}

.legal h2 + *,
.legal p + p {
  margin-top: 12px;
}

.legal ul {
  padding-left: 20px;
}

.legal dl {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 10px 24px;
}

.legal dt {
  font-size: 14px;
  font-weight: 500;
  color: var(--mist);
}

.legal a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(12, 39, 100, 0.3);
  text-underline-offset: 3px;
}

@media (max-width: 639px) {
  .legal dl {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .legal dd {
    margin-bottom: 12px;
  }
}

/* 20. Icônes du sprite & ajustements
   ========================================================================== */
.i {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.consent a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(12, 39, 100, 0.3);
  text-underline-offset: 3px;
}

.field .consent {
  font-weight: 400;
  color: var(--muted);
}

/* L'illustration déborde volontairement : on la rogne au bord de l'écran */
.hero {
  overflow-x: clip;
}

.consent input[aria-invalid="true"] {
  outline: 2px solid var(--no-fg);
  outline-offset: 2px;
}

select.input:invalid {
  color: var(--mist);
}

select.input option {
  color: var(--ink);
}

.section-head {
  max-width: 860px;
}

.section-head .lead {
  max-width: 680px;
  margin-inline: auto;
}

.section-head--left .lead {
  margin-inline: 0;
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .nav__actions .btn--ghost {
    display: none;
  }
}
