/* ═══════════════════════════════════════════════════════
   Design Tokens — Twin Brand System · Les Locomotives
═══════════════════════════════════════════════════════ */
:root {
  /* ── Colors ── */
  --c-deep:  #290606;   /* brand deep — fond principal */
  --c-red:   #671e1e;   /* brand red  — accent secondaire */
  --c-gold:  #ad8d50;   /* brand gold — accent primaire */
  --c-white: #ffffff;   /* blanc      — texte principal */
  --c-black: #000000;   /* noir       — texte sur fond clair */

  /* ── Typography ── */
  --f-first: 'Perandory Condensed', Georgia, serif;    /* FIRST — titres display */
  --f-text:  'Montserrat', system-ui, sans-serif;           /* Texte — corps & UI */
  --f-class: 'Luxurious Script', Georgia, cursive;     /* Class — accent décoratif */
}

/* ═══════════════════════════════════════════════════════
   @font-face — Fonts locales
═══════════════════════════════════════════════════════ */
@font-face {
  font-family: 'Perandory Condensed';
  src: url('public/fonts/Perandory-Semi-Condensed.otf') format('opentype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Luxurious Script';
  src: url('public/fonts/LuxuriousScript-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ═══════════════════════════════════════════════════════
   Reset
═══════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  min-height: 100%;
  font-family: var(--f-text);
  background: var(--c-deep);
  color: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════════════════
   Hero — 2 colonnes
═══════════════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 5rem;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(103, 30, 30, 0.7) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(103, 30, 30, 0.25) 0%, transparent 50%),
    var(--c-deep);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1080px;
  width: 100%;
  align-items: center;
}

/* ── Colonne gauche ── */
.hero__left {
  display: flex;
  flex-direction: column;
}

.hero__brand {
  display: block;
  font-family: var(--f-text);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 2.75rem;
}

/* Texte d'ouverture — Montserrat Light */
.hero__opener-block {
  margin-bottom: 1.75rem;
}

.hero__opener {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 0.25rem;
  letter-spacing: 0.01em;
}

.hero__opener--sub {
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 0;
}

/* Titre display — Perandory Condensed, or vieilli */
.hero__title {
  font-family: var(--f-first);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  /* Dégradé or vieilli, inspiré de l'identité FC */
  background: linear-gradient(
    168deg,
    #e8c96a 0%,
    #c9a32b 18%,
    #f0d878 32%,
    #ad8d50 48%,
    #e4c45a 62%,
    #9a7018 76%,
    #c5a030 88%,
    #7a5508 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Description */
.hero__desc {
  font-family: var(--f-text);
  font-size: 0.975rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.58);
  margin-bottom: 1.75rem;
  max-width: 440px;
}

.hero__desc strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* Badge urgence */
.hero__urgency {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-text);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--c-gold);
  background: rgba(173, 141, 80, 0.09);
  border: 1px solid rgba(173, 141, 80, 0.28);
  border-radius: 999px;
  padding: 0.48rem 1.1rem;
  margin-bottom: 2.25rem;
  width: fit-content;
}

.hero__urgency-icon { font-style: normal; }

/* CTA — gradient or vieilli + halo au survol */
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  padding: 0.9rem 2rem;
  background: linear-gradient(
    135deg,
    #d4a829 0%,
    #f0d878 35%,
    #c9a32b 58%,
    #9a7018 100%
  );
  color: #2a1500;
  font-family: var(--f-text);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-decoration: none;
  border-radius: 8px;
  box-shadow:
    0 2px 12px rgba(173, 141, 80, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition:
    box-shadow 0.35s ease,
    transform   0.2s ease;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(240, 216, 120, 0.5),
    0 0 22px rgba(212, 168, 41, 0.6),
    0 0 55px rgba(173, 141, 80, 0.32),
    0 8px 28px rgba(0, 0, 0, 0.45);
}

/* Enveloppe — blur parallax */
.hero__cta-group {
  position: relative;
  width: fit-content;
  padding-bottom: 3.5rem;
}

.hero__envelope-wrap {
  position: absolute;
  bottom: 0;
  right: -0.5rem;
}

.hero__envelope {
  height: 80px;
  width: auto;
  display: block;
  transform: rotate(-10deg);
  will-change: filter;
}

