/* Elyom Site – en-tête et pied de page */
.ely-hf-header { position: sticky; top: 0; z-index: 999; }
body.admin-bar .ely-hf-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ely-hf-header { top: 0; } }
.ely-topbar { max-height: 80px; overflow: hidden; transition: max-height .35s ease, padding .35s ease, opacity .25s ease; }
.ely-header.is-scrolled .ely-topbar { max-height: 0; opacity: 0; padding-top: 0 !important; padding-bottom: 0 !important; --padding-top: 0px; --padding-bottom: 0px; }
.ely-header-main { background: rgba(14, 22, 56, .94) !important; -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .3s ease; }
.ely-header.is-scrolled .ely-header-main { box-shadow: 0 12px 30px rgba(5, 10, 30, .35); }
.ely-nav { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ely-nav-link .elementor-heading-title a { display: inline-block; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease; }
.ely-nav-link .elementor-heading-title a:hover { background: rgba(255, 255, 255, .09); color: #fff !important; }
.ely-nav-link .elementor-heading-title a:focus-visible { outline: 2px solid #ED7224; outline-offset: 2px; }
.ely-nav-link.is-active .elementor-heading-title a { background: #fff; color: #0E1638 !important; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.ely-header-main .elementor-widget-image img { opacity: .92; transition: opacity .2s ease; }
.ely-header-main .elementor-widget-image img:hover { opacity: 1; }
.ely-promo-cta .elementor-heading-title a { text-decoration: underline; text-underline-offset: 3px; }
body:not(.elementor-editor-active) .ely-mnav { display: none !important; }
body:not(.elementor-editor-active) .ely-header.is-open .ely-mnav { display: flex !important; max-height: calc(100vh - 70px); overflow-y: auto; animation: ely-drop .25s ease; }
.ely-header.is-open .ely-topbar { display: none; }
.ely-mnav-link .elementor-heading-title a { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ely-mnav-link .elementor-heading-title a::after { content: "›"; font-size: 22px; line-height: 1; color: rgba(255, 255, 255, .35); transition: transform .2s ease, color .2s ease; }
.ely-mnav-link .elementor-heading-title a:hover, .ely-mnav-link.is-active .elementor-heading-title a { color: #ED7224 !important; }
.ely-mnav-link .elementor-heading-title a:hover::after, .ely-mnav-link.is-active .elementor-heading-title a::after { color: #ED7224; transform: translateX(3px); }
@keyframes ely-drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.ely-burger .elementor-icon { cursor: pointer; }
.ely-header.is-open .ely-burger .elementor-icon { background: #ED7224 !important; }
.ely-switch .elementor-shortcode { display: flex; }
.ely-foot-link .elementor-heading-title a { transition: color .2s ease; }
.ely-foot-link .elementor-heading-title a:hover { color: #ED7224 !important; }
.ely-wordmark .elementor-heading-title { font-size: clamp(56px, 15vw, 200px) !important; white-space: nowrap; overflow: hidden; user-select: none;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02)); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.ely-footer .elementor-icon:hover { transform: translateY(-2px); }
.ely-footer .elementor-icon { transition: transform .2s ease, background-color .2s ease; }
@media (prefers-reduced-motion: reduce) { .ely-topbar, .ely-header-main, .ely-nav-link a::after { transition: none; } .ely-header.is-open .ely-mnav { animation: none; } }

.ely-header-main .elementor-button, .ely-switch, .ely-header-main .elementor-button-text { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1320px) {
  .ely-nav-link .elementor-heading-title a { padding: 8px 11px; font-size: 13.5px !important; }
  .ely-header-main .elementor-widget-button .elementor-button { padding: 11px 14px !important; }
}
/* Aperçu des modèles dans Elementor : seulement l'en-tête ou le pied de page. */
body.elyom-hf-preview > header, body.elyom-hf-preview #site-header, body.elyom-hf-preview .site-header, body.elyom-hf-preview .page-header,
body.elyom-hf-preview #site-footer, body.elyom-hf-preview .site-footer { display: none !important; }

/* Pied de page : colonnes « Services » et « Elyom Tech » côte à côte sur mobile, contacts Cotonou | France en deux parties. */
.ely-footer { overflow-x: clip; }
.ely-foot-addr .elementor-heading-title { color: rgba(255,255,255,.55) !important; line-height: 1.45 !important; }
.ely-foot-city { min-width: 0; }
.ely-foot-city .ely-foot-addr .elementor-heading-title { overflow-wrap: anywhere; }
.ely-foot-city .ely-foot-link .elementor-heading-title { white-space: nowrap; }
@media (max-width: 1024px) {
  .ely-foot-cities { flex-direction: row !important; flex-wrap: nowrap !important; gap: 18px !important; }
  .ely-foot-cities > .e-con { flex: 1 1 0 !important; width: auto !important; min-width: 0; }
  .ely-foot-brand, .ely-foot-contact { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .ely-foot-grid { grid-template-columns: 1fr 1fr !important; column-gap: 20px !important; row-gap: 34px !important; }
  .ely-foot-brand, .ely-foot-contact { grid-column: 1 / -1; }
  .ely-foot-cities { gap: 10px !important; margin-bottom: 6px; }
  .ely-foot-city { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 12px 10px !important; }
  .ely-foot-link .elementor-heading-title { font-size: 14.5px !important; }
  .ely-foot-city .elementor-heading-title { font-size: 14px !important; }
  .ely-foot-city .ely-foot-link .elementor-heading-title { font-size: 13px !important; letter-spacing: -.1px; }
  .ely-foot-city .ely-foot-addr .elementor-heading-title { font-size: 12.5px !important; }
  /* Le bouton « Mon devis en 1 min » ne cache plus le bas du pied de page. */
  .ely-footer > .e-con-inner > .e-con:last-child, .ely-footer > .e-con:last-child { padding-bottom: 84px !important; }
}

/* Sur les articles et pages sans Elementor, le thème colore les liens en rose : l'en-tête et le pied gardent leurs couleurs. */
.ely-hf .elementor-heading-title a, .ely-hf .elementor-icon-list-item a { color: inherit !important; }

/* 2.5 : bandeau newsletter du pied de page */
.ely-foot-nl { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 12px; }
.ely-foot-nl .elementor-shortcode { width: 100%; }
