/* Z Taxi Express. Noir et jaune de la marque, corps clair pour la lecture.
   Public : patients, souvent âgés, sur téléphone. Gros texte, gros boutons, contraste fort. */

@font-face { font-family: Archivo; src: url(fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: Archivo; src: url(fonts/archivo-italic.woff2) format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url(fonts/sourcesans.woff2) format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }

:root {
  --noir: #0b0b0c;
  --noir-2: #17171a;
  --jaune: #f5e400;
  --jaune-fonce: #d9c900;
  --papier: #faf8f1;
  --papier-2: #f1eee2;
  --encre: #16161a;
  --encre-2: #4b4a45;
  --trait: #dcd8c8;
  --vert: #1f7a3f;
  --rouge: #a3261c;
  --rayon: 14px;
  --gouttiere: clamp(18px, 4vw, 40px);
  --largeur: 1120px;
  --barre-mobile: 0px;
  --titre: Archivo, "Arial Narrow", Arial, sans-serif;
  --texte: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 1.125rem/1.6 var(--texte); padding-bottom: var(--barre-mobile); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--titre); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 3px; border-radius: 4px; }
.clair :focus-visible { outline-color: var(--encre); }

.conteneur { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }
.saut { position: absolute; left: -999px; top: 0; background: var(--jaune); color: var(--noir); padding: 12px 16px; z-index: 100; font-weight: 700; }
.saut:focus { left: 8px; top: 8px; }

/* Boutons : 56 px de haut au minimum, le numéro est écrit dans le bouton d'appel. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 56px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font: 700 1.125rem/1.1 var(--titre); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-jaune { background: var(--jaune); color: var(--noir); }
.btn-jaune:hover { background: #fff36a; }
.btn-contour { border-color: currentColor; color: #fff; background: transparent; }
.btn-contour:hover { background: #fff; color: var(--noir); border-color: #fff; }
.btn-noir { background: var(--noir); color: #fff; }
.btn-noir:hover { background: #2a2a2f; }
.btn-large { width: 100%; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 50; background: var(--noir); color: #fff; border-bottom: 1px solid #26262b; }
.entete .conteneur { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { flex: none; display: block; }
.logo img { width: 148px; height: 56px; object-fit: cover; object-position: center; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font: 600 1rem/1 var(--titre); color: #e9e7dc; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--jaune); }
.entete .btn { min-height: 46px; padding: 8px 18px; font-size: 1rem; }
.menu-bouton { display: none; margin-left: auto; background: none; border: 2px solid #3a3a40; color: #fff; border-radius: 12px; min-width: 48px; min-height: 48px; font: 600 1rem/1 var(--titre); padding: 0 14px; cursor: pointer; }

/* Hero */
.hero { position: relative; background: var(--noir); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(img/onde.webp) center 70% / cover no-repeat; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11,11,12,.96) 0%, rgba(11,11,12,.78) 48%, rgba(11,11,12,.25) 100%); }
.hero .conteneur { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: center; padding-block: clamp(44px, 8vw, 96px); }
.surtitre { display: inline-flex; align-items: center; gap: 10px; font: 700 .95rem/1 var(--titre); letter-spacing: .08em; text-transform: uppercase; color: var(--jaune); margin-bottom: 18px; }
.surtitre::before { content: ""; width: 28px; height: 3px; background: var(--jaune); }
.hero h1 em { font-style: italic; color: var(--jaune); }
.hero p.chapo { font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: #e4e2d8; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-visuel { justify-self: end; width: min(100%, 470px); animation: arrivee .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes arrivee { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
.hero-page .conteneur { grid-template-columns: 1fr; padding-block: clamp(36px, 6vw, 72px); }
.hero-page h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 18em; }

/* Réassurance */
.reassurance { background: var(--jaune); color: var(--noir); }
.reassurance ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.reassurance li { display: flex; gap: 12px; align-items: flex-start; padding: 20px 22px; font: 650 1.05rem/1.3 var(--titre); border-left: 1px solid rgba(0,0,0,.18); }
.reassurance li:first-child { border-left: 0; padding-left: 0; }
.reassurance svg { width: 26px; height: 26px; flex: none; margin-top: 1px; }

