/* =====================================================================
   OPTITECH — Expérience services (refonte UX 2026-11)
   Ajoute des composants SANS modifier les styles existants.
   Identité conservée : --blue #0249AE, --darkblue #00173D, --yellow #FDBD56,
   boutons .btn arrondis, titres "back_title", cartes .content_service.
   Rappel : global.css applique font-size:16px et color:black à "*",
   d'où les tailles/couleurs explicites ci-dessous.
   ===================================================================== */

:root{
    --sux-fond: #f4f7fd;
    --sux-bord: #dfe6f3;
    --sux-texte: #1f2a44;
    --sux-doux: #5b6478;
    --sux-whatsapp: #1fa855;
    --sux-rayon: 16px;
    --sux-ombre: 0 10px 30px rgba(0, 23, 61, .08);
}

/* ---------- utilitaires ---------- */
.sux_eyebrow{
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}
.sux_lead, .sux_lead *{
    font-size: 18px;
    line-height: 1.6;
    color: var(--sux-doux);
}
.sux_tag{
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--blue);
    background: #e6eefb;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
a.sux_tag:hover{ background: var(--yellow); color: var(--darkblue); }
.sux_btn_l{ padding: 12px 22px; font-weight: 600; gap: 4px; }
.sux_btn_l, .sux_btn_l i{ font-size: 16px; color: inherit; }
.btn1.sux_btn_l, .btn1.sux_btn_l i{ color: var(--white); }
.btn3.sux_btn_l, .btn3.sux_btn_l i{ color: var(--darkblue); }
.sux_btn_whatsapp{ background: var(--sux-whatsapp); }
.sux_btn_whatsapp, .sux_btn_whatsapp i{ color: var(--white); }
.btn:focus-visible, .sux_chip:focus-visible, .sux_ancres a:focus-visible{
    outline: 3px solid var(--yellow);
    outline-offset: 2px;
}
html{ scroll-behavior: smooth; }
[id]{ scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce){
    html{ scroll-behavior: auto; }
}

/* =====================================================================
   PAGE SERVICES — recherche et filtres
   ===================================================================== */
