/*
 * Pages produit : le nom du produit porte le H1 ; le surtitre (« Solutions collectivités »)
 * garde l'apparence d'un titre principal et le H1 celle de l'ancien paragraphe.
 */
#page-detail-solution .hero__container__text .hero-surtitre {
    font-family: "kyrial_sans_probold", Sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 60px;
    color: #262633;
    margin: 0 0 15px;
}

#page-detail-solution .hero__container__text h1.hero-produit {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 35px;
    line-height: 45px;
    font-weight: 600;
    color: inherit;
    margin: 15px 0 0;
}

/*
 * En-tête : bouton « Demander une démo » (remplace le menu secondaire) et
 * burger sous forme de vrai bouton.
 */
header .topBar .menu-secondaire { display: flex; align-items: center; }

header .topBar .menu-secondaire a.omn-bouton-entete {
    display: inline-block;
    background: #fff;
    color: #262633;
    border: 1px solid #fff;
    line-height: 44px;
    padding: 0 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .5px;
    white-space: nowrap;
    transition: all .6s ease 0s;
}

header .topBar .menu-secondaire a.omn-bouton-entete:hover {
    background: none;
    color: #fff;
}

button.btn-burger-menu {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

@media screen and (max-width: 1024px) {
    header .topBar .menu-secondaire a.omn-bouton-entete { line-height: 44px; padding: 0 14px; }
}

/* Écrans très étroits : bouton d'en-tête plus compact pour tenir avec le logo et le burger */
@media screen and (max-width: 380px) {
    header .topBar .logo-mainMenu { width: auto; flex: 1 1 auto; min-width: 0; padding-left: 12px; }
    header .topBar .logo-mainMenu .logo { width: 110px; margin-right: 8px; flex: 0 0 auto; }
    header .topBar .menu-secondaire a.omn-bouton-entete { font-size: 12px; letter-spacing: 0; padding: 0 8px; }
}

/* Bloc final : trois boutons de demande */
.cta-final__container p {
    font-size: 24px;
    line-height: 32px;
}

.cta-final .omn-demande,
.hero .omn-demande {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cta-final .omn-demande li,
.hero .omn-demande li { margin: 0; padding: 0; }

.cta-final .omn-demande a,
.hero .omn-demande a {
    padding: 0 20px;
    display: inline-block;
    min-width: 215px;
    line-height: 50px;
    border: 1px solid #262633;
    border-radius: 4px;
    font-weight: 600;
    font-size: 19px;
    text-align: center;
    letter-spacing: .5px;
    transition: all .6s ease 0s;
}

.cta-final .omn-demande__plein a,
.hero .omn-demande__plein a { background: #262633; color: #fff; }
.cta-final .omn-demande__plein a:hover,
.hero .omn-demande__plein a:hover { background: none; color: #262633; }
.cta-final .omn-demande__contour a,
.hero .omn-demande__contour a { background: none; color: #262633; }
.cta-final .omn-demande__contour a:hover,
.hero .omn-demande__contour a:hover { background: #262633; color: #fff; }

@media screen and (max-width: 1024px) {
    .cta-final__container p { font-size: 22px; line-height: 30px; }
}

/* Accueil : section « Nos solutions » */
.omn-solutions { max-width: 1160px; margin: 0 auto; padding: 40px 16px; }
.omn-solutions h2 { text-align: center; margin-bottom: 30px; font-size: 36px; line-height: 44px; font-weight: 600; color: #262633; }
.omn-solutions__cols { display: grid; grid-template-columns: 1fr; gap: 24px; }
.omn-solutions__col { background: #ecf2fd; border-radius: 4px; padding: 24px; }
.omn-solutions__col h3 { margin: 0 0 16px; font-size: 24px; line-height: 30px; font-weight: 600; }
.omn-solutions__col h3 a { color: #262633; }
.omn-solutions__col ul { list-style: none; margin: 0; padding: 0; }
.omn-solutions__col li + li { margin-top: 16px; }
.omn-solutions__col li a { display: flex; flex-direction: column; gap: 6px; color: #262633; }
.omn-solutions__col li img { max-width: 100%; height: auto; }

@media screen and (min-width: 768px) {
    .omn-solutions__cols { grid-template-columns: 1fr 1fr; }
}

/* Accueil : logos clients en grille de 3 colonnes sur mobile */
@media screen and (max-width: 767px) {
    .trust-section ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; justify-items: center; align-items: center; }
    .trust-section ul li { margin: 0; width: 100%; }
    .trust-section ul li img { width: 100%; max-width: 90px; height: auto; }
}

/* Logos produits (déclinaison claire pour fond sombre) : pastille sombre sur fond clair */
.omn-solutions__col li img { background: #262633; padding: 8px 12px; border-radius: 4px; box-sizing: content-box; align-self: flex-start; }

/* Pages catégorie : lien « Demander une démo » sous le bouton « Découvrir » de chaque carte produit */
#page-category-solution .slider-products ul li a.omn-lien-demo { display: block; margin-top: 12px; padding: 0; background: none; border: 0; border-radius: 0; font-size: 16px; line-height: 24px; color: #fff; text-decoration: underline; }
#page-category-solution .slider-products ul li a.omn-lien-demo:hover { background: none; color: #bbd5ff; }

/* Pages produit : boutons de demande sous le titre du hero, alignés à gauche */
#page-detail-solution .hero .omn-demande { justify-content: flex-start; margin-top: 30px; }

/* Page contact : rappel de la demande au-dessus du formulaire */
.omn-rappel { margin: 0 0 20px; font-size: 20px; line-height: 28px; font-weight: 700; color: #262633; }
.omn-rappel[hidden] { display: none; }

/* Pied de page : colonnes utiles */
footer .menu-footer {
    flex: 1 1 auto;
    justify-content: normal;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: start;
}
footer .menu-footer .omn-footer__col h3 { color: #fff; font-size: 16px; font-weight: 700; margin: 0 0 15px; }
footer .menu-footer .omn-footer__col ul { width: auto; margin: 0 !important; padding: 0; }
footer .menu-footer .omn-footer__col li { margin: 0 0 15px; }

@media (max-width: 1024px) {
    footer .menu-footer { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    footer .menu-footer { grid-template-columns: 1fr; }
    footer .menu-footer .omn-footer__col li { margin: 0; }
    footer .menu-footer .omn-footer__col li a { display: inline-block; min-height: 44px; line-height: 44px; }
    .omn-solutions h2 { font-size: 28px; line-height: 34px; }
    #page-category-solution .slider-products ul li a.omn-lien-demo { min-height: 44px; line-height: 44px; margin-top: 0; }
}

/* Accessibilité : focus visible et cibles tactiles de 44 px minimum */
a:focus-visible, button:focus-visible { outline: 2px solid #262633; outline-offset: 2px; }
/* Fonds sombres : en-tête, pied de page, cartes produit des pages catégorie */
header a:focus-visible, header button:focus-visible, footer a:focus-visible,
#page-category-solution .slider-products a:focus-visible { outline-color: #fff; }

/* Page contact : formulaire Cognito (seamless) aux couleurs du thème ; hauteur réservée pendant le chargement différé */
.omn-cognito { min-height: 400px; }
.contact-form .cog-cognito { --highlight: #262633; --border-radius: 4px; font-family: "Source Sans Pro", sans-serif; }
