/* ==========================================================================
   Voyages Azur – Feuille de style
   Thème : le départ de Montréal-Trudeau (tableau des départs,
   cartes d'embarquement, jaune des panneaux d'aéroport)
   ========================================================================== */

:root {
    --nuit: #0B1F3A;
    --nuit-clair: #132B4F;
    --bleu: #1767D2;
    --bleu-fonce: #0F4FA8;
    --bleu-pale: #E7F0FC;
    --jaune: #FFC72C;
    --jaune-fonce: #F0B400;
    --fond: #F4F7FB;
    --blanc: #FFFFFF;
    --texte: #23344F;
    --gris: #5A6A82;
    --gris-clair: #C3D0E3;
    --ligne: #D5DEEA;
    --rouge: #D7263D;

    --police-titre: "Barlow Condensed", Arial, sans-serif;
    --police-texte: "Barlow", Arial, sans-serif;
}


/* ========== Base ========== */

* {
    box-sizing: border-box;
}

/* Cache le gabarit Vue tant que l'application n'est pas prête */
[v-cloak] {
    display: none;
}

body {
    margin: 0;
    font-family: var(--police-texte);
    font-size: 18px;
    line-height: 1.6;
    color: var(--texte);
    background: var(--fond);
}

h1, h2, h3 {
    margin: 0;
    font-family: var(--police-titre);
    font-weight: 700;
    line-height: 1.05;
    color: var(--nuit);
}

h1 { font-size: 72px; }
h2 { font-size: 36px; }
h3 { font-size: 24px; font-weight: 600; }

p {
    margin: 0;
}

a {
    color: var(--bleu);
}

img {
    display: block;
    max-width: 100%;
}

.conteneur {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.message {
    padding-top: 80px;
    padding-bottom: 80px;
    color: var(--gris);
}

.message--erreur {
    color: var(--rouge);
}

/* Contour visible quand on navigue au clavier (touche Tab) */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid var(--bleu);
    outline-offset: 3px;
}

/* Sur les fonds foncés, le contour est jaune pour rester visible */
.barre-info a:focus-visible,
.hero a:focus-visible,
.entete-page a:focus-visible,
.hero-photo a:focus-visible,
.aide a:focus-visible,
.pied a:focus-visible {
    outline-color: var(--jaune);
}

/* Barre de chargement en haut de l'écran */
.barre-chargement {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--jaune), transparent);
    background-size: 50% 100%;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.2s;
}

.barre-chargement.visible {
    opacity: 1;
    animation: defiler 1s linear infinite;
}

@keyframes defiler {
    from { background-position: -50% 0; }
    to { background-position: 150% 0; }
}

