/* ============================================
   CHARTE DE COULEUR - Variables CSS
   ============================================ */
:root {
  /* Couleurs principales */
  --bg: #F5F1E8;
  --bg2: #E8E0D3;
  --card: #F9F6F0;
  --text: #2C2C2C;
  --muted: #6B6B6B;
  --white: #FFFFFF;
  
  /* Couleurs d'accent */
  --accent: #D45A7A;
  --accent-light: rgba(212, 90, 122, 0.08);
  --accent-dark: #fe4d7e;
  --accent-pink: #f84578;
  
  /* Couleurs bleues */
  --blue: #5A8FA3;
  --blue-dark: #017aa1;
  --blue-medium: #0288b8;
  --blue-light: #0196cf;
  --blue-border: rgba(90, 143, 163, 0.2);
  --blue-border-light: rgba(90, 143, 163, 0.15);
  --blue-border-medium: rgba(90, 143, 163, 0.25);
  --blue-border-dark: rgba(90, 143, 163, 0.3);
  --blue-bg: rgba(90, 143, 163, 0.08);
  --blue-bg-light: rgba(90, 143, 163, 0.1);
  --blue-bg-medium: rgba(90, 143, 163, 0.12);
  
  /* Couleurs jaunes */
  --yellow: #F8D678;
  --yellow-bg: rgba(248, 214, 120, 0.12);
  
  /* Couleurs d'erreur et succès */
  --error: #661d1d;
  --error-bg: #ffeded;
  --error-border: #ff4949;
  --success: #085229;
  --success-bg: #e7faf0;
  --success-border: #13ce66;
  
  /* Ombres et transparences */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.2);
  --white-overlay: rgba(255, 255, 255, 0.6);
  --white-overlay-light: rgba(255, 255, 255, 0.7);
  --white-overlay-medium: rgba(255, 255, 255, 0.75);
  --white-overlay-dark: rgba(255, 255, 255, 0.8);
  --black-overlay: rgba(0, 0, 0, 0.5);
  --black-overlay-light: rgba(0, 0, 0, 0.4);
  
  /* Images hero */
  --hero-image: url("../../festival-2026/hero-collage-1536x1024.jpg");
  --hero-image-mobile: url("../../festival-2026/hero-collage-mobile-1024x1536.jpg");
  --hero-image-desktop: var(--hero-image);
  --hero-position-mobile: center 50%;
  --hero-position-desktop: center 45%;
}

/* ============================================
   RESET & BASE
   ============================================ */
