/* ================================================== */
/*  PYXIDA Patrimoine — V5                            */
/*  Direction : DARK premium (banque privée)          */
/*  Fond dominant brun foncé · texte crème · or       */
/* ================================================== */

:root {
  /* Palette */
  --brun: #4D3220;
  --brun-deep: #2F1F13;
  --brun-bg: #261810;            /* fond dominant V5 — encore plus profond */
  --brun-mid: #3A271A;           /* sections alternées */
  --beige: #CFBC9A;
  --beige-soft: #EADFC5;
  --beige-pale: #F4ECD9;
  --dore: #AD9368;
  --dore-bright: #C9AE7C;        /* doré clair, lisibilité sur fond très foncé */
  --dore-deep: #8C7547;
  --dore-soft: #C9B28B;
  --creme: #FAF6F0;
  --paper: #FBF8F1;
  --ink: #1F1812;

  /* Texte sur fond foncé */
  --text-main: #F4EDDD;
  --text-soft: #D8C9AE;
  --text-mute: #A89579;

  /* Rules sur fond foncé */
  --rule: rgba(244, 237, 221, 0.14);
  --rule-soft: rgba(244, 237, 221, 0.08);
  --rule-strong: rgba(244, 237, 221, 0.22);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --max: 1320px;
  --gutter: clamp(20px, 4vw, 48px);

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--brun-bg);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

::selection { background: var(--dore); color: var(--brun-deep); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--creme);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.005em;
}

.eyebrow, .section-eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dore-bright);
  margin-bottom: 20px;
  position: relative;
  padding-left: 36px;
}

.eyebrow::before, .section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 24px; height: 1px;
  background: var(--dore-bright);
  transform: translateY(-50%);
}

.inline-link { color: var(--dore-bright); border-bottom: 1px solid var(--dore-bright); padding-bottom: 1px; transition: color 0.2s; }
.inline-link:hover { color: var(--dore-soft); }

/* BOUTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { padding: 12px 20px; font-size: 13.5px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--dore); color: var(--brun-deep); }
.btn-primary:hover { background: var(--dore-bright); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(173, 147, 104, 0.35); }

.btn-link { background: transparent; color: var(--dore-bright); padding: 16px 4px; border: none; }
.btn-link span { border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.btn-link:hover { color: var(--creme); }

.btn-light { background: var(--creme); color: var(--brun); }
.btn-light:hover { background: var(--dore); color: var(--brun-deep); }

.btn-outline-light { background: transparent; color: var(--creme); border: 1px solid rgba(250, 246, 240, 0.5); }
.btn-outline-light:hover { border-color: var(--creme); background: rgba(250, 246, 240, 0.06); }

/* TOPBAR + HEADER */
.topbar { background: #1B110A; color: var(--text-soft); padding: 10px 0; font-size: 12.5px; border-bottom: 1px solid var(--rule-soft); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-link { color: var(--dore-bright); font-weight: 600; transition: color 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.topbar-link:hover { color: var(--creme); }
.topbar-link svg { flex-shrink: 0; opacity: 0.85; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(38, 24, 16, 0.92);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--rule-soft);
  transition: padding 0.3s var(--ease);
}

.site-header.scrolled { background: rgba(27, 17, 10, 0.96); }

.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; height: 88px; gap: 32px; }
.site-header.scrolled .header-inner { height: 68px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 56px; width: auto; transition: height 0.3s var(--ease); }
.site-header.scrolled .logo-img { height: 44px; }

.main-nav { display: flex; align-items: center; justify-content: center; gap: 38px; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--text-main); padding: 6px 0; position: relative; transition: color 0.2s; }
.main-nav a::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 0; height: 1px; background: var(--dore-bright); transition: all 0.3s var(--ease); transform: translateX(-50%); }
.main-nav a:hover { color: var(--dore-bright); }
.main-nav a:hover::after { width: 100%; }

/* Dropdown "Guides" dans la navigation */
.nav-drop { position: relative; display: inline-flex; align-items: center; }

.nav-drop-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  background: transparent;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.nav-drop-toggle::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--dore-bright);
  transition: width 0.3s var(--ease);
  transform: translateX(-50%);
}

.nav-drop-toggle:hover,
.nav-drop.open .nav-drop-toggle,
.nav-drop-toggle[aria-current="page"] {
  color: var(--dore-bright);
}

.nav-drop:hover .nav-drop-toggle::after,
.nav-drop.open .nav-drop-toggle::after,
.nav-drop-toggle[aria-current="page"]::after {
  width: 100%;
}

