/* ============================================
   L'ATTRAPE-REVES - style.css
   Ferme de decouverte et d'emerveillement
   ============================================ */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;800&family=Londrina+Solid:wght@400;900&family=Patrick+Hand&family=Unkempt:wght@400;700&display=swap');

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  /* Primary colors */
  --white: #FFFFFF;
  --beige: #FCF5E9;
  --dark-grey: #3F3E3E;
  --coral: #D57956;

  /* Secondary colors */
  --sky-blue: #88C0E9;
  --green: #4E7438;
  --yellow: #ECBE2F;

  /* Additional */
  --brown: #8B6F47;
  --light-beige: #E8DFD0;
  --coral-hover: #c06840;
  --coral-light: rgba(213, 121, 86, 0.12);

  /* Typography */
  --font-title: 'Londrina Solid', cursive;
  --font-hand: 'Patrick Hand', cursive;
  --font-ui: 'Baloo 2', cursive;
  --font-accent: 'Unkempt', cursive;
  --font-body: Georgia, 'Times New Roman', serif;

  /* Spacing */
  --section-pad: 80px 0;
  --container-width: 1140px;
  --radius-card: 15px;
  --radius-btn: 30px;
  --radius-btn-large: 40px;

  /* Header */
  --header-height: 72px;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--dark-grey);
  background-color: var(--beige);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Kraft paper texture overlay */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

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

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--coral-hover);
}

ul { list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, .h1 {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: 1px;
}

h2, .h2 {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

h3, .h3 {
  font-family: var(--font-ui);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
}

h4, .h4 {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
}

p {
  margin-bottom: 1em;
  font-size: 1.05rem;
}

.text-coral { color: var(--coral); }
.text-green { color: var(--green); }
.text-white { color: var(--white); }
.text-yellow { color: var(--yellow); }
.text-center { text-align: center; }
.text-accent {
  font-family: var(--font-accent);
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 3px 4px 0 var(--brown);
}

.btn-coral:hover {
  background: var(--coral-hover);
  color: var(--white);
  box-shadow: 3px 6px 0 var(--brown);
}

.btn-coral-large {
  background: var(--coral);
  color: var(--white);
  box-shadow: 3px 4px 0 var(--brown);
  font-size: 1.15rem;
  padding: 16px 36px;
  border-radius: var(--radius-btn-large);
}

.btn-coral-large:hover {
  background: var(--coral-hover);
  color: var(--white);
  box-shadow: 3px 6px 0 var(--brown);
}

.btn-outline {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
}

.btn-outline:hover {
  background: var(--coral);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--coral);
  box-shadow: 2px 3px 0 rgba(0,0,0,0.15);
}

.btn-white:hover {
  color: var(--coral-hover);
  box-shadow: 2px 5px 0 rgba(0,0,0,0.15);
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-bottom: 2px solid var(--beige);
  height: var(--header-height);
}

.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo img {
  height: 48px;
  width: auto;
  border-radius: 50%;
}

.header-logo-text {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--dark-grey);
  display: none;
}

@media (min-width: 1024px) {
  .header-logo-text {
    display: inline;
  }
}

/* Navigation */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark-grey);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--coral);
  background: var(--coral-light);
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  margin-right: 8px;
}

.lang-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark-grey);
  opacity: 0.45;
  padding: 4px 5px;
  transition: color 0.2s, opacity 0.2s;
}

.lang-switcher button.active,
.lang-switcher button:hover {
  color: var(--coral);
  opacity: 1;
}

.lang-switcher span {
  color: #ccc;
  font-size: 0.7rem;
}

/* Header right group */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-billetterie {
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 22px;
  background: var(--coral);
  color: var(--white);
  border-radius: var(--radius-btn);
  box-shadow: 3px 4px 0 var(--brown);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-billetterie:hover {
  transform: translateY(-2px);
  box-shadow: 3px 6px 0 var(--brown);
  color: var(--white);
  background: var(--coral-hover);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  position: relative;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--dark-grey);
  border-radius: 3px;
  transition: transform 0.3s, opacity 0.3s;
  position: absolute;
}

.hamburger span:nth-child(1) { top: 10px; }
.hamburger span:nth-child(2) { top: 18px; }
.hamburger span:nth-child(3) { top: 26px; }

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 20px rgba(0,0,0,0.12);
  z-index: 1001;
  padding: 90px 32px 40px;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

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

.mobile-nav a {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--dark-grey);
  padding: 14px 0;
  border-bottom: 1px dashed var(--light-beige);
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--coral);
}

