@charset "UTF-8";
/*
Theme Name: Pompon Solutions
Theme URI: https://pompon.solutions
Author: Pompon Solutions
Author URI: https://pompon.solutions
Version: 666
Description: petit thème fait maison
*/
/* ------------------ FONTS ------------------ */
@font-face {
  font-family: 'Amaranth';
  src: url("fonts/Amaranth-Bold.woff2") format("woff2"), url("fonts/Amaranth-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Amaranth';
  src: url("fonts/Amaranth-Italic.woff2") format("woff2"), url("fonts/Amaranth-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Amaranth';
  src: url("fonts/Amaranth-Regular.woff2") format("woff2"), url("fonts/Amaranth-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Amaranth';
  src: url("fonts/Amaranth-BoldItalic.woff2") format("woff2"), url("fonts/Amaranth-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

/* ------------------ GLOBAL ------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  padding: 0;
  margin: 0;
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #e09998;
  font-family: 'Amaranth';
  color: #000F00;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body.scrolled header {
  z-index: 9999;
  padding-bottom: 0;
  align-items: center;
  pointer-events: none;
}

body.scrolled header #title a {
  pointer-events: all;
}

body.scrolled header #title a #logo-wrapper img {
  max-height: 80px;
}

body.scrolled header #title a #sous_titre img {
  max-height: 0px;
}

body.scrolled header nav .menu-principal-container #menu-principal .menu-item {
  pointer-events: all;
}

/* ------------------ HEADER ------------------ */
body {
  z-index: 0;
  /* ------------------ MAIN ------------------ */
}

body header {
  z-index: 10;
  padding: 15px;
  display: flex;
  position: sticky;
  top: 0;
  max-height: 250px;
  align-items: flex-start;
}

body header #title {
  display: flex;
}

body header #title a {
  height: 100%;
  display: flex;
}

body header #title a #logo-wrapper {
  height: 100%;
  height: 160px;
  transition: height 0.4s ease;
}

body header #title a #logo-wrapper img {
  height: 100%;
  object-fit: contain;
  transition: max-height 0.4s;
  max-height: 200px;
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

body header #title a #sous_titre {
  height: 100%;
  padding-left: 15px;
}

body header #title a #sous_titre img {
  transition: max-height 0.5s;
  object-fit: contain;
  max-height: 80px;
}

body header #title:hover {
  animation: wobble 1s infinite;
  filter: drop-shadow(-3px 0px 0px #e09998) drop-shadow(3px 0px 0px #e09998) drop-shadow(0px -3px 0px #e09998) drop-shadow(0px 3px 0px #e09998) drop-shadow(0px 0px 10px #e09998) drop-shadow(0px 0px 3px #000F00);
}

body header nav {
  display: flex;
  flex: 1;
  align-self: flex-start;
}

body header nav .hamburger {
  display: none;
}

body header nav .menu-principal-container {
  display: flex;
  flex: 1;
}

body header nav .menu-principal-container #menu-principal {
  flex: 1;
  display: flex;
  padding: 0;
  list-style-type: none;
  justify-content: space-around;
  padding-left: 30px;
}

body header nav .menu-principal-container #menu-principal .current-menu-item a .menu-item-image img {
  filter: drop-shadow(-3px 0px 0px #e09998) drop-shadow(3px 0px 0px #e09998) drop-shadow(0px -3px 0px #e09998) drop-shadow(0px 3px 0px #e09998) drop-shadow(0px 0px 10px #e09998) drop-shadow(0px 0px 3px #000F00);
}

body header nav .menu-principal-container #menu-principal .menu-item {
  flex: 1;
  display: flex;
  justify-content: center;
}

body header nav .menu-principal-container #menu-principal .menu-item .menu-item-text {
  display: none;
}

body header nav .menu-principal-container #menu-principal .menu-item.current-menu-item a .menu-item-image .image {
  filter: drop-shadow(-3px 0px 0px #e09998) drop-shadow(3px 0px 0px #e09998) drop-shadow(0px -3px 0px #e09998) drop-shadow(0px 3px 0px #e09998) drop-shadow(0px 0px 10px #e09998) drop-shadow(0px 0px 3px #000F00);
}

body header nav .menu-principal-container #menu-principal .menu-item a {
  display: flex;
  pointer-events: all;
  display: inline-flex;
  flex: 0 0 auto;
  flex: 1;
}

