/* ==========================================================================
   Shosa — Design system & styles
   Ergonomie & psychologie du travail — Steve Hoffmann
   ========================================================================== */

/* --- Fonts: loaded via <link rel="stylesheet"> in <head> for faster discovery
   (an @import here would delay font fetch until this file is parsed). ------ */

/* --- Design tokens -------------------------------------------------------
   Palette proposée en attendant votre charte graphique définitive :
   sauge apaisante + ivoire chaud + terracotta pour les accents/CTA.
   Il suffit de changer les valeurs ci-dessous pour appliquer votre charte.
   ------------------------------------------------------------------------ */
:root {
  --color-bg: #fbf8f3;
  --color-bg-alt: #f3efe4;
  --color-surface: #ffffff;
  --color-border: #e6e0d2;

  --color-text: #2b2b26;
  --color-text-muted: #5c5c54;
  --color-text-soft: #85857a;

  --color-primary: #5c7a63;
  --color-primary-dark: #3f5744;
  --color-primary-light: #e7ede7;

  --color-accent: #c97b4a;
  --color-accent-dark: #a8623a;

  --font-display: 'Fraunces', Georgia, serif;
  --font-accent: 'Italiana', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --color-taupe: #b39d89;

  --container: 1180px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 10px rgba(43, 43, 38, 0.06);
  --shadow-md: 0 12px 32px rgba(43, 43, 38, 0.10);
  --shadow-lg: 0 24px 60px rgba(43, 43, 38, 0.14);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 0.25s;
  --dur-med: 0.6s;
  --dur-slow: 1s;

  --header-h: 84px;
}

/* --- Reset ---------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--color-text);
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
}
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Layout helpers --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-bg { background: var(--color-bg-alt); }
.section-head { max-width: 640px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 700;
  -webkit-text-stroke: 0.45px currentColor;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  flex: none;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
.lede { font-size: 1.2rem; color: var(--color-text-muted); }
.muted { color: var(--color-text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: var(--color-bg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary-dark); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover svg { transform: translateX(4px); }
}
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform var(--dur-fast) var(--ease); }

/* --- Skip link (accessibilité) ----------------------------------------- */
.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--color-primary-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 999;
  transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* --- Header --------------------------------------------------------------*/
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 243, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.site-header.is-scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: opacity var(--dur-fast) var(--ease);
}
.logo:hover { opacity: 0.8; }
.logo-icon {
  height: 46px;
  width: auto;
  flex: none;
  transition: transform var(--dur-fast) var(--ease);
  animation: logo-breathe 6s ease-in-out infinite;
}
.logo:hover .logo-icon { transform: scale(1.18) rotate(18deg); animation-play-state: paused; }
@keyframes logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
.logo-word {
  font-family: var(--font-accent);
  font-size: 1.6rem;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: 0.16em;
  white-space: nowrap;
}
.logo-icon-light { display: none; }
.site-footer .logo-word { color: #fff; }
.site-footer .logo-icon { display: none; }
.site-footer .logo-icon-light { display: block; }

.nav-desktop { display: flex; align-items: center; gap: 4px; }
.nav-desktop a {
  position: relative;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--color-text-muted);
  transition: color var(--dur-fast) var(--ease);
}
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--color-primary-dark); }
.nav-desktop a.btn.btn-primary, .nav-desktop a.btn.btn-primary:hover { color: var(--color-bg); }
.nav-desktop a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 4px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease);
}
.nav-desktop a:not(.btn):hover::after, .nav-desktop a:not(.btn).is-active::after { transform: scaleX(1); }
.nav-desktop .btn { margin-left: 10px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: none;
  background: transparent;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--color-primary-light); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-bg);
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 24px;
  gap: 4px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), visibility var(--dur-fast);
}
.nav-mobile.is-open { opacity: 1; transform: translateY(0); visibility: visible; }
.nav-mobile a {
  padding: 18px 8px;
  font-size: 1.3rem;
  font-family: var(--font-display);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.nav-mobile .btn { margin-top: 24px; align-self: flex-start; }
.nav-mobile a.btn.btn-primary { color: var(--color-bg); }

@media (max-width: 880px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}

/* --- Hero ---------------------------------------------------------------*/
.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(64px, 10vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 0.4em; }
.hero .lede { margin-bottom: 2em; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-primary-light);
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--dur-med) var(--ease);
}
@media (hover: hover) {
  .hero-visual:hover { box-shadow: var(--shadow-lg), 0 0 0 8px var(--color-primary-light); }
  .hero-visual:hover img, .hero-visual:hover .photo-placeholder { transform: scale(1.04); }
}
.hero-visual img { transition: transform var(--dur-slow) var(--ease); }
.hero-visual img, .profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: var(--color-primary-dark);
  background: linear-gradient(160deg, var(--color-primary-light), #fff);
  transition: transform var(--dur-slow) var(--ease);
}
.photo-placeholder svg { width: 44px; height: 44px; opacity: 0.55; }
.photo-placeholder span { font-size: 0.85rem; font-weight: 600; opacity: 0.75; max-width: 22ch; }