.mobile-lang-switcher {
  display: flex;
  gap: 6px;
  padding: 18px 0 12px;
  border-bottom: 1px dashed var(--light-beige);
}

.mobile-lang-switcher button {
  background: none;
  border: 2px solid var(--light-beige);
  cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-grey);
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s;
}

.mobile-lang-switcher button.active,
.mobile-lang-switcher button:hover {
  color: var(--coral);
  border-color: var(--coral);
  background: var(--coral-light);
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.mobile-overlay.open {
  opacity: 1;
}

@media (max-width: 1023px) {
  .nav-links,
  .header-right .lang-switcher {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-overlay {
    display: block;
  }
}

/* --- MAIN CONTENT OFFSET --- */
main {
  padding-top: var(--header-height);
}

/* --- HERO SECTIONS --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--beige);
  position: relative;
  overflow: hidden;
  padding: 60px 24px 100px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  width: 180px;
  margin: 0 auto 20px;
}

.hero-title-line1 {
  font-family: var(--font-title);
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--dark-grey);
  margin-bottom: 0;
  line-height: 1;
}

.hero-title-line2 {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 7vw, 5rem);
  color: var(--coral);
  margin-bottom: 4px;
  line-height: 1;
}

.hero-subtitle {
  font-family: var(--font-hand);
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--dark-grey);
  margin-bottom: 20px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 1.05rem;
  background: var(--coral);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 30px;
  transform: rotate(-2deg);
  margin-bottom: 24px;
  box-shadow: 2px 3px 0 var(--brown);
}

.hero-tagline {
  font-family: var(--font-hand);
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  color: var(--green);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.35;
}

.hero-cta {
  margin-bottom: 20px;
}

.hero-location {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark-grey);
  opacity: 0.7;
}

/* Hero stickers */
.hero-sticker {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-sticker img {
  filter: drop-shadow(2px 3px 6px rgba(0,0,0,0.12));
}

.hero-sticker--br { bottom: 6%; right: 3%; }
.hero-sticker--br img { width: 180px; transform: rotate(6deg); }

.hero-sticker--tl { top: 12%; left: 2%; }
.hero-sticker--tl img { width: 150px; transform: rotate(-8deg); }

.hero-sticker--bl { bottom: 10%; left: 2%; }
.hero-sticker--bl img { width: 160px; transform: rotate(4deg); }

.hero-sticker--tr { top: 10%; right: 3%; }
.hero-sticker--tr img { width: 130px; transform: rotate(-4deg); }

@media (max-width: 768px) {
  .hero-sticker { display: none; }
  .hero { min-height: 80vh; padding: 40px 20px 80px; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .hero-sticker img { opacity: 0.5; }
  .hero-sticker--br img { width: 120px; }
  .hero-sticker--tl img { width: 100px; }
  .hero-sticker--bl img { width: 110px; }
  .hero-sticker--tr img { width: 90px; }
}

/* Small hero for sub-pages */
.hero-small {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--beige);
  position: relative;
  overflow: hidden;
  padding: 60px 24px 80px;
}

.hero-small .hero-content {
  z-index: 2;
}

.hero-small h1 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--dark-grey);
  margin-bottom: 8px;
}

.hero-small .hero-subtitle {
  font-family: var(--font-hand);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--coral);
  margin-bottom: 0;
}

/* Sticker in small hero */
.hero-small .hero-sticker {
  display: block;
}

@media (max-width: 768px) {
  .hero-small .hero-sticker { display: none; }
  .hero-small { min-height: 30vh; padding: 40px 20px 60px; }
}

/* --- TORN PAPER EDGES --- */
.torn-edge-bottom {
  position: relative;
}

.torn-edge-bottom::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 5;
  pointer-events: none;
}

/* Beige torn edge (for beige sections over white) */
.torn-beige::after {
  background: var(--beige);
  clip-path: polygon(
    0% 40%, 2% 52%, 4% 38%, 6% 55%, 8% 42%, 10% 60%, 12% 45%, 14% 58%,
    16% 40%, 18% 56%, 20% 44%, 22% 62%, 24% 48%, 26% 58%, 28% 42%, 30% 55%,
    32% 38%, 34% 52%, 36% 44%, 38% 60%, 40% 46%, 42% 55%, 44% 40%, 46% 58%,
    48% 44%, 50% 62%, 52% 46%, 54% 56%, 56% 42%, 58% 58%, 60% 44%, 62% 52%,
    64% 38%, 66% 56%, 68% 42%, 70% 60%, 72% 48%, 74% 55%, 76% 40%, 78% 58%,
    80% 42%, 82% 54%, 84% 38%, 86% 56%, 88% 46%, 90% 60%, 92% 44%, 94% 52%,
    96% 38%, 98% 55%, 100% 42%,
    100% 100%, 0% 100%
  );
}

