/**
Theme Name: DERSA-res
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dersa
Template: astra
*/

:root {
  --main-font: "citrus-gothic-rough", sans-serif;
  --black-light: #211d1d;
  --filet: rgba(255, 255, 255, 0.2);
  --bg-site: #1b1818;
  --header-height: 80px;
  --text-grey: #a69595;
  --btn: #473c3c;
  --red-bg: rgba(195, 73, 73, 0.264);
  --red-btn: #912828;
}

/* body:not(.home) .site-content {
  padding-top: var(--header-height);
} */

.site-content {
  padding-top: 0;
}

html {
  scroll-behavior: smooth;
}

/* Fix sticky Astra */
.site-main,
.ast-container,
.content-area {
  overflow: visible !important;
  z-index: 1;
}

.ast-row {
  margin: 4rem 2rem 0 !important;
}

#page {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "citrus-gothic-rough", sans-serif;
}

h1 {
  font-weight: 100;
}

h2 {
  font-weight: 100;
}

h3 {
  font-weight: 100;
}

h4,
h5,
h6 {
  font-weight: 100;
}

p {
  font-size: 1rem;
  color: #dfdfdf;
}

p strong {
  color: #ffffff; /* ta couleur */
}

.title-default {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  opacity: 0.85;
}

.btn-standard {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 0.3s ease-in-out;
}

.btn-standard:hover {
  background: var(--red-btn);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.081);
}

.btn--primary {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  color: #fff;
  background: var(--bg-site);
  text-decoration: none;
  transition: background 0.3s ease;
  margin: 0 auto;
}

.btn--primary:hover {
  background: var(--red-btn);
  color: #fff;
}

p a {
  text-decoration: none;
  border-bottom: 1px solid #ffffff41;
}

p a:hover {
  border-bottom: 1px solid #ffffff6a;
}

/* ======================================================
   MOBILE MENU – CONTACT BLOCK
====================================================== */

.ast-mobile-header-content
  .ast-builder-layout-element:not(.ast-builder-menu):not(
    .ast-header-divider-element
  ),
.ast-mobile-popup-content
  .ast-builder-layout-element:not(.ast-builder-menu):not(
    .ast-header-divider-element
  ) {
  background: #211d1d;
}

#ast-mobile-header .content-align-flex-start {
  max-height: 100vh !important;
}

.ast-header-break-point .mobile-menu-contact {
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ast-header-break-point .mobile-menu-contact .mobile-menu-title {
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #dccccc;
}

.ast-header-break-point .mobile-menu-contact p {
  margin: 0 0 0.8rem;
  color: #dccccc;
}

.ast-header-break-point .mobile-menu-contact a {
  text-decoration: none;
  font-weight: 500;
}

.ast-header-break-point .mobile-menu-contact .mobile-menu-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
}

.ast-header-break-point .mobile-menu-contact .mobile-menu-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 65px;
  height: 1px;
  background: var(--text-grey);
}

.ast-sticky-active .main-header-bar {
  min-height: 80px !important;
}

/* ======================================================
   MOBILE MENU – SOCIAL
====================================================== */

.ast-header-break-point .mobile-menu-social {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.ast-header-break-point .mobile-menu-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--text-grey);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.ast-header-break-point .mobile-menu-social a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.ast-mobile-popup-inner .mobile-menu-social svg {
  fill: #ffffff !important;
}

/* =========================
   Sections
========================= */

.agenda-section,
.spectacles-section {
  position: relative;
  color: #fff;
  padding: 6rem 4rem 5rem;
  margin: auto;
  max-width: 1600px;
  background-color: var(--bg-site);
}

.home-news {
  position: relative;
  color: #fff;
  padding: 6rem 4rem 4rem;
  margin: auto;
  max-width: 1600px;
  background-color: var(--bg-site);
}

.black-bg-alt {
  background-color: #211d1d;
}

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

.js-animate {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 1s ease,
    transform 1s ease;
}

.js-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

#masthead {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 100;
}

.site-content {
  padding: 0;
}

.home-hero {
  position: relative;

  overflow: hidden;
  background: #000;
}

.home-hero .swiper-pagination {
  position: absolute;
  bottom: 30px; /* ajuste */
  left: 0;
  width: 100%;
  z-index: 5;
}

.home-hero .swiper,
.home-hero .swiper-wrapper,
.home-hero .swiper-slide {
  height: 100%;
}

.swiper-pagination-bullet-active {
  background: #fff !important;
  opacity: 1;
}

.swiper-pagination-bullet {
  background: var(--text-grey);
  opacity: 1;
}

.home-hero .swiper-button-prev,
.home-hero .swiper-button-next {
  width: 50px;
  height: 50px;
  background: rgba(116, 98, 98, 0.311);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  transition: all 0.3s ease;
  display: none;
}

.home-hero .swiper-button-prev::after,
.home-hero .swiper-button-next::after {
  font-size: 18px;
  color: #fff;
}

.home-hero .swiper-button-prev:hover,
.home-hero .swiper-button-next:hover {
  background: var(--btn);
}

.home-hero.swiper-initialized .swiper-button-prev,
.home-hero.swiper-initialized .swiper-button-next {
  display: flex;
}

