:root {
  --aindev-blue: #005b9a;
  --aindev-blue-glow: #0077c8;
  --aindev-cyan: #1d92e1;
  --nf-black: #000000;
  --nf-dark: #12151a;
  --nf-card: #141414;
  --nf-gray: #808080;
  --nf-white: #ffffff;
  --font-main:
    "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

html {
  scrollbar-gutter: stable;
  background-color: var(--nf-black);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; /* Pour Firefox Android */
}

/* Supprime le flash bleu de sélection tactile sur iOS et Android */
* {
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--nf-black);
  color: var(--nf-white);
  font-family: var(--font-main);
  overflow-x: hidden;
  user-select: none;
  overscroll-behavior-y: contain; /* Empêche le pull-to-refresh intempestif sur Chrome Android */
}

/* ========================================================
   1. ÉCRAN SÉLECTION DE PROFIL ("Qui est-ce ?")
   ======================================================== */
#profile-gate {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse 120% 85% at 50% -10%,
    #003860 0%,
    #002038 38%,
    #00111f 65%,
    #00070d 85%,
    #000000 100%
  );
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Disparition instantanée pour éviter le flash de la page d'accueil */
#profile-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none !important;
}

.profile-brand-logo {
  position: absolute;
  top: 36px;
  left: 48px;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--aindev-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.profile-header-group {
  text-align: center;
  margin-bottom: 2.5rem;
}

.profile-title {
  font-size: 3.2rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.profile-subtitle {
  font-size: 1.05rem;
  color: #a0b2c6;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.profile-list {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.profile-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.profile-box:hover {
  transform: translateY(-4px);
}

/* Tuiles arrondies style Netflix */
.profile-avatar-wrap {
  width: 140px;
  height: 140px;
  border-radius: 15px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
  background-color: #0b1c2b;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.2, 0, 0, 1);
}

.profile-box:hover .profile-avatar-wrap {
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.6);
  transform: scale(1.04);
}

.profile-avatar-wrap img,
.profile-avatar-wrap svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-avatar-wrap img {
  border-radius: 10px;
}

.profile-avatar-wrap.icon-wrap i {
  font-size: 3rem;
  color: #888888;
  transition: color 0.2s ease;
}

.profile-box:hover .profile-avatar-wrap.icon-wrap i {
  color: var(--aindev-cyan);
}

.profile-box span {
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 400;
  color: #ffffff;
}

.profile-manage-btn {
  margin-top: 4.2rem;
  padding: 10px 28px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50px;
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.profile-manage-btn:hover {
  border-color: var(--aindev-cyan);
  background-color: rgba(0, 91, 154, 0.15);
}

/* ========================================================
   2. HEADER & MENU NAVIGATION AVEC PASTILLE
   ======================================================== */
.mobile-nav-toggle,
.mobile-nav-drawer {
  display: none;
}

/* ========================================================
   HEADER AVEC DÉGRADÉ PROGRESSIF ULTRA-FLUIDE
   ======================================================== */
.nf-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  z-index: 1000;
  /* 1. Dégradé léger par défaut au repos */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.25) 60%,
    transparent 100%
  );
  transition: height 0.3s ease;
}

/* 2. Couche sombre superposée pour le scroll */
.nf-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(5, 7, 10, 0.98) 0%,
    rgba(5, 7, 10, 0.85) 65%,
    rgba(5, 7, 10, 0) 100%
  );
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. Au scroll : le dégradé sombre apparaît en douceur */
.nf-header.scrolled::after {
  opacity: 1;
}

/* Espacement entre le logo AINDEV et le menu */
.nf-left-nav {
  display: flex;
  align-items: center;
  gap: 40px; /* Plus d'espace avec le logo */
}

.nf-logo {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--aindev-cyan);
  letter-spacing: 1.5px;
  cursor: pointer;
  text-shadow: 0 0 12px rgba(0, 91, 154, 0.4);
}

/* Conteneur de la barre de navigation avec plus d'assise */
.nf-menu-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
  margin: 0;
  background: transparent;
  padding: 6px 10px; /* Plus d'air intérieur */
}
.nf-menu-nav-wrap {
  position: relative;
  background: rgba(10, 16, 24, 0.72);
  border-radius: 50px;
  border: 1px solid rgba(0, 91, 154, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Curseur animé qui glisse */
.nav-pill-indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  width: 0;
  border-radius: 50px;
  background: linear-gradient(
    135deg,
    rgba(0, 91, 154, 0.5) 0%,
    rgba(0, 140, 255, 0.3) 100%
  );
  border: 1px solid rgba(0, 210, 255, 0.6);
  box-shadow:
    0 0 16px rgba(0, 140, 255, 0.5),
    inset 0 0 10px rgba(0, 210, 255, 0.3);
  pointer-events: none;
  z-index: 1;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
    width 0.35s cubic-bezier(0.34, 1.3, 0.64, 1),
    opacity 0.25s ease;
  opacity: 0;
}

/* Liens internes plus confortables au clic (Règle unique) */
.nf-menu-links a.nav-link {
  position: relative;
  z-index: 2;
  color: #a6b2c2;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 18px; /* Aéré */
  border-radius: 50px;
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
  display: block;
  white-space: nowrap;
}

.nf-menu-links a.nav-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(0, 210, 255, 0.8);
}

.nf-menu-links a.nav-link.active {
  color: #ffffff;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.9);
}

/* Bouton Contact dans la barre */
.nf-menu-links a.nav-link.nav-contact-btn {
  padding: 8px 20px;
  margin-left: 4px;
  border-radius: 50px;
  border: none;
  box-shadow:
    inset 0 0 0 1px rgba(29, 146, 225, 0.5),
    0 0 10px rgba(0, 91, 154, 0.2);
  background: rgba(29, 146, 225, 0.08);
  color: #ffffff;
  font-weight: 700;
  position: relative;
  z-index: 2;
  transition: all 0.25s ease;
}

