:root {
  --primary: #2D3561;
  --secondary: #4A5578;
  --accent: #6C7AA5;
  --dark: #1A1A2E;
  --light: #F5F7FA;
  --white: #FFFFFF;
  --text: #2D3748;
  --text-light: #718096;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--white);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 1001;
}

.logo-container img {
  height: 85px;
  width: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--primary);
  transition: all 0.3s;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
  position: relative;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  min-width: 900px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-column {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dropdown-column-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.dropdown-item {
  padding: 1rem 1.5rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s;
  border-radius: 8px;
}

.dropdown-item:hover {
  background: rgba(45, 53, 97, 0.05);
  color: var(--primary);
  transform: translateX(5px);
}

.dropdown-item-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: rgba(45, 53, 97, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.dropdown-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dropdown-item-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
}

.dropdown-item-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.4;
}

.nav-cta {
  background: #062f66;
  color: white !important;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(45, 53, 97, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(45, 53, 97, 0.4);
  background: #232A4D;
}

/* Services Modal */
.services-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 46, 0.9);
  z-index: 10000;
  overflow-y: auto;
  padding: 2rem;
}

.services-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 30px;
  max-width: 900px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  animation: modalSlideIn 0.4s ease-out;
  margin: 2rem auto;
}

@keyframes modalSlideIn {
  from {
      opacity: 0;
      transform: translateY(-50px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: rgba(45, 53, 97, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--dark);
  transition: all 0.3s;
}

.modal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.modal-header {
  text-align: center;
  margin-bottom: 3rem;
}

.modal-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
}

.modal-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.modal-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.modal-service-card {
  background: #F8F9FA;
  padding: 2rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  border: 2px solid transparent;
  text-decoration: none;
  color: inherit;
}

.modal-service-card:hover {
  background: white;
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(45, 53, 97, 0.15);
}

.modal-service-card:hover .service-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-card-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: white;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(45, 53, 97, 0.1);
}

.service-card-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.service-card-content {
  flex: 1;
}

.service-card-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-card-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.service-card-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s;
  align-self: center;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 8rem 5% 4rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
}