body header nav .menu-principal-container #menu-principal .menu-item a .menu-item-image {
  position: relative;
  flex: 1;
  display: flex;
  max-width: 70%;
}

body header nav .menu-principal-container #menu-principal .menu-item a .menu-item-image .image {
  position: absolute;
  right: 30px;
  width: 100%;
  height: auto;
  top: 0;
  max-width: 70%;
  z-index: 2;
  filter: drop-shadow(-3px 0px 0px #e09998) drop-shadow(3px 0px 0px #e09998) drop-shadow(0px -3px 0px #e09998) drop-shadow(0px 3px 0px #e09998) drop-shadow(0px 0px 2px #e09998);
  transition: filter 0.5s max-width 0.5s transform 1s ease;
  cursor: pointer;
}

body header nav .menu-principal-container #menu-principal .menu-item a .menu-item-image:hover {
  animation: wobble 1s infinite;
}

body header nav .menu-principal-container #menu-principal .menu-item a .menu-item-image:hover .image {
  filter: drop-shadow(-3px 0px 0px #e09998) drop-shadow(3px 0px 0px #e09998) drop-shadow(0px -3px 0px #e09998) drop-shadow(0px 3px 0px #e09998) drop-shadow(0px 0px 10px #e09998) drop-shadow(0px 0px 5px #000F00);
}

body #main {
  padding: 15px;
  display: flex;
  flex: 1;
  width: 100%;
  z-index: 0;
  padding-bottom: 60px;
}

body #main p {
  font-weight: normal;
}

body #main .page-content {
  display: flex;
  flex: 1;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-width: 0;
  flex-direction: column;
}

body #main .page-content .titre_page img {
  width: 300%;
  max-width: 100%;
}

body #main .page-content .evenements-wrap {
  display: flex;
  flex: 1;
  min-width: 0;
}

body #main .page-content .evenements-wrap .evenements-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
}

@media (max-width: 900px) {
  body #main .page-content .evenements-wrap .evenements-grid {
    grid-template-columns: 1fr;
  }
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-day {
  display: flex;
  flex-direction: column;
  gap: 25px;
  min-width: 0;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-day-title {
  text-align: center;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-day-title img {
  max-width: 300px;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-day-list {
  display: grid;
  gap: 28px;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-card {
  display: grid;
  gap: 10px;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-meta {
  display: grid;
  gap: 6px;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-time {
  font-weight: bold;
  font-size: 14px;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: .02em;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-thumb {
  display: block;
  width: 100%;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-thumb .thumb-svg {
  width: 100%;
  height: auto;
  display: block;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-thumb .thumb-svg image {
  transition: transform .25s ease, filter .25s ease;
  transform-origin: center;
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-thumb:hover {
  filter: drop-shadow(0px 0px 2px #000F00);
}

body #main .page-content .evenements-wrap .evenements-grid .evenement-thumb:hover .thumb-svg image {
  transform: scale(0.99);
}

body #main .page-content .ateliers-wrap {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  width: 100%;
  gap: 30px;
}

body #main .page-content .ateliers-wrap .ateliers-badge {
  display: flex;
  justify-content: center;
}

body #main .page-content .ateliers-wrap .ateliers-badge img {
  max-width: 450px;
}

body #main .page-content .ateliers-wrap .ateliers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 60px;
  width: 100%;
}

@media (max-width: 900px) {
  body #main .page-content .ateliers-wrap .ateliers-grid {
    grid-template-columns: 1fr;
  }
}

body #main .page-content .ateliers-wrap .ateliers-grid .evenement-thumb img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

body #main .page-content .ateliers-wrap .evenement-card {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
}

body #main .page-content .ateliers-wrap .evenement-thumb {
  display: block;
  width: 100%;
}

body #main .page-content .ateliers-wrap .evenement-thumb .thumb-svg {
  width: 100%;
  height: auto;
  display: block;
}

body #main .page-content .ateliers-wrap .evenement-thumb .thumb-svg image {
  transition: transform .25s ease, filter .25s ease;
  transform-origin: center;
}

body #main .page-content .ateliers-wrap .evenement-thumb:hover {
  filter: drop-shadow(0px 0px 2px #000F00);
}

body #main .page-content .ateliers-wrap .evenement-thumb:hover .thumb-svg image {
  transform: scale(0.99);
  filter: contrast(1.02) saturate(1.04);
}