/* Image en fondu : invisible jusqu'à la fin de son téléchargement (classe ajoutée par @load) */
.img-fondu {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.img-fondu.chargee {
    opacity: 1;
}

/* Blocs « fantômes » affichés pendant le chargement, avec un reflet qui passe */
.fantome {
    border-radius: 14px;
    background: linear-gradient(90deg, #E6ECF4 25%, #F4F7FB 50%, #E6ECF4 75%);
    background-size: 200% 100%;
    animation: reflet 1.4s linear infinite;
}

.fantome--billet { height: 470px; }
.fantome--article { height: 260px; margin-bottom: 28px; }
.fantome--texte { height: 420px; }
.fantome--bandeau { height: 520px; border-radius: 0; }

@keyframes reflet {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}


/* ========== Boutons et liens ========== */

.bouton {
    display: inline-block;
    padding: 14px 24px;
    border: 2px solid transparent;
    border-radius: 4px;
    font-family: var(--police-titre);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
}

.bouton--jaune { background: var(--jaune); color: var(--nuit); }
.bouton--jaune:hover { background: var(--jaune-fonce); }

.bouton--contour { border-color: var(--gris-clair); color: var(--blanc); }
.bouton--contour:hover { border-color: var(--blanc); }

.bouton--nuit { background: var(--nuit); color: var(--blanc); }
.bouton--nuit:hover { background: var(--nuit-clair); }

.bouton--bleu { background: var(--bleu); color: var(--blanc); }
.bouton--bleu:hover { background: var(--bleu-fonce); }

.bouton--petit {
    padding: 10px 16px;
    font-size: 16px;
}

.lien {
    font-family: var(--police-titre);
    font-size: 18px;
    font-weight: 600;
    text-underline-offset: 5px;
}

.lien:hover {
    color: var(--bleu-fonce);
    text-decoration-thickness: 2px;
}

/* Lien étiré : il couvre tout son bloc parent (qui doit être en position: relative),
   pour qu'on puisse cliquer n'importe où sur une carte ou un article */
.lien-etire::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}


/* ========== Barre du haut ========== */

.barre-info {
    background: var(--nuit);
    color: var(--gris-clair);
    font-size: 14px;
}

.barre-info__interieur {
    display: flex;
    justify-content: space-between;
    padding-top: 9px;
    padding-bottom: 9px;
}

.barre-info a {
    color: var(--blanc);
    text-decoration: none;
}

.barre-info a:hover {
    text-decoration: underline;
}

.barre-info .separateur {
    margin: 0 10px;
    opacity: 0.4;
}

.langues span {
    margin-left: 16px;
}

.langues__active {
    color: var(--blanc);
    font-weight: 600;
}


/* ========== En-tête ========== */

.entete {
    position: sticky; /* reste visible au défilement */
    top: 0;
    z-index: 10;
    background: var(--blanc);
    border-bottom: 1px solid var(--ligne);
}

.entete__interieur {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--police-titre);
    font-size: 34px;
    font-weight: 700;
    color: var(--nuit);
    text-decoration: none;
}

/* Chaque lettre est une case du tableau des départs :
   le haut est le ciel, le bas la mer. */
