/* Kofiam Plus — page d'accueil publique */

/* Bandeau d'accueil */
.hero { background: var(--green); color: var(--on-green); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 48px, transparent 48px 80px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding-block: 56px 72px; align-items: center; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { font-size: clamp(3rem, 9vw, 6rem); text-transform: uppercase; font-weight: 900; }
.hero h1 span { color: var(--yellow); display: block; }
.hero .lead { font-size: 1.15rem; max-width: 34ch; margin-top: 18px; opacity: .92; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 56px; } }

/* Tableau des départs */
.sign { background: #0a0f0c; color: #f7d24a; border-radius: 12px; padding: 20px 22px; font-family: var(--display); box-shadow: 0 20px 40px rgba(0,0,0,.25); }
.sign-head { font-family: var(--body); font-size: .75rem; letter-spacing: .14em; color: #9fb0a5; text-transform: uppercase; display: flex; justify-content: space-between; margin-bottom: 4px; }
.sign-row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; padding-block: 10px; border-bottom: 1px dashed rgba(247,210,74,.25); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; }
.sign-row:last-child { border-bottom: 0; }
.sign-row small { font-family: var(--body); font-size: .75rem; color: #c9d6cd; letter-spacing: .08em; }
.tag { font-family: var(--body); font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 4px; background: #f7d24a; color: #0a0f0c; letter-spacing: .06em; }
.tag.std { background: transparent; color: #f7d24a; border: 1px solid #f7d24a; }

/* Sections */
section.block { padding-block: 72px; }
section.block.tight { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head p { max-width: 52ch; color: var(--muted); }
.note { font-size: .88rem; color: var(--muted); margin-top: 16px; }

/* Réservation */
.booking { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px; margin-top: -40px; position: relative; z-index: 2; box-shadow: 0 12px 30px rgba(15,77,52,.08); }
.booking .eyebrow { margin-bottom: 14px; }
.booking form { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)) auto; gap: 14px; align-items: end; }
.booking .msg { margin-top: 16px; }
.booking-result strong { font-family: var(--display); font-size: 1.3rem; text-transform: uppercase; }
@media (max-width: 960px) { .booking form { grid-template-columns: repeat(2, minmax(0, 1fr)); } .booking form .btn { grid-column: 1 / -1; } }
@media (max-width: 480px) { .booking form { grid-template-columns: 1fr; } .booking { padding: 20px; } }

/* Offres */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offer { border-radius: 14px; padding: 28px; display: grid; gap: 16px; align-content: start; border: 1px solid var(--line); background: var(--surface); }
.offer.vip { background: var(--green); color: var(--on-green); border-color: var(--green); }
.offer-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; }
.offer-head > * { min-width: 0; }
.offer h3 { font-size: 2.2rem; text-transform: uppercase; }
.offer .price { font-weight: 700; font-variant-numeric: tabular-nums; }
.offer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.offer li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.offer li::before { content: ""; width: 14px; height: 4px; margin-top: 11px; background: var(--yellow); border-radius: 2px; }
@media (max-width: 720px) { .offers { grid-template-columns: 1fr; } }

/* Ligne RN7 */
.route-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 28px 12px 20px; overflow-x: auto; }
.route { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(110px, 1fr); min-width: 880px; position: relative; }
.route::before { content: ""; position: absolute; left: 55px; right: 55px; top: 46px; height: 10px; border-radius: 5px; background: var(--ink); }
.route::after { content: ""; position: absolute; left: 55px; right: 55px; top: 50px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 14px, transparent 14px 26px); }
.stop { display: grid; justify-items: center; text-align: center; gap: 6px; position: relative; z-index: 1; padding-inline: 6px; }
.pk { font-size: .75rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.dot { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 5px solid var(--green); margin-top: 8px; }
.stop.hub .dot { width: 30px; height: 30px; background: var(--yellow); border-color: var(--ink); margin-top: 4px; }
.stop strong { font-family: var(--display); font-size: 1.25rem; text-transform: uppercase; margin-top: 8px; line-height: 1.05; }
.stop .desc { font-size: .82rem; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service { padding-top: 20px; border-top: 4px solid var(--ink); display: grid; gap: 10px; align-content: start; }
.service p { color: var(--muted); }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* Agences */
.agencies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.agency { background: var(--green-soft); border-radius: 14px; padding: 24px; display: grid; gap: 8px; }
.agency dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 8px 0 0; }
.agency dt { font-weight: 700; font-size: .85rem; color: var(--muted); }
.agency dd { margin: 0; }
.agency { overflow: hidden; }
.agency-img { display: block; width: calc(100% + 48px); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: -24px -24px 8px; }
@media (max-width: 720px) { .agencies { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding-block: 14px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; line-height: 1; color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--muted); max-width: 65ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); flex-wrap: wrap; }
.contact-item .k { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.contact-item .v { font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.copy { font: 600 .85rem var(--body); background: var(--green-soft); color: var(--ink); border: 0; border-radius: 6px; padding: 7px 12px; cursor: pointer; }
.pay { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pay span { font-weight: 700; font-size: .9rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.contact h3 + p { margin-top: 6px; }
.contact h3.spaced { margin-top: 28px; }
@media (max-width: 800px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Accueil : recherche dans le bandeau ---------- */
.hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.hero-text .lead { max-width: 40ch; }
.search-card { background: var(--surface); color: var(--ink); border-radius: 14px; padding: 22px; box-shadow: 0 20px 40px rgba(0,0,0,.25); display: grid; gap: 12px; }
.search-card .eyebrow { color: var(--muted); }
.search-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 12px; align-items: end; }
.search-grid .field:nth-of-type(3), .search-grid .field:nth-of-type(4) { grid-column: span 1; }
.search-grid .btn { grid-column: 1 / -1; }
.search-grid .field:nth-of-type(3) { grid-column: 1; }
.search-grid .field:nth-of-type(4) { grid-column: 2 / -1; }
.swap { align-self: end; height: 44px; width: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.swap:hover { border-color: var(--green); color: var(--green); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.steps li { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 4px solid var(--ink); }
.steps p { color: var(--muted); }
.step-n { font-family: var(--display); font-size: 2.4rem; font-weight: 900; color: var(--green); line-height: 1; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.offer .price { font-family: var(--display); font-size: 1.6rem; }
.offer .price::before { content: "dès "; font-family: var(--body); font-size: .8rem; font-weight: 600; opacity: .75; }

.colis-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: start; background: var(--green-soft); border-radius: 16px; padding: 32px; }
.colis-grid h2 { margin-top: 6px; }
.lead-dark { margin: 14px 0 20px; color: var(--muted); max-width: 44ch; }
.colis-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.colis-steps li { display: grid; gap: 2px; background: var(--surface); border-radius: 10px; padding: 14px 16px; border-left: 4px solid var(--yellow); }
.colis-steps span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .colis-grid { grid-template-columns: 1fr; padding: 22px; } }

.pay-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pay-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: grid; gap: 4px; }
.pay-card strong { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; }
.pay-card span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.contact .agencies { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.contact .agency { padding: 18px; }
.contact .agency-img { width: calc(100% + 36px); margin: -18px -18px 6px; }
.contact .agency dl { grid-template-columns: 1fr; gap: 0; }
.contact .agency dt { margin-top: 6px; }
.hero-text h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }

.stop.passage { opacity: .55; }
.stop.passage .dot { width: 14px; height: 14px; margin-top: 12px; border-width: 3px; }
