.social-links {
    transition: transform .2s;
}

.social-links:hover {
    transform: scale(1.1);
}

.social-links img {
    width: 122px;
    height: 92px;

}

.undermap {
    border-radius: 5px;
}

.undermap-card {
    border: 1px solid #d8e2e8;
    border-radius: 14px;
    background-color:white;
}

/* Home flight boards: a restrained operations-board treatment. */
.home-flight-board {
    --board-ink: #172b3a;
    --board-muted: #6f7f89;
    --board-line: #dfe7ec;
    --board-red: #d41221;
}

.home-operations-row .home-flight-board,
.home-operations-row #flight_board_wrapper,
.home-operations-row #flight_board_wrapper > div,
.home-operations-row #flight_board_wrapper > body,
.home-operations-row #flight_board_wrapper > body > div { height: 100%; }

.home-operations-row > [class*="col-"] { align-self: stretch; }
.home-operations-row > [class*="col-"] {
    display: flex;
}
.home-operations-row .home-flight-board,
.home-operations-row .home-departures-card {
    border: 1px solid #d8e2e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(23, 43, 58, .09) !important;
    overflow: hidden;
    width: 100%;
}

.home-operations-row .home-flight-board #flight_board_wrapper > div,
.home-operations-row .home-flight-board #flight_board_wrapper > body > div {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.home-operations-row .home-departures-column,
.home-operations-row > div:first-child { padding-left: 8px; padding-right: 8px; }
.home-operations-row { margin-left: -8px; margin-right: -8px; }

@media (min-width: 992px) {
    .home-operations-row .home-flight-board #vols { min-width: 760px; }
    .home-operations-row .home-flight-board #vols thead th { font-size: .58rem; padding: .66rem .42rem; }
    .home-operations-row .home-flight-board #vols tbody td { font-size: .7rem; padding: .55rem .42rem; }
    .home-operations-row .home-flight-board #vols .airline-column { min-width: 68px; }
    .home-operations-row .home-flight-board #vols .eta-cell { min-width: 92px; }
    .home-operations-row .home-flight-board .time-grid-item { font-size: .62rem; padding: 3px 5px !important; }
    .home-operations-row .home-flight-board .time-grid-item strong { font-size: .66rem; }
}

.home-flight-board #flight_board_wrapper > div,
.home-flight-board #flight_board_wrapper > body > div,
body.tfv-home #flight_board_wrapper div.p-1.mb-1 {
    background: #fff !important;
    border: 1px solid #d8e2e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 32px rgba(23, 43, 58, .09);
    overflow: hidden;
    padding: 0 !important;
}

.home-flight-board #flight_board_wrapper > div > .d-flex,
.home-flight-board #flight_board_wrapper > body > div > .d-flex,
body.tfv-home #flight_board_wrapper div.p-1.mb-1 > .d-flex:first-child {
    background: linear-gradient(120deg, #172b3a 0%, #243e50 100%);
    color: #fff;
    margin: 0 !important;
    min-height: 60px;
    padding: .55rem 1rem;
}

body.tfv-home #flight_board_wrapper div.p-1.mb-1 > .d-flex:first-child {
    border-radius: 13px 13px 0 0;
    position: relative;
}

body.tfv-home #flight_board_wrapper div.p-1.mb-1 > .d-flex:first-child::after {
    align-items: center;
    background: radial-gradient(circle at 10px 50%, #39d98a 0 3px, transparent 3.5px), rgba(255, 255, 255, .09);
    border-radius: 999px;
    color: #fff;
    content: 'LIVE';
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .61rem;
    font-weight: 800;
    gap: 5px;
    letter-spacing: .06em;
    padding: .3rem .55rem .3rem 1.05rem;
    text-transform: uppercase;
}

.home-flight-board #flight_board_wrapper > div > .d-flex h3,
.home-flight-board #flight_board_wrapper > body > div > .d-flex h3,
body.tfv-home #flight_board_wrapper div.p-1.mb-1 > .d-flex:first-child h3 {
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.home-flight-board .iconstrip {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-sizing: border-box;
    filter: none;
    height: 32px !important;
    margin-right: 10px !important;
    object-fit: contain;
    opacity: 1;
    padding: 0;
    content: url('/assets/img/tfv/icon/radaricon-transparent.png');
}