/* Floating decorative blobs — pure CSS, GPU-friendly (transform only) */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  z-index: -1;
  animation: float 14s ease-in-out infinite;
  will-change: transform;
}
.blob-1 { width: 340px; height: 340px; background: var(--color-primary-light); top: -80px; right: -100px; animation-delay: 0s; }
.blob-2 { width: 220px; height: 220px; background: #f2ded0; bottom: -60px; left: -60px; animation-delay: -6s; }

/* Watermark du logo + icône flottante en fond de hero, pure décoration */
.hero-watermark {
  position: absolute;
  top: 50%;
  right: -40px;
  height: 560px;
  width: auto;
  transform: translateY(-50%);
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
  user-select: none;
}
.hero-icon-spin {
  position: absolute;
  left: -70px;
  bottom: -90px;
  height: 220px;
  width: auto;
  opacity: 0.09;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  animation: spin-slow 40s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(0, -28px) scale(1.04); }
}

/* --- Scroll reveal --------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group.is-visible .reveal-child { opacity: 1; transform: translateY(0); }
.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}

/* --- Cards ---------------------------------------------------------------*/
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 34px;
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
  animation: icon-bob 3.6s ease-in-out infinite;
}
.card:nth-child(2) .card-icon { animation-delay: -1.2s; }
.card:nth-child(3) .card-icon { animation-delay: -2.4s; }
.card:nth-child(4) .card-icon { animation-delay: -0.6s; }
.card:nth-child(5) .card-icon { animation-delay: -1.8s; }
.card:nth-child(6) .card-icon { animation-delay: -3s; }
@keyframes icon-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.card-icon svg { width: 26px; height: 26px; }
@media (hover: hover) {
  .card:hover .card-icon { animation-play-state: paused; transform: scale(1.15) rotate(-8deg); background: var(--color-primary); color: #fff; }
}
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--color-text-muted); margin-bottom: 0; }

/* --- Process steps -------------------------------------------------------*/
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid var(--color-border);
}
.step:first-child { border-top: none; }
.step-num {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--color-accent);
  display: inline-block;
  transition: transform var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
}
@media (hover: hover) {
  .step:hover .step-num { transform: scale(1.2); color: var(--color-primary-dark); }
}
.step h3 { margin-bottom: 0.4em; }
.step p { color: var(--color-text-muted); margin-bottom: 0; }

/* --- Stats ---------------------------------------------------------------*/
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 700px) { .stats-bar { grid-template-columns: 1fr; gap: 40px; } }
.stat .stat-num {
  font-family: var(--font-display);
  font-variation-settings: 'SOFT' 60, 'WONK' 1;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--color-primary-dark);
  display: block;
}
.stat .stat-label { color: var(--color-text-muted); font-size: 0.95rem; }

/* --- Logos marquee -------------------------------------------------------*/
.logos-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 70s linear infinite;
}
.logos-wrap:hover .logos-track { animation-play-state: paused; }
.logos-track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--color-text-soft);
  white-space: nowrap;
}
.logos-track img {
  height: 34px;
  width: auto;
  filter: grayscale(1) opacity(0.55);
  transition: filter var(--dur-med) var(--ease), transform var(--dur-med) var(--ease);
}
.logos-track img:hover { filter: grayscale(0) opacity(1); transform: scale(1.08); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* --- Quote / Qui suis-je --------------------------------------------------*/
.profile {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 860px) { .profile { grid-template-columns: 1fr; } }
.profile-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}
.profile-photo .photo-placeholder { transition: transform var(--dur-slow) var(--ease); }
@media (hover: hover) {
  .profile-photo:hover .photo-placeholder, .profile-photo:hover img { transform: scale(1.05); }
}
.profile blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--color-text);
  margin: 0 0 20px;
  line-height: 1.4;
}
.profile cite { font-style: normal; color: var(--color-primary-dark); font-weight: 600; }

