/* ============================================================
   AutoPropreChezVous — rétro station-service
   Marine profond + bleu carte + orange sécurité
   Fugaz One (display) · Karla (texte) · IBM Plex Mono (labels)
   ============================================================ */

:root {
  --marine: #0d2b45;
  --marine-2: #123a5c;
  --bleu: #2f9be6;
  --bleu-fonce: #1b74c5;
  --mousse: #f2f8fd;
  --mousse-2: #e2eef9;
  --orange: #ff6a2b;
  --orange-fonce: #e8531a;
  --encre: #0a1f31;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: "Karla", sans-serif;
  background: var(--mousse);
  color: var(--encre);
  line-height: 1.6;
  overflow-x: clip;
}

h1, h2, h3 {
  font-family: "Fugaz One", cursive;
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

a { color: inherit; }

::selection { background: var(--orange); color: #fff; }

/* ---------- Topbar ---------- */

.topbar {
  background: var(--encre);
  color: var(--mousse);
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topbar-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-left: 28px;
  animation: marquee 22s linear infinite;
}

.topbar-track i { color: var(--bleu); font-style: normal; font-size: 8px; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(242, 248, 253, .92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--marine);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
}

.brand-drop {
  width: 22px;
  height: 22px;
  background: radial-gradient(circle at 32% 30%, #7fc4f0, var(--bleu) 55%, var(--bleu-fonce));
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  box-shadow: 0 2px 0 var(--marine);
}

.brand-name {
  font-family: "Fugaz One", cursive;
  font-size: 16px;
  letter-spacing: .01em;
  color: var(--marine);
  white-space: nowrap;
}

.brand-name em { font-style: normal; color: var(--bleu-fonce); }

.nav-links {
  display: flex;
  gap: 22px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.nav-links a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--orange); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Fugaz One", cursive;
  font-size: 15px;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }

.btn-call {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 0 var(--orange-fonce);
}

.btn-call:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--orange-fonce); }
.btn-call:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--orange-fonce); }

.btn-ghost {
  border: 2px solid var(--mousse);
  color: var(--mousse);
}

.btn-ghost:hover { background: rgba(242, 248, 253, .12); }

.btn-ghost-light {
  border: 2px solid var(--marine);
  color: var(--marine);
}

.btn-ghost-light:hover { background: rgba(13, 43, 69, .08); }

.btn-big { font-size: 18px; padding: 16px 30px; }
.btn-big svg { width: 22px; height: 22px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--marine-2), transparent 60%),
    linear-gradient(165deg, var(--marine) 0%, var(--marine-2) 55%, var(--bleu-fonce) 130%);
  color: var(--mousse);
  padding: clamp(64px, 10vw, 130px) clamp(16px, 6vw, 72px) clamp(120px, 14vw, 180px);
  overflow: hidden;
}

.hero-inner { position: relative; z-index: 3; max-width: 780px; }

.overline {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bleu);
  margin-bottom: 22px;
}

.overline::before { content: "// "; color: var(--orange); }

.hero h1 {
  font-size: clamp(44px, 8.5vw, 108px);
  text-shadow: 4px 4px 0 rgba(10, 31, 49, .45);
}

.hero h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 2px var(--bleu);
  text-shadow: none;
}

.hero-sub {
  margin-top: 26px;
  font-size: clamp(16px, 2vw, 20px);
  max-width: 520px;
  color: var(--mousse-2);
}

.hero-sub strong { color: #fff; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 16px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bleu);
}

/* gros 94 en filigrane */
.hero-94 {
  position: absolute;
  right: -2%;
  top: 4%;
  font-family: "Fugaz One", cursive;
  font-size: clamp(220px, 38vw, 560px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(47, 155, 230, .22);
  z-index: 1;
  user-select: none;
}

/* bulles de mousse */
.hero-bubbles span,
.contact-bubbles span {
  position: absolute;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.5), rgba(255,255,255,.08) 60%);
  border: 1px solid rgba(255, 255, 255, .25);
  animation: bulle 12s linear infinite;
  z-index: 2;
}

@keyframes bulle {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateY(-115vh) translateX(30px) scale(1.15); opacity: 0; }
}

