<style>
/* =====================================================================
   MAGELLIO — MODULE DE RECHERCHE (redesign responsive façon Expedia/Airbnb)
   Les hooks JS (#depart, #arrivee, .searchAirport, .datepicker,
   .person-count-selector, .dropdown-content(.active), .counter,
   .finish-button, .child-age-selector, #validateDates...) sont conservés.
   ===================================================================== */

:root {
    --mag-primary: #1769e0;
    --mag-primary-dark: #0d52bd;
    --mag-primary-grad: linear-gradient(135deg, #2a8bf2 0%, #1769e0 55%, #0d52bd 100%);
    --mag-ink: #1c2b3a;
    --mag-muted: #6b7a90;
    --mag-line: #e4e9f0;
    --mag-line-strong: #d4dbe6;
    --mag-bg-soft: #f5f7fb;
    --mag-radius: 16px;
    --mag-radius-lg: 22px;
    --mag-field-h: 60px;
    --mag-shadow: 0 18px 50px -18px rgba(16, 41, 78, .28);
    --mag-shadow-soft: 0 8px 24px -10px rgba(16, 41, 78, .18);
}

/* ---------------------------------------------------------------------
   ONGLETS (Vol seul / Vol + Hôtel) — segmented control
   --------------------------------------------------------------------- */
.nav-tabs {
    border-bottom: none;
    gap: 6px;
    display: inline-flex;
    padding: 6px;
    background: var(--mag-bg-soft);
    border-radius: 999px;
    margin-bottom: 14px;
    position: relative;
    z-index: 3;
    box-shadow: var(--mag-shadow-soft);
}

/* Espacement cohérent entre les onglets (pilule) et la carte de recherche */
.tab-content .search-bar.mt-5 {
    margin-top: 0 !important;
}

.nav-tabs .nav-item {
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    border: none !important;
    border-radius: 999px;
    color: var(--mag-muted);
    font-size: 15px;
    font-weight: 600;
    padding: 10px 26px;
    line-height: 1;
    transition: all .2s ease;
    background: transparent;
}

.nav-tabs .nav-link:hover {
    color: var(--mag-primary);
    border: none !important;
    background: rgba(23, 105, 224, .08);
}

.nav-tabs .nav-link.active {
    color: #fff !important;
    background: var(--mag-primary-grad);
    border: none !important;
    box-shadow: 0 8px 18px -6px rgba(13, 82, 189, .55);
}

/* ---------------------------------------------------------------------
   LA CARTE DE RECHERCHE
   --------------------------------------------------------------------- */
/* On retire la zone grise d'arrière-plan : le moteur "flotte" sur fond blanc */
.bg-gray-100:has(.search-bar),
.bg-gray-100:has(.nav-tabs) {
    background-color: transparent !important;
}

.search-bar {
    background: #fff;
    border: 1px solid #eef1f6;
    border-radius: var(--mag-radius-lg);
    padding: 28px 22px 22px;
    box-shadow:
        0 1px 2px rgba(16, 41, 78, .06),
        0 12px 28px -10px rgba(16, 41, 78, .16),
        0 40px 80px -34px rgba(16, 41, 78, .26);
}

@media (min-width: 768px) {
    .search-bar {
        padding: 34px 28px 26px;
    }
}

/* ---------------------------------------------------------------------
   GRILLE DES CHAMPS
   --------------------------------------------------------------------- */
.mag-search {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.mag-field {
    position: relative;
    grid-column: span 6;
    display: flex;
    flex-direction: column;
}

.mag-field > label,
.mag-field .form-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--mag-muted);
    margin: 0 0 6px 4px;
}

/* Conteneur visuel d'un champ (icône + saisie) */
.mag-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: var(--mag-field-h);
    padding: 0 14px;
    background: #fff;
    border: 1.5px solid var(--mag-line-strong);
    border-radius: var(--mag-radius);
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.mag-control:hover {
    border-color: #b9c4d4;
}

.mag-control:focus-within {
    border-color: var(--mag-primary);
    box-shadow: 0 0 0 4px rgba(23, 105, 224, .14);
    background: #fff;
}

.mag-control > .mag-ico {
    flex: 0 0 auto;
    width: 20px;
    text-align: center;
    color: var(--mag-primary);
    font-size: 15px;
}

/* Inputs / selects internes : on neutralise le style Bootstrap d'origine */
.mag-control input,
.mag-control select,
.mag-control .mag-pax-text {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
    height: auto;
    font-size: 15px;
    font-weight: 600;
    color: var(--mag-ink);
    line-height: 1.2;
    appearance: none;
    -webkit-appearance: none;
}

.mag-control input::placeholder {
    color: #9aa7b8;
    font-weight: 500;
}

.mag-control select {
    cursor: pointer;
    padding-right: 18px;
}