.home-hero .swiper-button-prev {
  left: 20px;
}

.home-hero .swiper-button-next {
  right: 20px;
}

@media (max-width: 768px) {
  .home-hero .swiper-button-prev,
  .home-hero .swiper-button-next {
    display: none;
  }
}
/* Image */
.home-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.home-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(160, 0, 0, 0) 0%,
    rgba(160, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

/* Contenu */
.home-hero__content {
  position: relative;
  z-index: 3;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 8rem;
  color: #fff;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

.home-hero__slide:hover .home-hero__content {
  transform: translateY(-10px);
}

/* Wrapper scoped */
.home-hero .wrapper {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 3rem;
  min-height: 87vh;
}

.home-hero__link-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
}

/* Typo */
.home-hero__title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.home-hero__subtitle {
  font-size: 1.2rem;
  max-width: 520px;
  margin-bottom: 1.5rem;
}

.home-hero__meta-content p {
  padding: 0;
  margin: 0 !important;
  font-family: var(--main-font);
  color: white;
  letter-spacing: 2px;
  white-space: normal;
  word-break: break-word;
}

.home-hero__meta {
  font-size: 0.9rem;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #fff;
}

.home-hero__meta-icon {
  display: flex;
  align-items: center;
  min-width: 50px;
}

.home-hero__meta-icon img {
  width: 100px !important;
  height: auto;
  display: block;
}

.home-hero__meta-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  white-space: nowrap;
}

.home-hero__meta-date {
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1rem;
}

.home-hero__place {
  width: 100%;
}

.home-hero__place span {
  font-size: 15px;
}

.home-hero__meta-separator {
  opacity: 0.6;
}

.home-hero__meta-place {
  opacity: 0.85;
}

.home-hero__separateur {
  border: #fff solid 1px;
  height: 100px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .home-hero .wrapper {
    padding-inline: 2rem;
  }
  .home-hero__place span {
    font-size: 14px;
    white-space: normal;
  }
  .home-hero__meta-content {
    gap: 0.25rem;
  }
}

/* Scroll */

.home-hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    border-color 0.3s ease;
  z-index: 5;
}

.home-hero__scroll:hover {
  opacity: 1;
  border-color: #fff;
}

.home-hero__scroll-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.home-hero__scroll {
  animation: scrollHint 2.2s ease-in-out infinite;
}

@keyframes scrollHint {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 6px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}

/* =========================
   Fil d'ariane
========================= */
.breadcrumb {
  max-width: 1200px;
  margin: 1.5rem auto 2rem;
  font-size: 0.85rem;
  color: var(--text-grey);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumb-list li::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumb-list li:last-child::after {
  content: "";
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: 0.2s ease-in-out;
}

.breadcrumb a:hover {
  color: #fff; /* ou une couleur accent */
}

.breadcrumb-alt {
  padding: 0 2rem;
}

/* =========================
   REASSURANCE SECTION
========================= */

.reassurance {
  position: relative;
  padding: 6rem 0;
  color: #fff;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.reassurance::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.reassurance > .wrapper {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  max-width: 1300px;
  margin: auto;
}

.reassurance-intro {
  font-family: var(--main-font);
  text-align: center;
  font-size: 2rem;
  margin: 4rem;
  letter-spacing: 0.04em;
  color: white;
}
.reassurance-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.reassurance-item {
  text-align: center;
}

.reassurance-item-title-1,
.reassurance-item-title-2,
.reassurance-item-title-3 {
  height: 170px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  font-family: "citrus-gothic-rough", sans-serif;
  line-height: 1rem;
  color: inherit;
}

.reassurance-item-title-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/compagnie.png") no-repeat center;
  background-size: 180px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.reassurance-item-title-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/picto-chapelle.png") no-repeat center;
  background-size: 180px;
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
}

.reassurance-item-title-3::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/transmission.png") no-repeat center;
  background-size: 180px;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
  transform: translateZ(0);
}

.main-title-reassurance {
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 3.5em;
  transition: 0.3s ease-in-out;
}

.main-title-reassurance-bis {
  margin: 0;
  position: relative;
  z-index: 1;
  font-size: 1.8em;
  transition: 0.3s ease-in-out;
}

.second-title-reassurance {
  font-size: 2em;
  transition: 0.3s ease-in-out;
}

.reassurance-item--main .reassurance-item-title {
  font-size: 2.2rem;
}

.reassurance-bloc-center {
  color: white;
  transition: transform 0.3s ease;
}

.reassurance-bloc-center:hover {
  transform: translateY(-4px);
}

.reassurance-item p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: white;
}

.reassurance-txt {
  text-align: center;
  margin-top: 2rem;
  color: white;
}

@media (max-width: 900px) {
  .reassurance-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .reassurance-item--main .reassurance-item-title {
    font-size: 1.8rem;
  }

  .reassurance-intro {
    font-size: 1.7rem;
  }
}

@media (max-width: 768px) {
  .reassurance-intro {
    font-size: 1.2rem;
    margin: 2rem 0rem;
  }
  .main-title-reassurance,
  .second-title-reassurance {
    font-size: 2rem;
  }
}

/* =========================
   TITLE section
========================= */

