/* NAH Prestige Transport : feuille de style unique */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fonts/montserrat.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/lato-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/lato-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Exo 2';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/exo2-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Abel';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/abel-400.woff2') format('woff2');
}

:root {
  --gold: #a38319;
  --gold-light: #a5851a;
  --gold-soft: rgba(163, 131, 25, .5);
  --black: #000000;
  --bg: #151515;
  --bg-alt: #1c1c1c;
  --card-bg: #232017;
  --card-border: rgba(163, 131, 25, .45);
  --gray: #3e3e3e;
  --text: #ededed;
  --text-muted: #c9c9c9;
  --link: #2ea3f2;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --font-heading: 'Montserrat', Arial, sans-serif;
  --font-body: 'Lato', Arial, sans-serif;
  --font-accent: 'Exo 2', Arial, sans-serif;
  --font-copy: 'Abel', Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 800;
}
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-muted); }
ul, ol { margin: 0; padding: 0; list-style: none; }

.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;
}

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

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-heading); font-weight: 700; font-size: .95rem;
  padding: .85em 1.8em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
  text-decoration: none; line-height: 1.1;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #fff; }
.btn--gold:hover { background: var(--gold-light); color: #fff; }
.btn--outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); color: #fff; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--text-muted); }
.btn--ghost:hover { color: #fff; }
.btn--small { padding: .55em 1.3em; font-size: .85rem; }
.btn--stacked { flex-direction: column; gap: 2px; text-align: center; padding: .7em 1.8em; }
.btn--stacked .btn__sub { font-weight: 400; font-size: .8em; opacity: .9; }
.btn--block { width: 100%; }

/* Barre du haut */
.topbar { background: var(--gold); color: #1a1405; font-size: .85rem; }
.topbar__inner {
  max-width: var(--container); margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.topbar__contact { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__link { display: inline-flex; align-items: center; gap: 6px; color: #1a1405; font-weight: 600; }
.topbar__link:hover { text-decoration: none; opacity: .8; }
.topbar__social { display: flex; align-items: center; gap: 12px; }
.topbar__social a { color: #1a1405; display: inline-flex; }
.topbar .icon { font-size: 14px; }
.topbar__social .icon { font-size: 19px; }

/* En-tête */
.site-header { background: var(--bg); position: relative; z-index: 50; }
.site-header__inner {
  max-width: var(--container); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; }
.brand__logo { width: 150px; height: auto; }

.nav-toggle {
  display: inline-flex; background: none; border: 0; color: #fff; width: 32px; height: 32px;
  cursor: pointer; padding: 0;
}
.nav-toggle svg { width: 28px; height: 28px; }

.main-nav__list {
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.main-nav__link, .main-nav__toggle {
  font-family: var(--font-heading); font-weight: 600; font-size: .95rem;
  color: #ffffff; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 0;
}
.main-nav__link:hover, .main-nav__toggle:hover { color: var(--gold); text-decoration: none; }
.main-nav__link.is-active { color: var(--gold); }
.main-nav__item--dropdown { position: relative; }
.main-nav__dropdown {
  display: none; position: absolute; top: 100%; left: 0; background: var(--bg-alt);
  border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: 8px 0;
  min-width: 230px; box-shadow: 0 12px 24px rgba(0,0,0,.4);
}
.main-nav__dropdown a {
  display: block; padding: 9px 18px; color: #ffffff; font-size: .92rem;
}
.main-nav__dropdown a:hover, .main-nav__dropdown a.is-active { color: var(--gold); text-decoration: none; background: rgba(163,131,25,.08); }
.main-nav__item--dropdown:hover .main-nav__dropdown,
.main-nav__item--dropdown.is-open .main-nav__dropdown { display: block; }
.caret { width: 10px; height: 7px; }

/* Fil d'Ariane */
.breadcrumb { max-width: var(--container); margin: 0 auto; padding: 14px 20px 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .85rem; color: var(--text-muted); }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 6px; color: var(--gray); }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li[aria-current] { color: var(--gold); }

/* Hero */
.hero {
  position: relative; background-size: cover; background-position: center;
  min-height: clamp(360px, 60vw, 560px); display: flex; align-items: flex-end;
  color: #fff;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(10,10,10,.92) 100%);
}
.hero__inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 36px 20px 48px; width: 100%; }
.hero__inner h1 { max-width: 760px; }
.hero__lead { max-width: 640px; color: rgba(255,255,255,.88); font-size: 1.05rem; }
.hero--home { min-height: clamp(400px, 52vw, 540px); }
.hero--home .hero__content { max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.btn__sub { margin-left: .5em; font-weight: 400; opacity: .85; }
.btn--stacked .btn__sub { margin-left: 0; font-size: .8em; }
.hero--compact { min-height: clamp(300px, 45vw, 420px); }

/* Sections génériques */
.section { padding: 56px 0; }
.section--tight { padding: 36px 0; }
.section__head { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section__head p { margin: 0; }

/* Grilles */
.grid { display: grid; gap: 24px; }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Cartes */
.card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 10px;
}
.card__icon {
  display: inline-flex; align-items: center; justify-content: center; color: var(--gold); margin-bottom: 4px;
}
.card__icon .icon { width: 42px; height: 42px; font-size: 42px; }
.card h3 { margin-bottom: 4px; }
.card p { margin-bottom: 0; }
.card .btn { align-self: flex-start; margin-top: 12px; }

.card--media { padding: 0; overflow: hidden; }
.card--media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card--media .card__body { padding: 22px; }

.card-row {
  display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: stretch;
}
.card-row img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.card-row .card { height: 100%; }

.steps { display: flex; flex-direction: column; gap: 16px; counter-reset: step; }
.steps li { position: relative; padding-left: 40px; color: var(--text-muted); }
.steps li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #fff;
  font-size: .8rem; font-weight: 700; font-family: var(--font-heading);
  display: flex; align-items: center; justify-content: center;
}

.meta-list { display: flex; flex-direction: column; gap: 8px; margin: 10px 0; }
.meta-list li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: .95rem; }
.meta-list .icon { color: var(--gold); font-size: 18px; }

/* Features (ponctualité, fiabilité...) */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.feature__icon { width: 44px; height: 44px; margin: 0 auto 10px; color: var(--gold); }
.feature h4 { margin-bottom: 2px; }
.feature p { margin: 0; font-size: .9rem; }

/* Tableaux de prix */
.price-table { border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; }
.price-table__row {
  display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px;
  border-bottom: 1px solid rgba(163,131,25,.2); font-size: .98rem;
}
.price-table__row:last-child { border-bottom: 0; }
.price-table__row span:first-child { color: var(--text); }
.price-table__row span:last-child { color: var(--gold); font-weight: 700; white-space: nowrap; }
.price-table__row .tbd { color: var(--text-muted); font-weight: 600; font-style: italic; }

.pricing-card { text-align: center; }
.pricing-card ul { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 20px; text-align: left; }
.pricing-card li { display: flex; gap: 8px; align-items: flex-start; color: var(--text-muted); font-size: .92rem; }
.pricing-card li svg { color: var(--gold); flex: none; margin-top: 3px; }

/* Appel à l'action */
.cta { background: var(--bg-alt); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.cta__inner { max-width: 680px; margin: 0 auto; padding: 52px 20px; text-align: center; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

/* Formulaire de contact */
.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
.contact-card {
  background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px;
}
.form-field { margin-bottom: 16px; }
.form-field label { display: block; margin-bottom: 6px; font-size: .9rem; color: var(--text-muted); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: .85em 1em; border-radius: var(--radius-sm); border: 1px solid #ddd;
  background: #f4f4f3; color: #222; font-family: var(--font-body); font-size: .98rem;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.js-picker-only { cursor: pointer; background: #fff; }
.js-picker-only::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 1; transform: scale(1.3); margin-right: 2px; }
.js-picker-only::-webkit-datetime-edit { color: #222; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--text-muted); margin-bottom: 18px; }
.form-check input { margin-top: 4px; }
.type-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.type-toggle__option {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 10px; border-radius: var(--radius-sm); border: 2px solid var(--card-border);
  background: var(--bg-alt); color: var(--text-muted); font-weight: 700; font-family: var(--font-accent);
  cursor: pointer; text-align: center; transition: background .15s, color .15s, border-color .15s;
}
.type-toggle__option .icon { width: 22px; height: 22px; flex-shrink: 0; }
.type-toggle__option--trajet.is-active { background: linear-gradient(135deg, var(--gold-light), var(--gold)); border-color: var(--gold); color: #fff; }
.type-toggle__option--question.is-active { background: var(--text); border-color: var(--text); color: var(--bg); }
@media (max-width: 480px) {
  .type-toggle { grid-template-columns: 1fr; }
}
.form-error { color: #ff8080; font-size: .85rem; margin-top: -10px; margin-bottom: 14px; }
.form-alert { background: rgba(255,80,80,.12); border: 1px solid rgba(255,80,80,.4); color: #ffb3b3; border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 20px; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; }

/* Pied de page */
.site-footer { background: var(--black); padding-top: 56px; }
.site-footer__columns {
  max-width: var(--container); margin: 0 auto; padding: 0 20px 36px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px;
}
.footer-col h4 { font-family: var(--font-accent); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; font-size: .92rem; color: var(--gold); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--text-muted); font-size: .92rem; }
.footer-col a:hover { color: var(--gold); }
.footer-contact li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: .92rem; }
.footer-contact .icon { color: var(--gold); font-size: 16px; flex: none; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { color: var(--gold); display: inline-flex; }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px; text-align: center;
  font-family: var(--font-copy); color: var(--text-muted); font-size: .95rem;
}
.site-footer__bottom p { margin: 0 0 4px; color: inherit; }
.site-footer__bottom a { color: var(--gold); }

/* Barre mobile fixe */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex;
  box-shadow: 0 -4px 14px rgba(0,0,0,.4);
}
.mobile-bar__btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 10px; font-family: var(--font-heading); font-weight: 700; color: #fff; font-size: .95rem;
}
.mobile-bar__btn:hover { text-decoration: none; }
.mobile-bar__btn--call { background: var(--gold); }
.mobile-bar__btn--whatsapp { background: #2fa84f; }

/* Bandeau cookies */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  background: var(--bg-alt); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: 0 10px 30px rgba(0,0,0,.5); max-width: 760px; margin: 0 auto;
}
.cookie-banner__text p { margin: 0 0 12px; font-size: .88rem; color: var(--text-muted); }
.cookie-banner__text a { color: var(--gold); }
.cookie-banner__options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; font-size: .85rem; color: var(--text-muted); }
.cookie-banner__options label { display: flex; align-items: center; gap: 8px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

/* Mobile first : ajustements desktop */
@media (max-width: 899.98px) {
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); background: var(--black);
    transform: translateX(100%); transition: transform .25s ease; padding: 90px 24px 24px; overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .main-nav__item { width: 100%; }
  .main-nav__link, .main-nav__toggle { width: 100%; padding: 12px 0; justify-content: space-between; }
  .main-nav__dropdown {
    display: none; position: static; background: none; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0;
  }
  .main-nav__item--dropdown.is-open .main-nav__dropdown { display: block; }
  .main-nav__item--cta { margin-top: 14px; }
  .topbar__contact span:last-child { display: none; }
  body { padding-bottom: 58px; }
  .cookie-banner { bottom: 74px; }
  .card-row { grid-template-columns: 1fr; }
  .card-row img { aspect-ratio: 16/9; }
  .features { grid-template-columns: 1fr 1fr; }
  .site-footer__columns { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav__list { flex-wrap: nowrap; }
  .site-footer__columns { grid-template-columns: repeat(4, 1fr); }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .cookie-banner { left: auto; right: 24px; bottom: 24px; }
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; }
}
