/* frt-core : sélecteur de langue, fil d'Ariane, réservation, bouton WhatsApp, bandeau cookies.
   Couleurs : jetons de design/jetons.md (palette « Soleil »), valeurs de secours si les variables manquent. */

.frt-flag { width: 22px; height: 15px; flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(38,38,38,.2); vertical-align: middle; }

.frt-langues { position: relative; }
.frt-langues summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; padding: 6px 10px; border: 1px solid var(--frt-filet-fort, rgba(255,255,255,.28)); border-radius: 999px; font-size: 14px; }
.frt-langues summary::-webkit-details-marker { display: none; }
.frt-langues ul { position: absolute; right: 0; top: 46px; z-index: 50; margin: 0; padding: 8px; list-style: none; background: var(--frt-blanc, #FFFFFF); color: var(--frt-encre, #262626); border-radius: 10px; min-width: 170px; box-shadow: 0 10px 30px rgba(38,38,38,.25); }
.frt-langues li a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; color: inherit; text-decoration: none; border-radius: 6px; }
.frt-langues li a:hover, .frt-langues li a:focus-visible { background: var(--frt-sable, #FEF7D7); }
.frt-langues li a[aria-current] { font-weight: 700; }
.frt-langues li a small { display: block; font-size: 12px; font-weight: 400; color: var(--frt-gris, #5E5E5E); line-height: 1.3; }
.frt-langues li a.frt-langue--absente { color: var(--frt-gris, #5E5E5E); }
.frt-langues-liste { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.frt-langues-liste a { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.frt-langues-liste a small { display: none; }

.frt-fil ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.frt-fil li + li::before { content: "›"; margin-right: 6px; opacity: .6; }
.frt-fil a { color: inherit; }

.frt-bookingkit--telephone { display: flex; flex-direction: column; gap: 8px; }
.frt-bookingkit--telephone p { margin: 0; }

.frt-whatsapp-flottant { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--frt-fort, #9A4E0A); color: var(--frt-sur-fort, #FFFFFF); box-shadow: 0 6px 20px rgba(38,38,38,.3); }
.frt-whatsapp-flottant svg { width: 30px; height: 30px; }
.frt-whatsapp-flottant:hover, .frt-whatsapp-flottant:focus-visible { filter: brightness(1.15); }

.frt-cookies { position: fixed; left: 20px; bottom: 20px; z-index: 100; max-width: 420px; padding: 20px; background: var(--frt-blanc, #FFFFFF); color: var(--frt-encre, #262626); border-radius: 14px; box-shadow: 0 10px 40px rgba(38,38,38,.3); font-size: 15px; line-height: 1.5; }
.frt-cookies[hidden] { display: none; }
.frt-cookies p { margin: 0 0 12px; }
.frt-cookies__titre { font-weight: 700; }
.frt-cookies__boutons { display: flex; gap: 10px; }
/* deux boutons de même poids (CNIL : refuser aussi simple qu'accepter) */
.frt-cookies__boutons button { flex: 1; padding: 10px 16px; border: 2px solid var(--frt-fort, #9A4E0A); border-radius: 999px; background: var(--frt-blanc, #FFFFFF); color: var(--frt-fort, #9A4E0A); font: inherit; font-weight: 600; cursor: pointer; }
.frt-cookies__boutons button:hover, .frt-cookies__boutons button:focus-visible { background: var(--frt-fort, #9A4E0A); color: var(--frt-sur-fort, #FFFFFF); }
@media (max-width: 520px) { .frt-cookies { left: 12px; right: 12px; bottom: 12px; max-width: none; } .frt-whatsapp-flottant { bottom: 12px; right: 12px; } }

/* S4 : base du site construit avec Elementor (les widgets atomiques héritent de la police et de la couleur) */
body { font-family: var(--frt-police, "Instrument Sans", system-ui, sans-serif); font-size: var(--frt-t-corps, 17px); line-height: 1.6; color: var(--frt-encre, #262626); background: var(--frt-blanc, #FFFFFF); -webkit-text-size-adjust: 100%; }
:focus-visible { outline: 3px solid var(--frt-soleil, #FABA00); outline-offset: 3px; }
.frt-visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html { scroll-padding-top: 120px; }

/* en-tête collant (gabarit Theme Builder) qui rétrécit au défilement ; rien ne bouge avec prefers-reduced-motion */
.elementor-location-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 40; }
.frt-entete__barre, .frt-logo { transition: min-height .2s ease, width .2s ease, height .2s ease; }
body.frt-defile .elementor .frt-entete__barre { min-height: 84px; }
body.frt-defile .elementor .frt-logo { width: 64px; height: 64px; }
@media (max-width: 767px) { body.frt-defile .elementor .frt-entete__barre { min-height: 72px; } body.frt-defile .elementor .frt-logo { width: 56px; height: 56px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
/* le thème Hello colore tous les liens (#c36) : ici ils prennent la couleur de leur bloc */
body a, body a:hover, body a:active { color: inherit; }
