/*
Theme Name: TIP-TAP Ludothèque
Theme URI: https://www.ludotheque-tiptap.fr
Author: TIP-TAP
Description: Thème WordPress sur mesure pour la ludothèque TIP-TAP de Navarrenx. Un site vitrine coloré et ludique pour donner envie aux familles de venir jouer !
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tiptap
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Palette principale - ludique et chaleureuse */
  --purple: #7c3aed;
  --purple-dark: #5b21b6;
  --purple-light: #a78bfa;
  --purple-bg: #f5f3ff;

  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-light: #fed7aa;

  --yellow: #eab308;
  --yellow-light: #fef9c3;

  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --cyan-light: #cffafe;

  --green: #16a34a;
  --green-light: #dcfce7;

  --rose: #f43f5e;
  --rose-light: #ffe4e6;

  /* Neutres */
  --dark: #1e1b4b;
  --text: #334155;
  --text-light: #64748b;
  --border: #e2e8f0;
  --bg: #fffbf5;
  --bg-alt: #faf5ff;
  --white: #ffffff;

  /* Effets */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Bordures */
  --radius: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--purple);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--purple-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

ul, ol {
  padding-left: 1.5rem;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

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

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__title {
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius: var(--radius-full);
}

.section__subtitle {
  color: var(--text-light);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
}

.site-logo:hover {
  color: var(--purple-dark);
}

.site-logo img {
  height: 50px;
  width: auto;
}

.site-logo__icon {
  font-size: 2rem;
}

/* Navigation principale */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav__list li a {
  display: block;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}

.main-nav__list li a:hover {
  color: var(--purple);
}

/* Bouton menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-toggle__bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--dark);
  border-radius: var(--radius-full);
  transition: all var(--transition);
  margin: 5px 0;
}

.nav-toggle.active .nav-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

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

.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan-dark) 50%, var(--orange) 100%);
  overflow: hidden;
}

.hero--with-image {
  background: none;
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero--with-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.82) 0%,
    rgba(8, 145, 178, 0.75) 50%,
    rgba(249, 115, 22, 0.78) 100%
  );
}

.hero:not(.hero--with-image)::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(255,255,255,0.06) 0%, transparent 40%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 1.5rem;
  max-width: 800px;
}

.hero__title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'Fredoka', sans-serif;
  color: var(--purple-dark);
  background: var(--white);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: all var(--transition);
}

.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  color: var(--purple);
}

/* Floating decorative shapes */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  background: var(--white);
}

.hero__shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -80px;
  animation: float 8s ease-in-out infinite;
}

.hero__shape:nth-child(2) {
  width: 200px;
  height: 200px;
  bottom: -40px;
  left: -60px;
  animation: float 6s ease-in-out infinite reverse;
}

.hero__shape:nth-child(3) {
  width: 120px;
  height: 120px;
  top: 30%;
  left: 10%;
  animation: float 10s ease-in-out infinite 1s;
}

.hero__shape:nth-child(4) {
  width: 80px;
  height: 80px;
  bottom: 20%;
  right: 15%;
  animation: float 7s ease-in-out infinite 0.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Contact bar in hero */
.hero__contact {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

.hero__contact a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color var(--transition);
}

.hero__contact a:hover {
  color: var(--white);
}

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

.horaires__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.horaires__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--purple);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.horaires__card:nth-child(2) {
  border-top-color: var(--orange);
}

.horaires__card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  border-radius: 0 0 0 100%;
  opacity: 0.06;
}

.horaires__card:first-child::before {
  background: var(--purple);
}

.horaires__card:nth-child(2)::before {
  background: var(--orange);
}

.horaires__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.horaires__card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.horaires__card-title {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.horaires__card:first-child .horaires__card-title {
  color: var(--purple-dark);
}

.horaires__card:nth-child(2) .horaires__card-title {
  color: var(--orange-dark);
}

.horaires__card-content {
  color: var(--text);
  line-height: 1.8;
}

.horaires__card-content p {
  margin-bottom: 0.5rem;
}

.horaires__note {
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  background: var(--yellow-light);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.95rem;
}

/* ==========================================================================
   THÈME DU MOMENT
   ========================================================================== */

.theme-moment__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.theme-moment__image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.theme-moment__image::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 3px solid rgba(124, 58, 237, 0.15);
}

