/* ==========================================================================
   HOME PAGE STYLES - Section Hero Video Container
   ========================================================================== */

/* Hero section with video - OPTIMISÉ AVEC POSITION CONSERVÉE */
.video-container {
  color: white;
  position: relative;
  background: radial-gradient(circle at left, #001c58 0%, #011a8c 60%, #020826 100%);
  width: 100%;
  padding: 150px 140px 70px 60px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 80vh
}

.video-container .row {
  width: 100%;
  margin: 0;
  position: relative;
  z-index: 2;
}

.video-container .content {
  position: absolute;
  top: 50%;
  left: 15%;
  transform: translateY(-50%);
  color: var(--white);
  z-index: 2;
  max-width: 530px;
  text-align: left;
}

.video-container .col-md-6:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  position: relative;
}

/* Vidéo simplifiée sans effets */
.video-wrapper {
  position: relative;
  width: 90%;
  max-width: 600px;
  border-radius: 8px; /* Bordure plus simple */
  overflow: hidden;
}

.video-wrapper video,
.video-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  min-height: 300px;
  object-fit: cover;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  margin: 1.5rem 0;
  color: white;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.cta-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Section certification - NOUVEAU STYLE ORGANISÉ */
.certification-section {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.certification-title {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.certification-title i {
  color: #F29400;
  font-size: 1.2rem;
}

.certification-badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.certification-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.certification-badge:hover {
  transform: translateY(-3px);
}

.certification-badge img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.certification-badge:hover img {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.certification-badge .badge-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  max-width: 90px;
}

/* ---- LOGOS PARTENAIRE ---- */
.bg-acronis_securite, .bg-arista_securite, .bg-aws_securite, .bg-cisco_due_securite, .bg-cisco_meraki_securite,
.bg-cisco_securite, .bg-crowdstrike_securite, .bg-efficient_ip_securite, .bg-f5_networks_securite, .bg-fortinet_securite,
.bg-infoblox_securite, .bg-juniper_networks_securite, .bg-kaspersky_securite, .bg-mcafee_securite, .bg-microsoft_securite,
.bg-netscope_securite, .bg-ovh_securite, .bg-paloalto_securite, .bg-proofpoint_securite, .bg-rapid7_securite,
.bg-sophos_securite, .bg-splunk_securite, .bg-symantec_securite, .bg-tenable_network_security, .bg-threatdown_securite,
.bg-trendmicro_securite, .bg-tufin_securite, .bg-vmware_securite, .bg-wallix_securite {
    width: 120px;
    background: url("/static/core/img/css_sprites.png");
}
.bg-acronis_securite      { height: 60px;  background-position: -430px -430px; }
.bg-arista_securite       { height: 60px;  background-position: -570px -10px; }
.bg-aws_securite          { height: 84px;  background-position: -430px -150px; }
.bg-cisco_due_securite    { height: 72px;  background-position: -10px  -430px; }
.bg-cisco_meraki_securite { height: 72px;  background-position: -150px -430px; }
.bg-cisco_securite        { height: 120px; background-position: -10px  -10px; }
.bg-crowdstrike_securite  { height: 48px;  background-position: -570px -326px; }
.bg-efficient_ip_securite { height: 21px;  background-position: -430px -522px; }
.bg-f5_networks_securite  { height: 120px; background-position: -150px -10px; }
.bg-fortinet_securite     { height: 56px;  background-position: -570px -250px; }
.bg-infoblox_securite     { height: 120px; background-position: -10px  -150px; }
.bg-juniper_networks_securite { height: 120px; background-position: -150px -150px; }
.bg-kaspersky_securite    { height: 48px;  background-position: -570px -394px; }
.bg-mcafee_securite       { height: 30px;  background-position: -570px -462px; }
.bg-microsoft_securite    { height: 44px;  background-position: -10px  -522px; }
.bg-netscope_securite     { height: 84px;  background-position: -430px -254px; }
.bg-ovh_securite          { height: 19px;  background-position: -570px -522px; }
.bg-paloalto_securite     { height: 120px; background-position: -290px -10px; }
.bg-proofpoint_securite   { height: 60px;  background-position: -570px -90px; }
.bg-rapid7_securite       { height: 48px;  background-position: -430px -358px; }
.bg-sophos_securite       { height: 60px;  background-position: -570px -170px; }
.bg-splunk_securite       { height: 120px; background-position: -290px -150px; }
.bg-symantec_securite     { height: 44px;  background-position: -150px -522px; }
.bg-tenable_network_security { height: 62px; background-position: -290px -430px; }
.bg-threatdown_securite   { height: 42px;  background-position: -290px -522px; }
.bg-trendmicro_securite   { height: 120px; background-position: -10px  -290px; }
.bg-tufin_securite        { height: 120px; background-position: -150px -290px; }
.bg-vmware_securite       { height: 120px; background-position: -290px -290px; }
.bg-wallix_securite       { height: 120px; background-position: -430px -10px; }
/* ---- CAROUSEL ---- */
.partners-carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}
.partners-carousel {
    display: flex;
    animation: scroll-partners 40s linear infinite;
}
.partners-slide {
    display: flex;
    min-width: 100%;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
}
.partner-item {
    flex: 0 0 calc(16.666% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin: 0 10px;
}
.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.partner-item:hover .partner-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
/* Animation */
@keyframes scroll-partners {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-500%); }
}
.partners-carousel-container:hover .partners-carousel {
    animation-play-state: paused;
}






