/* ============================================================
   Arthur Taxi — Feuille de styles principale
   ============================================================ */

/* --- Variables ------------------------------------------- */
:root {
  --bg:        #0A0A0A;
  --bg-2:      #121212;
  --bg-card:   #1A1A1A;
  --gold:      #C9A84C;
  --gold-lt:   #E0C26A;
  --text:      #F0EDE8;
  --text-2:    #A89E8A;
  --text-mute: #555;
  --border:    rgba(201, 168, 76, 0.18);
  --serif:     'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:      'Inter', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
  --radius:    10px;
  --ease:      0.25s ease;
}

/* --- Reset ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
address { font-style: normal; }

/* --- Utilitaires ----------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.menu-open { overflow: hidden; }

.container {
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
}

.section { padding-block: 5rem; }
.section--dark { background: var(--bg-2); }

.section__header { text-align: center; margin-bottom: 3rem; }
.section__title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: .4rem;
}
.section__subtitle { color: var(--text-2); font-size: 1rem; }

/* --- Boutons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--sans);
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease),
              color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn--sm  { font-size: .85rem;  padding: .4rem .9rem; }
.btn--lg  { font-size: 1rem;    padding: .75rem 1.75rem; }
.btn--xl  { font-size: 1.1rem;  padding: .9rem 2.25rem; }

.btn--gold {
  background: var(--gold);
  color: #0A0A0A;
  border-color: var(--gold);
}
.btn--gold:hover, .btn--gold:focus-visible {
  background: var(--gold-lt);
  border-color: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 168, 76, .35);
}


.btn--dark {
  background: #0A0A0A;
  color: var(--gold);
  border-color: #0A0A0A;
}
.btn--dark:hover, .btn--dark:focus-visible {
  background: #111;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
}

/* Accessibilité focus visible */
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding: 1.25rem 0;
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}
.header--scrolled {
  background: rgba(10, 10, 10, .96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: .7rem 0;
  box-shadow: 0 2px 28px rgba(0, 0, 0, .45);
}
.header--menu-open {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(10, 10, 10, .98) !important;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--text);
  flex-shrink: 0;
}
.nav__logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav__logo strong { color: var(--gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav__links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: .03em;
  transition: color var(--ease);
}
.nav__links a:hover { color: var(--gold); }

.nav__cta { flex-shrink: 0; }

.nav__share-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: .03em;
  padding: 0;
  transition: color var(--ease);
}
.nav__share-link:hover { color: var(--gold); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--ease);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 45%, rgba(201, 168, 76, .04) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 25% 80%, rgba(201, 168, 76, .02) 0%, transparent 55%),
    linear-gradient(to right, #0C0C0C 20%, rgba(12,12,12,.6) 50%, transparent 70%);
  background-color: #0A0A0A;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom left, rgba(201, 168, 76, .02) 0%, transparent 50%);
  clip-path: polygon(35% 0, 100% 0, 100% 100%, 5% 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 9rem 6rem;
}

.hero__eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .3rem .85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  font-weight: 700;
  line-height: 1.13;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}
.hero__title em { font-style: normal; color: var(--gold); }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-2);
  font-weight: 300;
  letter-spacing: .025em;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.badge {
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-2);
  padding: .28rem .8rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
}

/* Hero — animations d'entrée au chargement */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.hero__content { animation: hero-in 1.1s ease both; animation-delay: .15s; }
.hero__scroll  { animation: hero-in 1s   ease both; animation-delay: .9s;  }

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__scroll { animation: none; }
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(201, 168, 76, .35);
  border-radius: 999px;
  position: relative;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 999px;
  animation: scroll-dot 2s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%       { opacity: .25; transform: translateX(-50%) translateY(14px); }
}


/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color var(--ease), transform var(--ease);
  display: grid;
  grid-template-columns: 26px 1fr;
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.service-card__icon {
  width: 26px;
  height: 26px;
  color: var(--gold);
  grid-column: 1;
  grid-row: 1;
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 700;
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 0;
}
.service-card__desc {
  font-size: .875rem;
  color: var(--text-2);
  line-height: 1.65;
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: 1rem;
}

/* ============================================================
   VÉHICULE
   ============================================================ */
.vehicule__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.vehicule__model {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: .9rem;
}
.vehicule__desc {
  color: var(--text-2);
  font-size: .95rem;
  margin-bottom: 1.75rem;
}

.vehicule__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}
.vehicule__specs li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text-2);
}
.vehicule__specs svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

.vehicule__image {
  border-radius: var(--radius);
  overflow: hidden;
}

.vehicule__image img {
  width: 100%;
  height: auto;
  display: block;
}


/* ============================================================
   ZONE
   ============================================================ */
