/* =========================
   THEME: Noir / Rose / Blanc
========================= */
:root{
  --bg: #0b0b0f;
  --panel: #12121a;
  --text: #ffffff;
  --muted: rgba(255,255,255,.72);
  --pink: #ff2d8d;
  --pink-2: #ff66b3;
  --border: rgba(255,255,255,.12);
  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1120px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(255,45,141,.18), transparent 55%),
              radial-gradient(900px 500px at 80% 10%, rgba(255,102,179,.10), transparent 60%),
              var(--bg);
  color: var(--text);
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
.container{ width: min(100% - 32px, var(--max)); margin-inline:auto; }
.section{ padding: 72px 0; }
.section-title{
  display:flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 24px;
}
.section-title h2{ margin:0; font-size: clamp(22px, 3vw, 34px); letter-spacing: .4px; }
.section-title p{ margin:0; color: var(--muted); max-width: 560px; }

.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: 999px;
  color: var(--muted);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  user-select:none;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,45,141,.5); background: rgba(255,45,141,.10); }
.btn.primary{
  background: linear-gradient(135deg, var(--pink), var(--pink-2));
  border-color: transparent;
  box-shadow: 0 12px 30px rgba(255,45,141,.18);
  color: #0b0b0f;
  font-weight: 700;
}
.btn.primary:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.btn.ghost{ background: transparent; }

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.grid{
  display:grid;
  gap: 18px;
}

