:root{
  --navy:#0b1440;
  --navy-deep:#070c2b;
  --rose:#da1884;
  --rose-dark:#a3125f;
  --ink:#1a1d2e;
  --paper:#ffffff;
  --paper-alt:#f5f6fa;
  --line:#e4e6ef;
  --grey:#6b6f85;
  --radius:14px;
  --shadow:0 6px 24px rgba(11,20,64,0.08);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}

h1,
h2{
  font-family:inherit;
  font-weight:900;
  letter-spacing:-.02em;
  margin:0;
}

a{
  color:inherit;
  text-decoration:none;
}

ul{
  list-style:none;
  margin:0;
  padding:0;
}

img{
  max-width:100%;
  display:block;
}

:focus-visible{
  outline:3px solid var(--rose);
  outline-offset:2px;
}

@media (prefers-reduced-motion: reduce){
  html{
    scroll-behavior:auto;
  }

  *{
    animation:none !important;
    transition:none !important;
  }
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}

.header-inner{
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  gap:32px;
  padding:10px 24px;
}

.brand-logo{
  height:56px;
  width:auto;
}

.main-nav{
  display:flex;
  gap:28px;
  margin-left:12px;
  flex:1;
}

.main-nav a{
  font-weight:700;
  font-size:.82rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--navy);
  padding:6px 2px;
  position:relative;
}

.main-nav a::after{
  content:'';
  position:absolute;
  left:0;
  right:0;
  bottom:-2px;
  height:3px;
  background:var(--rose);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform .2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after{
  transform:scaleX(1);
}

.main-nav a.active{
  color:var(--rose);
}


/* réseaux sociaux */

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

.social-icon{
  width:34px;
  height:34px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
}

.social-fb{
  background:var(--navy);
}

.social-ig{
  background:var(--rose);
}

.social-icon:hover{
  opacity:.85;
}


/* menu mobile */

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:0;
  cursor:pointer;
  padding:6px;
}

.nav-toggle span{
  width:24px;
  height:2px;
  background:var(--navy);
  display:block;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  position:relative;
  background:var(--navy);
  overflow:hidden;
  padding:76px 24px 92px;
  clip-path:polygon(
    0 0,
    100% 0,
    100% 88%,
    0 100%
  );
}

.hero-inner{
  max-width:1200px;
  margin:0 auto;
  position:relative;
  z-index:3;
}

.hero-title{
  font-size:clamp(2.6rem,7vw,5.2rem);
  line-height:.96;
  color:#fff;
  letter-spacing:-.01em;
}

.hero-title span{
  color:var(--rose);
}

.hero-tagline{
  color:#c7cbe6;
  font-size:1.05rem;
  max-width:480px;
  margin:20px 0 0;
  font-weight:500;
}


/* ---------------------------------------------------------
   Décoration filet
   --------------------------------------------------------- */

.hero-net{
  position:absolute;
  right:-8%;
  top:-25%;
  width:67%;
  height:155%;
  z-index:1;
  pointer-events:none;

  background-image:
    repeating-linear-gradient(
      115deg,
      rgba(218,24,132,.18) 0 2px,
      transparent 2px 36px
    ),
    repeating-linear-gradient(
      25deg,
      rgba(218,24,132,.13) 0 2px,
      transparent 2px 36px
    );

  transform:rotate(-4deg);

  -webkit-mask-image:
    radial-gradient(
      ellipse at 65% 45%,
      #000 0%,
      #000 38%,
      transparent 75%
    );

  mask-image:
    radial-gradient(
      ellipse at 65% 45%,
      #000 0%,
      #000 38%,
      transparent 75%
    );
}


/* deuxième zone graphique très discrète */

.hero::after{
  content:'';
  position:absolute;
  right:-15%;
  top:-30%;
  width:65%;
  height:150%;

  background:
    radial-gradient(
      ellipse at center,
      rgba(218,24,132,.12) 0%,
      rgba(218,24,132,.05) 35%,
      transparent 70%
    );

  transform:rotate(-10deg);
  pointer-events:none;
  z-index:0;
}



