/* ===== Klario Cargo — identité Klario (vert, jaune, rouge ; Inter ; hexagone), mobile d'abord ===== */

/* Polices hébergées par le site (Inter, Material Icons Outlined) : aucune dépendance à Google Fonts. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/inter-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Material Icons Outlined'; font-style: normal; font-weight: 400; font-display: block; src: url('fonts/material-icons-outlined.woff2') format('woff2'); }
.material-icons-outlined {
    font-family: 'Material Icons Outlined'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1;
    letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal;
    direction: ltr; -webkit-font-smoothing: antialiased; font-feature-settings: 'liga'; overflow: hidden; max-width: 1.2em;
}

:root {
    --klario-green: #00843D;
    --klario-green-dark: #006830;
    --klario-green-light: #e6f5ed;
    --klario-yellow: #FCD116;
    --klario-yellow-light: #fff9e0;
    --klario-red: #E31B23;
    --klario-red-light: #fdecec;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-900: #111827;
    --whatsapp: #1FA855;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow-sm: 0 1px 2px rgba(17, 24, 39, .06);
    --shadow: 0 6px 18px -6px rgba(17, 24, 39, .14);
    --tabbar-h: 64px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    background: var(--gray-50);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

a { color: var(--klario-green); text-decoration: none; }
a:hover { color: var(--klario-green-dark); }

h1 { font-size: 1.6rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1rem; font-weight: 700; display: flex; align-items: center; gap: .4rem; margin-bottom: .35rem; }

.wrap { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow, .narrow { max-width: 680px; }
.muted { color: var(--gray-500); }
.small { font-size: .85rem; }
.center { text-align: center; }
.grow { flex: 1; }
.pre { white-space: pre-line; }

.icon { font-size: 1.15em; line-height: 1; vertical-align: -0.18em; }
.icon.big { font-size: 3rem; color: var(--klario-green); }

/* ===== En-tête ===== */

.topbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 20;
    padding-top: env(safe-area-inset-top);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--gray-900); }
.brand:hover { color: var(--gray-900); }
.logo { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand-sub { color: var(--klario-green); }
.brand-pill { font-size: .7rem; background: var(--klario-yellow); color: var(--gray-900); padding: .1rem .45rem; border-radius: 999px; vertical-align: .2em; margin-left: .15rem; }
.topnav { display: flex; gap: .25rem; }
.topnav-link { display: flex; align-items: center; gap: .3rem; padding: .5rem .65rem; border-radius: 999px; color: var(--gray-700); font-weight: 600; font-size: .9rem; }
.topnav-link:hover { background: var(--gray-100); color: var(--gray-900); }
.topnav-gp { background: var(--klario-green-light); color: var(--klario-green-dark); }
.topnav-link { font-size: .85rem; padding: .45rem .6rem; }
.icon-btn { background: none; border: 0; padding: .5rem; border-radius: 999px; color: var(--gray-700); cursor: pointer; font-size: 1.1rem; }
.icon-btn:hover { background: var(--gray-100); }

/* ===== Boutons ===== */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    padding: .8rem 1.25rem; border-radius: var(--radius-sm);
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
    border: 2px solid transparent; cursor: pointer; text-align: center;
    transition: background .15s, border-color .15s, transform .05s;
    min-height: 48px;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--klario-green); color: var(--white); }
