/* ==========================================================================
   VECTORA — Design tokens
   ========================================================================== */
:root {
  --noir:        #050505;
  --noir-2:      #0B0B0B;
  --or:          #C9A86A;
  --or-clair:    #DCC08C;
  --or-dim:      rgba(201, 168, 106, 0.5);
  --ligne:       rgba(255, 255, 255, 0.08);
  --ligne-or:    rgba(201, 168, 106, 0.18);
  --blanc:       #FFFFFF;
  --blanc-dim:   rgba(255, 255, 255, 0.72);
  --gris:        rgba(255, 255, 255, 0.62);
  --alerte:      #E2897C;

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Inter', sans-serif;

  --container-w: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
/* Smooth scroll is handled by Lenis (see js/script.js); native scroll-behavior
   is intentionally left out to avoid the two systems fighting each other. */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Film grain — a very light static texture over the whole page, no animation,
   kept subtle enough to read as "quality print" rather than a visible effect. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Headings default to Inter — the serif display face is reserved for the
   hero H1 and a small number of signature accents (slogan, offer taglines),
   kept deliberately, not applied broadly. */
h1, h2, h3 {
  font-family: var(--font-body);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  color: var(--blanc);
  letter-spacing: -0.01em;
}

h1 { font-family: var(--font-display); font-weight: 600; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 700px; margin-bottom: 1.5rem; }
h3 { font-size: 1.375rem; font-weight: 600; margin-bottom: 0.6rem; letter-spacing: -0.005em; }
p { margin: 0 0 1rem; color: var(--blanc-dim); font-weight: 400; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, textarea { font-family: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 720px; }

@media (min-width: 700px) {
  .container { padding: 0 24px; }
}
@media (min-width: 1024px) {
  .container { padding: 0 48px; }
}

.section {
  position: relative;
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--ligne);
}
@media (min-width: 700px) {
  .section { padding: 7rem 0; }
}
@media (min-width: 1100px) {
  .section { padding: 8.75rem 0; }
}

/* Small gold label — "ATHLETE WEALTH OS" style eyebrow */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--or);
  margin-bottom: 1.25rem;
}

/* Section subtitle — the calmer paragraph that follows an h2 */
.section-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gris);
  max-width: 650px;
}

