/* PAO - Itinéraire V2 (référence Evaneos) - Eucalyptus + Terracotta */

:root { --v2-ink: #1A2E22; --v2-soft: #28402F; --v2-muted: #5A6F62; --v2-green: #2D6E4F; --v2-sage: #EDF2EA; --v2-card: #FBFCFA; --v2-line: rgba(45,110,79,.16); --v2-acc: #C8704A; }

/* Bandeau sombre sous l'en-tête superposé, comme la barre Evaneos */
.pao-v2-top { height: var(--pao-header-h, 104px); background: var(--v2-ink); }

/* ---------- Mosaïque photos ---------- */
.pao-v2-gallery { position: relative; max-width: 1280px; margin: 0 auto; padding: 24px 56px 0; display: grid; gap: 10px; height: 520px; }
.pao-v2-gallery figure { margin: 0; overflow: hidden; border-radius: 20px; background: #22452F; }
.pao-v2-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pao-v2-gallery-4 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(3, 1fr); }
.pao-v2-gallery-4 .pao-v2-g0 { grid-row: 1 / 4; }
.pao-v2-gallery-3 { grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 1fr); }
.pao-v2-gallery-3 .pao-v2-g0 { grid-row: 1 / 3; }
.pao-v2-gallery-2 { grid-template-columns: 2fr 1fr; }
.pao-v2-gallery-1 { grid-template-columns: 1fr; }
.pao-v2-credit { position: absolute; right: 72px; bottom: 12px; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #F4F7F2; background: rgba(26,46,34,.55); padding: 4px 10px; border-radius: 6px; }

/* ---------- Deux colonnes ---------- */
.pao-v2-wrap { max-width: 1280px; margin: 0 auto; padding: 40px 56px 104px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.pao-v2-main { min-width: 0; }
.pao-v2-side { position: sticky; top: calc(var(--pao-header-h, 104px) + 24px); }

.pao-v2-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--v2-acc); margin-bottom: 14px; }
.pao-v2-head h1 { font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: var(--v2-ink); margin: 0 0 12px; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.pao-v2-meta { font-family: 'Sora', sans-serif; font-size: 15px; color: var(--v2-muted); }

.pao-v2-main h2 { font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: -.02em; color: var(--v2-ink); font-size: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem); margin: 0 0 20px; }
.pao-v2-main section { margin-top: 48px; }

/* Le voyage en bref */
.pao-v2-bref ul { list-style: none; margin: 0; padding: 0; }
.pao-v2-bref li { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; font-family: 'Sora', sans-serif; font-size: 16px; line-height: 1.6; color: var(--v2-soft); }
.pao-v2-bref li i { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; background: var(--v2-ink); -webkit-mask: url("https://planete-australie.com/wp-content/uploads/2026/08/planete-australie-icon.svg") center / contain no-repeat; mask: url("https://planete-australie.com/wp-content/uploads/2026/08/planete-australie-icon.svg") center / contain no-repeat; } /* puce kangourou = icone du logo (media 22), 14/10/2026 */

/* Intro */
.pao-v2-intro p { font-family: 'Sora', sans-serif; font-size: 16px; line-height: 1.75; color: var(--v2-soft); max-width: 62ch; margin: 0 0 16px; }