.nav-drop-arrow {
  width: 10px;
  height: 7px;
  color: var(--dore-bright);
  transition: transform 0.25s var(--ease);
}

.nav-drop.open .nav-drop-arrow,
.nav-drop:hover .nav-drop-arrow { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 340px;
  background: var(--brun-bg);
  border: 1px solid rgba(201, 174, 124, 0.28);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  padding: 10px;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0.2s;
}

.nav-drop:hover .nav-drop-menu,
.nav-drop.open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-beak {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--brun-bg);
  border-left: 1px solid rgba(201, 174, 124, 0.28);
  border-top: 1px solid rgba(201, 174, 124, 0.28);
}

.nav-drop-menu a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.nav-drop-menu a:hover {
  background: rgba(201, 174, 124, 0.08);
  border-left-color: var(--dore-bright);
}

.ndm-label {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--creme);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.ndm-meta {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 12.5px;
  color: rgba(201, 174, 124, 0.7);
  line-height: 1.35;
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; background: transparent; border: 0; cursor: pointer; z-index: 1001; position: relative; }
.menu-toggle span { width: 22px; height: 1.5px; background: var(--text-main); transition: transform 0.3s var(--ease), opacity 0.2s; }

/* État actif : transformation en croix */
.menu-toggle.is-active span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.is-active span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Empêche le scroll du body quand le menu mobile est ouvert */
body.menu-open { overflow: hidden; }

/* CRITIQUE : désactiver backdrop-filter du .site-header quand le menu est ouvert.
   Sinon le backdrop-filter crée un containing block qui empêche position:fixed
   de la nav d'occuper toute la viewport (bug CSS connu). */
body.menu-open .site-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }

  /* Menu mobile ouvert : plein écran avec fond brun foncé */
  .main-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--brun-bg);
    z-index: 1000;
    padding: 96px 24px 32px;
    overflow-y: auto;
  }
  .main-nav.is-open > a {
    color: var(--creme);
    font-size: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(201, 174, 124, 0.2);
    text-decoration: none;
  }
  .main-nav.is-open .nav-drop {
    width: 100%;
  }
  .main-nav.is-open .nav-drop-toggle {
    color: var(--creme);
    width: 100%;
    text-align: left;
    padding: 18px 0;
    border-bottom: 1px solid rgba(201, 174, 124, 0.2);
    background: transparent;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .main-nav.is-open .nav-drop-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 8px 0 8px 16px;
    min-width: 0;
  }
  .main-nav.is-open .nav-drop-beak { display: none; }
  .main-nav.is-open .nav-drop-menu a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 174, 124, 0.1);
  }
}

/* ================================================== */
/*  HERO ÉDITORIAL CENTRÉ (style Claude Design)       */
/* ================================================== */

.hero-editorial {
  position: relative;
  background: var(--brun-bg);
  padding: clamp(20px, 3vw, 50px) 0 clamp(28px, 3vw, 50px);
  min-height: calc(100vh - 124px);  /* topbar 36 + header 88 */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Motif radial subtil — signature soleil PYXIDA */
.hero-radials {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  width: 95vw;
  max-width: 1400px;
  height: 800px;
  pointer-events: none;
  opacity: 0.07;
  color: var(--dore-bright);
}

.hero-radials svg { width: 100%; height: 100%; }

.hero-editorial-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1120px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dore-bright);
  margin-bottom: 20px;
}

.he-rule {
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--dore-bright);
}

.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--creme);
  margin: 0 0 22px;
}

.hero-headline em {
  font-style: italic;
  color: var(--dore-bright);
  font-weight: 300;
}

.hero-deck {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(244, 237, 221, 0.74);
  max-width: 720px;
  margin: 0 auto 28px;
}

/* CTA principal magnétique avec halos radiants */
.hero-cta-wrap { display: flex; justify-content: center; margin-bottom: 16px; }