@font-face {
  font-family: "Bobby Jones";
  src: url("../fonts/Bobby Jones Soft.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
  background-image: radial-gradient(circle at 20% 50%, rgba(218, 90, 122, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(90, 143, 163, 0.05) 0%, transparent 50%);
}

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

a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

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

/* ============================================
   UTILITAIRES - Classes réutilisables
   ============================================ */
.container {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding: 0 16px;
}

.section {
  padding: 56px 0;
}

.section-no-padding-top {
  padding-top: 0;
}

/* Marges utilitaires */
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-14 { margin-top: 14px; }
.mt-16 { margin-top: 16px; }
.mt-18 { margin-top: 18px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

.mb-0 { margin-bottom: 0; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

.m-0 { margin: 0; }
.m-20 { margin: 20px 0; }

/* Typographie utilitaires */
.line-height-normal { line-height: 1.6; }
.font-semibold { font-weight: 600; }

/* Alignements */
.align-self-center { align-self: center; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Display */
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.hidden { display: none; }

/* Typographie */
.small {
  font-size: 1rem;
  color: var(--muted);
}

.headline {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 900;
  margin: 0 0 8px;
}

.section h2 {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--accent-dark);
  font-weight: normal;
  margin: 0 0 16px;
  line-height: 1.1;
}

.section h3 {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--blue-dark);
  font-weight: normal;
}

.section h3.pink {
  color: var(--accent-dark);
}

.section h3.mb-0 {
  margin-bottom: 0;
}

.intro-with-logo {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 20px 0;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.intro-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.intro-text {
  margin: 0;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.4;
  text-align: left;
  flex: 1;
  color: var(--blue-dark);
}

.intro-link {
  color: var(--blue-dark);
  text-decoration: underline;
  text-decoration-color: var(--blue);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
  font-weight: 700;
}

.intro-link:hover {
  color: var(--blue);
  text-decoration-color: var(--blue-dark);
}

.intro-highlight {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  color: var(--accent-dark);
  font-weight: normal;
}

@media (max-width: 768px) {
  .intro-with-logo {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .intro-logo {
    width: 100px;
    height: 100px;
  }
  
  .intro-text {
    text-align: center;
  }
}

/* Backgrounds de sections */
.section-bg-1 {
  background: linear-gradient(to bottom, #030C1F 0%, #1D488B 100%);
}

.section-bg-2 {
  background: linear-gradient(to bottom, #1D488B 0%, #030C1F 100%);
}

.section-bg-3 {
  background: linear-gradient(to bottom, #030C1F 0%, #1D488B 100%);
}

.section-bg-4 {
  background: linear-gradient(to bottom, #1D488B 0%, #030C1F 100%);
}

/* FAQ - textes en bleu pour lisibilité */
#faq details,
#faq summary,
#faq p {
  color: var(--blue-dark);
}

#faq summary {
  font-weight: 600;
}

.section-bg-5 {
  background: linear-gradient(to bottom, #030C1F 0%, #1D488B 100%);
}

/* Section infos pratiques - dégradé normal (avant l'inversion) */
#infos.section-bg-5 {
  background: linear-gradient(to bottom, #1D488B 0%, #030C1F 100%);
}

/* Section CTA - Soyez les premiers informés */
.section-cta {
  background: linear-gradient(to bottom, #1D488B 0%, #030C1F 100%);
  padding: 60px 0;
}

.section-cta .cta-card {
  background: var(--white-overlay-medium);
  border: 1px solid var(--blue-border-dark);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.section-cta h3 {
  color: var(--blue-dark);
}

.section-cta p {
  color: var(--text);
}

.section-cta .btn-primary {
  padding: 18px 32px;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Footer - dégradé */
footer.section {
  background: linear-gradient(to bottom, #030C1F 0%, #1D488B 100%);
}

footer h3,
footer h4 {
  color: var(--white);
}

footer .small,
footer p,
footer li {
  color: var(--white) !important;
}

footer a {
  color: var(--white) !important;
}

footer .footer-link {
  color: var(--white) !important;
}

footer .footer-link:hover {
  color: var(--white) !important;
  opacity: 0.8;
}

footer .footer-impro {
  color: var(--white);
}

/* Texte sur fond dégradé - utiliser la même couleur que intro-text */
.section-bg-1 .small,
.section-bg-2 .small,
.section-bg-3 .small,
.section-bg-4 .small,
.section-bg-5 .small {
  color: var(--blue-dark);
}

.section-bg-1 ul,
.section-bg-2 ul,
.section-bg-3 ul,
.section-bg-4 ul,
.section-bg-5 ul {
  color: var(--blue-dark);
}

.section-bg-1 li,
.section-bg-2 li,
.section-bg-3 li,
.section-bg-4 li,
.section-bg-5 li {
  color: var(--blue-dark);
}

/* ============================================
   COMPOSANTS - Boutons
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.95rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  box-sizing: border-box;
  line-height: 1.4;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 90, 122, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: var(--white-overlay);
  border-color: var(--blue);
  color: var(--blue);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: var(--white-overlay-dark);
  transform: translateY(-1px);
}

.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.btn-social img {
  display: block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-social:hover {
  background: transparent !important;
  transform: translateY(0) scale(1.15);
  opacity: 0.8;
}

.btn-social:hover img {
  transform: scale(1.15);
}

/* ============================================
   COMPOSANTS - Cards
   ============================================ */
.card {
  background: var(--card);
  border: 1px solid var(--blue-border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);
}

.card-subtle {
  background: var(--bg);
  border-color: var(--blue-border-light);
  box-shadow: var(--shadow-sm);
}

.pill {
  display: inline-block;
  border: 1px solid var(--blue-border-dark);
  background: var(--white-overlay);
  color: var(--text);
  border-radius: 20px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   COMPOSANTS - Grilles
   ============================================ */
.grid {
  display: grid;
  gap: 16px;
}

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

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

@media (min-width: 800px) {
  .grid-2 {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   HEADER
   ============================================ */
header.site {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  background: rgba(3, 12, 31, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--blue-border-light);
  transform: translateY(-100%);
  transition: transform 0.35s;
  box-shadow: var(--shadow-sm);
}

header.site.show {
  transform: translateY(0);
}

header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}

.brand {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #4AA5E1;
  font-weight: normal;
}

.brand-impro {
  color: var(--white);
}

nav.primary {
  display: none;
  gap: 18px;
}

nav.primary a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

nav.primary a:hover {
  opacity: 0.8;
}

.burger {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
}

.burger span {
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  box-shadow: 0 6px 0 var(--white), 0 -6px 0 var(--white);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 360px);
  height: 100vh;
  background: rgba(245, 241, 232, 0.95);
  border-left: 1px solid var(--blue-border);
  transform: translateX(100%);
  transition: transform 0.3s;
  z-index: 50;
  padding: 16px;
  backdrop-filter: blur(8px);
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.1);
}

.drawer.open {
  transform: translateX(0);
}

.drawer a {
  display: block;
  padding: 14px 6px;
  border-bottom: 1px solid var(--blue-border-light);
  color: var(--text);
}

@media (min-width: 900px) {
  .burger {
    display: none;
  }
  
  nav.primary {
    display: flex;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0 48px;
  background: linear-gradient(to bottom, #1D488B 0%, #030C1F 100%);
  border-bottom: 1px solid var(--blue-border-light);
}

.hero > .container {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
}

.hero-tags {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(16px, 3vw, 24px);
  font-weight: bold;
  color: var(--white);
  z-index: 10;
}

.hero-tags-separator {
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-tags-separator svg {
  width: clamp(16px, 3vw, 24px);
  height: clamp(16px, 3vw, 24px);
  fill: currentColor;
}

.hero-dates {
  position: absolute;
  top: 24px;
  right: clamp(16px, 8vw, 80px);
  font-family: "Bobby Jones", sans-serif;
  font-weight: normal;
  z-index: 10;
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(3, 12, 31, 0.6);
  border-radius: 8px;
  padding: 8px;
  backdrop-filter: blur(4px);
}

.hero-dates-days {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  line-height: 1;
  gap: 0px;
  min-height: 100%;
  flex: 0 0 auto;
  align-self: stretch;
  background: rgba(3, 12, 31, 0.8);
  border-radius: 6px 0 0 6px;
  padding: 12px 16px;
  box-sizing: border-box;
}

.hero-dates-days span {
  color: var(--white);
  font-size: clamp(16px, 4vw, 40px);
  font-weight: 900;
}

.hero-dates-month {
  color: var(--white);
  font-size: clamp(52px, 13.5vw, 135px);
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  min-height: 100%;
  flex: 1;
  align-self: stretch;
  background: transparent;
  padding: 12px 20px;
  box-sizing: border-box;
}

.hero-dates-year {
  color: #4AA5E1;
  font-size: clamp(52px, 13.5vw, 135px);
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  min-height: 100%;
  flex: 0 0 auto;
  align-self: stretch;
  background: transparent;
  padding: 12px 20px;
  border-radius: 0 6px 6px 0;
  box-sizing: border-box;
}

.hero-title {
  text-align: center;
  z-index: 10;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.hero-title .festibask {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(58px, 11.5vw, 165px);
  color: #4AA5E1;
  font-weight: normal;
  display: block;
  margin: 0;
  white-space: nowrap;
  text-align: center;
}

.hero-title .impro {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(85px, 17vw, 285px);
  color: var(--white);
  font-weight: normal;
  display: block;
  margin: 0;
  line-height: 0.9;
  white-space: nowrap;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-title {
    width: auto;
  }
  
  .hero-title .festibask,
  .hero-title .impro {
    text-align: center;
  }
}

.hero .cta-wrap {
  width: 100%;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.hero .cta-card {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
  background: var(--white-overlay-medium);
  border: 1px solid var(--blue-border-dark);
  border-radius: 12px;
  padding: 12px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero .cta-card .btn {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.hero-notice {
  background: var(--black-overlay);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 8px;
  display: inline-block;
  backdrop-filter: blur(4px);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.sr-only {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .hero {
    min-height: auto;
    aspect-ratio: 16/9;
    background: linear-gradient(to bottom, #1D488B 0%, #030C1F 100%);
  }
  
  .hero .cta-wrap {
    width: auto;
    margin-left: auto;
    margin-right: clamp(40px, 12vw, 120px);
    padding-right: 0;
    align-items: flex-end;
  }
  
}

/* ============================================
   DAY SLIDER - Slider jour par jour
   ============================================ */
.day-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 32px auto 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.day-slider-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 300%;
}

.day-slide {
  width: 33.333333%;
  min-width: 33.333333%;
  max-width: 33.333333%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 24px;
  box-sizing: border-box;
}

.day-date {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--accent-dark);
  font-weight: normal;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.date-text {
  flex: 0 0 auto;
}

/* Format long block */
.format-long-block {
  position: relative;
  width: 100%;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
}

.format-long-block:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-xl);
}

.format-long-block::after {
  content: "👆 Cliquez pour en savoir plus";
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.format-long-block:hover::after {
  opacity: 1;
}

.format-long-block.flipped::after {
  display: none;
}

@media (max-width: 768px) {
  .format-long-block::after {
    opacity: 1;
  }
  
  .match-block::after {
    opacity: 1;
  }
}

.format-long-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.format-long-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  color: var(--white);
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
}

.format-long-block.flipped .format-long-overlay {
  opacity: 0;
  pointer-events: none;
}

.format-long-pitch {
  position: absolute;
  top: 0;
  left: 0;
  right: 33.333%;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 100%);
  color: var(--white);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.format-long-block.flipped .format-long-pitch {
  opacity: 1;
  pointer-events: auto;
}

.format-long-block.flipped .format-long-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 33.333%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.format-long-pitch h4 {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin: 0 0 16px;
  font-weight: normal;
}

.format-long-pitch p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.format-long-time {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.format-long-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.format-long-title {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin: 0;
  font-weight: normal;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

/* Match block */
.match-block {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.match-block:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-xl);
}

.match-block::after {
  content: "👆 Cliquez pour en savoir plus";
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.match-block:hover::after {
  opacity: 1;
}

.match-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.match-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  color: var(--white);
  backdrop-filter: blur(2px);
  transition: opacity 0.3s ease;
}

.match-block.flipped .match-overlay {
  opacity: 0;
  pointer-events: none;
}

.match-pitch {
  position: absolute;
  top: 0;
  left: 0;
  right: 380px;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 100%);
  color: var(--white);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.match-block.flipped .match-pitch {
  opacity: 1;
  pointer-events: auto;
}

.match-pitch h4 {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin: 0 0 16px;
  font-weight: normal;
}

.match-pitch p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.match-time {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.match-label-small {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.match-label {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: normal;
  color: #35789E;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
}

.match-teams-overlay {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  z-index: 3;
}

.match-team-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.match-team-logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.15);
  padding: 12px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
}

.match-team-name-overlay {
  display: none;
}

.match-vs {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: normal;
  color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  padding: 0 12px;
}

@media (max-width: 768px) {
  .day-slide {
    padding: 24px 16px;
    gap: 20px;
  }
  
  .day-date {
    gap: 12px;
  }
  
  .format-long-image {
    height: 220px;
  }
  
  .match-image {
    height: 260px;
  }
  
  .format-long-overlay,
  .match-overlay {
    padding: 18px;
  }
  
  .match-team-logo img {
    width: 90px;
    height: 90px;
  }
  
  .match-vs {
    font-size: 1.2rem;
    padding: 0 8px;
  }
  
  .match-teams-overlay {
    right: 18px;
    gap: 16px;
  }
  
  .day-date .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
  
  .day-date {
    gap: 12px;
  }
  
  /* Sur mobile, le pitch prend toute la place */
  .format-long-pitch {
    right: 0;
  }
  
  .match-pitch {
    right: 0;
  }
  
  .format-long-block.flipped .format-long-image {
    width: 100%;
    height: auto;
    position: static;
  }
}

.day-slider .carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 8px;
  padding: 0 16px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-border-dark);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--blue);
}

.day-date .carousel-arrow {
  position: static;
  background: transparent;
  border: 2px solid var(--accent-dark);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
  color: var(--accent-dark);
  transition: all 0.3s;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(4px);
  font-weight: bold;
  margin: 0;
  padding: 0;
}

.day-date .carousel-arrow:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .carousel-arrow {
    display: none;
  }
}

/* ============================================
   FORMATS LONGS (anciens styles conservés pour compatibilité si nécessaire)
   ============================================ */

/* ============================================
   ATELIERS
   ============================================ */
.ateliers-grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}

@media (min-width: 800px) {
  .ateliers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .ateliers-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.atelier-card {
  background: var(--white-overlay-light);
  border: 1px solid var(--blue-border-medium);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.atelier-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: var(--blue-border);
}

.atelier-card .header {
  position: relative;
  background: linear-gradient(135deg, var(--blue-bg) 0%, var(--accent-light) 100%);
  border-bottom: 1px solid var(--blue-border-light);
  padding: 14px 18px;
}

.day-header {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--blue-dark);
  font-weight: 900;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue-border);
}

.atelier-card .instructor-flip-container {
  position: relative;
  width: 100%;
  min-height: 60px;
  height: 60px;
  transition: transform 0.6s, height 0.6s;
  transform-style: preserve-3d;
  cursor: pointer;
  margin-top: 20px;
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--blue-border-light);
}

.atelier-card .instructor-flip-front {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}

.atelier-card .instructor-flip-back {
  backface-visibility: hidden;
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 60px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: var(--blue-bg-medium);
  border-radius: 8px;
}

.atelier-card .instructor-flip-container.flipped {
  transform: rotateY(180deg);
  height: auto;
  min-height: auto;
}

.atelier-card .instructor-flip-container.flipped .instructor-flip-back {
  position: relative;
  min-height: auto;
  height: auto;
  padding: 14px 18px;
}

.atelier-card .instructor-flip-container.flipped .instructor-flip-front {
  position: absolute;
}

.atelier-card .instructor-flip-front img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.atelier-card .instructor-flip-front .instructor-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  margin: 0;
  transition: color 0.2s;
}

.atelier-card .instructor-bio {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.atelier-card .header:hover .instructor-flip-container:not(.flipped) {
  transform: scale(1.01);
}

.atelier-card .header:hover .instructor-flip-front .instructor-name {
  color: var(--blue);
}

.atelier-card .header:hover .instructor-flip-front img {
  transform: scale(1.05);
}

.atelier-card .content {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.atelier-card h3 {
  font-family: "Bobby Jones", sans-serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  color: var(--blue);
  margin: 0 0 12px;
  font-weight: normal;
  line-height: 1.2;
  transition: color 0.2s;
}

.atelier-card h3:hover {
  color: var(--accent-dark);
}

.atelier-card .description {
  margin: 0 0 8px;
  line-height: 1.6;
  color: var(--text);
}

.atelier-card .description.truncated {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.atelier-card .description-toggle {
  color: var(--blue);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.atelier-card .description-toggle:hover {
  border-bottom-color: var(--blue);
  text-decoration: none;
}

.atelier-card .meta-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--blue-border-light);
}

.atelier-card .meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--blue-bg-light);
  border: 1px solid var(--blue-border);
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}


.atelier-card .footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--blue-bg-light);
}

.atelier-card .btn-inscription {
  width: 100%;
  display: flex;
  justify-content: center;
  text-align: center;
  background: var(--blue-dark);
  color: var(--white);
  border-color: var(--blue-dark);
}

.atelier-card .btn-inscription[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* ============================================
   PROGRAMME
   ============================================ */
.program .day {
  display: grid;
  gap: 8px;
}

.program .day.card {
  padding: 12px;
  background: var(--white-overlay-light);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}

.slot {
  display: grid;
  gap: 6px;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  border-left-style: solid;
  border-image: linear-gradient(to bottom, var(--accent), rgba(212, 90, 122, 0.5)) 1;
  background: transparent;
  border-radius: 6px;
  padding: 10px 12px;
  transition: background 0.2s;
}

.slot .time {
  font-weight: 700;
}

.slot .meta {
  color: var(--muted);
  font-size: 0.92rem;
}

.highlight {
  border-color: var(--blue);
}

.slot-atelier {
  background: var(--blue-bg);
  border-left-color: var(--blue);
}

.slot-format-long {
  background: var(--yellow-bg);
  border-left-color: var(--yellow);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slot-format-long::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.slot-format-long > * {
  position: relative;
  z-index: 1;
}

.slot-spectacle {
  background: var(--accent-light);
  border-left-color: var(--accent);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.slot-spectacle::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.slot-spectacle > * {
  position: relative;
  z-index: 1;
}

.slot-festif {
  background: rgba(212, 90, 122, 0.15);
  border-left-color: var(--accent);
  border-left-width: 4px;
}

.salles-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.salle-box {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid var(--blue-border-medium);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.9rem;
}

.salle-box .salle-label {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.85rem;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.salle-box .atelier-name {
  color: var(--text);
  font-weight: 600;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 8px;
}

.salle-box .instructor-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--blue-border);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   TARIFS
   ============================================ */
.pricing {
  display: grid;
  gap: 18px;
}

@media (min-width: 720px) {
  .pricing {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price {
  background: var(--white-overlay-light);
  border: 1px solid var(--blue-border-medium);
  border-radius: 12px;
  padding: 18px;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.price h4 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin: 0 0 8px;
}

.price .value {
  font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--accent);
  line-height: 1.1;
}

.price:nth-of-type(2) .value {
  color: var(--blue-dark);
}

.tarifs-encarts {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

/* Encart Billetterie - fond semi-transparent et espacement réduit */
.billetterie-cta {
  background: var(--white-overlay-medium);
  backdrop-filter: blur(6px);
  padding: 24px;
  border: 2px solid var(--blue-border-dark);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.billetterie-header {
  margin-bottom: 16px;
}

.billetterie-header h3 {
  margin: 0 0 12px 0;
  color: var(--blue-dark);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.billetterie-text {
  margin: 0 0 20px 0;
  color: var(--blue-dark);
  line-height: 1.5;
}

.btn-billetterie {
  width: auto;
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(212, 90, 122, 0.3);
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-billetterie:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 90, 122, 0.4);
}

.early-bird-notice {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 12px;
}

.early-bird-notice p {
  margin: 0;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}

.early-bird-notice span {
  color: var(--accent);
}

.pass-gagnant {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--blue-bg) 100%) !important;
  border-color: rgba(212, 90, 122, 0.3) !important;
  transition: all 0.3s ease;
}

.pass-gagnant:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(212, 90, 122, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(212, 90, 122, 0.4) !important;
}

.pass-gagnant h3 {
  color: var(--accent-dark);
  margin-top: 0;
}

.pass-gagnant p {
  color: var(--blue-dark);
}

.social-links {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   SPONSORS
   ============================================ */
.sponsors-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (min-width: 720px) {
  .sponsors-list {
    grid-template-columns: repeat(6, 1fr);
  }
}

.sponsor {
  background: var(--white-overlay);
  border: 1px dashed var(--blue-border);
  height: 64px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 700;
  backdrop-filter: blur(2px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sponsor-placeholder {
  background: var(--white-overlay);
  border: 2px dashed var(--blue-border);
  height: 64px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(2px);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sponsor-placeholder:hover {
  background: var(--white-overlay-dark);
  border-color: var(--blue);
  color: var(--blue);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 6px var(--blue-border), inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 1px solid var(--blue-border);
  background: rgba(232, 224, 211, 0.6);
  backdrop-filter: blur(4px);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--blue);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--blue-dark);
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

/* ============================================
   STICKY CTA MOBILE
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 45;
}

.sticky-cta .btn {
  box-shadow: 0 4px 16px rgba(212, 90, 122, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 840px) {
  .sticky-cta {
    display: none;
  }
}

/* ============================================
   MODAL
   ============================================ */
dialog {
  border: none;
  border-radius: 12px;
  padding: 0;
  max-width: 520px;
  width: 92%;
  box-shadow: var(--shadow-xl);
}

dialog::backdrop {
  background: var(--black-overlay-light);
  backdrop-filter: blur(2px);
}

.modal-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--blue-border-dark);
  border-radius: 12px;
  padding: 18px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: var(--muted);
  transition: all 0.2s ease;
  z-index: 20 !important;
  padding: 0;
}

.modal-close:hover {
  background: var(--blue-bg-light);
  color: var(--text);
  transform: scale(1.1);
}

.modal-close:active {
  transform: scale(0.95);
}

.modal-close svg {
  width: 20px;
  height: 20px;
  display: block;
}

label {
  display: block;
  margin: 0.6rem 0 0.2rem;
  color: var(--text);
}

input {
  font: inherit;
  border-radius: 8px;
  border: 1px solid var(--blue-border-dark);
  background: var(--white-overlay-dark);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  width: 100%;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue-bg-light), inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================
   FORMULAIRE BREVO
   ============================================ */
#sib-container {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  text-align: center;
  background-color: transparent;
  max-width: 100%;
  border-radius: 0;
  border-width: 0;
  border-style: none;
  direction: ltr;
}

#sib-container input:-ms-input-placeholder {
  text-align: left;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--muted);
}

#sib-container input::placeholder {
  text-align: left;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--muted);
}

#sib-container textarea::placeholder {
  text-align: left;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--muted);
}

#sib-container a {
  text-decoration: underline;
  color: var(--blue);
}

#sib-container .sib-form-block {
  margin-bottom: 0;
  padding: 8px 0;
}

#sib-container .sib-form-block p {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--text);
}

#sib-container .sib-form-block:first-of-type {
  font-size: 32px;
  text-align: left;
  font-weight: 700;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: transparent;
}

#sib-container .sib-form-block:nth-of-type(2) {
  font-size: 16px;
  text-align: left;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: transparent;
}

#sib-container .sib-form-block:last-of-type {
  text-align: left;
}

#sib-container .input {
  font: inherit;
  border-radius: 8px;
  border: 1px solid var(--blue-border-dark);
  background: var(--white-overlay-dark);
  color: var(--text);
  padding: 0.7rem 0.8rem;
  width: 100%;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Helvetica, Arial, sans-serif;
}