/* ==========================================================================
   Buttons — few, pill-shaped, gold, understated on hover
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 2.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--or);
  color: var(--noir);
}
.btn--primary:hover { background: var(--or-clair); }

.btn--ghost {
  border-color: var(--ligne);
  color: var(--blanc);
}
.btn--ghost:hover { border-color: var(--or-dim); background: rgba(201, 168, 106, 0.06); }

.btn--small { height: 44px; padding: 0 1.5rem; font-size: 0.78rem; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ligne);
  transition: background-color 0.5s var(--ease);
}
.nav--scrolled { background: rgba(5, 5, 5, 0.92); }
.nav__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 1.15rem 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.5s var(--ease);
}
.nav--scrolled .nav__inner { padding: 0.7rem 20px; }
@media (min-width: 700px) {
  .nav__inner { padding-left: 24px; padding-right: 24px; }
}
@media (min-width: 1024px) {
  .nav__inner { padding-left: 48px; padding-right: 48px; }
}
.nav__logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--blanc);
}
.nav__logo-img {
  height: 54px;
  width: auto;
  display: block;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 2.2rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.nav__links a { position: relative; color: var(--blanc-dim); transition: color 0.3s var(--ease); }
.nav__links a:hover { color: var(--or); }
.nav__links a:not(.nav__cta):not(.nav-account)::after {
  content: '';
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--or);
  transition: width 0.4s var(--ease);
}
.nav__links a:not(.nav__cta):not(.nav-account):hover::after { width: 100%; }
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--or-dim);
  height: 40px;
  padding: 0 1.2rem;
  border-radius: 999px;
  color: var(--blanc) !important;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.nav__cta:hover { border-color: var(--or); background: rgba(201, 168, 106, 0.08); }
.nav-divider {
  width: 1px;
  height: 16px;
  background: var(--ligne-or);
  flex-shrink: 0;
}
.nav__links a.nav-account {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blanc);
  font-size: 14.5px;
  font-weight: 400;
  position: relative;
  padding-bottom: 3px;
}
.nav-account svg { opacity: 0.85; }
.nav__links a.nav-account::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--or);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a.nav-account:hover::after { transform: scaleX(1); }
.nav__links a.nav-account:hover { color: var(--or); }
.nav__back {
  font-size: 0.85rem;
  color: var(--blanc-dim);
  transition: color 0.3s var(--ease);
}
.nav__back:hover { color: var(--or); }

.nav__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}
.nav__burger span {
  width: 22px; height: 1px;
  background: var(--blanc);
  transition: all 0.3s var(--ease);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav__mobile {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--noir-2);
  transition: max-height 0.4s var(--ease);
}
.nav__mobile.open { max-height: 400px; }
.nav__mobile a {
  padding: 1rem 20px;
  border-top: 1px solid var(--ligne);
  font-size: 0.95rem;
  color: var(--blanc-dim);
}
.nav__mobile a.nav-account {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--blanc);
  border-top: 1px solid var(--ligne-or);
}
.nav__mobile a.nav-account svg { opacity: 0.85; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav__mobile { display: none; }
}

/* ==========================================================================
   Hero — signature moment: animated V trajectory
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 20px 5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--ligne);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(5, 5, 5, 0.55), rgba(5, 5, 5, 0.8)),
    url('../assets/hero-bg-mobile.jpg');
  background-size: cover;
  background-position: center;
}
@media (min-width: 700px) {
  .hero__bg {
    background-image:
      linear-gradient(rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.78)),
      url('../assets/hero-bg.jpg');
  }
}
.hero__content { position: relative; z-index: 1; max-width: 760px; }

/* H1 — the one deliberate serif moment on the page */
.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.625rem, 7vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--blanc);
  margin-bottom: 1.75rem;
}
.hero__title em {
  font-style: italic;
  color: var(--or-clair);
}
.hero__slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--or);
  max-width: 650px;
  margin: 0 auto 2.6rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1px; height: 42px;
  background: linear-gradient(var(--or), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ==========================================================================
   Problématique
   ========================================================================== */
.problem__lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gris);
  max-width: 700px;
}
.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.problem__mark {
  display: block;
  color: var(--or);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.problem__card h3 { font-size: 1.375rem; }
.problem__card p { max-width: 42ch; font-size: 1rem; line-height: 1.7; }
.problem__card {
  padding: 1.75rem;
  border: 1px solid transparent;
  border-radius: 30px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.problem__card:hover {
  transform: translateY(-4px);
  border-color: var(--ligne);
  box-shadow: 0 20px 40px -32px rgba(0,0,0,0.5);
}

@media (min-width: 700px) {
  .problem__grid { grid-template-columns: 1fr 1fr; gap: 3rem 2.5rem; }
}

/* ==========================================================================
   Solution
   ========================================================================== */
.solution h2 { max-width: none; }
.solution__lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--gris);
  max-width: none;
}
.solution__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--blanc-dim);
  max-width: none;
}
.solution__accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--or-clair);
  font-size: 1.3rem;
  max-width: none;
}
.solution__diagram {
  max-width: 1040px;
  margin: 3rem auto 0;
}
.solution__diagram svg {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 699px) {
  .solution__diagram {
    max-width: none;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }
}
.diagram__link {
  fill: none;
  stroke: var(--or-dim);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.diagram__dot { fill: var(--or); }
.diagram__eyebrow {
  fill: var(--or);
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-anchor: middle;
}
.diagram__label {
  fill: var(--blanc);
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-anchor: middle;
}
.diagram__wordmark {
  fill: var(--or);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-anchor: middle;
}
.diagram__divider { stroke: var(--ligne); stroke-width: 2; }
.diagram__closing {
  fill: var(--blanc-dim);
  font-family: var(--font-body);
  font-size: 32px;
  font-weight: 400;
  text-anchor: middle;
}
.diagram__closing-accent {
  fill: var(--or);
  font-family: var(--font-body);
  font-size: 33px;
  font-weight: 600;
  text-anchor: middle;
}

/* ==========================================================================
   Comment ça marche
   ========================================================================== */
.how__pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.how__pillar {
  padding: 2.75rem;
  border: 1px solid var(--ligne);
  border-radius: 30px;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.how__pillar:hover {
  border-color: var(--or-dim);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -32px rgba(0,0,0,0.5);
}
.how__pillar p { font-size: 1rem; line-height: 1.7; max-width: 60ch; }
.how__index {
  display: inline-block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--or);
  margin-bottom: 1.1rem;
}

/* Plateforme technologique + Accompagnement humain — showcase pillars with a real visual */
.how__pillar--platform,
.how__pillar--human {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--noir-2);
  border-color: var(--or-dim);
}
.how__pillar--platform .how__pillar-text,
.how__pillar--human .how__pillar-text { padding: 2.75rem 2.75rem 0.5rem; }
.how__pillar--platform .how__pillar-text p,
.how__pillar--human .how__pillar-text p { max-width: 46ch; }
.how__pillar-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--or-clair);
  font-size: 1.15rem;
  margin-top: 0.5rem;
}
.how__pillar-media { line-height: 0; }
.how__pillar-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 1024px) {
  .how__pillar--platform,
  .how__pillar--human { flex-direction: row; align-items: stretch; }
  .how__pillar--platform .how__pillar-text,
  .how__pillar--human .how__pillar-text {
    flex: 1 1 45%;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .how__pillar-media { flex: 1 1 55%; max-height: 460px; }
}

/* ==========================================================================
   Offres
   ========================================================================== */
.offers__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 3.5rem;
}
.offer-card {
  position: relative;
  padding: 2.6rem 2.2rem;
  border: 1px solid var(--ligne);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease);
}
.offer-card:not(.offer-card--featured):hover {
  transform: translateY(-6px);
}
.offer-card--featured {
  border-color: var(--or-dim);
  background: var(--noir-2);
  animation: offer-glow 4s ease-in-out infinite;
}
.offer-card--featured:hover { transform: translateY(-6px); }
@keyframes offer-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(201, 168, 106, 0.08); }
  50%      { box-shadow: 0 0 24px 1px rgba(201, 168, 106, 0.18); }
}
.offer-card__tag {
  position: absolute;
  top: -0.75rem; left: 2.2rem;
  background: var(--or);
  color: var(--noir);
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}
.offer-card__icon {
  color: var(--or);
  width: 34px;
  height: 34px;
  margin-bottom: 1.1rem;
}
.offer-card__icon svg { width: 100%; height: 100%; }
/* Signature accent — one of the very few remaining serif italic touches */
.offer-card__goal {
  color: var(--or-clair);
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
}
.offer-card__list { margin-bottom: 2rem; flex-grow: 1; }
.offer-card__list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--ligne);
  font-size: 0.92rem;
  color: var(--blanc-dim);
}
.offer-card__list li:first-child { border-top: none; }
.offer-card__check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--or);
}
.offer-card .btn { align-self: flex-start; }