.theme-moment__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.theme-moment__image:hover img {
  transform: scale(1.03);
}

.theme-moment__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.theme-moment__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 1.25rem;
  color: var(--purple-dark);
}

.theme-moment__text {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.8;
}

.theme-moment__text p:last-child {
  margin-bottom: 0;
}

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

.tarifs__content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.tarifs__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.tarifs__highlight {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.tarifs__highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tarifs__highlight-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.tarifs__highlight-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.tarifs__highlight-price {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--purple);
}

.tarifs__highlight-detail {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.tarifs__text {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2rem;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
}

.btn--primary {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
  color: var(--white);
}

.btn--secondary {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn--secondary:hover {
  background: var(--purple-bg);
  color: var(--purple-dark);
}

.btn--orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.btn--orange:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
  color: var(--white);
}

/* ==========================================================================
   ACTIVITÉS
   ========================================================================== */

.activites__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.activite-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.activite-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  transition: height var(--transition);
}

.activite-card--purple::before { background: linear-gradient(90deg, var(--purple), var(--purple-light)); }
.activite-card--orange::before { background: linear-gradient(90deg, var(--orange), var(--yellow)); }
.activite-card--cyan::before { background: linear-gradient(90deg, var(--cyan), var(--cyan-dark)); }
.activite-card--green::before { background: linear-gradient(90deg, var(--green), #34d399); }

.activite-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.activite-card:hover::before {
  height: 6px;
}

.activite-card__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  transition: transform var(--transition);
}

.activite-card:hover .activite-card__icon {
  transform: scale(1.15) rotate(-5deg);
}

.activite-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.activite-card__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  flex-grow: 1;
}

.activite-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-top: 1.25rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  transition: all var(--transition);
}

.activite-card--purple .activite-card__arrow { background: var(--purple-bg); color: var(--purple); }
.activite-card--orange .activite-card__arrow { background: var(--orange-light); color: var(--orange); }
.activite-card--cyan .activite-card__arrow { background: var(--cyan-light); color: var(--cyan); }
.activite-card--green .activite-card__arrow { background: var(--green-light); color: var(--green); }

.activite-card:hover .activite-card__arrow {
  transform: translateX(4px);
}

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

.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer__desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  font-size: 1.25rem;
  text-decoration: none;
  transition: all var(--transition);
}

.footer__social-link:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-3px);
}

.footer__title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer__contact-icon {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer__links {
  list-style: none;
  padding: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition);
  font-size: 0.95rem;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   PAGE TEMPLATES
   ========================================================================== */

.page-header {
  background: linear-gradient(135deg, var(--purple) 0%, var(--cyan-dark) 100%);
  padding: 8rem 0 4rem;
  text-align: center;
  margin-top: 80px;
}

.page-header__title {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3rem);
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.page-header__breadcrumb {
  margin-top: 1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.page-header__breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.page-header__breadcrumb a:hover {
  color: var(--white);
}

.page-content {
  padding: 4rem 0;
}

.page-content .container {
  max-width: 900px;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--purple-dark);
}

.page-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page-content ul,
.page-content ol {
  margin-bottom: 1.5rem;
}

.page-content li {
  margin-bottom: 0.4rem;
}

/* ==========================================================================
   PAGE TARIFS - TEMPLATE SPÉCIFIQUE
   ========================================================================== */

.tarifs-page__section {
  margin-bottom: 3rem;
}

.tarifs-page__section-title {
  font-size: 1.5rem;
  color: var(--purple-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--purple-bg);
}

.tarifs-page__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tarifs-page__table th,
.tarifs-page__table td {
  padding: 1rem 1.25rem;
  text-align: left;
}

.tarifs-page__table th {
  background: var(--purple);
  color: var(--white);
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
}

.tarifs-page__table tr:nth-child(even) {
  background: var(--purple-bg);
}

.tarifs-page__table tr:hover {
  background: #ede9fe;
}

.tarifs-page__table td {
  font-size: 0.95rem;
}

.tarifs-page__price {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  color: var(--purple);
  font-size: 1.05rem;
}

.tarifs-page__note {
  background: var(--yellow-light);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--yellow);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.tarifs-page__values {
  background: var(--purple-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0;
}

.tarifs-page__values h3 {
  color: var(--purple-dark);
  margin-bottom: 1rem;
}

.tarifs-page__values ul {
  list-style: none;
  padding: 0;
}

.tarifs-page__values li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.6rem;
}

.tarifs-page__values li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ==========================================================================
   PAGE ACTIVITÉ - TEMPLATE SPÉCIFIQUE
   ========================================================================== */

.activite-page__intro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 2rem;
}