.title-section {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 1.5rem;
}

.title-section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--filet);
}
.title-section::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease;
}

.is-visible.title-section::after {
  transform: scaleX(1);
}

.title-section__title,
.title-section__title-page {
  position: relative;
  margin: 0 0 2rem;
  white-space: nowrap;
  font-family: "citrus-gothic-rough", sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  color: #fff;
  z-index: 1;
}

.title-section__title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 120px;
  height: 120px;
  background-image: url("/wp-content/themes/dersa3/assets/images/Lennu.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  left: 20%;
  opacity: 0.2;
  z-index: -1;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ===========================================
   TITLE SECTION – PAGE
   =========================================== */

.title-filet {
  display: flex;
  align-items: center; /* 🔴 CENTRAGE PARFAIT */
  gap: 1.5rem;
  width: 100%;
}

.title-filet__title {
  margin: 0;
  font-family: var(--main-font);
  font-size: 2.4rem;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.title-filet__line {
  flex: 1;
  height: 1px;
  background: var(--filet);
}

/* =========================
   COMPAgnie SECTIONS
========================= */

.company-sections {
  background: #211d1d;
  color: #fff;
}

.company-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.company-block__media {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.company-block:last-child {
  margin-bottom: 0;
}

.company-block--reverse {
  direction: rtl;
}

.company-block--reverse > * {
  direction: ltr;
}

.company-block__title {
  font-family: "citrus-gothic-rough", sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.company-block__content {
  position: relative;
  margin: 4rem;
  z-index: 1;
}

.company-block__content::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--company-bg);
  background-repeat: no-repeat;
  background-size: 35%;
  background-position: center;
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .company-block__content::before {
    background-size: 25%;
  }
  .company-block__content {
    margin: 2rem;
  }
}

@media (max-width: 768px) {
  .company-block__content::before {
    background-size: 40%;
  }
  .company-block__content {
    margin: 4rem 1rem;
  }
  .title-section__title,
  .title-section__title-page {
    position: relative;
    margin: 0 0 2rem;
    white-space: nowrap;
    font-family: "citrus-gothic-rough", sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    color: #fff;
    z-index: 1;
  }

  .title-section__title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 80px;
    background-image: url("/wp-content/themes/dersa3/assets/images/Lennu.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 20%;
    opacity: 0.2;
    z-index: -1;
    transform: translateY(-50%);
    pointer-events: none;
  }
}

.company-block__text {
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.company-block__media {
  position: relative;
  overflow: hidden;
}

.company-block__media img {
  width: 100%;
  height: 100%;
  display: block;
  max-height: 700px;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .company-block {
    grid-template-columns: 1fr;
  }

  .company-block--reverse {
    direction: ltr;
  }

  .company-block__text {
    max-width: 100%;
  }
}

/* =========================
   VIDEO SECTION
========================= */

.video-section {
  width: 100%;
  background: #000;
}
.video-section__ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-section__ratio {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ast-oembed-container {
  width: 100%;
  height: 0 !important;
  margin-bottom: 1.75em;
}

.video-placeholder {
  position: relative;
  padding-bottom: 56.25%;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.video-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
}

.video-play::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 22px;
  border-left: 20px solid white;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

/* =========================
   HOME NEWS
========================= */

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 4rem;
}

.news-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 2rem;
}

.news-card__content {
  padding: 2rem 0 0;
}

.news-card__link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.news-card__media {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.news-card__media img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}

.news-card__title {
  font-family: "citrus-gothic-rough", sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.news-card__date {
  display: block;
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.news-card__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

.news-card__arrow {
  font-size: 1.4rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.news-card__link:hover .news-card__arrow {
  transform: translateX(6px);
}

.spectacles-section__more,
.home-news__more {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0 0;
}

@media (max-width: 900px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .home-news {
    color: #fff;
    padding: 6rem 1rem;
    margin: auto;
    max-width: 1600px;
  }
}

/* === FOOTER TOP STRUCTURE === */
.ast-custom-footer {
  background: var(--black-light);
}

.footer-top-inner {
  display: grid;
  grid-template-columns: 0.5fr 0.8fr 0.8fr 1.7fr;
  gap: 30px;
  align-items: start;
  padding: 3rem 3rem;
}

.footer-col {
  text-align: left;
}

/* === LOGO === */
.footer-logo img {
  max-width: 160px;
}

/* === TITRES === */
.footer-top-inner h4 {
  position: relative;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.footer-top-inner h4::after {
  content: "";
  display: block;
  width: 100px;
  height: 1px;
  background-color: currentColor;
  margin-top: 25px;
}

/* === PARTENAIRES === */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.partners-grid img {
  max-height: 70px;
  opacity: 0.9;
}

.footer-legal {
  font-size: 13px;
  opacity: 0.7;
  max-width: 900px;
  margin: 20px auto 0;
  text-align: center;
}

.footer-follow p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.5rem 0.6rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  font-size: 0.85rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  padding: 0.5rem 0.8rem;
  background: #fff;
  color: #000;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.newsletter-form button:hover {
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;

  transition: all 0.25s ease;
}

.social svg {
  width: 18px;
  height: 18px;
}

/* hover propre */
.social:hover {
  background: white;
  color: black;
  transform: translateY(-2px);
}

.footer-socials {
  display: flex;
  gap: 1.2rem;
}

.footer-socials a {
  width: 20px;
  height: 20px;
  color: #fff;
  opacity: 0.7;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.footer-bottom {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
  text-align: center;
}

.footer-bottom__line {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 1.5rem;
}

.footer-menu {
  padding: 0px 0px 40px;
}

.footer-menu-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-list li a {
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-menu-list li a:hover {
  opacity: 1;
}

.footer-menu-list li {
  position: relative;
}

.footer-menu-list li + li::before {
  content: "|";
  margin: 0 15px;
  opacity: 0.4;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .footer-top-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 3rem 1rem;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .partners-grid img {
    max-height: 60px;
  }
  .footer-menu-inner {
    margin: 0 1rem;
  }
}

/* === SECTION AGENDA === */

/* === HEADER === */
.agenda-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
}

@media (max-width: 900px) {
  .agenda-section {
    padding: 6rem 1rem 8rem;
  }
}

.agenda-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/wp-content/themes/dersa3/assets/images/bastringue.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30%;
  opacity: 0.1;
  z-index: 0;
  pointer-events: none;
}

/* .agenda-section::after {
  content: "";
  position: absolute;
  bottom: 0%;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/dersa3/assets/images/splashs.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 1;
  z-index: 1;
  pointer-events: none;
} */

.agenda-section > * {
  position: relative;
  z-index: 1;
}

.agenda-title {
  font-size: 3rem;
  text-transform: uppercase;
  margin: 0;
}

.agenda-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
}

/* === GRID === */
.agenda-grid {
  margin-top: 4rem;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
}

/* ligne centrale */
.agenda-grid::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-0.5px);
  pointer-events: none;
}

/* === COLONNES === */

.agenda-column {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 8rem;
  row-gap: 3rem;
}

/* === ITEM === */
.agenda-item {
  display: flex;

  flex-direction: column;
  gap: 1rem;
  position: relative;
  padding-left: 0;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}
.agenda-item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.agenda-item:hover {
  transform: translateX(6px);
}

.agenda-item:hover::before {
  opacity: 1;
}

.agenda-date {
  font-size: 1.2rem;
  opacity: 0.9;
  text-transform: uppercase;
  font-weight: bold;
}

.agenda-date-spec {
  color: var(--text-grey);
}

/* contenu */
.agenda-item__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.agenda-icon {
  width: 42px;
  height: auto;
  flex-shrink: 0;
}

.agenda-name {
  margin: 0;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.agenda-item p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.7;
}

.agenda-item span {
  opacity: 0.8;
}

.agenda-month-title {
  grid-column: 1 / -1;
  margin-top: 60px;
  margin-bottom: 20px;
}

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

  .agenda-column {
    grid-auto-flow: row;
    column-gap: 0;
  }

  .agenda-center-line {
    display: none;
  }

  .agenda-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .agenda-section::before {
    background-size: 70%;
  }

  .agenda-section::after {
    width: 250px;
    height: 250px;
    top: auto;
    bottom: 0;
    right: -20%;
    opacity: 0.15;
  }
}

/* === SECTION SPECTACLES === */

.spectacles-grid-wrapper {
  display: flex;
  justify-content: center;
}

.spectacles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 400px));
  gap: 3rem;
  margin: 4rem auto;

  width: 100%;
  max-width: 1320px; /* 3 x 400 + gaps */
}