/* Sections */
.section { padding-block: clamp(52px, 8vw, 104px); }
.section-2 { background: var(--papier-2); }
.section-noire { background: var(--noir); color: #fff; }
.tete { max-width: 44em; margin-bottom: clamp(28px, 4vw, 48px); }
.tete p { color: var(--encre-2); font-size: 1.2rem; }
.section-noire .tete p { color: #cfcdc2; }

.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.carte { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.carte .picto { width: 52px; height: 52px; border-radius: 14px; background: var(--jaune); display: grid; place-items: center; margin-bottom: 12px; }
.carte .picto svg { width: 28px; height: 28px; }
.carte p { color: var(--encre-2); margin: 0; }

/* Destinations */
.destinations { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.destination { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 20px 22px; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.destination:hover { border-color: var(--noir); transform: translateY(-2px); }
.destination strong { font: 700 1.25rem/1.2 var(--titre); }
.destination span { color: var(--encre-2); font-size: 1rem; grid-column: 1; }
.destination svg { grid-row: 1 / span 2; grid-column: 2; width: 26px; height: 26px; }
.section-noire .destination { background: var(--noir-2); border-color: #2c2c32; color: #fff; }
.section-noire .destination span { color: #bdbbb0; }
.section-noire .destination:hover { border-color: var(--jaune); }

/* Étapes */
.etapes { counter-reset: etape; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.etapes li { counter-increment: etape; padding: 26px; border-radius: var(--rayon); background: #fff; border: 1px solid var(--trait); }
.etapes li::before { content: counter(etape); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--noir); color: var(--jaune); font: 800 1.2rem/1 var(--titre); margin-bottom: 14px; }
.etapes p { color: var(--encre-2); margin: 0; }

/* Deux colonnes */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.liste-coches li { position: relative; padding: 12px 0 12px 40px; border-bottom: 1px solid var(--trait); }
.liste-coches li::before { content: ""; position: absolute; left: 0; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--jaune) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0b0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 16px no-repeat; }
.encart { background: var(--noir); color: #fff; border-radius: var(--rayon); padding: clamp(24px, 4vw, 36px); }
.encart .chiffres { display: flex; gap: 28px; margin: 6px 0 20px; }
.encart .chiffres div { font: 800 clamp(1.8rem, 6vw, 2.4rem)/1 var(--titre); color: var(--jaune); white-space: nowrap; }
.encart .chiffres small { white-space: normal; }
.encart .chiffres small { display: block; font: 500 .95rem/1.3 var(--texte); color: #cfcdc2; margin-top: 6px; }
.encart p { color: #dedcd1; }
.note { font-size: .98rem; color: var(--encre-2); }

.google { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.google p { color: #cfcdc2; margin: 0; max-width: 40em; }
.google .actions { margin: 0; justify-content: flex-end; }
@media (max-width: 900px) { .google { grid-template-columns: 1fr; } .google .actions { justify-content: flex-start; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 700 1.2rem/1.3 var(--titre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 3px solid var(--encre); border-bottom: 3px solid var(--encre); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 0 22px; max-width: 46em; color: var(--encre-2); }

/* Formulaire */
.formulaire { background: #fff; border: 1px solid var(--trait); border-radius: 20px; padding: clamp(22px, 4vw, 36px); box-shadow: 0 24px 60px -40px rgba(0,0,0,.35); }
.champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ-large { grid-column: 1 / -1; }
.champ label { font: 650 1rem/1.3 var(--titre); }
.champ .aide { font-size: .92rem; color: var(--encre-2); }
.champ input, .champ textarea { width: 100%; min-height: 56px; padding: 12px 16px; border: 2px solid #bdb9a8; border-radius: 12px; background: #fff; font: 400 1.125rem/1.3 var(--texte); color: var(--encre); }
.champ textarea { min-height: 96px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--noir); box-shadow: 0 0 0 4px rgba(245,228,0,.55); }
.champ input[aria-invalid="true"] { border-color: var(--rouge); }
.erreur { color: var(--rouge); font-size: .95rem; font-weight: 600; min-height: 0; }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.case input { width: 26px; height: 26px; min-height: 0; flex: none; margin-top: 2px; accent-color: var(--noir); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.etat { margin-top: 18px; padding: 16px 18px; border-radius: 12px; font-weight: 600; }
.etat[hidden] { display: none; }
.etat-ok { background: #e6f4ea; color: #12512a; border: 1px solid #b5dcc1; }
.etat-ko { background: #fbe9e7; color: #7c1d15; border: 1px solid #efc1bc; }
.formulaire .btn { margin-top: 22px; }
.mentions-form { margin: 14px 0 0; font-size: .92rem; color: var(--encre-2); }

/* Bandeau d'appel */
.appel { background: var(--noir); color: #fff; }
.appel .conteneur { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 72px); }
.appel h2 { margin: 0; max-width: 16em; }
.appel h2 em { color: var(--jaune); font-style: italic; }

/* Texte long (mentions légales) */
.prose { max-width: 46em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.a-completer { background: #fff3c4; border: 1px dashed #b38f00; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.fil { font-size: .95rem; color: #bdbbb0; margin-bottom: 14px; }
.fil a { color: inherit; }

/* Pied */
.pied { background: var(--noir); color: #cfcdc2; border-top: 1px solid #26262b; font-size: 1rem; }
.pied .conteneur { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-block: 48px 28px; }
.pied h3 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--jaune); }
.pied li { padding: 4px 0; }
.pied img { width: 150px; height: 58px; object-fit: cover; margin-bottom: 10px; }
.pied-bas { border-top: 1px solid #26262b; padding-block: 18px; font-size: .92rem; }
.pied-bas .conteneur { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-block: 0; grid-template-columns: none; }

/* Bandeau de consentement : refuser est aussi simple qu'accepter (CNIL). */
.cookies { position: fixed; z-index: 70; left: 16px; right: 16px; bottom: calc(16px + var(--barre-mobile)); max-width: 560px; margin-inline: auto; background: var(--noir); color: #fff; border: 1px solid #3a3a40; border-radius: 18px; padding: 18px 20px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.cookies p { margin: 0 0 14px; font-size: 1rem; line-height: 1.45; }
.cookies-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookies .btn { min-height: 48px; padding: 8px 12px; font-size: 1rem; }
.lien-cookies { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lien-cookies:hover { color: var(--jaune); }

/* Barre d'action mobile : toujours visible, c'est le premier constat du plan de conversion. */
.barre-mobile { display: none; }

@media (max-width: 900px) {
  .cartes, .etapes { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .hero .conteneur { grid-template-columns: 1fr; }
  .hero-visuel { justify-self: center; width: min(60%, 250px); order: -1; margin-bottom: -18px; }
  .hero::after { background: linear-gradient(180deg, rgba(11,11,12,.72) 0%, rgba(11,11,12,.94) 60%); }
  .reassurance ul { grid-template-columns: 1fr; }
  .reassurance li { border-left: 0; border-top: 1px solid rgba(0,0,0,.18); padding-left: 0; }
  .reassurance li:first-child { border-top: 0; }
  .pied .conteneur { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  :root { --barre-mobile: 76px; }
  .menu-bouton { display: inline-flex; align-items: center; }
  .entete .btn { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--noir); flex-direction: column; align-items: stretch; padding: 8px var(--gouttiere) 18px; border-bottom: 1px solid #26262b; }
  .nav.ouvert { display: flex; }
  .nav a { padding: 16px 4px; font-size: 1.15rem; border-bottom: 1px solid #222227; border-radius: 0; }
  .champs { grid-template-columns: 1fr; }
  .actions .btn { width: 100%; }
  .appel .btn { width: 100%; }
  .barre-mobile { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,11,12,.96); border-top: 1px solid #2c2c32; }
  .barre-mobile .btn { min-height: 56px; padding-inline: 10px; font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print { .entete, .barre-mobile, .appel, .pied { display: none; } body { background: #fff; } }