.nf-menu-links a.nav-link.nav-contact-btn:hover {
  background: rgba(29, 146, 225, 0.2);
  box-shadow:
    inset 0 0 0 1px var(--aindev-cyan),
    0 0 16px rgba(29, 146, 225, 0.4);
  color: #ffffff;
}

.nf-menu-links a.nav-link.nav-contact-btn.active {
  background: transparent;
  box-shadow: none;
}

.nf-right-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 1.1rem;
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.user-pill img {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(0, 91, 154, 0.6);
}

/* ========================================================
   3. BILLBOARD / BANNIÈRE PRINCIPALE
   ======================================================== */
.billboard {
  position: relative;
  height: 100vh !important; /* Solution de repli universelle */
  height: 100dvh !important;
  min-height: 480px;
  display: flex;
  align-items: center;
  padding: 0 4%;
  overflow: hidden;
  background-color: var(--nf-black);
}

.billboard-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.billboard-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  z-index: 1;
}

.billboard-bg-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%) scale(1.05);
  filter: brightness(0.65);
  border: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.billboard-bg-wrap iframe.is-loaded {
  opacity: 1;
}

.billboard-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(77deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 65%),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 65%, var(--nf-black) 100%);
}

.billboard-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin-top: 50px;
}

.billboard-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--aindev-cyan);
}

.billboard-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
}

.meta-logo-img {
  height: 20px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.85));
}

.billboard-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #a3a3a3;
  margin-bottom: 20px;
  font-weight: 600;
}

.meta-tag-match {
  color: #46d369;
  font-weight: 700;
}

.meta-tag-badge {
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 1px 6px;
  font-size: 0.75rem;
  border-radius: 2px;
}

.billboard-desc {
  font-size: 1.1rem;
  line-height: 1.45;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
  margin-bottom: 25px;
}

/* ========================================================
   ANIMATION D'APPARITION DU HERO (BLOC FRANC & RAPIDE)
   ======================================================== */
