/* Ajouts Selamat Voyage (jetons et composants de styles.css). */

/* Logo « Selamat Voyage » (icône + texte, image) : hauteur fixe, largeur selon le ratio réel du fichier */
.logo--selamat { width: 106px; height: 40px; object-fit: contain; }
.footer__logo .logo--selamat { width: 106px; height: 40px; }
@media (max-width: 599px) {
  .logo--selamat, .footer__logo .logo--selamat { width: 74px; height: 28px; }
}

/* Deux boutons côte à côte : questionnaire (principal) + WhatsApp (secondaire) */
.section__cta { gap: 12px; flex-wrap: wrap; }

/* Bulle WhatsApp flottante, aux couleurs du site */
.wa-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 50;
  width: 56px; height: 56px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: var(--on-primary);
  box-shadow: var(--shadow-e2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0px 2px 3px #0000004d, 0px 6px 10px 4px #00000026; }
.wa-fab:focus-visible { outline: 3px solid var(--secondary-container); outline-offset: 2px; }
@media (max-width: 599px) { .wa-fab { right: 16px; bottom: 16px; } }

/* Bandeau sous le formulaire intégré des pages pays : nos chiffres à la place des logos presse */
.lead__press--selamat { flex-wrap: wrap; justify-content: center; row-gap: 4px; font-size: 14px; line-height: 20px; font-weight: 500; }
.lead__press--selamat span { white-space: nowrap; }
@media (max-width: 599.98px) {
  .lead__press--selamat { gap: 4px 10px; font-size: 12px; padding-left: 12px; padding-right: 12px; }
  .lead__press--selamat .lead__vr { height: 16px; }
}

/* Fiches excursions : la bulle WhatsApp passe au-dessus de la barre de réservation collante */
body:has(.tsticky) .wa-fab { bottom: 96px; }
@media (max-width: 599px) { body:has(.tsticky) .wa-fab { bottom: 88px; } }

/* Page pays sans collage (pas encore de photos) : en-tête simple, titre et bouton centrés */
.chero--plain .chero__frame { height: auto; }
.chero--plain .chero__content { position: static; margin: 24px auto 56px; padding: 0 16px; }

/* Champs à compléter (mentions légales) : bien visibles tant qu'ils ne sont pas remplis */
mark.todo { background: #ffe8a3; color: inherit; padding: 0 4px; border-radius: 4px; }

/* Bandeau final des pages générales : nos deux collages portrait de l'accueil, un de chaque côté
   (le collage horizontal des pages pays devenait minuscule dans ce bandeau) */
.bband__art { justify-content: space-between; align-items: flex-end; padding: 0 16px; }
.bband__left { display: none; }
.bband__art::before, .bband__right { content: ""; display: block; flex-shrink: 0; width: 250px; height: 300px; margin: 0;
  background: url(/assets/img/selamat/collages/aventure-gauche-w480.webp) left bottom / contain no-repeat; }
.bband__right { background-image: url(/assets/img/selamat/collages/aventure-droite-w480.webp); background-position: right bottom; }
@media (max-width: 1279.98px) { .bband__art::before, .bband__right { width: 190px; height: 240px; } }
/* Bouton plein à l'intérieur d'un texte enrichi : garder le texte blanc */
.rich .btn--filled, .rich .btn--filled:visited { color: var(--on-primary); text-decoration: none; }
@media (max-width: 904.98px) { .bband__art { display: none; } }

/* Sans bandeau de note sous le collage : garder un espace avant la première section */
.main > .features:first-child { padding-top: 48px; }

/* Accueil : phrase d'envie qui change + deux grands boutons (questionnaire, WhatsApp) sous le titre et dans le bandeau */
.hero__search, .cta-band__search { width: auto; max-width: calc(100vw - 32px); }
.hcta { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.hcta__line { font-family: var(--font-serif); font-size: 28px; line-height: 1.3; text-align: center; }
.hcta__word { color: var(--primary); font-style: italic; transition: opacity .35s; }
.hcta__word.is-out { opacity: 0; }
/* hauteur réservée pour que la page ne bouge pas quand la phrase change de longueur */
@media (max-width: 904.98px) { .hcta__line { min-height: 2.6em; } }
.hcta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hcta__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 30px;
  border-radius: var(--radius-full); font-size: 17px; font-weight: 600; letter-spacing: .1px;
  transition: transform .2s cubic-bezier(.4, 0, .2, 1), box-shadow .2s, background-color .2s;
}
.hcta__btn:hover { transform: translateY(-2px); }
.hcta__btn:active { transform: translateY(0); }
.hcta__btn:focus-visible { outline: 3px solid var(--on-surface); outline-offset: 3px; }
.hcta__btn--plan { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(14, 124, 134, .32); }
.hcta__btn--plan:hover { background: #0a636b; box-shadow: 0 12px 28px rgba(14, 124, 134, .4); }
.hcta__btn--plan .hcta__icon { transition: transform .2s; }
.hcta__btn--plan:hover .hcta__icon { transform: translateX(4px); }
.hcta__btn--wa { background: #25d366; color: #073b1c; box-shadow: 0 8px 22px rgba(37, 211, 102, .38); }
.hcta__btn--wa:hover { background: #1fc05b; box-shadow: 0 12px 28px rgba(37, 211, 102, .45); }
.hcta__note { font-size: 14px; color: var(--on-surface-variant); text-align: center; }
@media (max-width: 599.98px) {
  .hcta { gap: 14px; width: 100%; }
  .hcta__line { font-size: 21px; min-height: 3.9em; }
  .hcta__btns { flex-direction: column; width: 100%; gap: 10px; }
  .hcta__btn { width: 100%; min-height: 54px; font-size: 16px; }
}
/* Bandeau du milieu : titre sur deux lignes pour qu'il tienne entre les deux photos de côté */
@media (min-width: 905px) {
  .cta-band__title { width: 640px; }
  .cta-band__content { gap: 28px; }
}

/* Questionnaire complet dans le bloc intégré d'origine (section .lead, finalize.py add_quiz) : mêmes dimensions que le
   formulaire d'origine ; seules les questions changent d'une étape à l'autre. */
.quiz { scroll-margin-top: 16px; padding-bottom: 8px; }
body:has(.subnav) .quiz { scroll-margin-top: 72px; }
.quiz .ee__body { display: block; min-height: 422px; padding: 28px 64px 24px; overflow: visible; }
.quiz .ee__step .ee__title { display: none; }
.quiz .lead__foot .ee__nav { display: flex; gap: 8px; }
.quiz .ee__nav .btn { flex: 1; }
.quiz #ee-back:disabled, .quiz #ee-back[hidden] { display: none; }
.quiz .lead__progress span { transition: width .3s ease; }
.quiz .lead__bg img { transition: opacity .4s ease; }
@media (max-width: 904px) {
  .quiz .ee__body { order: 0; padding: 24px 16px 16px; min-height: 0; }
}
@media (max-width: 599.98px) {
  .quiz .lead__proof span { white-space: normal; text-align: center; }
  .quiz .lead__press { font-size: 13px; }
  .quiz .lead__press > :nth-child(n+4) { display: none; }
}

/* Pied de page mobile : le modèle cachait toutes les colonnes de liens (qui sommes-nous, avis, FAQ, destinations) */
@media (max-width: 904.98px) {
  .footer__top { flex-wrap: wrap; row-gap: 32px; }
  .footer__about { flex: 1 1 100%; }
  .footer__top .footer__col--brand, .footer__top .footer__col--pays { display: flex; flex: 1 1 40%; gap: 16px; }
  .footer__top .footer__col .footer__links { gap: 12px; }
}

/* Étiquettes des cartes : le modèle mettait une majuscule à chaque mot (« Guide De Voyage ») ; en français, seule la première */
.pcard__cat { text-transform: none; }
.pcard__cat::first-letter { text-transform: uppercase; }

/* Cartes d'itinéraires : sans le bloc prix du modèle, la hauteur minimale laissait un grand vide en bas */
.tcard__body { flex: 1 0 auto; justify-content: flex-start; }

/* Fil d'Ariane mobile : la dernière étape était coupée net (« Cameron Higl ») ; on termine par des points de suspension */
@media (max-width: 599.98px) {
  .breadcrumb li:last-child > span:not(.breadcrumb__sep) { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}

/* Sommaire « Aperçu » des guides : le numéro ne passe plus à la ligne sur mobile */
.toc__body a span:first-child { flex-shrink: 0; white-space: nowrap; }

/* Questionnaire intégré : un peu d'air avec le bloc qui le précède */
.quiz { margin-top: 24px; }

/* Newsletter branchée sur Resend : champ piège invisible, case de consentement, message de retour */
.newsletter__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter__consent { display: flex; align-items: flex-start; gap: 8px; margin-top: -20px; font-size: 14px; line-height: 20px; color: var(--on-surface-variant); cursor: pointer; }
.newsletter__consent input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; accent-color: var(--primary); }
.newsletter__msg:empty { display: none; }
.newsletter__msg { margin-top: -24px; font-size: 14px; line-height: 20px; font-weight: 500; }
.newsletter__msg--ok { color: var(--primary); }
.newsletter__msg--error { color: #b3261e; }

/* Questionnaire, dernier écran : numéro WhatsApp (obligatoire) et e-mail (facultatif) pour enregistrer la demande */
.ee-contact { display: flex; flex-direction: column; gap: 12px; width: 100%; margin: 4px 0 8px; text-align: left; }
.ee-contact__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.ee-contact__field em { font-style: normal; font-weight: 400; color: var(--on-surface-variant); }
.ee-contact__field input { height: 48px; padding: 0 14px; border: 1px solid var(--outline); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; font-weight: 400; }
.ee-contact__field input:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }

/* Cartes du carrousel « expériences » : liens vers les fiches excursions */
a.exp-card { display: block; color: inherit; text-decoration: none; cursor: pointer; }
a.exp-card img { transition: filter .25s; }
a.exp-card:hover img, a.exp-card:focus-visible img { filter: brightness(1.08); }
a.exp-card:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 12px; }

/* Boutons placés dans un texte enrichi (ex. page 404) : pas de soulignement de lien */
.rich .btn { text-decoration: none; }

/* --- Responsivité (vérification du 13/11/2026) --- */
/* étiquettes des fiches excursions : un mot composé (« Jet-ski ») ne doit pas se couper sur deux lignes */
.ttag { white-space: nowrap; }
/* petits textes portés à 12 px minimum (lisibilité sur mobile) */
.exp-card__who { font-size: 12px; }
@media (max-width: 904.98px) { .tile__label { font-size: 12px; } }
/* newsletter sur petit écran : champ e-mail et bouton l'un sous l'autre, le champ n'est plus tronqué */
@media (max-width: 599.98px) {
  .search--newsletter { flex-wrap: wrap; height: auto; padding: 8px; border-radius: 24px; gap: 8px; }
  .search--newsletter .search__prefix { min-height: 48px; padding-left: 8px; }
  .search--newsletter .search__input { flex: 1 1 calc(100% - 48px); height: 48px; }
  .search--newsletter .search__suffix { flex: 1 1 100%; min-height: 0; }
  .search--newsletter .search__suffix .btn { width: 100%; }
}

/* Sélecteur de langue (pied de page) : remplace l'ancien bouton « France » */
.langs { position: relative; }
.langs > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary::after { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 5px solid currentColor; }
.langs__globe { font-size: 16px; line-height: 1; }
.langs__menu { position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 40; display: grid; grid-template-columns: repeat(2, minmax(110px, 1fr));
  gap: 2px 12px; padding: 12px; background: var(--surface); border: 1px solid var(--outline-variant); border-radius: 12px; box-shadow: var(--shadow-e2); }
.langs__menu a { padding: 6px 8px; border-radius: 8px; color: var(--on-surface); text-decoration: none; white-space: nowrap; }
.langs__menu a:hover { background: var(--surface-container); }
.langs__menu a[aria-current] { color: var(--primary); font-weight: 600; }