@media (max-width: 1430px) {
  .spectacles-grid {
    gap: 1rem;
    justify-content: center;
  }
}

@media (max-width: 1025px) {
  .spectacles-grid {
    justify-content: center;
    gap: 2rem;
  }
}

/* images propres */
.spectacles-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.spectacle-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 400px;
  min-height: 533px;
}
.spectacle-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  text-indent: -9999px;
}

.spectacle-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.spectacle-item img {
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

.spectacle-item:hover img {
  transform: scale(1.05);
  opacity: 0.85;
}

.spectacle-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  background: rgba(195, 73, 73, 0.264);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.spectacle-title-card {
  position: absolute;
  margin: 0;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  letter-spacing: 0.04em;
  padding: 0 0 2rem;
  z-index: 3;
}

.spectacle-overlay .spectacle-picto {
  width: 100px;
  height: auto;
  opacity: 0;
  transform: translateY(15px);
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.spectacle-item:hover img {
  transform: scale(1.05);
}

.spectacle-item:hover .spectacle-overlay {
  opacity: 1;
}

.spectacle-item:hover .spectacle-picto {
  opacity: 1;
  transform: translateY(0);
}

.spectacle-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 30%,
    rgba(0, 0, 0, 0.1) 55%,
    rgba(0, 0, 0, 0) 70%
  );
}

