/* tour.voyage — carnet de vol : papier, encre, une touche d'orange (couleurs du logo) */

@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
    --paper: #f5f1ea;
    --card: #fffdf9;
    --ink: #0d2b35;
    --ink-2: #33505a;
    --muted: #6b7778;
    --rule: #dcd3c5;
    --rule-soft: #e9e2d6;
    --teal: #1c7e8f;
    --orange: #ef9155;
    --orange-ink: #b45518;
    --display: "Bricolage", "Inter", system-ui, sans-serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
    --r: 10px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--paper);
       -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img { display: block; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

/* ------------------------------------------------------------------ en-tête, pied */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1200px; margin: 0 auto;
               padding: 22px clamp(16px, 4vw, 32px); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { height: 40px; width: auto; }
.logo-word { height: 22px; width: auto; }
.site-footer { max-width: 1200px; margin: 80px auto 0; padding: 24px clamp(16px, 4vw, 32px) 48px; border-top: 1px solid var(--rule);
               color: var(--muted); font-size: 13px; }
.site-footer p { margin: 4px 0; }

/* ------------------------------------------------------------------ accueil */
.intro { max-width: 1200px; margin: 0 auto; padding: 40px clamp(16px, 4vw, 32px) 36px; display: grid;
         grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.intro h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7vw, 88px); line-height: .95; letter-spacing: -.035em;
            margin: 0 0 22px; font-variation-settings: "wdth" 90; }
.lead { font-size: clamp(17px, 1.8vw, 19px); color: var(--ink-2); max-width: 560px; margin: 0; }
.intro-art { width: clamp(180px, 26vw, 330px); height: auto; }

.planner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); display: grid; }
.planner > * { background: var(--card); border: 1px solid var(--rule); }
.planner-grid { display: grid; grid-template-columns: 2fr 1.3fr 1fr 1fr; border-radius: var(--r) var(--r) 0 0; }
.planner-grid .field { padding: 16px 20px 18px; border-right: 1px solid var(--rule); min-width: 0; }
.planner-grid .field:last-child { border-right: 0; }
.field { border: 0; margin: 0; padding: 0; }
.field > label, .field > legend, .field > .label { display: block; font-family: var(--mono); font-size: 11px; font-weight: 600;
                 text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; padding: 0; }

.combo { position: relative; display: flex; align-items: center; gap: 10px; }
.combo input[type=text] { flex: 1; min-width: 0; border: 0; padding: 2px 0; background: none; font-size: 19px; font-weight: 600; outline: none; }
.combo-code { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--teal); border: 1px solid currentColor;
              border-radius: 4px; padding: 1px 6px; }
.combo-list { position: absolute; z-index: 30; top: calc(100% + 14px); left: -20px; right: -20px; margin: 0; padding: 6px; list-style: none;
              background: var(--card); border: 1px solid var(--ink); border-radius: var(--r); max-height: 360px; overflow-y: auto;
              box-shadow: 0 18px 40px -24px rgba(13, 43, 53, .5); }
.combo-list li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: baseline; padding: 9px 12px; border-radius: 6px; cursor: pointer; }
.combo-list li[aria-selected=true], .combo-list li:hover { background: var(--paper); }
.combo-list .code { font-family: var(--mono); font-weight: 700; }
.combo-list small { display: block; color: var(--muted); font-size: 13px; }
.combo-list .n { font-family: var(--mono); color: var(--muted); font-size: 12px; }

.select { width: 100%; border: 0; background: none; font-size: 19px; font-weight: 600; padding: 2px 22px 2px 0; outline: none; cursor: pointer;
          appearance: none; -webkit-appearance: none;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%230d2b35' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
          background-repeat: no-repeat; background-position: right 2px center; background-size: 11px; }

.stepper { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.stepper button { width: 32px; height: 32px; border-radius: 6px; border: 1px solid var(--rule); background: var(--paper); cursor: pointer;
                  font-size: 18px; line-height: 1; display: grid; place-items: center; transition: border-color .12s, background .12s; }
.stepper button:hover:not(:disabled) { border-color: var(--ink); background: var(--card); }
.stepper button:disabled { opacity: .35; cursor: default; }
.stepper output { font-size: 19px; font-weight: 600; white-space: nowrap; }
.stepper output b { font-family: var(--mono); font-weight: 700; }

.f-region { border-top: 0; border-bottom: 0; padding: 18px 20px 20px; }
.regions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.region { cursor: pointer; min-width: 0; }
.region input { position: absolute; opacity: 0; pointer-events: none; }
.region-body { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--rule); border-radius: 10px; overflow: hidden;
               background: var(--card); transition: border-color .12s, box-shadow .12s; }