.hero-bubbles span:nth-child(1)  { left: 4%;  width: 26px; height: 26px; animation-duration: 13s; }
.hero-bubbles span:nth-child(2)  { left: 12%; width: 14px; height: 14px; animation-duration: 10s; animation-delay: 2s; }
.hero-bubbles span:nth-child(3)  { left: 23%; width: 34px; height: 34px; animation-duration: 16s; animation-delay: 4s; }
.hero-bubbles span:nth-child(4)  { left: 35%; width: 12px; height: 12px; animation-duration: 9s;  animation-delay: 1s; }
.hero-bubbles span:nth-child(5)  { left: 48%; width: 22px; height: 22px; animation-duration: 14s; animation-delay: 6s; }
.hero-bubbles span:nth-child(6)  { left: 58%; width: 16px; height: 16px; animation-duration: 11s; animation-delay: 3s; }
.hero-bubbles span:nth-child(7)  { left: 69%; width: 30px; height: 30px; animation-duration: 15s; animation-delay: 5s; }
.hero-bubbles span:nth-child(8)  { left: 79%; width: 13px; height: 13px; animation-duration: 10s; animation-delay: 7s; }
.hero-bubbles span:nth-child(9)  { left: 88%; width: 24px; height: 24px; animation-duration: 13s; animation-delay: 2.5s; }
.hero-bubbles span:nth-child(10) { left: 95%; width: 17px; height: 17px; animation-duration: 12s; animation-delay: 8s; }

/* tampon rotatif */
.stamp {
  position: absolute;
  right: clamp(20px, 8vw, 120px);
  bottom: clamp(90px, 12vw, 150px);
  width: clamp(110px, 14vw, 170px);
  z-index: 3;
  transform: rotate(12deg);
  filter: drop-shadow(4px 6px 0 rgba(10, 31, 49, .4));
}

.stamp svg { width: 100%; animation: tourne 24s linear infinite; }

@keyframes tourne { to { transform: rotate(360deg); } }

.stamp-ring { fill: none; stroke: var(--orange); stroke-width: 3; }
.stamp-ring-in { stroke-width: 1.5; stroke-dasharray: 4 5; }

.stamp-text {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  fill: var(--orange);
}

.stamp-94 {
  font-family: "Fugaz One", cursive;
  font-size: 34px;
  fill: var(--orange);
}

/* vague de séparation */
.wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(40px, 7vw, 90px);
  z-index: 4;
}

.wave path { fill: var(--mousse); }

/* ---------- Strip stats ---------- */

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--marine);
  border-block: 3px solid var(--marine);
  transform: rotate(-1.2deg) scale(1.02);
  margin: -30px 0 30px;
  position: relative;
  z-index: 5;
}

.strip-item {
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 18px 10px;
}

.strip-item:nth-child(even) { background: var(--orange-fonce); }

.strip-item b {
  display: block;
  font-family: "Fugaz One", cursive;
  font-weight: 400;
  font-size: clamp(18px, 2.4vw, 26px);
  text-transform: uppercase;
}

.strip-item span {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .9;
}

/* ---------- Sections ---------- */

.section {
  padding: clamp(70px, 9vw, 120px) clamp(16px, 6vw, 72px);
  max-width: 1160px;
  margin: 0 auto;
}

.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bleu-fonce);
  margin-bottom: 16px;
}

.section h2, .contact h2 {
  font-size: clamp(30px, 4.8vw, 56px);
  margin-bottom: clamp(34px, 5vw, 60px);
}

.section h2 { color: var(--marine); }
.contact h2 { color: var(--mousse); }

.section-note {
  margin-top: 34px;
  font-size: 15px;
  color: var(--marine-2);
}

.section-note a { color: var(--orange-fonce); font-weight: 700; }

/* ---------- Cartes formules ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.card {
  position: relative;
  background: #fff;
  border: 3px solid var(--marine);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  box-shadow: 8px 8px 0 var(--mousse-2);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 12px 12px 0 var(--bleu);
}

.card-featured {
  background: var(--marine);
  color: var(--mousse);
  transform: rotate(1.4deg);
  box-shadow: 8px 8px 0 var(--orange);
}

.card-featured:hover { transform: rotate(1.4deg) translate(-3px, -3px); box-shadow: 12px 12px 0 var(--orange); }

.card.card-featured h3 { color: #fff; }

.card-flag {
  position: absolute;
  top: -14px;
  right: 18px;
  background: var(--orange);
  color: #fff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 2px 3px 0 var(--encre);
}

.card-num {
  font-family: "Fugaz One", cursive;
  font-size: 15px;
  color: var(--bleu);
}

.card h3 {
  font-size: 27px;
  color: var(--marine);
  margin: 6px 0 16px;
}

.card ul { list-style: none; }

.card li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px dashed rgba(13, 43, 69, .18);
}

.card-featured li { border-bottom-color: rgba(242, 248, 253, .18); }

.card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 3px;
  transform: rotate(-45deg);
  background: var(--bleu);
}

.card li:last-child { border-bottom: none; }

.card-price {
  margin-top: 20px;
  font-family: "Fugaz One", cursive;
  font-size: 40px;
  line-height: 1;
  color: var(--orange-fonce);
}

.card-featured .card-price { color: var(--orange); }

/* ---------- Options ---------- */