.spectacle-intro {
  max-width: 900px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.spectacle-intro--sur-mesure {
  padding-left: 20px;
  border-left: 3px solid currentColor;
}

/* ==========================
   Fondu archive spectacle
========================== */

.post-type-archive-spectacle .archive-spectacle-content {
  transition: opacity 0.15s ease;
  opacity: 1;
}

.post-type-archive-spectacle .archive-spectacle-content.is-loading {
  opacity: 0;
}

.post-type-archive-spectacle .archive-spectacle-content .spectacle-item {
  opacity: 0;
  transform: translateY(8px);
  animation: spectacleFadeIn 0.35s ease-out forwards;
}

@keyframes spectacleFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .post-type-archive-spectacle .archive-spectacle-content,
  .post-type-archive-spectacle .archive-spectacle-content.is-loading,
  .post-type-archive-spectacle .archive-spectacle-content .spectacle-item {
    transition: none;
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.archive-spectacle-content.is-loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.no-result {
  text-align: center;
  padding: 4rem;
  opacity: 0.6;
}

@media (max-width: 900px) {
  .spectacles-section {
    color: #fff;
    padding: 6rem 1rem;
    margin: auto;
    max-width: 1600px;
  }

  .spectacle-item {
    width: 100%;
    height: 100%;
  }
}

.archive-spectacle-content {
  will-change: contents;
}

.archive-spectacle-content.is-loading {
  pointer-events: none;
  opacity: 0.4;
}

/* ==== Réassurance 2 ==== */

.reassurance-section {
  display: flex;
  flex-direction: column;
  position: relative;
  color: #fff;
  padding: 6rem 4rem 8rem;
  margin: auto;
  max-width: 1600px;
  background-size: cover;

  background-repeat: no-repeat;
  background-position: center;
}

.reassurance-soustitre {
  font-family: "citrus-gothic-rough", sans-serif;
  font-size: 2rem;
}

.reassurance-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4rem;
  gap: 5rem;
  text-align: center;
}
.reassurance-section .wrapper {
  position: relative;
  z-index: 1;
}

.reassurance-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.83) 50%,
    rgba(0, 0, 0, 0.99) 100%
  );
  opacity: 45%;
}

.reassurance-number {
  font-family: "citrus-gothic-rough", sans-serif;
  color: #fff;
  display: block;
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.reassurance-text {
  font-family: "citrus-gothic-rough", sans-serif;
  font-size: 1.3rem !important;
  line-height: 1.5;
  opacity: 0.95;
  margin: 0;
}

.reassurance-text span {
  font-size: 0.95rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .reassurance-number {
    font-size: 3rem;
  }
  .reassurance-section {
    padding: 6rem 2rem 8rem;
  }
  .reassurance-soustitre {
    font-size: 2rem;
  }
}

/* =========================
   CHAPELLE BLOCS
========================= */

.home-links-section {
  padding: 4rem 4rem;
  background: var(--black-light);
}

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

.home-link-card {
  display: block;
  color: #fff;
  text-decoration: none;
}

.home-link-card__media {
  position: relative;
  overflow: hidden;
}

.home-link-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.home-link-card:hover .home-link-card__media::after {
  background: rgba(195, 73, 73, 0.264);
}

.home-link-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-link-card__content {
  padding-top: 1.5rem;
}

.home-link-card h3 {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  font-size: 1.1rem;
}

.home-link-card p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  opacity: 0.75;
}

.home-link-card__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.home-link-card:hover img {
  transform: scale(1.05);
}

.home-link-card:hover .home-link-card__arrow {
  transform: translateX(6px);
}

.home-cta-block {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 6rem;
  padding: 5rem 2rem;
  text-align: center;
  min-height: 500px;
  background-image: url("/wp-content/themes/dersa3/assets/images/cta-chapelle.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.home-cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.3)
  );
  z-index: 0;
}

.home-cta-block > * {
  position: relative;
  z-index: 1;
}

.home-cta-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5); /* 50 % */
  padding: 3rem 4rem;
  max-width: 720px;
  width: 100%;
  text-align: center;
  color: #000;
}
.home-cta-box h3 {
  color: #000;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.home-cta-box p {
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #000;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.home-cta-box p strong {
  color: #1e1d1d;
}

@media (max-width: 768px) {
  .home-links-section {
    padding: 4rem 2rem;
    background: var(--bg-site);
  }

  .home-cta-block {
    padding: 3.5rem 1.5rem;
  }

  .home-cta-block::before {
    background: rgba(0, 0, 0, 0.55);
  }
}

@media (max-width: 900px) {
  .home-links-grid {
    grid-template-columns: 1fr;
  }

  .home-cta-block {
    padding: 3rem 1.5rem;
  }
}