/* =========================
   HEADER
========================= */
header{
  position: sticky;
  top:0;
  z-index: 1000;
  background: rgba(11,11,15,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar{
  display:flex; align-items:center; justify-content: space-between;
  padding: 14px 0;
}
.brand{
  display:flex; align-items:center; gap: 12px;
  font-weight: 800; letter-spacing: .6px;
}
/*.brand .logo{
  width: 40px; height: 40px;
  border-radius: 12px;
  background: radial-gradient(circle at 30% 30%, var(--pink), transparent 60%),
              radial-gradient(circle at 80% 40%, var(--pink-2), transparent 60%),
              rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
} */
  .logo-img{
  height: 65px;   /* ajuste si besoin */
  width: auto;
  display: block;
  object-fit: contain;
}

.brand span{ font-size: 16px; }
.nav-links{
  display:flex; align-items:center; gap: 18px;
}
.nav-links a{
  color: var(--muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover{
  background: rgba(255,255,255,.06);
  color: var(--text);
}
.nav-links a.active{
  color: var(--text);
  background: rgba(255,45,141,.12);
  border: 1px solid rgba(255,45,141,.28);
}

.nav-actions{ display:flex; align-items:center; gap: 10px; }

.burger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  cursor:pointer;
  position: relative;
}
.burger span{
  position:absolute; left: 12px; right: 12px;
  height: 2px; background: var(--text);
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}
.burger span:nth-child(1){ top: 14px; }
.burger span:nth-child(2){ top: 21px; opacity: .85; }
.burger span:nth-child(3){ top: 28px; opacity: .7; }

header.open .burger span:nth-child(1){ top: 21px; transform: rotate(45deg); }
header.open .burger span:nth-child(2){ opacity: 0; }
header.open .burger span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* mobile dropdown */
.mobile-panel{
  display:none;
  padding: 0 0 16px;
}
header.open .mobile-panel{ display:block; }
.mobile-panel .mobile-links{
  display:grid;
  gap: 10px;
  padding: 10px 0 0;
}
.mobile-panel a{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
}
.mobile-panel a.active{
  color: var(--text);
  border-color: rgba(255,45,141,.28);
  background: rgba(255,45,141,.10);
}

/* =========================
   FORMS / TEXT UTILS
========================= */
form{ display:grid; gap: 12px; }
.field{ display:grid; gap: 8px; }
label{ color: var(--muted); font-size: 13px; }
input, textarea, select{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline: none;
}
textarea{ min-height: 120px; resize: vertical; }
input:focus, textarea:focus, select:focus{
  border-color: rgba(255,45,141,.5);
  box-shadow: 0 0 0 4px rgba(255,45,141,.12);
}
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-note{ color: var(--muted); font-size: 13px; }
.toast{
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,45,141,.28);
  background: rgba(255,45,141,.10);
  color: var(--text);
  display:none;
}

/* =========================
   ABOUT - 4 GRIDS (2 CARDS)
========================= */

.about-grid{
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 18px;
  margin-top: 18px;
}

.about-card{
  padding: 22px;
}

.about-card h3{
  margin: 0 0 10px;
}

.about-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.about-tags{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.about-media{
  padding: 0;
  overflow: hidden;
}

.about-media img{
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.03);
}

.values-stack{
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.value-item{
  padding: 16px;
  box-shadow: none;
}

.value-item p{
  margin: 6px 0 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px){
  .about-grid{
    grid-template-columns: 1fr;
  }
  .about-media img{
    min-height: 220px;
  }
}

/* ===== PRICE GRID CENTER ===== */

.price-grid{

  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 🔥 2 colonnes */
  gap: 32px;
  max-width: 800px;   /* largeur contrôlée */
  margin: 40px auto 0; /* centre la section */
}

.price-card{
  padding: 22px;
  text-align: left;
}

.price-card h3{
  margin: 0 0 8px;
}

.price{
  font-size: 36px;
  font-weight: 900;
  letter-spacing: .2px;
  margin: 12px 0;
}

.price small{
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.bullets{
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.tag{
  display:inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,45,141,.28);
  background: rgba(255,45,141,.10);
  color: var(--text);
  font-size: 12px;
}



/* =========================
   SLIDER (Cours - styles)
========================= */
.slider-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.slider-controls{ display:flex; gap: 10px; }

.slider-viewport{
  overflow:hidden;
  border-radius: 16px;
}

.slider-track{
  display:flex;
  gap: 14px;
  scroll-behavior: smooth;
  overflow-x: auto;
  padding: 2px;
  scrollbar-width: none; /* Firefox */
}
.slider-track::-webkit-scrollbar{ display:none; }

.slide{
  flex: 0 0 calc(50% - 7px); /* 2 visibles desktop */
  padding: 14px;
  box-shadow: none; /* déjà dans .card */
}
.slide-media{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  aspect-ratio: 16/10;
}
.slide-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  /*object-position: center 55%; */
  transform: scale(1.02);
}

.slide-media video{
  object-fit: contain;
  width:100%;
  height:100%;
  /*object-position: center 55%; */
  transform: scale(1.02);
}

.slide-body{ padding-top: 12px; }
.slide-body h3{ margin: 0 0 8px; }
.slide-body p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.slide-tags{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* ===== FOOTER ALIGNEMENT PROPRE ===== */

footer{
  background:
    radial-gradient(800px 500px at 15% 20%, rgba(255,45,141,.08), transparent 60%),
    radial-gradient(600px 400px at 85% 30%, rgba(212,175,55,.08), transparent 60%),
    linear-gradient(180deg, #0b0c14 0%, #05060d 100%);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 80px; /* sépare bien de la section précédente */
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 70px;                 /* espace entre colonnes (pas collé) */
  align-items: start;        /* TOUT en haut */
}

.footer-col{
  display: flex;
  flex-direction: column;
  gap: 10px;                 /* espace interne */
}

/* Titres (Liens rapides / Liens de chartres) */
.footer-col h4{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
}

/* Liens */
.footer-col a{
  padding: 6px 0;
  line-height: 1.4;
}

/* Colonne brand */
.footer-main{
  gap: 12px;
}

.footer-title{ margin: 0; }
.footer-sub{ margin: 0; }
.footer-desc{ margin: 0; }

/* Ajuste la position du logo */
.footer-logo{
  margin: 10px 0 6px; /* moins éloigné du texte */
}
.footer-col h4,
.footer-title{
  line-height: 1.1;
}

/* ===== Ajustements Footer ===== */

.footer-logo img{
  height: 120px;   /* réduit la taille */
  width: auto;
  display: block;
  object-fit: contain;
  margin-top: 10px;
}

/* Remonte la description */
.footer-desc{
  font-size: 16px;       /* un peu plus grand */
  line-height: 1.7;
  margin-top: 8px;       /* plus proche du logo */
  margin-bottom: 0;
}

/* Titre plus impactant */
.footer-title{
  font-size: 24px;
  font-weight: 800;
}

/* Sous-titre un peu plus gros */
.footer-sub{
  font-size: 16px;
  margin-top: 4px;
}

/* Copyright bien séparé */
.footer-bottom{
  margin-top: 50px;      /* bien en dessous */
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer-design{
  opacity: .8;
}

/* ===== FOOTER SOCIAL ===== */

.footer-social{
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  transition: all .25s ease;
}

.footer-social a:hover{
  background: rgba(255,45,141,.15);
  border-color: rgba(255,45,141,.4);
  transform: translateY(-2px);
}

.footer-social svg{
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* =========================
   REVIEW FORM
========================= */

.review-card{
  max-width: 700px;
  margin: 0 auto;
  padding: 28px;
}

.review-card form{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.review-card .form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.review-card .field{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-card label{
  font-size: 14px;
  color: var(--muted);
}

.review-card input,
.review-card textarea{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 14px 16px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

.review-card input:focus,
.review-card textarea:focus{
  border-color: #ff2d8d;
  box-shadow: 0 0 0 3px rgba(255,45,141,.15);
}

.review-card textarea{
  resize: vertical;
  min-height: 120px;
}

/* Responsive */
@media (max-width: 768px){
  .review-card .form-row{
    grid-template-columns: 1fr;
  }
}



/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .price-grid{ grid-template-columns: 2, 1fr; }
  .footer-grid{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-row{ grid-template-columns: 1fr; }

  .slide{ flex-basis: 85%; } /* slider mobile/tablette */
}

@media (max-width: 860px){
  /* Header changes in responsive */
  .nav-links{ display:none; }
  .nav-actions .btn{ display:none; }
  .burger{ display:block; }
}


@media (max-width: 768px){
  .price-grid{
    grid-template-columns: 1fr;
  }
}
/* =========================
   HERO FULL WIDTH 100vh
========================= */

.hero-full{
  position: relative;
  width: 100%;
  height: 100vh; /* hauteur écran */
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Vidéo en fond */
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Overlay sombre + effet rose */
.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,11,15,.95) 0%, rgba(11,11,15,.75) 45%, rgba(11,11,15,.4) 100%),
    radial-gradient(800px 600px at 20% 20%, rgba(255,45,141,.25), transparent 60%);
  z-index: 1;
}

/* Contenu */
.hero-inner{
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-inner h1{
  margin: 14px 0 10px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
}

.hero-inner p{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-cta{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* KPIs */
.kpis{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.kpi{
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.kpi b{
  display:block;
  font-size: 20px;
}

.kpi span{
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px){
  .hero-full{
    height: 100vh;
    padding-top: 80px; /* évite collision header */
  }

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

/* =========================
   ABOUT (split)
========================= */
.about-split{ grid-template-columns: 1fr 1fr; }

/* =========================
   NEWS
========================= */
.news-grid{ grid-template-columns: repeat(3, 1fr); }
.news-item{ padding: 18px; }
.news-item .meta{ color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.news-item h3{ margin: 0 0 8px; }
.news-item p{ margin:0; color: var(--muted); line-height: 1.6; }

/* =========================
   GALLERY + VIDEOS
========================= */
.gallery-grid{ grid-template-columns: repeat(4, 1fr); }
.gallery-item{
  appearance:none;
  padding:0;
  cursor:pointer;
  overflow:hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  min-height: 160px;
}
.gallery-item img{
  width:100%; height:100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform .2s ease, filter .2s ease;
  filter: saturate(1.05) contrast(1.03);
}
.gallery-item:hover img{ transform: scale(1.06); }

.video-grid{
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.video{
  padding: 16px;
}

.video .frame{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);

  aspect-ratio: 16/9; /* ✅ taille IDENTIQUE pour toutes les cards */

  display: flex;
  justify-content: center;
  align-items: center;
}

.video video{
  max-width: 100%;
  max-height: 100%;

  width: auto;
  height: auto;

  object-fit: contain; /* ✅ respecte le ratio */
}

/* =========================
   TESTIMONIES
========================= */
.test-wrap{
  display:grid;
  grid-template-columns: 1fr .9fr;
  gap: 18px;
  align-items: start;
}
.test-card{ padding: 22px; }
.quote{
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 14px;
}
.author{ display:flex; align-items:center; gap: 12px; }
.avatar{
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 30% 30%, rgba(255,45,141,.65), transparent 55%),
    rgba(255,255,255,.04);
}
.author b{ display:block; }
.author span{ color: var(--muted); font-size: 13px; }
.test-controls{ display:flex; gap: 10px; margin-top: 12px; }

/* =========================
   CONTACT GRID
========================= */
.contact-grid{ grid-template-columns: 1.1fr .9fr; }

/* =========================
   CONTACT - SOCIAL ICONS + MAP
========================= */
.social-icons{
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-btn{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.social-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,45,141,.45);
  background: rgba(255,45,141,.10);
}

.social-btn svg{
  width: 22px;
  height: 22px;
  fill: #fff;
}

.map-frame{
  margin-top: 10px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  aspect-ratio: 16 / 10;
}

.map-frame iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================
   MODAL
========================= */
.modal{
  display:none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  z-index: 2000;



  align-items: center;
  justify-content: center;
}

.modal.active{
  display: flex; /* ✅ s'affiche seulement quand active */
  justify-content: center; /* ✅ centre horizontal */
  align-items: center;     /* ✅ centre vertical */
  padding: 20px;
}

.modal-card{
  width: 100%;
  max-width: 900px;
  margin: auto;
}
#modal-close{
  position:absolute;
  right: 12px;
  top: 12px;
}
#modal-img{
  max-width: 100%;
  max-height: 80vh;        /* ✅ limite hauteur écran */
  display: block;
  margin: 0 auto;        /* ✅ centre l’image */
  width: auto;
  height: auto;

  object-fit: contain;     /* ✅ jamais coupé */
  
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
}

/* ===== LEGAL PAGES ===== */

.legal{
  min-height: 70vh;
}

.legal h1{
  margin-bottom: 24px;
}

.legal h3{
  margin-top: 28px;
}

.legal p,
.legal ul{
  color: var(--muted);
  line-height: 1.7;
}

.legal ul{
  padding-left: 18px;
}

/* =========================
   REVEAL ON SCROLL
========================= */
.reveal{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}

.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* option : décalage léger pour la 2e card */
.reveal.reveal-right{
  transform: translateY(22px) translateX(10px);
}
.reveal.is-visible.reveal-right{
  transform: translateY(0) translateX(0);
}

/* Respecte les préférences d’accessibilité */
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal.reveal-right{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================
   RESPONSIVE ACCUEIL
========================= */
@media (max-width: 980px){
  .hero-wrap{ grid-template-columns: 1fr; }
  .hero-right{ min-height: 260px; }
  .about-split{ grid-template-columns: 1fr; }
  .news-grid{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .video-grid{ grid-template-columns: 1fr; }
  .test-wrap{ grid-template-columns: 1fr; }
  .kpis{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
}