.hero-cta {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 38px;
  background: var(--dore);
  color: var(--brun-deep);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  overflow: visible;
  box-shadow: 0 8px 24px -10px rgba(201, 174, 124, 0.55);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.hero-cta:hover {
  background: var(--dore-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -10px rgba(201, 174, 124, 0.85), 0 0 0 3px rgba(201, 174, 124, 0.15);
}

.hero-cta:active { transform: translateY(0) scale(0.985); }

.hcta-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.hcta-arrow {
  display: inline-flex;
  animation: hctaArrowNudge 2.4s ease-in-out infinite;
}

.hcta-arrow svg { width: 16px; height: 16px; }

@keyframes hctaArrowNudge {
  0%, 55%, 100% { transform: translateX(0); }
  70% { transform: translateX(5px); }
  85% { transform: translateX(0); }
}

.hero-cta:hover .hcta-arrow { animation-duration: 1.2s; }

.hcta-halo {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1.5px solid var(--dore);
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  animation: hctaRadiate 2.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hcta-halo-2 { animation-delay: 1.3s; }

@keyframes hctaRadiate {
  0%   { opacity: 0.85; transform: scale(1); }
  70%  { opacity: 0; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(1.4); }
}

.hero-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(244, 237, 221, 0.55);
  margin: 0 0 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.hml-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7FB07F;
  box-shadow: 0 0 0 3px rgba(127, 176, 127, 0.18);
  flex-shrink: 0;
}

/* Bande de stats / habilitations */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(201, 174, 124, 0.22);
  border-bottom: 1px solid rgba(201, 174, 124, 0.22);
  padding: 22px 0;
}

.hs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 12px;
  border-right: 1px solid rgba(201, 174, 124, 0.14);
}

.hs-item:last-child { border-right: none; }

.hs-big {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--dore-bright);
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.1;
}

.hs-small {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 237, 221, 0.55);
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 900px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px 12px; padding: 24px 0; }
  .hs-item { border-right: none; padding: 8px; }
  .hs-item:nth-child(odd) { border-right: 1px solid rgba(201, 174, 124, 0.14); }
}

@media (max-width: 560px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hs-item, .hs-item:nth-child(odd) { border-right: none; border-bottom: 1px solid rgba(201, 174, 124, 0.14); padding-bottom: 16px; }
  .hs-item:last-child { border-bottom: none; }
}

/* "Découvrir" indicateur de scroll */
.hero-discover {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 26px;
  color: rgba(201, 174, 124, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
  animation: heroScrollDown 2.4s ease-in-out infinite;
}

.hero-discover:hover { color: var(--dore-bright); }
.hero-discover span { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; }
.hero-discover svg { width: 18px; height: 18px; }

@keyframes heroScrollDown {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ================================================== */
/*  SECTION DIAGNOSTIC AUTONOME                       */
/* ================================================== */

.diag-section {
  background: var(--brun-mid);
  padding: clamp(80px, 11vw, 140px) 0;
}

.diag-section-inner { max-width: 760px; margin: 0 auto; }

.diag-section-head { text-align: center; margin-bottom: clamp(40px, 5vw, 64px); }

.diag-section-head .section-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding-left: 0;
}

.diag-section-head .section-eyebrow::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .hcta-halo, .hero-discover, .hcta-arrow { animation: none; }
}

/* HERO + PHOTO METZ */
.hero {
  padding: clamp(50px, 7vw, 100px) 0 0;
  background-color: var(--brun-bg);
  background-image: url('assets/hero-bg.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(38, 24, 16, 0.5) 0%, rgba(38, 24, 16, 0) 30%, rgba(38, 24, 16, 0) 60%, rgba(38, 24, 16, 0.7) 100%),
    linear-gradient(105deg,
      rgba(38, 24, 16, 0.92) 0%,
      rgba(38, 24, 16, 0.86) 30%,
      rgba(38, 24, 16, 0.62) 55%,
      rgba(38, 24, 16, 0.42) 80%,
      rgba(38, 24, 16, 0.32) 100%);
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(173, 147, 104, 0.08);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  position: relative;
  z-index: 1;
}

.hero-intro { padding-top: 12px; }

.hero-title {
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1.05;
  color: var(--creme);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  max-width: 16ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.hero-sub { font-size: clamp(15.5px, 1.15vw, 18px); line-height: 1.65; color: var(--text-soft); margin-bottom: 44px; max-width: 52ch; }

.hero-pillars { display: flex; flex-direction: column; gap: 26px; }
.hero-pillars li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }

.pillar-num {
  font-family: var(--serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 500;
  color: var(--dore-bright);
  line-height: 1;
  padding-top: 4px;
  border-top: 1px solid var(--dore-bright);
  width: 44px;
}

.hero-pillars h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 700; color: var(--creme); margin-bottom: 6px; letter-spacing: 0.01em; }
.hero-pillars p { font-size: 14.5px; line-height: 1.6; color: var(--text-soft); }

/* DIAGNOSTIC CARD — claire pour contraster fortement */
.diag-card {
  background: var(--creme);
  border: 1px solid rgba(173, 147, 104, 0.35);
  padding: clamp(28px, 3vw, 44px);
  position: relative;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(173, 147, 104, 0.1);
  min-height: 580px;
  display: flex;
  flex-direction: column;
}

.diag-header { margin-bottom: 32px; }

.diag-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dore-deep); margin-bottom: 14px; }

