/* =============================================================
   Global frontend — Muriel Lenégaret
   Tokens design + overrides minimaux pour cohérence sur TOUTES les
   pages (chargé sans condition depuis hello-elementor-child/functions.php).
   ============================================================= */

:root {
    --ml-primary: #B72854;
    --ml-primary-hover: #9a1f47;
    --ml-primary-light: #FBE9EE;
    --ml-navy: #012D43;
    --ml-navy-hover: #021f2e;
    --ml-cream: #FAF7F4;
    --ml-line: #E8E1D9;
}

/* ---------- Titres : Jost + navy partout ----------
   Override des styles inline d'Elementor pour cohérence H1/H2 sur les
   12 pages du site (audit a relevé du Cormorant sur Single Post,
   du rose pastel sur Accueil, etc.). */

body h1,
body h1.elementor-heading-title,
body .elementor-widget-theme-post-title h1,
body .elementor-widget-theme-archive-title h1 {
    font-family: "Jost", sans-serif !important;
    color: var(--ml-navy) !important;
    font-weight: 600;
}

body h2.elementor-heading-title {
    font-family: "Jost", sans-serif;
    color: var(--ml-navy);
}

/* ---------- Boutons ----------
   Le site a déjà un style cohérent (mauve plein 30px + variant navy). On
   garantit une couleur valide en fallback, on ajoute touch target 48px,
   et un micro-hover. Les variantes opt-in (.ml-btn-secondary / -ghost)
   sont disponibles via le champ "CSS Classes" du widget Button. */

body .elementor-button {
    transition: background-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
body a.elementor-button:hover,
body button.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(1, 45, 67, 0.12);
}

body .elementor-button.ml-btn-secondary {
    background-color: var(--ml-navy) !important;
    color: #ffffff !important;
}
body .elementor-button.ml-btn-secondary:hover {
    background-color: var(--ml-navy-hover) !important;
}

body .elementor-button.ml-btn-ghost {
    background-color: transparent !important;
    color: var(--ml-primary) !important;
    border: 1.5px solid var(--ml-primary);
}
body .elementor-button.ml-btn-ghost:hover {
    background-color: var(--ml-primary-light) !important;
}

/* ---------- Breadcrumbs ---------- */

.ml-breadcrumbs {
    font-family: "Jost", sans-serif;
    font-size: 15px;
    color: var(--ml-navy);
    opacity: 0.75;
    text-align: center;
    margin: 0 auto 16px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}
.ml-breadcrumbs a {
    display: inline-block;
    padding: 5px 0;
    color: var(--ml-primary);
    text-decoration: none;
}
.ml-breadcrumbs a:hover {
    text-decoration: underline;
}
.ml-breadcrumbs__sep {
    margin: 0 6px;
    opacity: 0.5;
}
.ml-breadcrumbs [aria-current="page"] {
    color: var(--ml-navy);
    font-weight: 500;
}

/* =============================================================
   Conversion et accessibilité (octobre 2026)
   Source : _drafts/2026-10-seo-local-ux/
   ============================================================= */

:root {
    --ml-text: #1E2B33;
    --ml-muted: #55626A;
}

/* ---------- Rendu différé de FlyingPress : pas de largeur réservée ----------
   FlyingPress pose « content-visibility: auto; contain-intrinsic-size: auto Npx » sur des
   éléments hors écran. Une seule longueur vaut pour la hauteur et la largeur : sur un
   élément flexible (filet d'une ligne de tarif), la largeur réservée élargissait la page
   de 10 000 px sur mobile. On ne garde que la hauteur réservée. Le mot
   « content-visibility » figure dans les sélecteurs à conserver de FlyingPress
   (build/76-rendu-differe.php), sans quoi cette règle serait retirée du CSS servi. */
[style*="content-visibility"] {
    contain-intrinsic-width: none !important;
}

/* ---------- Focus clavier visible partout ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--ml-primary);
    outline-offset: 2px;
}

/* ---------- En-tête fixe ----------
   Le template #2888 recouvre déjà le hero (marge basse de -110 px, sans fond) :
   il ne prend aucune place dans le flux. En position fixe, il peut donc se
   compacter au défilement sans décaler la page. Transparent en haut de page,
   fond blanc dès qu'on fait défiler (classe .ml-scrolled posée par js/ml-ui.js ;
   classe conservée par FlyingPress, voir build/23-entete-cache.php). */
