/* mu-plugins/enixo/layout.css — landing page layout (header, hero, freins, fonctionnement, beta, formulaire) */

/* --- Header --- */
.enixo-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #ececf1;
}
.enixo-header-inner {
  position: relative;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.enixo-logo-link { display: flex; flex: 0 0 auto; }
.enixo-header img.enixo-logo { width: auto; height: 52px; max-width: none; flex: 0 0 auto; display: block; }
.enixo-mobile-panel { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 24px; }
.enixo-nav { display: flex; gap: 28px; flex-wrap: wrap; }
a.enixo-nav-link { font-size: 15px; font-weight: 600; color: #33333d; }
.enixo-header-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Menu hamburger (mobile) --- */
button.enixo-menu-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
button.enixo-menu-toggle:hover,
button.enixo-menu-toggle:focus {
  background: transparent;
}
button.enixo-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #202F75;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.enixo-menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.enixo-menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.enixo-menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  button.enixo-menu-toggle { display: flex; }
  .enixo-mobile-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    background: #fff;
    padding: 20px 32px 28px;
    border-bottom: 1px solid #ececf1;
    box-shadow: 0 12px 24px rgba(32, 47, 117, 0.1);
  }
  .enixo-mobile-panel.is-open { display: flex; }
  .enixo-nav { flex-direction: column; gap: 18px; }
  .enixo-header-ctas { flex-direction: column; align-items: stretch; }
  .enixo-header-ctas a { text-align: center; }
}

a.enixo-btn-header-outline {
  border: 1.5px solid #70247F;
  color: #70247F;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
a.enixo-btn-header-outline:hover {
  background: #70247F;
  color: #fff;
  border-color: #70247F;
}
a.enixo-btn-header-solid {
  background: linear-gradient(135deg, #202F75, #70247F);
  color: #fff;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  display: inline-block;
  transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}
a.enixo-btn-header-solid:hover {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(112, 36, 127, 0.35);
}

/* --- Hero --- */
.enixo-hero { background: linear-gradient(135deg, #202F75, #70247F); }
.enixo-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 24px 64px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 56px;
  align-items: center;
}
.enixo-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.enixo-hero-title {
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  color: #fff;
  margin: 0 0 20px;
}
.enixo-hero-subtitle {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
  max-width: 520px;
}
.enixo-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
a.enixo-btn-hero-light {
  background: #fff;
  color: #70247F;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  display: inline-block;
  transition: transform .15s ease, box-shadow .15s ease;
}
a.enixo-btn-hero-light:hover {
  color: #70247F;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
a.enixo-btn-hero-outline {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
a.enixo-btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}
.enixo-hero-status-text { font-size: 14px; color: rgba(255, 255, 255, 0.8); font-weight: 600; line-height: 1.8; }
.enixo-hero-status img.enixo-hero-status-logo { height: 18px; width: auto; max-width: none; vertical-align: middle; margin-left: 4px; }
.enixo-hero-visual {
  width: 100%;
  min-height: 340px;
  display: flex;
}
.enixo-hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: perspective(1000px) rotateX(0deg) rotateY(-14deg);
  transition: transform .2s ease-out;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .enixo-hero-visual-img { transition: none; }
}

/* --- Contact / formulaire --- */
.enixo-contact { background: #f2f0f6; scroll-margin-top: 80px; }
.enixo-contact-inner { max-width: 900px; margin: 0 auto; padding: 72px 24px; }
.enixo-contact-intro { max-width: 640px; margin: 0 auto 36px; text-align: center; }

/* --- Footer (reusable block) --- */
.enixo-footer { border-top: 1px solid #ececf1; }
.enixo-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.enixo-footer-logo { height: 42px; }
.enixo-footer-links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14px; }
a.enixo-footer-link { color: #6b6b76; font-weight: 600; }
.enixo-footer-copyright { font-size: 13px; color: #9a9aa4; }