.logo__cases span {
    position: relative;
    display: inline-block;
    width: 23px;
    height: 31px;
    margin-left: 2px;
    border-radius: 3px;
    background: linear-gradient(#1F5BB8 50%, #0B2E66 50%);
    font-size: 24px;
    font-weight: 700;
    line-height: 31px;
    color: var(--jaune);
    text-align: center;
}

.logo--blanc {
    color: var(--blanc);
}

.navigation ul {
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navigation a {
    display: block;
    padding: 25px 0 26px; /* 25 + 22 + 26 + 3 = 76px, la hauteur de l'en-tête */
    border-bottom: 3px solid transparent;
    font-family: var(--police-titre);
    font-size: 19px;
    line-height: 22px;
    font-weight: 500;
    color: var(--nuit);
    text-decoration: none;
}

.navigation a:hover,
.navigation a.actif {
    color: var(--bleu);
}

.navigation a.actif {
    border-bottom-color: var(--bleu);
}

.bouton-menu {
    display: none;
    padding: 10px 14px;
    border: 1px solid var(--ligne);
    border-radius: 4px;
    background: var(--blanc);
    font-family: var(--police-titre);
    font-size: 18px;
    font-weight: 600;
    color: var(--nuit);
    cursor: pointer;
}


/* ========== Sections ========== */

.section {
    padding: 96px 0;
}

.section--serree {
    padding-top: 40px;
}

.section--blanche {
    background: var(--blanc);
}

.section__tete {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.section__tete p {
    margin-top: 12px;
    color: var(--gris);
}

.entete-page {
    padding: 72px 0 56px;
    background: var(--nuit);
    color: var(--gris-clair);
}

.entete-page h1 {
    color: var(--blanc);
}

.entete-page p {
    margin-top: 16px;
    font-size: 21px;
}

.pastille {
    padding: 2px 10px;
    border: 1px solid var(--gris-clair);
    border-radius: 20px;
    font-size: 14px;
}


/* ========== Accueil : bandeau ========== */

.hero {
    padding: 80px 0 96px;
    background: var(--nuit);
    color: var(--gris-clair);
}

.hero__tete {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 64px;
    margin-bottom: 56px;
}

.hero h1 {
    font-size: 96px;
    line-height: 0.95;
    color: var(--blanc);
}

.hero__tete p {
    margin-bottom: 28px;
    font-size: 19px;
}

.hero .bouton {
    margin: 0 8px 8px 0;
}


/* ========== Accueil : tableau des départs ========== */

.tableau {
    padding: 24px;
    border: 1px solid #24406B;
    border-radius: 10px;
    background: var(--nuit-clair);
}

.tableau__tete {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.tableau h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--blanc);
}

.tableau__horloge {
    font-family: var(--police-titre);
    font-size: 24px;
    font-weight: 600;
    color: var(--jaune);
}

.tableau table {
    width: 100%;
    border-spacing: 0 6px;
    font-size: 26px; /* la taille des cases dépend de cette valeur (em) */
}

.tableau th {
    padding-right: 16px;
    font-family: var(--police-texte);
    font-size: 14px;
    font-weight: 500;
    color: #8FA6C8;
    text-align: left;
}

.tableau td {
    padding-right: 16px;
    white-space: nowrap;
}

.tableau a {
    text-decoration: none;
}

.tableau tr.cliquable {
    cursor: pointer;
}

/* Survol d'une rangée : ses cases s'éclairent */
.tableau tr.cliquable:hover .palette {
    background: linear-gradient(#2B4C80 48%, #0B1A33 48%, #0B1A33 52%, #25426F 52%);
}

/* Une case par lettre ; la ligne foncée au milieu imite la charnière */
.palette {
    display: inline-block;
    width: 0.8em;
    height: 1.35em;
    margin-right: 2px;
    border-radius: 2px;
    background: linear-gradient(#22406F 48%, #0B1A33 48%, #0B1A33 52%, #1D3761 52%);
    font-family: var(--police-titre);
    font-weight: 600;
    line-height: 1.35em;
    color: var(--jaune);
    text-align: center;
    vertical-align: top; /* garde les cases vides alignées */
}

/* Fente du milieu du logo : placée par-dessus le texte (::after),
   elle coupe la lettre comme sur un vrai tableau à palettes. */
.logo__cases span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    margin-top: -1px;
    background: #06142A;
}

.col-ville .palette {
    color: var(--blanc);
}

.col-vol .palette {
    color: var(--gris-clair);
}


/* ========== Cartes des destinations (billets) ========== */

.grille-billets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
}

.billet {
    position: relative; /* pour le lien étiré */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* coupe les encoches en demi-cercles */
    border: 1px solid var(--ligne);
    border-radius: 14px;
    background: var(--blanc);
    transition: border-color 0.2s;
}

.billet__image {
    position: relative;
    display: block;
    height: 220px;
    overflow: hidden; /* l'image agrandie au survol reste dans son cadre */
    background: var(--bleu-pale);
}

.billet__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.5s ease; /* zoom au survol + fondu */
}

/* Survol d'une carte : la photo se rapproche et l'avion avance vers sa destination */
.billet:hover {
    border-color: var(--bleu);
}

.billet:hover .billet__image img {
    transform: scale(1.05);
}

.billet:hover h3 a {
    text-decoration: underline;
}

.billet:hover .billet__trajet i {
    transform: translateX(5px);
}

.billet__etiquettes {
    position: absolute;
    top: 14px;
    left: 14px;
}

/* Badge en forme d'étiquette de bagage : le rond blanc est le trou de l'étiquette */
.etiquette {
    position: relative;
    display: inline-block;
    margin: 0 6px 6px 0;
    padding: 5px 12px 5px 22px;
    border-radius: 3px;
    background: var(--jaune);
    font-family: var(--police-titre);
    font-size: 15px;
    font-weight: 600;
    color: var(--nuit);
}

.etiquette::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8px;
    width: 7px;
    height: 7px;
    margin-top: -3.5px;
    border-radius: 50%;
    background: var(--blanc);
}