@media (min-width: 900px) {
  .offers__grid { grid-template-columns: repeat(3, 1fr); }
  .offer-card--featured { transform: translateY(-0.75rem); }
  .offer-card--featured:hover { transform: translateY(-1.125rem); }
}

/* ==========================================================================
   Pourquoi VECTORA
   ========================================================================== */
.why__list { margin-top: 3.5rem; }
.why__item {
  padding: 2.25rem 0;
  border-top: 1px solid var(--ligne);
  display: grid;
  gap: 0.4rem;
  transition: background-color 0.5s var(--ease), padding-left 0.5s var(--ease);
}
.why__item p { font-size: 1rem; line-height: 1.7; }
.why__mark { color: var(--or); font-weight: 600; margin-right: 0.35rem; }
.why__item-lead { color: var(--blanc); font-weight: 600; }
.why__item:hover {
  background: rgba(201, 168, 106, 0.04);
  padding-left: 0.75rem;
}
.why__item:last-child { border-bottom: 1px solid var(--ligne); }

@media (min-width: 700px) {
  .why__item { grid-template-columns: 1fr 2fr; align-items: start; gap: 2rem; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__list {
  margin-top: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq__item {
  border: 1px solid var(--ligne);
  border-radius: 24px;
  background: var(--noir-2);
  padding: 0 1.75rem;
}
.faq .eyebrow { text-align: center; }
.faq h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blanc);
  gap: 1rem;
}
.faq__icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--or);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq__answer p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--blanc-dim);
  font-weight: 400;
}
.faq__answer ul {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq__answer ul li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--blanc-dim);
  font-size: 1rem;
  line-height: 1.6;
}
.faq__answer ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blanc-dim);
}
.faq__answer p:last-child { margin-bottom: 0; padding-bottom: 1.75rem; }
.faq__answer ul:last-child { padding-bottom: 1.75rem; margin-bottom: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: 4rem 0 3rem; }
@media (min-width: 1024px) {
  .contact { padding: 3.25rem 0 2.75rem; }
}
.contact .eyebrow { text-align: center; }
.contact h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.contact__lead {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--gris);
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}
.contact__form {
  margin: 2rem auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem 1.25rem;
}
.contact__form > .btn, .contact__form > .contact__status, .field--full, .field--checkbox {
  grid-column: 1 / -1;
}
@media (min-width: 700px) {
  .contact__form { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gris);
}
.field input, .field textarea, .field select {
  background: var(--noir-2);
  border: 1px solid var(--ligne);
  color: var(--blanc);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border-radius: 14px;
  transition: border-color 0.3s var(--ease);
  resize: vertical;
  width: 100%;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23C9A86A' stroke-width='1.5'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.6rem;
}
.field select option { background: var(--noir-2); color: var(--blanc); }
.field select:invalid { color: var(--gris); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--or);
}

