/* Site public Lahouari Transport : mêmes repères que le QG (blanc, bleu #0054F6, point rouge de la marque, Geist). */
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --fond: #ffffff; --surface: #f5f8fd; --trait: #e3e8f0; --trait-fort: #c9d1dd;
  --encre: #0c0d10; --encre-2: #3d4350; --encre-3: #5b6270;
  --bleu: #0054f6; --bleu-fonce: #0043c4; --bleu-pale: #e8f0fe; --rouge: #fd0c4a;
  --rayon: 14px; --rayon-l: 22px;
  --ombre: 0 1px 2px rgba(12, 13, 16, 0.05), 0 18px 40px -22px rgba(12, 22, 48, 0.22);
  --courbe: cubic-bezier(0.16, 1, 0.3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
a { color: var(--bleu-fonce); text-underline-offset: 3px; }
h1, h2, h3, p, ol, ul, blockquote { margin: 0; }
h1 { font-size: clamp(2.05rem, 1.2rem + 3.4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 680; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.35rem); line-height: 1.1; letter-spacing: -0.03em; font-weight: 660; text-wrap: balance; }
h3 { font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; font-weight: 650; }
.cadre { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 22px; padding-right: 22px; }
.evitement { position: absolute; left: -999px; top: 8px; background: var(--encre); color: #fff; padding: 10px 14px; border-radius: 10px; z-index: 30; }
.evitement:focus { left: 12px; }
.apercu { background: var(--encre); color: #fff; font-size: 0.82rem; text-align: center; padding: 7px 16px; }

.surtitre { display: inline-flex; align-items: center; gap: 9px; font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 650; color: var(--encre-2); margin-bottom: 14px; }
.surtitre::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rouge); flex: none; }
.chapeau { font-size: 1.1rem; color: var(--encre-2); max-width: 62ch; }

.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 24px; border-radius: 14px; font-weight: 620; font-size: 1.02rem; text-decoration: none; border: 1px solid transparent; transition: transform 0.25s var(--courbe), background 0.2s, border-color 0.2s, box-shadow 0.25s; text-align: center; }
.bouton:active { transform: scale(0.98); }
.bouton:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--bleu); outline-offset: 3px; border-radius: 8px; }
.bouton-plein { background: var(--encre); color: #fff; box-shadow: 0 10px 24px -14px rgba(12, 13, 16, 0.6); }
.bouton-plein:hover { background: #1c1f27; transform: translateY(-1px); }
.bouton-trait { border-color: var(--trait-fort); color: var(--encre); background: #fff; }
.bouton-trait:hover { border-color: var(--encre); }
.bouton-clair { background: #fff; color: var(--encre); }
.bouton-clair:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.5); }
.bouton.petit { min-height: 44px; padding: 9px 16px; font-size: 0.94rem; border-radius: 12px; }

.entete { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--trait); }
.entete-ligne { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.marque { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; color: var(--encre); }
.marque img { display: block; width: 46px; height: auto; }
.marque span { display: grid; line-height: 1.05; font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--encre-2); }
.marque strong { font-size: 0.98rem; letter-spacing: 0.12em; color: var(--encre); font-weight: 700; }
.liens { display: none; gap: 26px; }
.liens a { color: var(--encre-2); text-decoration: none; font-weight: 560; font-size: 0.96rem; }
.liens a:hover { color: var(--encre); }

.hero { display: grid; gap: 36px; padding-top: 44px; padding-bottom: 56px; }
.hero-texte > * { animation: monte 0.7s var(--courbe) both; }
.hero-texte > :nth-child(2) { animation-delay: 0.06s; }
.hero-texte > :nth-child(3) { animation-delay: 0.12s; }
.hero-texte > :nth-child(4) { animation-delay: 0.18s; }
.hero-texte > :nth-child(5) { animation-delay: 0.24s; }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero .chapeau { margin-top: 20px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rassure { margin-top: 16px; font-size: 0.94rem; color: var(--encre-3); max-width: 54ch; }
.semaine-type { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--rayon-l); padding: 26px 24px 22px; box-shadow: var(--ombre); animation: monte 0.8s var(--courbe) 0.2s both; align-self: start; }
.etiquette { font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 650; color: var(--bleu-fonce); margin-bottom: 8px; }
.semaine-type ol { list-style: none; padding: 0; }
.semaine-type li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--trait); }
.semaine-type li:first-child { border-top: 0; }
.semaine-type .jour { font-weight: 650; }
.semaine-type li span:last-child { color: var(--encre-2); font-size: 0.98rem; }
.signature { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--trait); font-size: 0.92rem; color: var(--encre-3); line-height: 1.35; }
.signature img { border-radius: 50%; flex: none; }
.signature strong { color: var(--encre); }

