/* TaxiCov — site vitrine. Ordinateur, tablette et telephone. */
:root {
  --encre: #0E1A33;
  --gris: #4A5568;
  --gris-clair: #C9D2E3;
  --fond: #FAFAF7;
  --blanc: #FFFFFF;
  --bord: #E6E8EC;
  --jaune: #FFC72C;
  --jaune-pale: #FFF4D1;
  --vert: #2F7D32;
  --vert-pale: #E4F1E1;
  --titre: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--encre);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--encre); }
a:hover { color: var(--vert); }
h1, h2, h3, p { margin: 0; }
img, svg { flex: none; }
.cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.conteneur-etroit { max-width: 860px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.bande-blanche { background: var(--blanc); border-top: 1px solid var(--bord); }
.bande-blanche.bas { border-top: 0; padding: 0 16px clamp(56px, 8vw, 96px); }
.bande-sombre { background: var(--encre); color: var(--blanc); }

/* ---------- boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px; border-radius: 14px;
  font-weight: 700; text-decoration: none; font-size: 16px;
}
.bouton-sombre { background: var(--encre); color: var(--blanc); }
.bouton-sombre:hover { background: #1D2D52; color: var(--blanc); }
.bouton-contour { background: var(--blanc); color: var(--encre); border: 2px solid var(--encre); }
.bouton-contour:hover { color: var(--encre); background: var(--jaune-pale); }
.bouton-petit { min-height: 44px; padding: 10px 20px; border-radius: 999px; font-size: 15px; }
.bouton-large { width: 100%; margin-top: 18px; }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px;
  background: var(--encre); color: var(--blanc); text-decoration: none; padding: 10px 22px; border-radius: 14px;
}
.store:hover { background: #1D2D52; color: var(--blanc); }
.store span { display: flex; flex-direction: column; line-height: 1.15; }
.store small { font-size: 12px; opacity: 0.8; }
.store strong { font-size: 17px; }

/* ---------- en-tete ---------- */
.entete { position: sticky; top: 0; z-index: 20; background: rgba(250, 250, 247, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--bord); }
.entete-ligne { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-icone { width: 40px; height: 40px; border-radius: 12px; background: var(--jaune); display: flex; align-items: center; justify-content: center; }
.logo-texte { font-family: var(--titre); font-weight: 800; font-size: 24px; letter-spacing: -0.5px; color: var(--encre); }
.logo-texte span { color: var(--vert); }
.logo-texte.clair { color: var(--blanc); font-size: 26px; }
.logo-texte.clair span { color: var(--jaune); }
.menu { display: flex; align-items: center; gap: 24px; font-weight: 600; font-size: 15px; }
.menu a:not(.bouton) { text-decoration: none; }
.menu a.bouton { color: var(--blanc); margin-left: 8px; }
.bouton-menu { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: var(--encre); border-radius: 12px; cursor: pointer; }

@media (max-width: 860px) {
  .bouton-menu { display: inline-flex; align-items: center; justify-content: center; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fond); border-bottom: 1px solid var(--bord); padding: 8px 24px 20px; font-size: 17px;
  }
  .menu.ouvert { display: flex; }
  .menu a:not(.bouton) { padding: 14px 0; border-bottom: 1px solid var(--bord); }
  .menu a.bouton { margin: 16px 0 0; }
}

/* ---------- accueil ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-texte { flex: 1 1 460px; min-width: 0; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--blanc); border: 1px solid var(--bord); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.point { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); }
h1 { font-family: var(--titre); font-weight: 800; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -2px; margin: 20px 0; }
.intro { font-size: clamp(18px, 2vw, 21px); color: var(--gris); margin-bottom: 32px; max-width: 540px; }
.atouts { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: var(--gris); }
.atouts li { display: flex; align-items: center; gap: 8px; }
.atouts svg, .avantages svg { fill: none; stroke: var(--vert); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.hero-visuel { flex: 1 1 340px; display: flex; justify-content: center; position: relative; }
.disque { position: absolute; width: min(380px, 92vw); aspect-ratio: 1; border-radius: 50%; background: var(--jaune); top: 70px; }
.telephone { position: relative; width: 300px; height: 610px; border-radius: 44px; background: var(--encre); padding: 10px; box-shadow: 0 30px 60px rgba(14, 26, 51, 0.25); }
.ecran { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: #E9EDE6; position: relative; display: flex; flex-direction: column; font-size: 13px; }
.plan { position: absolute; top: 0; left: 0; }
.trajet { position: relative; margin: 16px 14px 0; background: var(--blanc); border-radius: 16px; padding: 12px 14px; box-shadow: 0 6px 16px rgba(14, 26, 51, 0.12); }
.trajet div { display: flex; align-items: center; gap: 8px; }
.trajet .arrivee { margin-top: 6px; font-weight: 700; }
.pastille { width: 8px; height: 8px; border-radius: 50%; }
.pastille.verte { background: var(--vert); }
.pastille.carree { border-radius: 2px; background: var(--encre); }
.feuille { margin-top: auto; position: relative; background: var(--blanc); border-radius: 24px 24px 0 0; padding: 16px 14px 18px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 -6px 18px rgba(14, 26, 51, 0.10); }
.feuille-titre { font-weight: 700; font-size: 14px; }
.feuille-sous { font-size: 12px; color: var(--gris); margin-top: -6px; }
.offre { display: flex; align-items: center; gap: 10px; border: 1px solid var(--bord); border-radius: 14px; padding: 8px 10px; }
.initiale { width: 32px; height: 32px; border-radius: 50%; background: #EEF1F6; display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.qui { flex: 1; min-width: 0; line-height: 1.25; }
.qui b, .qui small { display: block; }
.qui small { font-size: 11px; color: var(--gris); }
.choisir { background: var(--encre); color: var(--blanc); text-align: center; border-radius: 12px; padding: 10px; font-weight: 700; font-size: 14px; margin-top: 4px; }

/* ---------- sections ---------- */
.surtitre { font-weight: 700; color: var(--vert); letter-spacing: 1px; text-transform: uppercase; font-size: 14px; }
.surtitre.jaune { color: var(--jaune); }
.titre-section { font-family: var(--titre); font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -1px; margin: 10px 0 20px; max-width: 760px; }
.titre-section.centre { text-align: center; margin: 0 auto 32px; }
.intro-section { color: var(--gris); font-size: 18px; margin-bottom: 28px; }
.intro-section.clair { color: var(--gris-clair); }

.etapes { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 20px; }
.etapes li { flex: 1 1 230px; background: var(--fond); border: 1px solid var(--bord); border-radius: 20px; padding: 26px; }
.numero { width: 44px; height: 44px; border-radius: 12px; background: var(--jaune); display: flex; align-items: center; justify-content: center; font-family: var(--titre); font-weight: 800; font-size: 20px; }
.etapes h3 { font-size: 20px; margin: 18px 0 8px; }
.etapes p { color: var(--gris); }

.deux-colonnes { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.colonne-texte { flex: 1 1 440px; min-width: 0; }
.liste-icones { display: flex; flex-direction: column; gap: 16px; }
.item-icone { display: flex; gap: 16px; align-items: flex-start; }
.item-icone h3 { font-size: 19px; margin-bottom: 4px; }
.item-icone p { color: var(--gris); }
.icone-verte { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--vert-pale); display: flex; align-items: center; justify-content: center; }
.icone-verte svg { fill: none; stroke: var(--vert); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.carte-sombre { flex: 1 1 380px; background: var(--encre); color: var(--blanc); border-radius: 28px; padding: 32px; }
.discret { color: var(--gris-clair); font-size: 15px; }
.discret.petit { font-size: 14px; margin-top: 20px; }
.lignes-partage { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.ligne-partage { background: rgba(255, 255, 255, 0.07); border-radius: 18px; padding: 18px 20px; display: flex; align-items: center; gap: 16px; }
.personnes { display: flex; gap: 4px; width: 78px; flex: none; }
.personnes i { width: 22px; height: 22px; border-radius: 50%; }
.libelle { flex: 1; font-weight: 600; }
.part { font-family: var(--titre); font-weight: 800; font-size: 26px; }

.avantages { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 28px; }
.avantages li { flex: 1 1 220px; display: flex; gap: 10px; align-items: flex-start; }
.avantages svg { stroke: var(--jaune); margin-top: 2px; }
.carte-blanche { flex: 1 1 340px; background: var(--blanc); color: var(--encre); border-radius: 28px; padding: 32px; }
.gras { font-weight: 700; }
.grand-chiffre { font-family: var(--titre); font-weight: 800; font-size: 56px; letter-spacing: -2px; line-height: 1; margin-top: 6px; }
.gris { color: var(--gris); margin: 4px 0 18px; }
.encadre-jaune { background: var(--jaune-pale); border-radius: 14px; padding: 14px 16px; font-size: 15px; }

.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--fond); border: 1px solid var(--bord); border-radius: 16px; padding: 18px 22px; }
.faq summary { font-weight: 700; font-size: 18px; cursor: pointer; }
.faq p { margin-top: 10px; color: var(--gris); }

/* ---------- inscription ---------- */
.bandeau-jaune { background: var(--jaune); border-radius: 32px; padding: clamp(28px, 6vw, 64px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; max-width: 1152px; }
.titre-bandeau { font-family: var(--titre); font-weight: 800; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.05; letter-spacing: -1px; margin-bottom: 10px; }
.bandeau-jaune .colonne-texte > p { font-size: 18px; margin-bottom: 18px; }
.bandeau-jaune span.bouton { min-height: 44px; padding: 10px 18px; border-radius: 12px; font-size: 15px; }
.formulaire { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.profil { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0 24px; align-items: center; }
.profil legend { font-weight: 700; padding: 0; margin-bottom: 2px; }
.profil { flex-direction: row; }
.profil legend + label { margin-left: 0; }
.profil label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 600; }
.profil input { width: 20px; height: 20px; accent-color: var(--encre); }
.champ-ligne { display: flex; flex-wrap: wrap; gap: 10px; }
.champ-ligne input { flex: 1 1 220px; min-width: 0; min-height: 52px; border-radius: 14px; border: 2px solid var(--encre); padding: 0 16px; font: inherit; background: var(--blanc); color: var(--encre); }
.champ-ligne input:focus { outline: 3px solid var(--encre); outline-offset: 2px; }
.champ-ligne button { min-height: 52px; border-radius: 14px; border: 0; background: var(--encre); color: var(--blanc); font: inherit; font-weight: 700; padding: 0 22px; cursor: pointer; }
.champ-ligne button:hover { background: #1D2D52; }
.champ-ligne button[disabled] { opacity: 0.6; cursor: wait; }
.message { min-height: 24px; font-weight: 700; }
.message.erreur { color: #8A1C1C; }
.mention { font-size: 14px; }

/* ---------- pied de page ---------- */
.pied { background: var(--encre); color: var(--gris-clair); font-size: 15px; }
.pied a { color: var(--gris-clair); }
.pied a:hover { color: var(--blanc); }
.pied-ligne { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.pied-marque { flex: 2 1 280px; }
.pied-marque p:last-child { margin-top: 8px; max-width: 340px; }
.pied-colonne { flex: 1 1 180px; display: flex; flex-direction: column; gap: 8px; }
.pied-titre { color: var(--blanc); font-weight: 700; }
.pied-bas { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; padding-bottom: 28px; font-size: 13px; }

/* ---------- page confidentialite ---------- */
.page-texte { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.page-texte h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -1px; }
.page-texte h2 { font-size: 22px; margin: 32px 0 8px; }
.page-texte p, .page-texte li { color: var(--gris); }

@media (max-width: 420px) {
  .telephone { transform: scale(0.92); transform-origin: top center; margin-bottom: -48px; }
  .hero { gap: 40px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- page d'invitation /i/CODE ---------- */
.invitation { max-width: 560px; margin: 0 auto; padding: 32px 16px 64px; }
.chargement { text-align: center; color: var(--gris); padding: 48px 0; }
.carte-invitation { background: var(--blanc); border: 1px solid var(--bord); border-radius: 28px; padding: clamp(22px, 5vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.titre-invitation { font-family: var(--titre); font-weight: 800; font-size: clamp(28px, 6vw, 38px); line-height: 1.1; letter-spacing: -1px; margin: 0; }
.trajet-invitation { background: var(--fond); border-radius: 18px; padding: 16px 18px; }
.etape-inv { display: flex; align-items: center; gap: 14px; }
.etape-inv small { display: block; color: var(--gris); font-size: 13px; }
.etape-inv b { font-size: 18px; }
.ligne-inv { width: 2px; height: 18px; background: var(--bord); margin: 4px 0 4px 3px; }
.infos-inv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.infos-inv div { border: 1px solid var(--bord); border-radius: 14px; padding: 12px 14px; }
.infos-inv dt { color: var(--gris); font-size: 13px; }
.infos-inv dd { margin: 2px 0 0; font-weight: 700; }
.encadre-vert { background: var(--vert-pale); color: #1E5A22; border-radius: 14px; padding: 12px 16px; font-weight: 600; }
.explication { color: var(--gris); font-size: 15px; }
.sans-app { border-top: 1px solid var(--bord); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.sans-app h2 { font-size: 20px; }
.sans-app ol { margin: 0; padding-left: 22px; color: var(--encre); }
.sans-app li { margin: 4px 0; }
.code-inv { display: flex; align-items: center; gap: 12px; background: var(--jaune-pale); border: 2px dashed var(--jaune); border-radius: 16px; padding: 12px 16px; }
.code-inv span { flex: 1; font-family: var(--titre); font-weight: 800; font-size: 30px; letter-spacing: 6px; }
.code-inv button { min-height: 44px; border: 0; border-radius: 12px; background: var(--encre); color: var(--blanc); font: inherit; font-weight: 700; padding: 0 18px; cursor: pointer; }
.petit-gris { color: var(--gris); font-size: 14px; min-height: 20px; }
.page-invitation .pastille { flex: none; }

/* ---------- inscription chauffeur (nom + numero, puis documents) ---------- */
span.store { cursor: default; }
span.store:hover { background: var(--encre); }
.inscription { display: flex; flex-direction: column; scroll-margin-top: 96px; }
.etape { display: flex; flex-direction: column; gap: 14px; }
.etape[hidden] { display: none; }
.inscription .gris { margin: 0; }
.inscription-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.titre-carte { font-family: var(--titre); font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -0.5px; }
.pastille-zero { background: var(--jaune); color: var(--encre); font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.champ { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.champ input {
  min-height: 52px; border-radius: 14px; border: 2px solid var(--bord); padding: 0 16px; font: inherit; font-weight: 500;
  background: var(--fond); color: var(--encre); transition: border-color .15s, background .15s;
}
.champ input:focus { outline: none; border-color: var(--encre); background: var(--blanc); }
.inscription .bouton-large { margin-top: 4px; border: 0; cursor: pointer; font: inherit; font-weight: 700; }
.inscription .bouton[disabled] { opacity: 0.6; cursor: wait; }
.inscription .message { min-height: 0; }
.inscription .message:empty { display: none; }
.inscription .mention { color: var(--gris); }
.inscription .encadre-vert { margin: 0; }

.progression { height: 8px; border-radius: 4px; background: var(--fond); border: 1px solid var(--bord); overflow: hidden; }
.progression span { display: block; height: 100%; width: 0; background: var(--vert); border-radius: 4px; transition: width .3s; }
.liste-documents { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.liste-documents li {
  display: flex; align-items: center; gap: 12px; border: 1px solid var(--bord); border-radius: 14px; padding: 10px 12px;
  background: var(--blanc); transition: border-color .15s, background .15s;
}
.liste-documents li.envoye { background: var(--vert-pale); border-color: #CBE3C6; }
.doc-icone { width: 38px; height: 38px; border-radius: 10px; background: var(--fond); display: grid; place-items: center; font-size: 19px; flex: none; }
.envoye .doc-icone { background: var(--blanc); }
.doc-texte { flex: 1; min-width: 0; }
.doc-texte b { display: block; font-size: 15px; line-height: 1.25; }
.doc-texte small { color: var(--gris); font-size: 13px; }
.envoye .doc-texte small { color: #1E5A22; font-weight: 600; }
.doc-bouton {
  flex: none; min-height: 40px; border-radius: 10px; border: 0; background: var(--jaune); color: var(--encre);
  font: inherit; font-weight: 700; font-size: 14px; padding: 0 14px; cursor: pointer;
}
.doc-bouton:hover { background: #F5B800; }
.envoye .doc-bouton { background: transparent; text-decoration: underline; font-weight: 600; color: var(--gris); padding: 0 6px; }
.doc-bouton[disabled] { opacity: 0.6; cursor: wait; }
.lien-discret { background: none; border: 0; font: inherit; color: var(--gris); text-decoration: underline; cursor: pointer; padding: 6px; align-self: center; }
.lien-discret:hover { color: var(--encre); }
.fin { align-items: center; text-align: center; padding: 12px 0; }
.rond-ok { width: 64px; height: 64px; border-radius: 50%; background: var(--vert); color: var(--blanc); font-size: 32px; font-weight: 800; display: grid; place-items: center; }