/* =========================================================
   SECTIONS
   ========================================================= */

.section{
  max-width:1200px;
  margin:0 auto;
  padding:64px 24px;
}

.section-alt{
  background:var(--paper-alt);
}

main .split-section.section{
  padding-top:0;
}

.section-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.5rem;
  color:var(--navy);
  margin-bottom:28px;
}

.title-icon{
  color:var(--rose);
  font-size:1.25rem;
}

.title-icon svg{
  width:24px;
  height:24px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.note{
  margin-top:22px;
  font-size:.85rem;
  color:var(--grey);
  display:flex;
  gap:8px;
  align-items:flex-start;
}


/* =========================================================
   HORAIRES
   ========================================================= */

.cards-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(3,1fr);
}

.hcard{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px 18px 16px;
  box-shadow:var(--shadow);
}

.hcard-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:800;
  color:var(--navy);
  font-size:1.4rem;
  margin:0 0 10px;
}

.hcard-title .dot{
  width:9px;
  height:9px;
  border-radius:50%;
  background:var(--rose);
  flex:none;
}

.hcard-slot{
  padding:8px 0;
  border-top:1px dashed var(--line);
}

.hcard-slot:first-of-type{
  border-top:none;
}

.hcard-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:1.2rem;
  color:var(--ink);
}

.hcard-row .jour{
  color:var(--grey);
  font-weight:600;
}

.hcard-row .horaire{
  font-weight:700;
  color:var(--rose-dark);
}

.hcard-loc{
  margin:4px 0 0;
  font-size:.95rem;
  color:var(--grey);
  display:flex;
  gap:5px;
  align-items:center;
}


/* =========================================================
   TARIFS
   ========================================================= */

.tarifs-grid{
  display:grid;
  gap:16px;
  grid-template-columns:repeat(3,1fr);
}

.tcard{
  background:var(--navy);
  color:#fff;
  border-radius:var(--radius);
  padding:22px 20px;
  text-align:center;
}

.tcard .label{
  font-size:1.2rem;
  letter-spacing:.05em;
  text-transform:uppercase;
  font-weight:700;
  color:#c7cbe6;
  margin-bottom:12px;
}

.tcard .price{
  font-weight:900;
  letter-spacing:-.02em;
  font-size:2.1rem;
  color:var(--rose);
}

.tcard .sub{
  font-size:.78rem;
  color:#9fa3c4;
  margin-top:8px;
}


/* =========================================================
   CONTACT / PARTENAIRES
   ========================================================= */

.split-section{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
}

.contact-list li{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 0;
  font-size:.95rem;
}

.contact-list .ico{
  color:var(--rose);
  flex:none;
}

.contact-list a:hover{
  color:var(--rose);
}


/* partenaires */

.partners-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}

.pcard{
  border:1px solid var(--line);
  border-radius:10px;
  padding:4px;

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

  background:#fff;

  min-height:0;
  overflow:hidden;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.pcard img{
  display:block;

  width:100%;
  height:130px;

  object-fit:contain;
}


/* =========================================================
   CONTACT - ICÔNES
   ========================================================= */

#contactList{
  list-style:none;
  padding:0;
  margin:0;
}

#contactList li{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}

#contactList .ico{
  width:22px;
  height:22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

#contactList .ico svg{
  width:21px;
  height:21px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#contactList .facebook svg{
  fill:currentColor;
  stroke:none;
}

#contactList a{
  text-decoration:none;
}

#contactList a:hover{
  text-decoration:underline;
}


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

.site-footer{
  background:var(--navy-deep);
  color:#9fa3c4;
  padding:18px 24px;
  font-size:.82rem;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;

  position:relative;
}