.home-flight-board .time-grid-container {
    color: rgba(255, 255, 255, .88) !important;
    display: grid !important;
    font-size: .72rem;
    gap: 4px 6px;
    grid-template-columns: repeat(4, auto) !important;
    grid-template-rows: 1fr !important;
    min-width: 0 !important;
}

.home-flight-board .time-info-block { color: #fff !important; }
.home-flight-board .time-grid-item {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 7px;
    color: rgba(255, 255, 255, .84) !important;
    display: flex;
    font-size: .68rem;
    min-height: 24px;
    padding: 3px 6px !important;
}
.home-flight-board .time-grid-item strong {
    background: transparent !important;
    color: #fff !important;
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
    margin: 0 3px;
}
.home-flight-board .time-grid-item .fa-clock { color: #ff5360 !important; }
.home-flight-board .row { margin: 0; }
.home-flight-board #flight_board_wrapper div.p-1.mb-1 > .row {
    background: #fff;
    padding: 8px;
}
.home-flight-board .row > .col-12 { padding: 0; }
.home-flight-board .row > .col-12 > div {
    background: #fff;
    border-radius: 0 !important;
    padding: 0;
}

.home-flight-board .card-header {
    background: linear-gradient(105deg, #ed1b2b 0%, #c90d1b 62%, #a90713 100%) !important;
    border: 0;
    color: #fff !important;
    padding: .8rem 1.1rem !important;
    border-radius: 5px 5px 0 0 !important;
}

.home-flight-board .card-header h4 {
    color: #fff;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-align: left !important;
    text-transform: uppercase;
}

.home-flight-board .card-header h4::before {
    background: rgba(255, 255, 255, .55);
    border-radius: 2px;
    content: '';
    display: inline-block;
    height: 14px;
    margin-right: 8px;
    vertical-align: -2px;
    width: 3px;
}

.home-flight-board .card-header .fa-paper-plane { color: rgba(255, 255, 255, .92); }
.home-flight-board .card { border: 1px solid #d7e1e7; border-radius: 0 0 5px 5px; margin: 0 !important; overflow: hidden; }
.home-flight-board .table-responsive { border: 0; border-radius: 0; box-shadow: none; }
.home-flight-board #vols { min-width: 900px; }

.home-flight-board #vols thead th {
    background: #f2f6f8 !important;
    border: 0 !important;
    border-bottom: 1px solid #d7e1e7 !important;
    color: #60727e;
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .075em;
    padding: .72rem .8rem;
}

.home-flight-board #vols tbody td {
    background: #fff;
    border: 0 !important;
    border-bottom: 1px solid #edf1f4 !important;
    color: #334956;
    font-size: .78rem;
    height: 58px;
    padding: .62rem .8rem;
}

.home-flight-board #vols tbody tr:last-child td { border-bottom: 0 !important; }
.home-flight-board #vols tbody tr:hover td { background: #f8fafb; }
.home-flight-board #vols tbody tr td:first-child { border-left: 3px solid transparent !important; }
.home-flight-board #vols tbody tr:hover td:first-child { border-left-color: var(--board-red) !important; }
.home-flight-board #vols tbody tr.recovery-row td:first-child,
.home-flight-board #vols tbody tr.recovery-flight-row td:first-child { border-left-color: #ef4444 !important; }

.home-flight-board #vols a.linkboard {
    color: var(--board-ink) !important;
    font-weight: 650;
    transition: color .15s ease;
}

.home-flight-board #vols a.linkboard:hover { color: var(--board-red) !important; }
.home-flight-board #vols td:nth-child(2) a { font-size: .82rem; font-weight: 800; letter-spacing: .02em; }
.home-flight-board #vols .airport-text { color: #172b3a; font-weight: 800; }
.home-flight-board #vols .sda-cell { color: #4d626f; font-weight: 700; }
.home-flight-board #vols .premium-restricted-text {
    background: #fff0f1;
    border: 1px solid #ffd5d9;
    border-radius: 999px;
    color: #b80d1a;
    display: inline-flex;
    font-size: .68rem;
    font-weight: 750;
    gap: 5px;
    padding: .25rem .55rem;
}

.home-departures-card {
    background: #fff;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
}