/* Error state — replaces native validation bubbles, matches dark theme */
.field--error input, .field--error textarea, .field--error select {
  border-color: var(--alerte);
}
.field__error {
  display: none;
  font-size: 0.8rem;
  color: var(--alerte);
}
.field--error .field__error { display: block; }

/* Checkbox — fully custom box + checkmark, drawn in CSS so it renders
   identically everywhere instead of relying on native accent-color support. */
.field--checkbox { gap: 0.75rem; }
.checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}
.checkbox input {
  position: absolute;
  top: 0.15rem;
  left: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.checkbox__box {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  border: 1px solid var(--ligne);
  border-radius: 4px;
  background: var(--noir-2);
  transition: border-color 0.2s var(--ease);
}
.checkbox__box::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--or);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.15s var(--ease);
}
.checkbox input:checked ~ .checkbox__box { border-color: var(--or); }
.checkbox input:checked ~ .checkbox__box::after { opacity: 1; }
.checkbox input:focus-visible ~ .checkbox__box {
  outline: 2px solid var(--or);
  outline-offset: 3px;
}
.checkbox__label {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--blanc-dim);
  text-transform: none;
  letter-spacing: normal;
}
.field--checkbox.field--error .checkbox__label { color: var(--alerte); }

/* Honeypot — visually hidden, kept in the tab/DOM flow so bots that scan the
   DOM still find and fill it, but no human ever sees or reaches it. */
.field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact__form .btn { align-self: flex-start; }
.contact__form .btn[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
}
.contact__status {
  font-size: 0.85rem;
  color: var(--or);
  min-height: 1.2em;
}
.contact__status[data-state="error"] { color: var(--alerte); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { padding: 4rem 0 0; }
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--ligne);
}
.footer__logo-img {
  height: 68px;
  width: auto;
  display: block;
  margin-bottom: 0.6rem;
}
.footer__slogan {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gris);
  font-size: 0.95rem;
  margin: 0;
}
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a {
  font-size: 0.85rem;
  color: var(--blanc-dim);
  transition: color 0.25s var(--ease);
}
.footer__links a:hover { color: var(--or); }
.footer__legal {
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--gris);
  border-top: 1px solid var(--ligne);
}
.footer__legal a { color: var(--gris); }
.footer__legal a:hover { color: var(--or); }

/* ==========================================================================
   Bandeau de consentement (Google Analytics)
   Discret, ancré en bas, même famille de composants que le reste (fond
   noir-2, filet or, boutons .btn existants) — pas un popup intrusif.
   ========================================================================== */
.consent-banner {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  background: var(--noir-2);
  border-top: 1px solid var(--ligne-or);
  padding: 1.5rem 0;
}
.consent-banner[hidden] { display: none; }

.consent-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.consent-banner__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--gris);
  max-width: 640px;
}
.consent-banner__text a { color: var(--or); text-decoration: underline; text-underline-offset: 2px; }
.consent-banner__text a:hover { color: var(--or-clair); }

/* Refuser / Accepter : même classe .btn, même taille (.btn--small) — poids
   visuel strictement égal, seul le remplissage (ghost vs primary) diffère. */
.consent-banner__actions { display: flex; gap: 0.75rem; flex-shrink: 0; }

@media (min-width: 700px) {
  .consent-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

/* ==========================================================================
   Mentions légales
   ========================================================================== */
.legal { padding-top: 8rem; }
.legal h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin: 0.5rem 0 3rem;
}
.legal__block { padding: 1.75rem 0; border-top: 1px solid var(--ligne); }
.legal__block:last-child { border-bottom: 1px solid var(--ligne); }
.legal__block h2 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.legal__block p { font-size: 0.95rem; line-height: 1.7; margin: 0; }
.legal__block p + p { margin-top: 0.75rem; }
.legal__block a { color: var(--or); }
.legal__block a:hover { text-decoration: underline; }

@media (min-width: 700px) {
  .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .footer__legal { flex-direction: row; justify-content: space-between; }
}

/* ==========================================================================
   Scroll reveal
   The .reveal class is just a marker used by GSAP/ScrollTrigger in js/script.js.
   No CSS hidden-by-default state on purpose: if the animation libraries fail
   to load for any reason, content still displays normally (no invisible page).
   ========================================================================== */
