/* ——— L'îlot Glaces — univers sucré ——— */
.page-ilot {
  --ilot-rose: #ec4899;
  --ilot-rose-dark: #be185d;
  --ilot-rose-light: #f9a8d4;
  --ilot-rose-pale: #fbcfe8;
  --ilot-bg: #fff5f9;
  --ilot-cream: #fffbeb;
  --ilot-text: #500724;
  --ilot-muted: #9d174d;
  background: var(--ilot-bg);
  color: var(--ilot-text);
}

.page-ilot .header .logo {
  color: var(--ilot-text);
}

.page-ilot .burger-line {
  background: var(--ilot-text);
}

.page-ilot .back-link {
  color: var(--ilot-muted);
}

.page-ilot .back-link:hover {
  color: var(--ilot-rose-dark);
}

/* Fond animé */
.ilot-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ilot-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: ilot-blob-drift 18s ease-in-out infinite;
}

.ilot-bg-blob--1 {
  width:  min(50vw, 320px);
  height: min(50vw, 320px);
  background: var(--ilot-rose-pale);
  top: -8%;
  right: -5%;
  animation-delay: 0s;
}

.ilot-bg-blob--2 {
  width: min(40vw, 260px);
  height: min(40vw, 260px);
  background: #fde68a;
  bottom: 10%;
  left: -8%;
  animation-delay: -6s;
}

.ilot-bg-blob--3 {
  width: min(35vw, 220px);
  height: min(35vw, 220px);
  background: var(--ilot-rose-light);
  top: 45%;
  left: 40%;
  animation-delay: -12s;
}

@keyframes ilot-blob-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -20px) scale(1.06); }
  66% { transform: translate(-16px, 14px) scale(0.94); }
}

/* Décorations flottantes */
.ilot-floats {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ilot-float {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  font-size: var(--size, 1.5rem);
  opacity: var(--opacity, 0.35);
  animation: ilot-float var(--dur, 12s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

@keyframes ilot-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(8px, -14px) rotate(6deg); }
  50% { transform: translate(-6px, -22px) rotate(-4deg); }
  75% { transform: translate(10px, -8px) rotate(3deg); }
}

.page-ilot .offre-detail.ilot-page {
  position: relative;
  z-index: 2;
  max-width: 1000px;
}

/* Hero */
.ilot-hero {
  position: relative;
  margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem)) 3.5rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  text-align: center;
  overflow: hidden;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(145deg, var(--ilot-rose-pale) 0%, #fff 45%, var(--ilot-cream) 100%);
  background-size: 200% 200%;
  animation: ilot-gradient 10s ease infinite;
}

@keyframes ilot-gradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.ilot-hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ilot-rose-dark);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ilot-rose-pale);
  border-radius: 999px;
  animation: ilot-pulse-badge 2.5s ease-in-out infinite;
}

@keyframes ilot-pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236, 72, 153, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(236, 72, 153, 0); }
}

.ilot-hero h1 {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ilot-rose-dark);
  margin-bottom: 0.5rem;
}

.ilot-hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 500;
  color: var(--ilot-rose);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.ilot-hero-lead {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ilot-muted);
}

.ilot-hero-visual {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(190, 24, 93, 0.18);
  animation: ilot-hero-img 5s ease-in-out infinite;
}

@keyframes ilot-hero-img {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ilot-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.ilot-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(190, 24, 93, 0.15), transparent 40%);
  pointer-events: none;
}

/* Cartes prestations */
.ilot-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.ilot-card {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid var(--ilot-rose-pale);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}

.ilot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ilot-rose), var(--ilot-rose-light), #fde68a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.ilot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(236, 72, 153, 0.15);
  border-color: var(--ilot-rose-light);
}

.ilot-card:hover::before {
  transform: scaleX(1);
}

.ilot-card-icon {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  animation: ilot-wiggle 3s ease-in-out infinite;
}

.ilot-card:nth-child(2) .ilot-card-icon { animation-delay: -0.5s; }
.ilot-card:nth-child(3) .ilot-card-icon { animation-delay: -1s; }
.ilot-card:nth-child(4) .ilot-card-icon { animation-delay: -1.5s; }

@keyframes ilot-wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(6deg); }
}

.ilot-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ilot-rose-dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.ilot-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ilot-muted);
  margin: 0;
}