.bande { background: var(--surface); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); padding: 64px 0; }
.profils { display: grid; gap: 14px; margin-top: 30px; }
.profils article { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-l); padding: 26px 24px; display: grid; gap: 12px; align-content: start; }
.profils p { color: var(--encre-2); }
.profils .detail { color: var(--encre); font-weight: 560; padding-top: 12px; border-top: 1px solid var(--trait); }

.programme { padding-top: 72px; padding-bottom: 72px; }
.programme-tete { display: grid; gap: 4px; }
.programme-tete .chapeau { margin-top: 14px; }
.etapes { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--trait-fort); }
.etape { display: grid; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--trait); align-items: start; }
.etape h3 { display: grid; gap: 6px; align-content: start; }
.etape h3 span { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bleu-fonce); font-weight: 650; }
.etape ol { padding-left: 0; list-style: none; display: grid; gap: 8px; counter-reset: semaine calc(var(--depart, 1) - 1); }
.etape li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: baseline; color: var(--encre-2); counter-increment: semaine; }
.etape li::before { content: counter(semaine, decimal-leading-zero); font-variant-numeric: tabular-nums; font-weight: 650; color: var(--encre); font-size: 0.92rem; }
.suite { margin-top: 26px; padding: 18px 20px; background: var(--bleu-pale); border-radius: var(--rayon); color: var(--encre); }

.outils-grille { display: grid; gap: 30px; }
.outils .chapeau { margin-top: 14px; }
.liste-outils { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--trait-fort); }
.liste-outils li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.liste-outils span { color: var(--encre-2); }

.coach { display: grid; gap: 22px; padding-top: 72px; padding-bottom: 72px; align-items: start; }
.portrait { border-radius: 26px; width: 112px; height: 112px; border: 1px solid var(--trait); box-shadow: var(--ombre); }
.coach blockquote { margin-top: 18px; padding-left: 20px; border-left: 3px solid var(--bleu); }
.coach blockquote p { font-size: 1.16rem; line-height: 1.55; color: var(--encre-2); max-width: 60ch; }

.demarrer { display: grid; gap: 28px; }
.pas { list-style: none; padding: 0; counter-reset: pas; display: grid; gap: 0; border-top: 1px solid var(--trait-fort); }
.pas li { counter-increment: pas; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--trait); }
.pas li::before { content: counter(pas); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; background: var(--encre); color: #fff; display: grid; place-items: center; font-weight: 650; font-size: 0.95rem; }
.pas span { color: var(--encre-2); }

.faq { padding-top: 72px; padding-bottom: 72px; }
.questions { margin-top: 26px; border-top: 1px solid var(--trait-fort); max-width: 820px; }
.questions details { border-bottom: 1px solid var(--trait); }
.questions summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 620; font-size: 1.06rem; position: relative; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--encre-3); border-bottom: 2px solid var(--encre-3); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s var(--courbe); }
.questions details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.questions details p { padding: 0 0 22px; color: var(--encre-2); max-width: 68ch; }

.fin { background: var(--encre); color: #fff; padding: 72px 0; }
.fin-contenu { display: grid; gap: 16px; justify-items: start; }
.fin h2 { max-width: 20ch; }
.fin p { color: #c9cdd6; font-size: 1.1rem; max-width: 52ch; }
.fin .bouton { margin-top: 10px; }

.pied { padding: 26px 0 34px; font-size: 0.92rem; color: var(--encre-3); }
.pied-ligne { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; }
.pied p { display: flex; align-items: center; gap: 10px; }
.pied nav { display: flex; gap: 22px; }
.pied a { color: var(--encre-2); }

@media (max-width: 520px) {
  .actions .bouton { width: 100%; }
  .entete .bouton.petit { padding: 9px 13px; font-size: 0.9rem; }
  .marque img { width: 40px; }
}
@media (min-width: 860px) {
  .liens { display: flex; }
  .hero { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 56px; padding-top: 76px; padding-bottom: 88px; align-items: center; }
  .profils { grid-template-columns: 1.08fr 0.92fr; gap: 18px; }
  .profils article { padding: 32px 30px; }
  .programme-tete { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 56px; align-items: end; }
  .programme-tete .surtitre { grid-column: 1 / -1; }
  .programme-tete .chapeau { margin-top: 0; }
  .etape { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: 56px; padding: 30px 0; }
  .outils-grille { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
  .coach { grid-template-columns: 128px minmax(0, 1fr); gap: 40px; }
  .portrait { width: 128px; height: 128px; }
  .demarrer { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
  .bande { padding: 88px 0; }
  .programme, .faq, .coach { padding-top: 96px; padding-bottom: 96px; }
  .fin { padding: 96px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-texte > *, .semaine-type { animation: none; }
  .bouton { transition: none; }
}