.back-to-top{
  position:absolute;
  right:24px;
  top:50%;
  transform:translateY(-50%);
  color:var(--rose);
  font-weight:700;
  font-size:1.1rem;
}


/* mentions légales */

.legal-link{
  background:none;
  border:0;
  padding:0;
  color:#9fa3c4;
  font:inherit;
  font-size:.82rem;
  cursor:pointer;
}

.legal-link:hover{
  color:var(--rose);
}


/* =========================================================
   MODAL MENTIONS LÉGALES
   ========================================================= */

.legal-modal{
  position:fixed;
  inset:0;
  z-index:1000;

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

  padding:24px;

  visibility:hidden;
  opacity:0;

  transition:
    opacity .2s ease,
    visibility .2s ease;
}

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

.legal-overlay{
  position:absolute;
  inset:0;
  background:rgba(7,12,43,.72);
  backdrop-filter:blur(4px);
}

.legal-box{
  position:relative;
  z-index:2;

  width:min(720px,100%);
  max-height:min(80vh,700px);

  overflow-y:auto;

  background:var(--paper);
  border-radius:18px;

  padding:32px;

  box-shadow:0 20px 60px rgba(7,12,43,.3);

  transform:translateY(15px) scale(.98);

  transition:transform .2s ease;
}

.legal-modal.open .legal-box{
  transform:translateY(0) scale(1);
}

.legal-close{
  position:absolute;
  top:16px;
  right:18px;

  width:36px;
  height:36px;

  border:0;
  border-radius:50%;

  background:var(--paper-alt);
  color:var(--navy);

  font-size:28px;
  line-height:1;

  cursor:pointer;
}

.legal-close:hover{
  background:var(--rose);
  color:#fff;
}

.legal-content{
  color:var(--ink);
  font-size:.92rem;
  line-height:1.65;
}

.legal-content h3{
  color:var(--navy);
  font-size:1.05rem;
  margin:28px 0 8px;
}

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

.legal-content p{
  margin:0 0 12px;
}


/* bloque le défilement du site derrière la fenêtre */

body.modal-open{
  overflow:hidden;
}


/* =========================================================
   MENU MOBILE
   ========================================================= */

.main-nav.open{
  display:flex;
  flex-direction:column;

  position:absolute;
  top:100%;
  left:0;
  right:0;

  background:var(--paper);

  padding:16px 24px;
  gap:14px;

  border-bottom:1px solid var(--line);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:900px){

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

  .split-section{
    grid-template-columns:1fr;
  }

}


@media (max-width:720px){

  .main-nav,
  .social-links{
    display:none;
  }

  .nav-toggle{
    display:flex;
  }

  .header-inner{
    gap:12px;
  }

  .hero{
    padding:56px 20px 72px;

    clip-path:polygon(
      0 0,
      100% 0,
      100% 94%,
      0 100%
    );
  }

  .hero-net{
    right:-25%;
    width:85%;
    opacity:.75;
  }

  .section{
    padding:44px 20px;
  }

}


@media (max-width:520px){

  .cards-grid,
  .tarifs-grid{
    grid-template-columns:1fr;
  }

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

  .legal-modal{
    padding:12px;
  }

  .legal-box{
    padding:26px 20px;
    max-height:88vh;
  }

}

/* ---------- ballon dans le hero ---------- */

.hero-ball {
  position: absolute;
  z-index: 2;

  width: clamp(260px, 32vw, 440px);
  height: auto;

  right: 6%;
  top: 50%;

  transform: translateY(-50%);

  /* Transformation du noir en rose */
  filter:
    brightness(0)
    saturate(100%)
    invert(20%)
    sepia(90%)
    saturate(5000%)
    hue-rotate(315deg)
    brightness(90%)
    contrast(100%);

  opacity: .45;

  pointer-events: none;
  user-select: none;
}

@media (max-width:720px){

  .hero-ball {
    width: 220px;
    right: -55px;
    top: 58%;
    opacity: .25;
  }

}