.options {
  margin-top: 34px;
  border: 3px dashed var(--marine);
  border-radius: var(--radius);
  padding: 22px 26px;
  background: #fff;
}

.options-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bleu-fonce);
  margin-bottom: 12px;
}

.option {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
}

.option + .option { border-top: 1px dashed rgba(13, 43, 69, .18); }

.option span { font-size: 16px; font-weight: 500; }

.option i {
  flex: 1;
  border-bottom: 2px dotted rgba(13, 43, 69, .3);
  transform: translateY(-4px);
}

.option b {
  font-family: "Fugaz One", cursive;
  font-weight: 400;
  font-size: 22px;
  color: var(--orange-fonce);
  white-space: nowrap;
}

/* ---------- Étapes ---------- */

.section-dark {
  max-width: none;
  background:
    radial-gradient(900px 500px at 15% 0%, var(--marine-2), transparent 55%),
    var(--marine);
  color: var(--mousse);
}

.section-dark > * { max-width: 1160px; margin-left: auto; margin-right: auto; }

.section-dark .kicker { color: var(--bleu); }
.section-dark h2 { color: var(--mousse); margin-bottom: clamp(34px, 5vw, 60px); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3.5vw, 44px);
  counter-reset: etape;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: "Fugaz One", cursive;
  font-size: 26px;
  box-shadow: 3px 4px 0 var(--encre);
  margin-bottom: 16px;
}

.steps h3 { font-size: 21px; margin-bottom: 10px; color: #fff; }

.steps p { color: var(--mousse-2); font-size: 15px; }

.steps li:nth-child(2) { transform: translateY(22px); }
.steps li:nth-child(3) { transform: translateY(44px); }

.steps-cta { margin-top: clamp(60px, 8vw, 90px); text-align: center; }

/* ---------- Zone / chips ---------- */

.chips { display: flex; flex-wrap: wrap; gap: 12px; }

.chip {
  font-family: "IBM Plex Mono", monospace;
  font-size: 13px;
  letter-spacing: .03em;
  padding: 10px 18px;
  border: 2px solid var(--marine);
  border-radius: 999px;
  background: #fff;
  transition: transform .12s ease, background .12s ease;
}

.chip:hover { transform: translateY(-2px); background: var(--mousse-2); }

a.chip { text-decoration: none; display: inline-block; }

.chip-home {
  background: var(--marine);
  color: var(--mousse);
  font-weight: 600;
}

.chip-home::before { content: "★ "; color: var(--orange); }

.chip-more {
  border-style: dashed;
  border-color: var(--orange-fonce);
  color: var(--orange-fonce);
  font-weight: 600;
}

/* ---------- Texte SEO ---------- */

.texte-cols {
  columns: 2;
  column-gap: 44px;
  max-width: 980px;
}

.texte-cols p {
  break-inside: avoid;
  margin-bottom: 20px;
  font-size: 16.5px;
  color: var(--marine-2);
}

.texte-cols strong { color: var(--marine); }
.texte-cols a { color: var(--orange-fonce); font-weight: 700; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }

.faq details {
  background: #fff;
  border: 3px solid var(--marine);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: 5px 5px 0 var(--mousse-2);
  overflow: hidden;
}

.faq details[open] { box-shadow: 5px 5px 0 var(--bleu); }

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  font-family: "Fugaz One", cursive;
  font-size: 16px;
  color: var(--marine);
  text-transform: uppercase;
  letter-spacing: .02em;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::before {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 18px;
  transition: transform .2s ease;
}

.faq details[open] summary::before { transform: rotate(45deg); }

.faq details p {
  padding: 0 22px 20px 64px;
  font-size: 15.5px;
  color: var(--marine-2);
}

.faq details a { color: var(--orange-fonce); font-weight: 700; }

/* ---------- Pages villes ---------- */

.hero-ville { padding-bottom: clamp(90px, 11vw, 140px); }
.hero-ville h1 { font-size: clamp(34px, 6vw, 76px); }

.breadcrumb {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bleu);
  margin-bottom: 18px;
}