/* Bandeau défilant */
.ilot-marquee-wrap {
  margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem)) 3rem;
  padding: 0.85rem 0;
  background: var(--ilot-rose);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ilot-marquee {
  display: flex;
  width: max-content;
  animation: ilot-marquee 28s linear infinite;
}

.ilot-marquee span {
  flex-shrink: 0;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

@keyframes ilot-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Sections contenu */
.page-ilot .detail-block {
  margin-bottom: 3rem;
}

.page-ilot .detail-block h2 {
  font-size: 1.375rem;
  color: var(--ilot-rose-dark);
}

.page-ilot .detail-block h3 {
  color: var(--ilot-rose-dark);
}

.page-ilot .detail-block p,
.page-ilot .detail-list li {
  color: var(--ilot-muted);
}

.page-ilot .detail-checklist li::before {
  color: var(--ilot-rose);
}

.page-ilot .detail-checklist {
  margin-top: 1rem;
}

.ilot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.ilot-gallery figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  animation: ilot-gallery-in 0.8s var(--ease) backwards;
}

.ilot-gallery figure:nth-child(1) { animation-delay: 0.1s; }
.ilot-gallery figure:nth-child(2) { animation-delay: 0.2s; }
.ilot-gallery figure:nth-child(3) { animation-delay: 0.3s; }

@keyframes ilot-gallery-in {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.ilot-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.ilot-gallery figure:hover img {
  transform: scale(1.06);
}

.ilot-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

.ilot-split-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(190, 24, 93, 0.12);
}

.ilot-split-media img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ilot-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.ilot-tags li {
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ilot-rose-dark);
  background: #fff;
  border: 1px solid var(--ilot-rose-pale);
  border-radius: 999px;
  transition: background 0.25s, transform 0.25s;
}

.ilot-tags li:hover {
  background: var(--ilot-rose-pale);
  transform: scale(1.04);
}

/* CTA */
.page-ilot .offre-cta {
  border-top-color: var(--ilot-rose-pale);
}

.page-ilot .btn-ilot {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, var(--ilot-rose) 0%, var(--ilot-rose-dark) 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35);
  animation: ilot-cta-glow 2.5s ease-in-out infinite;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.page-ilot .btn-ilot:hover {
  transform: scale(1.04);
  box-shadow: 0 12px 32px rgba(236, 72, 153, 0.45);
}

@keyframes ilot-cta-glow {
  0%, 100% { box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35); }
  50% { box-shadow: 0 8px 36px rgba(236, 72, 153, 0.55); }
}

.page-ilot .btn-ghost {
  border-color: var(--ilot-rose-pale);
  color: var(--ilot-muted);
}

.page-ilot .btn-ghost:hover {
  border-color: var(--ilot-rose);
  color: var(--ilot-rose-dark);
}

.page-ilot .ilot-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ilot-rose);
  text-decoration: none;
}

.page-ilot .ilot-instagram:hover {
  color: var(--ilot-rose-dark);
  text-decoration: underline;
}

.page-ilot .footer {
  position: relative;
  z-index: 2;
  border-top-color: var(--ilot-rose-pale);
  background: rgba(255, 255, 255, 0.6);
}

.page-ilot .footer p {
  color: var(--ilot-muted);
}

.page-ilot .footer-legal a {
  color: var(--ilot-muted);
}

.page-ilot .footer-legal a:hover,
.page-ilot .footer-legal a[aria-current="page"] {
  color: var(--ilot-rose-dark);
}

.page-ilot .footer-cookie-btn {
  color: var(--ilot-muted);
}

.page-ilot .footer-cookie-btn:hover {
  color: var(--ilot-rose-dark);
}

@media (max-width: 768px) {
  .ilot-gallery {
    grid-template-columns: 1fr;
  }

  .ilot-gallery figure:first-child {
    grid-column: 1;
    aspect-ratio: 16 / 10;
  }

  .ilot-split {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ilot-bg-blob,
  .ilot-float,
  .ilot-hero,
  .ilot-hero-visual,
  .ilot-hero-badge,
  .ilot-marquee,
  .ilot-card-icon,
  .btn-ilot,
  .ilot-gallery figure {
    animation: none;
  }

  .ilot-card:hover {
    transform: none;
  }
}
