/* =========================================================
   Quand partir au Vietnam — landing page Authentik Vietnam
   ========================================================= */

:root {
  --ink: #26231f;
  --muted: #5e574d;
  --muted-2: #6b645a;
  --paper: #faf7f0;
  --paper-2: #f3eee4;
  --card: #ffffff;
  --line: #e6dfd2;
  --line-2: #d9cfbd;

  --green: #11a04a;      /* vert du logo */
  --green-dk: #0c7a38;   /* vert accessible (boutons, texte) */
  --green-deep: #0e4f2b;
  --green-soft: #e7f4ea;
  --rust: #842e0a;       /* brun du logo */
  --teal: #00947d;
  --teal-dk: #00727f;
  --teal-soft: #e6f4f1;
  --gold: #f4b400;
  --gold-soft: #fff6db;

  --r-ideal: #0c7a38;
  --r-fav: #a9d8b4;
  --r-mix: #f2dda4;

  --font-head: "Montserrat", "Open Sans", system-ui, sans-serif;
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --wrap: 1200px;
  --sub-h: 46px;         /* sommaire « Sur cette page » sous la navbar commune */
  --nav-h: calc(var(--av-bar-h, 76px) + var(--sub-h));
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dk); }
a:hover { color: var(--rust); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; scroll-margin-top: var(--nav-h); }
.section--white { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- typographie ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--rust);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--rust); }
.h2 { margin: 10px 0 12px; font-size: 40px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
.lead { margin: 0 0 32px; color: var(--muted); max-width: 680px; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 18px; }
.btn--primary { background: var(--green-dk); color: #fff; }
.btn--primary:hover { background: var(--green-deep); color: #fff; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--gold { background: var(--gold); color: var(--ink); min-height: 60px; font-size: 17px; }
.btn--gold:hover { background: #ffc629; color: var(--ink); transform: translateY(-1px); }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* ---------- sommaire de la page (2e ligne de la navbar) ---------- */
.subnav { border-top: 1px solid var(--line); }
.subnav__inner { height: var(--sub-h); display: flex; align-items: center; gap: 20px; }
.subnav__label {
  flex: 0 0 auto; font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rust);
}
.subnav__links {
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
}
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  flex: 0 0 auto; color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.subnav__links a:hover { color: var(--ink); background: var(--paper-2); }
.subnav__links a.is-active { background: var(--green-soft); color: var(--green-dk); }

/* ---------- fil d'Ariane ---------- */
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 13px; color: var(--muted-2); }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--line-2); font-weight: 700; }
.crumbs a { color: var(--green-dk); font-weight: 600; text-decoration: none; }
.crumbs a:hover { color: var(--rust); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- hero ---------- */
.hero { padding: 80px 0 96px; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__text { flex: 1 1 440px; min-width: 0; }
.hero h1 { margin: 14px 0 20px; font-size: 58px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; }
.hero__lead { margin: 0 0 26px; font-size: 18px; color: var(--muted); max-width: 540px; }
.brief { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin-bottom: 26px; max-width: 540px; }
.brief__label { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); margin-bottom: 6px; }
.brief p { margin: 0; font-size: 15.5px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 15px; text-decoration: none; }
.hero__more svg { width: 16px; height: 16px; }

.calendar {
  flex: 1 1 460px; min-width: 0; position: relative; margin: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px 28px 24px;
  box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(38, 35, 31, .06);
}
.calendar__tag {
  position: absolute; top: -14px; left: 28px; background: var(--gold); color: var(--ink);
  font-family: var(--font-head); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 4px; transform: rotate(-2deg);
}
.calendar__row { display: grid; grid-template-columns: 64px repeat(12, minmax(0, 1fr)); gap: 4px; align-items: center; margin-top: 6px; }
.calendar__row--head { margin-top: 4px; }
.calendar__m { text-align: center; font-size: 11.5px; font-weight: 600; color: var(--muted-2); }
.calendar__m.is-now { color: var(--rust); font-weight: 800; }
.calendar__label { font-family: var(--font-head); font-size: 13px; font-weight: 700; }
.cell { display: block; height: 30px; border-radius: 6px; }
.cell.is-now { box-shadow: inset 0 0 0 2px var(--rust), 0 0 0 2px #fff, 0 0 0 4px var(--rust); }
.r3 { background: var(--r-ideal); }
.r2 { background: var(--r-fav); }
.r1 { background: var(--r-mix); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.legend i.now { border: 2px solid var(--rust); }
.calendar__note { margin: 14px 0 0; font-size: 13px; color: var(--muted-2); }
.m-short { display: none; }

/* ---------- onglets ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab {
  min-width: 160px; min-height: 58px; text-align: left; cursor: pointer;
  padding: 10px 20px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-family: var(--font-body); transition: background .2s, border-color .2s, color .2s;
}
.tab:hover { border-color: var(--green-dk); }
.tab[aria-selected="true"] { background: var(--green-dk); border-color: var(--green-dk); color: #fff; }
.tab strong { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 800; }
.tab span { display: block; font-size: 12.5px; opacity: .85; }

/* ---------- climat ---------- */
.climate__top { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 24px; }
.notes { flex: 1 1 360px; min-width: 0; background: var(--paper); border-radius: 16px; padding: 24px 26px; border: 1px dashed var(--line-2); }
.notes__title { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); }
.notes ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.notes li { display: flex; gap: 12px; font-size: 15px; }
.notes li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--green); }
.best { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.best__card { background: var(--green-dk); color: #fff; border-radius: 16px; padding: 20px 22px; }
.best__label { font-family: var(--font-head); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; font-weight: 700; }
.best__value { font-family: var(--font-head); font-size: 24px; font-weight: 800; margin-top: 4px; }
.best__ref { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 22px; font-size: 14px; color: var(--muted); }
.best__ref strong { color: var(--ink); }

.months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 8px; padding-top: 4px; }
.month { position: relative; background: #fff; border-radius: 14px; padding: 14px 10px; border: 1px solid var(--line); }
.month.is-now { border: 2px solid var(--rust); }
.month__head { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.month__name { font-family: var(--font-head); font-weight: 800; font-size: 15px; }
.month__now {
  display: none; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font-size: 9.5px; font-weight: 700; color: #fff; background: var(--rust); border-radius: 999px; padding: 2px 8px;
  text-transform: uppercase; letter-spacing: .06em;
}
.month.is-now .month__now { display: inline; }
.badge { display: inline-block; margin-top: 8px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.badge.r3 { color: #fff; }
.badge.r2 { color: #163b22; }
.badge.r1 { color: #5a3d06; }
.month__t { font-size: 13.5px; margin-top: 10px; white-space: nowrap; }
.month__t span { color: var(--muted-2); }
.rainbar { height: 6px; background: #efe9de; border-radius: 999px; margin-top: 10px; overflow: hidden; }
.rainbar i { display: block; height: 100%; border-radius: 999px; background: var(--teal); }
.month__rain { font-size: 12px; color: var(--muted-2); margin-top: 4px; }
.climate__src { margin: 14px 0 0; font-size: 12.5px; color: var(--muted-2); }

/* ---------- météo en direct ---------- */
.live { margin-top: 56px; border: 1px solid var(--line); border-radius: 22px; padding: 28px; background: var(--paper); scroll-margin-top: calc(var(--nav-h) + 16px); }
.live__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; }
.live__head h3 { margin: 8px 0 0; font-size: 24px; font-weight: 800; }
.status {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.status.is-old::before { background: var(--gold); }
.status.is-error::before { background: var(--rust); }
.live .tabs { margin-bottom: 18px; }
.live .tab { min-width: 120px; min-height: 48px; padding: 8px 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 700; color: var(--ink);
  padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
}
.chip:hover { border-color: var(--green-dk); }
.chip small { font-weight: 500; opacity: .7; font-size: 13px; }
.chip .ico { width: 20px; height: 20px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.place { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 14px; }
.place__name { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.place__meta { font-size: 14px; color: var(--muted); }
.days-scroll { overflow-x: auto; padding-bottom: 4px; }
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { text-align: center; background: #fff; border-radius: 14px; padding: 14px 8px; border: 1px solid var(--line); }
.day.is-today { border: 2px solid var(--ink); }
.day__dow { font-family: var(--font-head); font-size: 13px; font-weight: 700; }
.day__date { font-size: 12px; color: var(--muted-2); }
.day__icon { height: 46px; display: flex; align-items: center; justify-content: center; margin: 8px 0 4px; }
.day__icon .ico { width: 40px; height: 40px; }
.day__label { font-size: 12.5px; color: var(--muted); min-height: 38px; line-height: 1.4; }
.day__t { font-size: 16px; margin-top: 4px; }
.day__t span { color: var(--muted-2); }
.day__rain { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--teal-dk); margin-top: 6px; }
.day__rain svg { width: 12px; height: 12px; }
.day--empty { color: var(--muted-2); font-size: 13px; padding-top: 40px; min-height: 180px; }
.live__note { margin: 16px 0 0; font-size: 12.5px; color: var(--muted-2); }
.live__msg { background: #fff; border: 1px dashed var(--line-2); border-radius: 14px; padding: 18px; color: var(--muted); }

.ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--sun { color: #c98a00; }
.ico--partly { color: #b47d00; }
.ico--cloud, .ico--fog { color: #4f6b73; }
.ico--rain { color: #2d6f8f; }
.ico--storm { color: var(--rust); }
.chip[aria-pressed="true"] .ico { color: #fff; }

/* ---------- valise ---------- */
.seg-row { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-bottom: 28px; }
.seg { display: inline-flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.seg button {
  min-height: 42px; cursor: pointer; font-family: var(--font-head); font-size: 14px; font-weight: 700;
  padding: 8px 18px; border-radius: 999px; border: 0; background: transparent; color: var(--ink);
}
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.pack__title { font-family: var(--font-head); font-size: 20px; font-weight: 800; margin: 0 0 16px; }
.pack__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pack__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pack__col h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-head); font-size: 17px; font-weight: 800; }
.pack__num { width: 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green-dk); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.check { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.check li { display: flex; gap: 10px; font-size: 15px; }
.check li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px;
  background: no-repeat center / 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2311A04A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.tip { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: baseline; background: var(--gold-soft); border-radius: 16px; padding: 18px 22px; }
.tip strong { font-family: var(--font-head); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }
.always { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.always b { margin-right: 4px; }
.pill { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }

/* ---------- santé ---------- */
.health__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.hcard { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--paper); }
.hcard ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.hcard p { margin: 0; font-size: 15px; color: var(--muted); }
.hcard__big { font-family: var(--font-head); font-size: 28px; font-weight: 800; margin: 14px 0 6px; }
.tag { display: inline-block; font-family: var(--font-head); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 6px; padding: 4px 10px; }
.tag--dark { background: var(--ink); color: #fff; }
.tag--green { background: var(--green-dk); color: #fff; }
.tag--sand { background: var(--r-mix); color: #5a3d06; }
.health__row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.mosq { flex: 2 1 420px; min-width: 0; border-radius: var(--radius); padding: 24px; background: var(--teal-soft); }
.kit { flex: 1 1 280px; min-width: 0; border-radius: var(--radius); padding: 24px; border: 1px dashed var(--line-2); }
.mosq h4, .kit h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-family: var(--font-head); font-size: 17px; font-weight: 800; }
.mosq h4 svg { width: 22px; height: 22px; stroke: var(--teal-dk); }
.mosq p, .kit p { margin: 0; font-size: 15px; }
.kit p { color: var(--muted); }
.disclaimer { margin: 18px 0 0; font-size: 12.5px; color: var(--muted-2); }

/* ---------- blog ---------- */
.blog__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.blog__head .h2 { margin-bottom: 0; }
.blog__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s;
}
.post:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(38, 35, 31, .1); color: var(--ink); }
.post__img { position: relative; aspect-ratio: 450 / 230; background: var(--paper-2); overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post:hover .post__img img { transform: scale(1.04); }
.post__cat { position: absolute; top: 14px; left: 14px; background: #fff; border-radius: 999px; font-size: 12px; font-weight: 700; padding: 4px 10px; color: var(--rust); }
.post__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__title { font-family: var(--font-head); font-size: 16.5px; font-weight: 700; line-height: 1.4; }
.post__more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--green-dk); }

/* ---------- CTA ---------- */
.cta-wrap { padding: 24px 0 96px; }
.cta {
  position: relative; overflow: hidden; background: var(--green-deep); color: #fff;
  border-radius: 28px; padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center;
}
.cta__deco { position: absolute; right: -40px; bottom: -30px; width: 420px; opacity: .12; pointer-events: none; }
.cta__text { flex: 1 1 420px; min-width: 0; position: relative; }
.cta__kicker { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.cta h2 { color: #fff; margin: 10px 0 14px; font-size: 38px; line-height: 1.15; font-weight: 800; }
.cta p { margin: 0; font-size: 17px; opacity: .92; max-width: 560px; }
.cta__link { display: inline-flex; margin-top: 18px; color: #fff; font-weight: 600; font-size: 15px; }
.cta__link:hover { color: var(--gold); }
.cta__side { flex: 0 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.cta__side small { text-align: center; font-size: 13.5px; opacity: .85; }

/* ---------- résumé : meilleure période ---------- */
.section--flush { padding-top: 0; }
.byline { margin: 18px 0 0; font-size: 13.5px; color: var(--muted-2); }
.summary__answer { margin: 0 0 28px; max-width: 860px; font-size: 18px; line-height: 1.65; }
.table-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.season-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.season-table caption { caption-side: bottom; text-align: left; padding: 12px 20px 16px; font-size: 13px; color: var(--muted-2); }
.season-table th, .season-table td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.season-table thead th { background: var(--paper-2); font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); }
.season-table tbody th { font-family: var(--font-head); font-size: 16px; font-weight: 800; }
.season-table small { display: block; margin-top: 2px; font-family: var(--font-body); font-size: 13px; font-weight: 400; color: var(--muted); }
.season-table td.good { color: var(--green-dk); font-weight: 700; }
.seasons4 { margin-top: 40px; }
.seasons4__title { margin: 0 0 6px; font-size: 22px; font-weight: 800; }
.seasons4__intro { margin: 0 0 18px; color: var(--muted); }
.seasons4__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.seasons4__grid li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; font-size: 14.5px; color: var(--muted); }
.seasons4__grid strong { display: block; font-family: var(--font-head); font-size: 17px; color: var(--ink); }
.seasons4__grid span { display: block; margin: 2px 0 8px; font-size: 13px; font-weight: 700; color: var(--green-dk); }

/* ---------- FAQ (accordéon) ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 900px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.faq__item[open] { background: var(--card); border-color: var(--line-2); box-shadow: 0 6px 18px rgba(38, 35, 31, .06); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover h3 { color: var(--green-dk); }
.faq__item h3 { margin: 0; font-size: 17.5px; line-height: 1.35; font-weight: 800; }
.faq__chev { flex: 0 0 32px; width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--green-soft); color: var(--green-dk); transition: transform .25s; }
.faq__item[open] .faq__chev { transform: rotate(180deg); }
.faq__a { padding: 0 24px 22px; }
.faq__a p { margin: 0 0 10px; font-size: 15.5px; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- carrousels (mobile) ---------- */
.dots { display: none; }
@media (max-width: 960px) {
  .seasons4__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .summary__answer { font-size: 16.5px; }
  .table-scroll { overflow: visible; background: none; border: 0; border-radius: 0; }
  .season-table { min-width: 0; display: block; }
  .season-table thead { display: none; }
  .season-table tr { display: block; }
  .season-table th, .season-table td { display: block; padding: 9px 0; }
  .season-table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--font-head); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); }
  .season-table tr > :last-child { border-bottom: 0; }
  .season-table caption { display: block; padding: 0 0 12px; }

  /* carrousel générique : cartes à 84 %, la suivante dépasse pour inviter à glisser */
  [data-carousel] {
    display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: 16px;
    margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none;
  }
  [data-carousel]::-webkit-scrollbar { display: none; }
  [data-carousel] > * { flex: 0 0 84%; min-width: 0; scroll-snap-align: start; }
  .season-table tr { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px; }
  .seasons4__grid li { padding: 16px 18px; }
  .pack__col { padding: 20px; }
  .dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
  .dots i { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: width .2s, background .2s; }
  .dots i.is-on { width: 20px; background: var(--green-dk); }

  .faq__item summary { padding: 16px 18px; gap: 12px; }
  .faq__item h3 { font-size: 16px; }
  .faq__a { padding: 0 18px 18px; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .months { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --sub-h: 44px; }
  .subnav__label { display: none; }
  .subnav__links { margin-left: -12px; padding-right: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 40px; }
  .hero__lead { font-size: 16.5px; }
  .h2, .cta h2 { font-size: 30px; }
  .calendar { padding: 28px 16px 20px; }
  .calendar__row { grid-template-columns: 52px repeat(12, minmax(0, 1fr)); gap: 3px; }
  .m-long { display: none; }
  .m-short { display: inline; }
  .tab, .live .tab { min-width: 0; flex: 1 1 0; padding: 10px 12px; }
  .tab span { font-size: 11.5px; }
  .live .tab span { display: none; }
  .months { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .live { padding: 20px 16px; margin-top: 40px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 6px; scroll-snap-type: x proximity; }
  .chip { flex: 0 0 auto; scroll-snap-align: start; }
  .days { grid-template-columns: repeat(7, 112px); }
  .seg { width: 100%; }
  .seg button { flex: 1 1 auto; }
  .posts { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; margin: 0 -16px; padding: 0 16px 10px; }
  .chips { scroll-padding-inline: 16px; }
  .post { scroll-snap-align: start; }
  .cta { padding: 40px 24px; border-radius: 22px; }
}

/* =========================================================
   Carte climatique (#carte-climat) — 03/11/2026
   Données : data/climat.json + data/meteo.json ; script : assets/js/climap.js
   ========================================================= */
.cmap { margin-top: 64px; padding-top: 56px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.cmap button { font-family: var(--ff-text, var(--font-body)); }
.cmap__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; margin-bottom: 22px; }
.cmap__intro { max-width: 700px; }
.cmap__intro h3 { margin: 8px 0; font-size: 26px; font-weight: 700; line-height: 1.3; }
.cmap__lead { margin: 0 0 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.cmap__mode { display: flex; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 999px; }
.cmap__mode button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 15px; font-weight: 600; cursor: pointer; }
.cmap__mode button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.cmap__mode button:disabled { opacity: .45; cursor: not-allowed; }
.cmap__dot { width: 8px; height: 8px; border-radius: 50%; background: #e0412b; box-shadow: 0 0 0 3px rgba(224, 65, 43, .2); }

.cmap__months { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; margin-bottom: 24px; }
.cmap__months button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 4px 2px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; }
.cmap__months button:hover { border-color: var(--green-dk); }
.cmap__months button[aria-pressed="true"] { background: var(--green-dk); border-color: var(--green-dk); color: #fff; }
.cmap__months.is-live button:not([aria-pressed="true"]) { opacity: .45; }
.cmap__now { font-size: 10.5px; font-weight: 500; opacity: .85; }

.cmap__body { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, 1fr); gap: 32px; align-items: start; }
.cmap__map { position: relative; width: 100%; aspect-ratio: 640 / 760; background: #eaf3f1; border: 1px solid #d7e6e2; border-radius: 22px; }
.cmap__map > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.cmap__sea { position: absolute; transform: translateX(-50%); font-family: var(--ff-title, var(--font-head)); font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--rust); text-align: center; white-space: nowrap; pointer-events: none; }
.cmap__note { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted-2); }

.cm-v3 { --pin: #0c7a38; --pin-ring: #0c7a38; }
.cm-v2 { --pin: #7cc795; --pin-ring: #3f8f5c; }
.cm-v1 { --pin: #fff3cf; --pin-ring: #b88a1c; }
.cm-pin { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: 14px; height: 14px; margin: -7px 0 0 -7px; box-sizing: border-box; border: 2.5px solid #fff; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 1.5px var(--pin-ring), 0 2px 6px rgba(38, 35, 31, .25); pointer-events: none; }
.cm-pin.is-sel { z-index: 4; width: 20px; height: 20px; margin: -10px 0 0 -10px; --pin-ring: var(--ink); }
.cm-lines { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cm-lines line { stroke: #8a7f70; stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.cm-lines line.is-sel { stroke: var(--ink); stroke-width: 1.6; }
.cm-lab { position: absolute; top: var(--ay); z-index: 2; transform: translateY(-50%); display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 11px 0 10px; border: 1px solid #e0d7c6; border-radius: 999px; background: #fff; color: var(--ink); font-size: 13.5px; font-weight: 400; white-space: nowrap; cursor: pointer; box-shadow: 0 1px 3px rgba(38, 35, 31, .14); }
.cm-lab.is-R { left: var(--ax); }
.cm-lab.is-L { right: calc(100% - var(--ax)); }
.cm-lab:hover { border-color: var(--green-dk); }
.cm-lab.is-sel { z-index: 5; background: var(--ink); border-color: var(--ink); color: #fff; }
.cm-lab .ico { width: 18px; height: 18px; flex: 0 0 18px; }
.cm-lab.is-sel .ico { color: #fff; }
.cm-lab__n { font-weight: 600; }
.cm-lab__t { font-weight: 500; font-variant-numeric: lining-nums tabular-nums; }
.cmap__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px; font-size: 13.5px; font-weight: 400; line-height: 1.3; color: var(--muted); }
.cmap__legend b { font-weight: 600; color: var(--ink); }
.cmap__legend span { display: flex; align-items: center; gap: 8px; }
.cmap__legend i { width: 12px; height: 12px; border-radius: 50%; background: var(--pin); box-shadow: 0 0 0 1.5px var(--pin-ring); }

.ico--showers { color: #2d6f8f; }
.ico--heavy { color: #1f4e6b; }

.cmap__cards { display: none; }
.cmap__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.cm-d { display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.cm-d__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 16px; }
.cm-d__reg { display: block; font-size: 13px; font-weight: 500; color: var(--muted-2); }
.cm-d__name { margin: 2px 0 0; font-size: 30px; font-weight: 700; line-height: 1.15; }
.cm-badge { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.cm-badge--s { min-height: 24px; padding: 0 10px; font-size: 12.5px; font-weight: 700; }
.cm-badge.r3 { color: #fff; }
.cm-badge.r2 { color: #163b22; }
.cm-badge.r1 { color: #5a3d06; }
.cm-d__k { margin: 0 0 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.cm-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cm-stat { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cm-stat span { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted-2); }
.cm-stat strong { display: block; font-family: var(--ff-title, var(--font-head)); font-size: 26px; font-weight: 700; line-height: 1.3; font-variant-numeric: lining-nums; }
.cm-live { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.cm-live > .ico { width: 34px; height: 34px; flex: 0 0 34px; }
.cm-live__b { flex: 1 1 auto; min-width: 0; }
.cm-live__k { display: block; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--rust); }
.cm-live__v { display: block; font-size: 16px; font-weight: 500; }
.cm-delta { padding: 6px 10px; border-radius: 999px; background: var(--paper-2); color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.cm-delta.is-up { background: #fde7dc; color: #8a2c0c; }
.cm-delta.is-down { background: #e1eff7; color: #124a6b; }
.cm-d__note { margin: 0; font-size: 16px; line-height: 1.6; }
.cm-year__t { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 500; color: var(--muted); }
.cm-year { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; }
.cm-year button { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 48px; padding: 2px 0; border: 0; border-radius: 9px; line-height: 1.2; cursor: pointer; }
.cm-year button.r3 { color: #fff; }
.cm-year button.r2 { color: #163b22; }
.cm-year button.r1 { color: #5a3d06; }
.cm-year button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.cm-year small { font-size: 11px; font-weight: 500; opacity: .85; }
.cm-year b { font-size: 13px; font-weight: 600; }
.cm-d__go { align-self: flex-start; font-family: var(--ff-title, var(--font-head)); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--green-dk); }
.cm-d__go:hover { color: var(--rust); }
.cm-rank { display: flex; flex-direction: column; gap: 16px; padding: 24px 28px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.cm-rank__t { margin: 0; font-size: 19px; font-weight: 700; }
.cm-rank__g { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cm-rank__list { display: flex; flex-wrap: wrap; gap: 6px; }
.cm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid #e0d7c6; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; }
.cm-chip small { font-size: 13px; font-weight: 400; opacity: .75; }
.cm-chip:hover { border-color: var(--green-dk); }
.cm-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 1080px) {
  .cmap__body { grid-template-columns: minmax(0, 1fr); }
  .cmap__mapcol { width: 100%; max-width: 640px; margin: 0 auto; }
  .cmap__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 760px) {
  .cmap { margin-top: 40px; padding-top: 36px; }
  .cmap__head { gap: 16px; margin-bottom: 16px; }
  .cmap__intro h3 { font-size: 21px; }
  .cmap__lead { margin-bottom: 14px; font-size: 15px; }
  #cmap-article { width: 100%; min-height: 48px; padding: 8px 16px; line-height: 1.3; text-align: center; }
  .cmap__mode { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .cmap__mode button { justify-content: center; padding: 0 10px; font-size: 14px; }
  .cmap__months { display: flex; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px 4px; scroll-snap-type: x proximity; scroll-padding-inline: 16px; scrollbar-width: none; }
  .cmap__months::-webkit-scrollbar { display: none; }
  .cmap__months button { flex: 0 0 auto; min-width: 60px; padding: 4px 12px; scroll-snap-align: start; }
  .cmap__body { gap: 0; }
  .cmap__map { border-radius: 18px; }
  .cmap__sea { font-size: 10px; }
  .cm-pin { width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-width: 2px; }
  .cm-pin.is-sel { width: 16px; height: 16px; margin: -8px 0 0 -8px; }
  .cm-lines { display: none; }
  .cm-lab { display: none; top: var(--y); height: 28px; padding: 0 9px; font-size: 12px; }
  .cm-lab.is-R { left: calc(var(--x) + 10px); }
  .cm-lab.is-L { right: calc(100% - var(--x) + 10px); }
  .cm-lab.is-sel { display: flex; }
  .cm-lab .ico { width: 15px; height: 15px; flex-basis: 15px; }
  .cmap__legend { gap: 6px 14px; margin-top: 10px; font-size: 12.5px; }
  .cmap__legend i { width: 10px; height: 10px; }
  .cmap__cards { display: flex; gap: 10px; overflow-x: auto; margin: 16px -16px 0; padding: 2px 16px 6px; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  .cmap__cards::-webkit-scrollbar { display: none; }
  .cm-card { flex: 0 0 72%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; border: 1px solid #e0d7c6; border-radius: 16px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; scroll-snap-align: start; }
  .cm-card[aria-pressed="true"] { padding: 13px; border: 2px solid var(--ink); }
  .cm-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%; }
  .cm-card__n { font-family: var(--ff-title, var(--font-head)); font-size: 16px; font-weight: 700; }
  .cm-card__w { display: flex; align-items: center; gap: 8px; }
  .cm-card__w .ico { width: 26px; height: 26px; }
  .cm-card__w strong { font-family: var(--ff-title, var(--font-head)); font-size: 20px; font-weight: 700; }
  .cm-card__s { font-size: 12.5px; font-weight: 400; color: var(--muted); }
  .cmap__side { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
  .cm-d { gap: 14px; padding: 18px 16px; border-radius: 18px; }
  .cm-d__name { font-size: 24px; }
  .cm-stats { gap: 8px; }
  .cm-stat { padding: 10px; }
  .cm-stat strong { font-size: 21px; }
  .cm-live { flex-wrap: wrap; gap: 10px; padding: 10px 12px; }
  .cm-live > .ico { width: 28px; height: 28px; flex-basis: 28px; }
  .cm-live__v { font-size: 15px; }
  .cm-d__note { font-size: 15px; }
  .cm-year { gap: 3px; }
  .cm-year button { min-height: 44px; border-radius: 7px; }
  .cm-year small { font-size: 10px; }
  .cm-year b { font-size: 11px; }
  .cm-rank { padding: 18px 16px; border-radius: 18px; }
}