.page-hero {
  position: relative;
  min-height: clamp(360px, 50vh, 600px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
}
.page-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.page-hero__title {
  margin: 0 0 1rem;
  text-transform: uppercase;
}

.page-hero__excerpt {
  max-width: 640px;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}
.page-content {
  padding: 1rem 0;
  background-color: var(--black-light);
}

/* ================== Page Spectacles ===================*/

.archive-spectacle-content {
  background: var(--black-light);
  padding: 4rem;
}

/* ===========================================
   Filtre spectacles
   =========================================== */

.spectacle-states {
  max-width: 1200px;
  margin: 2rem auto 1rem;
  text-align: center;
}

.spectacle-states__list {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.spectacle-states__item {
  position: relative;
  color: #6f6f6f;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.spectacle-states__item a.is-active {
  color: #ffffff;
}

.spectacle-states__item a:hover {
  color: #ffffff;
}

.spectacle-states__item a {
  font-family: "citrus-gothic-rough", sans-serif;
  font-size: 2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-grey);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.spectacle-states__item a:hover {
  opacity: 1;
}

.spectacle-states__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1.4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 1.6rem;
  background-color: #fff;
}

@media (max-width: 768px) {
  .spectacle-states__item a {
    font-size: 1rem;
  }

  .archive-spectacle-content {
    background: var(--black-light);
    padding: 2rem;
  }

  .spectacle-states__list {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .spectacle-states__item:not(:last-child)::after {
    right: -7px;
  }
}

/* ===========================================
   FILTRES ARCHIVE SPECTACLES
   =========================================== */
/* ==========================
   Facettes – base
========================== */

.spectacle-facets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
  padding-top: 20px;
}

.facet {
  position: relative;
}

/* Bouton */
.facet-trigger {
  width: 100%;
  height: 55px;
  /* display: flex; */
  /* flex-direction: row; */
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  text-align: left;
}

.facet-label {
  position: absolute;
  left: 30px;
  top: -10px;
  font-size: 0.9rem;
  color: var(--text-grey);
  letter-spacing: 0.08em;
  opacity: 1;
  background: var(--black-light);
  padding: 0 10px;
}

.facet-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 1rem;

  font-size: 0.9rem;
  font-weight: 500;
}

.facet-icon {
  position: absolute;
  margin-left: auto;
  font-size: 0.75rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
  right: 10px;
  bottom: 20px;
}

/* Menu */
.facet-menu {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 6px);

  background: var(--black-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
  margin: 0;
  padding: 6px 0;

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all 0.2s ease;
  z-index: 10;
}

.facet.is-open .facet-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Options */
.facet-option {
  width: 100%;
  background: none;
  border: 0;
  padding: 10px 16px;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.facet-option:hover,
.facet-option.is-active {
  background: rgba(255, 255, 255, 0.08);
}

.facet-option:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.facet-trigger:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.facet-trigger:focus-visible {
  outline: none;
  border-color: white;
}

@media (max-width: 768px) {
  .spectacle-facets {
    margin: 0 2rem;
  }
}

/* ===========================================
   FILTRES SELECT
   =========================================== */
.filter-bis {
  display: flex;
  max-width: 700px;
  margin: auto;
  justify-content: space-around;
  flex-wrap: wrap;
}

.filter-group {
  position: relative;
  width: 320px;
  margin-top: 2rem;
}

.filter-label {
  position: absolute;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--text-grey);
  top: -12px;
  background-color: var(--black-light);
  padding: 0 10px;
  margin: 0 20px;
}

.filter-trigger {
  width: 100%;
  padding: 0.9rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-trigger:focus {
  outline: none;
  border-color: #fff;
}

.filter-icon {
  opacity: 0.6;
  font-size: 0.8rem;
}

/* Dropdown */
button:hover {
  background: var(--black-light);
}

.filter-dropdown {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  right: 0;
  background: #1b1818;
  border: 1px solid rgba(255, 255, 255, 0.15);
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  display: none;
  z-index: 20;
}

.filter-group.is-open .filter-dropdown {
  display: block;
}

.filter-option {
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: #fff;
  font-size: 0.9rem;
}

.filter-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

.filter-option.is-active {
  opacity: 0.6;
  pointer-events: none;
}

.filter-option .count {
  opacity: 0.5;
}

.agenda-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 1rem 2rem 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

.archive-agenda-content {
  background: var(--black-light);
  padding: 4rem;
  width: 100%;
}

.agenda-column-page {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}

.agenda-pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 40px;
}

.agenda-pagination a {
  padding: 6px 12px;
  opacity: 0.6;
}

.agenda-pagination a.is-active {
  font-weight: bold;
  opacity: 0.8;
}

.agenda-filter {
  margin-bottom: 30px;
}

.agenda-filter select {
  padding: 8px 12px;
  font-size: 14px;
}

.agenda-wrapper {
  position: relative;
  overflow: hidden;
}

.agenda-toggle {
  margin: 1.5rem 0;
}

.agenda-toggle__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-weight: 500;
}

.agenda-toggle__input {
  accent-color: currentColor;
  cursor: pointer;
}

.agenda-toggle__text {
  color: #989494;
}

.agenda-wrapper > * {
  position: relative;
}

@media (max-width: 768px) {
  .agenda-wrapper::before {
    background-size: 300px auto;
    opacity: 0.08;
  }
  .agenda-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* === GRILLE === */
.equipe-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 2rem 0;
}

.equipe-item {
  width: 320px;
}
/* === LIEN === */
.equipe-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

/* === THUMB CARRÉ === */
.equipe-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

/* fallback si aspect-ratio pas supporté */
@supports not (aspect-ratio: 1 / 1) {
  .equipe-thumb::before {
    content: "";
    display: block;
    padding-top: 100%;
  }
}

/* === IMAGE === */
.equipe-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.4s ease,
    filter 0.4s ease;
}

.equipe-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 30%,
    rgba(0, 0, 0, 0.1) 55%,
    rgba(0, 0, 0, 0) 70%
  );
}

