/* ==========================================================================
   Taxi Saint-Tropez Premium — Feuille de style principale
   Design : élégant, méditerranéen, haut de gamme. Responsive mobile-first.
   ========================================================================== */

:root {
  /* Couleurs */
  --navy: #0c1b2a;
  --navy-light: #13293d;
  --gold: #c4a052;
  --gold-dark: #a9863a;
  --sand: #f6f1e7;
  --cream: #fbf8f2;
  --white: #ffffff;
  --ink: #1b2733;
  --muted: #5c6b7a;
  --line: #e7e0d2;
  --whatsapp: #25d366;
  --shadow: 0 18px 40px -18px rgba(12, 27, 42, .35);
  --shadow-sm: 0 6px 18px -8px rgba(12, 27, 42, .25);

  /* Typo */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1180px;
}

/* Reset léger */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.18; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.bg-sand { background: var(--sand); }
.bg-navy { background: var(--navy); color: #dfe7ee; }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.text-center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 760px; }
.lead.text-center { margin-left: auto; margin-right: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700; color: var(--gold-dark); margin-bottom: .6em; display: block; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 50px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s; text-decoration: none; line-height: 1; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-light); }
.btn--wa { background: var(--whatsapp); color: #fff; }
.btn--wa:hover { background: #1fb457; }
.btn--lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* ---------- Header ---------- */
.topbar { background: var(--navy); color: #cbd6e2; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar__contact { display: flex; gap: 20px; flex-wrap: wrap; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251,248,242,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.brand__name { font-family: var(--serif); font-weight: 700; color: var(--navy); font-size: 1.18rem; line-height: 1.1; }
.brand__name small { display: block; font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-dark); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink); padding: 9px 12px; border-radius: 8px; font-size: .96rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); color: var(--navy); text-decoration: none; }
.has-sub { position: relative; }
.has-sub > .submenu { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; flex-direction: column; }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { display: flex; }
.submenu a { padding: 8px 12px; font-size: .92rem; }
.nav__cta { margin-left: 8px; }

.nav-toggle { display: none; background: var(--navy); color: #fff; border: 0; width: 46px; height: 44px; border-radius: 10px; font-size: 1.4rem; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: linear-gradient(180deg, rgba(8,18,30,.72), rgba(8,18,30,.82)), var(--navy); overflow: hidden; }
.hero--img { background: linear-gradient(180deg, rgba(8,18,30,.62), rgba(8,18,30,.85)), url("../img/hero-saint-tropez.jpg") center/cover no-repeat; }
.hero .container { position: relative; padding: 92px 22px 84px; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p { color: #e7edf3; font-size: 1.2rem; max-width: 56ch; }
.hero__sub { font-size: 1.2rem; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 30px; padding: 0; list-style: none; }
.hero__badges li { display: flex; align-items: center; gap: 8px; font-size: .98rem; color: #f3f6f9; }
.hero__badges svg { flex: none; }

.page-hero { background: var(--navy); color: #fff; padding: 60px 0 54px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #cfdae5; max-width: 70ch; margin-bottom: 0; }
.breadcrumb { font-size: .85rem; color: #9fb1c2; margin-bottom: 14px; }
.breadcrumb a { color: #cfdae5; }
.breadcrumb span { color: var(--gold); }

/* ---------- Grilles / cartes ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); height: 100%; }
.card h3 { margin-top: 6px; }
.card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--sand); color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 14px; }
.card--link { transition: transform .15s, box-shadow .2s; display: block; color: inherit; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); text-decoration: none; }
.card--link h3 { color: var(--navy); }
.card__more { color: var(--gold-dark); font-weight: 600; font-size: .92rem; }

/* Liste avantages */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 32px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); }
.checklist li::after { content: ""; position: absolute; left: 6px; top: 9px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.trust .num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold-dark); font-weight: 700; }
.trust .lbl { font-size: .9rem; color: var(--muted); }

/* Split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.split__media { border-radius: var(--radius); overflow: hidden; background: var(--navy-light); min-height: 320px; box-shadow: var(--shadow); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { display: grid; place-items: center; color: #6f8499; text-align: center; padding: 40px; font-size: .9rem; min-height: 320px; }

/* Tarifs */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: #fff; font-weight: 600; font-family: var(--sans); }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td:last-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.note { font-size: .9rem; color: var(--muted); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font-size: 1.05rem; font-weight: 600; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--sans); }
.faq__q::after { content: "+"; font-size: 1.5rem; color: var(--gold-dark); transition: transform .2s; }
.faq__item.open .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.faq__item.open .faq__a { padding: 0 22px 20px; max-height: 600px; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--navy), var(--navy-light)); color: #fff; border-radius: 20px; padding: 46px; text-align: center; box-shadow: var(--shadow); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfdae5; max-width: 60ch; margin: 0 auto 24px; }

/* ---------- Formulaire ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 1rem; background: var(--cream); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); background: #fff; }
.field textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.form-msg { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; font-size: .95rem; }
.form-msg.ok { background: #e6f6ec; color: #1d6b3a; border: 1px solid #b5e3c4; }
.form-msg.err { background: #fdecec; color: #a02626; border: 1px solid #f3c2c2; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c6d3; padding: 60px 0 26px; font-size: .95rem; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 34px; }
.site-footer a { color: #cdd9e5; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: #8ea0b2; }

/* ---------- Barre mobile fixe (call / WhatsApp) ---------- */
.mobile-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 80; background: var(--navy); padding: 8px; gap: 8px; box-shadow: 0 -6px 20px rgba(0,0,0,.25); }
.mobile-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border-radius: 10px; font-weight: 600; color: #fff; font-size: .98rem; }
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar .mb-call { background: var(--gold); color: var(--navy); }
.mobile-bar .mb-wa { background: var(--whatsapp); }

/* ---------- Articles / prose ---------- */
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

/* ---------- Utils ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 340px); background: #fff; flex-direction: column; align-items: stretch; padding: 80px 18px 24px; box-shadow: var(--shadow); transform: translateX(100%); transition: transform .25s ease; overflow-y: auto; z-index: 70; }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 12px 14px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .has-sub > .submenu { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .has-sub > .submenu a { font-size: .88rem; }
  .nav__cta { margin: 12px 0 0; }
  .nav-toggle { display: block; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .cta-band { padding: 34px 22px; }
  .topbar__contact { gap: 12px; }
}

/* Accessibilité : focus visible */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
