/* ==========================================================================
   Rubrique « Anniversaire enfant » (Taptap) — /anniversaire-enfant/
   Repris de l'ancien site anniversaire-enfant.spectacles83.com (css/style.css).

   ISOLATION : tout est enfermé dans .taptap, et toutes les classes commencent
   par « tt- ». Rien ici ne peut toucher le reste de spectacles83.com, et les
   règles de style.css (.btn, .hero, .container, .carousel…) ne touchent pas
   ces pages. L'en-tête et le pied de page restent ceux de spectacles83.
   ========================================================================== */

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("/fonts/taptap/baloo2-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/taptap/nunito-variable.woff2") format("woff2");
}

.taptap {
  --red: #E8483A;
  --red-dark: #C93325;
  --yellow: #FFC93C;
  --turquoise: #2EC4B6;
  --turquoise-dark: #219188;
  --navy: #1F2340;
  --cream: #FFF8ED;
  --white: #FFFFFF;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(31, 35, 64, 0.12);
  --font-title: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
}

.taptap h1, .taptap h2, .taptap h3 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
.taptap h1 { font-size: clamp(2rem, 6vw, 3rem); }
.taptap h2 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); }
.taptap h3 { font-size: 1.25rem; }
.taptap p { margin: 0 0 1em; }
.taptap a { color: var(--red-dark); }
.taptap img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

.taptap .tt-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Sous-menu de la rubrique ─────────────────────────────── */

.taptap .tt-sousnav {
  background: var(--white);
  border-bottom: 1px solid #f0e9dd;
  padding: 0;
}
.taptap .tt-sousnav .tt-container {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.taptap .tt-sousnav .tt-container::-webkit-scrollbar { display: none; }
.taptap .tt-sousnav a {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--navy);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}
.taptap .tt-sousnav a:hover { background: var(--cream); }
.taptap .tt-sousnav a.active { color: var(--red); background: var(--cream); }
.taptap .tt-sousnav a.tt-sousnav-cta { background: var(--red); color: var(--white); margin-left: auto; }
.taptap .tt-sousnav a.tt-sousnav-cta:hover,
.taptap .tt-sousnav a.tt-sousnav-cta.active { background: var(--red-dark); color: var(--white); }

/* ── Boutons ──────────────────────────────────────────────── */

.taptap .tt-btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-title);
  text-decoration: none;
  cursor: pointer;
  border: none;
  font-size: 1.05rem;
  line-height: 1.6;
}
.taptap .tt-btn-primary { background: var(--red); color: var(--white); }
.taptap .tt-btn-primary:hover { background: var(--red-dark); }
.taptap .tt-btn-secondary { background: var(--turquoise); color: var(--white); }
.taptap .tt-btn-secondary:hover { background: var(--turquoise-dark); }
.taptap .tt-btn-outline {
  background: transparent;
  color: var(--turquoise-dark);
  border: 2px solid var(--turquoise);
  padding: 12px 28px;
}
.taptap .tt-btn-outline:hover { background: var(--turquoise); color: var(--white); }
.taptap .tt-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ── Hero ─────────────────────────────────────────────────── */

.taptap .tt-hero { padding: 40px 0 50px; }
.taptap .tt-hero-grid { display: grid; gap: 30px; }
.taptap .tt-hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.taptap .tt-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.taptap .tt-hero img { box-shadow: var(--shadow); }

@media (min-width: 860px) {
  .taptap .tt-hero-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .taptap .tt-hero-grid.tt-reverse .tt-hero-media { order: 2; }
}

/* ── Sections ─────────────────────────────────────────────── */

.taptap section { padding: 50px 0; }
.taptap .tt-section-alt { background: var(--white); }
.taptap .tt-section-center { text-align: center; }
.taptap .tt-section-center h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.taptap .tt-lead { font-size: 1.15rem; }

/* ── Section émotion (accueil) ───────────────────────────── */