/* --- Map / zone d'intervention --------------------------------------------*/
.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.zone-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
@media (hover: hover) {
  .zone-list li:hover { background: var(--color-primary-light); border-color: var(--color-primary); color: var(--color-primary-dark); transform: translateY(-2px); }
}

/* --- CTA band --------------------------------------------------------------*/
.cta-band {
  background: var(--color-primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band .muted { color: rgba(255,255,255,0.75); }
.cta-band .btn-primary { background: #fff; color: var(--color-primary-dark); }
.cta-band .btn-primary:hover { background: var(--color-bg-alt); }

/* --- Forms -----------------------------------------------------------------*/
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea {
  font: inherit;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.field input:focus, .field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}
.field textarea { resize: vertical; min-height: 140px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { font-size: 0.85rem; color: #8a3a20; margin: 0; }
.field input.is-invalid, .field textarea.is-invalid { border-color: #c2603f; background: #fdf4f1; }
.form-note { font-size: 0.85rem; color: var(--color-text-soft); margin-top: 12px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); display: none; }
.form-status.is-visible { display: block; }
.form-status.success { background: var(--color-primary-light); color: var(--color-primary-dark); }
.form-status.error { background: #fbe8e2; color: #8a3a20; }

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.contact-info-card ul { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.contact-info-card li { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-card .card-icon { margin-bottom: 0; flex: none; width: 42px; height: 42px; }
.contact-info-card .card-icon svg { width: 20px; height: 20px; }
.contact-info-card a:hover { color: var(--color-primary-dark); }

/* --- Footer -----------------------------------------------------------------*/
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.82);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-tagline { max-width: 34ch; color: rgba(255,255,255,0.68); margin-top: 14px; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { position: relative; color: rgba(255,255,255,0.78); transition: color var(--dur-fast) var(--ease); }
.footer-col a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: -3px;
  height: 1px;
  background: currentColor;
  transition: right var(--dur-fast) var(--ease);
}
.footer-col a:hover { color: #fff; }
.footer-col a:hover::after { right: 0; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 28px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

/* --- FAQ (accordéon) -------------------------------------------------------*/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 26px;
  transition: border-color var(--dur-fast) var(--ease);
}
.faq-item[open] { border-color: var(--color-primary); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: ''; }
.faq-icon {
  flex: none;
  width: 22px; height: 22px;
  color: var(--color-primary-dark);
  transition: transform var(--dur-fast) var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item .faq-answer {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  max-width: 65ch;
}
.faq-item .faq-answer:last-child { margin-bottom: 22px; }
.faq-answer-list {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0 0 22px;
  max-width: 65ch;
  color: var(--color-text-muted);
}
.faq-answer-list li { margin-bottom: 6px; }

/* --- Contenu légal (mentions légales, confidentialité) --------------------*/
.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: 2em; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.legal-content li { margin-bottom: 0.5em; }
.legal-content a { color: var(--color-primary-dark); text-decoration: underline; text-underline-offset: 2px; }
.legal-content .placeholder { background: #fbe8e2; color: #8a3a20; padding: 2px 8px; border-radius: 6px; font-weight: 600; }

/* --- Page hero (sous-pages) -----------------------------------------------*/
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 40px;
}
.page-hero .lede { max-width: 60ch; }
.page-hero .hero-watermark { height: 300px; opacity: 0.06; }

/* --- Curseur personnalisé (desktop uniquement) -----------------------------*/
@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor { cursor: none; }
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor summary,
  body.has-custom-cursor .card,
  body.has-custom-cursor input,
  body.has-custom-cursor textarea { cursor: none; }
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--color-accent);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease), width var(--dur-fast) var(--ease), height var(--dur-fast) var(--ease), margin var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.cursor-dot.is-active { opacity: 0.85; }
.cursor-dot.is-hovering {
  width: 42px; height: 42px;
  margin: -21px 0 0 -21px;
  background: transparent;
  border: 2px solid var(--color-accent);
  opacity: 1;
}

/* --- Ripple au clic sur les boutons -----------------------------------------*/
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.35;
  transform: scale(0);
  animation: ripple-expand 0.6s var(--ease) forwards;
  pointer-events: none;
}
@keyframes ripple-expand {
  to { transform: scale(1); opacity: 0; }
}

/* --- Confettis de célébration (envoi du formulaire) -------------------------*/
.confetti-piece {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 9998;
  animation: confetti-burst 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes confetti-burst {
  to {
    transform: translate(var(--tx), var(--ty)) rotate(var(--tr));
    opacity: 0;
  }
}