.btn-primary:hover { background: var(--klario-green-dark); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--klario-green-dark); border-color: var(--klario-green); }
.btn-secondary:hover { background: var(--klario-green-light); color: var(--klario-green-dark); }
.btn-yellow { background: var(--klario-yellow); color: var(--gray-900); }
.btn-yellow:hover { filter: brightness(.96); color: var(--gray-900); }
.btn-danger { background: var(--klario-red); color: var(--white); }
.btn-danger:hover { filter: brightness(.92); color: var(--white); }
.btn-ghost { background: transparent; color: var(--gray-700); }
.btn-ghost:hover { background: var(--gray-100); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { filter: brightness(.95); color: var(--white); }
.btn-sm { padding: .5rem .8rem; font-size: .9rem; min-height: 40px; }
.btn-block { width: 100%; }
.btn-block-mobile { width: 100%; }

/* ===== Accueil ===== */

.hero {
    background:
        radial-gradient(circle at 90% 0%, rgba(252, 209, 22, .25), transparent 40%),
        linear-gradient(160deg, var(--klario-green) 0%, var(--klario-green-dark) 100%);
    color: var(--white);
    padding: 28px 0 32px;
}
.eyebrow { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 600; background: rgba(255,255,255,.14); padding: .3rem .7rem; border-radius: 999px; margin-bottom: .9rem; }
.hero h1 { font-size: 1.85rem; margin-bottom: .6rem; }
.hl { color: var(--klario-yellow); }
.lead { opacity: .92; margin-bottom: 1.2rem; }

.search-card { background: var(--white); color: var(--gray-900); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.search-fields { display: grid; gap: 10px; }
.page-head .search-card { box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); }

.chips { display: flex; gap: .5rem; overflow-x: auto; padding: 14px 0 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; background: rgba(255,255,255,.14); color: var(--white); border: 1px solid rgba(255,255,255,.3); padding: .4rem .8rem; border-radius: 999px; font-size: .85rem; font-weight: 600; }
.chip:hover { background: rgba(255,255,255,.24); color: var(--white); }

.section { padding: 28px 0; }
.section-tight { padding: 16px 0 28px; }
.section-soft { background: var(--white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section h2 { margin-bottom: 1rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1rem; }
.section-head h2 { margin: 0; }
.link-more { font-weight: 600; font-size: .9rem; }

.page-head { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 20px 0; }
.page-head h1 { margin-bottom: 1rem; font-size: 1.4rem; }

.steps { list-style: none; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps p { color: var(--gray-500); font-size: .92rem; }
.step-n { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: var(--klario-yellow); color: var(--gray-900); font-weight: 800; display: grid; place-items: center; }

.cta-gp { background: var(--gray-900); color: var(--white); border-radius: var(--radius); padding: 22px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.cta-gp > * { position: relative; z-index: 1; }
.cta-gp::after { content: ""; position: absolute; z-index: 0; right: -40px; top: -40px; width: 140px; height: 140px; background: var(--klario-green); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); opacity: .5; }
.cta-gp h2 { margin-bottom: .5rem; position: relative; }
.cta-gp p { opacity: .85; position: relative; }
.checks { list-style: none; margin-top: .9rem; display: grid; gap: .4rem; position: relative; }
.checks .icon { color: var(--klario-yellow); }

.track-teaser { display: grid; gap: 12px; }
.inline-form { display: flex; gap: 8px; }
.inline-form input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }

/* ===== Cartes de trajet ===== */

.trip-grid { display: grid; gap: 12px; }
.trip-card { display: block; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; color: var(--gray-900); box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s; }
.trip-card:hover { border-color: var(--klario-green); box-shadow: var(--shadow); color: var(--gray-900); }
.trip-route { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.trip-city { display: flex; flex-direction: column; min-width: 0; }
.trip-city strong { font-size: 1.1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.trip-city-end { align-items: flex-end; text-align: right; }
.flag { font-size: 1.1rem; line-height: 1; }
.trip-line { color: var(--klario-green); display: flex; align-items: center; gap: 4px; }
.trip-line::before, .trip-line::after { content: ""; width: 18px; border-top: 2px dashed var(--gray-300); }
.trip-line .icon { transform: rotate(90deg); }
.trip-date { margin-top: .6rem; font-size: .9rem; color: var(--gray-700); }
.trip-meta { display: flex; justify-content: space-between; align-items: center; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid var(--gray-100); }
.trip-price strong { font-size: 1.1rem; color: var(--klario-green-dark); }
.trip-price span { color: var(--gray-500); font-size: .85rem; margin-left: .2rem; }
.trip-kg { font-size: .85rem; font-weight: 700; background: var(--klario-green-light); color: var(--klario-green-dark); padding: .25rem .6rem; border-radius: 999px; }
.trip-kg.low { background: var(--klario-yellow-light); color: #8a6d00; }
.trip-gp { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; font-size: .9rem; }
.gp-name { font-weight: 600; }

.avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--klario-green); color: var(--white); display: inline-grid; place-items: center; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.avatar-lg { width: 52px; height: 52px; font-size: 1.3rem; }
.verified { display: inline-flex; align-items: center; gap: .2rem; color: var(--klario-green-dark); font-weight: 700; font-size: .8rem; }
.verified .icon { color: var(--klario-green); }
.unverified { color: var(--gray-500); font-size: .8rem; }

/* ===== Badges ===== */

.badge { display: inline-flex; align-items: center; gap: .25rem; padding: .25rem .6rem; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge-ok { background: var(--klario-green-light); color: var(--klario-green-dark); }
.badge-wait { background: var(--klario-yellow-light); color: #8a6d00; }
.badge-off { background: var(--klario-red-light); color: #b0141b; }
.badge-done { background: var(--gray-900); color: var(--white); }

/* ===== Page trajet ===== */

.trip-hero { background: var(--white); border-bottom: 1px solid var(--gray-200); padding: 14px 0 20px; }
.back { display: inline-flex; align-items: center; gap: .3rem; color: var(--gray-700); font-weight: 600; font-size: .9rem; margin-bottom: .8rem; }
.trip-route-lg .trip-city strong { font-size: 1.45rem; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.fact { display: flex; gap: .55rem; align-items: flex-start; background: var(--gray-50); border-radius: var(--radius-sm); padding: 10px; }
.fact > .icon { color: var(--klario-green); margin-top: 2px; }
.fact div > span { display: block; font-size: .75rem; color: var(--gray-500); }
.fact strong { font-size: .9rem; }

.card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.gp-card { display: flex; gap: 12px; align-items: center; }
.info-card p { font-size: .95rem; }
.warn-card { background: var(--klario-yellow-light); border-color: #f3e2a0; }
.booking-card h2 { margin-bottom: .8rem; }

/* ===== Formulaires ===== */

.form { display: grid; gap: 14px; }
fieldset { border: 0; display: grid; gap: 12px; }
legend { font-weight: 800; font-size: 1rem; margin-bottom: .6rem; color: var(--gray-900); }
fieldset + fieldset { padding-top: 14px; border-top: 1px solid var(--gray-100); }
.field { display: grid; gap: .3rem; }
.field > span { font-weight: 600; font-size: .9rem; color: var(--gray-700); display: flex; align-items: center; gap: .3rem; }
.field em { font-weight: 400; font-style: normal; color: var(--gray-500); }
.field small { color: var(--gray-500); font-size: .8rem; }
input, select, textarea {
    font: inherit; font-size: 16px; /* évite le zoom iOS */
    width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
    background: var(--white); color: var(--gray-900); min-height: 48px;
}
textarea { resize: vertical; min-height: 72px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--klario-green); box-shadow: 0 0 0 3px rgba(0, 132, 61, .18); }
.row-2 { display: grid; grid-template-columns: 1fr; gap: 12px; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--gray-700); }
.check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; flex-shrink: 0; accent-color: var(--klario-green); }
.estimate { font-weight: 800; color: var(--klario-green-dark); background: var(--klario-green-light); border-radius: var(--radius-sm); padding: .6rem .8rem; }
.field-error { color: #b0141b; font-size: .85rem; margin-top: .5rem; }

.alert { display: flex; gap: .5rem; align-items: flex-start; padding: .75rem .9rem; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 600; margin-bottom: 12px; }
.alert-error { background: var(--klario-red-light); color: #9d1218; }
.alert-success { background: var(--klario-green-light); color: var(--klario-green-dark); }

/* ===== Confirmation et suivi ===== */

.success-card { text-align: center; background: var(--white); border-radius: var(--radius); border: 1px solid var(--gray-200); padding: 24px 18px; margin-bottom: 12px; display: grid; gap: 14px; }
.success-icon { width: 64px; height: 64px; margin: 0 auto; background: var(--klario-green); color: var(--white); display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); font-size: 1.8rem; }
.code-box { background: var(--klario-yellow-light); border: 2px dashed var(--klario-yellow); border-radius: var(--radius); padding: 14px; display: grid; gap: .2rem; }
.code-box span, .estimate-box span { font-size: .8rem; color: var(--gray-700); font-weight: 600; }
.code { font-size: 2rem; letter-spacing: .18em; font-weight: 800; font-family: ui-monospace, 'SF Mono', Menlo, monospace; }
.code-box small, .estimate-box small { color: var(--gray-500); font-size: .8rem; }
.estimate-box { display: grid; gap: .1rem; }
.estimate-box strong { font-size: 1.4rem; color: var(--klario-green-dark); }
.actions { display: grid; gap: 10px; }
.mini-steps { padding-left: 1.2rem; display: grid; gap: .35rem; font-size: .92rem; color: var(--gray-700); }

.track-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.track-head h2 { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.track-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.track-facts div { background: var(--gray-50); border-radius: var(--radius-sm); padding: 8px; }
.track-facts span { display: block; font-size: .72rem; color: var(--gray-500); }
.track-facts strong { font-size: .88rem; }

.timeline { list-style: none; position: relative; display: grid; gap: 0; }
.timeline li { display: flex; gap: 12px; padding-bottom: 16px; position: relative; color: var(--gray-500); }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--gray-200); }
.timeline li.done:not(:last-child)::before { background: var(--klario-green); }
.timeline .dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--gray-300); background: var(--white); display: grid; place-items: center; flex-shrink: 0; color: var(--white); font-size: .9rem; }
.timeline li.done { color: var(--gray-900); }
.timeline li.done .dot { background: var(--klario-green); border-color: var(--klario-green); }
.timeline li.current .dot { box-shadow: 0 0 0 5px rgba(0, 132, 61, .18); }
.timeline li.stopped .dot { background: var(--klario-red); border-color: var(--klario-red); }
.timeline li.stopped { color: #9d1218; }
.timeline strong { display: block; font-size: .95rem; }
.contact-row { display: flex; gap: 8px; margin-top: .5rem; flex-wrap: wrap; }

.empty { color: var(--gray-500); padding: 1rem 0; display: flex; align-items: center; gap: .4rem; }
.empty-card { background: var(--white); border: 1px dashed var(--gray-300); border-radius: var(--radius); padding: 28px 18px; text-align: center; display: grid; gap: .5rem; justify-items: center; }
.results-count { margin-bottom: .8rem; font-size: .9rem; }

.prose { display: grid; gap: .8rem; }
.prose h2 { margin-top: .8rem; }
.prose ul { padding-left: 1.2rem; display: grid; gap: .3rem; }

/* ===== Pied de page ===== */

.footer { background: var(--gray-900); color: rgba(255,255,255,.8); padding: 28px 0 32px; font-size: .9rem; }
.footer .wrap { display: grid; gap: .6rem; }
.footer a { color: var(--white); }
.footer .muted { color: rgba(255,255,255,.55); }
.footer-brand { display: flex; align-items: center; gap: .5rem; color: var(--white); font-size: 1.05rem; }
.footer-brand .logo { width: 28px; height: 28px; }

/* ===== Authentification ===== */

.auth-main { padding: 20px 16px 40px; }
.auth-card { max-width: 440px; margin: 0 auto; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 22px 18px; display: grid; gap: 14px; box-shadow: var(--shadow-sm); }
.auth-card h1 { font-size: 1.45rem; }

/* ===== Espace GP ===== */

.gp-main { padding: 16px 0 calc(var(--tabbar-h) + 24px + env(safe-area-inset-bottom)); }
.gp-main h1 { margin-bottom: 12px; }
.gp-hello { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.gp-hello h1 { margin: 0; font-size: 1.4rem; }
.identity-card { display: flex; gap: 12px; align-items: flex-start; background: var(--klario-yellow-light); border-color: #f3e2a0; }
.identity-card > .icon { font-size: 1.6rem; color: #8a6d00; }
.identity-card .btn { margin-top: .5rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.stat { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 10px; text-align: center; }
.stat strong { display: block; font-size: 1.5rem; color: var(--klario-green-dark); line-height: 1.1; }
.stat span { font-size: .72rem; color: var(--gray-500); }
.h-section { margin: 18px 0 10px; font-size: 1.1rem; }
.h-trip { font-size: 1.2rem; display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.past { margin-top: 18px; }
.past summary { cursor: pointer; font-weight: 600; color: var(--gray-700); margin-bottom: 10px; }

.gauge { height: 10px; background: var(--gray-100); border-radius: 999px; overflow: hidden; margin-bottom: 12px; }
.gauge-fill { height: 100%; background: linear-gradient(90deg, var(--klario-green), #2fa866); border-radius: 999px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
form.inline { display: inline; }
.danger-zone { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--gray-100); }
.danger-zone summary { cursor: pointer; color: #b0141b; font-weight: 600; font-size: .9rem; }
.danger-zone p { margin: .5rem 0; }

.booking-head { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; margin-bottom: .4rem; }
.booking-contents { font-size: .93rem; color: var(--gray-700); margin-bottom: .5rem; }
.booking-facts { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .88rem; font-weight: 600; margin-bottom: .6rem; }
.booking-facts .icon { color: var(--klario-green); }
.people { display: grid; gap: .5rem; background: var(--gray-50); border-radius: var(--radius-sm); padding: 10px; margin-bottom: .7rem; font-size: .9rem; }
.people > div { display: flex; flex-wrap: wrap; gap: .1rem .5rem; align-items: baseline; }
.people .muted { width: 100%; }
.booking-final { opacity: .7; }
.form-mini { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 8px; }
.form-mini input { flex: 1; min-width: 160px; min-height: 40px; padding: .5rem .7rem; }
.form-weigh label { display: grid; gap: .2rem; font-size: .8rem; font-weight: 600; color: var(--gray-700); flex: 1; min-width: 140px; }
.inline-details summary { list-style: none; }
.inline-details summary::-webkit-details-marker { display: none; }
.inline-details[open] { width: 100%; }

.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--white); border-top: 1px solid var(--gray-200);
    display: grid; grid-template-columns: repeat(3, 1fr);
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
}
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--gray-500); font-size: .72rem; font-weight: 600; }
.tabbar a .icon { font-size: 1.5rem; }
.tabbar a.active { color: var(--klario-green); }
.tabbar .tab-main .icon { color: var(--klario-green); font-size: 1.9rem; }

/* ===== Écrans plus larges ===== */

@media (min-width: 640px) {
    h1 { font-size: 2rem; }
    .hero { padding: 48px 0 56px; }
    .hero h1 { font-size: 2.6rem; max-width: 760px; }
    .lead { font-size: 1.1rem; max-width: 640px; }
    .topnav-link { font-size: .9rem; padding: .5rem .75rem; }
    .search-card { grid-template-columns: 1fr auto; align-items: end; padding: 16px; }
    .search-fields { grid-template-columns: 1fr 1fr 180px; }
    .search-card .btn-block { width: auto; }
    .trip-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .steps li { flex-direction: column; }
    .cta-gp { grid-template-columns: 1fr auto; align-items: center; padding: 32px; }
    .btn-block-mobile { width: auto; }
    .track-teaser { grid-template-columns: 1fr 1fr; align-items: center; }
    .row-2 { grid-template-columns: 1fr 1fr; }
    .facts { grid-template-columns: repeat(4, 1fr); }
    .people { grid-template-columns: 1fr 1fr; }
    .auth-card { padding: 28px; }
}

@media (min-width: 960px) {
    .trip-grid { grid-template-columns: repeat(3, 1fr); }
    .gp-main .trip-grid { grid-template-columns: repeat(2, 1fr); }
    .tabbar { left: 50%; transform: translateX(-50%); bottom: 16px; width: 420px; border-radius: 999px; border: 1px solid var(--gray-200); box-shadow: var(--shadow); height: var(--tabbar-h); padding: 0; }
}