/* Flèche custom pour les selects */
.mag-field--select .mag-control::after {
    content: "\f078"; /* chevron-down Font Awesome */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    font-size: 11px;
    color: var(--mag-muted);
    position: absolute;
    right: 16px;
    pointer-events: none;
}

/* ---------------------------------------------------------------------
   RÉPARTITION DES COLONNES (desktop)
   --------------------------------------------------------------------- */
@media (min-width: 768px) {
    .mag-field--from   { grid-column: span 3; }
    .mag-field--to     { grid-column: span 3; }
    .mag-field--dates  { grid-column: span 3; }
    .mag-field--class  { grid-column: span 3; }
    .mag-field--pax    { grid-column: span 3; }
    .mag-field--submit { grid-column: span 3; }
}

@media (min-width: 1100px) {
    .mag-field--from   { grid-column: span 2; }
    .mag-field--to     { grid-column: span 2; }
    .mag-field--dates  { grid-column: span 2; }
    .mag-field--class  { grid-column: span 2; }
    .mag-field--pax    { grid-column: span 2; }
    .mag-field--submit { grid-column: span 2; }
}

/* ---------------------------------------------------------------------
   BOUTON SWAP (inverser départ / destination)
   --------------------------------------------------------------------- */
.mag-field--from { z-index: 4; }

