/* ============================================================
   Chauffeur Privé LH — v2  (mobile-first, accrocheur)
   ============================================================ */

:root {
  --navy:   #0b132b;
  --navy-2: #101a3a;
  --gold:   #ffd166;
  --gold-d: #f4b942;
  --teal:   #17c3b2;
  --wa:     #25d366;
  --ink:    #0b132b;
  --paper:  #f7f8fc;
  --muted:  #5b6478;
  --white:  #ffffff;
  --radius: 20px;
  --shadow: 0 14px 40px rgba(11,19,43,.14);
  --dock-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  /* espace pour la barre d'action mobile */
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
}

h1, h2, h3, .brand__name { font-family: 'Sora', system-ui, sans-serif; }
em { font-style: normal; color: var(--gold-d); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  font-family: 'Sora', sans-serif; font-weight: 700;
  border-radius: 999px;
  padding: .9rem 1.5rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.96); }
.btn--big { padding: 1.05rem 1.7rem; font-size: 1.05rem; width: 100%; }
.btn--gold  { background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: var(--navy); box-shadow: 0 10px 26px rgba(244,185,66,.45); }
.btn--wa    { background: var(--wa); color: #fff; box-shadow: 0 10px 26px rgba(37,211,102,.4); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }

.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(244,185,66,.45); }
  50%      { box-shadow: 0 10px 26px rgba(244,185,66,.45), 0 0 0 12px rgba(255,209,102,0); }
}

/* ---------- Header ---------- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.1rem;
  /* Transparent par-dessus la photo : dégradé qui se fond dans le ciel */
  background: linear-gradient(180deg, rgba(11,19,43,.6), rgba(11,19,43,0));
  backdrop-filter: none;
  transition: background .3s, backdrop-filter .3s;
}
.hdr.scrolled {
  /* Bleu nuit plein une fois qu'on défile */
  background: rgba(11,19,43,.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.brand { display: flex; align-items: center; gap: .55rem; color: #fff; }
.brand__mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 11px;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--navy); font-family: 'Sora'; font-weight: 800; font-size: 1rem;
}
.brand__name { font-size: .95rem; font-weight: 700; letter-spacing: .2px; }
.hdr__call {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--navy); background: var(--gold);
  font-weight: 700; font-size: .9rem;
  padding: .5rem .9rem; border-radius: 999px;
}
.hdr__call svg { width: 16px; height: 16px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 92svh;
  display: flex; align-items: flex-end;
  padding: 2rem 1.3rem 2.2rem;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(180deg, rgba(11,19,43,.25) 0%, rgba(11,19,43,.28) 40%, rgba(11,19,43,.85) 100%),
    url('hero-msm.jpg') 32% center/cover no-repeat;
}
/* Mobile : image portrait dédiée montrant à la fois le Mont-Saint-Michel, le
   chauffeur et la voiture (la photo panoramique en "cover" en couperait un sur
   un écran étroit). Le reste du site est identique à la prod. */
