/* =====================================================================
   FC LIMOUSINE SERVICE — Feuille de style
   Direction : noir & blanc strict, éditorial, premium VIP.
   Display : Coterie (police client) → fallback Playfair Display.
   Texte   : Raleway. Utilitaire/eyebrow : Raleway majuscules espacées.
   ===================================================================== */

/* ---- Police client : déposez coterie.woff2 / .woff dans /fonts/ ---- */
@font-face {
  font-family: "Coterie";
  src: url("../fonts/coterie.woff2") format("woff2"),
       url("../fonts/coterie.woff")  format("woff");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink:        #0b0b0c;   /* noir profond */
  --ink-soft:   #18181a;   /* noir des cartes sombres */
  --white:      #ffffff;
  --paper:      #f6f5f3;   /* blanc cassé chaud */
  --paper-2:    #efeeea;
  --grey:       #6e6e72;   /* texte secondaire */
  --grey-light: #9b9ba0;
  --line:       #dbdad6;   /* filets sur fond clair */
  --line-dark:  rgba(255,255,255,.16);

  --serif: "Coterie", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,h4 { margin: 0; font-weight: 500; }

/* --------------------------- Typographie -------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--grey);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: currentColor;
  opacity: .55;
  display: inline-block;
}
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
}
h2.display { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h3.display { font-size: clamp(1.4rem, 3vw, 2rem); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--grey); font-weight: 400; }

/* ----------------------------- Layout ----------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 11vw, 150px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--white); }
.section--ink .lead { color: var(--grey-light); }
.section--ink .eyebrow { color: var(--grey-light); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 22px; }
.section-head p { margin: 22px 0 0; }

/* ----------------------------- Buttons ---------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--white); --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 1.05em 2.1em;
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--bd);
  font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--ghost:hover { --bg: var(--ink); --fg: var(--white); }
.btn--light { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn--light:hover { --bg: transparent; --fg: var(--white); }
.btn--ghost-light { --bg: transparent; --fg: var(--white); --bd: rgba(255,255,255,.5); }
.btn--ghost-light:hover { --bg: var(--white); --fg: var(--ink); --bd: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .35; pointer-events: none; }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  transition: background .45s var(--ease), padding .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.is-solid {
  background: rgba(11,11,12,.92);
  backdrop-filter: blur(12px);
  padding-block: 12px;
  box-shadow: 0 1px 0 var(--line-dark);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 46px; width: auto; transition: height .45s var(--ease); }
.site-header.is-solid .brand img { height: 38px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  color: var(--white); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; opacity: .85;
  position: relative; padding-block: 6px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--white); transition: width .35s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after { width: 100%; }
.nav .btn { padding: .8em 1.5em; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .35s var(--ease), opacity .3s; }

/* ------------------------------ Hero ------------------------------ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--white); overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__media img { animation: none; transform: none; } }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,11,12,.55) 0%, rgba(11,11,12,.15) 38%, rgba(11,11,12,.82) 100%);
}
.hero__inner { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(56px, 9vw, 110px); }
.hero__inner .eyebrow { color: rgba(255,255,255,.82); margin-bottom: 26px; }
.hero__inner .eyebrow::before { background: rgba(255,255,255,.82); }
.hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.7rem, 8vw, 6rem); line-height: .98; letter-spacing: -.015em;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; }
.hero__sub { max-width: 46ch; margin: 26px 0 38px; color: rgba(255,255,255,.84); font-size: clamp(1rem,1.5vw,1.18rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__scroll {
  position: absolute; right: var(--gut); bottom: 38px; z-index: 1;
  writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 14px;
}
.hero__scroll::after { content: ""; width: 1px; height: 56px; background: rgba(255,255,255,.5); animation: scrollPulse 2.4s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100%{ transform: scaleY(.4); transform-origin: top; opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* --------------------------- Manifesto ---------------------------- */
.manifesto { text-align: center; }
.manifesto p {
  font-family: var(--serif); font-weight: 400; font-style: italic;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem); line-height: 1.3; letter-spacing: -.01em;
  max-width: 22ch; margin: 0 auto; color: var(--white);
}
.manifesto p span { color: var(--grey-light); }

