:root{
  --primary:#00D9A3; 
  --primary-dark:#00B88A;
  --primary-light:#33E4B5;
  --bg-white:#ffffff;
  --bg-light:#f8f9fa; 
  --bg-lighter:#fafbfc;
  --white:#fff;
  --text:#1a1a1a; 
  --text-mid:#4a4a4a; 
  --text-dim:#6b7280;
  --radius-lg:16px; 
  --radius-md:12px;
  --border-light:rgba(0,0,0,0.08);
  --border-glow:rgba(0,217,163,0.3);
  --shadow-sm:0 2px 8px rgba(0,0,0,0.04);
  --shadow-md:0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg:0 8px 32px rgba(0,0,0,0.08);
}

/* ========== ANIMATIONS AVANCÉES ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 217, 163, 0.3), 0 0 40px rgba(0, 217, 163, 0.1);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 217, 163, 0.5), 0 0 60px rgba(0, 217, 163, 0.2);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ========== Utilities & animations ========== */
.section{
  max-width:1280px;
  margin:0 auto;
  padding:4.5rem 1.25rem;
}
@media(min-width:900px){
  .section{
    padding:5.25rem 1.5rem;
  }
}

.fade-up{
  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-up.appear{
  opacity:1;
  transform:translateY(0);
}

.scale-in{
  opacity:0;
  transform:scale(0.95);
  transition:opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scale-in.appear{
  opacity:1;
  transform:scale(1);
}

/* Effet de cascade pour les éléments multiples */
.fade-up:nth-child(1) { transition-delay: 0.1s; }
.fade-up:nth-child(2) { transition-delay: 0.2s; }
.fade-up:nth-child(3) { transition-delay: 0.3s; }
.fade-up:nth-child(4) { transition-delay: 0.4s; }
.fade-up:nth-child(5) { transition-delay: 0.5s; }

/* ========== HERO - 70VH ========== */
.hero{
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color:var(--text); 
  position:relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

/* Effet de particules flottantes en arrière-plan */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,217,163,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: float 15s ease-in-out infinite;
}

.hero .inner{
  display:grid;
  grid-template-columns: 1fr;
  gap:3rem;
  align-items:center;
  position: relative;
  z-index: 1;
  width: 100%;
}

@media(min-width:900px){
  .hero .inner{
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
  }
}

.badge{
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  background:rgba(0,217,163,.12);
  border:1px solid rgba(0,217,163,.5);
  padding:.45rem .7rem;
  border-radius:999px;
  font-weight:800;
  font-size:.72rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 217, 163, 0.2);
  animation: glow 3s ease-in-out infinite;
}

.badge-dot{
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--primary);
  box-shadow:0 0 12px var(--primary), 0 0 24px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.h1{
  color:var(--text);
  font-size:clamp(2.2rem,1rem + 2.8vw,3.3rem);
  line-height:1.08;
  margin:.8rem 0 1rem;
  font-weight:900;
  letter-spacing:-.03em;
  text-shadow:0 2px 10px rgba(0,0,0,0.05);
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.h1 .accent{
  color:var(--primary);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 30px rgba(0, 217, 163, 0.5);
}

.hero-desc{
  font-size:1rem;
  line-height:1.65;
  color:var(--text-mid);
  max-width:55ch;
  margin-bottom:1.4rem;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-bullets{
  display:grid;
  gap:.6rem;
  margin:1.2rem 0 1.6rem;
  color:var(--text);
  font-weight:600;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-bullets .row{
  display:flex;
  gap:.7rem;
  align-items:center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.35rem 0;
}

.hero-bullets .row:hover {
  transform: translateX(8px);
}

.hero-bullets .check-icon{
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius:6px;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  display:flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 900;
  font-size: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bullets .row:hover .check-icon {
  transform: scale(1.2) rotate(360deg);
}

/* Buttons avec effets premium */
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
  margin-top:1.4rem;
  animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

/* Nouveaux styles pour les boutons hero */
.btn-hero {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  padding:1rem 1.5rem;
  border-radius:14px;
  font-weight:800;
  font-size: 0.95rem;
  text-decoration:none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
  line-height: 1.3;
}

.btn-hero-primary {
  background: rgba(0,217,163,.15);
  border: 2px solid rgba(0,217,163,.4);
  color: #000;
  backdrop-filter: blur(10px);
}

.btn-hero-primary:hover {
  background: rgba(0,217,163,.25);
  border-color: rgba(0,217,163,.6);
  transform: translateY(-3px);
}

.btn-hero-secondary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #000;
  flex-direction: column;
  padding: 0.9rem 1.3rem;
}

.btn-hero-secondary:hover {
  transform: translateY(-4px) scale(1.02);
}

.btn-hero-tertiary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #000;
}

.btn-hero-tertiary:hover {
  transform: translateY(-4px) scale(1.02);
}

.btn-hero .icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.btn,.btn-alt{
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  padding:1rem 1.4rem;
  border-radius:12px;
  font-weight:800;
  font-size: 0.95rem;
  text-decoration:none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter:blur(10px);
  position: relative;
  overflow: hidden;
}

.btn{
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#000;
  border:1px solid rgba(0,0,0,.18);
}

.btn::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;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover{
  transform:translateY(-4px) scale(1.03);
  box-shadow:0 24px 60px rgba(0,217,163,.5);
}

.btn-alt{
  border:2px solid rgba(255,255,255,.3);
  color:#fff;
  background:rgba(255,255,255,.05);
  box-shadow: 0 0 0 0 rgba(0, 217, 163, 0.4);
}

.btn-alt:hover{
  border-color: var(--primary);
  background:rgba(0,217,163,.1);
  box-shadow: 0 0 0 8px rgba(0, 217, 163, 0.1);
  transform: translateY(-2px);
}

.btn .icon, .btn-alt .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.tag{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.85rem 1.1rem;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.08);
  font-weight:700;
  color:#fff;
  text-decoration:none;
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag:hover {
  border-color: rgba(255,255,255,.4);
  background:rgba(255,255,255,.12);
  transform: translateY(-2px);
}

/* Hero card avec photo ET logos en bas */
.hero-card{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  padding:0;
  box-shadow:0 16px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: scaleIn 1s cubic-bezier(0.4, 0, 0.2, 1) 1s both;
  overflow: hidden;
}

.hero-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:0 24px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0,217,163,.3);
  border-color: rgba(0,217,163,.4);
}

.hero-card-image{
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #111;
}

.hero-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,217,163,0.1), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.hero-card:hover .hero-card-image::after {
  opacity: 1;
}