.billet__corps {
    flex: 1;
    padding: 22px 24px 20px;
}

.billet__continent {
    font-size: 15px;
    font-weight: 500;
    color: var(--bleu);
}

.billet h3 {
    margin-top: 6px;
    font-size: 36px;
    font-weight: 700;
}

.billet h3 a {
    color: inherit;
    text-decoration: none;
}

.billet h3 a {
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.billet__pays {
    color: var(--gris);
}

.billet__extrait {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.55;
}

/* Talon détachable : pointillés et deux encoches rondes */
.billet__talon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px 20px;
    border-top: 2px dashed var(--ligne);
}

.billet__talon::before,
.billet__talon::after {
    content: "";
    position: absolute;
    top: -12px;
    width: 22px;
    height: 22px;
    border: 1px solid var(--ligne);
    border-radius: 50%;
    background: var(--fond);
}

.billet__talon::before { left: -12px; }
.billet__talon::after { right: -12px; }

.section--blanche .billet__talon::before,
.section--blanche .billet__talon::after {
    background: var(--blanc);
}

.billet__trajet {
    font-family: var(--police-titre);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--nuit);
}

.billet__trajet i {
    margin: 0 6px;
    color: var(--bleu);
    transition: transform 0.3s ease;
}

/* Le bouton passe au-dessus du lien étiré pour garder son propre survol */
.billet__talon .bouton {
    position: relative;
    z-index: 2;
}

/* Recherche et filtre par continent (page Destinations) */
.barre-filtres {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.recherche {
    width: 340px;
    max-width: 100%;
    padding: 11px 16px;
    border: 1px solid var(--ligne);
    border-radius: 4px;
    background: var(--blanc);
    font-family: var(--police-texte);
    font-size: 17px;
    color: var(--texte);
}

.recherche:hover {
    border-color: #A9BBD3;
}

.recherche:focus {
    border-color: var(--bleu);
}

.aucun-resultat {
    padding: 32px 0 48px;
    color: var(--gris);
}

.aucun-resultat p {
    margin-bottom: 16px;
}

/* Carte Leaflet */
.carte-monde {
    height: 420px;
    margin-bottom: 24px;
    border: 1px solid var(--ligne);
    border-radius: 14px;
    background: #E3ECF7; /* la mer, en bleu azur très pâle */
    z-index: 0; /* garde la carte sous l'en-tête collant */
}

.carte-monde .leaflet-popup-content {
    font-family: var(--police-texte);
    font-size: 15px;
    line-height: 1.5;
}

.carte-monde .leaflet-popup-content strong {
    font-family: var(--police-titre);
    font-size: 20px;
    color: var(--nuit);
}

.etiquette-carte {
    font-family: var(--police-titre);
    font-size: 15px;
    font-weight: 600;
    color: var(--nuit);
}

.filtres button {
    margin: 0 0 6px 6px;
    padding: 8px 16px;
    border: 1px solid var(--ligne);
    border-radius: 4px;
    background: var(--blanc);
    font-family: var(--police-titre);
    font-size: 17px;
    font-weight: 500;
    color: var(--nuit);
    cursor: pointer;
}

.filtres button:hover {
    border-color: var(--bleu);
}

.filtres button.actif {
    border-color: var(--nuit);
    background: var(--nuit);
    color: var(--blanc);
}

.compteur {
    margin-bottom: 24px;
    color: var(--gris);
}

.compteur strong {
    font-family: var(--police-titre);
    font-size: 24px;
    color: var(--nuit);
}


/* ========== Accueil : étapes et appel à l'action ========== */

.etapes {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
}

/* Trajectoire pointillée derrière les numéros */
.etapes::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 28px;
    right: 28px;
    border-top: 2px dashed var(--ligne);
}

.etapes li {
    position: relative; /* passe devant la trajectoire */
}

.etapes__numero {
    display: block;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    border: 2px solid var(--bleu);
    border-radius: 50%;
    background: var(--blanc);
    font-family: var(--police-titre);
    font-size: 28px;
    font-weight: 700;
    line-height: 52px;
    color: var(--bleu);
    text-align: center;
}