/* === OVERLAY === */
.equipe-overlay {
  position: absolute;
  inset: 0;
  background: var(--red-bg);
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* === TEXTE === */
.equipe-meta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: #fff;
  z-index: 2;
}

.equipe-name {
  font-size: 2rem;
  margin: 0;
}

.equipe-poste {
  font-size: 0.85rem;

  transform: translateY(8px);
  transition: transform 0.5s ease;
}

/* === HOVER / FOCUS === */
.equipe-link:hover img,
.equipe-link:focus-visible img {
  transform: scale(1.03);
  filter: grayscale(30%);
}

.equipe-link:hover .equipe-overlay,
.equipe-link:focus-visible .equipe-overlay {
  opacity: 1;
}

.equipe-link:hover .equipe-poste,
.equipe-link:focus-visible .equipe-poste {
  opacity: 1;
  transform: translateY(0);
}

.equipe-single {
  max-width: 900px;
  margin: 0 auto !important;
}

.equipe-single__poste {
  font-family: var(--main-font);
  font-size: 2rem;
  margin-bottom: 2rem;
  color: white;
}

.equipe-single__content {
  line-height: 1.7;
}

.equipe-single__content p {
  margin-bottom: 1.4rem;
}

.hero-equipe {
  display: block;
  background-color: var(--black-light);
}

.equipe-layout {
  display: block;
}

.header-equipe {
  background: var(--black-light);
}

.header-equipe-inner {
  position: relative;
  margin: 0 auto;
  max-width: 900px;
  overflow: hidden;
  height: 600px;
}

.equipe-photo {
  width: 100%;
  height: 100%;
}

.equipe-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.equipe-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.75) 100%
  );
  pointer-events: none;
}

.equipe-nom {
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
  z-index: 2;
}

/* desktop */

@media (min-width: 1024px) {
  .hero-equipe {
    display: none;
  }
}

@media (max-width: 1024px) {
  .header-equipe-inner {
    display: none;
  }
}

/*==============================
GALERIE PAGE STADARD
================================*/
/* GALERIE PAGE */

.page-galerie-section {
  margin: 4rem 0;
}

.page-galerie {
  column-count: 2;
  column-gap: 1rem;
  margin: 3rem 0 0;
}

@media (min-width: 768px) {
  .page-galerie {
    column-count: 2;
  }
}

.page-galerie-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* Image */
.page-galerie-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

/* Voile sombre */
.page-galerie-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(195, 73, 73, 0.264);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Hover / focus */
.page-galerie-item:hover img,
.page-galerie-item:focus-within img {
  transform: scale(1.06);
}

.page-galerie-item:hover::after,
.page-galerie-item:focus-within::after {
  opacity: 1;
}

/* FOOBOX */

.fbx-rounded .fbx-inner {
  border-radius: 0px !important;
  border: none !important;
}

.fbx-prev,
.fbx-next {
  background: none !important;
  box-shadow: none !important;
}

/*==============================
Pages CHAPELLE
================================*/

.chapelle-navigation {
  margin: 4rem 0;
}

.chapelle-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.chapelle-card {
  position: relative;
  display: block;
  min-height: 220px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.chapelle-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.chapelle-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.4s ease;
}

.chapelle-card-title {
  font-family: var(--main-font);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 1.4rem;
  letter-spacing: 2px;
  text-align: center;
  padding: 1rem;
  color: white;
}

.chapelle-card:hover .chapelle-card-bg {
  transform: scale(1.05);
}

.chapelle-card:hover::after {
  background: rgba(0, 0, 0, 0.55);
}

.chapelle-cta {
  background: #0f3b4c;
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
}

.chapelle-cta h2 {
  margin-bottom: 1rem;
}

.chapelle-cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* ======================================================
   CHAPELLE – LAYOUT 2 COLONNES
====================================================== */

.page-chapelle-bis .bloc-page-content {
  margin-top: 3rem;
}

/* Layout principal */
.chapelle-layout {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  width: 100%;
}

/* ======================================================
   SIDEBAR
====================================================== */

.chapelle-sidebar {
  width: 240px;
  flex: 0 0 240px;
  max-width: 240px;
  position: sticky;
  top: 120px;
}

.chapelle-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chapelle-nav li {
  margin-bottom: 0.75rem;
}

.chapelle-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.chapelle-nav a:hover {
  opacity: 1;
}

.chapelle-nav .is-active a {
  opacity: 1;
  font-weight: 600;
}

/* ======================================================
   CONTENU
====================================================== */

.chapelle-layout .col-text {
  flex: 1 1 auto;
  min-width: 0; /* Important pour flex */
  max-width: 900px;
  border-left: 1px solid var(--filet);
  padding-left: 3rem;
}

/* ======================================================
   CARTES NAVIGATION BAS DE PAGE
====================================================== */

.chapelle-navigation {
  margin: 5rem 0 3rem;
}

