/* ============================================================
   NAV DROPDOWN + HAMBURGER — partagé sur toutes les pages
============================================================ */

/* ============================================================
   ANIMATED BLOB BACKGROUND — 4 independent luminous patches
   Each blob drifts at its own speed, creating non-uniform glow
============================================================ */
@keyframes blob1 {
  0%   { background-position: 15% 25%; }
  25%  { background-position: 80% 60%; }
  50%  { background-position: 55% 90%; }
  75%  { background-position: 10% 55%; }
  100% { background-position: 15% 25%; }
}
@keyframes blob2 {
  0%   { background-position: 85% 10%; }
  30%  { background-position: 20% 70%; }
  60%  { background-position: 70% 40%; }
  100% { background-position: 85% 10%; }
}
@keyframes blob3 {
  0%   { background-position: 50% 80%; }
  35%  { background-position: 90% 15%; }
  70%  { background-position: 5%  55%; }
  100% { background-position: 50% 80%; }
}
@keyframes blob4 {
  0%   { background-position: 30% 50%; }
  40%  { background-position: 75% 85%; }
  80%  { background-position: 45% 10%; }
  100% { background-position: 30% 50%; }
}

/* Animate each pseudo-layer via a single combined keyframe */
@keyframes navyWave {
  0%   { background-position: 15% 25%,  85% 10%,  50% 80%,  30% 50%; }
  15%  { background-position: 70% 50%,  30% 65%,  80% 25%,  80% 80%; }
  30%  { background-position: 20% 80%,  70% 30%,  15% 55%,  55% 20%; }
  45%  { background-position: 85% 15%,  10% 80%,  65% 90%,  10% 65%; }
  60%  { background-position: 40% 60%,  60% 20%,  35% 15%,  90% 35%; }
  75%  { background-position: 10% 35%,  90% 55%,  75% 60%,  40% 90%; }
  90%  { background-position: 60% 90%,  25% 10%,  25% 35%,  70% 10%; }
  100% { background-position: 15% 25%,  85% 10%,  50% 80%,  30% 50%; }
}

footer,
.page-hero,
.blog-hero,
.article-hero {
  background:
    radial-gradient(ellipse 55% 65% at center, rgba(45, 75, 210, 0.38)  0%, transparent 68%),
    radial-gradient(ellipse 65% 50% at center, rgba(35, 95, 190, 0.34) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at center, rgba(18, 43, 150, 0.42) 0%, transparent 72%),
    radial-gradient(ellipse 60% 55% at center, rgba(8, 24, 100, 0.44) 0%, transparent 65%),
    #081a32 !important;
  background-size: 380% 420%, 300% 360%, 440% 380%, 320% 400%, 100% 100% !important;
  animation: navyWave 18s ease-in-out infinite !important;
}

.topinfo-bar {
  position: sticky;
  top: 0;
  left: 0; right: 0;
  z-index: 201;
  height: 36px;
  background: #010013;
  border-bottom: 1px solid rgba(255,255,255,.07);
  display: flex;
  align-items: center;
  justify-content: center;
}
.topinfo-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .7rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .2px;
}
.topinfo-item {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255,255,255,.55);
  transition: color .18s;
}
.topinfo-item:hover { color: rgba(255,255,255,.85); }
.topinfo-sep { color: rgba(255,255,255,.18); }
@media (max-width: 640px) {
  .topinfo-bar { display: none; }
}

nav {
  background: #02011f !important;
  animation: none !important;
  position: sticky !important;
  top: 36px !important;
  z-index: 200 !important;
  border-bottom: 1px solid rgba(255,255,255,.08) !important;
}
@media (max-width: 640px) {
  nav { top: 0 !important; }
}

.nav-inner {
  position: relative !important;
  max-width: 1260px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 68px !important;
  width: 100% !important;
}