.taptap .tt-section-emotion {
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 60px 0;
}
.taptap .tt-section-emotion h2 {
  color: var(--white);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.taptap .tt-section-emotion p.tt-lead {
  color: rgba(255, 255, 255, 0.92);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.taptap .tt-section-emotion .tt-btn-primary {
  background: var(--white);
  color: var(--red-dark);
  margin-top: 10px;
}
.taptap .tt-section-emotion .tt-btn-primary:hover { background: var(--cream); }

/* ── Cartes des offres ───────────────────────────────────── */

.taptap .tt-offers-grid { display: grid; gap: 24px; margin-top: 30px; }
@media (min-width: 760px) {
  .taptap .tt-offers-grid { grid-template-columns: 1fr 1fr; }
}
.taptap .tt-offer-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.taptap .tt-offer-card img { border-radius: 0; aspect-ratio: 4/3; object-fit: cover; }
.taptap .tt-offer-card .tt-offer-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.taptap .tt-offer-card .tt-btn { margin-top: auto; align-self: flex-start; }

/* ── Galerie ──────────────────────────────────────────────── */

.taptap .tt-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
@media (min-width: 700px) {
  .taptap .tt-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
.taptap .tt-gallery-grid img { aspect-ratio: 1/1; object-fit: cover; box-shadow: var(--shadow); }

/* ── FAQ ──────────────────────────────────────────────────── */

.taptap .tt-faq { max-width: 760px; margin: 24px auto 0; }
.taptap .tt-faq details {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px 22px;
  margin-bottom: 14px;
}
.taptap .tt-faq summary {
  font-family: var(--font-title);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.taptap .tt-faq summary::-webkit-details-marker { display: none; }
.taptap .tt-faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--red);
}
.taptap .tt-faq details[open] summary::after { content: '−'; }
.taptap .tt-faq details p { margin: 12px 0 0; color: #444; }

/* ── Diaporama ────────────────────────────────────────────── */

.taptap .tt-carousel {
  position: relative;
  max-width: 700px;
  margin: 30px auto 0;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy);
}
.taptap .tt-carousel-track { position: relative; width: 100%; height: 100%; }
.taptap .tt-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.taptap .tt-carousel-slide.active { opacity: 1; }
.taptap .tt-carousel-slide img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }

.taptap .tt-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--navy);
  z-index: 2;
}
.taptap .tt-carousel-btn:hover { background: var(--white); }
.taptap .tt-carousel-prev { left: 12px; }
.taptap .tt-carousel-next { right: 12px; }

.taptap .tt-carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  flex-wrap: wrap;
  padding: 0 40px;
}
.taptap .tt-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  border: none;
  padding: 0;
}
.taptap .tt-carousel-dot.active { background: var(--white); }

/* ── Vidéo ────────────────────────────────────────────────── */

.taptap .tt-video-vertical {
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.taptap .tt-video-vertical video { width: 100%; height: 100%; object-fit: cover; border-radius: 0; display: block; }

/* ── Avis ─────────────────────────────────────────────────── */

.taptap .tt-stars { color: var(--yellow); font-size: 1.5rem; letter-spacing: 2px; }
.taptap .tt-lien-avis { color: var(--red-dark); text-decoration: none; }

/* ── Zone d'intervention ──────────────────────────────────── */

.taptap .tt-zone-list {
  list-style: none;
  margin: 24px auto 30px;
  padding: 0;
  max-width: 620px;
  text-align: left;
  display: grid;
  gap: 12px;
}
.taptap .tt-zone-list li {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 20px;
  font-size: 0.95rem;
  color: #444;
}
.taptap .tt-zone-list strong { color: var(--navy); font-family: var(--font-title); }

/* ── Encadré prix ─────────────────────────────────────────── */

.taptap .tt-price-box {
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-family: var(--font-title);
  font-weight: 700;
  display: inline-block;
  margin: 10px 0 20px;
}

/* ── Formulaire de réservation ────────────────────────────── */

.taptap .tt-call-alt { font-weight: 700; }
.taptap .tt-call-alt a { white-space: nowrap; text-decoration: none; }

.taptap .tt-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  max-width: 720px;
  margin: 0 auto;
}
.taptap fieldset { border: none; padding: 0; margin: 0 0 24px; min-width: 0; }
.taptap legend {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 12px;
  padding: 0;
}
.taptap .tt-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0e9dd;
}
.taptap .tt-checkbox-row input { width: 20px; height: 20px; flex-shrink: 0; margin: 0; }
.taptap .tt-checkbox-row label { flex: 1; cursor: pointer; }
.taptap #mascottesList { margin-left: 6px; padding-left: 16px; border-left: 3px solid var(--turquoise); display: none; }
.taptap #mascottesList.open { display: block; }
.taptap #mascotteIncluseWrap { margin: 12px 0 0 6px; padding-left: 16px; border-left: 3px solid var(--turquoise); display: none; }
.taptap #mascotteIncluseWrap.open { display: block; }

.taptap .tt-form-row { margin-bottom: 18px; }
.taptap .tt-form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.taptap .tt-form-row input, .taptap .tt-form-row select, .taptap .tt-form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 2px solid #eadfca;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: var(--cream);
}
.taptap .tt-form-row input:focus, .taptap .tt-form-row select:focus, .taptap .tt-form-row textarea:focus {
  outline: none;
  border-color: var(--turquoise);
}
.taptap .tt-two-cols { display: grid; gap: 18px; }
@media (min-width: 600px) { .taptap .tt-two-cols { grid-template-columns: 1fr 1fr; } }

.taptap .tt-estimation-box {
  background: var(--cream);
  border: 2px dashed var(--turquoise);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
}
.taptap .tt-estimation-box .tt-amount {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--turquoise-dark);
}
.taptap .tt-estimation-box .tt-note { font-size: 0.85rem; color: #555; margin: 6px 0 0; }

.taptap .tt-btn-block { display: block; width: 100%; text-align: center; }

.taptap .tt-hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.taptap .tt-alert {
  padding: 14px 18px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-weight: 600;
}
.taptap .tt-alert-success { background: #e2f6ea; color: #1c6b3e; }
.taptap .tt-alert-error { background: #fde3e1; color: #a3281c; }
