/* Formulaire Jetpack : empêcher les champs de dépasser sur mobile */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="url"],
.contact-form textarea,
.contact-form select {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* Sécurise la largeur globale du formulaire */
.contact-form,
.contact-form form {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
/* Sécurisation générale de l’affichage mobile */
@media screen and (max-width: 767px) {
    html,
    body {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: clip !important;
    }

    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    img,
    video,
    iframe,
    textarea,
    input,
    select {
        max-width: 100% !important;
    }
}
}
/* Boutons du Hero : changement de couleur au survol */
.bouton-hero {
  transition: color 0.3s ease, background-color 0.3s ease;
}

.bouton-hero:hover,
.bouton-hero:focus,
.bouton-hero:active {
  color: #B75A0A !important;
}/* ===== MENU STICKY ===== */

/* Barre principale */
.menu-sticky {
    position: fixed !important;

    top: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    right: 0 !important;

    inset-block-start: 0 !important;
    inset-block-end: auto !important;

    transform: none !important;
    translate: none !important;

    width: 100% !important;
    height: 60px !important;
    min-height: 60px !important;

    margin: 0 !important;
    padding: 0 8% !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;

    box-sizing: border-box !important;
    overflow: visible !important;

    z-index: 99999 !important;

    border-bottom: 2px solid #B87333 !important;
}

/* Logo */
.menu-sticky img {
    width: 46px !important;
    height: auto !important;
    flex-shrink: 0 !important;
}

/* Navigation centrée dans l'écran */
.menu-sticky .menu-navigation {
    position: absolute !important;

    left: 50% !important;
    top: 50% !important;

    transform: translate(-50%, -50%) !important;

    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: min(1200px, 70vw) !important;

    gap: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Liens du menu */
.menu-sticky .menu-navigation a {
    color: #ffffff !important;
    transition: color 0.25s ease;
    white-space: nowrap !important;
}

/* Survol cuivre */
.menu-sticky .menu-navigation a:hover {
    color: #B87333 !important;
}
/* ===== MENTION LÉGALE FOOTER ===== */

.mention-legale a {
    transition: color 0.25s ease;
}

.mention-legale a:hover {
    color: #B87333 !important;
}
/* ===== MENU MOBILE ===== */

.menu-mobile-panel {
    display: none !important;
}

.menu-mobile-panel.menu-mobile-open {
    display: flex !important;
}
/* Liens du menu mobile */
.menu-mobile-panel a {
    color: #ffffff !important;
    transition: color 0.25s ease !important;
}

/* Hover / appui cuivre */
.menu-mobile-panel a:hover,
.menu-mobile-panel a:focus,
.menu-mobile-panel a:active {
    color: #B87333 !important;
}
@media (max-width: 767px) {
    .hero-mobile {
        padding-top: 70px !important;
    }
}
/* ===== VISIBILITÉ MENU MOBILE ===== */

@media (min-width: 1025px) {
    .menu-mobile-header {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .menu-mobile-header {
        display: flex !important;
    }
}
/* ====== SELECTEUR LANGUE DESKTOP ====== */

.switch-language-desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: "GFS Didot", serif;
    font-size: 19px;
    line-height: 1;
    white-space: nowrap;
    font-weight: 400;
}
.switch-language-desktop a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.switch-language-desktop a:hover {
    color: #B87333 !important;
}

.switch-language-desktop .lang-separator {
    color: #ffffff;
}

/* Français actif */
html[lang^="fr"] .switch-language-desktop .lang-fr {
    color: #B87333 !important;
}

/* Anglais actif */
html[lang^="en"] .switch-language-desktop .lang-en {
    color: #B87333 !important;
}
/* ===== SELECTEUR LANGUE MOBILE ===== */

.switch-language-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    font-family: "GFS Didot", serif;
    font-size: 22px;
    line-height: 1;
	transform: translateX(70px);
}

.switch-language-mobile a {
    color: #ffffff;
    text-decoration: none;
}

.switch-language-mobile .lang-separator {
    color: #ffffff;
}

/* Français actif */
html[lang^="fr"] .switch-language-mobile .lang-fr {
    color: #c45a00;
}

/* Anglais actif */
html[lang^="en"] .switch-language-mobile .lang-en {
    color: #c45a00;
}
/* Ajustements tablette portrait */
@media (min-width: 600px) and (max-width: 1024px) {
    .switch-language-mobile {
        transform: translateX(220px) !important;
    }
}
}
/* Hero - tablette paysage / petit écran */
@media (min-width: 1025px) and (max-width: 1300px) {
    .hero-text {
        padding-top: 100px !important;
        padding-bottom: 60px !important;
        box-sizing: border-box;
    }
}
/* ===== HOVER LIEN CGV FOOTER ===== */

.footer-cgv a {
    transition: color 0.25s ease !important;
}

.footer-cgv a:hover,
.footer-cgv a:focus,
.footer-cgv a:active {
    color: #B87333 !important;
}
/* Empêche le débordement horizontal sur mobile */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}