.diag-title { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: var(--brun); font-weight: 500; margin-bottom: 12px; letter-spacing: -0.01em; }

.diag-sub { font-size: 14.5px; line-height: 1.55; color: rgba(47, 31, 19, 0.7); }

.diag-progress { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; }

.dp-step {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(77, 50, 32, 0.18);
  display: grid; place-items: center;
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  color: rgba(47, 31, 19, 0.4);
  transition: all 0.3s var(--ease);
}
.dp-step.active { background: var(--brun); border-color: var(--brun); color: var(--creme); }
.dp-step.done { background: var(--dore); border-color: var(--dore); color: var(--brun-deep); }
.dp-line { flex: 1; height: 1px; background: rgba(77, 50, 32, 0.18); }

.diag-step { display: none; flex: 1; flex-direction: column; animation: fadeStep 0.45s var(--ease-out); }
.diag-step.active { display: flex; }

@keyframes fadeStep { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.diag-question { font-family: var(--serif); font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; color: var(--brun); margin-bottom: 20px; line-height: 1.3; }

.dq-num { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dore-deep); margin-bottom: 10px; }

.diag-options { display: flex; flex-direction: column; gap: 10px; }

.diag-options button {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 16px 20px;
  background: var(--paper);
  border: 1px solid rgba(77, 50, 32, 0.14);
  border-radius: 2px; text-align: left;
  font-family: var(--sans);
  font-size: 14.5px; font-weight: 500;
  color: var(--brun);
  transition: all 0.3s var(--ease);
}
.diag-options button:hover { background: var(--brun); color: var(--creme); border-color: var(--brun); transform: translateX(4px); }

.opt-arrow { font-family: var(--serif); font-size: 18px; color: var(--dore-deep); transition: transform 0.3s var(--ease); }
.diag-options button:hover .opt-arrow { color: var(--dore); transform: translateX(4px); }

.diag-result { display: none; flex: 1; flex-direction: column; animation: fadeStep 0.5s var(--ease-out); }
.diag-result.active { display: flex; }

.result-badge {
  display: inline-block; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brun); background: var(--dore); padding: 6px 12px; margin-bottom: 18px;
}

.result-title { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--brun); font-weight: 500; margin-bottom: 18px; }
.result-body { font-size: 15px; line-height: 1.65; color: rgba(47, 31, 19, 0.75); margin-bottom: 32px; flex: 1; }
.result-cta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.result-meta { font-size: 12.5px; color: rgba(47, 31, 19, 0.55); text-align: center; }
.result-restart { align-self: center; font-size: 12.5px; color: rgba(47, 31, 19, 0.55); letter-spacing: 0.04em; padding: 8px; transition: color 0.2s; }
.result-restart:hover { color: var(--brun); }

.diag-card .btn-primary { background: var(--brun); color: var(--creme); }
.diag-card .btn-primary:hover { background: var(--brun-deep); color: var(--creme); }

@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .diag-card { min-height: auto; } }

/* Trust strip */
.hero-trust { margin-top: clamp(40px, 6vw, 80px); padding: 28px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.hero-trust ul { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hero-trust li { font-size: 13.5px; color: var(--text-soft); letter-spacing: 0.01em; display: flex; align-items: center; gap: 8px; }
.hero-trust strong { color: var(--creme); font-weight: 700; }
.ht-stars { color: var(--dore-bright); letter-spacing: 2px; font-size: 12px; }

/* SECTIONS */
.section { padding: clamp(80px, 11vw, 150px) 0; }

.section-head { margin-bottom: clamp(56px, 7vw, 90px); max-width: 760px; }
.section-head-left { max-width: 580px; }

.section-head-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); max-width: none; align-items: end; }

@media (max-width: 900px) { .section-head-split { grid-template-columns: 1fr; } }

.section-title { font-size: clamp(34px, 4.2vw, 56px); line-height: 1.05; color: var(--creme); font-weight: 500; margin-bottom: 20px; letter-spacing: -0.015em; }
.section-title-left { text-align: left; }
.section-deck { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; color: var(--text-soft); max-width: 60ch; }
.section-cta { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: center; }