.etapes h3 {
    margin-bottom: 8px;
}

.etapes p {
    color: var(--gris);
}

.appel {
    padding: 48px 0;
    background: var(--jaune);
}

.appel__interieur {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.appel p {
    margin-top: 8px;
    font-size: 19px;
    color: var(--nuit);
}


/* ========== Bandeau photo (destination, article) ========== */

.hero-photo {
    position: relative;
    height: 520px;
    background: var(--nuit);
}

.hero-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dégradé foncé pour que le texte blanc reste lisible sur la photo */
.hero-photo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(11, 31, 58, 0.92), rgba(11, 31, 58, 0.1));
}

.hero-photo__texte {
    position: absolute;
    bottom: 48px;
    left: 0;
    right: 0;
    z-index: 1;
}

.hero-photo h1 {
    font-size: 104px;
    line-height: 0.95;
    color: var(--blanc);
}

.hero-photo--article h1 {
    max-width: 900px;
    font-size: 56px;
    line-height: 1.05;
}

.hero-photo__lieu {
    margin-top: 14px;
    font-size: 21px;
    color: var(--blanc);
}

.hero-photo__lieu .pastille {
    margin-left: 8px;
}

.hero-photo__heure {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: 4px;
    background: var(--jaune);
    font-family: var(--police-titre);
    font-size: 18px;
    font-weight: 600;
    color: var(--nuit);
}

.retour {
    display: inline-block;
    margin-bottom: 20px;
    font-family: var(--police-titre);
    font-size: 17px;
    color: var(--blanc);
    text-decoration: none;
}

.retour:hover {
    text-decoration: underline;
}


/* ========== Contenu + colonne ========== */

.mise-en-page {
    display: grid;
    grid-template-columns: 1fr 360px;
    align-items: start;
    gap: 56px;
    padding-top: 72px;
    padding-bottom: 96px;
}

.colonne {
    position: sticky;
    top: 100px;
}

.lecture {
    max-width: 800px;
    padding-top: 72px;
    padding-bottom: 96px;
}

.lecture__fin {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--ligne);
}

/* Contenu HTML qui vient de WordPress */
.contenu-wp {
    max-width: 720px;
}

.contenu-wp h2 {
    margin: 48px 0 16px;
}

.contenu-wp > h2:first-child {
    margin-top: 0;
}

.contenu-wp p,
.contenu-wp ul {
    margin: 0 0 20px;
}

.contenu-wp img {
    height: auto;
    border-radius: 8px;
}

.contenu-wp blockquote {
    margin: 32px 0;
    padding-left: 20px;
    border-left: 4px solid var(--jaune);
    font-style: italic;
}


/* ========== Carte d'embarquement (infos pratiques) ========== */

.embarquement {
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--ligne);
    border-radius: 14px;
    background: var(--blanc);
}

.embarquement__tete {
    padding: 20px 24px;
    background: var(--bleu);
    color: var(--blanc);
}

.embarquement__tete h2 {
    font-size: 21px;
    font-weight: 600;
    color: var(--blanc);
}

.embarquement__trajet {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    font-size: 15px;
}

.embarquement__trajet p:last-child {
    text-align: right;
}

.embarquement__trajet strong {
    display: block;
    font-family: var(--police-titre);
    font-size: 44px;
    line-height: 1;
}

.embarquement__trajet i {
    font-size: 24px;
    color: var(--jaune);
}

.embarquement__infos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
    margin: 0;
    padding: 22px 24px;
}

.embarquement__infos dt {
    font-size: 14px;
    color: var(--gris);
}

.embarquement__infos dd {
    margin: 0;
    font-family: var(--police-titre);
    font-size: 19px;
    font-weight: 600;
    color: var(--nuit);
}

.embarquement__talon {
    padding: 16px 24px 18px;
    border-top: 2px dashed var(--ligne);
    font-size: 14px;
    color: var(--gris);
}