.zone__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.zone__block-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--gold);
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--ease);
}
.zone__block-title::-webkit-details-marker { display: none; }
.zone__block-title:hover { color: var(--gold-lt); }
.zone__block-title svg:first-child { width: 18px; height: 18px; flex-shrink: 0; }

.zone__chevron {
  width: 16px;
  height: 16px;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform var(--ease);
}
details[open] .zone__chevron { transform: rotate(180deg); }

.zone__collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}
details[open] .zone__collapse { grid-template-rows: 1fr; }

.zone__collapse-inner {
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 0.35s ease;
}
details[open] .zone__collapse-inner { padding-top: 1rem; }

.zone__list { display: flex; flex-direction: column; gap: .5rem; }
.zone__list li {
  font-size: .875rem;
  color: var(--text-2);
  padding-left: 1rem;
  position: relative;
}
.zone__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.zone__block-note {
  font-size: .78rem;
  color: var(--gold);
  font-style: italic;
  opacity: .8;
  margin-top: 1rem;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}

/* ============================================================
   CTA BANDE
   ============================================================ */
@property --gold-angle {
  syntax: '<angle>';
  initial-value: 80deg;
  inherits: false;
}

.cta-band {
  position: relative;
  background: linear-gradient(var(--gold-angle), #8A6E1E 0%, #C9A84C 25%, #EDD87A 50%, #C9A84C 75%, #8A6E1E 100%);
  background-size: 200% 100%;
  animation: gold-shift 11s ease-in-out infinite;
  padding-block: 4rem;
}

@keyframes gold-shift {
  0%   { --gold-angle: 80deg;  background-position: 0%   50%; }
  4%   { --gold-angle: 80deg;  background-position: 0%   50%; }
  50%  { --gold-angle: 145deg; background-position: 100% 50%; }
  54%  { --gold-angle: 145deg; background-position: 100% 50%; }
  100% { --gold-angle: 80deg;  background-position: 0%   50%; }
}

@media (prefers-reduced-motion: reduce) {
  .cta-band { animation: none; }
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #0A0A0A;
  line-height: 1.2;
}
.cta-band__sub {
  color: rgba(10, 10, 10, .6);
  font-size: .95rem;
  margin-top: .3rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #070707;
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.footer__logo {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--text);
}
.footer__logo strong { color: var(--gold); }
.footer__tagline { font-size: .78rem; color: var(--text-mute); margin-top: .2rem; }

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: .875rem;
  color: var(--text-2);
  transition: color var(--ease);
}
.footer__nav a:hover { color: var(--gold); }

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .3rem;
}
.footer__contact a {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  transition: color var(--ease);
}
.footer__contact a:hover { color: var(--gold-lt); }
.footer__contact span { font-size: .78rem; color: var(--text-mute); }
.footer__facebook {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color var(--ease);
}
.footer__facebook:hover { color: #4267B2; }

.footer__bottom {
  text-align: center;
  padding: 1.25rem 0;
}
.footer__bottom p { font-size: .78rem; color: var(--text-mute); }
.footer__bottom a { color: var(--text-2); transition: color var(--ease); }
.footer__bottom a:hover { color: var(--gold); }

/* ============================================================
   ANIMATIONS SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   RESPONSIVE — Tablette (≤ 900 px)
   ============================================================ */
@media (max-width: 900px) {
  /* Zone */
  .zone__grid { grid-template-columns: 1fr 1fr; }
  .zone__block:last-child { grid-column: span 2; }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .footer__brand { grid-column: 1; }
  .footer__contact { grid-column: 2; align-items: flex-end; }
  .footer__nav { grid-column: span 2; justify-content: flex-start; }
}

/* ============================================================
   RESPONSIVE — Mobile (≤ 640 px)
   ============================================================ */
@media (max-width: 640px) {
  .section { padding-block: 3.5rem; }

  /* Nav burger */
  .nav__burger { display: flex; z-index: 1000; position: relative; }
  .nav__cta { display: none; }

  .nav__links {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, .98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease);
    z-index: 999;
  }
  .nav__links--open { opacity: 1; pointer-events: all; }
  .nav__links a { font-size: 1.25rem; }

  /* Hero */
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { justify-content: center; text-align: center; }

  /* Véhicule */
  .vehicule__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .vehicule__image { order: -1; }

  /* Services */
  .services__grid { grid-template-columns: 1fr; }

  /* Zone */
  .zone__grid { grid-template-columns: 1fr; }
  .zone__block:last-child { grid-column: unset; }

  /* CTA bande */
  .cta-band__inner { flex-direction: column; text-align: center; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__brand { grid-column: unset; }
  .footer__contact { grid-column: unset; align-items: center; }
  .footer__nav { grid-column: unset; justify-content: center; }
}