/* EXPERTISES */
.expertise { background: var(--brun-bg); }
.exp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.exp-card { background: var(--brun-bg); padding: 50px 40px; transition: background 0.3s ease; }
.exp-card:hover { background: var(--brun-mid); }
.exp-num { font-family: var(--serif); font-style: italic; font-size: 14px; font-weight: 500; color: var(--dore-bright); margin-bottom: 18px; letter-spacing: 0.04em; }
.exp-title { font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); font-weight: 500; color: var(--creme); margin-bottom: 16px; line-height: 1.15; }
.exp-body { font-size: 15.5px; line-height: 1.65; color: var(--text-soft); max-width: 50ch; margin-bottom: 24px; }
.exp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dore-bright);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease), color 0.2s ease;
}
.exp-link:hover { color: var(--creme); gap: 14px; }

@media (max-width: 720px) { .exp-grid { grid-template-columns: 1fr; } .exp-card { padding: 36px 28px; } }

/* MÉTHODOLOGIE */
.methodo { background: var(--brun-mid); }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.method-steps li { padding: 0 28px; border-left: 1px solid var(--rule); }
.method-steps li:first-child { border-left: none; padding-left: 0; }
.method-steps li:last-child { padding-right: 0; }

.ms-num { display: block; font-family: var(--serif); font-style: italic; font-size: 44px; font-weight: 400; color: var(--dore-bright); line-height: 1; margin-bottom: 22px; }

.method-steps h3 { font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; color: var(--creme); margin-bottom: 14px; line-height: 1.2; }
.method-steps p { font-size: 14.5px; line-height: 1.65; color: var(--text-soft); margin-bottom: 22px; }

.ms-tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dore-bright); background: rgba(173, 147, 104, 0.1); border: 1px solid rgba(173, 147, 104, 0.3); padding: 5px 10px; }

@media (max-width: 900px) { .method-steps { grid-template-columns: 1fr 1fr; gap: 40px 24px; } .method-steps li { border-left: none; padding: 0; } }
@media (max-width: 560px) { .method-steps { grid-template-columns: 1fr; } }

/* CABINET */
.cabinet { background: var(--brun-bg); }
.cab-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }

.cab-photo { position: relative; aspect-ratio: 4/5; max-width: 460px; }
.cab-photo img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.02) brightness(0.98); }

.cab-photo::before { content: ''; position: absolute; inset: 0; border: 1px solid var(--dore); transform: translate(-20px, -20px); z-index: -1; }

.cab-id { position: absolute; bottom: -28px; right: -28px; background: var(--brun-deep); border: 1px solid var(--rule-strong); padding: 18px 24px; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.5); }
.cab-name { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--creme); margin-bottom: 2px; }
.cab-role { font-size: 12px; color: var(--text-soft); letter-spacing: 0.02em; }

.cab-bio { font-size: 16.5px; line-height: 1.7; color: var(--text-soft); margin-bottom: 18px; max-width: 60ch; }

.cab-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 40px; margin: 36px 0 32px; padding: 28px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cab-facts dt { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dore-bright); margin-bottom: 6px; }
.cab-facts dd { font-family: var(--serif); font-size: 18px; font-weight: 500; color: var(--creme); }

.cab-meta { display: flex; gap: 14px; flex-wrap: wrap; }

.meta-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--text-main); padding: 11px 18px; border: 1px solid var(--rule-strong); border-radius: 100px; transition: all 0.3s var(--ease); }
.meta-link:hover { background: var(--dore); color: var(--brun-deep); border-color: var(--dore); }
.meta-link svg { width: 15px; height: 15px; }

@media (max-width: 900px) { .cab-inner { grid-template-columns: 1fr; } .cab-photo { max-width: 360px; margin: 0 auto; } .cab-id { right: 50%; transform: translateX(50%); } .cab-photo::before { transform: translate(-12px, -12px); } }

/* PARTENAIRES — bandeau défilant marquee */
.partners {
  padding: 64px 0;
  background: var(--brun-mid);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  overflow: hidden;
}

.partners-label {
  text-align: center;
  color: var(--text-mute);
  margin-bottom: 32px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  /* Fade aux bords pour effet "infini" */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.partners-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  width: max-content;
  animation: partnersMarquee 50s linear infinite;
}

.partners-track span {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: 0.06em;
  color: var(--dore-soft);
  opacity: 0.85;
  flex-shrink: 0;
}

.partners-marquee:hover .partners-track {
  animation-play-state: paused;
}