/* White torn edge */
.torn-white::after {
  background: var(--white);
  clip-path: polygon(
    0% 48%, 3% 55%, 5% 40%, 7% 58%, 10% 45%, 12% 60%, 15% 42%, 17% 55%,
    20% 48%, 22% 62%, 25% 44%, 27% 56%, 30% 40%, 33% 58%, 35% 46%, 38% 55%,
    40% 42%, 43% 60%, 45% 44%, 48% 55%, 50% 38%, 53% 58%, 55% 45%, 58% 55%,
    60% 42%, 63% 60%, 65% 48%, 68% 56%, 70% 40%, 73% 58%, 75% 44%, 78% 55%,
    80% 40%, 83% 58%, 85% 45%, 88% 56%, 90% 42%, 93% 60%, 95% 48%, 98% 55%,
    100% 44%,
    100% 100%, 0% 100%
  );
}

/* Light beige torn edge */
.torn-light-beige::after {
  background: var(--light-beige);
  clip-path: polygon(
    0% 45%, 2% 58%, 5% 42%, 8% 56%, 10% 48%, 13% 60%, 15% 44%, 18% 55%,
    20% 40%, 23% 58%, 25% 46%, 28% 55%, 30% 42%, 33% 60%, 35% 48%, 38% 52%,
    40% 38%, 43% 56%, 45% 44%, 48% 62%, 50% 46%, 53% 55%, 55% 40%, 58% 58%,
    60% 46%, 63% 55%, 65% 42%, 68% 60%, 70% 44%, 73% 56%, 75% 40%, 78% 58%,
    80% 44%, 83% 55%, 85% 42%, 88% 60%, 90% 48%, 93% 56%, 95% 40%, 98% 58%,
    100% 45%,
    100% 100%, 0% 100%
  );
}

/* Green torn edge */
.torn-green::after {
  background: var(--green);
  clip-path: polygon(
    0% 50%, 3% 58%, 6% 42%, 9% 55%, 11% 48%, 14% 62%, 16% 44%, 19% 56%,
    21% 40%, 24% 58%, 26% 46%, 29% 55%, 31% 42%, 34% 60%, 36% 48%, 39% 52%,
    41% 38%, 44% 56%, 46% 44%, 49% 62%, 51% 46%, 54% 55%, 56% 40%, 59% 58%,
    61% 46%, 64% 55%, 66% 42%, 69% 60%, 71% 44%, 74% 56%, 76% 40%, 79% 58%,
    81% 44%, 84% 55%, 86% 42%, 89% 60%, 91% 48%, 94% 56%, 96% 40%, 99% 58%,
    100% 50%,
    100% 100%, 0% 100%
  );
}

/* Dark grey torn edge */
.torn-dark::after {
  background: var(--dark-grey);
  clip-path: polygon(
    0% 46%, 3% 58%, 5% 40%, 8% 55%, 10% 48%, 13% 62%, 16% 42%, 18% 56%,
    21% 44%, 23% 60%, 26% 46%, 28% 55%, 31% 38%, 33% 58%, 36% 44%, 38% 55%,
    41% 42%, 43% 60%, 46% 44%, 48% 56%, 51% 40%, 53% 58%, 56% 44%, 58% 52%,
    61% 40%, 63% 58%, 66% 46%, 68% 55%, 71% 42%, 73% 60%, 76% 46%, 78% 55%,
    81% 40%, 83% 58%, 86% 46%, 88% 55%, 91% 42%, 93% 60%, 96% 46%, 98% 55%,
    100% 44%,
    100% 100%, 0% 100%
  );
}

/* Coral torn edge */
.torn-coral::after {
  background: var(--coral);
  clip-path: polygon(
    0% 44%, 3% 56%, 5% 42%, 8% 58%, 10% 46%, 13% 60%, 16% 44%, 18% 55%,
    21% 40%, 23% 58%, 26% 44%, 28% 55%, 31% 42%, 33% 60%, 36% 46%, 38% 54%,
    41% 40%, 43% 58%, 46% 44%, 48% 55%, 51% 42%, 53% 60%, 56% 46%, 58% 52%,
    61% 38%, 63% 56%, 66% 44%, 68% 58%, 71% 46%, 73% 55%, 76% 42%, 78% 58%,
    81% 44%, 83% 56%, 86% 42%, 88% 58%, 91% 44%, 93% 55%, 96% 42%, 98% 58%,
    100% 46%,
    100% 100%, 0% 100%
  );
}

