/* Ajustements téléphone (30/11/2026) : chargé en dernier par _Layout. */
@media (max-width: 640px) {
    /* Sous 16 px, iOS zoome sur le champ touché. */
    input[type="text"], input[type="search"], input[type="number"], input[type="email"], input[type="tel"],
    input[type="password"], input[type="date"], input:not([type]), select, textarea { font-size: 16px !important; }

    /* Cibles tactiles d'au moins 44 px. */
    .op-details { align-self: stretch !important; min-height: 44px !important; text-align: center; }
    .of-btn, .sk-btn, .cr-btn, .pb-btn { display: inline-flex !important; align-items: center; justify-content: center; min-height: 44px; }
    .cr-filters button, .of-filters button, .sk-filter button { min-height: 44px; }

    /* Barres de recherche et de filtres : deux colonnes, champ principal et bouton sur toute la largeur. */
    .op-bar { display: grid !important; grid-template-columns: 1fr 1fr; padding: 12px; }
    .op-bar[hidden] { display: none !important; }
    .op-bar label { min-width: 0; }
    .op-bar label:first-of-type, .op-bar button[type="submit"], .op-bar [data-count] { grid-column: 1 / -1; }
    .op-bar input, .op-bar select { width: 100%; min-width: 0 !important; min-height: 44px; }
    .op-bar button[type="submit"] { min-height: 48px; }
    .op-bar [data-count] { margin: 0; }
    .of-filters label, .of-filters select, .sk-filter label, .sk-filter select { width: 100%; min-width: 0 !important; }

    /* Bandeaux de titre plus compacts : le contenu apparaît plus tôt. */
    .of-hero, .sk-hero, .cr-hero, .lv-hero { padding-top: 24px !important; padding-bottom: 20px !important; margin-bottom: 18px !important; }

    /* Listes de liens (stations, destinations, agences) en deux colonnes. */
    .sk-chips li, .lv-chips li, .cr-chips li { flex: 1 1 calc(50% - 10px); min-width: 0; }
    .sk-chips a, .lv-chips a, .cr-chips a { height: 100%; overflow-wrap: anywhere; }

    .cr-search input, .cr-search button { width: 100%; }

    /* Accueil : chiffre au-dessus du texte (« Commission » écrasait la colonne de texte). */
    .hp-reassurance .hp-reassurance__item { flex-direction: column !important; text-align: center !important; gap: .25rem !important; }
    .hp-reassurance .hp-reassurance__figure { white-space: nowrap; }

    /* Fiches destination : titre long (« Visiter … : guide pratique et conseils ») sur trois lignes au plus. */
    .bl-page .bl-hero__title { font-size: 1.65rem !important; line-height: 1.2 !important; }

    /* Accueil : titre avec mots-clés, plus long que l'ancien slogan. */
    .home-2026 .hp-hero__title { font-size: 29px !important; line-height: 1.18 !important; }

    /* Tableaux de prix : les quatre colonnes tiennent à l'écran. */
    .sk-table th, .sk-table td { padding: 8px 5px !important; font-size: .86rem; }
    .sk-table thead th { font-size: .68rem !important; letter-spacing: 0 !important; }

    /* Filtres repliés derrière un bouton. */
    .op-bar.op-bar--closed { display: none !important; }
    .op-toggle { display: flex !important; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin: 0 0 12px;
                 padding: 12px 16px; border: 1px solid #cfe3e6; border-radius: 12px; background: #f2f7f8; color: #0E4E63; font-weight: 800; font-size: 1rem; cursor: pointer; }
}
.op-toggle { display: none; }
/* Tableau mois par mois : replié sur téléphone (voir _Insights). */
.of-month-d > summary { cursor: pointer; font-weight: 800; color: #0E4E63; padding: 10px 0; }
@media (min-width: 641px) { .of-month-d > summary { display: none; } }

/* Bouton « Afficher plus » des longues listes. */
.op-more { display: block; margin: 20px auto 0; min-height: 48px; padding: 12px 28px; border: 2px solid #069398; border-radius: 999px;
           background: #fff; color: #0E4E63; font-weight: 800; font-size: 1rem; cursor: pointer; }
.op-more[hidden] { display: none; }