@keyframes partnersMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* Accessibilité — liste cachée pour lecteurs d'écran */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* TÉMOIGNAGES */
.temoignages { background: var(--brun-bg); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review { padding: 40px 36px; background: var(--brun-mid); border: 1px solid var(--rule-soft); transition: transform 0.4s var(--ease), border-color 0.3s ease; display: flex; flex-direction: column; }
.review:hover { transform: translateY(-4px); border-color: var(--dore-deep); }
.review-stars { color: var(--dore-bright); letter-spacing: 4px; font-size: 13.5px; margin-bottom: 24px; }
.review-body { font-family: var(--serif); font-size: 19px; line-height: 1.5; font-style: italic; color: var(--creme); margin-bottom: 28px; flex-grow: 1; }
.review-foot { padding-top: 20px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 2px; }
.rev-name { font-size: 14.5px; font-weight: 700; color: var(--creme); }
.rev-meta { font-size: 12.5px; color: var(--text-mute); }

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

/* NEWSLETTER */
.lead { background: var(--brun); color: var(--creme); padding: clamp(70px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.lead::before { content: ''; position: absolute; top: -40%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(173, 147, 104, 0.18), transparent 70%); filter: blur(60px); pointer-events: none; }

.lead-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; }

.lead-eyebrow { color: var(--dore-bright); }
.lead-eyebrow::before { background: var(--dore-bright); }

.lead-title { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 46px); font-weight: 500; line-height: 1.1; color: var(--creme); margin-bottom: 18px; letter-spacing: -0.015em; }
.lead-deck { font-size: 16px; line-height: 1.65; color: var(--text-soft); max-width: 52ch; }

.lead-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dore-bright); margin-bottom: 12px; }

.lead-row { display: flex; gap: 0; border-bottom: 1.5px solid var(--creme); transition: border-color 0.3s; }
.lead-row:focus-within { border-color: var(--dore); }
.lead-row input { flex: 1; padding: 14px 0; background: transparent; border: none; color: var(--creme); font-family: var(--sans); font-size: 16px; }
.lead-row input::placeholder { color: rgba(244, 237, 221, 0.4); }
.lead-row input:focus { outline: none; }
.lead-row .btn { background: var(--dore); color: var(--brun-deep); padding: 14px 24px; font-size: 13.5px; }
.lead-row .btn:hover { background: var(--dore-bright); }

.lead-fine { font-size: 12px; color: var(--text-soft); opacity: 0.7; margin-top: 14px; }

@media (max-width: 900px) { .lead-inner { grid-template-columns: 1fr; } }

/* FAQ */
.faq { background: var(--brun-bg); }
.faq-inner { display: grid; grid-template-columns: 0.9fr 1.5fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-inner .section-head { margin-bottom: 0; padding-top: 8px; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }

.faq-item summary {
  list-style: none; cursor: pointer; padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: clamp(19px, 1.7vw, 23px);
  font-weight: 500; color: var(--creme);
  transition: color 0.2s ease; line-height: 1.25;
}

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

.faq-item summary::after {
  content: ''; flex-shrink: 0; width: 24px; height: 24px;
  background-image: linear-gradient(var(--dore-bright), var(--dore-bright)), linear-gradient(var(--dore-bright), var(--dore-bright));
  background-position: center;
  background-size: 14px 1.5px, 1.5px 14px;
  background-repeat: no-repeat;
  transition: transform 0.4s var(--ease);
}
.faq-item[open] summary::after { background-size: 14px 1.5px, 0 0; }
.faq-item:hover summary { color: var(--dore-bright); }
.faq-item p { padding: 0 36px 28px 0; font-size: 15.5px; line-height: 1.7; color: var(--text-soft); max-width: 70ch; }

@media (max-width: 900px) { .faq-inner { grid-template-columns: 1fr; } }

/* CLOSING */
.closing { background: linear-gradient(180deg, var(--brun) 0%, var(--brun-deep) 100%); color: var(--creme); padding: clamp(80px, 11vw, 150px) 0; position: relative; overflow: hidden; }
.closing::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 900px; height: 900px; background: radial-gradient(circle, rgba(173, 147, 104, 0.22), transparent 60%); filter: blur(80px); pointer-events: none; }

.closing-inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.closing-eyebrow { color: var(--dore-bright); margin-bottom: 24px; }
.closing-eyebrow::before { background: var(--dore-bright); }
.closing-title { font-family: var(--serif); font-size: clamp(38px, 5.2vw, 68px); line-height: 1.05; color: var(--creme); font-weight: 500; margin-bottom: 24px; letter-spacing: -0.02em; }
.closing-deck { font-size: clamp(16px, 1.2vw, 18.5px); line-height: 1.6; color: var(--text-soft); max-width: 52ch; margin: 0 auto 44px; }
.closing-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }

.btn-lg { padding: 20px 36px; font-size: 15.5px; }

.closing-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--text-soft);
}

/* Rating line dans témoignages */
.rating-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--text-soft);
  margin-top: 16px;
  flex-wrap: wrap;
}
.rating-stars { color: var(--dore-bright); letter-spacing: 3px; font-size: 14px; }
.rating-line strong { color: var(--creme); font-weight: 700; }
.rating-count { color: var(--text-mute); }

/* FOOTER */
.site-footer { background: #14090A; color: var(--text-soft); padding-top: 80px; border-top: 1px solid var(--rule-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 60px; }
.footer-logo { height: 72px; width: auto; margin-bottom: 24px; }
.footer-baseline { font-family: var(--serif); font-size: 15.5px; font-style: italic; line-height: 1.55; color: var(--creme); max-width: 36ch; }
.footer-h { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dore-bright); margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--text-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--dore-bright); }
.footer-legal li { font-size: 12.5px; color: var(--text-soft); opacity: 0.75; line-height: 1.6; }
.footer-legal-links { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule-soft); }
.footer-legal-links a { font-size: 12.5px; }
.footer-bottom { border-top: 1px solid var(--rule-soft); padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 20px; font-size: 12.5px; color: var(--text-soft); opacity: 0.7; flex-wrap: wrap; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: span 2; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } .footer-brand { grid-column: span 1; } .footer-bottom-inner { justify-content: center; text-align: center; } }

/* ================================================== */
/*  CONTACT — Formulaire bilan détaillé               */
/* ================================================== */

.contact {
  background: var(--brun-bg);
  color: var(--text-main);
  padding: clamp(80px, 11vw, 140px) 0;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -250px; right: -250px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(173, 147, 104, 0.14), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
  position: relative;
}

/* Colonne info gauche */
.contact-info { padding-top: 12px; }

.contact-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dore-bright);
  margin-bottom: 14px;
}

.contact-rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--dore-bright);
  margin-bottom: 24px;
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.05;
  color: var(--creme);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

.contact-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(244, 237, 221, 0.8);
  margin-bottom: 36px;
  max-width: 40ch;
}

.contact-meta { display: flex; flex-direction: column; gap: 16px; margin: 0; }

.contact-meta-item {
  display: grid;
  grid-template-columns: 28px 110px 1fr;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(201, 174, 124, 0.18);
}

.cm-icon { color: var(--dore-bright); display: inline-flex; }
.cm-icon svg { width: 18px; height: 18px; }

.contact-meta-item dt {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(201, 174, 124, 0.7);
  font-weight: 600;
  margin: 0;
}

.contact-meta-item dd {
  font-size: 14px;
  color: var(--creme);
  margin: 0;
  font-weight: 500;
}

.contact-confid {
  margin-top: 32px;
  padding: 22px 24px;
  background: rgba(201, 174, 124, 0.08);
  border: 1px solid rgba(201, 174, 124, 0.22);
  border-radius: 2px;
}

.cc-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dore-bright);
  margin-bottom: 8px;
}

.cc-text {
  font-size: 13.5px;
  color: rgba(244, 237, 221, 0.78);
  line-height: 1.6;
  margin: 0;
}

/* Formulaire (colonne droite) */
.contact-form {
  background: var(--creme);
  color: var(--brun);
  padding: clamp(28px, 3.5vw, 44px);
  border: 1px solid rgba(201, 174, 124, 0.45);
  box-shadow: 0 30px 80px -25px rgba(0, 0, 0, 0.5);
}

.cf-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--brun);
  margin: 0 0 6px;
  line-height: 1.2;
}

.cf-sub {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(47, 31, 19, 0.55);
  margin: 0 0 28px;
}

.cf-row { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; align-items: end; }
.cf-row.cf-row-2 { grid-template-columns: 1fr 1fr; }
.cf-row:first-of-type { margin-top: 0; }

.cf-field { display: flex; flex-direction: column; gap: 6px; justify-content: flex-end; }
.cf-field { margin-top: 14px; }
.cf-row .cf-field { margin-top: 0; }

.cf-field label {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(47, 31, 19, 0.6);
  font-weight: 600;
}

