/* Accueil : chargée par cette seule page, hors du budget des pages publiques. */
.hero { position: relative; overflow: hidden; background: var(--hero); border-radius: 20px; padding: 38px 34px 28px; margin-bottom: 30px; }
.hero::after { content: ""; position: absolute; inset-inline-end: -60px; top: -80px; width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(189, 230, 209, .45), rgba(189, 230, 209, 0) 70%); pointer-events: none; }
@media screen { [data-theme=dark] .hero::after { opacity: .3; } }
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: 40px; line-height: 1.08; max-width: 22ch; letter-spacing: -.03em; margin: 0 0 10px; }
[dir=rtl] .hero h1 { line-height: 1.35; letter-spacing: 0; }
.hero .lead { font-size: 16px; margin: 0; max-width: none; }
.hero-search { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; margin: 20px 0 14px; padding: 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: 0 10px 28px -20px rgba(11, 61, 51, .35); }
.hero-search p { margin: 0; }
.hero-search label { display: flex; flex-direction: column; gap: 3px; margin: 0; min-height: 0; font-size: 12.5px; font-weight: 400; color: var(--muted); }
.hero-search input, .hero-search select { width: 100%; max-width: none; height: 42px; padding: 0 10px; font-size: 15px; color: var(--text); }
.hero-search button { align-self: end; height: 42px; justify-content: center; white-space: nowrap; padding-inline: 22px; }
.raccourcis { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.raccourcis a { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); text-decoration: none; font-size: 14px; }
.raccourcis a:hover { border-color: var(--action); color: var(--action); }
.raccourcis b { font-weight: 500; color: var(--link); font-variant-numeric: tabular-nums; }
.safety-line { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.safety-line b { font-weight: 600; color: var(--warn); }
main > section { margin-top: 36px; }
main > section.hero { margin-top: 0; }
.sous { margin: 0 0 12px; }
.results.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: stretch; }
.country-chips ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.country-chips a { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px;
  text-decoration: none; color: var(--text); background: var(--surface); font-size: 14px; }
.country-chips a:hover { border-color: var(--action); }
.country-chips .count { color: var(--muted); }
.country-chips a.all { color: var(--link); }
.etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: etape; }
.etapes li { counter-increment: etape; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.etapes li::before { content: counter(etape); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-bottom: 8px; border-radius: 50%;
  background: var(--action); color: var(--on-action); font-weight: 600; font-size: 13px; }
.etapes b, .atouts b { display: block; margin-bottom: 2px; }
.etapes p, .atouts p { margin: 0; font-size: 14px; color: var(--muted); }
.atouts p + p { margin-top: 6px; }
.etapes-note { margin: 10px 0 0; }
.atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.safety-note { margin-top: 36px; border-inline-start-color: #e0a100; }
.safety-note h2 { font-size: 16px; font-family: inherit; letter-spacing: 0; color: var(--warn); }
@media (max-width: 760px) {
  .hero-search { grid-template-columns: 1fr 1fr; }
  .hero-search label:first-of-type, .hero-search button { grid-column: 1 / -1; }
  .etapes, .atouts, .results.deux { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 16px; border-radius: 16px; }
  .hero h1 { font-size: 28px; }
  .raccourcis a, .country-chips a { min-height: 44px; }
  .country-chips ul, .raccourcis { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; padding-block-end: 6px; }
  .country-chips li, .raccourcis li { flex: 0 0 auto; scroll-snap-align: start; }
  .country-chips a, .raccourcis a { white-space: nowrap; }
}
@media (max-width: 860px) {
  .hero-search input, .hero-search select, .hero-search button { height: 44px; }
  .raccourcis a, .country-chips a { min-height: 44px; }
}