.region-photo { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--rule-soft); overflow: hidden; }
.region-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.region:hover .region-photo img { transform: scale(1.04); }
.region-count { position: absolute; left: 8px; bottom: 8px; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
                background: var(--card); color: var(--ink); border-radius: 4px; padding: 2px 6px; }
.region-check { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: var(--orange);
                display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: opacity .15s, transform .15s; }
.region-check svg { width: 14px; height: 14px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.region-text { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; flex: 1; transition: background .12s, color .12s; }
.region-name { font-family: var(--display); font-weight: 650; font-size: 16px; line-height: 1.15; letter-spacing: -.01em; }
.region-hook { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.region:hover .region-body { border-color: var(--ink); }
.region input:checked + .region-body { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.region input:checked + .region-body .region-text { background: var(--ink); color: var(--paper); }
.region input:checked + .region-body .region-hook { color: #b9c9cc; }
.region input:checked + .region-body .region-check { opacity: 1; transform: none; }
.region input:focus-visible + .region-body { outline: 2px solid var(--orange); outline-offset: 2px; }
.site-footer .region-credits { margin-top: 14px; font-size: 11px; line-height: 1.5; }
.region-credits a { color: var(--ink-2); }

.planner-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 16px 20px 20px;
                border-top: 1px solid var(--rule); border-radius: 0 0 var(--r) var(--r); }
.f-budget { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 18px; }
.f-budget > label:first-child { grid-column: 1 / -1; }
.money { display: inline-flex; align-items: baseline; gap: 6px; border-bottom: 1.5px solid var(--ink); padding-bottom: 2px; }
.money input { width: 110px; border: 0; background: none; font-family: var(--mono); font-size: 22px; font-weight: 700; outline: none; }
.money input { -moz-appearance: textfield; appearance: textfield; }
.money input::-webkit-inner-spin-button, .money input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.money input:disabled { color: var(--muted); }
.money span { font-family: var(--mono); font-size: 18px; color: var(--muted); }
.check { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); }
.cta { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border: 0; border-radius: 8px; cursor: pointer;
       background: var(--ink); color: var(--paper); font-weight: 650; font-size: 17px; transition: background .15s; }
.cta span { color: var(--orange); font-size: 20px; transition: transform .15s; }
.cta:hover { background: #163f4c; }
.cta:hover span { transform: translateX(3px); }

.how { max-width: 1200px; margin: 72px auto 0; padding: 0 clamp(16px, 4vw, 32px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how > div { border-top: 1.5px solid var(--ink); padding-top: 14px; }
.how .num { font-family: var(--mono); font-size: 13px; color: var(--orange-ink); font-weight: 700; }
.how h2 { font-family: var(--display); font-weight: 650; font-size: 22px; letter-spacing: -.015em; margin: 6px 0 6px; }
.how p { margin: 0; color: var(--ink-2); font-size: 15px; }

/* ------------------------------------------------------------------ résultats */
.page-results .site-header { max-width: none; position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--rule);
                             padding-top: 12px; padding-bottom: 12px; }
.summary { text-decoration: none; font-size: 14px; color: var(--ink-2); text-align: right; }
.summary .mono { color: var(--ink); font-weight: 700; }
.summary-edit { margin-left: 12px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--orange); }
.summary:hover .summary-edit { color: var(--orange-ink); }

.results { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; max-width: 1480px; margin: 0 auto;
           padding: 28px clamp(16px, 3vw, 32px) 0; }
.results-head h1 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.03em; line-height: 1.05; margin: 0 0 8px; }
.results-sub { color: var(--ink-2); margin: 0 0 24px; }
.results-map { position: sticky; top: 84px; height: calc(100vh - 108px); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: #e9e5dd; }
#map { position: absolute; inset: 0; }

.loader[hidden], .empty[hidden] { display: none !important; }
.loader { padding: 8px 0 28px; }
.loader-bar { position: relative; height: 2px; background: var(--rule); overflow: hidden; border-radius: 2px; }
.loader-bar span { position: absolute; inset: 0 auto 0 0; width: 30%; background: var(--ink); animation: slide 1.3s ease-in-out infinite; }
@keyframes slide { from { left: -30%; } to { left: 100%; } }
.loader p { margin: 12px 0 0; font-size: 13px; color: var(--muted); transition: opacity .25s; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); cursor: pointer; transition: border-color .12s;
        animation: in .35s both; }
.card:nth-child(2) { animation-delay: .05s; } .card:nth-child(3) { animation-delay: .1s; } .card:nth-child(4) { animation-delay: .15s; }
.card:nth-child(5) { animation-delay: .2s; } .card:nth-child(6) { animation-delay: .25s; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } }
.card:hover { border-color: #b9ae9c; }
.card.active { border-color: var(--ink); cursor: default; }

.pass { padding: 18px 22px 18px; }
.pass-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-family: var(--mono); font-size: 11.5px;
            text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
.pass-top .tag { color: var(--orange-ink); font-weight: 700; }
.pass-main { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 8px; }
.pass-title { font-family: var(--display); font-weight: 650; font-size: 23px; line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.pass-price { text-align: right; white-space: nowrap; }
.pass-price b { display: block; font-family: var(--mono); font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.pass-price small { font-size: 12px; color: var(--muted); }
.route { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); align-items: start; margin: 16px 0 0; }
.route-stop { position: relative; min-width: 0; }
.route-stop b { display: block; font-family: var(--mono); font-size: 17px; font-weight: 700; letter-spacing: .03em; }
.route-stop span { display: block; font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-right: 8px; }
.route-stop:not(:last-child)::after { content: ""; position: absolute; top: 11px; left: 48px; right: 10px; border-top: 1.5px dashed var(--rule); }
.route-stop.home b { color: var(--muted); }
.status { margin-top: 14px; font-size: 13.5px; color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 16px; }
.status .ok { color: var(--teal); font-weight: 600; }
.status .over { color: var(--orange-ink); font-weight: 600; }

.perf { position: relative; height: 0; border-top: 1.5px dashed var(--rule); margin: 0 14px; display: none; }
.card.active .perf { display: block; }
.perf::before, .perf::after { content: ""; position: absolute; top: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper);
                              border: 1px solid var(--ink); }
.perf::before { left: -23px; clip-path: inset(0 0 0 50%); }
.perf::after { right: -23px; clip-path: inset(0 50% 0 0); }

.legs { display: none; list-style: none; margin: 0; padding: 6px 22px 18px; }
.card.active .legs { display: block; }
.leg { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); }
.leg:last-child { border-bottom: 0; }
.leg-date { font-family: var(--mono); font-size: 12px; line-height: 1.35; color: var(--muted); text-transform: uppercase; }
.leg-date b { display: block; color: var(--ink); font-size: 14px; }
.leg-what { font-weight: 600; }
.leg-what .codes { font-family: var(--mono); font-weight: 700; margin-right: 6px; }
.leg-detail { font-size: 13px; color: var(--muted); }
.leg-buy { display: flex; align-items: center; gap: 14px; }
.leg-buy .price { font-family: var(--mono); font-weight: 700; font-size: 16px; white-space: nowrap; }
.book { display: inline-block; text-decoration: none; font-size: 13.5px; font-weight: 650; color: var(--paper); background: var(--ink);
        border-radius: 6px; padding: 8px 13px; white-space: nowrap; transition: background .12s; }
.book:hover { background: #163f4c; }
.book.ghost { background: none; color: var(--ink); border: 1px solid var(--rule); }
.book.ghost:hover { border-color: var(--ink); }
.leg.stay { grid-template-columns: 74px 1fr; padding: 10px 0; color: var(--ink-2); font-size: 14px; }
.leg.stay .leg-date { color: var(--teal); }
.leg.stay b { font-weight: 600; color: var(--ink); }
.legs-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; margin-top: 4px; border-top: 1.5px solid var(--ink); }
.legs-total b { font-family: var(--mono); font-size: 20px; white-space: nowrap; }
.legs-total small { color: var(--muted); font-size: 12.5px; }

.empty { border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); padding: 28px; }
.empty h2 { font-family: var(--display); margin: 0 0 6px; }
.alert-box { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--rule); }
.alert-box h3 { font-family: var(--display); font-size: 19px; margin: 0 0 4px; }
.alert-box > p { color: var(--ink-2); margin: 0 0 14px; max-width: 520px; }
.alert-form { display: flex; gap: 8px; flex-wrap: wrap; }
.alert-form input { flex: 1 1 240px; min-width: 0; border: 1px solid var(--rule); border-radius: 8px; padding: 10px 12px; background: var(--paper); }
.alert-form input:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: var(--ink); }
.alert-form .book { border: 0; cursor: pointer; }
.alert-form .book:disabled { opacity: .6; cursor: wait; }
.alert-msg { margin: 10px 0 0; font-weight: 600; }
.alert-msg:empty { display: none; }
.alert-box .alert-legal { font-size: 11px; color: var(--muted); margin: 10px 0 0; }
.grecaptcha-badge { visibility: hidden; }
.alert-links { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.notice { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink-2); }
.notice p { margin: 0 0 8px; }