.cf-hint {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 400;
  font-style: italic;
  color: rgba(47, 31, 19, 0.5);
  font-size: 11px;
  margin-left: 4px;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  font-family: var(--sans);
  font-size: 14px;
  padding: 12px 14px;
  background: #FFFFFF;
  border: 1px solid rgba(201, 174, 124, 0.4);
  border-radius: 2px;
  color: var(--brun);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cf-field select { cursor: pointer; }
.cf-field textarea { resize: vertical; min-height: 100px; line-height: 1.5; }

.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus {
  outline: none;
  border-color: var(--dore);
  box-shadow: 0 0 0 3px rgba(173, 147, 104, 0.18);
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: rgba(47, 31, 19, 0.35);
}

/* Checkboxes objectifs */
.cf-checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 600px) { .cf-checks { grid-template-columns: 1fr; } }

.cf-check {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(201, 174, 124, 0.4);
  border-radius: 2px;
  font-size: 12.5px;
  line-height: 1.3;
  color: rgba(47, 31, 19, 0.78);
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.2s;
  overflow: hidden;
}

.cf-check input {
  accent-color: var(--dore);
  cursor: pointer;
  width: 16px;
  height: 16px;
  margin: 0;
}

.cf-check span {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

.cf-check:hover {
  border-color: var(--dore);
  color: var(--brun);
}

.cf-check:has(input:checked) {
  border-color: var(--dore-deep);
  background: rgba(173, 147, 104, 0.12);
  color: var(--brun);
  font-weight: 600;
}

.cf-checks.has-error .cf-check {
  border-color: #C0392B;
}

.cf-error {
  font-size: 11.5px;
  color: #C0392B;
  margin: 8px 0 0;
  letter-spacing: 0.02em;
  display: none;
}

.cf-error.show { display: block; }

/* RGPD */
.cf-rgpd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 12px;
  color: rgba(47, 31, 19, 0.7);
  line-height: 1.5;
  cursor: pointer;
}

.cf-rgpd input {
  margin-top: 3px;
  accent-color: var(--dore);
  flex-shrink: 0;
  cursor: pointer;
}

.cf-rgpd .inline-link {
  color: var(--brun);
  border-bottom: 1px solid var(--dore-deep);
  padding-bottom: 1px;
}

/* Submit */
.cf-submit {
  width: 100%;
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--brun);
  color: var(--dore);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  transition: all 0.3s var(--ease);
}

.cf-submit svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }

.cf-submit:hover {
  background: var(--brun-deep);
  color: var(--dore-bright);
  transform: translateY(-1px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.cf-submit:hover svg { transform: translateX(4px); }
.cf-submit:active { transform: translateY(0); }

.cf-submit:disabled,
.cf-submit.is-loading {
  opacity: 0.7;
  cursor: wait;
  transform: none !important;
  box-shadow: none !important;
}

.cf-submit.is-loading svg { animation: cf-submit-spin 1s linear infinite; transform-origin: center; }

@keyframes cf-submit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.cf-submit-error {
  margin-top: 12px;
  padding: 12px 14px;
  background: rgba(194, 65, 51, 0.08);
  border: 1px solid rgba(194, 65, 51, 0.28);
  border-radius: 2px;
  color: #8a2e22;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

.cf-req {
  color: #b8341f;
  font-weight: 600;
  margin-left: 2px;
  font-size: 0.95em;
  line-height: 1;
}

.cf-required-note {
  margin: 6px 0 14px;
  font-size: 12px;
  color: rgba(47, 31, 19, 0.6);
  font-style: italic;
}

.cf-required-note .cf-req {
  font-style: normal;
}

.cf-fallback {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(47, 31, 19, 0.55);
  text-align: center;
  font-style: italic;
}

/* Confirmation après soumission */
.contact-confirm {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  background: var(--creme);
  border: 1px solid rgba(201, 174, 124, 0.45);
  box-shadow: 0 30px 80px -25px rgba(0, 0, 0, 0.5);
}

.cc-mark {
  color: var(--dore-deep);
  font-size: 24px;
  letter-spacing: 0.4em;
  margin-bottom: 24px;
}

.contact-confirm h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  color: var(--brun);
  margin: 0 0 16px;
}

.contact-confirm p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: rgba(47, 31, 19, 0.7);
  margin: 0 auto 32px;
  max-width: 460px;
  line-height: 1.55;
}

.cf-restart {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brun);
  background: transparent;
  border: 1px solid var(--brun);
  padding: 14px 24px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.cf-restart:hover { background: var(--brun); color: var(--creme); }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cf-row.cf-row-2 { grid-template-columns: 1fr; }
}

/* REVEAL */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } .reveal { opacity: 1; transform: none; } }