body:not(.elementor-editor-active) .elementor-location-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.admin-bar:not(.elementor-editor-active) .elementor-location-header {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar:not(.elementor-editor-active) .elementor-location-header {
        top: 46px;
    }
}
.elementor-location-header > .elementor-section {
    transition: background-color 200ms ease, box-shadow 200ms ease, padding 200ms ease;
}
.ml-scrolled .elementor-location-header > .elementor-section {
    background-color: #ffffff;
    box-shadow: 0 6px 24px rgba(1, 45, 67, 0.08);
}
@media (min-width: 1025px) {
    .ml-scrolled .elementor-location-header .elementskit-menu-container {
        height: 76px !important;
    }
    .ml-scrolled .elementor-location-header .elementor-widget-image img {
        max-height: 64px;
        width: auto;
    }
}
@media (max-width: 1024px) {
    .ml-scrolled .elementor-location-header > .elementor-section {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
    .ml-scrolled .elementor-location-header .elementor-widget-wrap {
        padding-top: 4px !important;
        padding-bottom: 4px !important;
    }
    .ml-scrolled .elementor-location-header .elementor-widget-image img {
        max-width: 48px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .elementor-location-header > .elementor-section {
        transition: none;
    }
}

/* Ancres (#formulaire, #carte-cadeau…) : jamais masquées sous l'en-tête. */
html {
    scroll-padding-top: 100px;
}
@media (max-width: 1024px) {
    html {
        scroll-padding-top: 84px;
    }
}

/* Menu sur une seule ligne de 1025 à 1439 px (6 entrées de premier niveau).
   Même spécificité : la plage la plus étroite doit venir en dernier. */
@media (min-width: 1025px) and (max-width: 1439px) {
    body .elementor-location-header .elementskit-navbar-nav > li > a {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}
@media (min-width: 1025px) and (max-width: 1199px) {
    body .elementor-location-header .elementskit-navbar-nav > li > a {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 16px !important;
    }
}

/* Numéro de téléphone de l'en-tête : jamais coupé. */
.elementor-location-header .elementor-button-text {
    white-space: nowrap;
}
@media (max-width: 1199px) {
    .elementor-location-header .elementor-widget-button .elementor-button {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* ElementsKit retire le contour de focus de ses liens : on le rétablit. */
.elementor-location-header .ekit-wid-con a:focus-visible,
.elementor-location-header .ekit-wid-con button:focus-visible {
    outline: 3px solid var(--ml-primary) !important;
    outline-offset: 2px;
}

/* Sous-menu accessible au clavier (même effet qu'au survol). */
.ekit-nav-dropdown-hover .elementskit-dropdown-has:focus-within > .elementskit-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hamburger et fermeture du menu mobile : visibles sur tous les fonds. */
.elementor-location-header .elementskit-menu-hamburger {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(1, 45, 67, 0.12);
}
.elementor-location-header .elementskit-menu-hamburger .ekit-menu-icon {
    color: var(--ml-navy) !important;
}
.elementor-location-header .elementskit-menu-close {
    background-color: #ffffff !important;
    color: var(--ml-navy) !important;
    border: 2px solid var(--ml-navy) !important;
    font-weight: 600;
}

/* Logo plus compact sur tablette et mobile. */
@media (max-width: 1024px) {
    .elementor-location-header .elementor-widget-image img {
        max-width: 84px;
        height: auto;
    }
}
@media (max-width: 767px) {
    .elementor-location-header .elementor-widget-image img {
        max-width: 64px;
    }
}

/* ---------- Hero des pages intérieures (classe ml-hero) ----------
   Hauteur minimale de 715 px et marge négative pensées pour l'ancien en-tête :
   885 px sur mobile pour un titre et deux boutons. Le bas reste réservé au
   conteneur suivant, qui remonte de 166 px sur la vague. */
@media (max-width: 1024px) {
    .elementor-section.ml-hero {
        margin-top: 0 !important;
        padding-top: 190px !important;
        padding-bottom: 230px !important;
    }
    .elementor-section.ml-hero > .elementor-container {
        min-height: 0 !important;
    }
}
@media (max-width: 767px) {
    .elementor-section.ml-hero {
        padding-top: 150px !important;
        padding-bottom: 200px !important;
    }
    /* La barre d'appel propose déjà « Appeler » et « Rendez-vous ». */
    .elementor-section.ml-hero .elementor-widget-button {
        display: none;
    }
}

/* Titres du hero : lignes équilibrées (évite « Châtelaudren- / Plouagat » seul). */
.ml-hero .elementor-heading-title {
    text-wrap: balance;
}
@media (max-width: 767px) {
    .ml-hero h1.elementor-heading-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
}

/* Fiche collante des pages soins : sous l'en-tête fixe (76 px une fois compact). */
@media (min-width: 1025px) {
    body .ml-fiche {
        top: 100px;
    }
}

/* ---------- Barre d'appel mobile (≤ 767 px) ---------- */
.ml-callbar {
    display: none;
}
@media (max-width: 767px) {
    .ml-callbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9990;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 -6px 24px rgba(1, 45, 67, 0.1);
    }
    .ml-callbar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
        border-radius: 999px;
        font-family: "Jost", sans-serif;
        font-size: 16px;
        font-weight: 600;
        text-decoration: none;
    }
    .ml-callbar svg {
        width: 18px;
        height: 18px;
        flex: none;
    }
    /* « a.classe » : plus spécifique que la couleur de lien du kit (.elementor-kit-2742 a). */
    .ml-callbar a.ml-callbar__appel,
    .ml-callbar a.ml-callbar__appel:hover,
    .ml-callbar a.ml-callbar__appel:focus {
        background: var(--ml-primary);
        color: #ffffff;
    }
    .ml-callbar a.ml-callbar__rdv,
    .ml-callbar a.ml-callbar__rdv:hover,
    .ml-callbar a.ml-callbar__rdv:focus {
        background: #ffffff;
        color: var(--ml-navy);
        box-shadow: inset 0 0 0 2px var(--ml-navy);
    }
    body {
        padding-bottom: 76px;
    }
    /* Menu mobile ouvert : la barre ne recouvre pas le bas du menu. */
    .ml-menu-open .ml-callbar {
        display: none;
    }
}

/* ---------- Formulaire de contact (CF7 #3328, classe ml-form) ---------- */
/* Bordures à 3,7:1 sur blanc (contre 1,2:1 pour #EBE1E9 du kit). */
.wpcf7 .ml-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.wpcf7 .ml-form select,
.wpcf7 .ml-form textarea {
    border: 1px solid #7A868C !important;
}
.wpcf7 .ml-form select {
    width: 100%;
    height: 54px;
    padding: 0 52px 0 30px;
    border-radius: 30px;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23012D43' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 24px center / 16px;
    font-family: "Cormorant Garamond", serif;
    font-size: 16px;
    color: #000000;
    -webkit-appearance: none;
    appearance: none;
}
.wpcf7 .ml-form textarea {
    height: auto;
}
/* Champs sur toute la largeur de la colonne (le thème met les <label> en
   inline-block, qui se calent sur la largeur du champ), un peu d'air sous chaque libellé. */
.wpcf7 .ml-form label {
    display: block;
}
.wpcf7 .ml-form .wpcf7-form-control-wrap {
    display: block;
    margin-top: 6px;
}
.wpcf7 .ml-form .wpcf7-form-control:not(.wpcf7-submit) {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.wpcf7 .ml-form .wpcf7-not-valid {
    border-color: var(--ml-primary) !important;
}
.wpcf7 .ml-form .wpcf7-not-valid-tip {
    color: var(--ml-primary);
    font-size: 16px;
}
.ml-form__legende,
.ml-form__rgpd {
    color: var(--ml-muted);
}

/* ---------- Pied de page ---------- */
.elementor-location-footer .elementor-icon-list-item a {
    color: inherit;
}
@media (max-width: 1024px) {
    .elementor-location-footer .elementor-icon-list-item > a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    /* Vague décorative du haut du pied de page : 350 px de haut, surtout du blanc. */
    .elementor-location-footer > .elementor-section:first-child > .elementor-container {
        min-height: 160px !important;
    }
    /* Les 44 px de zone tactile remplacent l'espacement réglé dans le template. */
    .elementor-location-footer .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item {
        padding-bottom: 0 !important;
        margin-top: 0 !important;
    }
}
.ml-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 22px;
    margin: 0;
}
/* « Près de chez vous » ([ml_zones]) : même allure que les colonnes du pied de page
   (titre rose en Jost, liens en Cormorant comme la liste des accompagnements). */
.elementor-location-footer .ml-zones {
    margin-top: 0;
}
.elementor-location-footer .ml-zones__titre {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 1.2;
    color: var(--ml-primary);
}
/* Même pas de 42 px que la liste des accompagnements : les lignes des deux colonnes
   se répondent, et les deux listes ont la même hauteur. */
.elementor-location-footer .ml-zones__liste li {
    margin: 0 0 15px;
}
.elementor-location-footer .ml-zones__liste li:last-child {
    margin-bottom: 0;
}
.elementor-location-footer .ml-zones__liste a {
    /* En bloc : pas de ligne de texte autour du lien, qui décalerait chaque ligne de 3 px. */
    display: block;
    width: fit-content;
    min-height: 0;
    padding: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #000000;
    text-decoration: none;
}
.elementor-location-footer .ml-zones__liste a:hover {
    color: var(--ml-primary);
}
@media (max-width: 1024px) {
    .elementor-location-footer .ml-zones__liste li {
        margin-bottom: 0;
    }
    /* Interligne serré et marge interne : un lien sur deux lignes reste un seul bloc. */
    .elementor-location-footer .ml-zones__liste a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 6px 0;
        line-height: 1.3;
    }
}
/* Dernière ligne : © et pages légales, dans la typographie du pied de page.
   Plus spécifique que la couleur et la police de lien du kit (.elementor-kit-2742 a). */
.elementor-location-footer .ml-legal span,
.elementor-location-footer .ml-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}
.elementor-location-footer .ml-legal a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}
.elementor-location-footer .ml-legal a:hover,
.elementor-location-footer .ml-legal a:focus-visible {
    color: var(--ml-primary);
}
/* Titre de colonne cliquable (« Mes accompagnements » → /services/). */
.elementor-location-footer .elementor-heading-title a {
    color: inherit;
}
.elementor-location-footer .elementor-heading-title a:hover,
.elementor-location-footer .elementor-heading-title a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* ---------- FAQ (accordéon imbriqué, classe ml-faq) ---------- */
.ml-faq .e-n-accordion {
    gap: 0 !important;
}
.ml-faq .e-n-accordion-item {
    border-bottom: 1px solid var(--ml-line);
}
.ml-faq .e-n-accordion-item:first-of-type {
    border-top: 1px solid var(--ml-line);
}
.ml-faq .e-n-accordion-item-title {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 18px 4px !important;
    gap: 16px;
}
.ml-faq .e-n-accordion-item-title-text {
    font-family: "Jost", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ml-navy);
}
.ml-faq .e-n-accordion-item-title-icon,
.ml-faq .e-n-accordion-item-title-icon i {
    color: var(--ml-primary);
}
.ml-faq .e-n-accordion-item-title-icon svg {
    fill: var(--ml-primary);
}
.ml-faq .e-n-accordion-item > .e-con {
    border: 0 !important;
    padding: 0 4px 22px !important;
}
.ml-faq .e-n-accordion-item > .e-con p:last-child {
    margin-bottom: 0;
}

