@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../assets/fonts/cormorant-garamond-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../assets/fonts/manrope.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* Palette Vision Consulting (+ teintes claires dérivées pour le contraste sur fond sombre) */
:root {
  --night: #33312D;
  --night-deep: #252320;
  --night-darkest: #1D1B19;
  --slate: #333E47;
  --slate-deep: #2A333B;
  --taupe: #5C4F3B;
  --gold: #9B763D;
  --gold-light: #C9A36A;
  --gold-hover: #D9B983;
  --blue: #3D739C;
  --blue-light: #8DB4D3;
  --ivory: #F2ECE1;
  --ivory-muted: #BDB4A6;
  --danger: #E8A792;
  --line: rgba(201, 163, 106, 0.26);
  --line-soft: rgba(242, 236, 225, 0.1);

  --font-display: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --font-serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 8rem);
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
/* Bodoni Moda en optique « texte » : traits fins plus épais, lisibles sur fond sombre (le logo garde l'optique display) */
h1, h2, h3, .case-number { font-variation-settings: "opsz" 18; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: 0; text-wrap: balance; }
h1 em, h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.06em; color: var(--gold-light); letter-spacing: 0; }
p { margin: 0; }
::selection { background: var(--gold-light); color: var(--night-deep); }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.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; z-index: 100; padding: 0.6rem 1rem; background: var(--gold-light); color: var(--night-deep); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }

