/*
Theme Name: Les Salles Mômes 2026
Author: Designs Genius
Description: Édition 2026 — archive 2025 conservée dans le thème précédent.
Version: 2026.1
Template: bootstrap-component-blox
*/

/* Déclaration des variables globales */
:root {
	--custom-link-color: #15A696; /* Couleur principale */
	--custom-link-hover-color: #12A08B; /* Couleur au survol */
	--bs-heading-color: #e8f3c8; /* Couleur des titres */
}

/* Styles des liens */
a {
	color: var(--custom-link-color);
	text-decoration: underline;
}

a:hover {
	color: var(--custom-link-hover-color);
}

/* 
•	sm → ≥576px
•	md → ≥768px
•	lg → ≥992px
•	xl → ≥1200px
•	xxl → ≥1400px */
@media (max-width: 992px) {}

@media (max-width: 768px) {}

@media (max-width: 576px) {}

.logo {
	  max-width: 100%;
	  height: auto;
}

.bg-home-3 {
	background-image: url('https://lessallesmomes.fr/wp-content/themes/bootstrap-component-blox-child-theme/assets/images/bg-2025.webp');
	padding: 400px 0px 60px 0px;
	position: relative;
	background-position: top center;
	background-size: 100% auto;
	/* Largeur à 100%, hauteur ajustée automatiquement */
	background-repeat: no-repeat;
	/* Empêche la répétition de l'image */
}

/* Desktop (par défaut) : déjà défini à 500px 0 60px */

/* <= 992px (lg et moins) : tablettes & petits laptops */
@media (max-width: 992px) {
  .bg-home-3 {
	padding-top: 290px;
  }
}

/* <= 768px (md et moins) : petites tablettes & grands smartphones */
@media (max-width: 768px) {
  .bg-home-3 {
	padding: 250px 0 40px;
  }
}

/* <= 576px (sm et moins) : smartphones */
@media (max-width: 576px) {
  .bg-home-3 {
	padding: 150px 0 40px;
  }
}

.bg-footer-home-3 {
	background-image: url('https://lessallesmomes.fr/wp-content/themes/bootstrap-component-blox-child-theme/assets/images/bg-2025-footer.webp');
	padding-top: 450px;
	position: relative;
	background-position: top center;
	background-size: 100% auto;
	/* Largeur à 100%, hauteur ajustée automatiquement */
	background-repeat: no-repeat;
	/* Empêche la répétition de l'image */
}

@media (max-width: 992px) {
  .bg-footer-home-3 {
	padding-top: 290px;
  }
}

/* <= 768px (md et moins) : petites tablettes & grands smartphones */
@media (max-width: 768px) {
  .bg-footer-home-3 {
	padding: 250px 0 40px;
  }
}



.site-info p {
	background-color: white;
	display: inline-block;
	/* L'élément p s'ajuste à la largeur du texte */
	padding: 5px 10px;
	/* Ajuste l'espacement autour du texte */
	border-radius: 4px;
	/* Ajoute des coins arrondis pour un effet esthétique */
}

@media (max-width: 768px) {

	.bg-footer-home-3 {
		padding-top: 0px;
	}

	.site-info {
		padding-top: 300px;
	}

}

/* <= 576px (sm et moins) : smartphones */
@media (max-width: 576px) {
  .bg-footer-home-3 {
  }
  .site-info {
	  padding-top: 150px;
  }
}


.bg-home-3 .home-desc {
	max-width: 700px;
	margin: 0 auto;
	color: rgba(255, 255, 255, 0.9);
}

.home-border {
	width: 50px;
	height: 2px;
	background: #4c8b79;
	margin: 0 auto;

}

.bg-home-3 .home-border {
	width: 50px;
	height: 1px;
	background: #ffffff;
	margin: 0 auto;
}

.bg-home-3 .home-desc {
	max-width: 700px;
	margin: 0 auto;
}



/* Boutton Voir le programme */