.chapelle-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.chapelle-card {
  position: relative;
  display: block;
  min-height: 220px;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.chapelle-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

.chapelle-card::after {
  content: "";
  position: absolute;
  inset: 0;
  transition: background 0.4s ease;
}

.chapelle-card:hover .chapelle-card-bg {
  transform: scale(1.05);
}

.chapelle-card:hover::after {
  background: rgba(195, 73, 73, 0.264);
}

/* ======================================================
   CTA
====================================================== */

.page-chapelle-bis .home-cta-block {
  margin-top: 5rem;
}

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

@media (max-width: 1024px) {
  /* Layout passe en colonne */
  .chapelle-layout {
    flex-direction: column;
    gap: 2rem;
  }

  /* Sidebar devient bloc normal */
  .chapelle-sidebar {
    width: 100%;
    max-width: 100%;
    flex: none;
    position: relative;
    top: auto;
    padding-right: 0;
    border-bottom: 1px solid var(--filet);
    padding-bottom: 2rem;
  }

  /* Nav avec retour à la ligne naturel */
  .chapelle-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
  }

  .chapelle-nav li {
    margin-bottom: 0;
  }

  .chapelle-nav a {
    white-space: normal;
  }

  /* Suppression filet vertical */
  .chapelle-layout .col-text {
    border-left: none;
    padding-left: 0;
    max-width: 100%;
    width: 100%;
  }

  /* Cartes en 1 colonne */
  .chapelle-cards {
    grid-template-columns: 1fr;
  }

  .chapelle-navigation {
    margin: 4rem 0 2rem;
  }

  .page-chapelle-bis .home-cta-block {
    margin-top: 4rem;
  }
}

/*blog*/

.article-wrapper {
  max-width: 800px;
  margin: 0 auto !important;
  padding: 2rem;
}

.article-meta {
  font-size: 14px;
  opacity: 0.6;
  margin-bottom: 50px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article-content p {
  margin-bottom: 1.6em;
  line-height: 1.8;
}

.article-content h2,
.article-content h3 {
  margin-top: 3em;
  margin-bottom: 1em;
}

.article-content img {
  margin: 60px 0;
}

.article-content blockquote {
  margin: 80px 0;
  font-size: 1.3em;
  line-height: 1.6;
  border-left: 2px solid currentColor;
  padding-left: 30px;
}

.article-content h3 {
  display: flex;
  align-items: center;
  gap: 30px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1rem;
  text-align: center;
  margin: 100px 0 60px;
}

.article-content h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d8d8d8; /* couleur du filet */
}

.archive-actus {
  background: var(--black-light);
  color: #ffffff;
  padding-bottom: 120px;
}

.actus-container {
  max-width: 1200px;
  margin: 0 auto;
}

.actus-item {
  padding: 80px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.resid-item {
  padding: 30px 0;
}

.ast-page-builder-template .ast-article-post {
  margin-bottom: 0px !important;
}

.residence-list .actus-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.actus-item__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.actus-item__title {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.actus-item__title a {
  color: inherit;
  text-decoration: none;
}

.actus-item__meta {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.actus-item__excerpt {
  margin-bottom: 30px;
  line-height: 1.7;
  opacity: 0.85;
}

.actus-item__button {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 10px 18px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.actus-item__button:hover {
  background: #ffffff;
  color: #000000;
}

.actus-item__image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.actus-item__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(195, 73, 73, 0.264);
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.actus-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.3s ease;
  display: block;
}

.actus-item__grid:hover .actus-item__image img {
  transform: scale(1.02);
  transition: 0.3s ease-in-out;
}

.actus-item__grid:hover .actus-item__image::after {
  opacity: 1;
}

@media (max-width: 900px) {
  .actus-item__grid {
    grid-template-columns: 1fr;
  }
  .actus-container {
    padding: 0 2rem;
  }
}

/* RESSOURCES */

.ressource-grid {
  display: flex;
  flex-direction: column;
}

.ressource-bloc {
  padding-top: 2rem;
}

.ressource-bloc-title {
  color: var(--text-grey);
  letter-spacing: 2px;
}

.ressource-category {
  margin: 0 0 4rem;
}

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

.ressource-item {
  margin-bottom: 0.5rem;
}

.ressource-link {
  display: inline-block;
}

/*Partenaires*/
.partenaires-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
}

.partenaires-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partenaires-nav li {
  margin-bottom: 10px;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 40px;
  align-items: center;
}

.logo-item img {
  max-width: 100%;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: 0.3s;
}

.logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/*PARTENAIRES*/

.partenaires-wrapper {
  margin-top: 60px;
}

.partenaires-categorie {
  margin-top: 80px;
}

.partenaires-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.partenaire-card {
  text-align: center;
}

.partenaire-logo img {
  width: 100%;
  max-height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partenaire-card:hover .partenaire-logo img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.partenaire-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.partenaire-text {
  font-size: 0.9rem;
  line-height: 1.5;
}

.categorie-description {
  margin: 2rem 0;
}

.residence-dates-label {
  font-size: 1.1rem;
  color: white !important;
}

.agenda-season-switch {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.agenda-season-item {
  text-decoration: none;
  color: var(--text-grey);
  font-weight: 500;
  font-size: 2rem;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  font-family: var(--main-font);
}

.agenda-season-item.is-active {
  color: #fff;
  border-color: var(--text-grey);
}

.agenda-season-item:hover {
  color: #fff;
}