/* ---------- Éléments communs ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-light);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; }
.eyebrow--center::after { content: ""; width: 2.25rem; height: 1px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.65rem;
  padding: 0.95rem 1.6rem;
  font: 600 0.9375rem/1.2 var(--font-sans); letter-spacing: 0.02em;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.btn .icon { width: 1.1rem; height: 1.1rem; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--gold { background: var(--gold-light); color: var(--night-deep); }
.btn--gold:hover { background: var(--gold-hover); }
.btn--ghost { border-color: var(--line); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold-light); }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-weight: 600; font-size: 0.9375rem; text-decoration: none; color: var(--accent, var(--gold-light));
}
.link-arrow .icon { width: 1.1rem; transition: transform 0.35s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.section { padding: var(--section) 0; position: relative; }
.section--slate { background: var(--slate); }
.section--deep { background: var(--night-deep); }
.section-head { max-width: 56rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-top: 1.25rem; }
.section-head p:not(.eyebrow) { margin-top: 1.25rem; color: var(--ivory-muted); max-width: 38rem; font-size: 1.125rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s, border-color 0.35s;
}
.site-header.is-scrolled { background: rgba(37, 35, 32, 0.88); border-color: var(--line-soft); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.nav-open .site-header { background: var(--night-deep); -webkit-backdrop-filter: none; backdrop-filter: none; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; color: var(--ivory); --logo-accent: var(--gold-light); --logo-stroke: 13; }
.brand svg { height: 60px; width: auto; }
@media (max-width: 600px) { .brand svg { height: 54px; } }

.nav ul { display: flex; align-items: center; gap: 2.25rem; list-style: none; margin: 0; padding: 0; }
.nav li:not(.nav-cta) a { position: relative; padding: 0.4rem 0; font-size: 0.9375rem; color: var(--ivory-muted); text-decoration: none; transition: color 0.3s; }
.nav li:not(.nav-cta) a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-light); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.nav li:not(.nav-cta) a:hover, .nav a.is-active { color: var(--ivory) !important; }
.nav li:not(.nav-cta) a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav-cta { display: none; }
.header-cta { padding: 0.75rem 1.25rem; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); color: var(--ivory); cursor: pointer;
}
.nav-toggle span { width: 18px; height: 1.5px; background: currentColor; transition: transform 0.35s var(--ease); }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; overflow-y: auto;
    padding: 2rem var(--gutter) 3rem; background: var(--night-deep);
    opacity: 0; visibility: hidden; transform: translateY(-0.75rem);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li:not(.nav-cta) a { display: block; padding: 1.1rem 0; border-bottom: 1px solid var(--line-soft); font-family: var(--font-display); font-size: 2rem; color: var(--ivory); }
  .nav li:not(.nav-cta) a::after { display: none; }
  .nav-cta { display: block; margin-top: 2.25rem; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  background: var(--night-deep);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 76% 42%, rgba(155, 118, 61, 0.2), transparent 50%);
}
.hero .container { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(3rem, 7.2vw, 5.75rem); margin: 1.75rem 0; line-height: 1.02; }
.hero-lead { max-width: 33rem; color: var(--ivory-muted); font-size: clamp(1.075rem, 1.4vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-emblem { width: 100%; max-width: 470px; justify-self: end; }

.emblem-ring { fill: none; stroke: var(--line); stroke-width: 1; }
.emblem-ring--dashed { stroke: rgba(201, 163, 106, 0.4); stroke-dasharray: 2 7; transform-box: view-box; transform-origin: center; }
.emblem-horizon { fill: none; stroke: var(--gold); stroke-width: 1; }
.emblem-eye { fill: none; stroke: var(--gold-light); stroke-width: 3.5; stroke-linecap: round; }
.emblem-star { fill: var(--gold-light); transform-box: fill-box; transform-origin: center; }

@media (prefers-reduced-motion: no-preference) {
  .js .emblem-eye, .js .emblem-horizon { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.2s var(--ease) 0.3s forwards; }
  .js .emblem-eye--bottom { animation-delay: 0.65s; }
  .js .emblem-horizon { animation-duration: 2.8s; animation-delay: 0.1s; }
  .js .emblem-star { opacity: 0; animation: star-in 1.2s var(--ease) 1.7s forwards, star-pulse 6s ease-in-out 3.2s infinite; }
  .emblem-ring--dashed { animation: spin 120s linear infinite; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes star-in { from { opacity: 0; transform: scale(0.3) rotate(-90deg); } to { opacity: 1; transform: none; } }
@keyframes star-pulse { 50% { transform: scale(1.14); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-horizon {
  display: flex; justify-content: space-between; gap: 1rem;
  list-style: none; margin: clamp(3rem, 7vw, 5rem) 0 0; padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}
.hero-horizon li { display: flex; align-items: baseline; gap: 0.7rem; font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.hero-horizon span { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; color: var(--gold-light); }

@media (max-width: 960px) {
  .hero { min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-emblem { position: absolute; right: -24%; top: 4%; width: min(80vw, 440px); opacity: 0.16; pointer-events: none; }
}
@media (max-width: 600px) {
  .hero-horizon { display: grid; grid-template-columns: 1fr 1fr; row-gap: 0.9rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service { position: relative; padding: 3rem 2rem 2.5rem; transition: background-color 0.4s; }
.service + .service { border-left: 1px solid var(--line-soft); }
.service:hover { background: rgba(242, 236, 225, 0.03); }
.service-marker {
  position: absolute; top: 0; left: 1.6rem; transform: translateY(-50%);
  padding: 0 0.4rem; background: var(--night); color: var(--gold-light);
}
.service-marker svg { width: 14px; height: 18px; fill: currentColor; transition: transform 0.5s var(--ease); }
.service:hover .service-marker svg { transform: scale(1.35); }
.service-num { font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.12em; color: var(--gold-light); }
.service h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); margin: 0.9rem 0 1rem; }
.service p { color: var(--ivory-muted); font-size: 1rem; }

@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(3) { border-left: 0; }
  .service:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 0.5rem; }
  .service, .service + .service, .service:nth-child(n+3) { border: 0; padding: 0 0 2.75rem 2rem; }
  .service:last-child { padding-bottom: 0; }
  .service-marker { top: 0.2rem; left: 0; transform: translateX(-50%); padding: 0.3rem 0; }
}

/* ---------- Pour qui ---------- */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.audience {
  --accent: var(--gold-light); --bar: var(--gold);
  position: relative; display: flex; flex-direction: column;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: var(--slate-deep); border: 1px solid rgba(242, 236, 225, 0.08);
  transition: transform 0.5s var(--ease), border-color 0.4s;
}
.audience::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--bar); }
.audience--blue { --accent: var(--blue-light); --bar: var(--blue); }
.audience--ivory { --accent: var(--ivory); --bar: var(--ivory-muted); }
.audience:hover { transform: translateY(-4px); border-color: rgba(242, 236, 225, 0.16); }
.audience-icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; margin-bottom: 1.75rem; border: 1px solid currentColor; border-radius: 50%; color: var(--accent); }
.audience-icon .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.4; }
.audience h3 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
.audience-sub { margin-top: 0.4rem; font-family: var(--font-serif); font-style: italic; font-size: 1.3rem; color: var(--accent); }
.audience-text { margin-top: 1.25rem; color: var(--ivory-muted); }
.checklist { list-style: none; margin: 1.75rem 0 2.25rem; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); }
.audience .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 1000px) { .audiences { grid-template-columns: 1fr; } }