/* ── Colonne droite — photo ── */
.hero__right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__photo {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3 / 4;
  border: 1.5px dashed rgba(173, 141, 80, 0.32);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 50% 20%, rgba(173, 141, 80, 0.07) 0%, transparent 65%),
    rgba(103, 30, 30, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* coin doré décoratif */
.hero__photo::before,
.hero__photo::after {
  content: '';
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(173, 141, 80, 0.5);
  border-style: solid;
}
.hero__photo::before {
  top: 16px; left: 16px;
  border-width: 1.5px 0 0 1.5px;
  border-radius: 4px 0 0 0;
}
.hero__photo::after {
  bottom: 16px; right: 16px;
  border-width: 0 1.5px 1.5px 0;
  border-radius: 0 0 4px 0;
}

.hero__photo-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero__photo-icon {
  width: 56px;
  height: 56px;
  color: rgba(173, 141, 80, 0.35);
}

.hero__photo-label {
  font-family: var(--f-class);
  font-size: 1.4rem;
  color: rgba(173, 141, 80, 0.55);
}

.hero__photo-hint {
  font-family: var(--f-text);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .hero {
    padding: 7rem 2rem 5rem;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__right { order: -1; }

  .hero__photo {
    max-width: 260px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }

  .hero__photo::before,
  .hero__photo::after { display: none; }

  .hero__title { font-size: clamp(2.5rem, 12vw, 4rem); }
}

/* ═══════════════════════════════════════════════════════
   Section 2 — Tu te reconnais ?
═══════════════════════════════════════════════════════ */
.recognition {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 9rem 5rem 9rem;
  border-top: 1px solid rgba(173, 141, 80, 0.1);
  background:
    radial-gradient(ellipse at 85% 15%, rgba(103, 30, 30, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 80%, rgba(103, 30, 30, 0.3) 0%, transparent 45%),
    linear-gradient(rgba(41, 6, 6, 0.58), rgba(41, 6, 6, 0.58)),
    url('charte-graphique/Siege_fond.png') center / cover no-repeat;
}

/* ── Badge tournant ── */
.recognition__badge-wrap {
  position: absolute;
  top: 0;
  right: 40px;
  width: 224px;
  height: 224px;
  border-radius: 50%;
  background: var(--c-deep);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(173, 141, 80, 0.3),
    0 8px 40px rgba(0, 0, 0, 0.55),
    0 0 25px rgba(173, 141, 80, 0.15);
  animation: badge-spin 22s linear infinite;
  z-index: 10;
}

.recognition__badge {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes badge-spin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

/* ── Contenu ── */
.recognition__inner {
  max-width: 660px;
  width: 100%;
}

/* Badge intro */
.recognition__pre {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--c-gold);
  background: rgba(173, 141, 80, 0.08);
  border: 1px solid rgba(173, 141, 80, 0.28);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  margin-bottom: 2rem;
}

/* Titre principal — même style or vieilli que hero */
.recognition__title {
  font-family: var(--f-first);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 2.75rem;
  background: linear-gradient(
    168deg,
    #e8c96a 0%,
    #c9a32b 18%,
    #f0d878 32%,
    #ad8d50 48%,
    #e4c45a 62%,
    #9a7018 76%,
    #c5a030 88%,
    #7a5508 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Lead */
.recognition__intro {
  font-family: var(--f-text);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

/* ── Liste ── */
.recognition__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3.5rem;
}

.recognition__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-family: var(--f-text);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(173, 141, 80, 0.08);
}

.recognition__item:first-child {
  border-top: 1px solid rgba(173, 141, 80, 0.08);
}

.recognition__diamond {
  color: var(--c-gold);
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 0.5em;
  opacity: 0.9;
  letter-spacing: 0;
}

/* ── Phrase de clôture ── */
.recognition__closing {
  font-family: var(--f-class);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 2rem;
  position: relative;
}

.recognition__closing::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.4;
  margin-bottom: 1.5rem;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .recognition {
    padding: 7rem 2rem;
  }

  .recognition__badge-wrap {
    width: 140px;
    height: 140px;
    top: 0;
    right: 20px;
  }
}

/* ═══════════════════════════════════════════════════════
   Timeline
═══════════════════════════════════════════════════════ */
.timeline {
  display: flex;
  justify-content: center;
  padding: 9rem 2rem 11rem;
}

.timeline__track {
  position: relative;
  width: 100%;
  max-width: 680px;
  padding-left: 64px;
}

/* ligne — se dessine via JS (height: 0 → height: Npx) */
.timeline__line {
  position: absolute;
  top: 0;
  left: 27px;            /* centre de la piste */
  width: 1px;
  height: 0;             /* piloté par JS */
  background: linear-gradient(
    to bottom,
    var(--c-gold),
    rgba(173, 141, 80, 0.15)
  );
  will-change: height;
}

/* ── Item ── */
.timeline__item {
  position: relative;
  padding-bottom: 9rem;
  opacity: 0;
  transform: translateY(44px);
  transition:
    opacity   0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.timeline__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline__item:last-child { padding-bottom: 0; }

/* dot — centré sur la ligne
   calcul : left(ligne)=27 − rayon(5) − padding-left(64) = −42px */
.timeline__dot {
  position: absolute;
  left: -42px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow:
    0 0 0 4px rgba(173, 141, 80, 0.14),
    0 0 14px rgba(173, 141, 80, 0.28);
}

/* ── Badge HERA ── */
.timeline__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--c-gold);
  font-family: var(--f-text);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline__badge-icon { display: block; flex-shrink: 0; }

/* ── Titre ── */
.timeline__title {
  font-family: var(--f-first);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 1.3rem;
  color: var(--c-white);
}

/* ── Texte ── */
.timeline__text {
  font-family: var(--f-text);
  font-size: 0.975rem;
  font-weight: 300;
  line-height: 1.78;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2.25rem;
  max-width: 520px;
}

/* ── Bouton ── */
.timeline__cta {
  display: block;
  min-width: 268px;
  width: fit-content;
  padding: 0.85rem 2rem;
  background: var(--c-gold);
  color: var(--c-black);
  font-family: var(--f-text);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border-radius: 7px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.timeline__cta:hover {
  opacity: 0.86;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════
   Outro
═══════════════════════════════════════════════════════ */
.outro {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(173, 141, 80, 0.1);
}

.outro__text {
  font-family: var(--f-class);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--c-gold);
  margin-bottom: 1rem;
}

.outro__brand {
  font-family: var(--f-text);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

/* ═══════════════════════════════════════════════════════
   Testimonials — draggable scatter cards
═══════════════════════════════════════════════════════ */
.testimonials {
  padding: 8rem 2rem 10rem;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 4.5rem;
}

.testimonials__kicker {
  display: block;
  font-family: var(--f-text);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1rem;
}

.testimonials__title {
  font-family: var(--f-first);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--c-white);
  margin-bottom: 0.75rem;
}

.testimonials__hint {
  font-family: var(--f-text);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.06em;
}

/* ── Canvas ── */
.testi-canvas {
  position: relative;
  height: 740px;
  user-select: none;
}

/* ── Card ── */
.testi-card {
  position: absolute;
  width: 292px;
  padding: 1.5rem;
  background: linear-gradient(
    145deg,
    rgba(103, 30, 30, 0.52),
    rgba(41, 6, 6, 0.88)
  );
  border: 1px solid rgba(173, 141, 80, 0.22);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.45);
  cursor: grab;
  z-index: 10;
  touch-action: none;
}

.testi-card.is-dragging {
  cursor: grabbing;
}

/* ── En-tête card ── */
.testi-card__top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

/* Photo placeholder — monogramme */
.testi-card__avatar {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-red), var(--c-deep));
  border: 1.5px solid rgba(173, 141, 80, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-class);
  font-size: 1.5rem;
  color: var(--c-gold);
  line-height: 1;
  padding-top: 4px;
}

.testi-card__meta {
  padding-top: 4px;
}

.testi-card__name {
  font-family: var(--f-text);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-gold);
  margin-bottom: 2px;
}

.testi-card__role {
  font-family: var(--f-text);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 3px;
}

.testi-card__stars {
  font-size: 0.72rem;
  color: var(--c-gold);
  letter-spacing: 0.05em;
  opacity: 0.85;
}

/* ── Quote ── */
.testi-card__quote {
  font-family: var(--f-first);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--c-white);
  margin-bottom: 0.85rem;
}

/* ── Corps ── */
.testi-card__body {
  font-family: var(--f-text);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.52);
}

/* Mobile : grille verticale */
@media (max-width: 900px) {
  .testi-canvas {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .testi-card {
    position: static;
    width: 100%;
    transform: none !important;
  }
}