@keyframes heroFadeUp {
  0% {
    opacity: 0;
    transform: translateY(32px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 1. Bloc masqué et décalé vers le bas au départ */
.billboard-content {
  opacity: 0;
  transform: translateY(32px);
  will-change: opacity, transform;
}

/* 2. Arrivée vive et nette (ease-out dynamique) */
.billboard.is-revealed .billboard-content {
  animation: heroFadeUp 0.4s cubic-bezier(0, 0, 0.2, 1) forwards;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .billboard-content {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ========================================================
   BASE COMMUNE DES BOUTONS .btn-nf (HERO & MODALES)
   ======================================================== */
.btn-nf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    transform 0.25s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    filter 0.2s ease;
}

/* 1. Bouton Blanc (Play / Visiter le site / Demander un devis) */
/* 1. Bouton Principal : Finition nacrée & liseré de verre */
.btn-nf-play {
  background: linear-gradient(180deg, #ffffff 0%, #f1f6fc 100%) !important;
  color: #0b1320 !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(29, 146, 225, 0.2),
    /* Aura cyan discrète au repos */ inset 0 1px 0 rgba(255, 255, 255, 1) !important;
  transition:
    transform 0.25s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.25s ease,
    filter 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
}

.btn-nf-play:hover {
  background: #ffffff !important;
  color: #000000 !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 1px var(--aindev-cyan),
    0 0 18px rgba(29, 146, 225, 0.85),
    0 0 38px rgba(0, 119, 200, 0.65),
    0 0 65px rgba(0, 91, 154, 0.45) !important;
  filter: brightness(1.05);
}

.btn-nf-play:active {
  transform: translateY(0) scale(1);
}

/* 2. Bouton Transparent / Fumé (Info / Qui suis-je ?) */
.btn-nf-info {
  background-color: rgba(109, 109, 110, 0.7);
  color: var(--nf-white) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.btn-nf-info:hover {
  background-color: rgba(18, 28, 42, 0.9) !important;
  color: #ffffff !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 0 1px var(--aindev-cyan),
    0 0 16px rgba(29, 146, 225, 0.85),
    0 0 35px rgba(0, 119, 200, 0.65),
    0 0 60px rgba(0, 91, 154, 0.45) !important;
  filter: brightness(1.08);
}

.btn-nf-info:active {
  transform: translateY(0) scale(1);
}

/* ========================================================
   SPÉCIFICITÉS DES BOUTONS DU HERO (DESKTOP)
   ======================================================== */
.billboard-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-left-stack {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Hauteur verrouillée uniquement pour le Hero */
.billboard-actions .btn-nf {
  height: 48px !important;
  padding: 0 24px !important;
  margin: 0;
}

/* Pastille cyan pulsante */
.hero-live-status {
  width: 9px;
  height: 9px;
  background-color: var(--aindev-cyan);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(29, 146, 225, 0.85);
  flex-shrink: 0;
  animation: pulseLiveDotCyan 2s infinite ease-in-out;
}

@keyframes pulseLiveDotCyan {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 8px rgba(29, 146, 225, 0.7);
  }
  50% {
    transform: scale(1.3);
    opacity: 0.75;
    box-shadow: 0 0 16px rgba(0, 119, 200, 1);
  }
}

/* Portrait rond de Guillaume dans le Hero */
.btn-avatar-round {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 1.5px solid var(--aindev-cyan) !important;
  box-shadow: 0 0 6px rgba(29, 146, 225, 0.4) !important;
  flex-shrink: 0 !important;
}

/* Cache la tuile d'appel direct sur grand écran */
.hero-call-tile {
  display: none;
}

/* ========================================================
   4. RANGÉES & VIGNETTES AÉRÉES (Ratio 16/9 Cinéma)
   ======================================================== */

.rows-container {
  position: relative;
  margin-top: 0; /* Plus de remontée forcée */
  z-index: 20;
  padding-top: 40px; /* Ajoute un peu d'air au-dessus du premier titre */
  padding-bottom: 90px;
  background: transparent;
}

.nf-row {
  margin-bottom: 75px;
  padding: 0 4%;
  scroll-margin-top: 100px;
}

.row-title {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.2px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.row-title span {
  font-size: 0.88rem;
  color: var(--aindev-cyan);
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.row-title span:hover {
  cursor: default;
}

.carousel-wrapper {
  position: relative;
}

.carousel-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 0;
  scrollbar-width: none;
}

.carousel-slider::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 calc((100% - 64px) / 5);
  min-width: 250px;
  aspect-ratio: 16 / 9;
  height: auto;
  background-color: var(--nf-card);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition:
    transform 0.28s cubic-bezier(0.2, 0, 0, 1),
    box-shadow 0.28s ease;
}

.carousel-card:hover {
  transform: scale(1.07) translateY(-6px);
  box-shadow: 0 14px 30px rgba(0, 91, 154, 0.4);
  z-index: 10;
}

.card-media-wrapper {
  position: absolute;
  inset: 0;
  background-color: var(--nf-black);
}

.card-media-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85) contrast(0.95);
  transition: filter 0.25s ease;
}

.carousel-card:hover .card-media-wrapper img {
  filter: brightness(0.98) contrast(1);
}

.card-dim-film {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: background-color 0.25s ease;
}

.carousel-card:hover .card-dim-film {
  background-color: rgba(0, 0, 0, 0.05);
}

.carousel-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    rgba(0, 0, 0, 0.95) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 16px;
  z-index: 2;
}

.card-overlay h3,
.card-overlay h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.card-overlay span {
  font-size: 0.78rem;
  color: var(--aindev-cyan);
  font-weight: 600;
}

.slider-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  background-color: rgba(0, 0, 0, 0.65);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  opacity: 0;
  transition:
    opacity 0.2s ease,
    background 0.2s ease;
}

.carousel-wrapper:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background-color: rgba(0, 91, 154, 0.85);
}

.slider-arrow.left {
  left: 0;
}

.slider-arrow.right {
  right: 0;
}

/* ========================================================
   SECTION DRONE - GRILLE 25% / 50% / 25% EXACTE
   ======================================================== */
.drone-row-container {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: 100%;
}

.drone-highlight-card {
  flex: 0 0 calc(25% - 15px);
  width: calc(25% - 15px);
  max-width: calc(25% - 15px);
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 8px;
}

.drone-episodes-cta-box {
  flex: 0 0 calc(50% - 10px);
  width: calc(50% - 10px);
  max-width: calc(50% - 10px);
  min-width: 0;
  background: linear-gradient(135deg, #101c27 0%, #081119 100%);
  border: 1px solid rgba(0, 91, 154, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.drone-episodes-cta-box:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #142535 0%, #0c1822 100%);
  border-color: var(--aindev-cyan);
  box-shadow: 0 12px 28px rgba(0, 91, 154, 0.45);
}

.cta-episodes-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--aindev-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition:
    transform 0.25s ease,
    background-color 0.25s ease;
}

.drone-episodes-cta-box:hover .cta-episodes-icon {
  transform: scale(1.08);
  background-color: var(--aindev-blue-glow);
}

.cta-episodes-text h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}

.cta-episodes-text p {
  font-size: 0.82rem;
  color: #a0aab5;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drone-info-card {
  flex: 0 0 calc(25% - 15px);
  width: calc(25% - 15px);
  max-width: calc(25% - 15px);
  min-width: 0;
  background: rgba(14, 20, 29, 0.75);
  border: 1px solid rgba(0, 91, 154, 0.35);
  border-radius: 8px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.drone-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--aindev-cyan);
  box-shadow: 0 10px 25px rgba(0, 91, 154, 0.35);
}

.drone-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--aindev-cyan);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.drone-info-card h3,
.drone-info-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin: 4px 0 8px 0;
  line-height: 1.25;
}

.drone-info-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 8px;
}

.drone-info-specs li {
  font-size: 0.8rem;
  color: #cfd8e3;
  display: flex;
  align-items: center;
  gap: 7px;
}

.drone-info-specs li i {
  color: var(--aindev-cyan);
  font-size: 0.72rem;
}

.drone-info-action {
  font-size: 0.78rem;
  color: #a4b3c4;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.drone-info-card:hover .drone-info-action {
  color: #ffffff;
}

/* Avis clients */
.review-card-item {
  background-color: #0d0d0d;
  border: 1px solid #1a1a1a;
  min-height: 170px;
  cursor: pointer !important;
}

.review-mini-card {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.review-mini-card .stars {
  color: #f5c518;
  font-size: 0.92rem;
  margin-bottom: 8px;
  display: block;
}

.review-mini-card .author {
  font-size: 0.9rem;
  font-weight: 700;
}

.review-mini-card p {
  font-size: 0.82rem;
  color: #bbb;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================================================
   5. MODALES DÉTAIL
   ======================================================== */
.nf-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.88);
  z-index: 1000;
  display: block !important;
  padding: 40px 14px 80px;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s;
}