.breadcrumb a { color: var(--bleu); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.villes-liens {
  margin-top: 30px;
  font-size: 15px;
  color: var(--marine-2);
}

.villes-liens a { color: var(--orange-fonce); font-weight: 700; }

/* ---------- Contact ---------- */

.contact {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(1000px 500px at 50% 120%, var(--bleu-fonce), transparent 60%),
    var(--marine);
  color: var(--mousse);
  padding: clamp(80px, 11vw, 150px) clamp(16px, 6vw, 72px);
}

.contact .kicker { color: var(--bleu); }

.contact-title { color: var(--mousse); margin-bottom: 26px; }

.contact-phone {
  display: inline-block;
  font-family: "Fugaz One", cursive;
  font-size: clamp(34px, 7vw, 76px);
  color: var(--orange);
  text-decoration: none;
  text-shadow: 3px 4px 0 rgba(10, 31, 49, .6);
  transition: transform .15s ease;
  position: relative;
  z-index: 2;
}

.contact-phone:hover { transform: scale(1.04) rotate(-1deg); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 34px;
  position: relative;
  z-index: 2;
}

.contact-actions .btn-ghost-light { border-color: var(--mousse); color: var(--mousse); }
.contact-actions .btn-ghost-light:hover { background: rgba(242, 248, 253, .12); }

.contact address {
  margin-top: 44px;
  font-style: normal;
  font-size: 15px;
  color: var(--mousse-2);
  position: relative;
  z-index: 2;
}

.contact-bubbles span:nth-child(1) { left: 8%;  width: 20px; height: 20px; animation-duration: 12s; }
.contact-bubbles span:nth-child(2) { left: 22%; width: 32px; height: 32px; animation-duration: 15s; animation-delay: 3s; }
.contact-bubbles span:nth-child(3) { left: 44%; width: 14px; height: 14px; animation-duration: 10s; animation-delay: 1s; }
.contact-bubbles span:nth-child(4) { left: 63%; width: 26px; height: 26px; animation-duration: 14s; animation-delay: 5s; }
.contact-bubbles span:nth-child(5) { left: 80%; width: 16px; height: 16px; animation-duration: 11s; animation-delay: 2s; }
.contact-bubbles span:nth-child(6) { left: 92%; width: 24px; height: 24px; animation-duration: 13s; animation-delay: 6s; }

/* ---------- Footer ---------- */

.footer {
  background: var(--encre);
  color: rgba(242, 248, 253, .75);
  text-align: center;
  padding: 30px 16px 110px;
  font-size: 13px;
}

.footer-credit { margin-top: 6px; }
.footer-credit a { color: var(--bleu); font-weight: 700; text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Barre d'appel mobile ---------- */

.callbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: "Fugaz One", cursive;
  font-size: 16px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 18px;
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--orange-fonce), 0 12px 30px rgba(10, 31, 49, .35);
}

.callbar svg { width: 20px; height: 20px; fill: #fff; animation: sonne 2.4s ease infinite; }

@keyframes sonne {
  0%, 82%, 100% { transform: rotate(0); }
  86% { transform: rotate(-14deg); }
  90% { transform: rotate(12deg); }
  94% { transform: rotate(-8deg); }
  98% { transform: rotate(4deg); }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .topbar-track, .stamp svg, .callbar svg,
  .hero-bubbles span, .contact-bubbles span { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .cards { grid-template-columns: 1fr; }
  .card-featured { transform: none; }
  .card-featured:hover { transform: translate(-3px, -3px); }
  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(2), .steps li:nth-child(3) { transform: none; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .stamp { display: none; }
}

@media (max-width: 900px) {
  .texte-cols { columns: 1; }
}

@media (max-width: 640px) {
  .nav-cta { font-size: 0; gap: 0; padding: 12px 14px; }
  .nav-cta svg { width: 20px; height: 20px; }
  .callbar { display: flex; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .brand-name { font-size: 13px; }
  .faq details p { padding-left: 22px; }
}