/* ==========================================================================
   RESPONSIVE DESIGN - Video Container Section
   ========================================================================== */

/* Large screens (1400px+) - Desktop */
@media (max-width: 1400px) and (min-width: 1025px) {
  .video-container {
    padding: 120px 100px 60px 50px;
  }
  
  .video-container .content {
    max-width: 500px;
    left: 8%;
  }
  
  .video-wrapper {
    max-width: 500px;
  }
}

/* Medium-large screens (1024px) - Small laptops, landscape tablets */
@media (max-width: 1024px) and (min-width: 769px) {
  .video-container {
    padding: 100px 60px 50px 40px;
  }
  
  .video-container .content {
    max-width: 400px;
    left: 5%;
    font-size: 0.9rem;
  }
  
  .content h1 {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  
  .content p {
    margin: 20px 0;
    font-size: 0.9rem;
  }
  
  .content ul {
    font-size: 0.85rem;
  }
  
  .video-wrapper {
    max-width: 420px;
    width: 95%;
  }
}

/* Tablets portrait and small screens (768px) */
@media (max-width: 768px) {
  .video-container {
    height: auto;
    min-height: 100vh;
    padding: 40px 20px;
    flex-direction: column;
  }
  
  .video-container .row {
    flex-direction: column;
  }

  .video-container .col-md-6 {
    width: 100%;
    margin-bottom: 30px;
    height: auto;
  }
  
  .video-container .content {
    position: relative; /* Passe en relative sur mobile */
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    max-width: 100%;
    padding: 60px 10px 0 10px;
  }
  
  .content h1 {
    font-size: 1.8rem;
    transform: scaleY(1.1);
    letter-spacing: 1px;
  }
  
  .video-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .video-wrapper video,
  .video-wrapper img {
    min-height: 200px;
  }

  /* Certifications responsive */
  .certification-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  .certification-badges {
    justify-content: center;
    gap: 1rem;
  }
  
  .certification-badge img {
    height: 70px;
    width: 70px;
  }
}

/* Small tablets and large phones (767px) */
@media (max-width: 767px) {
  .video-container {
    height: auto;
    min-height: 90vh;
    padding: 30px 15px;
  }
  
  .content h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .content p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 20px 0;
  }
  
  .content .btn {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    margin: 5px;
    display: inline-block;
  }
}

/* Mobile phones (480px) */
@media (max-width: 480px) {
  .video-container {
    min-height: 100vh;
    padding: 20px 10px;
  }
  
  .content h1 {
    font-size: 1.6rem;
  }
  
  .video-wrapper video,
  .video-wrapper img {
    min-height: 180px;
  }
}


/* ---- RESPONSIVE  LOGO PARTENAIRE ---- */
@media (max-width: 992px) {
    .partner-item { flex: 0 0 calc(25% - 20px); margin: 0 10px; }
    .partners-slide { padding: 10px 15px; }
}

@media (max-width: 768px) {
    .partner-item { flex: 0 0 calc(33.333% - 16px); margin: 0 8px; }
    .partners-slide { padding: 10px 12px; }
}

@media (max-width: 576px) {
    .partner-item { flex: 0 0 calc(50% - 12px); margin: 0 6px; }
    .partners-slide { padding: 10px 10px; }
}