.nf-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.nf-modal-container {
  background-color: var(--nf-dark);
  width: 100%;
  max-width: 900px;
  margin: 0 auto 50px auto !important;
  border-radius: 16px;
  overflow: visible !important;
  box-shadow: 0 0 60px rgba(0, 91, 154, 0.3);
  position: relative;
  border: 1px solid rgba(0, 91, 154, 0.3);
  transform: none !important;
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(18, 21, 26, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 30;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.modal-close-btn:hover {
  background-color: var(--aindev-blue);
  border-color: var(--aindev-cyan);
  transform: scale(1.06);
}

.modal-hero-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 480px;
  background-color: var(--nf-black);
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.modal-brand-badge {
  position: absolute;
  top: 20px;
  left: 24px;
  min-width: 58px;
  max-width: 58px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(14, 20, 27, 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 210, 255, 0.45);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
}

.modal-hero-cover .modal-brand-badge img,
.modal-brand-badge img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  padding: 0 !important;
  display: block;
}

.modal-video-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  transition:
    opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1.2s;
  pointer-events: none;
  z-index: 1;
  background-color: #000;
}

.modal-video-wrapper.is-playing {
  opacity: 1;
  visibility: visible;
}

.modal-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 125%;
  height: 125%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  border: none;
  pointer-events: none;
}

#modal-img,
#drone-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  filter: brightness(0.9);
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}

.modal-hero-cover.is-project-cover {
  background: radial-gradient(
    circle at center,
    #18222d 0%,
    #0d131a 60%,
    #000000 100%
  );
}

.modal-hero-cover.is-project-cover img#modal-img {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 580px;
  height: auto;
  max-height: 75%;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.85)) brightness(0.95);
  transition: opacity 1.2s ease-in-out;
}

.modal-hero-cover.is-project-cover.has-video-playing img#modal-img,
.modal-hero-cover.has-video-playing img,
.modal-hero-cover.has-video-playing #drone-modal-img {
  opacity: 0.15;
}

.modal-hero-cover.has-video-playing .modal-brand-badge img,
.modal-brand-badge img {
  opacity: 0.8 !important;
  filter: none !important;
  transform: none !important;
}

.modal-hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.modal-hero-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      #13151a 0%,
      rgba(19, 21, 26, 0.95) 8%,
      rgba(19, 21, 26, 0.5) 15%,
      transparent 24%
    ),
    radial-gradient(
      ellipse at 5% 94%,
      rgba(19, 21, 26, 0.95) 0%,
      rgba(19, 21, 26, 0.6) 26%,
      transparent 50%
    );
  z-index: 1;
}

.modal-hero-gradient::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      #13151a 0%,
      rgba(19, 21, 26, 0.75) 18%,
      transparent 40%
    ),
    radial-gradient(
      ellipse at 5% 92%,
      rgba(19, 21, 26, 0.85) 0%,
      rgba(19, 21, 26, 0.45) 25%,
      transparent 45%
    );
  z-index: 2;
  opacity: 1;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-hero-cover.has-video-playing .modal-hero-gradient::after {
  opacity: 0;
}

.modal-hero-actions {
  position: absolute;
  bottom: 28px;
  left: 36px;
  z-index: 3;
}

.modal-hero-actions h3 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}

.modal-body {
  padding: 35px 50px 50px 50px;
}

.modal-split {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 45px;
  align-items: start;
  margin-bottom: 35px;
}

.billboard-meta#modal-tags {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.billboard-meta#modal-tags .meta-tag-match {
  color: var(--aindev-cyan);
  font-weight: 800;
  font-size: 0.98rem;
}

.modal-desc-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d1d9e2;
}

.modal-desc-text p {
  margin-bottom: 20px;
}

.modal-desc-text strong {
  color: #ffffff;
  font-weight: 700;
}