/* ========== Encadré foncé (Besoin d'aide, En bref) ========== */

.aide {
    padding: 28px 24px;
    border-radius: 14px;
    background: var(--nuit);
    color: var(--gris-clair);
}

.aide h2 {
    font-size: 28px;
    color: var(--blanc);
}

.aide p {
    margin: 8px 0 20px;
}

.aide .bouton {
    display: block;
}

.faits {
    margin: 20px 0 24px;
}

.faits div {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faits dd {
    margin: 0;
    font-family: var(--police-titre);
    font-size: 19px;
    font-weight: 600;
    color: var(--blanc);
}


/* ========== Blogue ========== */

.article-ligne {
    position: relative; /* pour le lien étiré */
    display: grid;
    grid-template-columns: 380px 1fr;
    margin-bottom: 28px;
    overflow: hidden;
    border: 1px solid var(--ligne);
    border-radius: 14px;
    background: var(--blanc);
    transition: border-color 0.2s;
}

.article-ligne__image {
    display: block;
    min-height: 260px;
    overflow: hidden; /* l'image agrandie au survol reste dans son cadre */
    background: var(--bleu-pale);
}

.article-ligne__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.5s ease; /* zoom au survol + fondu */
}

.article-ligne__texte {
    padding: 32px 36px;
}

.article-ligne h2 {
    margin: 8px 0 12px;
    font-size: 32px;
    line-height: 1.1;
}

.article-ligne h2 a {
    color: inherit;
    text-decoration: none;
}

/* Survol d'un article : même principe que les cartes */
.article-ligne:hover {
    border-color: var(--bleu);
}

.article-ligne:hover .article-ligne__image img {
    transform: scale(1.05);
}

.article-ligne:hover h2 a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.article-ligne .lien {
    position: relative;
    z-index: 2;
}

.article-ligne p {
    margin-bottom: 16px;
}

.date {
    font-size: 15px;
    color: var(--gris);
}


/* ========== Contact ========== */

.grille-contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.moyen {
    padding: 28px;
    border: 1px solid var(--ligne);
    border-radius: 14px;
    background: var(--blanc);
}

.moyen__icone {
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--bleu-pale);
    color: var(--bleu);
    font-size: 20px;
    line-height: 48px;
    text-align: center;
}

.moyen h2 {
    font-size: 24px;
    font-weight: 600;
}

.moyen__valeur {
    display: block;
    margin: 10px 0 4px;
    font-family: var(--police-titre);
    font-size: 21px;
    font-weight: 600;
    color: var(--nuit);
    text-decoration: none;
}

a.moyen__valeur:hover {
    color: var(--bleu);
    text-decoration: underline;
}

.moyen p {
    color: var(--gris);
}

.moyen p.moyen__valeur {
    color: var(--nuit);
}

.urgence {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    padding: 40px;
    border-radius: 14px;
    background: var(--jaune);
    color: var(--nuit);
}

.urgence p {
    margin-top: 8px;
}

.urgence__numero {
    text-align: right;
}

.urgence__numero a {
    font-family: var(--police-titre);
    font-size: 48px;
    font-weight: 700;
    color: var(--nuit);
    text-decoration: none;
}

.urgence__numero a:hover {
    text-decoration: underline;
}

.introuvable {
    padding-top: 96px;
    padding-bottom: 96px;
}

.introuvable p {
    margin: 16px 0 28px;
    color: var(--gris);
}


/* ========== Pied de page ========== */

.pied {
    background: var(--nuit);
    color: var(--gris-clair);
    font-size: 16px;
}

/* Liseré rouge et bleu des enveloppes « par avion » */
.pied::before {
    content: "";
    display: block;
    height: 6px;
    background: repeating-linear-gradient(-45deg, var(--rouge) 0 12px, var(--blanc) 12px 24px, var(--bleu) 24px 36px, var(--blanc) 36px 48px);
}

.pied__grille {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 48px;
}

