/* ==========================================================================
   À chacun sa couleur — design system (site public)
   Palette douce et naturelle, formes arrondies, beaucoup d'air.
   ========================================================================== */

:root {
  /* Fonds et encres */
  --cream: #fbf8f3;
  --paper: #fffefc;
  --sand: #f2ece3;
  --beige: #e9e0d3;
  --ink: #2f2a25;
  --ink-soft: #5b544c;
  --ink-mute: #857c72;
  --line: #e6ded2;

  /* Couleurs de la palette (teinte / version douce / version foncée accessible) */
  --sauge: #86a7b8;
  --sauge-soft: #e4edf2;
  --sauge-deep: #3d6478;
  --eucalyptus: #83a493;
  --eucalyptus-soft: #e3ede7;
  --eucalyptus-deep: #3f6a55;
  --terracotta: #d4906f;
  --terracotta-soft: #f7e6dc;
  --terracotta-deep: #b0603c;
  --ocre: #e6c97c;
  --ocre-soft: #f9f1da;
  --ocre-deep: #8a6a1e;
  --rose: #e9b7bb;
  --rose-soft: #f9e9ea;
  --rose-deep: #a8555c;

  /* Rôles */
  --primary: var(--terracotta-deep);
  --primary-hover: #984f2f;
  --link: var(--sauge-deep);
  --focus: #2f6f95;

  /* Typographie */
  --font-title: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --lh: 1.65;

  /* Rythme */
  --radius: 22px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(47, 42, 37, 0.05);
  --shadow-sm: 0 6px 18px -8px rgba(47, 42, 37, 0.14);
  --shadow-md: 0 18px 40px -20px rgba(47, 42, 37, 0.22);
  --container: 1160px;
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.6rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 1.1em;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--ink);
}

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

ul,
ol {
  padding-left: 1.3em;
}

strong {
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

.visually-hidden {
  position: absolute !important;
  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;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   Mise en page
   -------------------------------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2.5rem, 780px);
}

.container--text {
  width: min(100% - 2.5rem, 720px);
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: calc(var(--section) * 0.6);
}

.section--paper {
  background: var(--paper);
}

.section--sand {
  background: var(--sand);
}

.section--sauge {
  background: var(--sauge-soft);
}

.section--eucalyptus {
  background: var(--eucalyptus-soft);
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 0.9rem;
}

.kicker--sauge {
  color: var(--sauge-deep);
}

.kicker--eucalyptus {
  color: var(--eucalyptus-deep);
}

.lead {
  font-size: var(--fs-lg);
  color: var(--ink-soft);
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .split--reverse > :first-child {
    order: 2;
  }
}

.stack > * + * {
  margin-top: 1rem;
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Élément graphique : traits de couleur sur un fil
   -------------------------------------------------------------------------- */
.color-wire {
  display: block;
  width: min(100%, 320px);
  margin: 0 auto;
}

.color-wire--left {
  margin-inline: 0;
}

.color-wire--divider {
  width: min(100%, 200px);
  margin-block: 0 2rem;
}

.blob {
  transform-origin: center bottom;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px -10px rgba(176, 96, 60, 0.6);
}

.btn--primary:hover {
  background: var(--primary-hover);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--beige);
}

.btn--secondary:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
  background: var(--paper);
}

.btn--ghost {
  background: var(--paper);
  color: var(--sauge-deep);
  border-color: var(--sauge-soft);
}

.btn--ghost:hover {
  border-color: var(--sauge);
  color: var(--sauge-deep);
}

.btn--sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.92rem;
}

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

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.2s var(--ease);
}

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

/* --------------------------------------------------------------------------
   En-tête et navigation
   -------------------------------------------------------------------------- */
.announce {
  background: var(--ocre-soft);
  color: var(--ocre-deep);
  font-size: var(--fs-sm);
  text-align: center;
  padding: 0.5rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-xs);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand__mark {
  width: 46px;
  flex-shrink: 0;
}

.brand__name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  line-height: 1.1;
}