/* --- STICKERS --- */
.sticker {
  display: inline-block;
  border: 6px solid var(--white);
  border-radius: 8px;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.12);
  transform: rotate(var(--rotate, 0deg));
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  background: var(--white);
}

.sticker:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 3px 5px 12px rgba(0,0,0,0.18);
}

.sticker img {
  display: block;
  width: 100%;
  height: auto;
}

/* Float animation for stickers */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
  50% { transform: translateY(-8px) rotate(var(--rotate, 0deg)); }
}

.sticker-float {
  animation: float 4s ease-in-out infinite;
}

.sticker-float:nth-child(2) { animation-delay: -1s; }
.sticker-float:nth-child(3) { animation-delay: -2s; }
.sticker-float:nth-child(4) { animation-delay: -0.5s; }

/* --- SECTIONS --- */
.section {
  padding: var(--section-pad);
  position: relative;
}

.section--beige { background: var(--beige); }
.section--white { background: var(--white); }
.section--light-beige { background: var(--light-beige); }
.section--green { background: var(--green); color: var(--white); }
.section--coral { background: var(--coral); color: var(--white); }
.section--dark { background: var(--dark-grey); color: var(--white); }

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* --- DISCOVER CARDS --- */
.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.discover-grid .discover-card:nth-child(4),
.discover-grid .discover-card:nth-child(5) {
  /* center last two cards on 3-col grid */
}

@media (min-width: 769px) {
  .discover-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .discover-grid-center {
    display: flex;
    justify-content: center;
    gap: 24px;
  }
  .discover-grid-center .discover-card {
    flex: 0 0 calc(33.33% - 16px);
    max-width: calc(33.33% - 16px);
  }
}

@media (max-width: 768px) {
  .discover-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

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

.discover-card {
  background: var(--beige);
  border: 2px dashed var(--light-beige);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
  color: var(--dark-grey);
  display: block;
}

.discover-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  color: var(--dark-grey);
}

.discover-card .sticker {
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.discover-card .sticker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.discover-card h3 {
  color: var(--coral);
  margin-bottom: 8px;
}

.discover-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Placeholder image */
.placeholder-img {
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 8px;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
}

/* --- EVENT CARDS --- */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

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

.event-card {
  background: var(--white);
  border-left: 5px solid var(--coral);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.event-date {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.8rem;
  background: var(--coral);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.event-card h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--dark-grey);
  margin-bottom: 8px;
}

.event-card p {
  font-size: 0.92rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.event-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: 20px;
  color: var(--white);
}

.event-tag--fete { background: var(--yellow); color: var(--dark-grey); }
.event-tag--atelier { background: var(--sky-blue); }
.event-tag--spectacle { background: var(--green); }
.event-tag--other { background: var(--coral); }

/* --- FOODTRUCK SECTION --- */
.foodtruck-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .foodtruck-cols {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

.foodtruck-cols .sticker {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* --- CTA BANNER --- */
.cta-banner {
  background: var(--coral);
  text-align: center;
  padding: 50px 24px;
  position: relative;
}

.cta-banner h2 {
  font-family: var(--font-title);
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-bottom: 6px;
}

.cta-banner p {
  font-family: var(--font-hand);
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 20px;
  opacity: 0.95;
}

/* --- FOOTER --- */
.site-footer {
  background: var(--dark-grey);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
}

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

.footer-col h4 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--coral);
}

.footer-col p,
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
}

.footer-col a:hover {
  color: var(--coral);
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}

.footer-col ul a:hover {
  color: var(--coral);
}

.footer-logo {
  width: 60px;
  border-radius: 50%;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .footer-logo {
    margin: 0 auto 10px;
  }
}

.footer-tagline {
  font-family: var(--font-hand);
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.7);
}

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

@media (max-width: 768px) {
  .social-links {
    justify-content: center;
  }
}

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

.social-link:hover {
  background: var(--coral);
  color: var(--white);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}

/* --- INFO BLOCKS --- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-block {
  background: var(--white);
  border: 2px dashed var(--light-beige);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.info-block h3 {
  color: var(--coral);
  margin-bottom: 16px;
}

.info-block p {
  font-size: 0.95rem;
}

/* Tarif table */
.tarif-table {
  width: 100%;
}

.tarif-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 2px dotted var(--light-beige);
}

.tarif-row:last-child {
  border-bottom: none;
}