.activite-page__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.activite-page__feature {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--purple);
}

.activite-page__feature h4 {
  color: var(--purple-dark);
  margin-bottom: 0.5rem;
}

.activite-page__cta {
  background: linear-gradient(135deg, var(--purple-bg), var(--cyan-light));
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  margin-top: 3rem;
}

.activite-page__cta h3 {
  margin-bottom: 1rem;
}

/* ==========================================================================
   SCROLL ANIMATIONS
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1024px) {
  .activites__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    padding-top: 100px;
    z-index: 999;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav__list {
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
  }

  .main-nav__list li a {
    padding: 0.875rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius);
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }

  .nav-overlay.visible {
    display: block;
  }

  .hero {
    min-height: 80vh;
  }

  .hero__contact {
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .theme-moment__wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .theme-moment__image img {
    height: 280px;
  }

  .tarifs__highlights {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  .activites__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }

  .hero__cta {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .horaires__card {
    padding: 1.75rem 1.5rem;
  }

  .container {
    padding: 0 1rem;
  }
}

/* ==========================================================================
   WORDPRESS SPECIFIC
   ========================================================================== */

/* Admin bar compatibility */
body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* WordPress default classes */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--text-light);
  text-align: center;
  padding: 0.5rem 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* ==========================================================================
   PAGE AUTRES - TEMPLATE SPÉCIFIQUE
   ========================================================================== */

.autres__section {
  margin-bottom: 3.5rem;
  position: relative;
}

.autres__section-icon {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.autres__section-title {
  font-size: 1.6rem;
  color: var(--purple-dark);
  margin-bottom: 1.25rem;
  margin-top: 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--purple-bg);
}

.autres__highlight {
  background: var(--yellow-light);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
}

.autres__highlight p {
  margin-bottom: 0;
}

.autres__highlight--purple {
  background: var(--purple-bg);
  border-left-color: var(--purple);
}

/* Timeline historique */
.autres__timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 2rem 0;
  position: relative;
  padding-left: 2rem;
}

.autres__timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: linear-gradient(to bottom, var(--purple), var(--cyan));
  border-radius: var(--radius-full);
}

.autres__timeline-item {
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 2rem;
}

.autres__timeline-item:last-child {
  padding-bottom: 0;
}

.autres__timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--purple);
  z-index: 1;
}

.autres__timeline-date {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  padding: 0.2rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.autres__timeline-content h4 {
  color: var(--dark);
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.autres__timeline-content p {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Grille ESAR */
.autres__esar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.autres__esar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-top: 4px solid transparent;
}

.autres__esar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.autres__esar-card--purple { border-top-color: var(--purple); }
.autres__esar-card--orange { border-top-color: var(--orange); }
.autres__esar-card--cyan { border-top-color: var(--cyan); }
.autres__esar-card--green { border-top-color: var(--green); }

.autres__esar-letter {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.autres__esar-card--purple .autres__esar-letter { color: var(--purple); }
.autres__esar-card--orange .autres__esar-letter { color: var(--orange); }
.autres__esar-card--cyan .autres__esar-letter { color: var(--cyan); }
.autres__esar-card--green .autres__esar-letter { color: var(--green); }

.autres__esar-card h4 {
  font-size: 1rem;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.autres__esar-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .autres__esar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .autres__esar-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==========================================================================
   PAGE ANCIENS THÈMES
   ========================================================================== */

.anciens-themes__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ancien-theme__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

.ancien-theme__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ancien-theme__image {
  overflow: hidden;
}

.ancien-theme__image img,
.ancien-theme__image > div {
  transition: transform var(--transition-slow);
}

.ancien-theme__card:hover .ancien-theme__image img,
.ancien-theme__card:hover .ancien-theme__image > div {
  transform: scale(1.05);
}

.ancien-theme__body {
  padding: 1.5rem;
}

.ancien-theme__date {
  display: inline-block;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  background: var(--purple-bg);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.ancien-theme__title {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.ancien-theme__desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .anciens-themes__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .anciens-themes__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
}