/* ---------- Témoignages dans une page soin (classe ml-temoignages) ---------- */
.ml-temoignages blockquote {
    margin: 0 0 24px;
    padding: 2px 0 2px 22px;
    border: 0;
    border-left: 3px solid #E7C3D0;
}
.ml-temoignages blockquote:last-child {
    margin-bottom: 0;
}
.ml-temoignages blockquote p {
    margin: 0 0 10px;
    font-style: italic;
}
.ml-temoignages footer {
    font-family: "Jost", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: var(--ml-navy);
}
.ml-temoignages footer span {
    display: block;
    color: var(--ml-muted);
}

/* ---------- Pages locales : liste [ml_zones] ---------- */
.ml-zones__titre {
    font-family: "Jost", sans-serif;
    font-weight: 500;
    color: var(--ml-navy);
    margin: 0 0 6px;
}
.ml-zones__liste {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ml-zones__liste a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--ml-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* Pages au modèle du site en ligne (.ml-page) : les liens vers les autres villes sont
   centrés, comme les titres, et se rangent côte à côte tant que la largeur le permet. */
.ml-page .ml-zones {
    text-align: center;
}
.ml-page .ml-zones__titre {
    margin-bottom: 4px;
    font-size: 22px;
}
.ml-page .ml-zones__liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 28px;
}