.btn-swap,
.mag-swap {
    position: absolute;
    right: -10px;
    bottom: 11px;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid var(--mag-line-strong);
    background: #fff;
    color: var(--mag-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    box-shadow: var(--mag-shadow-soft);
    transition: transform .25s ease, background .15s ease, color .15s ease;
}

.btn-swap:hover,
.mag-swap:hover {
    background: var(--mag-primary);
    color: #fff;
    border-color: var(--mag-primary);
    transform: rotate(180deg);
}

@media (max-width: 767.98px) {
    .mag-swap {
        right: 14px;
        bottom: -19px;
        transform: rotate(90deg);
    }
    .mag-swap:hover {
        transform: rotate(270deg);
    }
}

/* ---------------------------------------------------------------------
   SÉLECTEUR VOYAGEURS (dropdown)
   --------------------------------------------------------------------- */
.person-count-selector {
    position: relative;
}

.mag-pax-btn {
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mag-pax-btn .mag-pax-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.person-count-selector .dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: auto;
    min-width: 300px;
    width: max-content;
    max-width: 360px;
    background: #fff;
    border: 1px solid var(--mag-line);
    border-radius: var(--mag-radius);
    box-shadow: 0 24px 60px -20px rgba(16, 41, 78, .35);
    padding: 18px;
    z-index: 10000;
}

.person-count-selector .dropdown-content.active {
    display: block;
    animation: magPop .16s ease-out;
}

@keyframes magPop {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dropdown-content > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.dropdown-content label {
    font-size: 15px;
    font-weight: 600;
    color: var(--mag-ink);
    width: auto;
    margin: 0;
}

.dropdown-content .counter {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-content input[type="text"] {
    width: 44px;
    text-align: center;
    border: 1px solid var(--mag-line-strong);
    border-radius: 10px;
    margin: 0 4px;
    padding: 7px 0;
    font-weight: 700;
    color: var(--mag-ink);
}

.dropdown-content button {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--mag-primary);
    border-radius: 50%;
    background: #fff;
    color: var(--mag-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    transition: background .15s ease, color .15s ease;
}

.dropdown-content button:hover {
    background: var(--mag-primary);
    color: #fff;
}

.dropdown-content .children-age-selectors {
    display: block;
    margin-top: 4px;
}

.dropdown-content .children-age-selectors > div {
    justify-content: flex-start;
}

.child-age-selector {
    padding: 6px 10px;
    border: 1px solid var(--mag-line-strong);
    border-radius: 10px;
    font-size: 14px;
    color: var(--mag-ink);
}

.dropdown-content .finish-button {
    width: 100%;
    padding: 12px;
    text-align: center;
    border: none;
    border-radius: 12px;
    background: var(--mag-primary-grad);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
}

.dropdown-content .finish-button:hover {
    filter: brightness(1.05);
    color: #fff;
}

/* ---------------------------------------------------------------------
   BOUTON RECHERCHER
   --------------------------------------------------------------------- */
.mag-field--submit {
    justify-content: flex-end;
}

.mag-search-btn,
.search-bar .btn-primary {
    height: var(--mag-field-h);
    width: 100%;
    border: none;
    border-radius: var(--mag-radius);
    background: var(--mag-primary-grad);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 14px 28px -10px rgba(13, 82, 189, .6);
    transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

.mag-search-btn:hover,
.search-bar .btn-primary:hover {
    filter: brightness(1.05);
    box-shadow: 0 18px 34px -10px rgba(13, 82, 189, .7);
    transform: translateY(-1px);
    color: #fff;
}

.mag-search-btn:active,
.search-bar .btn-primary:active {
    transform: translateY(0);
}

.mag-search-btn i {
    font-size: 15px;
}

/* ---------------------------------------------------------------------
   TYPEAHEAD (autocomplétion aéroports) — scoping pour ne pas casser le menu
   --------------------------------------------------------------------- */
.mag-control .typeahead.dropdown-menu,
.mag-field .typeahead.dropdown-menu {
    width: calc(100% + 28px) !important;
    left: -14px !important;
    top: calc(100% + 6px) !important;
    margin-top: 0;
    border: 1px solid var(--mag-line);
    border-radius: var(--mag-radius);
    padding: 8px;
    box-shadow: 0 24px 60px -20px rgba(16, 41, 78, .35);
}

.typeahead.dropdown-menu > li > a {
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--mag-ink);
}

.typeahead.dropdown-menu > li > a:hover,
.typeahead.dropdown-menu > .active > a {
    background: rgba(23, 105, 224, .1);
    color: var(--mag-primary);
}

.typeahead .dropdown-menu .dropdown-item i,
.typeahead.dropdown-menu i {
    font-size: 14px;
    margin-right: 8px;
    vertical-align: middle;
    color: var(--mag-primary);
}

/* ---------------------------------------------------------------------
   MESSAGE D'ERREUR
   --------------------------------------------------------------------- */
#error-message {
    font-weight: 600;
}

/* ---------------------------------------------------------------------
   DIVERS (conservé de l'ancien fichier)
   --------------------------------------------------------------------- */
.center-vertically { display: flex; align-items: center; }
.hidden { display: none; }

.bg-primary-custom {
    background-color: var(--mag-primary) !important;
    color: #fff;
}

.breadcrumbs {
    padding: 0;
    margin: 0;
    list-style: none;
    background: none;
}

.breadcrumbs .breadcrumb-item {
    display: inline;
    font-size: 1rem;
    margin-right: 0.5rem;
}

.breadcrumbs .breadcrumb-item a {
    color: var(--mag-primary);
    text-decoration: none;
}

.breadcrumbs .breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    display: inline;
    margin: 0 0.5rem;
    color: #6c757d;
}

.breadcrumbs .breadcrumb-item:last-child {
    font-weight: bold;
    color: #000;
    margin-right: 0;
}

/* =====================================================================
   BLOCS SOUS LE MOTEUR — "Prix moyen des billets par pays" en cartes
   ===================================================================== */
.container:has(.country-link) > h2,
.container:has(.country-link) > h2:first-child {
    font-size: clamp(1.4rem, 2vw, 1.9rem);
    font-weight: 800;
    color: var(--mag-ink);
    letter-spacing: -.01em;
    margin: 8px 0 22px;
}

/* Chaque destination devient une carte cliquable */
.country-link {
    display: block !important;
    background: #fff;
    border: 1px solid var(--mag-line);
    border-radius: 14px;
    padding: 14px 16px !important;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px -8px rgba(16, 41, 78, .18);
    transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
}

.country-link:hover {
    background: #fff !important;
    transform: translateY(-2px);
    border-color: var(--mag-primary);
    box-shadow: 0 16px 30px -14px rgba(16, 41, 78, .3);
}

.country-link .d-flex {
    align-items: center;
    margin-bottom: 0;
}

.country-link .text-primary {
    color: var(--mag-ink) !important;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
}

.country-link .text-primary::before {
    content: "\f3c5"; /* map-marker / location-dot */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    font-size: 12px;
    color: var(--mag-primary);
    flex: 0 0 auto;
}

.country-link .text-danger {
    color: var(--mag-primary) !important;
    background: rgba(23, 105, 224, .10);
    font-weight: 700;
    font-size: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
    min-width: 0 !important;
    text-align: center !important;
    margin-left: 12px !important;
}

/* Boutons d'actions sous la liste : pills modernes alignées */
.container:has(.country-link) .row.mb-4 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.container:has(.country-link) .row.mb-4 > .row {
    margin: 0;
    width: auto;
    flex: 0 0 auto;
}

.container:has(.country-link) .row.mb-4 > .row > .text-left {
    padding: 0;
}

.container:has(.country-link) .btn-sm.btn-primary,
.container:has(.country-link) a.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #fff !important;
    color: var(--mag-primary) !important;
    border: 1.5px solid var(--mag-line-strong) !important;
    border-radius: 999px !important;
    padding: 11px 20px !important;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    box-shadow: 0 4px 14px -8px rgba(16, 41, 78, .18);
    transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.container:has(.country-link) .btn-sm.btn-primary:hover,
.container:has(.country-link) a.btn-primary:hover {
    background: var(--mag-primary-grad) !important;
    color: #fff !important;
    border-color: transparent !important;
    transform: translateY(-1px);
}

.container:has(.country-link) .btn-sm.btn-primary::after,
.container:has(.country-link) a.btn-primary::after {
    content: "\f061"; /* arrow-right */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    font-size: 11px;
}

/* =====================================================================
   COHÉRENCE MOBILE (pages hors vol Magellio) — gouttière 2px, pas de
   débordement horizontal (date picker, moteur legacy, etc.).
   Les pages vol utilisent body.magellio-vol-page (coque 6px) plus bas.
   ===================================================================== */
@media (max-width: 767.98px) {
    /* Garde-fou : aucun débordement horizontal au niveau de la page. */
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Conteneur de page unique : 2px de gouttière (hors pages vol Magellio). */
    body:not(.magellio-vol-page) .container,
    body:not(.magellio-vol-page) .container-fluid {
        max-width: 100% !important;
        padding-left: 2px !important;
        padding-right: 2px !important;
    }

    /* On neutralise les marges/paddings négatifs Bootstrap (row/col) qui,
       avec une gouttière de 2px, repousseraient le contenu hors écran. */
    body:not(.magellio-vol-page) .container > .row,
    body:not(.magellio-vol-page) .container-fluid > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    body:not(.magellio-vol-page) .container > .row > [class*="col"],
    body:not(.magellio-vol-page) .container-fluid > .row > [class*="col"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Le fil d'ariane s'aligne lui aussi sur la gouttière de 2px. */
    body:not(.magellio-vol-page) .breadcrumbs.ms-4 {
        margin-left: 0 !important;
    }

    /* La carte de recherche occupe toute la largeur dispo (bords à 2px),
       avec un padding intérieur réduit pour aérer les champs. */
    body:not(.magellio-vol-page) .search-bar {
        padding: 20px 14px 16px !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Moteur vol : neutralise aussi les .row/.col imbriqués (search-bar, etc.) */
    body:not(.magellio-vol-page) .container.bg-gray-100,
    body:not(.magellio-vol-page) .container.bg-gray-100 .search-bar,
    body:not(.magellio-vol-page) .container.bg-gray-100 .mag-search,
    body:not(.magellio-vol-page) .container.bg-gray-100 .nav-tabs {
        max-width: 100%;
        box-sizing: border-box;
    }

    body:not(.magellio-vol-page) .container.bg-gray-100 .row,
    body:not(.magellio-vol-page) .container.bg-gray-100 .search-bar .row,
    body:not(.magellio-vol-page) .search-bar .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body:not(.magellio-vol-page) .container.bg-gray-100 [class*="col-"],
    body:not(.magellio-vol-page) .container.bg-gray-100 .search-bar [class*="col-"],
    body:not(.magellio-vol-page) .search-bar [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body:not(.magellio-vol-page) .container.bg-gray-100 .nav-tabs {
        width: 100%;
        max-width: 100%;
    }
}

/* =====================================================================
   DATE RANGE PICKER (Longbill) — sur MOBILE : panneau qui prend toute la
   largeur du viewport (2px à gauche/droite) + calendrier étiré pleine
   largeur. On neutralise les styles inline (left/width) posés par la lib.
   ===================================================================== */
@media (max-width: 767.98px) {
    /* Le préfixe `html body` augmente la spécificité pour battre, quel que
       soit l'ordre de chargement, la règle concurrente de style.css
       (@media max-width:400px { .date-picker-wrapper { left:10px!important } }). */
    html body .date-picker-wrapper {
        position: fixed !important;
        left: 2px !important;
        right: 2px !important;
        width: auto !important;
        max-width: calc(100vw - 4px) !important;
        box-sizing: border-box !important;
        padding: 14px !important;
        border-radius: var(--mag-radius) !important;
        background-color: #fff !important;
        box-shadow: 0 24px 60px -18px rgba(16, 41, 78, .42) !important;
        overflow-x: hidden !important; /* garde-fou : rien ne déborde du panneau */
        transform: none !important;
        margin: 0 !important;
    }

    /* Le wrapper interne reçoit une largeur inline en px -> on force 100% */
    html body .date-picker-wrapper .month-wrapper {
        width: 100% !important;
        box-sizing: border-box !important;
        border: none !important;
        padding: 0 !important;
    }

    /* Tables (month1 + month2) empilées et étirées sur toute la largeur.
       table-layout:fixed => 7 colonnes strictement égales, jamais plus larges
       que le panneau. */
    html body .date-picker-wrapper .month-wrapper table,
    html body .date-picker-wrapper .month-wrapper table.month1,
    html body .date-picker-wrapper .month-wrapper table.month2 {
        width: 100% !important;
        float: none !important;
        table-layout: fixed !important;
    }

    /* La gouttière entre les deux mois ne doit pas ajouter de largeur. */
    html body .date-picker-wrapper .month-wrapper .gap {
        display: none !important;
        width: 0 !important;
    }

    /* Chaque jour occupe toute la largeur de sa cellule -> 7 colonnes égales */
    html body .date-picker-wrapper .month-wrapper table .day {
        width: 100% !important;
        height: 44px;
        margin: 0 auto 2px;
        font-size: 14px;
        border-radius: 0;
    }

    html body .date-picker-wrapper .month-wrapper table .week-name th {
        font-size: 11px;
        padding-bottom: 4px;
    }

    /* Barre d'en-tête (Dates de Voyage / nb jours) lisible et pleine largeur */
    html body .date-picker-wrapper .drp_top-bar {
        padding: 0 2px 8px;
    }

    /* Dropdown VOYAGEURS : ne déborde plus à droite, reste dans le champ. */
    .person-count-selector .dropdown-content {
        left: 0 !important;
        right: 0 !important;
        min-width: 0 !important;
        width: auto !important;
        max-width: calc(100vw - 4px) !important;
        box-sizing: border-box;
    }

    /* Autocomplétion aéroports : contrainte à la largeur de l'écran. */
    .mag-control .typeahead.dropdown-menu,
    .mag-field .typeahead.dropdown-menu {
        max-width: calc(100vw - 4px) !important;
        box-sizing: border-box;
    }
}

/* =====================================================================
   PAGES LANDING (vol, page secrète…) — gouttière mobile alignée promos
   ===================================================================== */
@media (max-width: 767.98px) {
    body.magellio-landing-page:not(.magellio-vol-page) {
        --landing-gutter: 6px;
    }

    body.magellio-landing-page:not(.magellio-vol-page) .header-absolute .container,
    body.magellio-landing-page:not(.magellio-vol-page) .home-slider.multi-slider .container,
    body.magellio-landing-page:not(.magellio-vol-page) .magellio-landing-intro {
        padding-left: var(--landing-gutter) !important;
        padding-right: var(--landing-gutter) !important;
    }
}

/* =====================================================================
   PAGES VOL (hub, pays, routes…) — coque unique alignée sur tout le flux :
   hero, fil d'Ariane, moteur, titres h2/h3, promos « meilleures offres ».
   Desktop : inset 30px. Mobile : inset 6px depuis le viewport.
   Padding interne carte moteur (.search-bar) : 4px mobile (séparé).
   ===================================================================== */
body.magellio-vol-page {
    --vol-page-inset: 30px;
    --vol-moteur-inner-x: 4px;
}

@media (max-width: 767.98px) {
    body.magellio-vol-page {
        --vol-page-inset: 6px;
    }
}

body.magellio-vol-page .header-absolute .container,
body.magellio-vol-page .home-slider.multi-slider .container,
body.magellio-vol-page .multi-slider .container,
body.magellio-vol-page .container,
body.magellio-vol-page .container-fluid {
    padding-left: var(--vol-page-inset) !important;
    padding-right: var(--vol-page-inset) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Conteneurs imbriqués : le parent fournit déjà l'inset — pas de double gouttière. */
body.magellio-vol-page .container .container,
body.magellio-vol-page .container-fluid .container,
body.magellio-vol-page .row > .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
}

/* Hero slider : texte aligné sur la coque (sans gutter Bootstrap row/col). */
body.magellio-vol-page .home-slider.multi-slider .container .row,
body.magellio-vol-page .multi-slider .container .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.magellio-vol-page .home-slider.multi-slider .container [class*="col-"],
body.magellio-vol-page .multi-slider .container [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 767.98px) {
    body.magellio-vol-page .search-bar {
        padding: 20px var(--vol-moteur-inner-x) 16px !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    body.magellio-vol-page .container.bg-gray-100 .search-bar,
    body.magellio-vol-page .container.bg-gray-100 .mag-search,
    body.magellio-vol-page .container.bg-gray-100 .nav-tabs {
        max-width: 100%;
        box-sizing: border-box;
    }

    body.magellio-vol-page .container.bg-gray-100 .row,
    body.magellio-vol-page .container.bg-gray-100 .search-bar .row,
    body.magellio-vol-page .search-bar .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body.magellio-vol-page .container.bg-gray-100 [class*="col-"],
    body.magellio-vol-page .container.bg-gray-100 .search-bar [class*="col-"],
    body.magellio-vol-page .search-bar [class*="col-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.magellio-vol-page .container.bg-gray-100 .nav-tabs {
        width: 100%;
        max-width: 100%;
    }

    html body.magellio-vol-page .date-picker-wrapper {
        left: var(--vol-page-inset) !important;
        right: var(--vol-page-inset) !important;
        max-width: calc(100vw - 2 * var(--vol-page-inset)) !important;
    }

    body.magellio-vol-page .person-count-selector .dropdown-content {
        max-width: calc(100vw - 2 * var(--vol-page-inset)) !important;
    }

    body.magellio-vol-page .mag-control .typeahead.dropdown-menu,
    body.magellio-vol-page .mag-field .typeahead.dropdown-menu {
        max-width: calc(100vw - 2 * var(--vol-page-inset)) !important;
    }
}

body.magellio-vol-page .vol-hub-editorial {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0;
}

body.magellio-vol-page .vol-hub-info-card {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    padding: 1.35rem 1.5rem 1.5rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}

body.magellio-vol-page .vol-hub-info-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.15rem;
}

body.magellio-vol-page .vol-hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

body.magellio-vol-page .vol-hub-pill i {
    color: #175cd3;
    font-size: 0.7rem;
}

body.magellio-vol-page .vol-hub-pill--live i {
    color: #16a34a;
    font-size: 0.45rem;
}

body.magellio-vol-page .vol-hub-info-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

body.magellio-vol-page .vol-hub-info-card__lead {
    font-size: 1.02rem;
    line-height: 1.6;
    color: #1e293b;
    margin: 0 0 0.65rem;
}

body.magellio-vol-page .vol-hub-info-card__text {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #64748b;
    margin: 0;
}

body.magellio-vol-page .vol-hub-od-ai-intro__content {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: #334155;
}

body.magellio-vol-page .vol-hub-od-ai-intro__content p {
    margin: 0 0 0.75rem;
}

body.magellio-vol-page .vol-hub-od-ai-intro__content p:last-child {
    margin-bottom: 0;
}

body.magellio-vol-page .vol-hub-od-ai-intro__content h2,
body.magellio-vol-page .vol-hub-od-ai-intro__content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
}

body.magellio-vol-page .vol-hub-guide-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.15rem;
    padding: 1.15rem 1.35rem;
    border-radius: 16px;
    border: 1px solid #dbeafe;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 55%, #eef6ff 100%);
    box-shadow: 0 10px 32px rgba(23, 92, 211, 0.1);
}

body.magellio-vol-page .vol-hub-guide-card__visual {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(145deg, #175cd3 0%, #0f4aa8 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(23, 92, 211, 0.28);
}

body.magellio-vol-page .vol-hub-guide-card__eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #175cd3;
}

body.magellio-vol-page .vol-hub-guide-card__title {
    margin: 0 0 0.35rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

body.magellio-vol-page .vol-hub-guide-card__desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #475569;
    max-width: 38rem;
}

body.magellio-vol-page .vol-hub-guide-card__cta {
    flex-shrink: 0;
}

body.magellio-vol-page .vol-hub-guide-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 46px;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    background: #175cd3;
    color: #fff !important;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 0;
    box-shadow: 0 8px 22px rgba(23, 92, 211, 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}

body.magellio-vol-page .vol-hub-guide-card__btn:hover {
    background: #1349a8;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(23, 92, 211, 0.38);
    color: #fff !important;
}

body.magellio-vol-page .vol-hub-guide-card__btn i {
    font-size: 0.8rem;
    transition: transform 0.18s ease;
}

body.magellio-vol-page .vol-hub-guide-card__btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 767.98px) {
    body.magellio-vol-page .vol-hub-info-card {
        padding: 1.1rem 1rem 1.2rem;
        border-radius: 14px;
    }

    body.magellio-vol-page .vol-hub-info-card__title {
        font-size: 1.15rem;
    }

    body.magellio-vol-page .vol-hub-guide-card {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icon body"
            "cta cta";
        gap: 0.85rem 1rem;
        padding: 1rem;
    }

    body.magellio-vol-page .vol-hub-guide-card__visual {
        grid-area: icon;
        width: 46px;
        height: 46px;
        font-size: 1.15rem;
    }

    body.magellio-vol-page .vol-hub-guide-card__body {
        grid-area: body;
    }

    body.magellio-vol-page .vol-hub-guide-card__cta {
        grid-area: cta;
        width: 100%;
    }

    body.magellio-vol-page .vol-hub-guide-card__btn {
        width: 100%;
    }
}

body.magellio-vol-page .vol-hub-editorial__guide {
    margin-bottom: 0;
}

body.magellio-vol-page .breadcrumbs.ms-4,
body.magellio-vol-page .breadcrumbs.ms-2 {
    margin-left: 0 !important;
}

body.magellio-vol-page .container > .row,
body.magellio-vol-page .container-fluid > .row,
body.magellio-vol-page .container .container > .row,
body.magellio-vol-page .row > .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.magellio-vol-page .container > .row > [class*="col"],
body.magellio-vol-page .container-fluid > .row > [class*="col"],
body.magellio-vol-page .container .container > .row > [class*="col"],
body.magellio-vol-page .row > .container > .row > [class*="col"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.magellio-vol-page .container .row.ms-1,
body.magellio-vol-page .row > .container .row.ms-1 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Intro vol (titre + texte IA) : aligné sur le container parent */
body.magellio-vol-page .magellio-vol-intro .subtitle,
body.magellio-vol-page .magellio-vol-intro .ai-description,
body.magellio-vol-page .magellio-vol-intro .ai-description p,
body.magellio-vol-page .magellio-vol-intro > p {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
}

body.magellio-vol-page .magellio-vol-intro .row,
body.magellio-vol-page .magellio-vol-intro .row.ms-1 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.magellio-vol-page .magellio-vol-intro [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Titres internes aux cards */
body.magellio-vol-page .card .card-body {
    padding: 1.15rem 1.15rem !important;
}

body.magellio-vol-page .card .card-body > .card-title,
body.magellio-vol-page .card .card-body > h5.card-title,
body.magellio-vol-page .card .card-body > p,
body.magellio-vol-page .card .card-body > .card-text {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
}

/* Grille promos vols — espacement type Booking / Expedia */
body.magellio-vol-page .vol-hub-section--promos {
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
}

body.magellio-vol-page .vol-hub-section__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.25rem;
    line-height: 1.35;
}

body.magellio-vol-page .vol-hub-section__subtitle {
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #64748b;
    margin: -0.65rem 0 1.25rem;
}

body.magellio-vol-page .vol-hub-promo-grid--destinations {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1199.98px) {
    body.magellio-vol-page .vol-hub-promo-grid--destinations {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    body.magellio-vol-page .vol-hub-promo-grid--destinations {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    body.magellio-vol-page .vol-hub-promo-grid--destinations {
        grid-template-columns: 1fr;
    }
}

body.magellio-vol-page .vol-hub-promo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

body.magellio-vol-page .vol-hub-deal-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.magellio-vol-page .vol-hub-deal-card:hover {
    transform: translateY(-3px);
    border-color: #dbeafe;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.11);
}

body.magellio-vol-page .vol-hub-deal-card__media {
    position: relative;
    display: block;
    height: 148px;
    overflow: hidden;
    text-decoration: none !important;
}

body.magellio-vol-page .vol-hub-deal-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

body.magellio-vol-page .vol-hub-deal-card:hover .vol-hub-deal-card__media img {
    transform: scale(1.04);
}

body.magellio-vol-page .vol-hub-deal-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 35%, rgba(15, 23, 42, 0.72) 100%);
    pointer-events: none;
}

body.magellio-vol-page .vol-hub-deal-card__route {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 1;
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    color: #0f172a;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

body.magellio-vol-page .vol-hub-deal-card__body {
    padding: 1rem 1.1rem 0.85rem;
    flex: 1;
}

body.magellio-vol-page .vol-hub-deal-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

body.magellio-vol-page .vol-hub-deal-pill {
    display: inline-block;
    padding: 0.28rem 0.55rem;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.2;
}

body.magellio-vol-page .vol-hub-deal-card__legs {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
}

body.magellio-vol-page .vol-hub-deal-leg {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.15rem 0.65rem;
    align-items: baseline;
}

body.magellio-vol-page .vol-hub-deal-leg__label {
    grid-column: 1;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #175cd3;
}

body.magellio-vol-page .vol-hub-deal-leg__time {
    grid-column: 2;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
}

body.magellio-vol-page .vol-hub-deal-leg__codes {
    grid-column: 2;
    font-size: 0.75rem;
    color: #64748b;
}

body.magellio-vol-page .vol-hub-deal-leg__date {
    grid-column: 2;
    font-size: 0.75rem;
    color: #94a3b8;
}

body.magellio-vol-page .vol-hub-deal-card__airline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    min-height: 28px;
}

body.magellio-vol-page .vol-hub-deal-card__airline-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 2px;
}

body.magellio-vol-page .vol-hub-deal-card__airline-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 0.35rem;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #334155;
}