.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 0.15rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: inline-block;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-pill);
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.2s, color 0.2s;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  background: var(--sand);
  color: var(--ink);
}

.nav__cta {
  margin-left: 0.6rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--beige);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.9rem;
  font: inherit;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle__bars {
  display: inline-block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

@media (min-width: 1100px) and (max-width: 1320px) {
  .nav__link {
    padding: 0.5rem 0.55rem;
    font-size: 0.88rem;
  }

  .brand__sub {
    display: none;
  }
}

@media (max-width: 560px) {
  .brand__name {
    font-size: 1.05rem;
  }

  .brand__sub {
    display: none;
  }

  .brand__mark {
    width: 38px;
  }
}

@media (max-width: 1099px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.25rem 1.25rem;
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__link {
    display: block;
    padding: 0.8rem 0.9rem;
    font-size: 1.05rem;
  }

  .nav__cta {
    margin: 0.75rem 0 0;
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) var(--section);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero__bg span {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.hero__bg .b1 { width: 380px; height: 380px; background: var(--sauge-soft); top: -120px; right: -80px; }
.hero__bg .b2 { width: 300px; height: 300px; background: var(--rose-soft); bottom: -100px; left: -60px; }
.hero__bg .b3 { width: 260px; height: 260px; background: var(--ocre-soft); top: 40%; left: 45%; }

.hero .split {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 0.4em;
}

.hero__title em {
  font-style: italic;
  color: var(--terracotta-deep);
}

.hero__subtitle {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}

.hero__text {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: var(--fs-lg);
}

.hero__actions {
  margin-top: 1.8rem;
}

.hero__figure {
  margin: 0;
  position: relative;
}

.hero__figure img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.hero__figure figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 254, 252, 0.94);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-sm);
}

.hero__figure figcaption strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 500;
}

/* Bandeau d'identité (qui / où / comment) */
.identity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}

.identity__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.identity__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot--sauge { background: var(--sauge); }
.dot--eucalyptus { background: var(--eucalyptus); }
.dot--terracotta { background: var(--terracotta); }
.dot--ocre { background: var(--ocre); }
.dot--rose { background: var(--rose); }

/* --------------------------------------------------------------------------
   Cartes
   -------------------------------------------------------------------------- */
.card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(230, 222, 210, 0.6);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card--hover:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card__eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 0.6rem;
}

.card__title {
  margin-bottom: 0.4rem;
}