.hero-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
  transition:transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card:hover .hero-card-image img{
  transform:scale(1.08);
}

/* Divider + Equipment logos dans la carte */
.hero-card-footer {
  padding: 1rem 1.2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
}

.card-equipment-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: center;
}

.card-equipment-logos .logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0.8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-equipment-logos .logo-item:hover {
  opacity: 1;
  transform: translateY(-3px);
}

.card-equipment-logos .logo-icon {
  width: 40px;
  height: 40px;
  padding: 0.5rem;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.card-equipment-logos .logo-item:hover .logo-icon {
  background: rgba(255,255,255,.1);
  border-color: rgba(0,217,163,.3);
  box-shadow: 0 4px 16px rgba(0,217,163,.2);
}

.card-equipment-logos .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-equipment-logos .logo-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  color: var(--primary);
}

.card-equipment-logos .logo-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #a0a5aa;
  text-align: center;
}

/* strip logos */
.strip{
  background:var(--bg-light);
  border-top:1px solid #eee;
  border-bottom:1px solid #eee;
  position: relative;
  overflow: hidden;
}

.strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -1000px;
  width: 1000px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,217,163,0.1), transparent);
  animation: shimmer 3s infinite;
}

.strip .logos{
  display:flex;
  gap:2rem;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  opacity:.9;
}

.icon-badge{
  display:inline-flex;
  gap:.6rem;
  align-items:center;
  border:1px solid #e7e8ea;
  border-radius:12px;
  padding:.5rem .8rem;
  background:#fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.icon-badge:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,217,163,0.15);
  border-color: var(--border-glow);
}

.icon{
  width:18px;
  height:18px;
  display:inline-block;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.icon-badge:hover .icon {
  transform: rotate(360deg);
}

/* Sections */
.kicker{
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--primary);
  margin-bottom:.5rem;
  position: relative;
  display: inline-block;
}

.kicker::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 1px;
}

.h2{
  font-size:clamp(1.6rem,.8rem + 1.6vw,2.2rem);
  font-weight:800;
  letter-spacing:-.02em;
  margin:.2rem 0 1.6rem;
  color:#111;
}

.lead{
  color:var(--text);
  max-width:65ch;
}

/* Services avec images - VERSION CLAIRE */
.services-light{
  background: var(--bg-light);
  color: var(--text);
  position:relative;
  overflow: hidden;
}

.services-light::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0,217,163,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.services-grid{
  display:grid;
  gap:1.5rem;
  position: relative;
  z-index: 1;
}