@media (max-width: 767px) {
    /* Un lien par ligne, d'un corps plus petit : chacun reste distinct du suivant. */
    .ml-page .ml-zones__liste {
        gap: 6px 0;
    }
    .ml-page .ml-zones__liste a {
        font-size: 18px;
        line-height: 1.3;
        text-wrap: balance;
    }
}

/* Zones desservies : annuaire des pages locales, ville par ville ([ml_zones annuaire]).
   Même dessin que les lignes de trajets : la ville à gauche, ses soins à droite. */
.ml-annuaire {
    margin: 0;
}
.ml-annuaire__ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0 24px;
    padding: 8px 0;
    border-bottom: 1px solid var(--ml-line);
}
.ml-annuaire__ligne:first-child {
    border-top: 1px solid var(--ml-line);
}
.ml-annuaire dt {
    margin: 0;
    font-family: "Jost", sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--ml-navy);
}
.ml-annuaire__trajet {
    margin-left: 8px;
    font-size: 15px;
    font-weight: 400;
    color: var(--ml-muted);
    white-space: nowrap;
}
.ml-annuaire dd {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0 22px;
    margin: 0;
}
.ml-annuaire dd a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: var(--ml-primary);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}
@media (max-width: 767px) {
    .ml-annuaire__ligne {
        display: block;
        padding: 12px 0 6px;
    }
    /* Corps et écart réduits : quatre soins tiennent sur deux lignes de deux. */
    .ml-annuaire dd {
        justify-content: flex-start;
        gap: 0 16px;
    }
    .ml-annuaire dd a {
        min-height: 44px;
        font-size: 17px;
    }
}