.bubbly-button {
	font-family: 'Helvetica', 'Arial', sans-serif;
	display: inline-block;
	font-size: 1.3em;
	padding: 1em;
	-webkit-appearance: none;
	appearance: none;
	background-color: #CE633C; /* Changement de la couleur principale */
	color: #fff;
	border-radius: 45px;
	border: none;
	cursor: pointer;
	position: relative;
	transition: transform ease-in 0.1s, box-shadow ease-in 0.25s, background-color 0.3s ease-in-out;
	box-shadow: 0 2px 25px rgba(206, 99, 60, 0.5); /* Ombre en fonction de la nouvelle couleur */
	text-decoration: none;
	text-transform: uppercase;
}

.bubbly-button:hover {
	background-color: #A14E31; /* Couleur au survol */
	transition: background-color 0.3s ease-in-out;
	color: #fff;
}

.bubbly-button:focus {
	outline: 0;
}

.bubbly-button:before,
.bubbly-button:after {
	position: absolute;
	content: '';
	display: block;
	width: 140%;
	height: 100%;
	left: -20%;
	z-index: -1000;
	transition: all ease-in-out 0.5s;
	background-repeat: no-repeat;
}

.bubbly-button:before {
	display: none;
	top: -75%;
	background-image: radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, transparent 20%, #CE633C 20%, transparent 30%), radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, transparent 10%, #CE633C 15%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%);
	background-size: 10% 10%, 20% 20%, 15% 15%, 20% 20%, 18% 18%, 10% 10%, 15% 15%, 10% 10%, 18% 18%;
}

.bubbly-button:after {
	display: none;
	bottom: -75%;
	background-image: radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, transparent 10%, #CE633C 15%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%), radial-gradient(circle, #CE633C 20%, transparent 20%);
	background-size: 15% 15%, 20% 20%, 18% 18%, 20% 20%, 15% 15%, 10% 10%, 20% 20%;
}

.bubbly-button:active {
	transform: scale(0.9);
	background-color: #A14E31; /* Couleur plus foncée au clic */
	box-shadow: 0 2px 25px rgba(206, 99, 60, 0.2);
}

.bubbly-button.animate:before {
	display: block;
	animation: topBubbles ease-in-out 0.75s forwards;
}

.bubbly-button.animate:after {
	display: block;
	animation: bottomBubbles ease-in-out 0.75s forwards;
}

@keyframes topBubbles {
	0% {
		transform: translateY(0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translateY(-100%) scale(0.5);
		opacity: 0;
	}
}

@keyframes bottomBubbles {
	0% {
		transform: translateY(0) scale(1);
		opacity: 1;
	}
	100% {
		transform: translateY(100%) scale(0.5);
		opacity: 0;
	}
}

@keyframes topBubbles {
	0% {
		background-position: 5% 90%, 10% 90%, 10% 90%, 15% 90%, 25% 90%, 25% 90%, 40% 90%, 55% 90%, 70% 90%;
	}

	50% {
		background-position: 0% 80%, 0% 20%, 10% 40%, 20% 0%, 30% 30%, 22% 50%, 50% 50%, 65% 20%, 90% 30%;
	}

	100% {
		background-position: 0% 70%, 0% 10%, 10% 30%, 20% -10%, 30% 20%, 22% 40%, 50% 40%, 65% 10%, 90% 20%;
		background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
	}
}

@keyframes bottomBubbles {
	0% {
		background-position: 10% -10%, 30% 10%, 55% -10%, 70% -10%, 85% -10%, 70% -10%, 70% 0%;
	}

	50% {
		background-position: 0% 80%, 20% 80%, 45% 60%, 60% 100%, 75% 70%, 95% 60%, 105% 0%;
	}

	100% {
		background-position: 0% 90%, 20% 90%, 45% 70%, 60% 110%, 75% 80%, 95% 70%, 110% 10%;
		background-size: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
	}
}

/* / Boutton Voir le programme */

#programme {
	background-color: #777777;
	color: white
}

/* Adjust the arrow icon size and position */
  .arrow-icon {
	margin-top: 20px;
	color: var(--bs-heading-color); /* Adjust the color */
  }

.infos_pratiques {
	background-color: #15A696;
	color: #e8f3c8;
	position: relative;
	padding-top: 30px;
	overflow: hidden;
	/* Assure que le contenu ne dépasse pas l'arrondi */
}