/* ---------- Réalisations ---------- */
.case { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); background: var(--night-deep); border: 1px solid var(--line); }
.case-figure { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 360px; padding: clamp(2.5rem, 5vw, 4rem); border-right: 1px solid var(--line); }
.case-figure::before, .case-figure::after { content: ""; position: absolute; border: 1px solid var(--line); border-radius: 50%; pointer-events: none; }
.case-figure::before { width: 440px; height: 440px; right: -220px; bottom: -220px; }
.case-figure::after { width: 300px; height: 300px; right: -150px; bottom: -150px; border-style: dashed; opacity: 0.6; }
.case-number { position: relative; font-family: var(--font-display); font-size: clamp(4.5rem, 10vw, 8rem); line-height: 0.95; letter-spacing: -0.02em; color: var(--gold-light); white-space: nowrap; }
.case-number--compact { font-size: clamp(3.25rem, 7.2vw, 5.75rem); }
.case-number-plus { font-size: 0.55em; vertical-align: 0.55em; margin-left: 0.06em; color: var(--gold); }
.case-number-unit { font-size: 0.5em; margin-left: 0.12em; color: var(--gold); }
.case-number-label { position: relative; margin-top: 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ivory-muted); }
.case-body { padding: clamp(2rem, 5vw, 4rem); }
.case + .case { margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.case-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.85rem; }
.case-date { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.85rem; border: 1px solid var(--gold); border-radius: 999px; background: rgba(201, 163, 106, 0.1); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); white-space: nowrap; }
.case-date::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-light); }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.tags li { padding: 0.3rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ivory-muted); }
.case-body h3 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); margin: 1.5rem 0 1.1rem; }
.case-body > p { color: var(--ivory-muted); }
.case-body > p + p { margin-top: 1rem; }
.case-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin: 2.25rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line-soft); }
.case-facts dt { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.case-facts dd { margin: 0.35rem 0 0; font-size: 0.975rem; line-height: 1.5; }
.case-next {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem 2rem;
  margin-top: 1.5rem; padding: 1.75rem clamp(1.5rem, 4vw, 2.5rem);
  border: 1px dashed rgba(201, 163, 106, 0.38);
}
.case-next p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.3; }
@media (max-width: 860px) {
  .case { grid-template-columns: 1fr; }
  .case-figure { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) { .case-facts { grid-template-columns: 1fr; } }

/* ---------- Fondateur ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 6.5rem); align-items: center; }
.founder-photo { position: relative; isolation: isolate; margin: 0 1.25rem 1.25rem 0; }
.founder-photo::before { content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; z-index: -1; border: 1px solid var(--gold); }
.founder-photo img { width: 100%; height: auto; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 100%; }
.founder-photo figcaption { position: absolute; left: 0; bottom: 1.5rem; padding: 0.6rem 1rem; background: var(--night-deep); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.founder-text h2 { font-size: clamp(2.6rem, 5vw, 4rem); margin-top: 1.25rem; }
.founder-role { margin-top: 0.4rem; font-family: var(--font-serif); font-style: italic; font-size: 1.35rem; color: var(--gold-light); }
.founder-quote { position: relative; margin: 3rem 0 0; }
.founder-quote::before { content: "\201C"; position: absolute; left: -0.08em; top: -0.5em; font-family: var(--font-serif); font-size: 7rem; line-height: 1; color: var(--gold); opacity: 0.55; }
.founder-quote p:first-child { position: relative; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.4rem, 2.3vw, 1.8rem); line-height: 1.45; color: var(--ivory); }
.founder-quote p + p { margin-top: 1.5rem; color: var(--ivory-muted); }
.founder-sign { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; color: var(--gold-light); }
.founder-sign::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 400px; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-aside h2 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin-top: 1.25rem; }
.contact-aside > p:not(.eyebrow) { margin-top: 1.25rem; color: var(--ivory-muted); font-size: 1.125rem; }
.contact-direct { margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--line-soft); }
.contact-direct span { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory-muted); }
.contact-direct a { display: inline-block; margin-top: 0.5rem; font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--gold-light); text-decoration-color: var(--line); text-underline-offset: 0.3em; overflow-wrap: anywhere; }
.contact-direct a:hover { text-decoration-color: var(--gold-light); }

.form-card { background: var(--night); border: 1px solid var(--line-soft); padding: clamp(1.5rem, 4vw, 3rem); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { padding: 0; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.03em; color: var(--ivory); }
.field legend { margin-bottom: 0.5rem; }
.req { color: var(--gold-light); }
.optional { font-weight: 400; color: var(--ivory-muted); }
.form input:not([type="radio"]):not([type="checkbox"]), .form select, .form textarea {
  width: 100%; padding: 0.85rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ivory);
  background: rgba(242, 236, 225, 0.04); border: 1px solid rgba(242, 236, 225, 0.18); border-radius: 2px;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}
.form textarea { min-height: 9rem; resize: vertical; }
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23C9A36A' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem;
}
.form select option { background: var(--night); color: var(--ivory); }
.form ::placeholder { color: rgba(242, 236, 225, 0.38); }
.form input:hover, .form select:hover, .form textarea:hover { border-color: rgba(242, 236, 225, 0.3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold-light); background-color: rgba(242, 236, 225, 0.06); box-shadow: 0 0 0 3px rgba(201, 163, 106, 0.18); }

.choices { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-block; padding: 0.6rem 1.05rem; border: 1px solid rgba(242, 236, 225, 0.18); border-radius: 999px; font-size: 0.9rem; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.choice input:hover + span { border-color: rgba(242, 236, 225, 0.35); }
.choice input:checked + span { background: var(--gold-light); border-color: var(--gold-light); color: var(--night-deep); font-weight: 600; }
.choice input:focus-visible + span { outline: 2px solid var(--blue-light); outline-offset: 2px; }

.consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.875rem; font-weight: 400 !important; letter-spacing: 0 !important; line-height: 1.55; color: var(--ivory-muted) !important; cursor: pointer; }
.consent input { flex: none; width: 1.1rem; height: 1.1rem; margin: 0.15rem 0 0; accent-color: var(--gold-light); cursor: pointer; }
.consent a { color: var(--ivory); text-underline-offset: 0.2em; }

.error-msg { font-size: 0.8125rem; color: var(--danger); }
.error-msg:empty { display: none; }
.has-error input:not([type="radio"]):not([type="checkbox"]), .has-error textarea, .has-error select { border-color: var(--danger) !important; }
.has-error .choice span { border-color: rgba(232, 167, 146, 0.6); }

.form-footer { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.form-note { font-size: 0.8125rem; color: var(--ivory-muted); }
.form-status { grid-column: 1 / -1; font-size: 0.9rem; color: var(--danger); }
.form-status:empty { display: none; }
.honeypot { position: absolute; left: -9999px; }

.form-success { text-align: center; padding: clamp(1.5rem, 5vw, 3rem) 0; }
.form-success svg { width: 26px; height: 32px; margin: 0 auto 1.5rem; fill: var(--gold-light); }
.form-success h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.form-success h3:focus { outline: none; }
.form-success p { margin: 1rem auto 0; max-width: 28rem; color: var(--ivory-muted); }

@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } .form-footer .btn { width: 100%; } }

/* ---------- Pied de page ---------- */
.site-footer { padding: clamp(3.5rem, 7vw, 5rem) 0 2rem; background: var(--night-darkest); border-top: 1px solid var(--line-soft); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
.footer-logo { display: inline-block; color: var(--ivory); --logo-accent: var(--gold-light); --logo-stroke: 10; }
.footer-logo svg { width: 250px; height: auto; }
.footer-title { margin-bottom: 1rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-links a { color: var(--ivory-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.3s; overflow-wrap: anywhere; }
.footer-links a:hover { color: var(--ivory); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); font-size: 0.8125rem; color: var(--ivory-muted); }
.footer-bottom a { color: inherit; text-underline-offset: 0.2em; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pages secondaires ---------- */
body.subpage { display: flex; flex-direction: column; min-height: 100vh; }
body.subpage main { flex: 1; }
.page { padding: calc(var(--header-h) + clamp(3rem, 8vw, 5rem)) 0 var(--section); background: var(--night-deep); min-height: 70vh; }
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); margin: 1.25rem 0 1rem; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 3rem 0 1rem; padding-top: 2rem; border-top: 1px solid var(--line-soft); }
.legal-num { display: block; margin-bottom: 0.6rem; font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.12em; color: var(--gold-light); }
.legal-date { font-size: 0.9rem; letter-spacing: 0.04em; }
.legal p, .legal li { color: var(--ivory-muted); }
.legal li + li { margin-top: 0.4rem; }
.legal .link-arrow { margin-top: 0.4rem; }
.legal p + p { margin-top: 0.9rem; }
.legal ul { padding-left: 1.2rem; }
.legal strong { color: var(--ivory); font-weight: 600; }
.legal a { color: var(--gold-light); }
.todo { padding: 0 0.35rem; background: rgba(201, 163, 106, 0.16); color: var(--gold-light); border-radius: 2px; }
.thanks { text-align: center; display: grid; place-items: center; }
.thanks svg.star { width: 30px; height: 38px; fill: var(--gold-light); margin: 0 auto 2rem; }
.thanks h1 { font-size: clamp(2.4rem, 5vw, 3.75rem); }
.thanks p:not(.eyebrow) { margin: 1.25rem auto 2.5rem; max-width: 32rem; color: var(--ivory-muted); font-size: 1.125rem; }

/* ---------- Apparition au défilement ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal-delay-1 { transition-delay: 0.1s; }
  .js .reveal-delay-2 { transition-delay: 0.2s; }
  .js .reveal-delay-3 { transition-delay: 0.3s; }
}
@media (max-width: 480px) { .header-back { padding: 0.6rem 0.9rem; font-size: 0.85rem; } }