/* Accueil : liens des pages locales, sous les deux colonnes « villes » et « accès »
   (70-accueil.php). Le bloc prend toute la largeur et, à partir de la tablette, ses deux
   colonnes prolongent celles du dessus : 10 px de marge interne des conteneurs, plus, à
   gauche, les 40 px de retrait de la liste à puces. Trois rangées de deux liens au lieu de
   sept lignes empilées : la gauche et la droite de la zone ont la même hauteur. */
.elementor-widget.ml-zones-accueil {
    width: 100%;
}
.ml-zones-accueil .ml-zones {
    margin-top: 12px;
    padding: 0 10px;
}
.ml-zones-accueil .ml-zones__titre {
    margin-bottom: 4px;
    font-size: 18px;
}
.ml-zones-accueil .ml-zones__liste a {
    min-height: 36px;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 500;
}
@media (min-width: 768px) {
    .ml-zones-accueil .ml-zones__titre {
        text-align: center;
    }
    .ml-zones-accueil .ml-zones__liste {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    /* Colonne de gauche : sous le texte de la liste à puces. */
    .ml-zones-accueil .ml-zones__liste li:nth-child(odd) {
        padding-left: 40px;
    }
    /* Colonne de droite : sous « Facilité d'accès », qui n'a pas de puce. */
    .ml-zones-accueil .ml-zones__liste li:nth-child(even) {
        padding-left: 10px;
    }
    /* « Toutes les communes desservies » : centré sous les deux colonnes. */
    .ml-zones-accueil .ml-zones__liste li.ml-zones__toutes {
        grid-column: 1 / -1;
        padding-left: 0;
        text-align: center;
    }
}
@media (max-width: 1024px) {
    .ml-zones-accueil .ml-zones__liste a {
        min-height: 44px;
        padding: 6px 0;
        line-height: 1.3;
    }
}
@media (max-width: 767px) {
    /* Une colonne, au bord du texte : le libellé le plus long tient alors sur une ligne. */
    .ml-zones-accueil .ml-zones__liste a {
        font-size: 19px;
    }
}

/* Mot composé à garder sur une ligne (titres : « Châtelaudren-Plouagat »). */
.ml-nowrap {
    white-space: nowrap;
}

/* ---------- Zones desservies : tableaux de trajets [ml_trajets] ---------- */
.ml-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.ml-trajets__recherche {
    margin: 0 0 18px;
}
.ml-trajets__recherche[hidden] {
    display: none;
}
.ml-trajets__recherche label {
    display: block;
    margin: 0 0 6px;
    font-family: "Jost", sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--ml-navy);
}
.ml-trajets__recherche input[type="search"] {
    display: block;
    width: 100%;
    max-width: 420px;
    height: 54px;
    box-sizing: border-box;
    padding: 0 24px;
    border: 1px solid #7A868C;
    border-radius: 30px;
    background: #ffffff;
    font-family: "Jost", sans-serif;
    font-size: 18px;
    color: var(--ml-text);
}
.ml-trajets__statut {
    min-height: 1.5em;
    margin: 8px 0 0;
    font-size: 17px;
    color: var(--ml-muted);
}
.ml-trajets__palier {
    border-bottom: 1px solid var(--ml-line);
}
.ml-trajets__palier:first-of-type {
    border-top: 1px solid var(--ml-line);
}
.ml-trajets__palier summary {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 18px 36px 18px 4px;
    position: relative;
    list-style: none;
    cursor: pointer;
}
.ml-trajets__palier summary::-webkit-details-marker {
    display: none;
}
.ml-trajets__palier summary::after {
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -7px;
    border-right: 2px solid var(--ml-primary);
    border-bottom: 2px solid var(--ml-primary);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}