body #main .page-content .ateliers-wrap .atelier-title {
  margin: 0;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.1;
}

body #main .page-content .ateliers-wrap .atelier-meta-line {
  margin-top: -4px;
  font-size: 16px;
  font-weight: bold;
}

body #main .page-content .ateliers-wrap .atelier-schedule {
  font-weight: bold;
  line-height: 1.1;
}

body #main .page-content .ateliers-wrap .atelier-cta {
  margin-top: 4px;
}

body #main .page-content .ateliers-wrap .atelier-excerpt {
  font-size: 16px;
  line-height: 1.25;
}

body #main .page-content .ateliers-wrap .atelier-excerpt p {
  margin: 0;
}

body footer {
  position: relative;
  background-color: #000F00;
  color: white;
  display: flex;
  flex: 1;
}

body footer a {
  color: white;
  transition: color 0.3s;
}

body footer a:hover {
  color: #e09998;
  text-decoration: none;
}

body footer a:hover img {
  box-shadow: 0px 0px 2px #e09998;
}

body footer .colonnes-wrapper {
  display: flex;
  flex: 1;
  justify-content: space-around;
}

body footer .colonnes-wrapper .colonne {
  display: flex;
}

body footer .footer-wave {
  position: absolute;
  top: -39px;
  left: 0;
  width: 100%;
  height: 40px;
  overflow: hidden;
}

body footer .footer-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

body footer img {
  max-width: 100px;
}

/* ------------------ LINKS ------------------ */
a {
  color: #000F00;
  text-decoration: none;
}

a:hover {
  color: #000F00;
  text-decoration: underline;
}

@keyframes wobble {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(-1px, 1px) rotate(-0.5deg);
  }
  40% {
    transform: translate(1px, -1px) rotate(0.5deg);
  }
  60% {
    transform: translate(-1px, 0px) rotate(-0.4deg);
  }
  80% {
    transform: translate(1px, 1px) rotate(0.4deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.evenement-dialog {
  padding: 0;
  border: none;
  border-radius: 8px;
  background: #e09998;
  width: 90%;
  max-width: 90vw;
  max-height: 90vh;
  clip-path: url(#modal-wavy-clip);
  padding: 60px;
}

.evenement-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(1px);
}

.dialog-inner {
  padding: 30px;
  overflow-y: auto;
  max-height: 85vh;
  display: flex;
}

.dialog-inner #dialog-content {
  display: flex;
  flex: 1;
  gap: 30px;
}

.dialog-inner #dialog-content .col {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.dialog-inner #dialog-content .col.left {
  flex-direction: column;
}

.dialog-inner #dialog-content .col.left .popup-time {
  margin: 0;
}

.dialog-inner #dialog-content .col .popup-thumb {
  height: auto;
  flex: 1;
  display: flex;
}

.dialog-inner #dialog-content .col .popup-thumb img {
  width: 100%;
  display: flex;
  flex: 1;
  object-fit: contain;
  height: auto;
}

.dialog-close {
  position: absolute;
  top: 30px;
  right: 45px;
  border: none;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  filter: drop-shadow(0px 0px 2px #e09998) drop-shadow(0px 0px 3px #e09998) drop-shadow(0px 0px 4px #e09998);
}

.dialog-close:hover {
  background: #e1e1e1;
}

body.modal-open {
  overflow: hidden;
}

/* 2. On applique l'animation d'ouverture quand la modale a l'attribut [open] */
.evenement-dialog[open] {
  animation: dialogFadeIn 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.evenement-dialog[open]::backdrop {
  animation: backdropFadeIn 0.3s ease forwards;
}

/* 3. On applique l'animation de fermeture quand le JS ajoute la classe .is-closing */
.evenement-dialog.is-closing {
  animation: dialogFadeOut 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.evenement-dialog.is-closing::backdrop {
  animation: backdropFadeOut 0.3s ease forwards;
}

/* --- ANIMATIONS DE LA MODALE --- */
/* 1. On crée les "scénarios" d'animation */
@keyframes dialogFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes dialogFadeOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(15px) scale(0.98);
  }
}

@keyframes backdropFadeIn {
  from {
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
  }
  to {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
  }
}

@keyframes backdropFadeOut {
  from {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(3px);
  }
  to {
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
  }
}

/* 1. Styles communs pour désactiver l'apparence par défaut */
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  background-color: transparent !important;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 0 !important;
  height: 6px !important;
  /* Ajustez entre 8px et 12px selon l'effet désiré */
}

