/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #020309 100%);
  color: #f9fafb;
  line-height: 1.6;
}

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

/* STRUCTURE GÃ‰NÃ‰RALE */
.section {
  padding: 80px 20px;
}

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

.two-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 40px;
}

h1, h2, h3 {
  font-family: "Poppins", system-ui, sans-serif;
  letter-spacing: 0.03em;
  margin-top: 0;
}

h1 { font-size: clamp(2.4rem, 3vw, 3.2rem); }
h2 { font-size: clamp(1.9rem, 2.4vw, 2.4rem); margin-bottom: 0.4em; }
h3 { font-size: 1.1rem; }

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at top left, #f472b6 0, rgba(15, 23, 42, 0.9) 36%),
    radial-gradient(circle at bottom right, #fbbf24 0, #020617 45%),
    radial-gradient(circle at top, rgba(248, 250, 252, 0.12), transparent 55%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(12,10,24,0.6), rgba(2,6,23,0.98));
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 18px 20px 70px;
  max-width: 1120px;
  margin: 0 auto;
}

/* NAV */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 16px;
}

.logo {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #fef9c3;
}

.logo span {
  background: linear-gradient(135deg, #fde68a, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 14px rgba(250, 204, 21, 0.6);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.nav-links a {
  color: #f9fafb;
  text-decoration: none;
  opacity: 0.85;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  border-color: rgba(253,224,171,0.8);
}

.nav-cta {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(253,224,171,0.9);
  background: rgba(15,23,42,0.7);
}

/* HERO CONTENT */
.hero-content {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(0,1fr);
  gap: 40px;
  align-items: center;
  margin-top: 36px;
}

.hero-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fef3c7;
}

.hero-subtitle {
  margin-top: 10px;
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}

.hero-hours {
  font-size: .9rem;
  color: #d1d5db;
}

.hero-photo-frame {
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0,0,0,0.8);
  border: 1px solid rgba(248,250,252,0.22);
}

/* BOUTONS */
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:9px 20px;
  font-size:.9rem;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
  transition:.2s;
}

.btn-primary {
  background: linear-gradient(135deg,#f97316,#ec4899,#facc15);
  color:#111827;
  box-shadow:0 0 22px rgba(248,250,252,0.4);
}

.btn-primary:hover { filter:brightness(1.1); }

.btn-ghost {
  background:rgba(15,23,42,0.7);
  border:1px solid rgba(163,163,175,0.5);
  color:white;
}

/* VIBES */
.vibes-grid {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  grid-auto-rows:160px;
  gap:16px;
}

.vibes-card {
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 18px 45px rgba(0,0,0,.8);
}

.vibes-card.big { grid-row:span 2; }

/* STORY */
.story-card {
  background: radial-gradient(circle at top left,#1f2937,#020617 70%);
  border-radius:26px;
  padding:22px;
  box-shadow:0 22px 55px rgba(0,0,0,.85);
}

/* âœ… SLIDER ENFANCE â†’ ADULTE */
.story-slider {
  position: relative;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #05070f;
}

.story-slide {
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  animation: storyFade 18s infinite;
}

.story-slide.slide1 { background-image:url("img/story-boy-1.jpg"); animation-delay:0s; }
.story-slide.slide2 { background-image:url("img/story-boy-2.jpg"); animation-delay:6s; }
.story-slide.slide3 { background-image:url("img/story-boy-3.jpg"); animation-delay:12s; }

@keyframes storyFade {
  0%,5% { opacity:0; }
  10%,28% { opacity:1; }
  33%,100% { opacity:0; }
}

/* TARIFS & SLIDER */
.price-slider {
  position:relative;
  aspect-ratio:3/4;
  border-radius:32px;
  overflow:hidden;
}

.price-slider img {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  animation: fadeSlider 12s infinite;
}

.price-slider img:nth-child(1){animation-delay:0s;}
.price-slider img:nth-child(2){animation-delay:3s;}
.price-slider img:nth-child(3){animation-delay:6s;}
.price-slider img:nth-child(4){animation-delay:9s;}

@keyframes fadeSlider {
  0%,10% {opacity:1;}
  25%,100% {opacity:0;}
}

/* GALERIE */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:14px;
}

/* FOOTER */
.footer {
  background:#020617;
  color:#9ca3af;
  padding:18px;
}

/* RESPONSIVE */
@media(max-width:900px){
  .hero-content,.two-cols{grid-template-columns:1fr;}
}

/* =========================================================
   FIXS CIBLÃ‰S (sans casser le style Insta)
   ========================================================= */

/* 1) Prestations : si une image apparait dans la section, on la limite */
#prestations img{
  max-height: 420px;
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  margin: 20px auto;
}

/* 2) Slider Tarifs (les 4 photos Ã  cÃ´tÃ© de la carte des prix)
   Objectif :
   - sur Mac : pas Ã©norme
   - sur iPhone : visible (hauteur rÃ©elle) et pas â€œÃ©crasÃ©â€
*/
.price-slider{
  position: relative;
  width: 100%;
  height: 420px;          /* desktop */
  max-width: 420px;       /* Ã©vite Ã©norme sur Mac */
  margin: 14px auto 0;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: unset;    /* on contrÃ´le la hauteur */
}

/* Les images du slider remplissent le conteneur */
.price-slider img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeSlider 12s infinite;
}

/* Timing slider */
.price-slider img:nth-child(1){animation-delay:0s;}
.price-slider img:nth-child(2){animation-delay:3s;}
.price-slider img:nth-child(3){animation-delay:6s;}
.price-slider img:nth-child(4){animation-delay:9s;}

/* iPhone / mobile */
@media (max-width: 768px){
  .section { padding: 56px 16px; }

  .price-slider{
    max-width: 100%;
    height: 240px;        /* << taille iPhone */
    border-radius: 20px;
  }

  #prestations img{
    max-height: 260px;
  }
}

/* 3) Story : on pointe bien vers TES 5 fichiers */
.story-slider{ height: 240px; }

.story-slide.slide1{ background-image:url("img/story-1.jpeg"); animation-delay:0s; }
.story-slide.slide2{ background-image:url("img/story-2.jpeg"); animation-delay:5s; }
.story-slide.slide3{ background-image:url("img/story-3.jpeg"); animation-delay:10s; }
.story-slide.slide4{ background-image:url("img/story-4.jpeg"); animation-delay:15s; }
.story-slide.slide5{ background-image:url("img/story-5.jpeg"); animation-delay:20s; }

/* Animation 5 slides (25s = 5x5s) */
@keyframes storyFade5{
  0%,6%{opacity:0;}
  10%,22%{opacity:1;}
  26%,100%{opacity:0;}
}

/* Remplace lâ€™animation actuelle si besoin */
.story-slide{ animation: storyFade5 25s infinite; }
/* STORY — slide concours : on remonte le cadrage (visage) */
.story-slide.slide3{
  background-position: center 45% !important; /* essaye 20%, puis 10% si besoin */
}
/* STORY — sécurité : fond moins “noir vide” */
.story-slider{ background: #111; }