.ml-trajets__palier[open] summary::after {
    margin-top: -2px;
    transform: rotate(-135deg);
}
.ml-trajets__titre {
    font-family: "Jost", sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--ml-navy);
}
.ml-trajets__nombre {
    margin-left: auto;
    font-size: 16px;
    color: var(--ml-muted);
    white-space: nowrap;
}
.ml-trajets table {
    width: 100%;
    margin: 0 0 20px;
    border-collapse: collapse;
    border: 0;
    font-size: 18px;
    line-height: 1.4;
}
.ml-trajets thead th {
    padding: 0 10px 8px;
    border: 0;
    border-bottom: 1px solid var(--ml-line);
    background: transparent;
    font-family: "Jost", sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--ml-muted);
    text-align: right;
}
.ml-trajets thead th:first-child,
.ml-trajets tbody th {
    text-align: left;
}
/* Lignes alternées crème (le thème Hello les grise, avec un sélecteur plus fort). */
.ml-trajets table tbody > tr > th,
.ml-trajets table tbody > tr > td {
    padding: 9px 10px;
    border: 0;
    background: transparent;
}
.ml-trajets table tbody > tr:nth-child(odd) > th,
.ml-trajets table tbody > tr:nth-child(odd) > td {
    background: var(--ml-cream);
}
.ml-trajets table tbody > tr:hover > th,
.ml-trajets table tbody > tr:hover > td {
    background: #F3EDE7;
}
.ml-trajets tbody th {
    font-weight: 400;
    color: var(--ml-text);
}
.ml-trajets tbody td {
    width: 5.5em;
    text-align: right;
    font-family: "Jost", sans-serif;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--ml-muted);
}
.ml-trajets tbody td:nth-child(2) {
    font-weight: 500;
    color: var(--ml-navy);
}
.ml-trajets__note {
    margin: 18px 0 0;
    font-size: 17px;
    color: var(--ml-muted);
}
.ml-trajets__note a {
    color: var(--ml-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}
@media (max-width: 767px) {
    .ml-trajets table {
        font-size: 17px;
    }
    .ml-trajets tbody td {
        width: 4.6em;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ml-trajets__palier summary::after {
        transition: none;
    }
}

/* Photo d'un lieu avec sa légende et son crédit (pages locales, Zones desservies). */
.ml-photo-lieu figure {
    margin: 4px 0 6px;
}
/* Sélecteur renforcé : Elementor remet border-radius à 0 sur .elementor img. */
.elementor-widget-image.ml-photo-lieu img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 24px;
}
.ml-photo-lieu .widget-image-caption {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.45;
    color: var(--ml-muted);
    text-align: left;
}
.ml-photo-lieu .widget-image-caption a {
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* ---------- Passe 2 (3 octobre 2026, soir) ---------- */

/* Texte courant : ni les longues adresses web ni les tableaux ne dépassent de l'écran. */
.elementor-widget-text-editor a {
    overflow-wrap: anywhere;
}
/* Les tableaux collés depuis un traitement de texte portent des largeurs en attributs
   (width="643") : la largeur CSS les remplace. */
.elementor-widget-text-editor table {
    width: 100%;
    max-width: 100%;
}
.elementor-widget-text-editor td,
.elementor-widget-text-editor th {
    width: auto;
    overflow-wrap: anywhere;
    hyphens: auto;
    vertical-align: top;
}
@media (max-width: 767px) {
    .elementor-widget-text-editor table {
        font-size: 15px;
    }
    .elementor-widget-text-editor td,
    .elementor-widget-text-editor th {
        padding: 8px 6px;
    }
}

/* Cercle de lecture : prochaine rencontre ([ml_cercle_prochaine]), même allure que les
   lignes à points de la fiche. */
.ml-cercle-faits {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ml-cercle-faits li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 12px;
    font-family: "Jost", sans-serif;
}
.ml-cercle-faits li:last-child {
    margin-bottom: 0;
}
/* Points de conduite entre le libellé et la valeur. */
.ml-cercle-faits li::before {
    content: "";
    order: 2;
    flex: 1 1 auto;
    min-width: 16px;
    border-bottom: 2px dotted #CFC4BA;
    transform: translateY(-4px);
}
.ml-cercle-faits__label {
    order: 1;
    font-size: 16px;
    color: var(--ml-muted);
    white-space: nowrap;
}
.ml-cercle-faits__valeur {
    order: 3;
    font-size: 17px;
    font-weight: 500;
    color: var(--ml-navy);
    text-align: right;
}
.ml-cercle-prochaine .ml-livre {
    margin-bottom: 18px;
}
.ml-cercle-attente {
    margin: 0 0 18px;
    color: var(--ml-text);
}
.ml-cercle-attente a {
    color: var(--ml-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* « Qui suis-je ? » : sommaire d'ancres sous la présentation. */
.ml-sommaire {
    padding: 14px 0;
    border-top: 1px solid var(--ml-line);
    border-bottom: 1px solid var(--ml-line);
}
.ml-sommaire .ml-sommaire__titre {
    margin: 0 0 4px;
    font-family: "Jost", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--ml-muted);
}
.ml-sommaire ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ml-sommaire li {
    margin: 0;
}
.ml-sommaire a {
    display: inline-block;
    padding: 6px 0;
    font-family: "Jost", sans-serif;
    font-size: 17px;
    color: var(--ml-primary);
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* Formulaire de contact : champ piège anti-spam, hors écran (functions.php). */
.wpcf7 .ml-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Flèche du sous-menu ElementsKit dessinée en CSS : la police ekiticons n'est plus chargée
   (functions.php). Même place et même couleur que l'ancienne icône. */
/* La boîte garde les dimensions données par ElementsKit (pastille du menu mobile) ;
   seule la flèche est dessinée. */
.elementskit-submenu-indicator.icon-down-arrow1 {
    font-style: normal;
}
.elementskit-submenu-indicator.icon-down-arrow1::before {
    content: "";
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    vertical-align: middle;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-30%) rotate(45deg);
}

/* Retours de Muriel du 27 octobre 2026.
   - Comparateur avant / après (page Humano-Dentosophie®) : ElementsKit n'affiche les dates
     qu'au survol, donc jamais sur un téléphone ; ici toujours visibles, « avant » en haut à
     gauche, « après » en bas à droite.
   - Couverture du livre de Michel Montaud affichée entière (plus de recadrage 1100 × 482). */
.ml-comparateur .twentytwenty-before-label,.ml-comparateur .twentytwenty-after-label{opacity:1}
.ml-comparateur .twentytwenty-before-label::before,.ml-comparateur .twentytwenty-after-label::before{background:rgba(0,0,0,.55);font-size:12px;line-height:30px;padding:0 10px;letter-spacing:.04em;border-radius:4px}
.ml-comparateur .twentytwenty-horizontal .twentytwenty-before-label::before{top:10px;margin-top:0;left:10px}
.ml-comparateur .twentytwenty-horizontal .twentytwenty-after-label::before{top:auto;bottom:10px;margin-top:0;right:10px}
.ml-photo-page.ml-photo-entiere img{width:auto;max-width:100%;max-height:520px;height:auto;display:block;margin:0 auto}