.hamburger-inner {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M10,10 C30,15 70,5 90,10' stroke='%23000000' stroke-width='15' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Ligne du haut - Un tracé large, bombé vers le haut */
.hamburger-inner::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M10,12 C30,5 70,5 90,12' stroke='%23000000' stroke-width='15' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Ligne du bas - Un tracé large, légèrement ondulé */
.hamburger-inner::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M10,8 C30,12 70,2 90,8' stroke='%23000000' stroke-width='15' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

.wp-block-accordion .wp-block-accordion-item {
  border-bottom: 1px solid rgba(0, 15, 0, 0.15);
  /* --- DÉBUT DES MODIFICATIONS POUR LE PANNEAU --- */
  /* On gère les marges internes pour éviter un "saut" à la fin de l'animation */
}

.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading {
  margin: 0;
}

.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
}

.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading__toggle-title {
  display: block;
}

.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-heading__toggle-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  transform-origin: center;
}

.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-panel {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  /* On adoucit la transition générale */
  transition: max-height 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}

.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-panel > *:first-child {
  margin-top: 0;
  padding-top: 1rem;
}

.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-panel > *:last-child {
  margin-bottom: 0;
}

.wp-block-accordion .wp-block-accordion-item .wp-block-accordion-panel .wp-block-columns {
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  padding-bottom: 1.25rem;
  will-change: transform, opacity;
}

.wp-block-accordion .wp-block-accordion-item.is-open .wp-block-accordion-panel {
  /* Valeur suffisamment grande pour contenir l'image et le texte */
  /* Augmente-la si tu as des panneaux encore plus longs */
  max-height: 2500px;
  opacity: 1;
}

.wp-block-accordion .wp-block-accordion-item.is-open .wp-block-accordion-panel .wp-block-columns {
  transform: translateY(0);
  opacity: 1;
  /* Léger délai pour un effet de cascade élégant à l'ouverture */
  transition-delay: 0.1s;
}

.wp-block-accordion .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
  transform: rotate(45deg);
}

.blob {
  /* Vos couleurs et espacements classiques */
  background-color: #000F00;
  color: white;
  padding: 40px 60px;
  text-align: center;
  font-size: 1.3em;
  /* * LE MASQUE MAGIQUE 
   * C'est un SVG dessiné sur une grille de 100x100 avec des courbes de Bézier (C)
   * qui donnent un bord cabossé et irrégulier.
   */
  border-radius: 5em;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M 2 5 C 20 -2, 40 5, 60 2 C 80 -1, 95 4, 98 6 C 102 20, 97 40, 99 60 C 101 80, 96 95, 95 98 C 80 102, 60 97, 40 99 C 20 101, 5 95, 3 95 C -2 80, 4 60, 2 40 C -1 20, 4 10, 2 5 Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M 2 5 C 20 -2, 40 5, 60 2 C 80 -1, 95 4, 98 6 C 102 20, 97 40, 99 60 C 101 80, 96 95, 95 98 C 80 102, 60 97, 40 99 C 20 101, 5 95, 3 95 C -2 80, 4 60, 2 40 C -1 20, 4 10, 2 5 Z' fill='black'/%3E%3C/svg%3E");
  /* On force le masque à prendre 100% de la largeur et hauteur */
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  /* Style pour le lien à l'intérieur (WeMakeIt) */
}

.blob a {
  color: white;
  text-decoration: underline;
}

.blob a:hover {
  color: #e09998;
}

#date-concerts {
  padding: 30px;
  text-align: center;
  margin-bottom: 30px;
}

#date-concerts img {
  width: 80%;
}

.wp-block-button__link {
  background-color: #000F00;
  transition: all 0.3s;
}

.wp-block-button__link:hover {
  color: #e09998;
  text-decoration: none;
  animation: wobble 1s infinite;
}

.wp-block-media-text__media img {
  max-width: 70vw;
  display: block;
  margin: auto;
}