@media(min-width:640px){
  .services-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1000px){
  .services-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card{
  background:#fff;
  border:1px solid #e8e9eb;
  border-radius:var(--radius-lg);
  overflow: hidden;
  box-shadow:0 4px 12px rgba(0,0,0,.04);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover{
  transform:translateY(-8px);
  border-color:rgba(0,217,163,.3);
  box-shadow:0 16px 40px rgba(0,217,163,.15);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
  opacity: 0.6;
  transition: opacity 0.4s;
}

.service-card:hover .service-image::after {
  opacity: 0.3;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: var(--primary);
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-mid);
  margin: 0;
  flex: 1;
}

.service-link{
  margin-top: auto;
  display:inline-flex;
  gap:.45rem;
  align-items:center;
  color:var(--primary);
  font-weight:800;
  font-size: 0.9rem;
  transition: gap 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-link {
  gap: 0.75rem;
}

/* Gallery masonry avec effet reveal */
.gallery{
  background:#0b0b0b;
  color:#fff;
}

.masonry{
  columns:1;
  column-gap:1rem;
}

@media(min-width:640px){
  .masonry{
    columns:2;
  }
}

@media(min-width:1000px){
  .masonry{
    columns:3;
  }
}

.masonry .g-item{
  break-inside:avoid;
  margin-bottom:1rem;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.07);
  box-shadow:0 10px 30px rgba(0,0,0,.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.masonry .g-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,217,163,0.1) 100%);
  opacity: 0;
  transition: opacity 0.4s;
}

.masonry .g-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow:0 20px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(0,217,163,.3);
}

.masonry .g-item:hover::after {
  opacity: 1;
}

.masonry img{
  width:100%;
  display:block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.masonry .g-item:hover img {
  transform: scale(1.05);
}

/* Benefits avec glassmorphism */
.benefits{
  background:var(--bg-light);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,217,163,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.b-grid{
  display:grid;
  gap:1rem;
  position: relative;
  z-index: 1;
}

@media(min-width:900px){
  .b-grid{
    grid-template-columns:repeat(3,1fr);
  }
}

.b-card{
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  padding:1.1rem;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:1rem;
  align-items:center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  position: relative;
  overflow: hidden;
}

.b-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,217,163,0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s;
}

.b-card:hover::before {
  opacity: 1;
}

.b-card:hover{
  transform:translateY(-6px) scale(1.02);
  box-shadow:0 12px 30px rgba(0,217,163,.12), 0 0 0 1px rgba(0,217,163,.2);
  border-color:rgba(0,217,163,.35);
}

.b-pic{
  width:60px;
  height:60px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid #eee;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.b-card:hover .b-pic {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--border-glow);
  box-shadow: 0 8px 20px rgba(0,217,163,0.2);
}

.b-pic img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform 0.4s;
}

.b-card:hover .b-pic img {
  transform: scale(1.1);
}

/* Packages avec effets premium */
.pack{
  background:var(--bg-dark);
  color:#fff;
  position: relative;
  overflow: hidden;
}

.pack::before {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,217,163,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.p-grid{
  display:grid;
  gap:1.2rem;
  position: relative;
  z-index: 1;
}

@media(min-width:1000px){
  .p-grid{
    grid-template-columns:repeat(4,1fr);
  }
}

.p-card{
  background:#0a0f0f;
  border:1px solid rgba(0,217,163,.3);
  border-radius:16px;
  padding:1.25rem;
  display:flex;
  flex-direction:column;
  gap:.8rem;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.p-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  opacity: 0;
  z-index: -1;
  border-radius: inherit;
  transition: opacity 0.5s;
}

.p-card:hover::before {
  opacity: 0.2;
}

.p-card:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(0,217,163,.6);
  box-shadow: 0 20px 50px rgba(0,217,163,.35);
  background:#0f1414;
}

.p-name{
  font-weight:900;
  transition: color 0.3s;
  color: #fff;
}

.p-card:hover .p-name {
  color: var(--primary);
}

.ul{
  display:grid;
  gap:.45rem;
  color:#e0e0e0;
}

.badge-alt{
  background:rgba(0,217,163,.14);
  border:1px solid rgba(0,217,163,.45);
  color:var(--primary);
  border-radius:999px;
  padding:.25rem .6rem;
  font-size:.72rem;
  font-weight:800;
  display:inline-block;
  box-shadow: 0 0 10px rgba(0,217,163,.3);
  transition: all 0.3s;
}

.p-card:hover .badge-alt {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,217,163,.5);
}

/* Workflow avec animations en cascade */
.flow{
  background:#fff;
  position: relative;
  overflow: hidden;
}

.flow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,217,163,0.03) 0%, transparent 70%);
  pointer-events: none;
}