/* ---------- Liste des jours ---------- */
.pao-v2-list { display: flex; flex-direction: column; }
.pao-v2-region { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--v2-acc); padding: 22px 0 8px; }
.pao-v2-region:first-child { padding-top: 0; }
.pao-v2-row { display: grid; grid-template-columns: 80px minmax(0, 1fr) 20px; gap: 16px; align-items: center; width: 100%; text-align: left; padding: 12px 8px 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--v2-line); border-radius: 0; cursor: pointer; font-family: 'Sora', sans-serif; transition: background .15s; }
.pao-v2-row:hover, .pao-v2-row:focus-visible { background: var(--v2-sage); outline: none; }
.pao-v2-row-img { display: block; width: 80px; height: 80px; border-radius: 12px; overflow: hidden; background: #22452F; }
.pao-v2-row-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pao-v2-row-titre { display: block; font-size: 17px; font-weight: 600; color: var(--v2-ink); line-height: 1.3; }
.pao-v2-row-meta { display: block; margin-top: 4px; font-size: 14px; color: var(--v2-muted); }
.pao-v2-row-meta b { font-weight: 600; color: var(--v2-green); }
.pao-v2-row-arrow { font-size: 26px; color: var(--v2-green); line-height: 1; }
.pao-v2-list-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.pao-v2-btn-outline { display: inline-flex; align-items: center; padding: 12px 22px; border: 1px solid var(--v2-green); border-radius: 8px; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; color: var(--v2-green); text-decoration: none; }
.pao-v2-btn-outline:hover { background: var(--v2-sage); color: var(--v2-green); }

/* ---------- Fenêtre jour ---------- */
/* Les styles de bouton du kit Elementor s'appliquent à tout <button> : on les neutralise ici. */
.pao-v2-list .pao-v2-row, .pao-v2-list .pao-v2-row:hover, .pao-v2-list .pao-v2-row:focus { background-color: transparent !important; background-image: none !important; color: inherit !important; border: 0 !important; border-bottom: 1px solid var(--v2-line) !important; border-radius: 0 !important; padding: 12px 8px 12px 0 !important; box-shadow: none !important; }
.pao-v2-list .pao-v2-row:hover, .pao-v2-list .pao-v2-row:focus-visible { background-color: var(--v2-sage) !important; }
.pao-v2-modal button { background-image: none !important; box-shadow: none !important; }
.pao-v2-modal .pao-v2-modal-close { background-color: rgba(26,46,34,.6) !important; color: #fff !important; padding: 0 !important; border: 0 !important; }
.pao-v2-modal .pao-v2-modal-close:hover { background-color: var(--v2-ink) !important; }
.pao-v2-modal .pao-v2-modal-prev, .pao-v2-modal .pao-v2-modal-next { background-color: #fff !important; color: var(--v2-ink) !important; padding: 0 !important; border: 1px solid var(--v2-line) !important; border-radius: 50% !important; }
.pao-v2-modal .pao-v2-modal-dots button { background-color: rgba(45,110,79,.25) !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; }
.pao-v2-modal .pao-v2-modal-dots button.is-on { background-color: var(--v2-acc) !important; }
.pao-v2-modal { width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 20px; background: #FFFFFF; color: var(--v2-ink); overflow: auto; font-family: 'Sora', sans-serif; }
.pao-v2-modal::backdrop { background: rgba(26,46,34,.55); }
.pao-v2-modal-open { overflow: hidden; }
.pao-v2-modal-close { position: absolute; top: 28px; right: 28px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(26,46,34,.6); color: #fff; font-size: 18px; cursor: pointer; z-index: 2; }
.pao-v2-modal-close:hover { background: var(--v2-ink); }
.pao-v2-modal-in { padding: 16px 16px 0; }
.pao-v2-modal-photo { margin: 0; border-radius: 14px; overflow: hidden; background: #22452F; }
.pao-v2-modal-photo img { width: 100%; height: 300px; object-fit: cover; display: block; }
.pao-v2-modal-photo figcaption { padding: 8px 4px 0; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--v2-muted); }
.pao-v2-modal-body { padding: 20px 8px 16px; }
.pao-v2-modal-n { font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--v2-green); margin-bottom: 8px; }
.pao-v2-modal-body h3 { margin: 0 0 4px; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; color: var(--v2-ink); }
.pao-v2-modal-ville { font-size: 14px; color: var(--v2-muted); margin-bottom: 18px; }
.pao-v2-modal-body p { font-size: 16px; line-height: 1.7; color: var(--v2-soft); margin: 0 0 14px; }
.pao-v2-jour-plus { font-size: 14px !important; color: var(--v2-muted) !important; }
.pao-v2-jour-info { margin: 18px 0 0; padding-top: 14px; border-top: 1px dashed rgba(45,110,79,.3); }
.pao-v2-jour-info div { display: flex; gap: 8px; font-size: 14px; line-height: 1.6; }
.pao-v2-jour-info dt { font-weight: 600; color: var(--v2-ink); }
.pao-v2-jour-info dd { margin: 0; color: var(--v2-soft); }
.pao-v2-modal-nav { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px 16px 16px; background: #fff; border-top: 1px solid var(--v2-line); }
.pao-v2-modal-prev, .pao-v2-modal-next { width: 40px; height: 40px; border: 1px solid var(--v2-line); border-radius: 50%; background: #fff; color: var(--v2-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.pao-v2-modal-prev:disabled, .pao-v2-modal-next:disabled { opacity: .3; cursor: default; }
.pao-v2-modal-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 360px; }
.pao-v2-modal-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(45,110,79,.25); cursor: pointer; }
.pao-v2-modal-dots button.is-on { background: var(--v2-acc); }

/* ---------- Inclus / à prévoir ---------- */
.pao-v2-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 32px; background: var(--v2-sage); border-radius: 20px; }
.pao-v2-incl h3 { margin: 0 0 4px; font-size: 20px; font-weight: 600; color: var(--v2-ink); }
.pao-v2-incl-sub { margin: 0 0 14px; font-size: 13px; color: var(--v2-muted); }
.pao-v2-incl ul { list-style: none; margin: 14px 0 0; padding: 0; }
.pao-v2-incl li { position: relative; padding: 6px 0 6px 26px; font-size: 15px; line-height: 1.55; color: var(--v2-soft); }
.pao-v2-incl li::before { position: absolute; left: 0; top: 6px; font-weight: 600; }
.pao-v2-incl li.oui::before { content: '\2713'; color: var(--v2-green); }
.pao-v2-incl li.non::before { content: '\2715'; color: var(--v2-acc); font-size: 12px; top: 9px; }
.pao-v2-note { margin: 16px 0 0; font-size: 13px; line-height: 1.5; color: var(--v2-muted); }

/* Rien n'est figé */
.pao-v2-libre { padding: 40px; border: 1px solid var(--v2-line); border-radius: 20px; background: var(--v2-card); }
.pao-v2-libre h2 { margin-bottom: 18px; }
.pao-v2-libre-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.pao-v2-libre-chips span { padding: 6px 14px; border-radius: 999px; background: var(--v2-sage); color: var(--v2-green); font-size: 13px; font-weight: 600; }

/* ---------- Carte prix ---------- */
.pao-v2-card { padding: 28px; background: var(--v2-card); border: 1px solid var(--v2-line); border-radius: 20px; font-family: 'Sora', sans-serif; }
.pao-v2-card-prix { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pao-v2-card-from { font-size: 14px; color: var(--v2-muted); }
.pao-v2-card-prix strong { font-size: 32px; font-weight: 600; letter-spacing: -.02em; color: var(--v2-ink); }
.pao-v2-card-per { font-size: 14px; color: var(--v2-muted); }
.pao-v2-card-cond { margin: 8px 0 20px; font-size: 12.5px; line-height: 1.5; color: var(--v2-muted); }
.pao-v2-card .pao-it-btn, .pao-v2-btn { display: flex; justify-content: center; align-items: center; width: 100%; box-sizing: border-box; padding: 14px 22px; border-radius: 8px; background: var(--v2-acc); color: #fff; font-family: 'Sora', sans-serif; font-weight: 600; font-size: 15px; text-decoration: none; }
.pao-v2-list-cta .pao-v2-btn { width: auto; }
.pao-v2-card .pao-it-btn:hover, .pao-v2-btn:hover { background: #B4603C; color: #fff; }
.pao-v2-btn-ghost { display: flex; justify-content: center; margin-top: 10px; padding: 12px 22px; border: 1px solid var(--v2-green); border-radius: 8px; color: var(--v2-green); font-weight: 600; font-size: 15px; text-decoration: none; }
.pao-v2-btn-ghost:hover { background: var(--v2-sage); color: var(--v2-green); }
.pao-v2-card-pts { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px dashed rgba(45,110,79,.3); }
.pao-v2-card-pts li { position: relative; padding: 4px 0 4px 18px; font-size: 13.5px; color: var(--v2-soft); }
.pao-v2-card-pts li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--v2-green); }
.pao-v2-card-mobile { display: none; margin-top: 48px; }

/* La barre persistante n'est pas utilisée en V2 : carte collante sur desktop, carte prix sous le titre sur tablette/mobile (12/10/2026) */
@media (min-width: 1025px) { .pao-v2-barre-desktop-off { display: none; } }

/* ---------- Tablette ---------- */
@media (max-width: 1024px) {
  .pao-v2-gallery { padding: 16px 32px 0; height: 400px; }
  .pao-v2-credit { right: 48px; }
  .pao-v2-wrap { grid-template-columns: 1fr; padding: 32px 32px 72px; gap: 0; }
  .pao-v2-side { display: none; }
  .pao-v2-card-mobile { display: block; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .pao-v2-gallery { padding: 12px 20px 0; height: 300px; gap: 6px; }
  .pao-v2-gallery-4, .pao-v2-gallery-3 { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; }
  .pao-v2-gallery-4 .pao-v2-g0, .pao-v2-gallery-3 .pao-v2-g0 { grid-column: 1 / 3; grid-row: 1; }
  .pao-v2-gallery-4 .pao-v2-g3 { display: none; }
  /* 12/10/2026 : sur mobile, seule la photo principale reste - les photos de jour sont masquées */
  .pao-v2-gallery-4, .pao-v2-gallery-3, .pao-v2-gallery-2 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .pao-v2-gallery .pao-v2-g0 { grid-column: 1; grid-row: 1; }
  .pao-v2-gallery .pao-v2-g1, .pao-v2-gallery .pao-v2-g2, .pao-v2-gallery .pao-v2-g3 { display: none; }
  .pao-v2-credit { right: 28px; bottom: 8px; }
  .pao-v2-wrap { padding: 24px 20px 96px; }
  .pao-v2-main section { margin-top: 32px; }
  .pao-v2-row { grid-template-columns: 64px minmax(0, 1fr) 16px; gap: 12px; }
  .pao-v2-row-img { width: 64px; height: 64px; }
  .pao-v2-row-titre { font-size: 15px; }
  .pao-v2-incl { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .pao-v2-libre { padding: 24px 20px; }
  .pao-v2-modal { width: calc(100vw - 16px); max-height: calc(100vh - 16px); }
  .pao-v2-modal-photo img { height: 200px; }
  .pao-v2-modal-close { top: 24px; right: 24px; width: 38px; height: 38px; }
}

/* ---------- Carte de l'itinéraire : colonne droite, au-dessus de la carte prix (12/10/2026) ----------
   L'aside n'est plus collant : la carte défile, la carte prix descend puis colle sous le header.
   Tablette et mobile : la carte passe sous l'intro (.pao-v2-map-mobile). */
.pao-v2-map { margin: 0; border-radius: 20px; overflow: hidden; background: #F4F7F2; border: 1px solid rgba(45,110,79,.14); }
.pao-v2-map a { display: block; cursor: zoom-in; }
.pao-v2-map img { display: block; width: 100%; height: auto; }
.pao-v2-side.pao-v2-side-map { position: static; align-self: stretch; display: flex; flex-direction: column; gap: 24px; }
.pao-v2-side-map .pao-v2-card-desktop { position: sticky; top: calc(var(--pao-header-h, 104px) + 24px); z-index: 2; }
.pao-v2-map-mobile { display: none; margin-top: 32px; }

@media (max-width: 1024px) {
  .pao-v2-map-mobile { display: block; }
}

.pao-v2-ag-label { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #5A9E78; margin-bottom: 6px; }
.pao-v2-ag5 { margin-top: 40px; }
.pao-v2-ag5-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pao-v2-ag5-t { background: var(--v2-sage); border-radius: 16px; padding: 18px; }
.pao-v2-ag5-t i { display: flex; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: #2D6E4F; align-items: center; justify-content: center; margin-bottom: 12px; }
.pao-v2-ag5-t svg { width: 22px; height: 22px; }
.pao-v2-ag5-t strong { display: block; font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 600; color: var(--v2-ink); margin-bottom: 4px; }
.pao-v2-ag5-t span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--v2-muted); }
@media (max-width: 767px) {
  .pao-v2-ag5-grid { grid-template-columns: 1fr; }
}
/* ---------- Encart 3 tuiles sous l'intro (12/10/2026) ---------- */
.pao-v2-ag5-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pao-v2-ag5-t i { margin-left: auto; margin-right: auto; }
.pao-v2-ag5-t { text-align: center; }
@media (max-width: 767px) {
  .pao-v2-ag5-grid { grid-template-columns: 1fr; gap: 10px; }
  .pao-v2-ag5-t { padding: 16px; }
}

/* ---------- Fenêtre du jour : hauteur fixe (12/10/2026) ----------
   La fenêtre garde la même hauteur d'un jour à l'autre ; le texte défile à l'intérieur, la navigation reste en bas. */
.pao-v2-modal[open] { display: flex; flex-direction: column; height: min(920px, calc(100vh - 32px)); max-height: calc(100vh - 32px); overflow: hidden; }
.pao-v2-modal[open] .pao-v2-modal-in { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.pao-v2-modal[open] .pao-v2-modal-nav { flex: 0 0 auto; position: static; }
@media (max-width: 767px) {
  .pao-v2-modal[open] { height: calc(100vh - 16px); height: calc(100dvh - 16px); }
}
/* ---------- Fenêtre du jour : boutons précédent / suivant bien visibles (12/10/2026) ---------- */
.pao-v2-modal-nav { justify-content: space-between; padding: 14px 16px 16px; }
.pao-v2-modal .pao-v2-modal-prev, .pao-v2-modal .pao-v2-modal-next { width: auto !important; height: 48px; min-width: 132px; padding: 0 18px !important; border-radius: 999px !important; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; line-height: 1; }
.pao-v2-modal .pao-v2-modal-prev span, .pao-v2-modal .pao-v2-modal-next span { font-size: 22px; line-height: 1; margin-top: -2px; }
.pao-v2-modal .pao-v2-modal-prev em, .pao-v2-modal .pao-v2-modal-next em { font-style: normal; }
.pao-v2-modal .pao-v2-modal-next { background-color: var(--v2-acc) !important; color: #fff !important; border-color: var(--v2-acc) !important; }
.pao-v2-modal .pao-v2-modal-next:hover:not(:disabled) { background-color: #B4613E !important; border-color: #B4613E !important; }
.pao-v2-modal .pao-v2-modal-prev:hover:not(:disabled) { border-color: var(--v2-green) !important; }
.pao-v2-modal-prev:disabled, .pao-v2-modal-next:disabled { opacity: .35; }
.pao-v2-modal-count { display: none; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .12em; color: var(--v2-muted); }
@media (max-width: 767px) {
  .pao-v2-modal-dots { display: none; }
  .pao-v2-modal-count { display: block; }
  .pao-v2-modal .pao-v2-modal-prev, .pao-v2-modal .pao-v2-modal-next { min-width: 0; height: 46px; padding: 0 14px !important; }
  .pao-v2-modal .pao-v2-modal-next { flex: 0 0 auto; }
}
/* ---------- Carte de l'itinéraire agrandie : fenêtre aux coins arrondis (12/10/2026) ---------- */
.pao-v2-lightbox { padding: 12px; border: 0; border-radius: 20px; background: #fff; max-width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: hidden; }
.pao-v2-lightbox::backdrop { background: rgba(26,46,34,.55); }
.pao-v2-lightbox img { display: block; max-width: 100%; max-height: calc(100vh - 56px); width: auto; height: auto; border-radius: 14px; }
.pao-v2-lightbox .pao-v2-lightbox-close { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border: 0 !important; border-radius: 50% !important; padding: 0 !important; background: rgba(26,46,34,.6) !important; background-image: none !important; box-shadow: none !important; color: #fff !important; font-size: 16px; cursor: pointer; }
.pao-v2-lightbox .pao-v2-lightbox-close:hover { background: #1A2E22 !important; }
@media (max-width: 767px) {
  .pao-v2-lightbox { padding: 8px; border-radius: 16px; max-width: calc(100vw - 16px); }
  .pao-v2-lightbox img { border-radius: 10px; }
}
/* ---------- Tuiles sous l'intro, mobile compact (12/10/2026) : icône à gauche, titre + texte à droite ---------- */
@media (max-width: 767px) {
  .pao-v2-ag5-grid { gap: 8px; }
  .pao-v2-ag5-t { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 14px; }
  .pao-v2-ag5-t i { grid-column: 1; grid-row: 1 / 3; margin: 0; width: 40px; height: 40px; align-self: center; }
  .pao-v2-ag5-t strong { grid-column: 2; margin-bottom: 2px; font-size: 14.5px; }
  .pao-v2-ag5-t span { grid-column: 2; font-size: 13px; line-height: 1.45; }
}
/* ---------- Textes rédigés justifiés (12/10/2026) : intro + texte des jours. Césure française pour éviter les trous sur mobile. ---------- */
.pao-v2-intro p, .pao-v2-modal-body p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 7 3 3; }
/* ---------- Bandeau de faits (repris de la V1, 12/10/2026) : colonne droite, sous la carte, au-dessus de la carte prix ---------- */
.pao-v2-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: #FBFCFA; border: 1px solid rgba(45,110,79,.16); border-radius: 20px; overflow: hidden; }
.pao-v2-fact { padding: 16px 18px; border-right: 1px solid rgba(45,110,79,.12); border-bottom: 1px solid rgba(45,110,79,.12); }
.pao-v2-fact:nth-child(2n), .pao-v2-fact-regions, .pao-v2-fact-full-m { border-right: 0; }
.pao-v2-fact:last-child { border-bottom: 0; }
.pao-v2-fact-label { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #5A9E78; }
.pao-v2-fact-label i { width: 7px; height: 7px; background: #C8704A; display: inline-block; border-radius: 50%; }
.pao-v2-fact-value { display: block; font-family: 'Sora', sans-serif; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.4; color: #1A2E22; }
.pao-v2-fact-regions, .pao-v2-fact-full-m { grid-column: 1 / -1; }
.pao-v2-fact-regions .pao-v2-fact-value { font-size: 14px; line-height: 1.5; }
.pao-v2-map-mobile .pao-v2-facts { margin-top: 12px; }
@media (max-width: 767px) {
  .pao-v2-fact { padding: 14px; }
  .pao-v2-facts { border-radius: 16px; }
}
/* Bandeau de faits : une information par ligne (4 lignes), demande du 12/10/2026 */
.pao-v2-facts { grid-template-columns: 1fr; }
.pao-v2-fact { border-right: 0; padding: 13px 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pao-v2-fact-label { margin-bottom: 0; flex: 0 0 auto; }
.pao-v2-fact-value { text-align: right; font-size: 15px; }
.pao-v2-fact-regions .pao-v2-fact-value { font-size: 13.5px; }
/* Bandeau de faits plus compact (12/10/2026) */
.pao-v2-facts { border-radius: 16px; }
.pao-v2-fact { padding: 8px 16px; gap: 12px; }
.pao-v2-fact-label { font-size: 9.5px; letter-spacing: .14em; }
.pao-v2-fact-value { font-size: 14px; line-height: 1.35; }
.pao-v2-fact-regions .pao-v2-fact-value { font-size: 13px; }
.pao-v2-side-map { gap: 16px !important; }
.pao-v2-map-mobile .pao-v2-facts { margin-top: 10px; }
/* Bandeau de faits encore plus resserré (12/10/2026) */
.pao-v2-fact { padding: 5px 14px; gap: 10px; }
.pao-v2-fact-label { font-size: 9px; letter-spacing: .12em; gap: 6px; }
.pao-v2-fact-label i { width: 6px; height: 6px; }
.pao-v2-fact-value { font-size: 13px; line-height: 1.3; }
.pao-v2-fact-regions .pao-v2-fact-value { font-size: 12.5px; }
.pao-v2-side-map { gap: 12px !important; }
/* ---------- 12/10/2026 : colonne droite fixe (plus de suivi au défilement) + détail du voyage en pleine largeur ---------- */
.pao-v2-side, .pao-v2-side.pao-v2-side-map { position: static; }
.pao-v2-side-map .pao-v2-card-desktop { position: static; }
.pao-v2-wrap { padding-bottom: 8px; }
.pao-v2-full { max-width: 1280px; margin: 0 auto; padding: 0 56px 104px; }
.pao-v2-full > section { margin-top: 48px; }
.pao-v2-full h2 { font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: -.02em; color: var(--v2-ink); font-size: clamp(1.35rem, 1.2rem + 0.7vw, 1.75rem); margin: 0 0 20px; }
.pao-v2-full .pao-v2-list { display: block; } /* une seule colonne (12/10/2026) */
.pao-v2-full .pao-v2-region { grid-column: 1 / -1; }
@media (max-width: 1024px) {
  .pao-v2-full { padding: 0 32px 72px; }
}
@media (max-width: 767px) {
  .pao-v2-full { padding: 0 20px 96px; }
  .pao-v2-full > section { margin-top: 32px; }
  .pao-v2-full .pao-v2-list { grid-template-columns: 1fr; }
}
/* Mobile et tablette : pas de carte prix sous le titre - le prix et les boutons sont dans la barre fixe en bas (12/10/2026) */
.pao-v2-card-mobile { display: none !important; }

/* Liste des jours : double chevron dans une pastille terracotta, plus visible (12/10/2026) */
.pao-v2-row-arrow { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #C8704A; color: #fff; font-size: 0; transition: transform .2s, background-color .2s; }
.pao-v2-row-arrow svg { width: 18px; height: 18px; display: block; }
.pao-v2-row:hover .pao-v2-row-arrow { background: #B4613E; transform: translateX(3px); }
@media (max-width: 767px) { .pao-v2-row-arrow { width: 34px; height: 34px; } .pao-v2-row-arrow svg { width: 16px; height: 16px; } }
/* Correctif 12/10/2026 : la règle .pao-v2-side.pao-v2-side-map (display:flex) écrasait le masquage de la colonne droite sur tablette/mobile */
@media (max-width: 1024px) {
  .pao-v2-side, .pao-v2-side.pao-v2-side-map { display: none !important; }
}

/* 12/10/2026 : le terracotta reste réservé aux CTA - chevrons de la liste des jours et bouton « Jour suivant » en vert */
.pao-v2-row-arrow { background: #2D6E4F; }
.pao-v2-row:hover .pao-v2-row-arrow { background: #1A2E22; }
.pao-v2-modal .pao-v2-modal-next { background-color: #2D6E4F !important; border-color: #2D6E4F !important; color: #fff !important; }
.pao-v2-modal .pao-v2-modal-next:hover:not(:disabled) { background-color: #1A2E22 !important; border-color: #1A2E22 !important; }
.pao-v2-modal .pao-v2-modal-dots button.is-on { background-color: #2D6E4F !important; }
/* Détail du voyage resserré (12/10/2026) : bloc centré sur 900 px, chevron rapproché du titre, lignes un peu moins hautes */
.pao-v2-full .pao-v2-jours { max-width: 980px; margin-left: 0; margin-right: auto; } /* aligné à gauche */
.pao-v2-row { grid-template-columns: 72px minmax(0, 1fr) 38px; gap: 18px; }
.pao-v2-row-img { width: 72px; height: 72px; }
.pao-v2-list .pao-v2-row, .pao-v2-list .pao-v2-row:hover, .pao-v2-list .pao-v2-row:focus { padding: 10px 12px 10px 0 !important; }
@media (max-width: 767px) {
  .pao-v2-row { grid-template-columns: 64px minmax(0, 1fr) 34px; gap: 12px; }
  .pao-v2-row-img { width: 64px; height: 64px; }
  .pao-v2-list .pao-v2-row, .pao-v2-list .pao-v2-row:hover, .pao-v2-list .pao-v2-row:focus { padding: 8px 4px 8px 0 !important; }
}
/* Détail du voyage (12/10/2026) : bloc aligné à gauche ; sous le titre, la liste et les boutons décalés de 10 px */
.pao-v2-full .pao-v2-list, .pao-v2-full .pao-v2-list-cta { padding-left: 18px; padding-right: 0; }
@media (max-width: 767px) {
  .pao-v2-full .pao-v2-list, .pao-v2-full .pao-v2-list-cta { padding-left: 0; padding-right: 0; }
}
/* Itinéraires proches en V2 (12/10/2026) : 6 sur ordinateur (2 lignes de 3), 3 sur mobile */
.pao-it-proches-grid { row-gap: 32px; }
@media (max-width: 767px) {
  .pao-it-proches-grid > .pao-it-carte:nth-child(n+4) { display: none; }
}

/* ---------- Essai 12/10/2026 : haut de page sans bandeau vert - versions A, B, C (?haut=a|b|c) ---------- */
/* A et B : photo large bord à bord sous le menu transparent, hauteur réduite */
.pao-v2-hero { position: relative; height: 58vh; min-height: 440px; max-height: 640px; overflow: hidden; background: #22452F; }
.pao-v2-hero > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pao-v2-hero::before, .pao-v2-gallery-bleed::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 220px; background: linear-gradient(180deg, rgba(26,46,34,.66) 0%, rgba(26,46,34,.28) 55%, rgba(26,46,34,0) 100%); pointer-events: none; z-index: 1; }
.pao-v2-hero > .pao-v2-credit { right: 56px; bottom: 16px; z-index: 2; }
/* B : titre sur la photo */
.pao-v2-hero-b { height: 64vh; min-height: 480px; max-height: 700px; }
.pao-v2-hero-b::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 70%; background: linear-gradient(0deg, rgba(26,46,34,.82) 0%, rgba(26,46,34,.45) 45%, rgba(26,46,34,0) 100%); pointer-events: none; z-index: 1; }
.pao-v2-hero-txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; }
.pao-v2-hero-shell { max-width: 1280px; margin: 0 auto; padding: 0 56px 40px; box-sizing: border-box; }
.pao-v2-hero .pao-v2-hero-txt .pao-v2-eyebrow { color: #E8B79E; margin-bottom: 14px; }
.pao-v2-hero .pao-v2-hero-txt h1 { font-family: 'Sora', sans-serif; font-weight: 600; letter-spacing: -.035em; line-height: 1.05; color: #FFFFFF; margin: 0; max-width: 940px; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.pao-v2-hero-txt .pao-v2-credit { position: static; display: block; margin-top: 16px; padding: 0; background: none; color: rgba(244,247,242,.78); }
.pao-v2-main > section:first-child { margin-top: 0; }
/* C : mosaïque bord à bord sous le menu transparent */
.pao-v2-gallery.pao-v2-gallery-bleed { max-width: none; padding: 0; gap: 3px; height: 60vh; min-height: 460px; max-height: 660px; background: #1A2E22; }
.pao-v2-gallery-bleed figure { border-radius: 0; }
.pao-v2-gallery-bleed .pao-v2-credit { left: 20px; right: auto; bottom: 14px; z-index: 2; }
@media (max-width: 1024px) {
  .pao-v2-hero { height: 50vh; min-height: 400px; }
  .pao-v2-hero > .pao-v2-credit { right: 32px; }
  .pao-v2-hero-b { height: 56vh; min-height: 440px; }
  .pao-v2-hero-shell { padding: 0 32px 32px; }
  .pao-v2-gallery.pao-v2-gallery-bleed { height: 50vh; min-height: 400px; }
}
@media (max-width: 767px) {
  .pao-v2-hero { height: 380px; min-height: 0; }
  .pao-v2-hero::before, .pao-v2-gallery-bleed::before { height: 160px; }
  .pao-v2-hero > .pao-v2-credit { right: 20px; bottom: 10px; max-width: calc(100% - 40px); }
  .pao-v2-hero-b { height: 460px; min-height: 0; }
  .pao-v2-hero-shell { padding: 0 20px 24px; }
  .pao-v2-gallery.pao-v2-gallery-bleed { height: 380px; min-height: 0; gap: 0; }
  .pao-v2-gallery-bleed .pao-v2-credit { max-width: calc(100% - 40px); }
}
/* ---------- 13/10/2026 : version B retenue (photo large, titre dessus) - lisibilité du texte sur la photo ---------- */
.pao-v2-hero-b::after { height: 75%; background: linear-gradient(0deg, rgba(26,46,34,.86) 0%, rgba(26,46,34,.6) 55%, rgba(26,46,34,0) 100%); }
.pao-v2-hero-txt .pao-v2-eyebrow, .pao-v2-hero-txt .pao-v2-credit { line-height: 1.6; }
@media (max-width: 767px) {
  /* mobile : le libellé des régions (3 lignes) sortait du dégradé - masqué, les régions restent dans le bandeau de faits */
  .pao-v2-hero-b { height: 420px; }
  .pao-v2-hero .pao-v2-hero-txt .pao-v2-eyebrow { display: none; }
}
/* ---------- 13/10/2026 : photo du haut plus haute (demande de Jérôme) ---------- */
.pao-v2-hero-b { height: 78vh; min-height: 560px; max-height: 860px; }
@media (max-width: 1024px) { .pao-v2-hero-b { height: 66vh; min-height: 500px; } }
@media (max-width: 767px) { .pao-v2-hero-b { height: 500px; min-height: 0; } }
/* ---------- 13/10/2026 : la barre fixe du bas n'apparaît qu'une fois la carte prix (bouton « Demander un devis ») sortie de l'écran, un peu après.
   Géré dans pao-itineraire-v2.js. Tablette et mobile : pas de carte prix, la barre reste visible. ---------- */
.pao-it-barre.is-off { transform: translateY(100%); opacity: 0; pointer-events: none; }
.pao-it-barre.pao-v2-barre-auto { transition: transform .3s ease, opacity .3s ease; }
@media (prefers-reduced-motion: reduce) { .pao-it-barre.pao-v2-barre-auto { transition: none; } }

/* ---------- 13/10/2026 : V3 et V4 - carte prix en tête de colonne droite, fixe (ne bouge plus) ;
   carte de l'itinéraire et faits dessous, qui défilent avec la page. ---------- */
.pao-v2-side.pao-v2-side-v3, .pao-v2-side.pao-v2-side-v4 { position: static; align-self: start; }
.pao-v2-side-v3 .pao-v2-card-desktop, .pao-v2-side-v4 .pao-v2-card-desktop { position: static !important; top: auto; }

/* ---------- V4 : carte interactive (système des guides) ---------- */
.pao-v4-map { background: #EEF3EE; }
.pao-v4-canvas { height: 380px; width: 100%; font-family: 'Sora', sans-serif; }
.pao-v2-map-mobile .pao-v4-canvas { height: 400px; }
@media (max-width: 767px) { .pao-v2-map-mobile .pao-v4-canvas { height: 340px; } }
.pao-v4-canvas.maplibregl-map:fullscreen, .pao-v4-canvas:fullscreen { height: 100%; }
.pao-v4-map .map-fail { display: flex; align-items: center; justify-content: center; height: 100%; padding: 24px; text-align: center; color: #4B5E53; font-size: 14px; }
.pao-v4-map .pm-wrap { width: 14px; height: 14px; cursor: pointer; }
.pao-v4-map .pm-wrap:focus { outline: none; }
.pao-v4-map .pm-wrap:focus-visible .pv4-st, .pao-v4-map .pm-wrap:focus-visible .pe { box-shadow: 0 0 0 3px rgba(200,112,74,.55); }
.pao-v4-map .pv4-st-wrap { width: 24px; height: 24px; }
.pao-v4-map .pv4-st { width: 24px; height: 24px; border-radius: 50%; background: #2D6E4F; border: 2px solid #fff; box-sizing: border-box; box-shadow: 0 1px 4px rgba(26,46,34,.35); color: #fff; font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; transition: background .15s; }
.pao-v4-map .pv4-st-wrap:hover .pv4-st { background: #1A2E22; }
.pao-v4-map .pe { width: 10px; height: 10px; margin: 2px; border-radius: 50%; background: #fff; border: 2.5px solid #5A9E78; box-sizing: border-box; transition: border-color .15s, background .15s; }
.pao-v4-map .pe-wrap:hover .pe { background: #5A9E78; }
.pao-v4-map .pl { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); white-space: nowrap; font-size: 11.5px; font-weight: 500; line-height: 1.15; color: #4A5A50; text-shadow: 0 0 3px #F4F7F2, 0 0 3px #F4F7F2, 0 0 2px #F4F7F2; pointer-events: none; }
.pao-v4-map .pl.me { left: 34px; font-size: 13px; font-weight: 700; color: #1A2E22; }
.pao-v4-map .pl small { display: block; font-size: 11px; font-weight: 500; color: #2D6E4F; }
.pao-v4-map .pl.l { left: auto; right: 24px; text-align: right; }
.pao-v4-map .pl.me.l { right: 34px; }
.pao-v4-map .pl.t { left: 50%; right: auto; top: auto; bottom: 18px; transform: translateX(-50%); text-align: center; }
.pao-v4-map .pl.b { left: 50%; right: auto; top: 18px; transform: translateX(-50%); text-align: center; }
.pao-v4-map .pl.me.t { bottom: 22px; }
.pao-v4-map .pl.me.b { top: 22px; }
.pao-v4-map .pl.x { visibility: hidden; }
.pao-v4-map .pm-wrap:hover { z-index: 3; }
.pao-v4-map .pm-wrap:hover .pl { color: #2D6E4F; }
.pao-v4-map .pm-wrap:hover .pl.x { visibility: visible; }
.pao-v4-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 14px; border-top: 1px solid rgba(45,110,79,.14); background: #fff; font-family: 'Sora', sans-serif; font-size: 12px; color: #4B5E53; }
.pao-v4-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pao-v4-legend i { display: inline-block; flex: none; }
.pao-v4-legend .st { width: 12px; height: 12px; border-radius: 50%; background: #2D6E4F; }
.pao-v4-legend .ex { width: 9px; height: 9px; border-radius: 50%; border: 2px solid #5A9E78; background: #fff; box-sizing: border-box; }
.pao-v4-legend .fl { width: 18px; height: 0; border-top: 2px dashed #2D6E4F; }
/* ---------- 13/10/2026 : V5 - comme la V4, mais le bloc carte + faits flotte (collant) sous la carte prix fixe ---------- */
.pao-v2-side.pao-v2-side-v5 { position: static; align-self: stretch; }
.pao-v2-side-v5 .pao-v2-card-desktop { position: static !important; }
.pao-v5-float { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 1025px) and (min-height: 700px) {
  .pao-v5-float { position: sticky; top: 24px; z-index: 2; }
}

/* V5 : le détail du voyage et Inclus passent dans la colonne principale, la colonne droite court à côté et le bloc carte + faits flotte */
.pao-v2-full.pao-v5-in { max-width: none; margin: 0; padding: 0; }
.pao-v2-full.pao-v5-in .pao-v2-list { padding-left: 0; }
@media (max-width: 1024px) { .pao-v2-full.pao-v5-in { padding: 0 0 72px; } }
@media (max-width: 767px) { .pao-v2-full.pao-v5-in { padding: 0 0 96px; } }

@media (min-width: 1025px) and (min-height: 700px) { .pao-v5-float { top: calc(24px + var(--wp-admin--admin-bar--height, 0px)); } }

/* 13/10/2026 : V5 - sur mobile, le texte d'intro (titre + paragraphes) est masqué (demande de Jérôme) */
@media (max-width: 767px) { .pao-v2-wrap:has(.pao-v2-side-v5) .pao-v2-intro { display: none; } }

/* 07/11/2026 : plus de 15 jours - compteur au lieu des points */
.pao-v2-modal.pao-v2-many-days .pao-v2-modal-dots { display: none !important; }
.pao-v2-modal.pao-v2-many-days .pao-v2-modal-count { display: block; }

/* 13/11/2026 : bouton Voir tous les itinéraires */
.pao-it-proches-tous { display: flex; justify-content: center; margin-top: 32px; }
.pao-it-proches-tous .pao-it-btn { width: auto; min-width: 260px; }

/* ---------- Contrôle mobile/tablette (30/11/2026) ---------- */
/* Liste des jours : les titres longs passent à la ligne (le kit impose nowrap aux <button>) */
.pao-v2-list .pao-v2-row { white-space: normal !important; }
.pao-v2-row-txt, .pao-v2-row-titre, .pao-v2-row-meta { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
/* Fenêtre du jour et intro : alignement à gauche sur mobile, sans césure */
@media (max-width: 767px) {
  .pao-v2-intro p, .pao-v2-modal-body p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
  .pao-v2-fact-label { font-size: 10.5px; letter-spacing: .1em; }
}
/* Étiquettes de la fiche un peu plus grandes */
.pao-v2-fact-label { font-size: 11px; }
/* Cartes « Autres idées » : la durée ne se coupe pas */
.itl-card__d { white-space: nowrap; }
/* Bouton consentement au-dessus de la barre de prix */
body.single-itineraire .cmplz-manage-consent { bottom: 90px !important; }