.modal-desc-text ul {
  list-style: none;
  margin: 18px 0 25px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-desc-text li {
  position: relative;
  padding-left: 26px;
  line-height: 1.65;
}

.modal-desc-text li::before {
  content: "▸";
  position: absolute;
  left: 4px;
  color: var(--aindev-cyan);
  font-size: 1.1rem;
}

.modal-side-meta {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 91, 154, 0.25);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-side-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.modal-side-meta > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.modal-side-meta .meta-label {
  color: #8c97a5;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.modal-side-meta strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.45;
}

/* ========================================================
   FAQ & LISTES D'ÉPISODES NETFLIX
   ======================================================== */
.episodes-section {
  margin-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.episodes-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 25px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.episodes-title-row h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.episodes-season-tag {
  font-size: 0.92rem;
  color: #a3a3a3;
  font-weight: 500;
}

.episodes-badge-guide {
  font-size: 0.8rem;
  color: var(--aindev-cyan);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
}

.episodes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.episode-item {
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  padding: 18px 20px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.episode-item:hover {
  background-color: #16202c;
  border-color: rgba(0, 91, 154, 0.5);
  transform: translateX(4px);
}

.episode-item.active {
  background-color: #172433;
  border: 1px solid var(--aindev-cyan);
}

.episode-top-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.episode-index {
  font-size: 1.5rem;
  font-weight: 800;
  color: #737373;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.episode-thumb {
  width: 140px; /* ou 130px selon l'espace disponible */
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.episode-thumb svg {
  width: 100%;
  height: 100%;
  display: block;
}

.episode-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition:
    transform 0.25s ease,
    filter 0.25s ease;
}

.episode-item:hover .episode-thumb img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

.thumb-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  font-size: 1.1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.episode-item:hover .thumb-play-overlay {
  opacity: 1;
}

.episode-meta {
  flex: 1;
  min-width: 0;
}

.meta-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.ep-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--aindev-cyan);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.ep-duration {
  font-size: 0.82rem;
  color: #8c8c8c;
  font-weight: 500;
}

.ep-question {
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.episode-synopsis {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease,
    margin-top 0.35s ease;
  padding-left: 52px;
}

.episode-item.active .episode-synopsis {
  max-height: 280px;
  opacity: 1;
  margin-top: 16px;
}

.episode-synopsis p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #cfd8e3;
}

.episode-synopsis strong {
  color: #ffffff;
}

/* Encadré avis client modale */
.modal-review-highlight {
  margin-top: 25px;
  padding: 20px 24px;
  background: rgba(0, 91, 154, 0.12);
  border-left: 3px solid var(--aindev-cyan);
  border-radius: 0 10px 10px 0;
}

.modal-review-highlight .review-quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.modal-review-highlight .stars {
  color: #f5c518;
  font-size: 0.95rem;
}

.modal-review-highlight .author-tag {
  color: var(--aindev-cyan);
  font-size: 0.85rem;
  font-weight: 700;
}

.modal-review-highlight p {
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #e0e6ed;
  margin-bottom: 0 !important;
}

.modal-social-pills {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}

.modal-social-pills .social-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 91, 154, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0;
  transition: all 0.25s ease;
}

.modal-social-pills .social-btn i {
  font-size: 1rem;
  color: var(--aindev-cyan);
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.modal-social-pills .social-btn:hover {
  background: rgba(0, 91, 154, 0.35);
  border-color: var(--aindev-cyan);
  box-shadow: 0 0 14px rgba(0, 210, 255, 0.45);
  transform: translateY(-2px) scale(1.06);
}

.modal-social-pills .social-btn:hover i {
  color: #ffffff;
}

/* ========================================================
   6. SECTION CONTACT AVEC FOND FIXE PARALLAXE & DOUBLE HALO
   ======================================================== */
.contact-section-wrap {
  position: relative;
  width: 100%;
  padding: 110px 4% 130px;
  scroll-margin-top: 100px;
  background-color: #07090c;
  overflow: hidden;
}

.contact-fixed-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(
      ellipse 65% 70% at 20% 50%,
      rgba(7, 9, 12, 0.92) 0%,
      rgba(7, 9, 12, 0.75) 45%,
      rgba(7, 9, 12, 0.2) 80%,
      transparent 100%
    ),
    linear-gradient(
      180deg,
      #000000 0%,
      rgba(7, 9, 12, 0.2) 20%,
      rgba(7, 9, 12, 0.3) 65%,
      rgba(7, 9, 12, 0.9) 90%,
      #07090c 100%
    ),
    url("images/ain2.webp");
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: brightness(0.6) contrast(1.15);
}

.nf-contact-container {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-side-info {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--aindev-cyan);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.contact-main-title {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.contact-lead-text {
  color: #c5d2e0;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 26px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.contact-perks-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.perk-item i {
  color: var(--aindev-cyan);
  font-size: 0.95rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.perk-item strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.perk-item span {
  display: block;
  color: #a4b3c4;
  font-size: 0.86rem;
  line-height: 1.45;
}

.contact-direct-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(10, 15, 22, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 91, 154, 0.45);
  border-radius: 14px;
  padding: 14px 20px;
  width: fit-content;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.direct-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--aindev-cyan);
}

.direct-details {
  display: flex;
  flex-direction: column;
}

.direct-details strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.direct-details span {
  color: #8c9ba9;
  font-size: 0.78rem;
  margin-bottom: 4px;
}

.direct-phone {
  color: var(--aindev-cyan);
  font-weight: 800;
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.direct-phone:hover {
  color: #ffffff;
  text-decoration: underline;
}

.nf-contact-box {
  width: 100%;
  background: rgba(12, 17, 24, 0.82);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 91, 154, 0.5);
  border-radius: 16px;
  padding: 38px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.75),
    0 0 35px rgba(0, 91, 154, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.nf-contact-box:hover {
  border-color: var(--aindev-cyan);
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.85),
    0 0 45px rgba(29, 146, 225, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nf-contact-box h3 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-desc {
  color: #8c9ba9;
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.nf-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nf-contact-form input,
.nf-contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  background-color: #0f1722;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.nf-contact-form input:focus,
.nf-contact-form textarea:focus {
  outline: none;
  background-color: #121e2d;
  border-color: var(--aindev-cyan);
}

.nf-contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.nf-contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-submit-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.form-user-avatar {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0b1c2b;
  border: 1px solid rgba(0, 91, 154, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.form-user-avatar img,
.form-user-avatar svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-submit-action {
  flex: 1;
  height: 52px;
  padding: 0 20px;
  background: linear-gradient(
    135deg,
    var(--aindev-blue) 0%,
    var(--aindev-cyan) 100%
  );
  color: #ffffff;
  font-weight: 800;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.98rem;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.btn-submit-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(29, 146, 225, 0.4);
}

/* ========================================================
   7. FOOTER PROPRE SANS DÉBORDEMENT
   ======================================================== */
.nf-footer {
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  background-color: #07090c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 70px 4% 40px;
  box-sizing: border-box;
}

.footer-full-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px clamp(20px, 3vw, 50px);
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

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

.footer-col ul li a {
  color: #8b98a5;
  text-decoration: none;
  font-size: 0.88rem;
  display: inline-block;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-decoration: none;
}

.footer-brand-info {
  font-size: 0.88rem;
  color: #7b8794;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a0aab5;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-social-links a:hover {
  background: var(--aindev-blue);
  color: #ffffff;
  border-color: var(--aindev-cyan);
  transform: translateY(-2px);
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-brand-logo {
  width: 120px;
  margin-left: -10px;
  margin-top: -10px;
  display: block;
  object-fit: contain;
  filter: brightness(0.95) drop-shadow(0 2px 8px rgba(0, 91, 154, 0.3));
}

.footer-bottom-middle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-top: 10px;
}

.footer-locale-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  font-size: 0.82rem;
  color: #9aa5b1;
  background: rgba(255, 255, 255, 0.02);
}

.footer-locale-btn i {
  color: var(--aindev-cyan);
}

.footer-bottom-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #8c96a3;
  font-size: 0.9rem;
}

.footer-phone-direct {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(0, 91, 154, 0.2);
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 6px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.footer-phone-direct i {
  color: var(--aindev-cyan);
}

.footer-phone-direct:hover {
  background: var(--aindev-blue);
  color: #ffffff;
  border-color: var(--aindev-cyan);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #55606d;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  width: 100%;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom-links a {
  color: #55606d;
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: #8c96a3;
  text-decoration: underline;
}

/* ========================================================
   MENTIONS LÉGALES DANS LA MODALE
   ======================================================== */
.legal-content-block h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 24px;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
  border-left: 3px solid var(--aindev-cyan);
  padding-left: 10px;
}

.legal-content-block h4:first-child {
  margin-top: 0;
}

.legal-content-block p {
  color: #c5d0dc;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content-block ul {
  list-style: none;
  margin: 10px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-content-block li {
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
  color: #b0bcc9;
  line-height: 1.6;
}

.legal-content-block li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--aindev-cyan);
  font-size: 1.2rem;
  line-height: 1.4;
}

.legal-content-block strong {
  color: #ffffff;
}

.modal-split:has(.modal-side-meta[style*="display: none"]) {
  grid-template-columns: 1fr;
}

/* ========================================================
   ÉCRAN DE TRANSITION & LOADER STREAMING
   ======================================================== */
.nf-loader-gate {
  position: fixed;
  inset: 0;
  background-color: var(--nf-black);
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
  pointer-events: none;
}

.nf-loader-gate.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: none !important;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 140px;
  height: 140px;
  justify-content: center;
}

.loader-avatar-box {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 91, 154, 0.4);
}

.loader-avatar-box img,
.loader-avatar-box svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nf-spinner-ring {
  position: absolute;
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  animation: nfSpin 1s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.nf-spinner-ring circle {
  stroke: var(--aindev-blue);
  stroke-dasharray: 65 210;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 10px rgba(0, 91, 154, 0.5));
}

@keyframes nfSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ========================================================
   OPTIMISATIONS RESPONSIVES MOBILE & TABLETTE
   ======================================================== */

/* --- TABLETTES & PETITS ÉCRANS (<= 960px) --- */
@media (max-width: 960px) {
  .nf-contact-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-main-title {
    font-size: 1.9rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-middle-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- SMARTPHONES & FORMATS MOBILES (<= 768px) --- */
@media (max-width: 768px) {
  /* 1. Écran de sélection profil : centrage vertical parfait */
  #profile-gate {
    padding: 24px 16px !important;
    justify-content: center !important; /* Force le centrage vertical */
    overflow-y: hidden !important;
  }

  .profile-brand-logo {
    position: absolute !important;
    top: 24px !important;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto !important;
    font-size: 1.45rem !important;
    text-align: center !important;
  }

  .profile-header-group {
    margin-bottom: 2rem !important;
    margin-top: 20px !important;
  }

  .profile-title {
    font-size: 2rem !important;
    margin-bottom: 0.35rem !important;
  }

  .profile-subtitle {
    font-size: 0.88rem !important;
    padding: 0 16px !important;
    line-height: 1.45 !important;
  }

  .profile-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px 24px !important;
    width: 100% !important;
    max-width: 290px !important;
    margin: 0 auto !important;
  }

  .profile-avatar-wrap {
    width: 115px !important;
    height: 115px !important;
    border-radius: 14px !important;
  }

  .profile-box span {
    margin-top: 10px !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
  }

  .profile-manage-btn {
    margin-top: 2.2rem !important;
    padding: 9px 22px !important;
    font-size: 0.85rem !important;
  }

  /* 2. Header mobile transparent */
  .nf-header {
    height: 56px;
    padding: 0 16px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.85) 10%,
      transparent
    ) !important;
    background-color: transparent !important;
  }

  .nf-header.scrolled {
    background: rgba(6, 8, 11, 0.95) !important;
    background-color: rgba(6, 8, 11, 0.95) !important;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    padding: 6px 12px;
  }

  .mobile-nav-toggle i {
    font-size: 0.72rem;
    color: var(--aindev-cyan);
    transition: transform 0.3s ease;
  }

  .mobile-nav-toggle.open i {
    transform: rotate(180deg);
  }

  /* 3. Volet déroulant mobile */
  .mobile-nav-drawer {
    display: block;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 8, 11, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 95;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 16px 50px;
  }

  .mobile-nav-drawer.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .drawer-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--aindev-cyan);
  }

  .drawer-close-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 4px;
  }

  .mobile-tiles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
    gap: 12px;
  }

  .nav-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    background: rgba(18, 24, 34, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    transition:
      border-color 0.2s ease,
      background 0.2s ease,
      transform 0.2s ease;
  }

  .nav-tile:active {
    background: rgba(29, 146, 225, 0.15);
    border-color: var(--aindev-cyan);
    transform: scale(0.97);
  }

  .tile-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 8px;
    flex-shrink: 0;
  }

  .tile-icon-box.blue {
    background: rgba(45, 124, 247, 0.2);
    color: #2d7cf7;
  }
  .tile-icon-box.amber {
    background: rgba(255, 183, 3, 0.2);
    color: #ffb703;
  }
  .tile-icon-box.purple {
    background: rgba(114, 9, 183, 0.25);
    color: #b5179e;
  }
  .tile-icon-box.red {
    background: rgba(230, 57, 70, 0.2);
    color: #e63946;
  }
  .tile-icon-box.teal {
    background: rgba(46, 196, 182, 0.2);
    color: #2ec4b6;
  }
  .tile-icon-box.cyan {
    background: rgba(29, 146, 225, 0.2);
    color: var(--aindev-cyan);
  }

  .tile-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .tile-info strong {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
  }

  .tile-info span {
    color: #8c9ba9;
    font-size: 0.72rem;
    line-height: 1.3;
  }

  .tile-full-width {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start !important;
    gap: 14px;
    padding: 14px 16px;
  }

  .tile-full-width .tile-icon-box {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .tile-full-width .tile-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
  }

  .mobile-drawer-bottom-actions {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .drawer-action-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .drawer-user-avatar-wrap {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(18, 24, 34, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .drawer-user-avatar-wrap img,
  .drawer-user-avatar-wrap svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .drawer-action-row .drawer-full-btn {
    flex: 1;
    height: 48px;
    margin-top: 0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(
      135deg,
      var(--aindev-blue) 0%,
      var(--aindev-cyan) 100%
    );
    border: none;
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(29, 146, 225, 0.35);
  }

  .drawer-action-row .drawer-full-btn:active {
    transform: scale(0.98);
  }

  /* 4. Navigation haut & Billboard sur smartphone */
  .nf-right-nav {
    display: flex;
    align-items: center;
    gap: 14px;
  }

  .user-pill img,
  .user-pill svg {
    width: 28px !important;
    height: 28px !important;
  }

  .user-pill i.fa-caret-down {
    display: none;
  }

  .billboard {
    height: 100vh !important;
    min-height: 500px;
    /* padding: 75px 16px 30px; */
    padding: 68px 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }

  .billboard-content {
    margin-top: 15px;
    max-width: 100%;
    width: 100%;
    z-index: 10;
  }

  .billboard-badge {
    font-size: 0.72rem;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
  }

  /* .billboard-title {
    font-size: 1.95rem;
    line-height: 1.2;
    margin-bottom: 10px;
  } */
  .billboard-title {
    font-size: clamp(
      1.55rem,
      5vw,
      1.65rem
    ); /* S'adapte à la largeur exacte sans déborder */
    font-weight: 800; /* 800 au lieu de 900 adoucit le rendu sur Android */
    line-height: 1.18;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
  }

  .billboard-meta {
    white-space: normal;
    flex-wrap: wrap;
    gap: 8px;
  }

  .meta-logo-img {
    height: 18px;
  }

  /* .billboard-desc {
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 20px;
    display: block; 
    overflow: visible;
  } */
  /* Rendre le texte descriptif plus léger et aéré */
  .billboard-desc {
    font-size: 0.82rem; /* Légèrement réduit (au lieu de 0.86rem) */
    font-weight: 400;
    line-height: 1.4;
    color: #e2e8f0;
    margin-bottom: 16px;
    display: block;
    overflow: visible;
  }

  /* Grille asymétrique Hero sur smartphone (2 boutons alignés à gauche + 1 tuile appel direct) */
  .billboard-actions {
    display: grid !important;
    grid-template-columns: 1fr 88px !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 22px !important;
    align-items: stretch !important;
  }

  .hero-left-stack {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .btn-hero-left {
    width: 100% !important;
    height: 48px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    font-size: 0.86rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    box-sizing: border-box !important;
  }

  /* Tuile carrée d'appel direct sur smartphone */
  .hero-call-tile {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: rgba(29, 146, 225, 0.12) !important;
    border: 1px solid rgba(29, 146, 225, 0.4) !important;
    border-radius: 24px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-sizing: border-box !important;
    transition:
      background 0.2s ease,
      transform 0.15s ease !important;
  }

  .hero-call-tile i {
    color: var(--aindev-cyan) !important;
    font-size: 1.25rem !important;
  }

  .hero-call-tile:active {
    background: rgba(0, 91, 154, 0.5) !important;
    transform: scale(0.97) !important;
  }

  /* 5. Rangées & carrousels sur smartphone */
  .rows-container {
    margin-top: 35px;
    padding-bottom: 70px;
  }

  .nf-row {
    margin-bottom: 80px; /* Plus d'espace entre chaque section (au lieu de 40px) */
    padding: 0 16px;
    scroll-margin-top: 75px;
  }

  .row-title {
    font-size: 1.45rem; /* Titre agrandi (au lieu de 1.15rem) */
    font-weight: 800;
    line-height: 1.3;
    flex-direction: column; /* Passe le lien "Mes réalisations >" à la ligne */
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 18px; /* Plus d'air sous le titre avant le carrousel */
  }

  .row-title span {
    font-size: 0.85rem;
    font-weight: 600;
  }

  .carousel-card {
    flex: 0 0 78%;
    min-width: 220px;
  }

  .drone-highlight-card,
  .drone-episodes-cta-box {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .slider-arrow {
    display: none;
  }

  /* 6. Modales fluides & vidéo aérée sur smartphone */
  .nf-modal-backdrop {
    display: block !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 16px 10px 70px !important;
  }

  .nf-modal-container {
    max-height: none !important;
    margin: 0 auto 30px auto !important;
    border-radius: 14px;
    width: 100%;
  }

  .modal-hero-cover {
    aspect-ratio: 4 / 3 !important;
    min-height: 260px !important;
    max-height: 320px !important;
  }

  .modal-video-wrapper iframe {
    width: 140% !important;
    height: 140% !important;
  }

  .modal-hero-cover.is-project-cover img#modal-img {
    width: 80%;
    max-height: 68%;
    top: 40%;
  }

  .modal-hero-actions {
    left: 14px;
    right: 14px;
    bottom: 12px;
  }

  .modal-hero-actions h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .modal-hero-actions .btn-nf {
    padding: 8px 16px;
    font-size: 0.82rem;
  }

  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    font-size: 1rem;
    z-index: 40;
  }

  .modal-body {
    padding: 18px 16px 28px;
  }

  .modal-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .episode-thumb {
    width: 65px;
    height: 65px;
  }

  .episode-index {
    font-size: 1.1rem;
    width: 22px;
  }

  .ep-question {
    font-size: 0.9rem;
  }

  /* 7. Section contact sur smartphone */
  .contact-section-wrap {
    padding: 60px 14px 70px;
  }

  .contact-fixed-bg {
    background-attachment: scroll !important;
    background-position: center center;
    background-size: cover;
  }

  .contact-main-title {
    font-size: 1.65rem;
  }

  .contact-lead-text {
    font-size: 0.9rem;
  }

  .nf-contact-box {
    padding: 22px 16px;
  }

  .nf-contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-submit-row {
    flex-direction: row;
  }

  .btn-submit-action {
    font-size: 0.9rem;
    height: 48px;
  }

  .form-user-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
  }

  /* 8. Footer sur smartphone */
  .nf-footer {
    padding: 50px 14px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom-middle-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bottom-callout {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* Section Drone adaptée mobile */
  .drone-row-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 4px;
  }

  .drone-highlight-card,
  .drone-episodes-cta-box,
  .drone-info-card {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
  }

  .drone-episodes-cta-box {
    aspect-ratio: auto !important;
    min-height: 140px;
    padding: 18px 20px;
  }

  .drone-info-card {
    aspect-ratio: auto !important;
    padding: 18px 20px;
  }
}

/* --- TRÈS PETITS SMARTPHONES (<= 580px) --- */
@media (max-width: 580px) {
  .nf-contact-box {
    padding: 20px 14px;
  }
}

/* ========================================================
   COMPOSANTS SPÉCIFIQUES & TOAST NETFLIX
   ======================================================== */
.modal-episodes-action-wrap {
  margin-top: 22px;
  margin-bottom: 8px;
}

.btn-episodes-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.btn-episodes-glass i {
  color: var(--aindev-cyan);
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.btn-episodes-glass:hover {
  background: rgba(0, 91, 154, 0.25);
  border-color: var(--aindev-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(29, 146, 225, 0.25);
}

.btn-episodes-glass:hover i {
  transform: scale(1.15);
}

.btn-episodes-glass:active {
  transform: scale(0.98);
}

/* Carte Google Feature */
.review-google-feature-card {
  background: linear-gradient(
    135deg,
    rgba(14, 20, 29, 0.95) 0%,
    rgba(6, 10, 16, 0.95) 100%
  ) !important;
  border: 1px solid rgba(29, 146, 225, 0.4) !important;
  cursor: pointer !important;
}

.review-google-feature-card:hover {
  border-color: var(--aindev-cyan) !important;
  box-shadow: 0 14px 30px rgba(0, 91, 154, 0.5) !important;
}

.google-feature-inner {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.google-badge-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.google-badge-top i {
  color: #4285f4;
  font-size: 1.1rem;
}

.google-score-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0;
}

.google-score-box .big-score {
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.google-score-box .stars-col {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.google-score-box .stars {
  color: #f5c518;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.google-score-box .count {
  font-size: 0.74rem;
  color: #8c9ba9;
  font-weight: 600;
}

.google-claim {
  font-size: 0.8rem !important;
  color: #c5d2e0 !important;
  line-height: 1.35 !important;
  margin: 0 !important;
}

.google-link-tag {
  font-size: 0.76rem;
  color: var(--aindev-cyan);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.yt-hero-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 25px;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.yt-hero-action-btn:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: rgba(255, 0, 0, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.25);
}

/* Toast de confirmation de formulaire */
.form-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 400px;
  padding: 14px 20px;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(46, 196, 182, 0.4);
  border-left: 4px solid #2ec4b6;
  border-radius: 12px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(46, 196, 182, 0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.form-toast.error {
  border-left-color: #e63946;
  border-color: rgba(230, 57, 70, 0.4);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(230, 57, 70, 0.2);
}

.form-toast .toast-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #2ec4b6;
}

.form-toast.error .toast-icon-wrap {
  color: #e63946;
}

.form-toast .toast-content strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.form-toast .toast-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #c5d2e0;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .form-toast {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
}

/* ========================================================
   ENCADRÉ RÉASSURANCE : PROPRIÉTÉ & LIBERTÉ (STYLE NDA / LABEL)
   ======================================================== */
.freedom-badge-box {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(29, 146, 225, 0.08);
  border: 1px solid rgba(29, 146, 225, 0.35);
  border-left: 4px solid var(--aindev-cyan);
  border-radius: 4px 10px 10px 4px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(8px);
}

.freedom-badge-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 8px;
  background: rgba(0, 91, 154, 0.25);
  border: 1px solid rgba(29, 146, 225, 0.4);
  color: var(--aindev-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.freedom-badge-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.freedom-badge-content strong {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.freedom-badge-content p {
  color: #c5d2e0;
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0 !important;
}

@media (max-width: 600px) {
  .freedom-badge-box {
    padding: 14px 16px;
    gap: 12px;
  }
  .freedom-badge-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 1rem;
  }
}
/* Ajustement compact pour écrans peu hauts (ex: MacBook 13/14" avec Dock) */
@media (min-width: 769px) and (max-height: 780px) {
  .billboard {
    height: 100vh;
  }
  .billboard-title {
    font-size: 2.55rem;
    margin-bottom: 20px;
  }
  .billboard-desc {
    font-size: 0.92rem;
    line-height: 1.38;
    margin-bottom: 20px;
  }
  .billboard-meta {
    margin-bottom: 20px;
  }
  .btn-hero-left {
    height: 42px;
    padding: 0 18px;
    font-size: 0.88rem;
  }
}

#billboard-video-frame {
  pointer-events: none; /* Désactive complètement le hover et le clic sur l'iframe */
  user-select: none;
}