.pied__grille p {
    max-width: 420px;
    margin: 18px 0 22px;
}

.pied h2 {
    margin-bottom: 18px;
    font-size: 21px;
    font-weight: 600;
    color: var(--blanc);
}

.pied ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pied li {
    margin-bottom: 10px;
}

.pied a {
    color: var(--gris-clair);
    text-decoration: none;
}

.pied a:hover {
    color: var(--blanc);
}

.pied__coord i {
    width: 20px;
    color: var(--jaune);
}

.reseaux a {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    line-height: 40px;
    text-align: center;
}

.reseaux a:hover {
    border-color: var(--jaune);
    color: var(--jaune);
}

.pied__bas {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
}


/* ========== Transition entre les pages (Vue Router) ========== */

.fade-slide-enter-active,
.fade-slide-leave-active {
    transition: all 0.3s ease;
}

.fade-slide-enter-from {
    opacity: 0;
    transform: translateX(20px);
}

.fade-slide-leave-to {
    opacity: 0;
    transform: translateX(-20px);
}


/* ==========================================================================
   Tablette
   ========================================================================== */

@media (max-width: 1024px) {
    .hero__tete,
    .mise-en-page {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero h1 {
        font-size: 80px;
    }

    .tableau table {
        font-size: 18px;
    }

    .grille-billets {
        grid-template-columns: repeat(2, 1fr);
    }

    .colonne {
        position: static;
    }

    .grille-contact {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 768px) {
    /* padding-left/right seulement, pour ne pas effacer le padding vertical des sections */
    .conteneur {
        padding-left: 20px;
        padding-right: 20px;
    }

    h1 { font-size: 52px; }
    h2 { font-size: 30px; }

    .langues {
        display: none;
    }

    /* Menu mobile : caché, puis affiché par le bouton « Menu » */
    .bouton-menu {
        display: block;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        padding: 0 20px 16px;
        background: var(--blanc);
        border-bottom: 1px solid var(--ligne);
    }

    .navigation.ouvert {
        display: block;
    }

    .navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .navigation a {
        padding: 14px 0;
        border-bottom: 1px solid var(--ligne);
        font-size: 22px;
    }

    .section {
        padding: 64px 0;
    }

    .section__tete,
    .appel__interieur,
    .urgence {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero {
        padding: 56px 0 64px;
    }

    .hero h1 {
        font-size: 56px;
    }

    /* Sur mobile, le tableau garde l'heure et la destination */
    .tableau {
        padding: 16px;
    }

    .tableau table {
        font-size: 17px;
    }

    .col-vol,
    .col-statut {
        display: none;
    }

    .filtres button {
        margin: 0 6px 6px 0;
    }

    .recherche {
        width: 100%;
    }

    .carte-monde {
        height: 320px;
    }

    .logo {
        font-size: 30px;
    }

    .grille-billets,
    .etapes,
    .article-ligne,
    .pied__grille {
        grid-template-columns: 1fr;
    }

    .etapes::before {
        display: none;
    }

    .hero-photo {
        height: 420px;
    }

    .hero-photo h1 {
        font-size: 64px;
    }

    .hero-photo--article h1 {
        font-size: 36px;
    }

    .article-ligne__image {
        height: 220px;
        min-height: 0;
    }

    .article-ligne__texte {
        padding: 24px;
    }

    .urgence {
        padding: 28px;
    }

    .urgence__numero {
        text-align: left;
    }

    .urgence__numero a {
        font-size: 36px;
    }

    .pied__bas {
        flex-direction: column;
        gap: 6px;
    }
}


/* Moins de mouvement si l'utilisateur l'a demandé dans son système */
@media (prefers-reduced-motion: reduce) {
    .fade-slide-enter-active,
    .fade-slide-leave-active {
        transition: none;
    }

    .fantome,
    .barre-chargement.visible {
        animation: none;
    }

    .billet__image img,
    .article-ligne__image img,
    .billet__trajet i,
    .img-fondu {
        transition: none;
    }
}