.infos_pratiques .heading-title { }
.infos_pratiques .wp-block-column strong { color: #CE633C !important }



.lieux {
	background-color: #245144;
	color: #e8f3c8
}

.btn-outline-primary {
	color: #CE633C;
	border-color: #CE633C;
}

.btn-outline-primary:hover {
	background-color: #CE633C;
	color: #fff;
	border-color: #CE633C;
}

.btn-outline-secondary {
	color: #A9CA46;
	border-color: #A9CA46;
}

.btn-outline-secondary:hover {
	background-color: #A9CA46;
	color: #fff;
	border-color: #A9CA46;
}

.site-info {
	font-size: 0.75rem;
}


.card {
	--bs-card-spacer-y: 0; /* Supprime l'espacement vertical */
	--bs-card-spacer-x: 0; /* Supprime l'espacement horizontal */
	--bs-card-title-spacer-y: 0; /* Supprime l'espacement autour du titre */
	--bs-card-title-color: transparent; /* Rendre la couleur du titre transparente */
	--bs-card-subtitle-color: transparent; /* Rendre la couleur du sous-titre transparente */
	--bs-card-border-width: 0; /* Supprime la bordure */
	--bs-card-border-color: transparent; /* Rendre la couleur de la bordure transparente */
	--bs-card-border-radius: 0; /* Supprime le rayon de la bordure */
	--bs-card-box-shadow: none; /* Supprime l'ombre */
	--bs-card-height: auto; /* Permet à la hauteur de s'ajuster automatiquement */
	--bs-card-color: #e8f3c8; /* Rendre la couleur de la carte transparente */
	--bs-card-bg: transparent; /* Rendre le fond de la carte transparent */
	
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: auto; /* Permet à la carte d'ajuster sa hauteur */
	word-wrap: break-word;
	background-color: transparent; /* Rendre l'arrière-plan de la carte transparent */
	background-clip: border-box;
}

.card-footer {
	padding: 0; /* Met le padding à zéro */
}



/* Overlay Calameo */
.iframe-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
	background-color: white;
}

/* Hide the overlay on small screens */
@media (max-width: 576px) {
	.iframe-overlay {
		display: none;
	}
}



  