body.magellio-vol-page .vol-hub-deal-card__airline-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #475569;
}

body.magellio-vol-page .vol-hub-deal-card__price-block {
    padding-top: 0.65rem;
    border-top: 1px solid #eef2f6;
}

body.magellio-vol-page .vol-hub-deal-card__price {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    color: #175cd3;
}

body.magellio-vol-page .vol-hub-deal-card__currency {
    font-size: 1.1rem;
    font-weight: 700;
}

body.magellio-vol-page .vol-hub-deal-card__price-note {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

body.magellio-vol-page .vol-hub-deal-card__actions {
    display: flex;
    gap: 0.55rem;
    padding: 0 1.1rem 1.1rem;
}

body.magellio-vol-page .vol-hub-deal-card__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.5rem 0.75rem;
    border-radius: 10px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none !important;
    border: 0;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

body.magellio-vol-page .vol-hub-deal-card__btn--ghost {
    background: #fff;
    color: #175cd3 !important;
    border: 1px solid #cbd5e1;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
}

body.magellio-vol-page .vol-hub-deal-card__btn--ghost:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #1349a8 !important;
}

body.magellio-vol-page .vol-hub-deal-card__btn--primary {
    background: #175cd3;
    color: #fff !important;
    box-shadow: 0 6px 18px rgba(23, 92, 211, 0.28);
}