#sib-container .input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px var(--blue-bg-light), inset 0 1px 3px rgba(0, 0, 0, 0.08);
}

#sib-container .sib-form-block__button {
  font: inherit;
  border-radius: 8px;
  padding: 0.95rem 1.25rem;
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  text-align: left;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--white);
  background-color: var(--accent);
  border-radius: 5px;
  border-width: 0px;
}

#sib-container .sib-form-block__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 90, 122, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#sib-container .sib-form-block__button .sib-hide-loader-icon {
  display: none;
}

#sib-container .sib-form-block__button.progress-indicator__icon--visible .sib-hide-loader-icon {
  display: inline-block;
}

#sib-container .entry__error {
  display: none;
  margin-top: 4px;
  font-size: 0.9rem;
  padding: 8px;
  font-size: 16px;
  text-align: left;
  font-family: system-ui, -apple-system, sans-serif;
  color: var(--error);
  background-color: var(--error-bg);
  border-radius: 3px;
  border-color: var(--error-border);
}

#sib-container .entry__error--visible {
  display: block;
}

#sib-form-container .sib-form-message-panel {
  margin-bottom: 16px;
  padding: 12px 16px !important;
  border-radius: 8px;
  display: none;
  font-size: 16px;
  text-align: left;
  font-family: system-ui, -apple-system, sans-serif;
}

