/* Pages « Devenir livreur » (KV Eats, orange) et « Devenir chauffeur » (KV Transport, kraft) */
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/PlusJakartaSans-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
:root { --charbon: #171715; --ivoire: #F2EBDD; --fond: #FAF8F3; --carte: #FFFFFF; --doux: #6B665C; --filet: rgba(23, 23, 21, .1); --accent: #F28C28; --accent-doux: rgba(242, 140, 40, .14); color-scheme: light; }
.theme-chauffeur { --fond: #F4EBDC; --carte: #FBF8F2; --doux: #6B5A45; --accent: #C99A66; --accent-doux: rgba(201, 154, 102, .22); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--fond); color: var(--charbon); font: 500 16px/1.55 "Jakarta", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--charbon); outline-offset: 3px; }
.cadre { width: min(1120px, 100%); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }

.entete { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--filet); }
.entete__ligne { display: flex; align-items: center; gap: 20px; height: 70px; }
.entete__logo img { display: block; height: 46px; width: auto; }
.entete__retour { margin-right: auto; text-decoration: none; font-weight: 700; font-size: .9rem; color: var(--doux); }
.entete__retour:hover { color: var(--charbon); }
.langues { display: flex; padding: 3px; border-radius: 11px; border: 1px solid var(--filet); }
.langues button { border: 0; background: none; font: inherit; font-weight: 800; font-size: .78rem; padding: 6px 9px; border-radius: 8px; cursor: pointer; color: var(--doux); }
.langues button[aria-pressed="true"] { background: var(--charbon); color: var(--ivoire); }

.heros { padding: 56px 0 24px; }
.heros__grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.surtitre { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }
h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); line-height: 1.04; font-weight: 800; }
.heros__sous { margin: 18px 0 26px; max-width: 52ch; font-size: 1.08rem; color: var(--doux); }
.heros__photo { aspect-ratio: 4 / 5; border-radius: 28px; background-size: cover; background-position: center; box-shadow: 0 30px 60px rgba(23, 23, 21, .18); rotate: 1.5deg; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: block; line-height: 0; }
.badge img { height: 50px; width: auto; }
.note { margin: 14px 0 0; font-size: .88rem; color: var(--doux); }

.bloc { padding-top: 72px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.1; }
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.gains article { padding: 26px; border-radius: 22px; background: var(--carte); border: 1px solid var(--filet); }
.gains .num { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 12px; background: var(--accent); color: var(--charbon); font-weight: 800; }
.gains h3 { font-size: 1.15rem; margin-bottom: 6px; }
.gains p { margin: 0; color: var(--doux); font-size: .95rem; }

.deux { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.etapes { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: e; }
.etapes li { position: relative; counter-increment: e; padding: 0 0 26px 64px; }
.etapes li::before { content: counter(e); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--charbon); color: var(--ivoire); font-weight: 800; }
.etapes li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; border-left: 2px dashed var(--filet); }
.etapes h3 { font-size: 1.08rem; padding-top: 9px; }
.etapes p { margin: 4px 0 0; color: var(--doux); }
.fiche { padding: 28px; border-radius: 24px; background: var(--charbon); color: var(--ivoire); box-shadow: 0 24px 50px rgba(23, 23, 21, .2); }
.fiche h2 { font-size: 1.4rem; }
.fiche h3 { margin-top: 24px; font-size: 1.05rem; color: var(--accent); }
.fiche p { margin: 8px 0 0; font-size: .93rem; color: #CFCAC0; }
.requis { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.requis li { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: .95rem; }
.requis li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171715' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 13px no-repeat; }

.faq { margin-top: 18px; }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; max-width: 70ch; color: var(--doux); }

.final { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 36px; border-radius: 26px; background: var(--accent-doux); border: 1px solid var(--filet); }
.pied { margin-top: 80px; padding: 30px 0; background: var(--charbon); color: var(--ivoire); }
.pied__ligne { display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.pied img { display: block; height: 34px; width: auto; }
.pied nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.pied nav a { text-decoration: none; font-weight: 700; font-size: .9rem; color: #CFCAC0; }
.pied small { color: #8C887F; }

@media (max-width: 860px) {
  .heros__grille, .deux { grid-template-columns: 1fr; }
  .heros__photo { aspect-ratio: 16 / 10; order: -1; }
  .gains { grid-template-columns: 1fr; }
  .entete__retour { display: none; }
  .langues { margin-left: auto; }
}
