/* ==========================================================================
   Kaydan Mining — surcouche applicative (Laravel)
   Styles ajoutés au thème d'origine : messages de formulaire, champs invalides.
   ========================================================================== */

.alert_front {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-family: 'Questrial', sans-serif;
    font-size: 15px;
    line-height: 1.45;
}

.alert_front i {
    margin-top: 2px;
    flex-shrink: 0;
}

.alert_front--success {
    background: #e7f5ee;
    border-left: 3px solid #1f8a5b;
    color: #14603f;
}

.alert_front--error {
    background: #fdecec;
    border-left: 3px solid #c0392b;
    color: #8e2b20;
}

.global_form .form-control.is-invalid {
    border-color: #c0392b;
}

.global_form .text-red {
    color: #c0392b;
}

/* Mention légale reCAPTCHA sous le bouton d'envoi */
.recaptcha_notice {
    font-family: 'Questrial', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    opacity: .7;
}

/* Le badge reCAPTCHA doit rester au-dessus des sections animées */
.grecaptcha-badge {
    z-index: 9999;
}

/* État « envoi en cours » du bouton du formulaire de contact */
.btn_submit.is_loading {
    pointer-events: none;
    cursor: progress;
    opacity: .75;
}

/* La pastille du bouton est un carré blanc : on l'efface pendant la rotation
   pour ne laisser tourner que le glyphe. */
.btn_submit.is_loading i {
    background: transparent;
    color: #fff;
}

/* ==========================================================================
   Sélecteur de langue
   ========================================================================== */
.lang_switch{
    height: 100%;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    display: flex;
    align-items: center;
}
.lang_switch ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}
.lang_switch li{
    height: 100%;
}
/*.lang_switch li + li::before {
    content: '';
    display: inline-block;
    width: 2px;
    background: rgb(255 255 255);
    opacity: 1;
    vertical-align: middle;
    position: absolute;
    height: 100%;
}*/
.lang_switch a,
.lang_switch span {
    display: flex;
    padding: 4px 11px;
    font-family: "Big Shoulders", sans-serif;
    letter-spacing: .06em;
    text-decoration: none;
    color: #ffffff;
    transition: opacity .2s ease, color .2s ease;
    height: 100%;
    align-items: center;
}

.lang_switch a:hover,
.lang_switch a:focus-visible {
    opacity: 1;
    color: var(--orangebase);
}

.lang_switch li.active span {
    opacity: 1;
    font-weight: 600;
    color: var(--orangebase);
    background: #fff;
}

/* Dans le menu plein écran, le sélecteur se place sous les mentions légales */
.lang_switch--menu {
    margin-top: 20px;
}
.lang_switch--menu a,
.lang_switch--menu span {
    font-size: 15px;
}

.scrolling_page .lang_switch a, .lang_switch span {
  color: #000;
}

/* ==========================================================================
   Référencement / accessibilité
   ========================================================================== */

/* Texte lu par les moteurs et les lecteurs d'écran, invisible à l'œil.
   On utilise la technique du clip plutôt que display:none ou visibility:hidden,
   que Google peut déprécier. */
.seo_text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Le titre de la page d'accueil porte désormais le vrai texte ; l'animation
   se joue dans un span interne, qui doit conserver le rendu d'origine. */
.hero_title .element {
    display: inline;
}

/* Le compteur « + de 100 équipements » était balisé en <h1> par erreur : il
   volait la balise du titre principal. Repassé en <h3>, il reprend ici les
   règles exactes de h1 du thème, breakpoints compris, pour un rendu inchangé. */
.counter_xl {
    font-size: calc(160 / var(--base-px) * 1rem);
    font-family: "Big Shoulders", sans-serif;
    font-weight: 800;
    line-height: 1.1em;
    text-transform: uppercase;
}

@media screen and (max-width: 1199px) {
    .counter_xl { font-size: calc(106 / var(--base-px) * 1rem); }
}

@media screen and (max-width: 749px) {
    .counter_xl { font-size: calc(60 / var(--base-px) * 1rem); }
}
