/* ==========================================================================
   Taxi Fontainebleau — style.css (v2, thème sombre façon ATC)
   ========================================================================== */

:root {
  --bg: #0A1620;
  --bg-2: #0E1E2B;
  --card: #122636;
  --card-line: rgba(255,255,255,0.08);
  --teal: #3EB6B3;
  --teal-dark: #2C8E8B;
  --teal-soft: rgba(62,182,179,0.14);
  --gold: #E0B15C;
  --white: #FFFFFF;
  --text: #EAF2F0;
  --text-soft: #9FB3AE;
  --text-mute: #7C8E8A;
  --cream: #FAF8F4;
  --ink: #1C2530;
  --ink-soft: #55626F;
  --line-light: #E4E1D8;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 10px;
  --pill: 999px;
  --max: 1220px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.15; color: var(--white); letter-spacing: -0.5px; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 14px; }
h3 { font-size: 1.2rem; margin-bottom: 8px; font-weight: 700; }
p { color: var(--text-soft); max-width: 68ch; }
.section-intro { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.section-intro p { margin: 0 auto; }

/* ---------- Topbar ---------- */
.topbar { background: #060D14; color: var(--text-mute); font-size: 0.84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--text); font-weight: 600; }
.topbar .dot { color: var(--teal); margin: 0 6px; }

/* ---------- Header ---------- */
header.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--card-line);
  position: sticky;
  top: 0;
  z-index: 50;
}
header.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; }
.logo { font-size: 1.2rem; font-weight: 800; color: var(--white); white-space: nowrap; flex-shrink: 0; }
.logo span { color: var(--teal); }
nav.main-nav ul { display: flex; gap: 16px; align-items: center; white-space: nowrap; }
nav.main-nav a { font-size: 0.86rem; font-weight: 600; color: var(--text-soft); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
nav.main-nav a:hover { color: var(--teal); }
nav.main-nav .chev { font-size: 0.65rem; opacity: 0.7; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: var(--bg) !important;
  padding: 10px 18px; border-radius: var(--pill);
  font-weight: 700; font-size: 0.86rem; white-space: nowrap; flex-shrink: 0;
}
.header-cta:hover { background: var(--teal-dark); color: #fff !important; }

/* ---------- Mobile nav ---------- */
.nav-toggle {
  display: none; background: none; border: 1px solid var(--card-line); border-radius: 8px;
  color: var(--white); width: 42px; height: 42px; font-size: 1.2rem; cursor: pointer; flex-shrink: 0;
}
.mobile-nav {
  display: none; flex-direction: column; gap: 2px;
  background: var(--bg); border-top: 1px solid var(--card-line);
  padding: 10px 24px 18px;
}
.mobile-nav a {
  color: var(--text-soft); font-weight: 600; font-size: 0.95rem;
  padding: 12px 4px; border-bottom: 1px solid var(--card-line);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--teal); }
.mobile-nav.open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(62,182,179,0.10), transparent 55%),
    linear-gradient(180deg, rgba(10,22,32,0.72) 0%, rgba(10,22,32,0.96) 65%, var(--bg) 100%),
    url("images/taxi-fontainebleau-77.jpg") center 30%/cover no-repeat;
  padding: 64px 0 60px;
  text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal-soft); border: 1px solid rgba(62,182,179,0.35);
  color: var(--teal); font-weight: 700; font-size: 0.9rem;
  padding: 9px 20px; border-radius: var(--pill); margin-bottom: 28px;
}
.hero h1 { max-width: 18ch; margin: 0 auto; }
.hero h1 .accent { color: var(--teal); }
.hero .lead { max-width: 60ch; margin: 22px auto 0; font-size: 1.1rem; color: var(--text-soft); }
.hero-actions { display: flex; gap: 16px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: var(--pill);
  font-weight: 700; font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.2s ease;
}
.btn-primary { background: var(--teal); color: var(--bg); }
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-1px); color: #fff; }
.btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.22); }
.btn-outline:hover { background: rgba(255,255,255,0.06); }
.btn-white { background: var(--white); color: var(--ink); }
.btn-white:hover { background: #EDEDE8; }
.hero-note { margin-top: 20px; color: var(--text-mute); font-size: 0.9rem; }
.hero-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-tags span {
  background: rgba(255,255,255,0.05); border: 1px solid var(--card-line);
  color: var(--text-soft); font-size: 0.84rem; font-weight: 600;
  padding: 9px 16px; border-radius: var(--pill);
}

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.on-dark { background: var(--bg); }
.on-bg2 { background: var(--bg-2); }
.on-light { background: var(--cream); }
.on-light h2, .on-light h3 { color: var(--ink); }
.on-light p { color: var(--ink-soft); }
.on-light .section-intro p { color: var(--ink-soft); }

/* ---------- Cards services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius);
  padding: 28px 26px; position: relative;
}
.service-card .top-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.service-card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.badge {
  font-size: 0.72rem; font-weight: 700; padding: 5px 11px; border-radius: var(--pill);
  background: var(--teal-soft); color: var(--teal); white-space: nowrap;
}
.service-card p { font-size: 0.93rem; margin-bottom: 14px; }
.service-card a.more { color: var(--teal); font-weight: 700; font-size: 0.88rem; }
.service-card a.more:hover { text-decoration: underline; }

/* ---------- Split image/texte ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse .img-col { order: 2; }
.split img { border-radius: var(--radius); }

/* ---------- Zones / communes ---------- */
.zone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zone-grid a {
  display: block; background: var(--card); border: 1px solid var(--card-line);
  border-radius: var(--radius); padding: 15px 18px; font-weight: 700; color: var(--text);
  font-size: 0.92rem; transition: border-color 0.15s ease, color 0.15s ease;
}
.zone-grid a:hover { border-color: var(--teal); color: var(--teal); }
.zone-note { margin-top: 22px; text-align: center; font-size: 0.92rem; color: var(--text-mute); }
.zone-note a { color: var(--teal); font-weight: 700; }

/* ---------- Pourquoi nous ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { text-align: center; }
.why-item .icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.why-item strong { display: block; color: var(--white); font-size: 1.02rem; margin-bottom: 6px; }
.why-item p { font-size: 0.9rem; margin: 0 auto; }

/* ---------- CTA final ---------- */
.cta-final {
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
  border-radius: var(--radius); padding: 54px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-final h2 { color: #fff; margin-bottom: 6px; }
.cta-final p { color: rgba(255,255,255,0.92); }
.cta-final .btn-outline { border-color: rgba(255,255,255,0.55); color: #fff; }
.cta-final .btn-outline:hover { background: rgba(255,255,255,0.12); }

/* ---------- Footer ---------- */
footer { background: #060D14; color: var(--text-mute); padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--card-line); }
.footer-grid h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 9px; font-size: 0.88rem; }
.footer-grid ul a:hover { color: var(--teal); }
.footer-brand .logo { color: #fff; }
.footer-brand p { color: var(--text-mute); font-size: 0.88rem; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 0.8rem; color: #5A6D68; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--teal); }

/* ---------- Floating elements ---------- */
.float-recall {
  position: fixed; left: 0; bottom: 26px; z-index: 60;
  background: var(--teal); color: var(--bg); font-weight: 700; font-size: 0.88rem;
  padding: 13px 18px 13px 16px; border-radius: 0 var(--pill) var(--pill) 0;
  display: flex; align-items: center; gap: 8px;
}
.float-recall:hover { background: var(--teal-dark); color: #fff; }
.float-chat {
  position: fixed; right: 24px; bottom: 26px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--teal); color: var(--bg);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}
.float-chat:hover { background: var(--teal-dark); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  nav.main-nav { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split .img-col, .split.reverse .img-col { order: 0; }
  .zone-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .zone-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-final { flex-direction: column; text-align: center; }
  header.site-header .wrap { flex-wrap: wrap; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