.nav-left {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-links a {
  color: rgba(255,255,255,.78) !important;
  font-size: .875rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  white-space: nowrap;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.nav-actions .nav-vision-link,
.nav-actions .nav-blog-link {
  color: rgba(255,255,255,.78) !important;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav-actions .nav-vision-link:hover,
.nav-actions .nav-blog-link:hover {
  color: #fff !important;
}

/* Logo image dans la nav */
.nav-logo-img-wrap { display: inline-flex; align-items: center; text-decoration: none !important; }
.nav-logo-img { height: 38px !important; width: auto !important; display: block !important; }

/* Nom du site à côté du logo (injecté par nav.js si absent du HTML) */
.nav-site-name {
  margin-left: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #fff;
}
.nav-site-dot { color: #EFBF04; }
@media (max-width: 480px) {
  .nav-inner { padding: 0 14px !important; gap: 8px; }
  .nav-logo-img { height: 30px !important; }
  .nav-site-name { font-size: .82rem; margin-left: 7px; }
  .nav-phone-mobile { font-size: .72rem !important; gap: 4px; }
}

/* Logo dans le footer (pages simples) */
.footer-brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 40px 24px 24px;
}
.footer-logo-img { height: 56px; width: auto; }
.footer-powered-by { display: none !important; }

/* ============================================================
   FULL FOOTER — injecté par nav.js, identique sur toutes les pages
============================================================ */
footer {
  background: #02011f !important;
  color: rgba(255,255,255,.55) !important;
  padding: 56px 0 32px !important;
  border-top: 1px solid rgba(255,255,255,.06) !important;
  text-align: left !important;
  font-size: 1rem !important;
}

footer .footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

footer .footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 28px;
}
footer .footer-logo-wrap { display: inline-flex; }
footer .footer-logo-img-lg { height: 44px; width: auto; }

footer .footer-divider {
  height: 1px;
  background: rgba(255,255,255,.12);
  margin-bottom: 40px;
}

footer .footer-inner {
  margin-bottom: 8px;
}

footer .footer-social { display: flex; align-items: center; gap: 12px; }
footer .footer-social-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: rgba(255,255,255,.55);
}
footer .footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  transition: background .2s, color .2s;
}
footer .footer-social-btn:hover {
  background: var(--gold, #EFBF04);
  color: #040273;
}

footer .footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

footer .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }

footer .footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}

footer .footer-col a:hover { color: #fff; }

.footer-legal-bar {
  background: #010013;
}
.footer-legal-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
  text-align: center;
}
.footer-legal-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.footer-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-legal-links a:hover { color: #fff; }

/* Numéro de téléphone à gauche du hamburger, visible seulement sur mobile */
.nav-phone-mobile {
  display: none;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.85) !important;
  font-size: .8rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.nav-phone-mobile:hover { color: #fff !important; }
@media (max-width: 760px) {
  .nav-phone-mobile { display: inline-flex; }
}

/* Hamburger button */
.nav-ham {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 6px;
  line-height: 1;
  border-radius: 6px;
  transition: background .15s;
}
.nav-ham:hover { background: rgba(255,255,255,.1); }

@media (max-width: 760px) {
  .nav-links { display: flex !important; gap: 16px !important; }

  /* Bouton menu (trois tirets) visible sur téléphone */
  .nav-ham {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Les liens passent dans le menu déroulant du hamburger */
  /* État ouvert/fermé piloté en JS (nav.js) via style inline sur max-height/opacity/pointer-events */
  .nav-actions {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin-left: 0 !important;
    background: #02011f !important;
    border-top: 1px solid rgba(255,255,255,.08) !important;
    border-bottom: 1px solid rgba(255,255,255,.08) !important;
    overflow: hidden !important;
    max-height: 0px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: max-height .25s ease, opacity .2s ease !important;
  }
  .nav-actions .nav-vision-link,
  .nav-actions .nav-blog-link {
    padding: 16px 24px !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
  }
  .nav-actions .nav-contact-btn {
    margin: 16px 24px !important;
    text-align: center !important;
  }
}

@media (min-width: 761px) {
  .nav-ham { display: none !important; }
}

/* Contact button in nav */
.nav-contact-btn {
  background: #EFBF04 !important;
  color: #040273 !important;
  border: 1px solid #EFBF04 !important;
  padding: 8px 20px !important;
  border-radius: 0 !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
  transition: background .2s, border-color .2s !important;
}
.nav-contact-btn:hover {
  background: #d9ad04 !important;
  border-color: #d9ad04 !important;
}