/* ----------------------------- About ------------------------------ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: -1; }
.about__text p + p { margin-top: 1.2em; }
.about__text .lead { margin-bottom: 1.4em; }
.figure { position: relative; }
.figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.figure figcaption {
  position: absolute; left: 0; bottom: 0; transform: translateY(50%);
  background: var(--ink); color: var(--white);
  padding: 16px 22px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.section--paper .figure figcaption { background: var(--ink); }
.stats { display: flex; gap: clamp(28px,5vw,56px); margin-top: 44px; flex-wrap: wrap; }
.stat .n { font-family: var(--serif); font-size: clamp(2.1rem,4vw,2.9rem); line-height: 1; }
.stat .l { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey); margin-top: 10px; }
.section--ink .stat .l { color: var(--grey-light); }

/* --------------------------- Prestations -------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.svc {
  background: var(--ink); padding: clamp(30px,3vw,42px);
  display: flex; flex-direction: column; min-height: 270px;
  transition: background .4s var(--ease);
}
.svc:hover { background: var(--ink-soft); }
.svc__no { font-size: .72rem; letter-spacing: .2em; color: var(--grey-light); }
.svc h3 { margin: 22px 0 14px; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.svc p { color: var(--grey-light); font-size: .95rem; margin: 0; }
.svc__from { margin-top: auto; padding-top: 22px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.svc__from b { font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; text-transform: none; }

/* ----------------------------- Gallery ---------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.gallery a { position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.02); transition: filter .6s var(--ease), transform 1.1s var(--ease); }
.gallery a:hover img { filter: grayscale(0%); transform: scale(1.05); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* -------------------------- Configurateur ------------------------- */
.config { display: grid; grid-template-columns: 1.5fr .9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.config__steps { display: flex; flex-direction: column; gap: 14px; }
.step { border: 1px solid var(--line); background: var(--white); }
.step__head { display: flex; align-items: center; gap: 16px; padding: 20px 24px; }
.step__no {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--ink); display: grid; place-items: center;
  font-size: .82rem; font-weight: 600;
}
.step.is-done .step__no { background: var(--ink); color: var(--white); }
.step__title { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.step__pick { margin-left: auto; font-size: .88rem; color: var(--grey); max-width: 46%; text-align: right; }
.step__body { padding: 0 24px 26px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 10px; }
.choice {
  border: 1px solid var(--line); background: var(--white);
  padding: 16px 16px; text-align: left; transition: border-color .25s var(--ease), background .25s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.choice:hover { border-color: var(--ink); }
.choice.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.choice .c-label { font-size: .92rem; font-weight: 600; }
.choice .c-meta { font-size: .78rem; color: var(--grey); }
.choice.is-active .c-meta { color: var(--grey-light); }
.choice .c-price { font-family: var(--serif); font-size: 1.05rem; margin-top: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); background: var(--white);
  border-radius: 0; transition: border-color .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { resize: vertical; min-height: 90px; }
.options-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); cursor: pointer; }
.opt input { width: 18px; height: 18px; accent-color: var(--ink); }
.opt .o-label { font-size: .92rem; font-weight: 500; }
.opt .o-price { margin-left: auto; font-family: var(--serif); }
.opt--gift { background: var(--paper); cursor: default; }
.opt--gift .o-price { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); font-family: var(--sans); }

/* Recap card */
.recap { position: sticky; top: 96px; background: var(--ink); color: var(--white); padding: clamp(26px,3vw,34px); }
.recap h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 6px; }
.recap__sub { color: var(--grey-light); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 24px; }
.recap__lines { border-top: 1px solid var(--line-dark); }
.recap__line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: .92rem; }
.recap__line .rl-label { color: var(--grey-light); }
.recap__line.is-empty { color: var(--grey); justify-content: center; font-style: italic; }
.recap__total { display: flex; justify-content: space-between; align-items: baseline; margin: 26px 0; }
.recap__total .t-label { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-light); }
.recap__total .t-amount { font-family: var(--serif); font-size: 2.2rem; }
.recap__note { font-size: .76rem; color: var(--grey-light); margin-top: 18px; line-height: 1.5; }
.recap__note a { text-decoration: underline; }
.form-msg { margin-top: 14px; font-size: .85rem; padding: 12px 14px; display: none; }
.form-msg.is-error { display: block; background: #2a1414; color: #ffd9d9; border: 1px solid #5a2a2a; }
.form-msg.is-info  { display: block; background: var(--ink-soft); color: var(--grey-light); border: 1px solid var(--line-dark); }

/* ----------------------------- Tarifs ----------------------------- */
.tarifs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); }
.price-block { }
.price-block h3 { font-family: var(--serif); font-size: 1.45rem; margin-bottom: 8px; }
.price-block > p { color: var(--grey); font-size: .9rem; margin: 0 0 18px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table tr { border-bottom: 1px solid var(--line); }
.price-table td { padding: 13px 0; vertical-align: top; }
.price-table td:last-child { text-align: right; font-family: var(--serif); white-space: nowrap; padding-left: 18px; }
.price-table .pt-name { font-weight: 500; }
.price-table .pt-meta { display: block; font-size: .8rem; color: var(--grey); margin-top: 2px; }
.tarifs-note { margin-top: 40px; padding: 24px 28px; border: 1px solid var(--line); background: var(--white); font-size: .9rem; color: var(--grey); }
.tarifs-note b { color: var(--ink); }

/* ----------------------------- Contact ---------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: start; }
.contact__info dl { margin: 0; }
.contact__info dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-light); margin-top: 26px; }
.contact__info dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.3rem; }
.contact__info dd a:hover { text-decoration: underline; }
.contact__info .first { margin-top: 0; }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--ink); color: var(--white); padding-block: 64px 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; align-items: flex-start; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { height: 54px; margin-bottom: 18px; }
.footer-brand p { color: var(--grey-light); max-width: 34ch; font-size: .92rem; }
.footer-cols { display: flex; gap: clamp(40px,6vw,90px); flex-wrap: wrap; }
.footer-col h4 { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.82); font-size: .92rem; padding: 5px 0; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .78rem; color: var(--grey); }

/* --------------------------- Animations --------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* --------------------------- Responsive --------------------------- */
@media (max-width: 980px) {
  .config { grid-template-columns: 1fr; }
  .recap { position: static; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .gallery { grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px);
    background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 22px; padding: 0 36px; transform: translateX(100%); transition: transform .5s var(--ease); }
  .nav.is-open { transform: none; }
  .nav a { font-size: 1rem; }
  .nav-toggle { display: block; z-index: 110; }
  body.nav-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .split, .split--reverse .split__media { grid-template-columns: 1fr; order: 0; }
  .split__media { order: -1; }
  .svc-grid { grid-template-columns: 1fr; }
  .tarifs-grid, .contact { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery .g-wide { grid-column: span 1; }
  .step__pick { display: none; }
  .brand img { height: 34px; }
  .site-header.is-solid .brand img { height: 30px; }
}