/* Édition 2026 : couleurs et affiche du programme fourni. */
:root { --custom-link-color: #a93220; --custom-link-hover-color: #762519; --bs-heading-color: #fff7e9; }
.bg-home-3 { background: #fff; padding: 1.5rem 1rem; }
.affiche-2026 { display: block; width: auto; max-width: 100%; height: auto; max-height: 82vh; margin: 0 auto; }
.edition-navigation { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin: 1.5rem auto 0; }
.edition-navigation a { color: #932e20; font-weight: 600; padding: .7rem 1rem; border: 1px solid currentColor; border-radius: 4px; text-decoration: none; }
.edition-navigation a:hover { color: #fff; background: #932e20; }
#programme { background: #f8eee1; color: #65291f; padding: 2rem 0; }
#programme .heading-title { color: #932e20; }
.programme-download { display: inline-block; color: #932e20; padding: .75rem 1rem; margin-bottom: 1rem; }
.infos_pratiques { background: #ae3425; color: #fff8ee; }
.infos_pratiques strong, .infos_pratiques .heading-title { color: #fff8ee !important; }
.lieux { background: #772b26; color: #fff8ee; }
.lieux .card, .lieux h3 { color: #fff8ee; }
.lieux .card { --bs-card-color: #fff8ee; }
.lieux .card-header { min-height: 5rem; padding: 0; }
.lieux .card-body { padding: 1rem 0; }
.lieux .btn { padding: .7rem .85rem; }
.btn-outline-primary, .btn-outline-secondary { color: #fff8ee; border-color: #fff8ee; }
.btn-outline-primary:hover, .btn-outline-secondary:hover { background: #fff8ee; border-color: #fff8ee; color: #772b26; }
.bg-footer-home-3 { background: #fff8ee; padding: 2.5rem 0 1rem; color: #532a23; }
.site-info { padding-top: 0; }
.site-info p { background: transparent; }
.logos { background: #fff; padding: 1.5rem 0; }
.partner-logo { width: 100%; height: 100px; object-fit: contain; }
:focus-visible { outline: 3px solid #eea01b; outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .animate__animated { animation: none !important; } }

.site-info p { display: block; }
@media (max-width: 575.98px) { .lieux .card-header { min-height: 0; } }

/* Visuel d'accueil décomposé en quatre éléments indépendants. */
.bg-home-3 { padding: 0 0 1.5rem; }
.hero-art-2026 {
    display: flex; flex-direction: column; align-items: center;
    width: 100%; padding: clamp(2rem, 4vw, 4rem) 1rem clamp(2rem, 4vw, 4rem);
    background: #fff url('assets/images/fond-2026.webp') center 36% / cover no-repeat;
    overflow: hidden;
}
.hero-villes-2026 { width: min(640px, 88vw); height: auto; }
.hero-logo-2026 { width: min(540px, 66vw); height: auto; margin-top: clamp(2rem, 6vw, 5rem); animation: lsm-logo-arrive 1.15s ease-out both; transform-origin: center; }
.hero-dates-2026 { width: min(510px, 78vw); height: auto; margin-top: 1.25rem; }
@keyframes lsm-logo-arrive {
    0% { opacity: 0; transform: translateY(-65px) scale(.88) rotate(-5deg); }
    60% { opacity: 1; transform: translateY(10px) scale(1.025) rotate(1deg); }
    80% { transform: translateY(-5px) scale(.99) rotate(-.5deg); }
    100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}
@media (max-width: 575.98px) {
    .hero-art-2026 { padding-top: 2rem; padding-bottom: 2.5rem; background-position: center; }
    .hero-logo-2026 { width: 80vw; margin-top: 3rem; }
    .hero-villes-2026 { width: 94vw; }
    .hero-dates-2026 { width: 87vw; }
}
@media (prefers-reduced-motion: reduce) { .hero-logo-2026 { animation: none; } }

/* Fonds composés par format : le bandeau des villes fait partie du fond.
   Le rapport largeur/hauteur est conservé pour éviter de rogner le texte. */
.hero-art-2026 {
    position: relative; display: block; padding: 0; aspect-ratio: 780 / 1320;
    background-image: url('assets/images/fond-villes-mobile-2026.svg');
    background-position: center top; background-size: 100% 100%;
}
.hero-art-2026 .hero-logo-2026 {
    position: absolute; width: 80%; left: 10%; top: 23.485%; margin: 0;
}
.hero-art-2026 .hero-dates-2026 {
    position: absolute; width: 88.462%; left: 5.769%; top: 73.03%; margin: 0;
}
@media (min-width: 600px) {
    .hero-art-2026 { aspect-ratio: 1200 / 1500; background-image: url('assets/images/fond-villes-tablette-2026.svg'); }
    .hero-art-2026 .hero-logo-2026 { width: 61.667%; left: 19.167%; top: 23.333%; }
    .hero-art-2026 .hero-dates-2026 { width: 55%; left: 22.5%; top: 74.667%; }
}
@media (min-width: 1000px) {
    .hero-art-2026 { aspect-ratio: 1600 / 1220; background-image: url('assets/images/fond-villes-ordinateur-2026.svg'); }
    .hero-art-2026 .hero-logo-2026 { width: 38.75%; left: 30.625%; top: 24.59%; }
    .hero-art-2026 .hero-dates-2026 { width: 33.125%; left: 33.438%; top: 77.05%; }
}
@media (max-width: 599px) {
    .edition-navigation { gap: .65rem; padding: 0 .75rem; }
    .edition-navigation a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}

/* Rapprocher le bandeau des dates du cercle sur les trois formats. */
.hero-art-2026 .hero-dates-2026 {
    transform: translateY(clamp(-36px, -3vw, -18px));
}

/* Affiche originale : lieux et dates intégrés au fond, seul le cercle est animé. */
.hero-art-2026 { aspect-ratio: 780 / 1168; background-image: url('assets/images/fond-affiche-mobile-2026.svg'); }
.hero-art-2026 .hero-logo-2026 { width: 66.28%; left: 16.86%; top: 27.91%; }
@media (min-width: 600px) {
 .hero-art-2026 { aspect-ratio: 1200 / 1500; background-image: url('assets/images/fond-affiche-tablette-net-2026.svg'); }
 .hero-art-2026 .hero-logo-2026 { width: 55.34%; left: 22.33%; top: 27.91%; }
}
@media (min-width: 900px) {
 .hero-art-2026 { aspect-ratio: 1600 / 1220; background-image: url('assets/images/fond-affiche-desktop-stylos-2026.png'); }
 .hero-art-2026 .hero-logo-2026 { width: 33.756%; left: 33.122%; top: 27.91%; }
}

/* Une pulsation discrète par billetterie, puis une pause entre les cycles. */
.lieux .billet-pulse {
 animation: billet-pulse 12s ease-in-out var(--billet-delay, 0s) infinite;
}
@keyframes billet-pulse {
 0%, 10%, 100% { background-color: transparent; color: #fff8ee; box-shadow: 0 0 0 0 rgba(252,173,13,0); }
 5% { background-color: #FCAD0D; color: #532a23; box-shadow: 0 0 0 3px rgba(252,173,13,.10); }
}
.lieux .billet-pulse:hover, .lieux .billet-pulse:focus-visible { animation: none; }
@media (prefers-reduced-motion: reduce) {
 .lieux .billet-pulse { animation: none; }
}

/* Micro-effets 2026 : apparition au scroll et interactions sobres. */
.lsm-reveal {
 opacity: 1;
 transform: none;
 filter: none;
}

.lsm-motion-ready .lsm-reveal {
 opacity: 0;
 transform: translate3d(0, 18px, 0);
 filter: blur(8px);
 transition:
 opacity .58s cubic-bezier(.16, 1, .3, 1) var(--lsm-reveal-delay, 0s),
  transform .58s cubic-bezier(.16, 1, .3, 1) var(--lsm-reveal-delay, 0s),
  filter .58s cubic-bezier(.16, 1, .3, 1) var(--lsm-reveal-delay, 0s);
}

.lsm-motion-ready .lsm-reveal.is-visible {
 opacity: 1;
 transform: translate3d(0, 0, 0);
 filter: blur(0);
}

.lsm-info-panel {
 border-radius: 6px;
 padding: clamp(1rem, 2vw, 1.4rem);
 transition:
  background-color .22s ease,
  box-shadow .22s ease,
  transform .22s ease;
}

.lsm-info-panel:hover,
.lsm-info-panel:focus-within {
 background-color: rgba(255, 248, 238, .08);
 box-shadow: 0 16px 38px rgba(83, 42, 35, .14);
 transform: translateY(-2px);
}

.lsm-info-panel strong {
 display: inline-block;
 text-decoration: underline;
 text-decoration-thickness: .08em;
 text-underline-offset: .22em;
 transition: color .2s ease, transform .2s ease;
}

.lsm-info-panel:hover strong,
.lsm-info-panel:focus-within strong {
 color: #FCAD0D !important;
 transform: translateX(2px);
}

.lsm-partner-item {
 transition: transform .22s ease;
}

.partner-logo {
 transition: transform .24s cubic-bezier(.16, 1, .3, 1), filter .24s ease, opacity .24s ease;
 transform-origin: center;
}

.lsm-partner-item:hover .partner-logo,
.lsm-partner-item:focus-within .partner-logo {
 filter: saturate(1.08) contrast(1.04);
 transform: translateY(-3px) scale(1.035);
}

@media (min-width: 768px) {
 .lsm-motion-ready .lsm-info-panel:first-child {
  transform: translate3d(-18px, 12px, 0);
 }

 .lsm-motion-ready .lsm-info-panel:nth-child(2) {
  transform: translate3d(18px, 12px, 0);
 }

 .lsm-motion-ready .lsm-info-panel.is-visible {
  transform: translate3d(0, 0, 0);
 }
}

@media (max-width: 575.98px) {
 .lsm-info-panel {
  padding: .9rem .25rem;
 }

 .lsm-motion-ready .lsm-reveal {
  transform: translate3d(0, 12px, 0);
  filter: blur(5px);
 }
}

@media (prefers-reduced-motion: reduce) {
 .lsm-motion-ready .lsm-reveal,
 .lsm-motion-ready .lsm-info-panel:first-child,
 .lsm-motion-ready .lsm-info-panel:nth-child(2),
 .lsm-info-panel,
 .lsm-info-panel strong,
 .lsm-partner-item,
 .partner-logo {
  transition-duration: .01ms !important;
  animation: none !important;
  transform: none !important;
  filter: none !important;
 }

 .lsm-motion-ready .lsm-reveal {
  opacity: 1;
 }
}