.home-departures-heading {
    background: linear-gradient(120deg, #243e50 0%, #172b3a 100%);
    color: #fff;
    min-height: 60px;
    padding: .55rem 1rem;
}

.home-departures-icon {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    display: inline-flex;
    font-size: .92rem;
    height: 32px;
    justify-content: center;
    margin-right: .7rem;
    width: 32px;
}
.home-departures-icon,
.home-departures-icon .fas,
.home-departures-icon svg { color: #ed1b2b !important; }

.home-departures-heading h3 { color: #fff; font-size: .98rem; font-weight: 800; letter-spacing: .025em; margin: 0; text-transform: uppercase; }
.home-live-indicator { align-items: center; background: rgba(255,255,255,.09); border-radius: 999px; color: #fff; display: inline-flex; font-size: .61rem; font-weight: 800; gap: 5px; letter-spacing: .06em; padding: .3rem .55rem; text-transform: uppercase; }
.home-live-indicator i { animation: home-live-pulse 1.8s infinite; background: #39d98a; border-radius: 50%; height: 6px; width: 6px; }
@keyframes home-live-pulse { 50% { box-shadow: 0 0 0 5px rgba(57,217,138,0); opacity: .65; } 0%, 100% { box-shadow: 0 0 0 0 rgba(57,217,138,.35); } }

.home-departures-table,
body.tfv-home .home-departures-table {
    background: #fff;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    padding: 0;
}
.home-departures-table > .m-2 {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.home-departures-table > .tfv-flight-widget__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    width: 100%;
}
.home-departures-table .tfv-flight-widget__table,
.home-departures-table .tfv-flight-widget__empty {
    flex: 1 1 auto;
}
.home-departures-table .card-header {
    background: linear-gradient(105deg, #ed1b2b 0%, #c90d1b 62%, #a90713 100%) !important;
    border-bottom: 0;
    padding: .8rem 1.1rem !important;
    border-radius: 5px 5px 0 0 !important;
}
.home-departures-table .card-header h5 {
    color: #fff !important;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-align: left;
    text-transform: uppercase;
}
.home-departures-table .card-header .fa-file-signature { display: none !important; }
.home-departures-table .card-header h5::after {
    color: rgba(255, 255, 255, .9);
    content: '\2630';
    float: right;
    font-family: Arial, sans-serif;
    font-size: .9rem;
    font-weight: 900;
}
.home-departures-table .card-body,
.home-departures-table .card-body.table-responsive {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}
.home-departures-table table.table thead th {
    background: #f2f6f8 !important;
    border-bottom: 1px solid #d7e1e7 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    color: #647782;
    font-size: .62rem;
    padding: .65rem .4rem;
}
.home-departures-table table.table tbody td {
    border-bottom: 1px solid #e3e9ed !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-top: 0 !important;
    font-size: .74rem;
    height: 52px;
    padding: .55rem .4rem;
}
.home-departures-table table.table tbody tr:last-child td { border-bottom: 0 !important; }
.home-departures-table table.table a { color: #172b3a; font-weight: 700; }
.home-departures-table table.table a:hover { color: #d41221; }

/* Shared, flat structure used by both flight widgets. */
.tfv-flight-widget { background: #fff; height: 100%; }
.tfv-flight-widget__top,
.home-departures-heading {
    align-items: center;
    background: linear-gradient(120deg, #172b3a 0%, #243e50 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    min-height: 60px;
    padding: .55rem 1rem;
    position: relative;
}
.tfv-flight-widget__identity { align-items: center; display: flex; }
.tfv-flight-widget--radar .tfv-flight-widget__top {
    background: linear-gradient(120deg, #243e50 0%, #172b3a 100%);
}
.tfv-flight-widget__identity h3 {
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: .025em;
    margin: 0;
    text-transform: uppercase;
}
.tfv-flight-widget__top::after {
    background: radial-gradient(circle at 10px 50%, #39d98a 0 3px, transparent 3.5px), rgba(255,255,255,.09);
    border-radius: 999px;
    color: #fff;
    content: 'LIVE';
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .06em;
    padding: .3rem .55rem .3rem 1.05rem;
}
.tfv-flight-widget__body {
    background: #fff;
    padding: 8px;
}
.tfv-flight-widget__section-title {
    background: linear-gradient(105deg, #ed1b2b 0%, #c90d1b 62%, #a90713 100%);
    border-radius: 5px 5px 0 0;
    color: #fff;
    min-height: 51px;
    padding: .8rem 1.1rem;
}
.tfv-flight-widget__section-title h4,
.tfv-flight-widget__section-title h5 {
    align-items: center;
    color: #fff !important;
    display: flex;
    font-size: .76rem;
    font-weight: 800;
    gap: 10px;
    justify-content: flex-start !important;
    letter-spacing: .075em;
    margin: 0;
    text-align: left !important;
    text-transform: uppercase;
}
.tfv-flight-widget__section-title h4 i,
.tfv-flight-widget__section-title h5 i,
.tfv-flight-widget__section-title h4 svg,
.tfv-flight-widget__section-title h5 svg {
    color: rgba(255, 255, 255, .95);
    flex: 0 0 auto;
    margin: 0;
}
.tfv-flight-widget__table,
body.tfv-home .tfv-flight-widget__table {
    background: #fff;
    border: 1px solid #d7e1e7 !important;
    border-radius: 0 0 5px 5px !important;
    box-shadow: none !important;
    margin: 0;
    overflow: auto;
    padding: 0;
}
.home-departures-table .tfv-flight-widget__body { min-height: calc(100% - 0px); }
.home-departures-table .tfv-flight-widget__section-title {
    background: linear-gradient(105deg, #a90713 0%, #c90d1b 38%, #ed1b2b 100%);
}
.home-departures-table .tfv-flight-widget__section-title .fa-list-ul { display: inline-block !important; }
.tfv-flight-widget__empty {
    align-items: center;
    color: #73838d;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    height: 100%;
    min-height: 0;
    padding: 1.5rem 1rem;
    text-align: center;
    width: 100%;
}
.tfv-flight-widget__empty .fa-plane,
.tfv-flight-widget__empty svg {
    color: #b9c4ca;
    font-size: 1.35rem;
}
.tfv-flight-widget__empty p {
    font-size: .76rem;
    font-weight: 700;
    margin: 0;
}

/* One typography scale for both operational tables. */
.home-operations-row .tfv-flight-widget__table table.table {
    font-size: .74rem !important;
}
.home-operations-row .tfv-flight-widget__table table.table thead th {
    font-size: .62rem !important;
    font-weight: 800 !important;
    letter-spacing: .065em !important;
    line-height: 1.25 !important;
}
.home-operations-row .tfv-flight-widget__table table.table tbody,
.home-operations-row .tfv-flight-widget__table table.table tbody td,
.home-operations-row .tfv-flight-widget__table table.table tbody a,
.home-operations-row .tfv-flight-widget__table table.table tbody span,
.home-operations-row .tfv-flight-widget__table table.table tbody div {
    font-size: .74rem !important;
    line-height: 1.35 !important;
}
.home-operations-row .tfv-flight-widget__table table.table tbody td:nth-child(2) a,
.home-departures-table .ab-alternating-flightno a {
    font-size: .76rem !important;
    font-weight: 800 !important;
}
.home-operations-row .tfv-flight-widget__table table.table .fas,
.home-operations-row .tfv-flight-widget__table table.table svg {
    font-size: .72rem !important;
}

@media (max-width: 767.98px) {
    .home-flight-board #flight_board_wrapper > div > .d-flex,
    .home-flight-board #flight_board_wrapper > body > div > .d-flex,
    body.tfv-home #flight_board_wrapper div.p-1.mb-1 > .d-flex:first-child { align-items: flex-start !important; padding: .8rem .9rem; }
    .home-flight-board .time-grid-container { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: auto !important; min-width: 0; width: 100%; }
    body.tfv-home #flight_board_wrapper div.p-1.mb-1 > .d-flex:first-child::after { position: absolute; right: .9rem; top: .9rem; }
    .home-flight-board #vols { min-width: 820px; }
    .home-flight-board #vols tbody td { height: 52px; }
}

.contenu {
    display: flex;
    flex-flow: column;
}

.underbloc {
    justify-content: center;
    margin-top: 35px;
    max-width: 100%;
}

.newest-pilots-table {
    border-collapse: collapse; /* Fusionne les bordures adjacentes */
    border: none; /* Supprime la bordure extérieure du tableau */
}

.newest-pilots-table td {
    border: none; /* Supprime les bordures des cellules */
    vertical-align: middle; /* Ensure vertical alignment for cell content */
    font-size: 1rem; /* Augmente la taille de la police, ajustez au besoin (ex: 16px, 1.1em) */
    /* text-align: center; will be inherited from parent .text-center */
}
.blocbtn {
    display: flex;
    justify-content: center;
    height: 70px;
    margin: auto;
}

#carousel .carousel-item {
    width: 100%;
    max-height: 650px; /* Bloque la hauteur pour ne pas envahir l'écran */
    transition-duration: 1.1s;
}

#carousel .carousel-item img {
    width: 100%; /* Force l'image à prendre toute la largeur */
    height: auto;
    max-height: 650px; /* Doit correspondre à la valeur au-dessus */
    object-fit: cover; /* Remplit l'espace sans déformer l'image */
}


.contentbord {
    margin: 50px;
}

.col-sm {
    flex-grow: 1;
    margin: auto;
    text-align: center;
}


.title {
    margin-right: 10px;
}

table {
    margin: auto;
}

.stats-banner {
    background: transparent;
    border-radius: 0;
    padding: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.stats-banner.tfv-stats-overlap {
    margin-top: -25px !important;
    position: relative;
    z-index: 6;
}

.stats-card-link {
    color: inherit;
    display: flex;
    flex: 1 1 180px;
    max-width: 250px;
    min-width: 150px;
    text-decoration: none !important;
}

.stats-card-link .counter-container { width: 100%; }

.stats-banner h5 {
    color: #263746;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .045em;
    line-height: 1.35;
    margin: .15rem 0 .38rem;
    text-transform: uppercase;
}

.stats-banner p {
    color: #d41221;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
}

.counter-container {
    align-items: flex-start !important;
    background: linear-gradient(145deg, #ffffff 0%, #f5f7f9 100%);
    border: 1px solid #d8e2ea;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(23, 43, 58, .075);
    flex: 1 1 180px;
    margin: 0;
    min-height: 108px;
    min-width: 150px;
    overflow: hidden;
    padding: 1rem 1.1rem 1rem 1.35rem;
    position: relative;
    text-align: center;
    max-width: 250px;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}

.counter-container::before {
    background: linear-gradient(108deg, #f12635, #d41221 48%, #8e0711);
    content: '';
    border-radius: 12px 0 0 12px;
    bottom: 0;
    height: auto;
    left: 0;
    position: absolute;
    top: 0;
    width: 5px;
}

.counter-container::after {
    color: #d41221;
    font-family: Arial, sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    opacity: .055;
    position: absolute;
    right: .65rem;
    top: 50%;
    transform: translateY(-50%);
    transition: opacity .22s ease, transform .22s ease;
}

.counter-pilots::after { content: '✦'; }
.counter-routes::after { content: '✈'; }
.counter-airlines::after { content: '▦'; }
.counter-hours::after { content: '◷'; }
.counter-pireps::after { content: '✓'; }

.counter-container h5,
.counter-container .counter { position: relative; z-index: 1; }

.counter-container:hover {
    background: linear-gradient(135deg, #f12635 0%, #d41221 50%, #920913 100%);
    border-color: #b80d18;
    box-shadow: 0 10px 23px rgba(150, 9, 19, .23);
    transform: translateY(-4px);
}

.counter-container:hover::after { color: #fff; opacity: .18; transform: translateY(-50%) scale(1.08); }
.counter-container:hover h5,
.counter-container:hover p,
.counter-container:hover .counter { color: #fff !important; }

.counter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: rollIn 1.5s forwards;
    color: #d41221;
    font-size: 1.45rem;
    font-weight: 800;
    transition: all 0.3s ease-in-out;
}

@keyframes rollIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Companies showcase modal, opened from the home-page statistic card. */
.companies-modal .modal-dialog { max-width: 1180px; }
.companies-modal .modal-content { background: #f4f7fa; border: 0; border-radius: 14px; box-shadow: 0 20px 60px rgba(23,43,58,.28); overflow: hidden; }
.companies-modal .modal-header { align-items: flex-start; background: linear-gradient(108deg, #f12635 0%, #d41221 48%, #8e0711 100%); border: 0; color: #fff; justify-content: space-between; padding: 1.35rem 1.5rem; position: relative; }
.companies-modal .modal-header::after { color: rgba(255,255,255,.12); content: '✈'; font-size: 7rem; line-height: 1; position: absolute; right: 5.5rem; top: -.9rem; transform: rotate(-14deg); }
.companies-modal .modal-header > * { position: relative; z-index: 1; }
.companies-modal-kicker { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .12em; margin-bottom: .2rem; text-transform: uppercase; }
.companies-modal h2 { color: #fff; font-size: 1.45rem; margin: 0; }
.companies-modal .modal-header p { font-size: .78rem; margin: .22rem 0 0; opacity: .9; }
.companies-modal-close { align-items: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.38); border-radius: 50%; color: #fff; display: flex; height: 34px; justify-content: center; transition: background .18s ease, color .18s ease; width: 34px; }
.companies-modal-close:hover { background: #fff; color: #a50b16; }
.companies-modal .modal-body { padding: 1rem; }
.companies-modal-grid { display: grid; gap: .72rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.companies-modal-card { background: #fff; border: 1px solid #dce5eb; border-radius: 9px; box-shadow: 0 3px 10px rgba(23,43,58,.05); color: #172b3a; display: block; min-height: 150px; overflow: hidden; padding: .7rem; position: relative; text-decoration: none !important; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.companies-modal-card::before { background: linear-gradient(108deg, #f12635, #8e0711); content: ''; height: 3px; left: 0; position: absolute; right: 0; top: 0; transform: scaleX(0); transform-origin: left; transition: transform .18s ease; }
.companies-modal-card:hover { border-color: #ce1521; box-shadow: 0 8px 17px rgba(23,43,58,.12); color: #172b3a; transform: translateY(-2px); }
.companies-modal-card:hover::before { transform: scaleX(1); }
.companies-modal-card-head { align-items: center; display: flex; justify-content: space-between; min-height: 36px; }
.companies-modal-logo { align-items: center; display: flex; height: 35px; max-width: 75%; }
.companies-modal-logo img { max-height: 32px; max-width: 135px; object-fit: contain; }
.companies-modal-logo strong { color: #a50b16; font-size: .95rem; }
.companies-modal-card-head > span { color: #87949d; font-size: .62rem; font-weight: 800; letter-spacing: .05em; }
.companies-modal-card h3 { color: #172b3a; font-size: .86rem; margin: .55rem 0 .45rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.companies-modal-fleet { border-top: 1px solid #e6ecef; padding-top: .42rem; }
.companies-modal-fleet small { color: #a50b16; display: block; font-size: .58rem; font-weight: 800; margin-bottom: .25rem; text-transform: uppercase; }
.companies-modal-fleet div { display: flex; flex-wrap: wrap; gap: .2rem; }
.companies-modal-fleet b { background: #f2f6f8; border: 1px solid #e0e8ed; border-radius: 3px; color: #405563; font-size: .6rem; padding: .1rem .25rem; }
.companies-modal-fleet em { color: #8c9aa4; font-size: .64rem; }
@media (max-width: 991.98px) { .companies-modal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

@media (max-width: 768px) {
    .stats-banner {
        justify-content: center;
        /* Centre les éléments sur les petits écrans */
    }

    .counter-container {
        flex: 1 0 100%;
        /* Sur petits écrans, chaque élément prend toute la largeur */
        margin: 10px 0;
    }

    .companies-modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Travel Flight campaign: existing navy, red and white brand palette. */
#carousel.tfv-campaign-slider { background: #102c43; }
#carousel.tfv-campaign-slider .carousel-item,
#carousel.tfv-campaign-slider .tfv-carousel-image { height: clamp(440px, 34.375vw, 660px); max-height: none; }
#carousel.tfv-campaign-slider .tfv-carousel-image { object-fit: cover; object-position: right top; transform: none; filter: none; }
#carousel.tfv-campaign-slider .carousel-item::after { background: linear-gradient(90deg, rgba(9,24,39,.62), rgba(9,24,39,.3) 44%, transparent 75%); }
/* Fill ultrawide displays while preserving the complete 1600:550 image. */
@media (min-width: 1920.01px) {
    #carousel.tfv-campaign-slider .carousel-item,
    #carousel.tfv-campaign-slider .tfv-carousel-image {
        height: 34.375vw;
    }
}

#carousel.tfv-campaign-slider .tfv-slide-content { left: max(5vw, calc((100vw - 1440px)/2)); max-width: min(620px, 46%); top: 50%; }
#carousel.tfv-campaign-slider .tfv-slide-eyebrow { font-size: .7rem; letter-spacing: .12em; margin-bottom: 1rem; }
#carousel.tfv-campaign-slider .tfv-slide-eyebrow::before { background: #d41221; }
#carousel.tfv-campaign-slider .tfv-slide-content h2 { font-size: clamp(2rem, 3.2vw, 3.25rem); line-height: 1.09; margin-bottom: 1rem; }
#carousel.tfv-campaign-slider .tfv-slide-content p { color: #e4ebf1; font-size: clamp(.82rem, 1.04vw, .98rem); line-height: 1.6; font-weight: 400; }
#carousel.tfv-campaign-slider .tfv-slide-premium-benefits { gap: .5rem 1rem; margin-top: 1rem; }
#carousel.tfv-campaign-slider .tfv-slide-premium-benefits span { font-size: .69rem; }
#carousel.tfv-campaign-slider .tfv-slide-premium-benefits i { color: #f65360; }
#carousel.tfv-campaign-slider .tfv-slide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1.1rem; }
#carousel.tfv-campaign-slider .tfv-slide-cta { background: #d41221; border: 1px solid #d41221; border-radius: 7px; font-size: .79rem; margin-top: 0; padding: .85rem 1.15rem; box-shadow: 0 6px 20px rgba(212,18,33,.25); }
#carousel.tfv-campaign-slider .tfv-slide-cta:hover { background: #b90d1b; border-color: #b90d1b; }
#carousel.tfv-campaign-slider .tfv-slide-compare { color: #fff; font-size: .74rem; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
#carousel.tfv-campaign-slider .tfv-slide-assurance { color: #dce5ed; display: block; font-size: .63rem; line-height: 1.5; margin-top: .8rem; }
#carousel.tfv-campaign-slider a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 991.98px) {
    #carousel.tfv-campaign-slider .tfv-slide-content { max-width: 57%; }
    #carousel.tfv-campaign-slider .tfv-slide-content h2 { font-size: 2.05rem; }
    #carousel.tfv-campaign-slider .tfv-slide-eyebrow { font-size: .61rem; }
}
@media (max-width: 575.98px) {
    #carousel.tfv-campaign-slider .carousel-item,
    #carousel.tfv-campaign-slider .tfv-carousel-image { height: 590px; }
    #carousel.tfv-campaign-slider .tfv-carousel-image { object-position: 75% top; height: 235px; }
    #carousel.tfv-campaign-slider .carousel-item::after { background: linear-gradient(180deg, transparent 16%, #102c43 41%, #102c43 100%); }
    #carousel.tfv-campaign-slider .tfv-slide-content { top: 209px; transform: none; left: 22px; right: 22px; max-width: none; }
    #carousel.tfv-campaign-slider .tfv-slide-eyebrow { font-size: .59rem; margin-bottom: .7rem; gap: .5rem; letter-spacing: .08em; }
    #carousel.tfv-campaign-slider .tfv-slide-eyebrow::before { width: 20px; flex: 0 0 20px; }
    #carousel.tfv-campaign-slider .tfv-slide-content h2 { font-size: 1.65rem; line-height: 1.14; margin-bottom: .75rem; }
    #carousel.tfv-campaign-slider .tfv-slide-content p { font-size: .76rem; line-height: 1.55; }
    #carousel.tfv-campaign-slider .tfv-slide-premium-benefits { gap: .4rem; margin-top: .75rem; }
    #carousel.tfv-campaign-slider .tfv-slide-premium-benefits span { font-size: .62rem; }
    #carousel.tfv-campaign-slider .tfv-slide-actions { gap: .6rem .8rem; margin-top: .8rem; }
    #carousel.tfv-campaign-slider .tfv-slide-cta { font-size: .74rem; padding: .78rem .95rem; }
    #carousel.tfv-campaign-slider .tfv-slide-compare { font-size: .67rem; }
    #carousel.tfv-campaign-slider .tfv-slide-assurance { font-size: .55rem; margin-top: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
    #carousel.tfv-campaign-slider .carousel-item { transition: none !important; }
    #carousel.tfv-campaign-slider * { animation: none !important; transition: none !important; }
}

/* Keep the complete top of each photo below the homepage navigation. */
body.tfv-home .top-navbar {
    position: relative;
    margin-bottom: 0;
    background: #fff !important;
}
body.tfv-home #top_anchor { height: 0 !important; }
body.tfv-home #carousel.tfv-fullwidth-slider { margin-top: 0; }

/* A gentle crossfade; Bootstrap still owns the active slide and automatic loop. */
#carousel.tfv-campaign-slider.carousel-fade .carousel-item {
    opacity: 0;
    transform: none !important;
    transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1) !important;
}
#carousel.tfv-campaign-slider.carousel-fade .carousel-item.active,
#carousel.tfv-campaign-slider.carousel-fade .carousel-item-next.carousel-item-left,
#carousel.tfv-campaign-slider.carousel-fade .carousel-item-prev.carousel-item-right,
#carousel.tfv-campaign-slider.carousel-fade .carousel-item-next.carousel-item-start,
#carousel.tfv-campaign-slider.carousel-fade .carousel-item-prev.carousel-item-end {
    z-index: 1;
    opacity: 1;
}
#carousel.tfv-campaign-slider.carousel-fade .active.carousel-item-left,
#carousel.tfv-campaign-slider.carousel-fade .active.carousel-item-right,
#carousel.tfv-campaign-slider.carousel-fade .active.carousel-item-start,
#carousel.tfv-campaign-slider.carousel-fade .active.carousel-item-end {
    z-index: 0;
    opacity: 0;
    transition: opacity 0s 1.8s !important;
}
@media (prefers-reduced-motion: reduce) {
    /* Keep the explicitly requested dissolve; spatial motion stays disabled. */
    body.tfv-home #carousel.tfv-campaign-slider.carousel-fade .carousel-item { transition: opacity 1.8s cubic-bezier(.4, 0, .2, 1) !important; }
    body.tfv-home #carousel.tfv-campaign-slider.carousel-fade .active.carousel-item-left,
    body.tfv-home #carousel.tfv-campaign-slider.carousel-fade .active.carousel-item-right,
    body.tfv-home #carousel.tfv-campaign-slider.carousel-fade .active.carousel-item-start,
    body.tfv-home #carousel.tfv-campaign-slider.carousel-fade .active.carousel-item-end { transition: opacity 0s 1.8s !important; }
}

/* Quiet photographic motion and a staggered editorial entrance. */
@keyframes tfv-campaign-photo {
    from { transform: scale(1.025); }
    to { transform: scale(1); }
}
@keyframes tfv-campaign-reveal {
    from { opacity: 0; transform: translate3d(0, 10px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: no-preference) {
    #carousel.tfv-campaign-slider .carousel-item { overflow: hidden; }
    #carousel.tfv-campaign-slider .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .tfv-carousel-image {
        animation: tfv-campaign-photo 17s cubic-bezier(.2, .55, .35, 1) both;
        transform-origin: 75% 50%;
    }
    #carousel.tfv-campaign-slider .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .tfv-slide-content > * {
        animation: tfv-campaign-reveal 1.8s cubic-bezier(.22, 1, .36, 1) both;
        animation-delay: .5s;
    }
    #carousel.tfv-campaign-slider .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .tfv-slide-content > h2 { animation-delay: .85s; }
    #carousel.tfv-campaign-slider .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .tfv-slide-content > p { animation-delay: 1.2s; }
    #carousel.tfv-campaign-slider .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .tfv-slide-premium-benefits { animation-delay: 1.45s; }
    #carousel.tfv-campaign-slider .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .tfv-slide-actions { animation-delay: 1.65s; }
    #carousel.tfv-campaign-slider .carousel-item:is(.active, .carousel-item-next, .carousel-item-prev) .tfv-slide-assurance { animation-delay: 1.85s; }
    #carousel.tfv-campaign-slider:focus-within .tfv-carousel-image { animation-play-state: paused !important; }
}