.sux_finder{
    max-width: 1200px;
    display: grid;
    gap: 24px;
}
.sux_finder_intro{ text-align: center; max-width: 760px; margin: 0 auto; }
.sux_finder_intro h2, .sux_finder_intro h2 span{
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--darkblue);
    margin-bottom: 12px;
}
.sux_finder_intro h2 span{ color: var(--yellow); }
.sux_finder_box{
    background: var(--sux-fond);
    border: 1px solid var(--sux-bord);
    border-radius: var(--sux-rayon);
    padding: 24px;
    display: grid;
    gap: 18px;
}
.sux_filtre_label{
    font-size: 14px;
    font-weight: 700;
    color: var(--darkblue);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sux_filtre_label i{ font-size: 18px; color: var(--blue); }
.sux_chips{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.sux_chip{
    font-size: 15px;
    color: var(--darkblue);
    background: var(--white);
    border: 1px solid var(--sux-bord);
    border-radius: 999px;
    padding: 8px 16px;
    cursor: pointer;
}
.sux_chip small{
    font-size: 12px;
    color: var(--sux-doux);
    background: var(--sux-fond);
    border-radius: 999px;
    padding: 1px 7px;
    margin-left: 4px;
}
.sux_chip:hover{ border-color: var(--blue); color: var(--blue); }
.sux_chip.active{
    background: var(--blue);
    border-color: var(--blue);
    color: var(--white);
}
.sux_chip.active small{ background: rgba(255,255,255,.2); color: var(--white); }
.sux_filtre_ligne{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.sux_recherche{
    flex: 1 1 300px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--sux-bord);
    border-radius: 999px;
    padding: 0 16px;
}
.sux_recherche:focus-within{ border-color: var(--blue); box-shadow: 0 0 0 3px rgba(2,73,174,.12); }
.sux_recherche i{ font-size: 20px; color: var(--sux-doux); }
.sux_recherche input{
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 12px 0;
    font-size: 16px;
}
.sux_compteur{ font-size: 14px; color: var(--sux-doux); }

/* ---------- grille de cartes (on garde le dessin des cartes existantes) ---------- */
.sux_grille_section, .sux_lies{ max-width: 1200px; }
.container_services.sux_grille{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin: 8px auto 16px;
}
.sux_carte{
    background: var(--white);
    box-shadow: var(--sux-ombre);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.sux_carte[hidden]{ display: none; }
.sux_carte:hover{ transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,23,61,.14); }
.sux_carte .box_img_service{ display: block; }
.sux_carte .text_service{ display: flex; flex-direction: column; flex: 1; padding-top: 40px; }
.sux_carte .titre_service, .sux_carte .titre_service a{
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--darkblue);
}
.sux_carte .titre_service a:hover{ color: var(--blue); }
.sux_carte .description_service{ text-align: left; color: var(--sux-doux); line-height: 1.5; font-size: 15px; }
.sux_carte_actions{
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
}
.sux_carte_actions .btn{ font-size: 14px; color: var(--white); }
.sux_img_fallback{
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 150px;
    background: linear-gradient(135deg, var(--blue), var(--darkblue));
}
.sux_img_fallback i{ font-size: 56px; color: var(--yellow); }

.sux_vide{
    text-align: center;
    background: var(--sux-fond);
    border: 1px dashed var(--sux-bord);
    border-radius: var(--sux-rayon);
    padding: 40px 24px;
    max-width: 640px;
    margin: 0 auto;
}
.sux_vide > i{ font-size: 48px; color: var(--blue); }
.sux_vide h3{ font-size: 22px; color: var(--darkblue); margin: 8px 0; }
.sux_vide p{ color: var(--sux-doux); margin-bottom: 20px; }

/* ---------- méthode ---------- */
.sux_methode{ max-width: 1200px; }
.sux_etapes_cartes{
    list-style: none;
    counter-reset: etape;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.sux_etapes_cartes li{
    counter-increment: etape;
    position: relative;
    background: var(--white);
    border: 1px solid var(--sux-bord);
    border-radius: var(--sux-rayon);
    padding: 28px 22px 22px;
}
.sux_etapes_cartes li::before{
    content: "0" counter(etape);
    position: absolute;
    top: 16px; right: 18px;
    font-size: 30px;
    font-weight: 800;
    color: var(--blue);
    opacity: .12;
}
.sux_etapes_cartes i{
    font-size: 26px;
    color: var(--darkblue);
    background: var(--yellow);
    border-radius: 12px;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.sux_etapes_cartes h3{ font-size: 18px; color: var(--darkblue); margin-bottom: 6px; }
.sux_etapes_cartes p{ font-size: 15px; color: var(--sux-doux); line-height: 1.5; }

/* ---------- bande d'appel à l'action ---------- */
.sux_cta_bande{
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background-color: var(--darkblue);
    background-image: linear-gradient(90deg, rgba(0,23,61,.96), rgba(2,73,174,.85)), url(../images/pattern_optitech.webp);
    background-size: cover;
    background-position: center;
    border-radius: var(--sux-rayon);
    padding: 36px 40px !important;
}
.sux_cta_bande h2{ font-size: 26px; color: var(--white); margin-bottom: 6px; }
.sux_cta_bande p{ color: #c9d6ef; }
.sux_cta_boutons{ display: flex; gap: 12px; flex-wrap: wrap; }
.sux_cta_boutons .btn{ padding: 12px 22px; font-weight: 600; }
.sux_cta_boutons .btn2, .sux_cta_boutons .btn2 i{ color: var(--darkblue); font-size: 16px; }
.sux_cta_boutons .btn4, .sux_cta_boutons .btn4 i{ color: var(--white); font-size: 16px; border: 1px solid rgba(255,255,255,.4); }

/* =====================================================================
   FICHE SERVICE
   ===================================================================== */
.sux_fiche_hero{
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 48px;
    align-items: center;
    margin-top: 40px !important;
}
.sux_resume{ margin-bottom: 20px; }
.sux_besoins_liste{
    list-style: none;
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
}
.sux_besoins_liste li{
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 16px;
    color: var(--sux-texte);
}
.sux_besoins_liste i{
    font-size: 18px;
    color: var(--white);
    background: var(--blue);
    border-radius: 50%;
    padding: 1px;
    flex: none;
    margin-top: 1px;
}
.sux_cta_ligne{
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.sux_rassurance{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}
.sux_rassurance li{
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--sux-doux);
}
.sux_rassurance i{ font-size: 18px; color: var(--yellow); }
.sux_fiche_hero_visuel{
    position: relative;
    aspect-ratio: 16 / 10;
}
.sux_fiche_hero_visuel::before{
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    background: var(--yellow);
    border-radius: 20px;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 18%);
}
.sux_fiche_hero_visuel img, .sux_fiche_hero_visuel .sux_img_fallback{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 18%);
}

/* ---------- sommaire collant ---------- */
.sux_ancres{
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid var(--sux-bord);
    margin: 40px 0 0;
}
.sux_ancres ul{
    list-style: none;
    display: flex;
    gap: 4px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
}
.sux_ancres ul::-webkit-scrollbar{ display: none; }
.sux_ancres a{
    display: block;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    color: var(--sux-doux);
    padding: 16px 14px 13px;
    border-bottom: 3px solid transparent;
}
.sux_ancres a:hover{ color: var(--blue); }
.sux_ancres a.actif{ color: var(--darkblue); border-bottom-color: var(--yellow); }
.sux_ancres a.sux_ancre_cta{ color: var(--blue); }

/* ---------- contenu + carte d'action ---------- */
.sux_fiche_corps{
    width: 95%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 48px;
    align-items: start;
}
.sux_bloc{
    width: 100%;
    padding: 40px 0 8px;
    margin: 0;
    border-bottom: 1px solid var(--sux-bord);
}
.sux_bloc:last-child{ border-bottom: none; }
.sux_bloc_titre{
    font-size: 26px;
    font-weight: 700;
    color: var(--darkblue);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sux_bloc_titre::before{
    content: "";
    width: 6px; height: 26px;
    border-radius: 3px;
    background: var(--yellow);
}

/* contenu riche saisi dans l'éditeur (TinyMCE) : rendu harmonisé */
.sux_rich{ color: var(--sux-texte); }
.sux_rich *{ color: inherit; line-height: 1.7; }
.sux_rich p, .sux_rich li, .sux_rich td, .sux_rich span{ font-size: 16px; }
.sux_rich p{ margin-bottom: 14px; }
.sux_rich p:empty, .sux_rich p:has(> br:only-child){ display: none; }
.sux_rich h2, .sux_rich h2 *{ font-size: 22px !important; color: var(--darkblue); margin: 24px 0 10px; line-height: 1.3; }
.sux_rich h3, .sux_rich h3 *{ font-size: 19px !important; color: var(--blue); margin: 22px 0 10px; text-align: left !important; line-height: 1.3; }
.sux_rich strong, .sux_rich b{ font-weight: 700; color: var(--darkblue); }
.sux_rich ul, .sux_rich ol{ padding-left: 22px; margin-bottom: 16px; }
.sux_rich li{ margin-bottom: 6px; }
.sux_rich a{ color: var(--blue); text-decoration: underline; }
.sux_rich table{
    display: block;
    width: 100% !important;
    height: auto !important;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 16px 0;
    border-radius: 12px;
    border: 1px solid var(--sux-bord);
}
.sux_rich tbody{ display: table; width: 100%; }
.sux_rich th, .sux_rich td{
    width: auto !important;
    padding: 12px 16px;
    vertical-align: top;
    text-align: left;
    border-bottom: 1px solid var(--sux-bord);
}
.sux_rich th, .sux_rich th *{ background: var(--darkblue); color: var(--white); font-weight: 700; font-size: 15px; margin: 0; }
.sux_rich tr:nth-child(odd) td{ background: var(--sux-fond); }
.sux_rich td p, .sux_rich th p{ margin: 0; }
.sux_rich td:first-child, .sux_rich td:first-child *{ font-weight: 700; color: var(--darkblue); }

/* étapes : la liste numérotée devient une frise verticale */
.sux_rich_etapes ol{
    list-style: none;
    counter-reset: frise;
    padding-left: 0;
    position: relative;
}
.sux_rich_etapes ol::before{
    content: "";
    position: absolute;
    left: 19px; top: 8px; bottom: 8px;
    width: 2px;
    background: var(--sux-bord);
}
.sux_rich_etapes ol > li{
    counter-increment: frise;
    position: relative;
    padding: 6px 0 18px 58px;
    margin: 0;
}
.sux_rich_etapes ol > li::before{
    content: counter(frise);
    position: absolute;
    left: 0; top: 0;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 5px var(--white);
}
.sux_rich_etapes ol > li:last-child::before{ background: var(--yellow); color: var(--darkblue); }

.sux_fiche_aside{ position: sticky; top: 76px; padding-top: 40px; }
.sux_carte_action{
    background: var(--darkblue);
    background-image: radial-gradient(circle at 100% 0, rgba(253,189,86,.25), transparent 45%);
    border-radius: var(--sux-rayon);
    padding: 28px 24px;
    display: grid;
    gap: 12px;
    box-shadow: var(--sux-ombre);
}
.sux_carte_action .sux_eyebrow{ color: var(--yellow); margin: 0; }
.sux_carte_action h2{ font-size: 21px; color: var(--white); line-height: 1.3; }
.sux_carte_action p{ font-size: 15px; color: #c9d6ef; line-height: 1.5; }
.sux_carte_action .btn{ width: 100%; }
.sux_lien_tel, .sux_lien_tel i{ color: var(--white); font-size: 15px; text-align: center; }
.sux_lien_tel:hover{ color: var(--yellow); }

/* ---------- demande de devis ---------- */
.sux_demande{
    max-width: 1200px;
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
    background: var(--sux-fond);
    border-radius: 24px;
    padding: 48px !important;
    margin-top: 56px !important;
}
.sux_demande_intro h2{ font-size: 30px; color: var(--darkblue); margin-bottom: 12px; line-height: 1.2; }
.sux_demande_intro > p{ color: var(--sux-doux); line-height: 1.6; margin-bottom: 24px; }
.sux_demande_suite{ list-style: none; counter-reset: suite; display: grid; gap: 16px; }
.sux_demande_suite li{
    counter-increment: suite;
    position: relative;
    padding-left: 46px;
    color: var(--sux-doux);
    line-height: 1.5;
    font-size: 15px;
}
.sux_demande_suite li strong{ color: var(--darkblue); font-size: 15px; }
.sux_demande_suite li::before{
    content: counter(suite);
    position: absolute; left: 0; top: -2px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--yellow);
    color: var(--darkblue);
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.sux_demande_form_zone{
    background: var(--white);
    border-radius: var(--sux-rayon);
    box-shadow: var(--sux-ombre);
    padding: 32px;
}
.sux_form fieldset{ border: none; margin-bottom: 20px; display: grid; gap: 16px; }
.sux_form legend{
    font-size: 18px;
    font-weight: 700;
    color: var(--darkblue);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sux_form legend span{
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--blue);
    color: var(--white);
    font-size: 14px;
    display: inline-flex; align-items: center; justify-content: center;
}
.sux_form_service{ font-size: 15px; color: var(--sux-doux); background: var(--sux-fond); padding: 10px 14px; border-radius: 10px; }
.sux_form_service strong{ color: var(--darkblue); font-size: 15px; }
.sux_champ{ display: grid; gap: 6px; }
.sux_champ label, .sux_label{ font-size: 14px; font-weight: 600; color: var(--darkblue); }
.sux_champ input[type=text], .sux_champ input[type=email], .sux_champ input[type=tel],
.sux_champ select, .sux_champ textarea{
    width: 100%;
    font-size: 16px;
    color: var(--sux-texte);
    background: var(--white);
    border: 1px solid #c9d3e6;
    border-radius: 10px;
    padding: 12px 14px;
    outline: none;
}
.sux_champ textarea{ resize: vertical; min-height: 120px; line-height: 1.5; }
.sux_champ input:focus, .sux_champ select:focus, .sux_champ textarea:focus{
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(2,73,174,.12);
}
.sux_champ .invalide{ border-color: var(--red) !important; }
.sux_aide{ font-size: 13px; color: var(--sux-doux); }
.sux_aide span{ font-size: 13px; color: var(--sux-doux); }
.sux_champs_2{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sux_radios{ display: flex; flex-wrap: wrap; gap: 8px; }
.sux_radios label{
    font-size: 14px;
    font-weight: 500;
    color: var(--darkblue);
    border: 1px solid #c9d3e6;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sux_radios label i{ font-size: 17px; color: inherit; }
.sux_radios input{ accent-color: var(--blue); }
.sux_radios label:has(input:checked){ background: #e6eefb; border-color: var(--blue); }
.sux_fichier{
    display: flex !important;
    align-items: center;
    gap: 10px;
    border: 1.5px dashed #b7c4dd;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    font-weight: 400 !important;
}
.sux_fichier i{ font-size: 22px; color: var(--blue); }
.sux_fichier span{ font-size: 14px; color: var(--sux-doux); }
.sux_fichier:hover, .sux_fichier.rempli{ border-color: var(--blue); background: #f7faff; }
.sux_fichier.rempli span{ color: var(--darkblue); font-weight: 600; }
.sux_form_pied{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--sux-bord);
    padding-top: 20px;
}
.sux_confidentiel, .sux_confidentiel i{ font-size: 13px; color: var(--sux-doux); }
.sux_form_pied .btn, .sux_form_pied .btn i{ color: var(--white); }
.sux_succes{ text-align: center; padding: 24px 8px; }
.sux_succes > i{ font-size: 64px; color: var(--sux-whatsapp); }
.sux_succes h3{ font-size: 24px; color: var(--darkblue); margin: 8px 0 12px; }
.sux_succes p{ color: var(--sux-doux); margin-bottom: 8px; line-height: 1.5; }
.sux_succes strong{ font-size: 20px; color: var(--blue); letter-spacing: .04em; }
.sux_succes .flexBtn{ margin-top: 20px; }

/* ---------- barre d'action mobile ---------- */
.sux_barre_mobile{ display: none; }

/* ---------- 404 ---------- */
.sux_404{ max-width: 720px; text-align: center; padding: 48px 16px !important; }
.sux_404_code{ font-size: 96px; font-weight: 800; color: var(--blue); opacity: .15; line-height: 1; }
.sux_404 h2{ font-size: 28px; color: var(--darkblue); margin: 8px 0 12px; }
.sux_404 p{ color: var(--sux-doux); margin-bottom: 24px; }
.sux_404 .btn i{ color: inherit; }
.sux_404_debug{ font-size: 12px; margin-top: 24px; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media screen and (max-width: 1000px){
    .sux_fiche_hero{ grid-template-columns: 1fr; gap: 40px; }
    .sux_fiche_hero_visuel{ order: -1; max-width: 640px; width: calc(100% - 18px); }
    .sux_fiche_corps{ grid-template-columns: 1fr; gap: 0; }
    .sux_fiche_aside{ display: none; }
    .sux_demande{ grid-template-columns: 1fr; gap: 28px; padding: 32px !important; }
}
@media screen and (max-width: 760px){
    .sux_finder_intro h2, .sux_finder_intro h2 span{ font-size: 26px; }
    .sux_lead, .sux_lead *{ font-size: 16px; }
    .sux_finder_box{ padding: 18px; }
    .sux_chips{ flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; margin-right: -18px; }
    .sux_chips::-webkit-scrollbar{ display: none; }
    .sux_chip{ white-space: nowrap; }
    .sux_fiche_corps{ padding: 0 16px; width: 100%; }
    .sux_bloc_titre{ font-size: 22px; }
    .sux_cta_ligne .btn{ flex: 1 1 100%; }
    .sux_cta_bande{ padding: 28px 22px !important; }
    .sux_demande{ padding: 22px 14px !important; border-radius: 16px; }
    .sux_demande_form_zone{ padding: 20px 16px; }
    .sux_champs_2{ grid-template-columns: 1fr; }
    .sux_form_pied .btn{ width: 100%; }

    /* barre d'action fixe en bas d'écran */
    .sux_page_fiche{ padding-bottom: 72px; }
    .sux_barre_mobile{
        display: flex;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 900;
        background: var(--white);
        border-top: 1px solid var(--sux-bord);
        box-shadow: 0 -6px 20px rgba(0,23,61,.08);
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        gap: 8px;
        transform: translateY(110%);
    }
    .sux_barre_mobile.visible{ transform: translateY(0); }
    .sux_barre_mobile a{
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 4px;
        border-radius: 12px;
        background: var(--sux-fond);
    }
    .sux_barre_mobile a i{ font-size: 22px; color: var(--darkblue); }
    .sux_barre_mobile a span{ font-size: 12px; font-weight: 600; color: var(--darkblue); }
    .sux_barre_mobile a.sux_barre_principal{ flex: 1.6; background: var(--blue); flex-direction: row; justify-content: center; gap: 8px; }
    .sux_barre_mobile a.sux_barre_principal i, .sux_barre_mobile a.sux_barre_principal span{ color: var(--white); font-size: 16px; }
    .sux_barre_mobile a.sux_barre_principal i{ font-size: 20px; }
}

/* les nouveaux boutons gardent la casse naturelle (bouton.css impose capitalize) */
.sux_btn_l, .sux_carte_actions .btn, .sux_cta_boutons .btn, .sux_vide .btn, .sux_succes .btn, .sux_404 .btn, .sux_carte_action .btn{ text-transform: none; }
.sux_carte .sux_tag{ align-self: flex-start; }
.sux_carte .savoir_plus{ white-space: nowrap; font-size: 15px; }
.sux_carte .savoir_plus svg{ width: 20px; height: 20px; }
.sux_fiche_hero_visuel .sux_img_fallback i{ font-size: 110px; }
@media screen and (max-width: 760px){
    /* sur mobile : le texte et les boutons d'abord, le visuel ensuite (plus compact) */
    .sux_fiche_hero{ margin-top: 24px !important; gap: 28px; }
    .sux_fiche_hero_visuel{ order: 1; aspect-ratio: 16 / 8; width: calc(100% - 14px); }
    .sux_fiche_hero_visuel::before{ inset: 12px -12px -12px 12px; }
    .sux_fiche_hero_visuel .sux_img_fallback i{ font-size: 72px; }
    .sux_ancres{ margin-top: 28px; }
}

/* les éléments de grille ne doivent jamais forcer la largeur de la page (chips défilantes sur mobile) */
.sux_finder > *, .sux_finder_box > *, .sux_filtre_groupe, .sux_fiche_hero > *, .sux_demande > *, .sux_fiche_corps > *{ min-width: 0; }
.sux_filtre_ligne > *{ min-width: 0; }