@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text {
  text-align: left;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero-text h1 .highlight {
 color: #062f66;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 1rem 2.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s;
  display: inline-block;
}

.btn-primary {
  background: #062f66;
  color: white;
  box-shadow: 0 4px 15px rgba(45, 53, 97, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(45, 53, 97, 0.4);
  background: #232A4D;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 100%;
}

.video-slider {
  position: relative;
  width: 620px;
  height: 420px;
  z-index: 2;
  background: transparent;
  border-radius: 20px;
  overflow: visible;
  margin-bottom: 1rem;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.video-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.video-slide.active {
  opacity: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  position: relative;
  z-index: 1;
  display: block;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  font-weight: bold;
  border: none;
}

.slider-arrow:hover {
  transform: translateY(-50%) scale(1.2);
}

.slider-arrow.prev {
  left: -60px;
  color: var(--primary);
}

.slider-arrow.prev:hover {
  color: #232A4D;
}

.slider-arrow.next {
  right: -60px;
  color: white;
}

.slider-arrow.next:hover {
  color: #f0f0f0;
}

.slider-arrow.next.purple {
  color: var(--primary);
}

.slider-arrow.next.purple:hover {
  color: #232A4D;
}

.slider-arrow.hidden {
  display: none;
}

/* Section commune */
.section {
  padding: 6rem 5%;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.section-title .highlight {
  color: white;
  -webkit-text-stroke: 2px var(--primary);
  text-shadow:
    -1px -1px 0 var(--primary),
     1px -1px 0 var(--primary),
    -1px  1px 0 var(--primary),
     1px  1px 0 var(--primary);
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Services Section */
.services {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-category {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-category-image {
  width: 120px;
  height: 120px;
  border-radius: 15px;
  overflow: hidden;
  margin: 0 auto;
  border: 2px solid var(--primary);
}

.service-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
}

.service-category-content {
  flex: 1;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  justify-content: center;
  text-align: center;
}

.category-icon {
  display: none;
}

.category-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
}

.service-list {
  list-style: none;
}

.service-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid #E9ECEF;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item:hover {
  padding-left: 0.5rem;
  background: linear-gradient(90deg, rgba(74, 144, 226, 0.05), transparent);
}

.service-item:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-item:hover .service-item-icon {
  background: #062f66;
  color: white;
  transform: scale(1.1);
}

.service-item-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(45, 53, 97, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
  overflow: hidden;
}

.service-item-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.service-item:hover .service-item-icon img {
  filter: brightness(0) invert(1);
}

.service-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  margin-left: auto;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  font-weight: 600;
}

.service-item-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.service-item-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Invitation Section - VIDÉO AU-DESSUS DU TITRE */
.invitation-section {
    padding: 6rem 5%;
    background: #ffffff;
}

.invitation-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.invitation-text {
    padding-right: 2rem;
}

/* VIDÉO AU-DESSUS DU TITRE (mobile uniquement) */
.invitation-video-top {
    display: none;
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
    border-radius: 20px;
    overflow: hidden;
   
}

.invitation-video-top video {
    width: 100%;
    height: auto;
    display: block;
}

.invitation-text h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.invitation-text h2 .highlight {
 color: #062f66;
}

.invitation-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.invitation-features {
    margin: 2rem 0;
}

.invitation-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-check {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: rgba(45, 53, 97, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.invitation-feature-item p {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
}

.invitation-cta {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.invitation-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.invitation-image-desktop {
    display: flex;
}

.invitation-image-container {
    position: relative;
    width: 100%;
    max-width: 550px;
    border-radius: 20px;
    overflow: hidden;
    
    transition: transform 0.4s ease;
}

.invitation-image-container:hover {
    transform: translateY(-10px) scale(1.02);
}

.invitation-video {
    width: 100%;
    height: auto;
    display: block;
}

/* Process Section */
.process {
  background: #062f66;
  color: white;
}

.process .section-title,
.process .section-description {
  color: white;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.process-step {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  border: #ffffff;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-step.step-visible {
  opacity: 1;
  transform: translateY(0);
}

.process-step:hover {
  background:#062f66;
  border-color: #ffffff;
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(45, 53, 97, 0.3);
}

.step-number-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: #ffffff;
  border-color:#ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #062f66;
  box-shadow: #ffffff;
}

.step-icon-circle {
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  border: 3px solid rgba(45, 53, 97, 0.3);
  transition: all 0.3s;
}

.step-icon-circle img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.process-step:hover .step-icon-circle {
  background:#062f66;
  border-color: var(--primary);
  transform: scale(1.1);
}

.process-step h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.process-step p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* Portfolio Section */
.portfolio-slider-container {
  position: relative;
  margin-top: 3rem;
}

.portfolio-slide {
  display: none;
  animation: fadeInSlide 0.6s ease-in-out;
}

.portfolio-slide.active {
  display: block;
}

@keyframes fadeInSlide {
  from {
      opacity: 0;
      transform: translateX(30px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 53, 97, 0.05);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
  pointer-events: none;
}

.portfolio-item:hover::before {
  opacity: 1;
}

.portfolio-item:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 70px rgba(45, 53, 97, 0.25);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  background: transparent;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-image img,
.portfolio-item:hover .portfolio-video {
  transform: scale(1.1);
}

.portfolio-info {
  padding: 2rem;
}

.portfolio-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(45, 53, 97, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.portfolio-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.portfolio-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
}

.portfolio-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-arrow {
  width: 50px;
  height: 50px;
  background: transparent;
  color: var(--primary);
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-arrow:hover {
  background: transparent;
  transform: scale(1.1);
}

.portfolio-dots {
  display: flex;
  gap: 1rem;
}

.portfolio-dot {
  width: 12px;
  height: 12px;
  background: rgba(45, 53, 97, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.portfolio-dot.active {
  background: var(--primary);
  width: 40px;
  border-radius: 6px;
}

.portfolio-dot:hover {
  background: var(--primary);
}

/* Why Choose Us Section */
.why-choose {
  background: var(--light);
  position: relative;
  overflow: hidden;
}

.why-choose::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(45, 53, 97, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.why-choose-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-choose-text h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2rem;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: rgba(45, 53, 97, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  overflow: hidden;
}

.feature-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.feature-content h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

.why-visual {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.why-video-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.why-video-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.why-team-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.why-cta-box {
  background: #062f66;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  color: white;
  box-shadow: 0 10px 30px rgba(45, 53, 97, 0.3);
}

.why-cta-box h4 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.why-cta-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.why-cta-box .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.why-cta-box .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-3px);
}

/* Footer */
.footer {
  background: #062f66;
  color: white;
  padding: 4rem 5% 2rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-brand h3 span {
  color: var(--primary);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
}


/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), 
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), 
              transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: opacity 0.6s ease-out, 
              clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.visible {
  opacity: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.flip-in {
  opacity: 0;
  transform: perspective(1000px) rotateY(-90deg);
  transition: opacity 0.6s ease-out, 
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flip-in.visible {
  opacity: 1;
  transform: perspective(1000px) rotateY(0deg);
}

.zoom-blur {
  opacity: 0;
  transform: scale(1.5);
  filter: blur(10px);
  transition: opacity 0.8s ease-out, 
              transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
              filter 0.8s ease-out;
}

.zoom-blur.visible {
  opacity: 1;
  transform: scale(1);
  filter: blur(0px);
}

.draw-line {
  position: relative;
}

.draw-line::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #ffffff;
  transition: width 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.draw-line.visible::before {
  width: 100px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
      grid-template-columns: 1fr;
      text-align: left;
  }

  .hero-text {
      order: 1;
  }

  .hero-image {
      order: 2;
      display: flex;
      justify-content: center;
  }

  .hero-buttons {
      justify-content: center;
  }

  .services-grid {
      grid-template-columns: 1fr;
  }

  .portfolio-grid {
      grid-template-columns: repeat(2, 1fr);
  }

  .invitation-content {
      grid-template-columns: 1fr;
      gap: 3rem;
  }

  .invitation-text {
      padding-right: 0;
      order: 2;
  }

  .invitation-image-desktop {
      order: 1;
  }

  .why-choose-content {
      grid-template-columns: 1fr;
  }

  .footer-content {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  nav {
    padding: 1rem 5%;
  }

  .logo-container img {
    height: 70px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 2rem 2rem;
    gap: 0;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #E9ECEF;
  }

  .nav-links > li > a {
    display: block;
    padding: 1rem 0;
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    left: auto;
    right: auto;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: auto;
    width: 100%;
    box-shadow: none;
    padding: 0;
    margin: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    background: #F8F9FA;
  }


  .nav-dropdown.active .dropdown-menu {
    display: grid;
  }

  .dropdown-item {
    padding: 1rem;
    border-bottom: 1px solid #E9ECEF;
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    display: block;
  }

  .hero {
    padding: 6rem 5% 3rem;
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
  }

  .hero-text {
    order: 1;
    text-align: left;
  }

  .hero-text h1 {
    font-size: 1.8rem;
    margin-top: 1rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-image {
    order: 2;
    width: 100%;
    align-items: center;
  }

  .video-slider {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 16/9;
  }

  .slider-arrow {
    font-size: 2.5rem;
  }

  .slider-arrow.prev {
    left: -35px;
  }

  .slider-arrow.next {
    right: -35px;
  }

  .hero-buttons {
    justify-content: center;
    gap: 1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 4rem 5%;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-category {
    padding: 2rem;
    text-align: center;
  }

  .service-category-image {
    width: 100px;
    height: 100px;
  }

  .category-header {
    justify-content: center;
    text-align: center;
  }

  .category-header h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  .service-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .service-item-content {
    text-align: center;
  }

  .service-arrow {
    align-self: center;
  }
  @media (max-width: 768px) {

    /* Services Modal - Corrections pour mobile */
    .services-modal {
      padding: 0.5rem;
      align-items: flex-start;
      padding-top: 2rem;
    }

    .services-modal.active {
      display: flex;
      align-items: flex-start;
    }

    .modal-content {
      padding: 1.5rem;
      margin: 0.5rem auto;
      width: 95%;
      max-width: 95%;
      max-height: 85vh;
      overflow-y: auto;
      border-radius: 20px;
    }

    .modal-header {
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .modal-header h2 {
      font-size: 1.5rem;
      line-height: 1.3;
      margin-bottom: 0.5rem;
    }

    .modal-header p {
      font-size: 0.9rem;
      line-height: 1.5;
    }

    .modal-close {
      top: 0.8rem;
      right: 0.8rem;
      width: 35px;
      height: 35px;
      font-size: 1.2rem;
    }

    .modal-services-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .modal-service-card {
      padding: 1.2rem;
      gap: 1rem;
      flex-direction: row;
      align-items: flex-start;
    }

    .service-card-icon {
      width: 50px;
      height: 50px;
      min-width: 50px;
      border-radius: 12px;
    }

    .service-card-icon img {
      width: 30px;
      height: 30px;
    }

    .service-card-content {
      flex: 1;
    }

    .service-card-content h3 {
      font-size: 1.05rem;
      margin-bottom: 0.3rem;
    }

    .service-card-content p {
      font-size: 0.85rem;
      line-height: 1.4;
    }

    .service-card-arrow {
      font-size: 1.2rem;
    }
  }

  /* Pour les très petits écrans */
  @media (max-width: 480px) {
    .modal-content {
      padding: 1.2rem;
      width: 98%;
    }

    .modal-header h2 {
      font-size: 1.3rem;
    }

    .modal-header p {
      font-size: 0.85rem;
    }

    .modal-service-card {
      padding: 1rem;
    }

    .service-card-icon {
      width: 45px;
      height: 45px;
      min-width: 45px;
    }

    .service-card-icon img {
      width: 28px;
      height: 28px;
    }

    .service-card-content h3 {
      font-size: 1rem;
    }

    .service-card-content p {
      font-size: 0.8rem;
    }
  }








  /* Invitation Section Mobile - VIDÉO AU-DESSUS */
  .invitation-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .invitation-text {
    padding-right: 0;
    order: 1;
    text-align: center;
  }

  /* Afficher la vidéo au-dessus du titre sur mobile */
  .invitation-video-top {
    display: block;
  }

  /* Cacher la vidéo desktop sur mobile */
  .invitation-image-desktop {
    display: none;
  }

  .invitation-text h2 {
    font-size: 1.8rem;
  }

  .invitation-features {
    text-align: left;
  }

  .invitation-cta {
    justify-content: center;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .why-choose-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-choose-text h3 {
    font-size: 1.5rem;
  }

  .feature-item {
    padding: 1rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
  }

  .feature-icon img {
    width: 40px;
    height: 40px;
  }

  .feature-content h4 {
    font-size: 1.1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .modal-content {
    padding: 2rem;
    margin: 1rem;
    width: 95%;
  }

  .modal-services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modal-header h2 {
    font-size: 1.8rem;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    width: 35px;
    height: 35px;
  }
}
@media (max-width: 768px) {
  .nav-links {
    overflow-x: hidden;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown .dropdown-menu {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: none;
  }

  .nav-dropdown.active .dropdown-menu {
    display: block;
  }
}
/* Container des icônes sociales */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    align-items: center;
}

/* Style pour chaque lien d'icône */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Image à l'intérieur de l'icône */
.social-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

/* Effet hover sur le cercle */
.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Effet hover sur l'image */
.social-icon:hover img {
    transform: scale(1.1);
}

/* Effet de brillance au hover */
.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.social-icon:hover::before {
    left: 100%;
}

/* Variantes de couleurs pour chaque réseau (optionnel) */
.social-icon:nth-child(1):hover {
    /* Instagram - Dégradé rose/violet */
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon:nth-child(2):hover {
    /* Facebook - Bleu */
    background: #1877f2;
}

.social-icon:nth-child(3):hover {
    /* TikTok - Noir */
    background: #000000;
}

.social-icon:nth-child(4):hover {
    /* YouTube - Rouge */
    background: #ff0000;
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .footer-social-icons {
        gap: 12px;
        margin-top: 15px;
        justify-content: flex-start;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon img {
        width: 20px;
        height: 20px;
    }
}

/* Extra petit écran */
@media (max-width: 480px) {
    .footer-social-icons {
        gap: 10px;
    }

    .social-icon {
        width: 38px;
        height: 38px;
    }
}
.termsfeed-com---nb {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #ffffff !important;       /* couleur sombre, change selon ton design */
  padding: 12px 24px !important;
  margin: 0 !important;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.15) !important;
  z-index: 99999 !important;
  font-family: 'Poppins', sans-serif !important;
}

/* Layout horizontal : texte à gauche, boutons à droite */
.termsfeed-com---nb .cc-nb-content {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* Titre — caché, on garde juste le texte court */
.termsfeed-com---nb .cc-nb-title {
  display: none !important;
}

/* Texte de la bannière — compact */
.termsfeed-com---nb .cc-nb-desc {
  color: #e0e0e0 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  margin: 0 !important;
  flex: 1 !important;
  max-width: 600px !important;
}

/* Conteneur des boutons — côté droit */
.termsfeed-com---nb .cc-nb-buttons-container {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  flex-wrap: nowrap !important;
}

/* Boutons — petits et compacts */
.termsfeed-com---nb .cc-nb-okagree,
.termsfeed-com---nb .cc-nb-reject,
.termsfeed-com---nb .cc-nb-changep {
  font-family: 'Poppins', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  border: none !important;
  transition: background 0.2s, transform 0.1s !important;
  white-space: nowrap !important;
}

.termsfeed-com---nb .cc-nb-okagree:active,
.termsfeed-com---nb .cc-nb-reject:active,
.termsfeed-com---nb .cc-nb-changep:active {
  transform: scale(0.95) !important;
}

/* Bouton "J'accepte" — vert ou couleur primaire de ton site */
.termsfeed-com---nb .cc-nb-okagree {
  background: #062f66 !important;   /* adapte cette couleur à celle de ton site */
  color: #fff !important;
}
.termsfeed-com---nb .cc-nb-okagree:hover {
  background: #062f66 !important;
}

/* Bouton "Je refuse" — contour */
.termsfeed-com---nb .cc-nb-reject {
  background: transparent !important;
  color: #e0e0e0 !important;
  border: 1px solid #e0e0e0 !important;
}
.termsfeed-com---nb .cc-nb-reject:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* Bouton "Changer mes préférences" — texte discret */
.termsfeed-com---nb .cc-nb-changep {
  background: transparent !important;
  color: #aaa !important;
  text-decoration: underline !important;
  padding: 8px 4px !important;
  font-size: 11px !important;
}
.termsfeed-com---nb .cc-nb-changep:hover {
  color: #fff !important;
}

/* ============================================================
   MOBILE — tout empilé verticalement
   ============================================================ */
@media (max-width: 600px) {
  .termsfeed-com---nb {
    padding: 14px 16px !important;
  }

  .termsfeed-com---nb .cc-nb-content {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .termsfeed-com---nb .cc-nb-desc {
    max-width: 100% !important;
    text-align: center !important;
  }

  .termsfeed-com---nb .cc-nb-buttons-container {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
}