.tarif-label {
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.tarif-price {
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--coral);
  font-size: 1.05rem;
}

/* Map */
.map-container {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
  border: 2px dashed var(--light-beige);
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
}

/* --- FAQ ACCORDION --- */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 2px dashed var(--light-beige);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--dark-grey);
  text-align: left;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--coral);
}

.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
  color: var(--coral);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 22px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 22px 18px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--dark-grey);
  opacity: 0.8;
}

/* --- BILLETTERIE PAGE --- */
.billetterie-box {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.billetterie-box p {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--dark-grey);
}

/* --- LEGAL PAGES --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.legal-content h1 {
  font-family: var(--font-title);
  margin-bottom: 32px;
  text-align: center;
}

.legal-content h2 {
  font-family: var(--font-ui);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--coral);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-content p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- LE LIEU PAGE --- */
.narrative-section {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.narrative-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.2em;
}

.narrative-sticker-left {
  position: absolute;
  left: -180px;
  top: 20%;
}

.narrative-sticker-right {
  position: absolute;
  right: -180px;
  top: 50%;
}

@media (max-width: 1200px) {
  .narrative-sticker-left,
  .narrative-sticker-right {
    display: none;
  }
}

.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .who-grid {
    grid-template-columns: 1fr;
  }
}

.who-card {
  background: var(--white);
  border: 2px dashed var(--light-beige);
  border-radius: var(--radius-card);
  padding: 32px;
}

.who-card h3 {
  color: var(--coral);
  margin-bottom: 12px;
}

/* Photo gallery */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

.photo-placeholder {
  aspect-ratio: 1;
  border: 2px dashed var(--light-beige);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hand);
  font-size: 1rem;
  color: var(--dark-grey);
  opacity: 0.5;
  background: var(--white);
}

/* --- DECOUVRIR PAGE --- */
.activity-section {
  padding: 60px 0;
}

.activity-section:nth-child(even) {
  background: var(--white);
}

.activity-section:nth-child(odd) {
  background: var(--beige);
}

.activity-header {
  text-align: center;
  margin-bottom: 32px;
}

.activity-header h2 {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--dark-grey);
}

.activity-intro {
  max-width: 700px;
  margin: 0 auto 36px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
}

.animals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

@media (max-width: 480px) {
  .animals-grid {
    grid-template-columns: 1fr;
  }
}

.animal-card {
  text-align: center;
  padding: 20px;
}

.animal-card .sticker {
  width: 160px;
  height: 160px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animal-card .sticker img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.animal-card h3 {
  color: var(--coral);
  font-family: var(--font-ui);
  font-weight: 700;
  margin-bottom: 6px;
}

.animal-card p {
  font-size: 0.9rem;
  font-style: italic;
}

.activity-note {
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--coral);
  font-size: 1.05rem;
}

.sticker-badge {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: 1rem;
  background: var(--coral);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 30px;
  transform: rotate(-2deg);
  box-shadow: 2px 3px 0 var(--brown);
  margin: 20px auto;
}

.activity-placeholder {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16/9;
  border: 2px dashed var(--light-beige);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--dark-grey);
  opacity: 0.5;
  background: var(--white);
  margin: 24px auto;
}

/* --- PRIVATISATION SECTION --- */
.privatisation-section {
  text-align: center;
  background: var(--beige);
  padding: 60px 24px;
}

.privatisation-section h2 {
  font-family: var(--font-hand);
  margin-bottom: 16px;
}

/* --- FOODTRUCK MENU CARD --- */
.menu-card {
  background: var(--white);
  border: 2px dashed var(--light-beige);
  border-radius: var(--radius-card);
  padding: 48px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.menu-card p {
  font-family: var(--font-hand);
  font-size: 1.3rem;
  color: var(--dark-grey);
  margin: 0;
}

/* --- SCROLL ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- UTILITY --- */
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

.inline-link {
  color: var(--coral);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.inline-link:hover {
  color: var(--coral-hover);
}

/* Fun swimming note */
.fun-note {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--beige);
  border: 2px dashed var(--light-beige);
  border-radius: var(--radius-card);
  padding: 20px 28px;
  margin: 32px auto;
  max-width: 500px;
}

.fun-note .sticker {
  width: 80px;
  flex-shrink: 0;
}

.fun-note p {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  margin: 0;
}

/* --- PRINT --- */
@media print {
  .site-header,
  .hamburger,
  .mobile-nav,
  .mobile-overlay,
  .cta-banner,
  .hero-sticker {
    display: none !important;
  }
  main {
    padding-top: 0;
  }
}