.maplibregl-popup-content { border-radius: 6px; font-family: var(--sans); font-size: 13px; padding: 7px 10px; border: 1px solid var(--rule);
                            box-shadow: 0 10px 24px -16px rgba(13, 43, 53, .5); }
.pin { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px; background: var(--ink); color: var(--paper);
       font-family: var(--mono); font-weight: 700; font-size: 12px; border: 2px solid var(--card); }
.pin.home { background: var(--orange); color: var(--ink); }

/* ------------------------------------------------------------------ petits écrans */
@media (max-width: 1020px) {
    .planner-grid { grid-template-columns: 1fr 1fr; }
    .planner-grid .field:nth-child(2) { border-right: 0; }
    .planner-grid .field:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
    .regions { grid-template-columns: repeat(2, 1fr); }
    .results { grid-template-columns: 1fr; }
    .results-map { position: relative; top: 0; height: 42vh; order: -1; }
    .how { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 640px) {
    .intro { grid-template-columns: 1fr; padding-top: 8px; }
    .intro-art { display: none; }
    .planner-grid { grid-template-columns: 1fr; }
    .planner-grid .field { border-right: 0; border-bottom: 1px solid var(--rule); }
    .planner-grid .field:last-child { border-bottom: 0; }
    .planner-foot { flex-direction: column; align-items: stretch; }
    .cta { justify-content: center; }
    .page-results .site-header { flex-direction: column; align-items: flex-start; gap: 6px; }
    .summary { text-align: left; font-size: 13px; }
    .pass-main { flex-direction: column; align-items: flex-start; }
    .pass-price { text-align: left; }
    .route-stop span { display: none; }
    .leg { grid-template-columns: 62px 1fr; }
    .leg-buy { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.planner > .f-region { border: 1px solid var(--rule); border-top: 0; border-bottom: 0; }

/* thèmes et escales */
.planner > .f-theme { border-top: 1px solid var(--rule-soft); border-bottom: 0; padding: 4px 20px 18px; }
.f-theme small { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 400; }
.themes { display: flex; flex-wrap: wrap; gap: 8px; }
.theme { cursor: pointer; }
.theme input { position: absolute; opacity: 0; pointer-events: none; }
.theme span { display: inline-block; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; font-weight: 550;
              background: var(--card); transition: border-color .12s, background .12s, color .12s; }
.theme:hover span { border-color: var(--ink); }
.theme input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.theme input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.planner-foot .f-stops { min-width: 210px; }
.planner-foot .f-passports { flex: 1 1 260px; min-width: 0; }
.planner-foot .f-visa { min-width: 200px; }
.planner-foot .f-visa .select { font-size: 17px; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; }
.planner-foot .f-visa .select:disabled { opacity: .45; }
.chips-input { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; min-height: 34px; }
.chips-input input { flex: 1 1 120px; min-width: 0; border: 0; background: none; font-size: 17px; padding: 2px 0; outline: none; }
.pp-chips { display: contents; }
.pp-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rule); background: var(--paper); border-radius: 999px;
           padding: 2px 6px 2px 10px; font-size: 14px; cursor: pointer; }
.pp-chip i { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1; }
.pp-chip:hover { border-color: var(--ink); }
.visa-tag { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .02em; border-radius: 4px; padding: 1px 6px; margin-left: 6px;
            background: #e3efe8; color: #1d6b45; vertical-align: 1px; }
.visa-tag.v-mid { background: #fbeedd; color: var(--orange-ink); }
.visa-tag.v-hard { background: #f6e1e1; color: #a12c2c; }
.planner-foot .f-stops .select { font-size: 17px; border-bottom: 1.5px solid var(--ink); padding-bottom: 4px; }
.planner-foot { flex-wrap: wrap; }

/* photos des escales */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; height: 132px; overflow: hidden;
         border-radius: var(--r) var(--r) 0 0; background: var(--ink); }
.strip figure { position: relative; margin: 0; min-width: 0; }
.strip img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform .4s; }
.card:hover .strip img { transform: scale(1.03); }
.strip figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; color: #fff; font-size: 12px;
                    background: linear-gradient(transparent, rgba(5, 20, 26, .72)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip figcaption b { font-family: var(--mono); margin-right: 6px; }
.credits { list-style: none; margin-top: 10px; font-size: 11.5px; color: var(--muted); }
.credits a { color: var(--muted); }
@media (max-width: 640px) { .strip { height: 104px; } }

/* bons plans */
.deals-wrap { max-width: 1200px; margin: 64px auto 0; padding: 0 clamp(16px, 4vw, 32px); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; margin: 0; }
.section-head a { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--orange); }
.deals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deal { display: flex; flex-direction: column; text-decoration: none; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r);
        overflow: hidden; transition: border-color .12s; }
.deal:hover { border-color: var(--ink); }
.deal-photo { position: relative; aspect-ratio: 16 / 10; background: var(--ink); overflow: hidden; }
.deal-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.deal:hover .deal-photo img { transform: scale(1.04); }
.deal-tag { position: absolute; left: 12px; top: 12px; background: var(--card); color: var(--ink); font-size: 12px; font-weight: 650;
            padding: 4px 9px; border-radius: 4px; }
.deal-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.deal-top { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.deal h3 { font-family: var(--display); font-weight: 650; font-size: 20px; letter-spacing: -.015em; line-height: 1.2; margin: 0; }
.deal-route { font-size: 12.5px; color: var(--teal); }
.deal-price { margin-top: auto; padding-top: 10px; }
.deal-price b { font-size: 22px; }
.deal-price small { color: var(--muted); font-size: 12px; }
.intro-small h1 { font-size: clamp(38px, 5.5vw, 64px); }
.empty-deals { color: var(--muted); }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; color: var(--orange-ink); margin: 0 0 8px; }
@media (max-width: 1020px) { .deals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .deals { grid-template-columns: 1fr; } }

/* en-tête : langue */
.header-right { display: flex; align-items: center; gap: 18px; }
.prefs { position: relative; }
.prefs summary { list-style: none; display: inline-flex; align-items: center; gap: 7px; cursor: pointer; font-size: 12.5px; color: var(--ink);
                 border: 1px solid var(--rule); background: var(--card); border-radius: 999px; padding: 5px 11px 5px 9px; }
.prefs summary::-webkit-details-marker { display: none; }
.prefs summary:hover, .prefs[open] summary { border-color: var(--ink); }
.prefs summary svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.prefs summary i { font-style: normal; font-size: 10px; color: var(--muted); transition: transform .15s; }
.prefs[open] summary i { transform: rotate(180deg); }
.prefs-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; width: 250px; background: var(--card); border: 1px solid var(--rule);
               border-radius: 10px; box-shadow: 0 12px 32px rgba(13, 43, 53, .14); padding: 8px; }
.prefs-h { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 8px 8px 4px; }
.prefs-panel ul { list-style: none; margin: 0 0 4px; padding: 0; }
.prefs-panel li a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 6px; text-decoration: none; font-size: 14px; }
.prefs-panel li a .mono { font-size: 12px; color: var(--muted); width: 2.6em; }
.prefs-panel li a:hover { background: var(--paper); }
.prefs-panel li a[aria-current] { font-weight: 600; }
.prefs-panel li a[aria-current]::after { content: "✓"; margin-left: auto; color: var(--orange-ink); }
.prefs-note { font-size: 11px; color: var(--muted); margin: 6px 8px 4px; line-height: 1.4; }
@media (max-width: 640px) { .header-right { width: 100%; justify-content: space-between; } }