@media (max-width: 859px) {
  .hero__bg {
    background-image:
      linear-gradient(180deg, rgba(11,19,43,.25) 0%, rgba(11,19,43,.28) 40%, rgba(11,19,43,.85) 100%),
      url('hero-msm-mobile.jpg');
    background-position: center center;
    background-size: cover;
  }
  /* Header fondu dans le ciel de l'image (pas de bandeau de couleur) */
  .hdr:not(.scrolled) { background: transparent; }
  .brand__name { text-shadow: 0 1px 10px rgba(0,0,0,.55); }
}
.hero__glow {
  position: absolute; z-index: -1;
  top: -18%; left: 50%; transform: translateX(-50%);
  width: 120vw; height: 60vh;
  background: radial-gradient(circle, rgba(23,195,178,.35), transparent 65%);
  filter: blur(40px);
}
.hero__inner { max-width: 640px; margin: 0 auto; width: 100%; }
.badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--gold);
  font-weight: 600; font-size: .8rem; letter-spacing: .5px;
  padding: .4rem 1rem; border-radius: 999px;
  backdrop-filter: blur(6px);
}
.hero__title {
  font-size: clamp(2.2rem, 10vw, 4.2rem);
  font-weight: 800; line-height: 1.05;
  margin: .8rem 0 .6rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.hero__title em { display: inline-block; }
.hero__sub { font-size: clamp(.95rem, 4.2vw, 1.2rem); color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero__sub strong { color: var(--gold); }
/* Boutons d'appel masqués sur mobile : la barre fixe en bas (dock) les remplace */
.hero__cta { display: none; }
.hero__hint { font-size: .85rem; color: rgba(255,255,255,.9); max-width: 24rem; margin: .4rem auto 0; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* ---------- Trust strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .4rem;
  background: var(--navy);
  color: #fff;
  padding: 1.1rem .6rem;
  text-align: center;
}
.strip__item b { display: block; font-family: 'Sora'; font-weight: 800; color: var(--gold); font-size: clamp(.95rem,4vw,1.3rem); }
.strip__item span { font-size: .7rem; color: rgba(255,255,255,.7); }

/* ---------- Sections ---------- */
.sec { padding: 3.2rem 1.3rem; max-width: 1100px; margin: 0 auto; }
.sec--zones { background: var(--white); max-width: none; }
.sec--why   { background: var(--navy); color: #fff; max-width: none; }
.sec--faq   { background: var(--white); max-width: none; }
.sec--zones > *, .sec--why > *, .sec--faq > * { max-width: 1100px; margin-left: auto; margin-right: auto; }

.sec__head { text-align: center; margin-bottom: 2rem; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2.5px;
  font-size: .75rem; font-weight: 700; color: var(--teal);
  margin-bottom: .5rem;
}
.sec__head h2 { font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 800; letter-spacing: -.5px; }

/* ---------- Cards / services ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,19,43,.05);
}
.card__ico { font-size: 2rem; margin-bottom: .5rem; }
.card h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Zones ---------- */
.zones { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.zone {
  background: var(--paper);
  border: 1px solid rgba(11,19,43,.08);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}
.zone h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.zone ul { list-style: none; }
.zone li { padding: .35rem 0; border-bottom: 1px dashed rgba(11,19,43,.1); color: var(--muted); }
.zone li:last-child { border: 0; }
.zone--star {
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  color: #fff; border: 0;
  box-shadow: 0 16px 40px rgba(11,19,43,.3);
  position: relative;
}
.zone--star h3 { color: var(--gold); }
.zone--star li { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.15); }
.zone__tag {
  display: inline-block; background: var(--teal); color: #012;
  font-size: .7rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  padding: .25rem .7rem; border-radius: 999px; margin-bottom: .7rem;
}

/* ---------- Galerie tourisme ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tile {
  position: relative; min-height: 200px;
  border-radius: var(--radius);
  background-size: cover; background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.tile--big { grid-column: 1 / -1; min-height: 260px; }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(11,19,43,.85)); }
.tile__label { position: absolute; left: 1rem; bottom: 1rem; right: 1rem; z-index: 1; color: #fff; }
.tile__label h3 { font-size: 1.2rem; }
.tile__label p { font-size: .85rem; color: rgba(255,255,255,.85); }

/* ---------- Pourquoi ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.why__i {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.why__i b { font-family: 'Sora'; font-size: 1.1rem; color: var(--gold); display: block; margin-bottom: .3rem; }
.why__i p { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; max-width: 720px; }
.faq__i {
  background: var(--paper);
  border: 1px solid rgba(11,19,43,.08);
  border-radius: 14px;
  padding: .3rem 1.1rem;
}
.faq__i summary {
  cursor: pointer; list-style: none;
  font-family: 'Sora'; font-weight: 600;
  padding: .9rem 0; position: relative; padding-right: 2rem;
}
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after {
  content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--teal); transition: transform .2s;
}
.faq__i[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__i p { padding-bottom: 1rem; color: var(--muted); }
.faq__i a { color: var(--gold-d); font-weight: 700; }

/* ---------- CTA final ---------- */
.cta {
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  color: #fff; text-align: center;
  padding: 3.5rem 1.3rem;
}
.cta h2 { font-size: clamp(2rem, 8vw, 3rem); font-weight: 800; }
.cta p { color: rgba(255,255,255,.85); margin: .6rem 0 1.8rem; }
.cta__btns { display: flex; flex-direction: column; gap: .8rem; max-width: 420px; margin: 0 auto; }
.cta__mail { color: var(--gold); font-weight: 600; margin-top: .4rem; word-break: break-word; }

/* ---------- Mentions légales ---------- */
.legal { background: var(--paper); padding: 2rem 1.3rem; border-top: 1px solid rgba(11,19,43,.08); }
.legal__box { max-width: 1000px; margin: 0 auto; }
.legal__box > summary {
  cursor: pointer; list-style: none;
  font-family: 'Sora'; font-weight: 700; font-size: 1rem;
  color: var(--navy);
  padding: 1rem 1.2rem; padding-right: 2.6rem;
  background: var(--white); border: 1px solid rgba(11,19,43,.1);
  border-radius: 14px; position: relative;
}
.legal__box > summary::-webkit-details-marker { display: none; }
.legal__box > summary::after {
  content: '+'; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--teal); transition: transform .2s;
}
.legal__box[open] > summary::after { transform: translateY(-50%) rotate(45deg); }
.legal__grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; padding: 1.4rem .4rem 0; }
.legal__col--full { grid-column: 1 / -1; }
.legal__col h4 { font-family: 'Sora'; font-size: .95rem; color: var(--navy); margin-bottom: .4rem; }
.legal__col p { font-size: .85rem; color: var(--muted); line-height: 1.7; }
.legal__col a { color: var(--gold-d); font-weight: 600; word-break: break-word; }
@media (min-width: 860px) { .legal__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Footer ---------- */
.ft { background: var(--navy); color: rgba(255,255,255,.7); text-align: center; padding: 2.2rem 1.3rem 2.5rem; }
.ft__brand { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-family: 'Sora'; font-weight: 700; margin-bottom: .3rem; }
.ft > p { font-size: .85rem; }
.ft__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.4rem; margin: 1.2rem 0; }
.ft__nav a { color: rgba(255,255,255,.8); font-size: .9rem; }
.ft__nav a:hover { color: var(--gold); }
.ft__legal { font-size: .75rem; color: rgba(255,255,255,.5); }

/* ---------- Barre d'action mobile (dock) ---------- */
.dock {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr auto; gap: .5rem;
  padding: .6rem .7rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(11,19,43,.08);
  box-shadow: 0 -6px 20px rgba(11,19,43,.08);
}
.dock__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  font-family: 'Sora'; font-weight: 700;
  height: 54px; border-radius: 14px;
}
.dock__btn svg { width: 18px; height: 18px; flex: none; }
.dock__btn--call {
  flex-direction: column; gap: 2px; line-height: 1;
  font-size: .82rem; letter-spacing: -.2px;
  background: linear-gradient(135deg, var(--gold), var(--gold-d)); color: var(--navy);
}
.dock__btn--wa   { width: 54px; background: var(--wa); color: #fff; }
.dock__btn--wa svg { width: 24px; height: 24px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Tablette / desktop — le dock disparaît, layout en grille
   ============================================================ */
@media (min-width: 640px) {
  .hero { align-items: center; }
  .btn--big { width: auto; }
  .cta__btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
}

@media (min-width: 860px) {
  body { padding-bottom: 0; }
  .dock { display: none; }
  /* Plus de barre fixe → on réaffiche les boutons d'appel dans le hero */
  .hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 1.6rem 0 .8rem; }
  .hero__cta .btn { width: auto; padding: 1.05rem 1.7rem; font-size: 1.05rem; gap: .55rem; }
  .hero__cta .btn svg { width: 20px; height: 20px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .zones { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .zone--star { transform: scale(1.04); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .tile--big { grid-column: span 1; }
  .why { grid-template-columns: repeat(4, 1fr); }
  .strip { padding: 1.4rem; }
}