#sib-form-container .sib-form-message-panel--active {
  display: block !important;
}

#error-message.sib-form-message-panel {
  color: var(--error);
  background-color: var(--error-bg);
  border-radius: 3px;
  border-color: var(--error-border);
  max-width: 100%;
}

#success-message.sib-form-message-panel {
  color: var(--success);
  background-color: var(--success-bg);
  border-radius: 3px;
  border-color: var(--success-border);
  max-width: 100%;
}

#sib-form-container .sib-form-message-panel__text {
  display: flex;
  align-items: center;
  gap: 8px;
}

#sib-form-container .sib-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

#sib-form-container .sib-form-message-panel__inner-text {
  font-size: 0.95rem;
  line-height: 1.4;
}

#success-message .btn {
  margin-top: 16px;
}

#success-close-btn-container {
  text-align: center;
  margin-top: 16px;
  display: none;
}

#success-message.sib-form-message-panel--active ~ #success-close-btn-container {
  display: block !important;
}

/* ============================================
   STATS (si utilisé)
   ============================================ */
.stats {
  display: grid;
  gap: 16px;
}

@media (min-width: 720px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  border: 1px solid var(--blue-border-medium);
  background: var(--white-overlay-light);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.stat .num {
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  display: block;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  line-height: 1;
}

.stat:nth-child(1) .num {
  color: var(--blue-dark);
}

.stat:nth-child(2) .num {
  color: var(--blue-medium);
}

.stat:nth-child(3) .num {
  color: var(--blue-light);
}