.card__tagline {
  font-family: var(--font-title);
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.card__body {
  color: var(--ink-soft);
}

.card__footer {
  margin-top: 1.4rem;
}

.card--accent {
  border-top: 6px solid var(--accent, var(--sauge));
}

.card--soft {
  box-shadow: none;
  background: var(--sand);
  border-color: transparent;
}

.accent--sauge { --accent: var(--sauge); }
.accent--eucalyptus { --accent: var(--eucalyptus); }
.accent--terracotta { --accent: var(--terracotta); }
.accent--ocre { --accent: var(--ocre); }
.accent--rose { --accent: var(--rose); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
  background: var(--accent-soft, var(--sauge-soft));
  color: var(--accent-deep, var(--sauge-deep));
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.tone--sauge { --accent-soft: var(--sauge-soft); --accent-deep: var(--sauge-deep); }
.tone--eucalyptus { --accent-soft: var(--eucalyptus-soft); --accent-deep: var(--eucalyptus-deep); }
.tone--terracotta { --accent-soft: var(--terracotta-soft); --accent-deep: var(--terracotta-deep); }
.tone--ocre { --accent-soft: var(--ocre-soft); --accent-deep: var(--ocre-deep); }
.tone--rose { --accent-soft: var(--rose-soft); --accent-deep: var(--rose-deep); }

/* Liste « Vous reconnaissez-vous ? » */
.recognize {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.recognize__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--ink);
}

.recognize__item::before {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  margin-top: 0.4rem;
  border-radius: 50% 50% 50% 10%;
  background: var(--bullet, var(--sauge));
}

.recognize__item:nth-child(5n + 1) { --bullet: var(--terracotta); }
.recognize__item:nth-child(5n + 2) { --bullet: var(--sauge); }
.recognize__item:nth-child(5n + 3) { --bullet: var(--eucalyptus); }
.recognize__item:nth-child(5n + 4) { --bullet: var(--ocre); }
.recognize__item:nth-child(5n + 5) { --bullet: var(--rose); }

/* Liste à coches */
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--check-bg, var(--eucalyptus-soft)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233f6a55' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.check-list--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

/* Étapes */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps--row {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.step {
  position: relative;
  padding: 1.6rem 1.6rem 1.6rem 4.6rem;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.4rem;
  top: 1.5rem;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta-soft);
  color: var(--terracotta-deep);
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.step p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Valeurs */
.values {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}

.values li {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-sm);
  background: var(--paper);
  border-left: 5px solid var(--v, var(--sauge));
}

.values li:nth-child(5n + 1) { --v: var(--terracotta); }
.values li:nth-child(5n + 2) { --v: var(--sauge); }
.values li:nth-child(5n + 3) { --v: var(--eucalyptus); }
.values li:nth-child(5n + 4) { --v: var(--ocre); }
.values li:nth-child(5n + 5) { --v: var(--rose); }

.values strong {
  display: block;
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

/* Témoignages */
.testimonial {
  position: relative;
  padding-top: 2.6rem;
}

.testimonial::before {
  content: "“";
  position: absolute;
  top: 0.6rem;
  left: 1.5rem;
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1;
  color: var(--rose);
}

.testimonial__author {
  margin-top: 1.2rem;
  font-size: var(--fs-sm);
  color: var(--ink-mute);
}

.testimonial__author strong {
  color: var(--ink);
}

/* Tarifs */
.rate-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.rate {
  display: grid;
  gap: 0.3rem 1.5rem;
  grid-template-columns: 1fr auto;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem;
}

.rate__name {
  font-weight: 700;
}

.rate__desc {
  grid-column: 1;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.rate__note {
  grid-column: 1 / -1;
  font-size: var(--fs-sm);
  color: var(--ink-mute);
}

.rate__amount {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--terracotta-deep);
  white-space: nowrap;
  text-align: right;
}

.rate__amount--ask {
  font-size: 1rem;
  color: var(--ink-mute);
  font-style: italic;
}

@media (max-width: 560px) {
  .rate {
    grid-template-columns: 1fr;
  }

  .rate__amount {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}

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

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 2.6rem 1.1rem 0.2rem;
  font-weight: 700;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink-soft);
  font-weight: 400;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}

.faq details[open] summary::after {
  content: "–";
  background: var(--sauge-soft);
}

.faq__answer {
  padding: 0 0.2rem 1.3rem;
  color: var(--ink-soft);
}

/* Portrait */
.portrait {
  margin: 0;
  position: relative;
}

.portrait img {
  border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: min(100%, 420px);
  margin-inline: auto;
  box-shadow: var(--shadow-md);
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 8% -6% -6% 8%;
  background: var(--sauge-soft);
  border-radius: 50% 50% 46% 46% / 40% 40% 60% 60%;
  z-index: -1;
  transform: rotate(-4deg);
}

.credentials {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.credentials li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.credentials svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--sauge-deep);
}

/* Contenu long (Markdown) */
.prose {
  font-size: var(--fs-base);
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 2.2rem;
}

.prose h3 {
  margin-top: 1.8rem;
}

.prose ul,
.prose ol {
  margin-bottom: 1.1em;
}

.prose li + li {
  margin-top: 0.3em;
}

.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.4rem;
  border-left: 4px solid var(--rose);
  background: var(--paper);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
}

.prose img {
  border-radius: var(--radius-sm);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.2rem 0;
}