.flow-steps{
  display:grid;
  gap:1rem;
  position: relative;
  z-index: 1;
}

@media(min-width:900px){
  .flow-steps{
    grid-template-columns:repeat(4,1fr);
  }
}

.step{
  background:#fff;
  border:1px solid #eee;
  border-radius:14px;
  padding:1rem;
  box-shadow:0 8px 22px rgba(0,0,0,.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  transform: scaleX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover::before {
  transform: scaleX(1);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow:0 16px 40px rgba(0,217,163,.15);
  border-color: rgba(0,217,163,.3);
}

.step-num{
  width:36px;
  height:36px;
  border-radius:10px;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  display:flex;
  align-items:center;
  justify-content:center;
  color:#000;
  font-weight:900;
  box-shadow: 0 8px 20px rgba(0,217,163,.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step:hover .step-num {
  transform: scale(1.15) rotate(360deg);
  box-shadow: 0 12px 30px rgba(0,217,163,.5);
}

/* ========== TESTIMONIALS - ERFAHRUNGEN & FEEDBACK ========== */
.testimonials {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,217,163,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.testimonial-intro {
  text-align: center;
  max-width: 65ch;
  margin: 0 auto 2.5rem;
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.6;
}

.testimonials-grid {
  display: grid;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

@media(min-width:768px){
  .testimonials-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1100px){
  .testimonials-grid{
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: #fff;
  border: 1px solid #e8e9eb;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,217,163,0.12);
  border-color: rgba(0,217,163,0.3);
}

.stars {
  display: flex;
  gap: 0.25rem;
  font-size: 1.1rem;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-mid);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.author-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
}

.author-role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ========== ÜBER UNS - ABOUT SECTION ========== */
.about-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,217,163,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

@media(min-width:900px){
  .about-grid{
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 1.2rem;
}

.about-content .highlight {
  color: var(--primary);
  font-weight: 700;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  transition: gap 0.3s;
}

.about-link:hover {
  gap: 0.75rem;
}

.values-section h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.values-grid {
  display: grid;
  gap: 1rem;
}

.value-item {
  background: var(--bg-light);
  border: 1px solid #e8e9eb;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item:hover {
  background: #fff;
  border-color: rgba(0,217,163,0.3);
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(0,217,163,0.1);
}

.value-icon-wrapper {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,217,163,0.3);
}

.value-icon-wrapper svg {
  width: 20px;
  height: 20px;
}

.value-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.value-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-mid);
  margin: 0;
}

/* Modal Styles */
.custom-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    z-index: 999999;
    overflow: hidden;
}

.custom-modal-overlay.active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.custom-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    margin: auto;
}

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.custom-modal-close:hover {
    background: #000;
    color: white;
    transform: scale(1.1);
}

.custom-modal-form-wrapper {
    padding: 60px 30px 30px;
}

.custom-modal-form-wrapper h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #1a1a1a;
}

/* Mobile */
@media (max-width: 768px) {
    .custom-modal-overlay.active {
        align-items: flex-start !important;
    }
    
    .custom-modal-content {
        max-width: 100%;
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        max-height: none;
    }
    
    .custom-modal-close {
        position: fixed;
        background: #00D9A3;
        color: #000;
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 32px;
        z-index: 1000001;
    }
    
    .custom-modal-form-wrapper {
        padding: 1.5rem 1rem 2rem;
        overflow-y: auto;
        max-height: calc(100vh - 3rem);
    }
}

.masonry video {
  width: 100%;
  display: block;
  border-radius: 14px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.masonry .g-item:hover video {
  transform: scale(1.05);
}

/* FAQ avec effets d'ouverture */
.faq{
  background:#0c0c0c;
  color:#fff;
  position: relative;
}

.faq .item{
  border-bottom:1px solid rgba(255,255,255,.08);
  padding:1rem 0;
  transition: all 0.3s;
}

.faq .item:hover {
  background: rgba(255,255,255,.02);
  padding-left: 0.5rem;
}

.faq summary{
  cursor:pointer;
  font-weight:800;
  transition: color 0.3s;
  position: relative;
  padding-left: 1.5rem;
}

.faq summary::before {
  content: '→';
  position: absolute;
  left: 0;
  transition: transform 0.3s;
  color: var(--primary);
}

.faq details[open] summary::before {
  transform: rotate(90deg);
}

.faq summary:hover {
  color: var(--primary);
}

.faq p{
  color:#e8e8e8;
  padding-left: 1.5rem;
  animation: fadeInUp 0.5s ease;
}

.center{
  text-align:center;
}

/* CTA section - texte centré */
.cta-section {
  text-align: center;
}

.cta-section .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Optimisation des performances */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