body.magellio-vol-page .vol-hub-deal-card__btn--primary:hover {
    background: #1349a8;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(23, 92, 211, 0.34);
}

@media (max-width: 991.98px) {
    body.magellio-vol-page .vol-hub-promo-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    body.magellio-vol-page .vol-hub-deal-card__actions {
        flex-direction: column;
    }
}

/* Grille promos legacy (destination_ticket_box / ticket_box) */
body.magellio-vol-page .vol-promo-legacy__title,
body.magellio-vol-page .vol-promo-legacy > h2,
body.magellio-vol-page .container .container > h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1.25rem;
    line-height: 1.35;
}

body.magellio-vol-page .vol-promo-legacy-grid,
body.magellio-vol-page .vol-promo-legacy > .row,
body.magellio-vol-page .container .container > .row {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.magellio-vol-page .vol-promo-legacy__item,
body.magellio-vol-page .vol-promo-legacy-grid > [class*="col"],
body.magellio-vol-page .container .container > .row > [class*="col"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
}

body.magellio-vol-page .vol-promo-legacy__item > .card,
body.magellio-vol-page .vol-promo-legacy-grid .card,
body.magellio-vol-page .container .container .card {
    height: 100%;
    margin-bottom: 0;
    border-radius: 16px;
    border: 1px solid #e8edf3;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

body.magellio-vol-page .vol-promo-legacy__actions {
    margin-top: auto;
    padding: 0.75rem 1rem 1rem;
    border-top: 1px solid #e8edf3;
}

body.magellio-vol-page .vol-promo-legacy__item .card-body {
    flex: 1 1 auto;
}

@media (max-width: 991.98px) {
    body.magellio-vol-page .vol-promo-legacy-grid,
    body.magellio-vol-page .vol-promo-legacy > .row,
    body.magellio-vol-page .container .container > .row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Maillage interne destination (hôtels, voyages) */
body.magellio-vol-page .vol-od-crosslinks__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

body.magellio-vol-page .vol-od-crosslink-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.magellio-vol-page .vol-od-crosslink-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 10px 28px rgba(23, 92, 211, 0.12);
    transform: translateY(-1px);
    text-decoration: none;
    color: inherit;
}

body.magellio-vol-page .vol-od-crosslink-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
    color: #175cd3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

body.magellio-vol-page .vol-od-crosslink-card__eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #175cd3;
    margin-bottom: 0.15rem;
}

body.magellio-vol-page .vol-od-crosslink-card__title {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

body.magellio-vol-page .vol-od-crosslink-card__desc {
    display: block;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.45;
    margin-top: 0.15rem;
}

body.magellio-vol-page .vol-od-crosslink-card__arrow {
    color: #94a3b8;
    font-size: 0.85rem;
}

body.magellio-vol-page .vol-od-crosslink-card:hover .vol-od-crosslink-card__arrow {
    color: #175cd3;
}

@media (max-width: 991.98px) {
    body.magellio-vol-page .vol-od-crosslinks__grid {
        grid-template-columns: 1fr;
    }
}

/* Grille mois — hub vols par période */
body.magellio-vol-page .vol-hub-month-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

body.magellio-vol-page .vol-hub-month-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
    text-decoration: none !important;
    color: #0f172a;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    min-height: 100%;
}

body.magellio-vol-page .vol-hub-month-card:hover {
    transform: translateY(-3px);
    border-color: #dbeafe;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.11);
}

body.magellio-vol-page .vol-hub-month-card__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #175cd3 0%, #0ea5e9 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
}

body.magellio-vol-page .vol-hub-month-card__year {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #64748b;
    margin-bottom: 0.2rem;
}

body.magellio-vol-page .vol-hub-month-card__name {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.85rem;
}

body.magellio-vol-page .vol-hub-month-card__cta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #175cd3;
}

body.magellio-vol-page .vol-hub-month-card:hover .vol-hub-month-card__cta {
    color: #0f4fc9;
}

@media (max-width: 991.98px) {
    body.magellio-vol-page .vol-hub-month-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    body.magellio-vol-page .vol-hub-month-grid {
        grid-template-columns: 1fr;
    }
}

/* Maillage vols par mois — pages destination / pays / route */
body.magellio-vol-page .vol-hub-period-maillage .vol-hub-section__title {
    margin-bottom: 0.35rem;
}

body.magellio-vol-page .vol-hub-period-maillage .vol-hub-section__subtitle {
    margin-bottom: 0;
}

body.magellio-vol-page .vol-hub-period-maillage__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

body.magellio-vol-page .vol-hub-period-maillage__pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.magellio-vol-page .vol-hub-period-maillage__pill:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #175cd3;
}
</style>