.prose th,
.prose td {
  text-align: left;
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.prose th {
  background: var(--sand);
}

.prose code {
  background: var(--sand);
  padding: 0.1em 0.4em;
  border-radius: 6px;
  font-size: 0.9em;
}

/* Encadrés */
.callout {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-sm);
  background: var(--ocre-soft);
  color: var(--ocre-deep);
  font-size: 0.97rem;
}

.callout--info {
  background: var(--sauge-soft);
  color: var(--sauge-deep);
}

.callout--danger {
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.callout svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 0.1rem;
}

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ink-soft);
}

.pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pill--filled {
  background: var(--sauge-soft);
  border-color: transparent;
  color: var(--sauge-deep);
}

/* Bloc CTA de fin de page */
.cta-band {
  background: var(--ink);
  color: #f6f1ea;
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -160px;
  border-radius: 50%;
  background: var(--terracotta);
  opacity: 0.35;
  filter: blur(40px);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 0.4rem;
}

.cta-band p {
  color: #d9d0c5;
  max-width: 560px;
}

@media (min-width: 800px) {
  .cta-band {
    grid-template-columns: 1fr auto;
  }
}

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 1.2rem;
}

.form__row {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.97rem;
}

.field .hint {
  font-size: var(--fs-sm);
  color: var(--ink-mute);
  margin-top: 0.35rem;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--beige);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field 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='%235b544c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  padding-right: 2.6rem;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sauge-deep);
  box-shadow: 0 0 0 4px var(--sauge-soft);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--rose-deep);
}

.field__error {
  color: var(--rose-deep);
  font-size: var(--fs-sm);
  margin-top: 0.35rem;
  font-weight: 600;
}

.field--check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.field--check input {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.2rem;
  accent-color: var(--eucalyptus-deep);
  flex-shrink: 0;
}

.field--check label {
  font-weight: 500;
  margin: 0;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.flash-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.flash {
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.flash--success { background: var(--eucalyptus-soft); color: var(--eucalyptus-deep); }
.flash--danger { background: var(--rose-soft); color: var(--rose-deep); }
.flash--warning { background: var(--ocre-soft); color: var(--ocre-deep); }
.flash--info { background: var(--sauge-soft); color: var(--sauge-deep); }

/* --------------------------------------------------------------------------
   Contact — mise en page
   -------------------------------------------------------------------------- */
.contact-layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 960px) {
  .contact-layout {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.contact-aside {
  position: sticky;
  top: 100px;
}

.contact-aside .card + .card {
  margin-top: 1.2rem;
}

.contact-aside address {
  font-style: normal;
}

/* --------------------------------------------------------------------------
   Ressources / articles
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-bar a {
  text-decoration: none;
}

.article-card img {
  border-radius: var(--radius-sm);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 1.1rem;
}

.article-card__cat {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--eucalyptus-deep);
}

.article-card h3 a {
  text-decoration: none;
  color: var(--ink);
}

.article-card h3 a:hover {
  color: var(--terracotta-deep);
}

.article-meta {
  color: var(--ink-mute);
  font-size: var(--fs-sm);
}

.article-cover {
  border-radius: var(--radius);
  margin-bottom: 2rem;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  width: 100%;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-mute);
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px dashed var(--beige);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding-block: 3.5rem 2rem;
  font-size: 0.97rem;
  color: var(--ink-soft);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.footer-brand .brand {
  margin-bottom: 1rem;
}

.footer-brand address {
  font-style: normal;
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--terracotta-deep);
}

.footer-note {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-sm);
  color: var(--ink-mute);
}

.footer-emergency {
  margin-top: 1.6rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--sand);
  font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   Pages d'erreur
   -------------------------------------------------------------------------- */
.error-page {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: var(--section);
}

.error-page .code {
  font-family: var(--font-title);
  font-size: 5rem;
  color: var(--beige);
  line-height: 1;
}

/* --------------------------------------------------------------------------
   Micro-animations (respect de prefers-reduced-motion)
   -------------------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

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

/* --------------------------------------------------------------------------
   Impression
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .cta-band,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
  }
}
