/* ============================================================
   CAPA ARTICLE & RUBRIQUE — Kerzerho
   Pages internes : conteneur texte, chapo, portfolio, widget
   Couleur primaire : #0f527d | Accent : #e1d9d0
   ============================================================ */

/* === Slider interne (position ajustée) === */
#slider {
  display: flex;
  justify-content: flex-end;
  background: transparent;
  position: relative;
  top: -65px;
}


/* ============================================================
   HERO PAGE — Bannière haut de page articles
   Style slider Tarn avec image + titre + sous-titre
   ============================================================ */

.hero-page {
  position: relative;
  width: 100%;
  height: 55vh;
  min-height: 350px;
  max-height: 550px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0f527d;
  scroll-margin-top: 90px;
}

/* Positions image */
.hero-pos-top    { background-position: top center; }
.hero-pos-center { background-position: center center; }
.hero-pos-bottom { background-position: bottom center; }

/* Effet Ken Burns zoom lent */
@keyframes heroZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.hero-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: inherit;
  background-position: inherit;
  background-repeat: inherit;
  animation: heroZoom 8s ease-out forwards;
  z-index: 0;
}

/* Scrim haut pour lisibilité de la navigation */
.hero-page::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(to bottom, rgba(10, 58, 90, 0.8) 0%, rgba(10, 58, 90, 0.35) 50%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Overlay (conservé pour z-index structure, gradient retiré) */
.hero-page-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Scrim bas pour fondu élégant vers le contenu */
.hero-page-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(to top, rgba(10, 58, 90, 0.8) 0%, rgba(10, 58, 90, 0.35) 50%, transparent 100%);
  pointer-events: none;
}

/* ============================================================
   SEARCH ENGINE — Style commun (hero + modale)
   ============================================================ */

/* Widget recherche superposé au bas du hero */
.hero-search-widget {
  position: relative;
  z-index: 10;
  width: 1300px;
  max-width: 94%;
  margin: -40px auto 40px;
}

/* Bloc monolithique blanc — aucun padding, aucune bordure extérieure */
.hero-search-widget thr-search-engine {
  display: block !important;
  background: #fff !important;
  box-shadow: 0 4px 24px rgba(10, 58, 90, 0.10) !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
}

/* Reset tous les conteneurs intermédiaires du widget */
.hero-search-widget .thr-search-engine-multi,
.hero-search-widget .thr-search-engine-main {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.hero-search-widget .thr-search-engine-main > * {
  margin-bottom: 0 !important;
}

/* Barre : une seule ligne flex, collée, pleine hauteur */
.hero-search-widget .thr-search-engine-main-full {
  display: flex !important;
  flex-wrap: nowrap !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 0 !important;
  align-items: stretch !important;
  min-height: 60px !important;
}

.hero-search-widget .thr-search-engine-multi .form-group {
  margin: 0 !important;
  padding: 0 !important;
}

.hero-search-widget .thr-search-engine .thr-search-engine-main > .thr-search-engine-dates,
.hero-search-widget .thr-search-engine .thr-search-engine-main > .thr-search-engine-type,
.hero-search-widget .thr-search-engine .thr-search-engine-main > .thr-search-engine-pers {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

.hero-search-widget .thr-search-engine .thr-search-engine-main > .thr-btn-search {
  margin-bottom: 0 !important;
}

/* Chaque case : pleine, aucune marge, aucun border sauf le séparateur droit */
.hero-search-widget .thr-search-engine-main-full > * {
  flex: 1 1 0 !important;
  margin: 0 !important;
  padding: 14px 20px !important;
  border: none !important;
  border-right: 1px solid #e0ddd6 !important;
  border-radius: 0 !important;
  background: #fff !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* Dernier enfant (avant le bouton) : pas de border droit */
.hero-search-widget .thr-search-engine-main-full > *:last-child {
  border-right: none !important;
}

/* Bouton rechercher — bloc bleu plein, même hauteur que les cases */
.hero-search-widget .thr-search-engine-main-full > .thr-btn-search,
.hero-search-widget button.thr-btn-search {
  flex: 1 1 0 !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 100% !important;
  margin: 0 !important;
  background: #0f527d !important;
  color: #fff !important;
  border: none !important;
  border-right: none !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  font-family: "futura-pt", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 14px 40px !important;
  cursor: pointer !important;
  transition: background 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.hero-search-widget button.thr-btn-search:hover {
  background: #0a3a5a !important;
}

/* Labels */
.hero-search-widget label {
  font-family: "futura-pt", sans-serif !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #0f527d !important;
  margin-bottom: 4px !important;
}

/* Icônes */
.hero-search-widget .thr-range-picker i,
.hero-search-widget .thr-select-placeholder i {
  color: #0f527d !important;
}

.hero-search-widget .thr-range-picker span {
  color: #b5c8d8 !important;
}

/* Inputs / selects — transparents, le parent gère le fond */
.hero-search-widget select,
.hero-search-widget input {
  font-family: "futura-pt", sans-serif !important;
  font-size: 14px !important;
  color: #1a1a1a !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  box-shadow: none !important;
  outline: none !important;
}

/* --- Surcharges modale (search-panel) --- */
.search-shell thr-search-engine label {
  font-family: "futura-pt", sans-serif !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #0f527d !important;
}

.search-shell thr-search-engine .thr-range-picker i,
.search-shell thr-search-engine .thr-select-placeholder i {
  color: #0f527d !important;
}

.search-shell thr-search-engine .thr-range-picker span {
  color: #b5c8d8 !important;
}

.search-shell thr-search-engine select,
.search-shell thr-search-engine input {
  font-family: "futura-pt", sans-serif !important;
  font-size: 14px !important;
  color: #1a1a1a !important;
  border-radius: 0 !important;
}

.search-shell thr-search-engine select:focus,
.search-shell thr-search-engine input:focus {
  outline: none !important;
  border-color: #0f527d !important;
}

.search-shell thr-search-engine button.thr-btn-search {
  background: #0f527d !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  font-family: "futura-pt", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  padding: 14px 36px !important;
  cursor: pointer !important;
  transition: background 0.25s ease !important;
}

.search-shell thr-search-engine button.thr-btn-search:hover {
  background: #0a3a5a !important;
}

/* Container centré (même max-width que le slider) */
.hero-page-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 40px 50px 40px;
}

/* Bloc texte : bas gauche, comme le slider */
.hero-page-content {
  max-width: 700px;
  text-align: left;
}

/* Titre H1 */
.hero-page-title {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  color: white;
  text-transform: uppercase;
  line-height: 1.2;
  margin: 0 0 12px 0;
  /* Animation entrée */
  animation: slideUp 1s 0.2s both ease;
}

/* Sous-titre */
.hero-page-subtitle {
  font-family: "futura-pt", sans-serif;
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin: 0;
  max-width: 600px;
  /* Animation entrée */
  animation: slideUpSmall 1s 0.5s both ease;
}

/* Keyframes repris du slider */
@keyframes slideUp {
  0%   { opacity: 0; transform: translateY(50%); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpSmall {
  0%   { opacity: 0; transform: translateY(30%); }
  100% { opacity: 1; transform: translateY(0); }
}

/* iOS fix parallax */
@supports (-webkit-touch-callout: none) {
  .hero-page { background-attachment: scroll; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-page {
    height: 40vh;
    min-height: 280px;
  }
  .hero-page-container { padding: 0 20px 30px 20px; }
  .hero-page-title { font-size: 26px; }
  .hero-page-subtitle { font-size: 14px; }
}

@media (max-width: 1000px) {
  .hero-search-widget {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-page { height: 35vh; min-height: 240px; }

}

/* === Bloc gauche (contenu principal) === */
#blocgauche {
  position: relative;
  padding-top: 40px;
}

.widget-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* === Conteneur texte centré === */
.texte-container {
  max-width: 1400px;
  margin: 80px auto;
  text-align: center;
  width: auto;
  padding: 0 16px;
}

.texte-container p {
  font-family: "futura-pt", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 20px !important;
}

/* === Paires texte + image === */
.texte-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1440px;
  margin: 60px auto;
  padding: 20px;
}

.texte-image-container .texte-container {
  flex: 1 1 50%;
  text-align: left;
  margin: 0;
}

.texte-image-container img {
  height: auto;
  display: block;
  border-radius: 8px;
  max-width: 660px;
  max-height: 450px;
     object-fit: contain;
}

.service-container .texte-image-container img {
  object-fit: cover;
}


/* === Chapo (introduction article) === */
.chapo {
  position: relative;
}

.bloc-beige {
  background: #e1d9d0;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.bloc-beige .search-container {
  width: 1300px;
  background: white;
  margin: 20px auto 0;
  padding: 15px 0 10px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  position: relative;
}

/* === Contenu article (#TEXTE) === */

#blocgauche {
  font-family: "futura-pt", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #333;
}

#blocgauche h1,
#blocgauche h2,
#blocgauche h3 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  color: black;
}

#blocgauche h1 {
  font-weight: 300;
  font-size: 2.5em;
}

#blocgauche h1 span {
  font-weight: 600;
  font-size: 1.2em;
  display: block;
}

#blocgauche h2 {
  font-weight: 300;
  font-size: 2.5em;
  text-align: left;
  padding: 0;
}

#blocgauche h2 span {
  font-weight: 600;
  font-size: 1.3em;
}

#blocgauche h3 {
  font-weight: 600;
  font-size: 1.3em;
}

#blocgauche p {
  margin-bottom: 0;
  font-family: "futura-pt", sans-serif;
}

#blocgauche a {
  color: #0f527d;
  text-decoration: underline;
  transition: color 0.25s;
}

#blocgauche a:visited {
  color: #0f527d;
}

#blocgauche a:hover {
  color: #6cb7d6;
}

/* Boutons : forcer la couleur du texte (override du #blocgauche a) */
#blocgauche .btn-bleu,
#blocgauche .btn-bleu:hover,
#blocgauche .btn-bleu:visited {
  color: white;
  text-decoration: none;
}

#blocgauche .btn-jaune,
#blocgauche .btn-jaune:visited {
  color: black;
  text-decoration: none;
}

#blocgauche img {
  max-width: 100%;
  height: 100%;
  border-radius: 4px;
}

/* Image-full : le wrapper SPIP doit remplir le conteneur */
#blocgauche .image-full .spip_documents {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

#blocgauche .image-full .spip_documents img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  border-radius: 0;
}

/* Override pour mosaïque : les images doivent remplir le bloc 350px */
#blocgauche .herbergement-mosaique .bloc img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
}

#blocgauche .herbergement-mosaique .bloc .spip_documents {
  display: block;
  width: 100%;
  height: 100%;
}

#blocgauche .herbergement-mosaique .bloc .spip_documents a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Espace suffisant sous le titre-container de la mosaïque */
#blocgauche .hebergement-container > .titre-container {
  margin-bottom: 60px;
}

#blocgauche strong {
  font-weight: 700;
}

/* ============================================================
   GROUPE — Page Accueil de Groupe
   ============================================================ */

/* --- Intro --- */
.groupe-intro {
  max-width: 780px;
  margin: 0 auto 70px;
  text-align: center;
  padding: 0 20px;
}

.groupe-intro__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
}

.groupe-intro__icon svg { width: 100%; height: 100%; }

.groupe-intro h4 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-size: 1.55em;
  color: #0f527d;
  line-height: 1.35;
  margin: 0 0 14px;
}

.groupe-intro__lead {
  font-family: "futura-pt", sans-serif;
  font-size: 1.05em;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* --- Blocs texte + image alternés --- */
.groupe-bloc {
  display: flex;
  align-items: stretch;
  max-width: 1440px;
  margin: 0 auto 80px;
  padding: 0 30px;
  gap: 50px;
}

.groupe-bloc--reverse {
  flex-direction: row-reverse;
}

.groupe-bloc__media {
  flex: 0 0 50%;
  max-width: 50%;
}

.groupe-bloc__media .spip_documents {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(15, 82, 125, 0.10);
}

.groupe-bloc__media .spip_documents img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.7s ease;
  max-width: none;
}

.groupe-bloc__media:hover .spip_documents img {
  transform: scale(1.03);
}

.groupe-bloc__texte {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.groupe-bloc__texte h2 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-size: 1.75em;
  color: #0f527d;
  margin: 0 0 22px;
  padding: 0;
  text-align: left;
  line-height: 1.3;
}

.groupe-bloc__texte p {
  font-family: "futura-pt", sans-serif;
  font-size: 1em;
  line-height: 1.75;
  color: #444;
  margin-bottom: 0.85em;
  text-align: left;
}

.groupe-bloc__texte p:last-child { margin-bottom: 0; }

/* --- Mosaïque 5 photos --- */
.groupe-mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1440px;
  margin: 0 auto 80px;
  padding: 0 30px;
}

/* Première photo : pleine largeur */
.groupe-mosaic__item--wide {
  flex: 0 0 100%;
  height: 320px;
}

/* Les 4 suivantes : quart chacune */
.groupe-mosaic__item {
  flex: 1 1 calc(25% - 6px);
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.groupe-mosaic__item .spip_documents {
  display: block;
  width: 100%;
  height: 100%;
}

.groupe-mosaic__item .spip_documents img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.6s ease;
  max-width: none;
}

.groupe-mosaic__item:hover .spip_documents img {
  transform: scale(1.04);
}

/* --- Atouts : liste horizontale icône + texte --- */
.groupe-atouts {
  background: #f6f4f1;
  padding: 70px 30px 80px;
  margin: 0 0 80px;
}

.groupe-atouts .titre-container {
  margin-bottom: 50px;
}

.groupe-atouts__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}

.groupe-atouts__item {
  flex: 0 0 50%;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(15, 82, 125, 0.08);
}

.groupe-atouts__item:nth-child(odd) {
  border-right: 1px solid rgba(15, 82, 125, 0.08);
}

/* Retirer les bordures du bas sur les 2 derniers items */
.groupe-atouts__item:nth-last-child(-n+2) {
  border-bottom: none;
}

.groupe-atouts__photo {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(15, 82, 125, 0.12);
}


.groupe-atouts.animation .groupe-atouts__photo{
      background:#a3c0de;
          display: flex;
    align-items: center;
    justify-content: center;
}

.groupe-atouts.animation .groupe-atouts__photo i{
    font-size: 40px;
    color: white;
}

.groupe-atouts__photo .spip_documents {
  display: block;
  width: 100%;
  height: 100%;
}

.groupe-atouts__photo .spip_documents img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  max-width: none;
}

.groupe-atouts__text {
  text-align: left;
}

.groupe-atouts__text h3 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 600;
  font-size: 0.95em;
  color: #1a1a1a;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.groupe-atouts__text p {
  font-family: "futura-pt", sans-serif;
  font-size: 0.9em;
  line-height: 1.5;
  color: #666;
  margin: 0;
  text-align: left;
}

/* --- CTA contact --- */
.groupe-cta {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  padding: 0 30px;
}

.groupe-cta__inner {
  background: #0f527d;
  border-radius: 10px;
  padding: 40px 50px;
  margin-bottom: 20px;
}

.groupe-cta__inner p {
  font-family: "futura-pt", sans-serif;
  font-size: 1.15em;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 24px;
  text-align: center;
}

.groupe-cta__inner p strong {
  color: #fff;
}

.groupe-cta__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.groupe-cta__actions .btn-bleu {
  background: #fff;
  color: #0f527d !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.groupe-cta__actions .btn-bleu:hover {
  background: #e1d9d0 !important;
  color: #000 !important;
}

.groupe-cta__actions .btn-jaune {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.groupe-cta__credit {
  font-size: 0.8em;
  color: #999;
  margin: 0;
}

.groupe-cta__credit i { font-style: italic; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .groupe-bloc { gap: 30px; }
  .groupe-bloc__media .spip_documents img { min-height: 280px; }
  .groupe-mosaic__item--wide { height: 260px; }
  .groupe-mosaic__item { height: 160px; }
}

@media (max-width: 768px) {
  .groupe-intro h4 { font-size: 1.25em; }
  .groupe-intro { margin-bottom: 50px; }

  .groupe-bloc {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
    padding: 0 20px;
  }
  .groupe-bloc--reverse { flex-direction: column; }
  .groupe-bloc__media { flex: 0 0 100%; max-width: 100%; }
  .groupe-bloc__media .spip_documents img { min-height: 220px; }
  .groupe-bloc__texte h2 { font-size: 1.45em; }

  .groupe-mosaic { padding: 0 20px; margin-bottom: 50px; }
  .groupe-mosaic__item--wide { height: 200px; }
  .groupe-mosaic__item { flex: 1 1 calc(50% - 4px); height: 150px; }

  .groupe-atouts { padding: 50px 20px; margin-bottom: 50px; }
  .groupe-atouts__item {
    flex: 0 0 100%;
    border-right: none !important;
  }

  .groupe-cta { padding: 0 20px; }
  .groupe-cta__inner { padding: 30px 25px; }
}

@media (max-width: 480px) {
  .groupe-intro h4 { font-size: 1.1em; }
  .groupe-bloc__texte h2 { font-size: 1.25em; }
  .groupe-mosaic__item--wide { height: 160px; }
  .groupe-mosaic__item { height: 120px; }
  .groupe-cta__actions { flex-direction: column; align-items: center; }
}


/* === Portfolio — Gallery Grid === */
/* === PORTFOLIO — mosaïque === */
.portfolio-section {
  max-width: 1440px;
  margin: 60px auto 0;
  padding: 0 20px;
}

.portfolio-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 6px;
}

/* Cycle de 10 (2 lignes de 5) : grande gauche (1) + 4 petites, grande droite (6) + 4 petites */
.portfolio-mosaic__item:nth-child(10n+1) {
  grid-column: 1 / 3;
  grid-row: span 2;
}

.portfolio-mosaic__item:nth-child(10n+6) {
  grid-column: 3 / 5;
  grid-row: span 2;
}

.portfolio-mosaic__item {
  overflow: hidden;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
}

.portfolio-mosaic__item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  margin: 0;
  padding: 0;
  border: none;
  box-shadow: none;
  max-width: none !important;
  transition: transform 0.5s ease;
}

.portfolio-mosaic__item:hover img {
  transform: scale(1.04);
}

/* Items cachés par défaut — révélés par JS */
.portfolio-mosaic__item.is-hidden {
  display: none;
}

/* Bouton afficher plus */
.portfolio-more-wrap {
  margin-top: 24px;
  text-align: center;
}

.portfolio-more-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: none;
  color: #fff;
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 0;
}

.portfolio-more-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #0f527d;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  z-index: -2;
}

.portfolio-more-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #0f527d;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 11px 100%, 0 calc(100% - 11px));
  z-index: -1;
}

#blocgauche .portfolio-more-btn,
#blocgauche .portfolio-more-btn:hover,
.portfolio-more-btn:hover {
  text-decoration: none;
}

.portfolio-more-btn:hover::before,
.portfolio-more-btn:hover::after {
  background: #0a3a5a;
}

@media (max-width: 1024px) {
  .portfolio-mosaic { grid-auto-rows: 170px; }
}

@media (max-width: 768px) {
  .portfolio-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 150px;
    gap: 4px;
  }
  .portfolio-mosaic__item:nth-child(10n+1) { grid-column: 1 / 3; }
  .portfolio-mosaic__item:nth-child(10n+6) { grid-column: 2 / 4; }
}

@media (max-width: 480px) {
  .portfolio-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    gap: 4px;
  }
  .portfolio-mosaic__item:nth-child(10n+1) { grid-column: 1 / 3; }
  .portfolio-mosaic__item:nth-child(10n+6) { grid-column: 1 / 3; }
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__content img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
  border-radius: 0;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 28px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
  color: white;
}

.lightbox__nav svg {
  width: 28px;
  height: 28px;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
}

@media (max-width: 768px) {
  .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* === Widget réservation sticky (article) === */
.widget-resa {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: white;
  display: flex;
  z-index: 100;
  align-content: center;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-top: 1px solid #e0ddd6;
  transition: all 250ms;
  flex-wrap: wrap;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, .06);
}

.widget-resa a.btn {
  height: 55px;
  font-weight: bold !important;
  font-size: 18px;
  margin-bottom: 12px !important;
  color: white !important;
  background-color: #e1d9d0 !important;
  border: 0;
  box-shadow: none;
  border-radius: 2px;
  outline: 0 !important;
  flex-basis: 20%;
  cursor: pointer;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  display: inline-block;
  padding: 6px 12px;
  font-family: "futura-pt", sans-serif;
  padding-top: 15px;
  margin-top: 4px;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.widget-resa a.btn:hover {
  background-color: #0f527d !important;
}

/* === Bouton réservation flottant === */
.btn-reserver-container {
  position: fixed;
  right: 10px;
  top: 17px;
  z-index: 100;
}

.btn-reserver,
.btn-reserver:active,
.btn-reserver:focus,
.btn-reserver:visited {
  color: white;
  padding: 10px 20px;
  font-size: 1em;
  background: #0f527d !important;
  font-family: "futura-pt", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: all 250ms;
}

.btn-reserver:hover {
  background: #e1d9d0 !important;
  color: black !important;
}

/* === Mention légale photos === */
.legal-annonce {
  font-family: "futura-pt", sans-serif;
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 10px 0 20px;
  font-style: italic;
}

/* === SPIP admin === */
.spip-admin-bloc, .spip-admin-float {
  z-index: 1000 !important;
}

.contact-atout{
  text-align:center;
  width:100%;
  margin-top:30px;
}

.contact-atout p{padding-bottom:15px;}

/* === Back to top === */
#back-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 50;
}

#back-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: #0f527d;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}

#back-top a:hover {
  background: #e1d9d0;
  color: black;
  transform: translateY(-3px);
}

/* === Fil d'Ariane (breadcrumb) === */
.breadcrumb-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 20px;
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
}

.breadcrumb-container a {
  color: #0f527d;
  text-decoration: none;
  transition: color 0.25s;
}

.breadcrumb-container a:hover {
  color: #6cb7d6;
}

.breadcrumb-container span {
  color: #999;
  margin: 0 8px;
}

/* === Image container dans texte-image === */
.texte-image-container .image-container {
  flex: 1 1 50%;
}

.texte-image-container .image-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  max-width: 660px;
  max-height: 450px;
      object-fit: contain;
}

/* === Miroir : inverse texte/image sur desktop === */
.texte-image-container.miroir {
  flex-direction: row-reverse;
}

/* === RESPONSIVE === */
@media (max-width: 1330px) {
  .bloc-beige .search-container { display: none; }
}

@media (max-width: 900px) {
  .texte-image-container,
  .texte-image-container.miroir {
    flex-direction: column;
    gap: 20px;
  }

  .texte-image-container .texte-container {
    flex: 1 1 100%;
    text-align: center;
  }

  .texte-image-container .image-container {
    flex: 1 1 100%;
  }

  #bloccentre {
    padding: 0 16px;
  }

  #blocgauche h1 { font-size: 1.8em; }
  #blocgauche h2 { font-size: 1.5em; }
}

@media (max-width: 620px) {
  .texte-image-container .image-container { display: none; }
  .texte-image-container img { display: none; }

  .bloc-beige {
    padding: 20px 10px;
  }

  #blocgauche h1 {
    font-size: 1.5em;
    text-align: center;
  }

  #blocgauche h1 span {
    font-size: 1em;
  }

  .widget-resa { display: none; }
  .btn-reserver-container { display: none; }
}

/* === Portfolio bouton === */
.portfolio-more-wrap {
  margin-top: 20px;
  text-align: center;
}


/* ============================================================
   PITCH CARDS — Emplacements camping
   ============================================================ */

/* Grille des cartes d'offres */
.pitch-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}

.pitch-card {
  background: #fff;
  border: 1px solid #e0ddd6;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  flex: 1 1 420px;
  max-width: 480px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.pitch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.pitch-card-media {
  position: relative;
  overflow: hidden;
}

.pitch-card-media .spip_documents {
  display: block;
  width: 100%;
}

.pitch-card-media img,
.pitch-card-media .spip_documents img,
#blocgauche .pitch-card-media img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 0;
  max-width: none;
  transition: transform 0.5s ease;
}

.pitch-card:hover .pitch-card-media img,
.pitch-card:hover .pitch-card-media .spip_documents img {
  transform: scale(1.05);
}

.pitch-badge {
  position: absolute;
  left: 0;
  bottom: 16px;
  background: #e1d9d0;
  color: black;
  padding: 8px 20px;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.pitch-badge--premium {
  background: #0f527d;
  color: white;
}

.pitch-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.pitch-card-body h2 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: black;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2;
}

.pitch-card-body h2 span {
  font-weight: 700;
  font-size: 1.2em;
  display: block;
}

.pitch-specs {
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0f527d;
  margin: 0;
}

.pitch-card-body > p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.pitch-features {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  color: #333;
}

.pitch-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.pitch-features li i {
  color: #0f527d;
  font-size: 14px;
  margin-top: 2px;
  flex-shrink: 0;
}

.pitch-cta {
  margin-top: auto;
  padding-top: 12px;
}

#blocgauche .pitch-cta a {
  text-decoration: none;
}

/* Colonnes détail emplacement */
.pitch-detail {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 20px;
}

.pitch-detail-columns {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

.pitch-detail-col {
  flex: 1;
}

.pitch-detail-col h3 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: black;
  text-transform: uppercase;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pitch-detail-col h3 i {
  color: #0f527d;
  font-size: 18px;
}

.pitch-detail-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pitch-detail-col ul li {
  font-family: "futura-pt", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #444;
  padding-left: 16px;
  position: relative;
}

.pitch-detail-col ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: #0f527d;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 900px) {
  .pitch-cards {
    flex-direction: column;
    align-items: center;
  }

  .pitch-card {
    max-width: 100%;
  }

  .pitch-detail-columns {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 620px) {
  .pitch-card-media img,
  .pitch-card-media .spip_documents img,
  #blocgauche .pitch-card-media img {
    height: 200px;
  }
}


/* ============================================================
   LOC — Fiches locations mobil-homes
   Structure : titre-container > galerie photos > 2 colonnes équipements > widget résa
   Utilise gallery-grid existant pour les photos
   ============================================================ */

/* ============================================================
   LOCATIF-DETAILS — Fiches hébergement (style soleya adapté)
   ============================================================ */

.locatif-details {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px 40px;
}

/* Onglets mobile — masqués par défaut sur desktop */
.locatif-mobile-tabs {
  display: none;
}

.locatif-details:last-of-type {
  border-bottom: none;
}

.locatif-details .texte-image-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 0;
}

.locatif-details h2 {
  font-size: 2.2em;
}

.locatif-details h2 span {
  font-size: 1.2em;
}

/* Texte + features : prend la moitié gauche */
.locatif-details .texte-container {
  flex: 1 1 45%;
  min-width: 300px;
}

.locatif-details .texte-container > p {
  font-family: "futura-pt", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
  margin: 0 0 20px;
}

/* Liste features avec icônes */
.locatif-features-detail {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
}

.locatif-features-detail li {
  max-width: 375px;
  width: 49%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #444;
}

.locatif-features-detail li i {
  font-size: 22px;
  margin: 10px;
  background: #0f527d;
  color: #fff;
  padding: 5px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.locatif-features-detail li i::before {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === Onglets réservation (resa-tabs) === */

.resa-tabs {
  margin-top: 0;
  padding-top: 0;
}

.resa-tabs-title {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: black;
  margin: 0 0 12px;
  text-align: left;
}

/* Barre resa-tabs — layout original */
.resa-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  align-items: center;
  justify-content: space-between;
}

.resa-tabs-days {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Bouton resa-tab — forme locatif-mobile-tab via ::before/::after */
.resa-tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #0f527d;
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Bordure externe clip-path */
.resa-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #b5c8d8;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  z-index: -1;
}

/* Fond interne 1px plus petit */
.resa-tab::after {
  content: '';
  position: absolute;
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  z-index: -1;
  transition: background 0.25s ease;
}

.resa-tab i { font-size: 14px; }

.resa-tab:hover::after {
  background: #f0f4f8;
}

.resa-tab.is-active::before {
  background: #0a3a5a;
}

.resa-tab.is-active::after {
  background: #0a3a5a;
}

.resa-tab.is-active {
  color: white;
}

.resa-tab.is-active i {
  color: #a3c0de;
}

/* Inventaire — même forme */
/* Inventaire — reset .btn-bleu puis même aspect que .resa-tab */
#blocgauche .resa-tab-inventaire,
#blocgauche .resa-tab-inventaire:hover,
#blocgauche .resa-tab-inventaire:visited {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  color: #0f527d !important;
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  flex-shrink: 0;
  cursor: pointer;
  clip-path: none !important;
  transition: color 0.25s ease;
}

#blocgauche .resa-tab-inventaire::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #b5c8d8;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  z-index: -1;
}

#blocgauche .resa-tab-inventaire::after {
  content: '';
  position: absolute;
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  z-index: -1;
  transition: background 0.25s ease;
}

#blocgauche .resa-tab-inventaire:hover::after {
  background: #f0f4f8;
}

.resa-panel {
  display: none;
}

.resa-panel.is-visible {
  display: block;
}

.widget-container {
  width: 100%;
}

/* Le responsive resa-tabs est géré dans le media 768px */

/* === Galerie photos locatif (carrousel miniatures) === */

.image-container.locatif-gallery {
  flex: 1 1 45%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  width: 100%;
}

/* Grande image */
.locatif-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
}

#blocgauche .locatif-main img,
#blocgauche .locatif-main .spip_documents img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 0;
  max-width: none;
}

.locatif-main .spip_documents {
  display: block;
  width: 100%;
  line-height: 0;
  margin-bottom: 0;
}

/* Ligne du carrousel de miniatures */
.locatif-thumbs-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.locatif-thumbs-wrapper.no-nav .locatif-thumb-nav {
  display: none;
}

/* Flèches */
.locatif-thumb-nav {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #c9bbad;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  flex-shrink: 0;
}

.locatif-thumb-nav i {
  font-size: 16px;
  color: #3d2f24;
}

.locatif-thumb-nav:hover {
  background: #0f527d;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
  transform: translateY(-1px);
}

.locatif-thumb-nav:hover i {
  color: #fff;
}

/* Fenêtre des miniatures (4 visibles) */
.locatif-thumbs-viewport {
  overflow: hidden;
  flex: 1;
}

/* Ruban qui glisse */
.locatif-thumbs-track {
  display: flex;
  gap: 8px;
  transition: transform .3s ease;
  will-change: transform;
}

/* Miniatures */
.locatif-thumb {
  flex: 0 0 auto;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

#blocgauche .locatif-thumb img,
#blocgauche .locatif-thumb .spip_documents img {
  width: 123px !important;
  height: 100px !important;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid transparent;
  opacity: 0.7;
  transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
  max-width: none;
}

.locatif-thumb .spip_documents {
  display: block;
  line-height: 0;
}

.locatif-thumb:hover img,
.locatif-thumb:hover .spip_documents img {
  opacity: 1;
}

.locatif-thumb.is-active img,
.locatif-thumb.is-active .spip_documents img {
  border-color: #0f527d;
  opacity: 1;
  transform: translateY(-1px);
}

/* Responsive locatif-details — galerie au-dessus de la description */
@media (max-width: 1200px) {
  .locatif-details .texte-image-container {
    flex-direction: column;
  }

  .locatif-details .texte-container {
    flex: 1 1 100%;
    max-width: 100%;
    order: 2;
  }

  .image-container.locatif-gallery {
    flex: 1 1 100%;
    max-width: 100%;
    order: 1;
  }
}

@media (max-width: 768px) {

  .locatif-features-detail li {
    width: 100%;
    max-width: none;
  }

  #blocgauche .locatif-main img,
  #blocgauche .locatif-main .spip_documents img {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .locatif-details {
    padding: 40px 16px 30px;
  }

  #blocgauche .locatif-main img,
  #blocgauche .locatif-main .spip_documents img {
    height: 220px;
  }

  #blocgauche .locatif-thumb img,
  #blocgauche .locatif-thumb .spip_documents img {
    width: 60px !important;
    height: 60px !important;
  }
}


/* ============================================================
   SHOWCASE HERO — Pages hébergements
   Banner plein écran + vignettes navigation — Style Secretlab
   Crossfade 1.2s, Ken Burns, grayscale thumbnails, swipe
   ============================================================ */

.showcase-hero {
  position: relative;
  background: black;
  overflow: hidden;
  height: calc(80vh - 45px);
  display: flex;
  flex-direction: column;
}

/* === BANNER AREA === */
.showcase-banners {
  position: relative;
  width: 100%;
  flex: 1 1 0%;
  min-height: 0;
}

/* Scrim haut pour lisibilité de la navigation */
.showcase-banners::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(to bottom, rgba(0, 8, 0, 0.6) 0%, rgba(0, 8, 0, 0.35) 50%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* Slide (empilés, seul l'actif est visible) */
.showcase-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.showcase-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* Image plein cadre */
.showcase-slide-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.showcase-slide-img .spip_documents {
  display: block;
  width: 100%;
  height: 100%;
}

.showcase-slide-img .spip_documents a {
  display: block;
  width: 100%;
  height: 100%;
}

.showcase-slide-img img,
.showcase-slide-img .spip_documents img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
  border-radius: 0;
  will-change: transform;
}

/* Ken Burns zoom lent sur slide active */
.showcase-slide.is-active .showcase-slide-img img,
.showcase-slide.is-active .showcase-slide-img .spip_documents img {
  animation: showcaseZoom 12s ease-out forwards;
}

@keyframes showcaseZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Overlay contenu — halo central pour lisibilité */
.showcase-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse 32% 40% at center, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 40%, transparent 100%);
}

/* Le <p> wrapper SPIP du CTA */
.showcase-slide-overlay > p {
  margin: 20px 0 0;
  padding: 0;
}

/* === CONTENT OVERLAY === */
.showcase-slide-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s 0.3s ease, transform 1s 0.3s ease;
}

.showcase-slide.is-active .showcase-slide-content {
  opacity: 1;
  transform: translateY(0);
}

/* Pills specs (surface, chambres, pers., SDB) */
.showcase-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0 0 14px;
}

.showcase-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 58, 90, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(10, 58, 90, 0.6);
  border-radius: 0;
  padding: 6px 14px;
  font-family: "futura-pt", sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.showcase-pill:hover {
  background: rgba(10, 58, 90, 0.6);
  border-color: rgba(10, 58, 90, 0.8);
}

.showcase-pill i {
  font-size: 13px;
  color: white;
}

.showcase-slide-tag {
  font-family: "futura-pt", sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(163, 192, 222, 0.85);
  margin: 0 0 10px;
}

.showcase-slide-title {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-size: clamp(22px, 3vw, 38px);
  color: white;
  text-transform: uppercase;
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.showcase-slide-title span {
  font-weight: 700;
  display: block;
  font-size: 1.2em;
}

.showcase-slide-desc {
  position: relative;
  font-family: "futura-pt", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  margin: 0;
  transition: max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              transform 0.4s ease,
              margin 0.4s ease;
}
.showcase-slide-desc.is-visible {
  max-height: 320px;
  opacity: 1;
  transform: translateY(0);
  margin: 0 0 36px;
  overflow: visible;
  background: rgba(10, 58, 90, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 18px 22px 32px;
}

/* Bouton "Voir cette offre" — déborde sur la bordure basse du bloc desc */
.showcase-slide-desc .voir-offre,
.showcase-slide-desc .voir-offre:visited {
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0;
  color: white;
  text-decoration: none;
  font-family: "futura-pt", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: none;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.showcase-slide-desc .voir-offre:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateX(-50%) translateY(-2px);
}

/* === Bouton "Plus d'infos" info toggle (dans la ligne pills) === */
.showcase-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0;
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px 6px 8px;
  cursor: pointer;
  font-family: "futura-pt", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0;
  transition: all 0.3s ease;
}
.showcase-info-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: white;
}
.showcase-info-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}
.showcase-info-btn .info-icon {
  width: 18px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), background 0.25s ease;
  flex-shrink: 0;
}
.showcase-info-btn[aria-expanded="true"] .info-icon {
  transform: rotate(45deg);
  background: rgba(255, 255, 255, 0.2);
}

/* === CTA scroll-down — au-dessus de la barre de vignettes === */
.showcase-cta,
.showcase-cta:visited {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: white;
  transition: transform 0.3s, opacity 0.35s ease;
  white-space: nowrap;
  z-index: 6;
}

.showcase-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.showcase-cta:hover {
  transform: translateY(-4px);
}

.showcase-cta .scroll-icon {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: rgba(10, 58, 90, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.8);
  animation: showcaseScrollBounce 2.5s ease-in-out infinite;
  transition: all 0.3s ease;
}

.showcase-cta:hover .scroll-icon {
  background: rgba(10, 58, 90, 0.55);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.showcase-cta .scroll-label {
  font-family: "futura-pt", sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes showcaseScrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* === NAVIGATION ARROWS (masquées — nav via thumbs + contrôles) === */
.showcase-nav {
  display: none;
}

/* === THUMBNAILS STRIP === */
.showcase-thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.showcase-thumbs-inner {
  display: flex;
  overflow: hidden;
}

.showcase-thumb {
  flex: 1;
  min-width: 230px;
  max-width: 420px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: end;
  transition: background 0.3s ease,
              grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1) calc(var(--thumb-index, 0) * 0.07s);
}

/* Image thumbnail — grayscale inactive, couleur active */
.showcase-thumb-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  min-height: 150px;
  max-height: 180px;
  overflow: hidden;
  border-right: 1px solid #0a3a5a;
  transition: min-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-thumb:last-child .showcase-thumb-img {
  border-right: none;
}

/* Compteur n/total — collé coin haut droit, échancrure bas gauche */
.showcase-thumb-counter {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  font-family: "futura-pt", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(10, 58, 90, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 4px 10px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

/* Pills specs — bloc en bas de l'image, taille au contenu, échancrure haut droit */
.showcase-thumb-pills {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 10px;
  padding: 4px 12px;
  background: rgba(10, 58, 90, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}

.showcase-thumb-pills span {
  font-family: "futura-pt", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
  white-space: nowrap;
}

.showcase-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  filter: brightness(0.55) saturate(0.4);
  transition: filter 0.5s ease, transform 0.4s ease;
}

.showcase-thumb:hover .showcase-thumb-img img {
  transform: scale(1.03);
  filter: brightness(0.75) saturate(0.7);
}

.showcase-thumb.is-active .showcase-thumb-img img {
  filter: brightness(1) saturate(1);
}

/* Label sous la vignette — style léger transparent */
.showcase-thumb-label {
  position: relative;
  z-index: 3;
  font-family: "futura-pt", sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(10, 58, 90, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid #0a3a5a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  margin: 0;
  height: 32px;
  transition: color 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.showcase-thumb:hover .showcase-thumb-label {
  color: rgba(255, 255, 255, 0.8);
  background: rgba(10, 58, 90, 0.75);
}

.showcase-thumb.is-active .showcase-thumb-label {
  color: white;
  background: rgba(163, 192, 222, 0.35);
  border-top-color: rgba(255, 255, 255, 0.15);
}

.showcase-thumb:last-child .showcase-thumb-label {
  border-right: none;
}

/* Barre indicateur active — ligne fine blanche */
.showcase-thumb::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-thumb.is-active::after {
  transform: scaleX(1);
}

/* === CONTROLS NAV THUMBS === */
.showcase-thumbs-controls {
  display: flex;
  width: fit-content;
  z-index: 10;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.showcase-thumbs-ctrl {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  background: rgba(10, 58, 90, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-family: "futura-pt", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}

.showcase-thumbs-ctrl:last-child {
  border-right: none;
}

.showcase-thumbs-ctrl:hover {
  background: rgba(10, 58, 90, 0.7);
  color: white;
}

.showcase-thumbs-ctrl svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.showcase-thumbs-ctrl:hover svg {
  color: white;
}

.showcase-thumbs-ctrl--toggle svg {
  transition: transform 0.3s ease;
}

.showcase-thumbs.is-collapsed .showcase-thumbs-ctrl--toggle svg {
  transform: rotate(180deg);
}

/* Collapsed — chaque carte se replie en cascade via grid 0fr */
.showcase-thumbs.is-collapsed .showcase-thumb {
  grid-template-rows: 0fr auto;
}

.showcase-thumbs.is-collapsed .showcase-thumb-img {
  min-height: 0;
}

/* Single-slide hero — pas de nav ni de thumbs */
.showcase-hero--single .showcase-nav,
.showcase-hero--single .showcase-thumbs {
  display: none;
}

/* === NAVIGATION FIXE — clone des thumbs, sticky bas de page === */
.showcase-fixednav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-fixednav.is-visible {
  overflow: visible;
  transform: translateY(0);
}

/* Surcharger le positionnement du .showcase-thumbs interne */
.showcase-fixednav .showcase-thumbs {
  position: relative;
  bottom: auto;
}

.showcase-fixednav .showcase-thumb.is-active .showcase-thumb-label {
  color: #0a3a5a;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .showcase-slide-content {
    padding: 0 40px;
    max-width: 620px;
  }

  .showcase-pill {
    padding: 6px 12px;
    font-size: 12px;
  }

  .showcase-nav--prev { left: 14px; }
  .showcase-nav--next { right: 14px; }
  .showcase-nav { width: 44px; height: 44px; }
}

@media (max-width: 768px) {
  /* Empêcher le scroll horizontal sur mobile */
  html, body {
    overflow-x: hidden;
  }

  /* Hero 80vh sur mobile */
  .showcase-hero {
    height: 80vh;
  }

  /* Overlay centré en colonne (mobile) */
  .showcase-slide-overlay {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* CTA 10px sous le content */
  .showcase-slide-overlay > p {
    margin: 10px 0 0;
  }

  .showcase-slide-content {
    max-width: 100%;
    padding: 0 16px;
    text-align: center;
  }

  .showcase-slide-title {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .showcase-slide-title span {
    font-size: 1.1em;
  }

  .showcase-pills {
    gap: 4px;
    margin-bottom: 10px;
  }

  .showcase-pill {
    padding: 4px 8px;
    font-size: 10px;
    gap: 4px;
  }

  .showcase-pill i {
    font-size: 10px;
  }

  .showcase-slide-desc {
    font-size: 13px;
    margin-bottom: 16px;
  }

  /* Le <p> wrapper du CTA (SPIP sort le <a> du content dans un <p>) */
  .showcase-slide-overlay > p {
    width: 100%;
    text-align: center;
    margin: 8px 0 0;
    padding: 0;
  }

  .showcase-cta,
  .showcase-cta:visited {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    display: inline-flex;
    white-space: normal;
  }

  .showcase-cta:hover {
    transform: translateY(-4px);
  }

  .showcase-cta .scroll-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .showcase-cta .scroll-label {
    font-size: 10px;
    letter-spacing: 1px;
  }

  /* Masquer flèches hero — nav via thumbs + contrôles */
  .showcase-nav { display: none; }

  /* === MINIATURES HERO MOBILE — absolute pour passer par-dessus la bannière === */
  .showcase-hero .showcase-thumbs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  .showcase-hero .showcase-thumbs-controls {
    align-self: flex-start;
  }

  .showcase-hero .showcase-thumbs-inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .showcase-hero .showcase-thumbs-inner::-webkit-scrollbar {
    display: none;
  }

  .showcase-hero .showcase-thumbs.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
  }

  /* Une seule vignette visible à la fois sur mobile */
  .showcase-thumb {
    flex: 0 0 100%;
    min-width: 100%;
    -webkit-user-drag: none;
  }

  .showcase-thumb-label {
    font-size: 10px;
    padding: 8px 10px;
  }

  /* Fixednav mobile — barre fixée en bas d'écran */
  .showcase-fixednav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .showcase-fixednav.is-visible {
    overflow: visible;
    transform: translateY(0);
  }

  /* Thumbs du clone : colonne pour empiler controls + inner */
  .showcase-fixednav .showcase-thumbs {
    position: relative;
    bottom: auto;
    background: transparent;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  /* Controls au-dessus des vignettes, alignés à gauche */
  .showcase-fixednav .showcase-thumbs-controls {
    align-self: flex-start;
  }

  /* Inner scrollable horizontalement */
  .showcase-fixednav .showcase-thumbs-inner {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .showcase-fixednav .showcase-thumbs-inner::-webkit-scrollbar {
    display: none;
  }

  /* Masquer le texte de Précédent/Suivant sur mobile, garder Masquer/Afficher */
  .showcase-thumbs-ctrl .showcase-thumbs-ctrl-label {
    display: none;
  }

  .showcase-thumbs-ctrl--toggle .showcase-thumbs-ctrl-label {
    display: inline;
  }

  /* === ONGLETS MOBILE — blocs locatifs === */
  .locatif-mobile-tabs {
    display: flex;
    gap: 0;
    margin: 0 0 20px;
    position: relative;
  }

  /* Bordure — forme externe avec échancrure */
  .locatif-mobile-tabs::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #b5c8d8;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
    z-index: 0;
  }

  /* Fond blanc — forme interne 1px plus petite */
  .locatif-mobile-tabs::after {
    content: '';
    position: absolute;
    top: 1px; left: 1px; right: 1px; bottom: 1px;
    background: #fff;
    clip-path: polygon(9px 0, 100% 0, 100% 100%, 0 100%, 0 9px);
    z-index: 0;
  }

  .locatif-mobile-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 8px;
    background: transparent;
    border: none;
    border-right: 1px solid #b5c8d8;
    color: #0a3a5a;
    font-family: "futura-pt", sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    position: relative;
    z-index: 1;
  }

  .locatif-mobile-tab:first-child {
    border-left: none;
  }

  .locatif-mobile-tab:last-child {
    border-right: none;
  }

  .locatif-mobile-tab i {
    font-size: 13px;
    color: #0f527d;
    transition: color 0.25s ease;
  }

  .locatif-mobile-tab:hover {
    background: #f0f4f8;
  }

  .locatif-mobile-tab.is-active {
    background: #0a3a5a;
    border-color: #0a3a5a;
    color: white;
  }

  .locatif-mobile-tab.is-active i {
    color: #a3c0de;
  }

  .mobile-hidden {
    display: none !important;
  }

  /* Gallery pleine largeur en mode onglet */
  .locatif-gallery[data-mobile-panel] {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Inventaire déplacé en bas de la description */
  .mobile-inventaire {
    margin-top: 20px;
  }

  /* === Resa-tab — empilés verticalement sur mobile === */
  .resa-tabs-bar {
    flex-direction: column;
    align-items: center;
  }

  .resa-tabs-days {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .resa-tab {
    font-size: 12px;
    padding: 10px 12px;
    width: 100%;
    justify-content: center;
  }

  #blocgauche .resa-tab-inventaire {
    font-size: 12px;
    padding: 10px 12px;
  }

  /* Masquer photo et nom de catégorie du widget ThelisResa */
  .thr-simpleblock .thr-simpleblock-simple .thr-simpleblock-results .thr-simpleblock-row .thr-simpleblock-category .thr-simpleblock-category-picture {
    display: none !important;
  }

  .thr-simpleblock .thr-simpleblock-simple .thr-simpleblock-results .thr-simpleblock-row .thr-simpleblock-category .thr-simpleblock-category-name {
    display: none !important;
  }

  /* === Widget ThelisResa — compact mobile === */
  .resa-tabs-title {
    font-size: 14px;
    margin-bottom: 8px;
    text-align: center;
  }

  .resa-tab {
    max-width: 225px;
  }

  .thr-simpleblock {
    font-size: 13px !important;
  }

  .thr-simpleblock-engine-radio {
    font-size: 12px !important;
    line-height: 1.4 !important;
  }

  .thr-simpleblock-engine-label {
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .thr-simpleblock-engine select {
    font-size: 13px !important;
    padding: 6px 8px !important;
  }

  .thr-simpleblock-months {
    font-size: 13px !important;
  }

  .thr-simpleblock-month {
    font-size: 12px !important;
    padding: 6px 10px !important;
  }

  .thr-simpleblock-stay {
    font-size: 13px !important;
    padding: 10px 8px !important;
  }

  .thr-simpleblock-stay-price {
    font-size: 16px !important;
  }

  .thr-simpleblock-stay-book {
    font-size: 12px !important;
    padding: 8px 16px !important;
  }
}

@media (max-width: 480px) {
  /* Une seule vignette visible (hérité du 768px : 100%) */

  .showcase-thumb-label {
    font-size: 9px;
    padding: 7px 8px;
  }

  /* Contraindre le thumb ET le span SPIP dans les locatif-thumb */
  .locatif-thumb {
    flex: 0 0 auto !important;
    width: 60px !important;
    max-width: 60px !important;
    overflow: hidden;
  }

  .locatif-thumb .spip_documents {
    display: block;
    width: 60px !important;
    max-width: 60px !important;
    overflow: hidden;
  }

  /* Onglets mobile — texte plus compact */
  .locatif-mobile-tab {
    font-size: 10px;
    padding: 9px 5px;
    gap: 4px;
  }

  .locatif-mobile-tab i {
    font-size: 11px;
  }

  /* Resa tabs compacts */
  .resa-tab {
    font-size: 10px;
    padding: 9px 6px;
    gap: 5px;
  }

  /* === FIX GLOBAL MOBILE 480px — rendu premium === */

  /* Réduire l'espace entre H1 et premier bloc locatif */
  #blocgauche {
    padding-top: 16px;
  }

  .titre-container.titre-h1 {
    padding-top: 8px;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .titre-container.titre-h1 h1 {
    margin: 10px 0 8px;
  }

  /* Blocs locatifs — padding serré, pas de min-width */
  .locatif-details {
    padding: 16px 12px 24px;
  }

  .locatif-details .texte-container {
    min-width: 0;
  }

  .locatif-details .texte-container p {
    font-size: 13px;
    line-height: 1.5;
  }

  .locatif-features-detail li {
    font-size: 12px;
  }

  .locatif-features-detail li i {
    font-size: 18px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    margin: 6px;
  }

  /* Gallery — pleine largeur, images contraintes */
  .image-container.locatif-gallery {
    min-width: 0;
    max-width: 100%;
  }

  .locatif-main {
    border-radius: 8px;
  }

  #blocgauche .locatif-main img,
  #blocgauche .locatif-main .spip_documents img {
    height: 200px;
  }

  /* Thumbnails — plus petites, centrées */
  .locatif-thumbs-wrapper {
    gap: 4px;
    justify-content: center;
  }

  .locatif-thumb-nav {
    width: 28px;
    height: 28px;
  }

  .locatif-thumb-nav i {
    font-size: 12px;
  }

  #blocgauche .locatif-thumb img,
  #blocgauche .locatif-thumb .spip_documents img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 4px;
  }

  .locatif-thumbs-track {
    gap: 4px;
  }

  /* Widget reservation — conteneur contraint */
  .widget-container {
    max-width: 100%;
    overflow-x: hidden;
  }

  .resa-tabs-title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .resa-tabs {
    padding: 0;
  }

  /* Section "Voir aussi" */
  .vgn-section-title {
    font-size: 18px !important;
  }
}


/* ============================================================
   PHOTOTHÈQUE — Galerie filtrée par catégorie
   ============================================================ */

/* --- Barre de filtres --- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.gallery-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: transparent;
  border: 1.5px solid rgba(15, 82, 125, 0.2);
  color: #0f527d;
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 100px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.gallery-filter__btn:hover {
  background: rgba(15, 82, 125, 0.06);
  border-color: rgba(15, 82, 125, 0.4);
}

.gallery-filter__btn.is-active {
  background: #0f527d;
  border-color: #0f527d;
  color: #fff;
}

.gallery-filter__btn.is-active:hover {
  background: #0a3a5a;
  border-color: #0a3a5a;
}

.gallery-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 100px;
  background: rgba(15, 82, 125, 0.08);
  color: #0f527d;
  transition: all 0.3s ease;
}

.gallery-filter__btn.is-active .gallery-filter__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* --- Sections galerie --- */
.gallery-section {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.gallery-section.is-hidden {
  display: none;
}

.gallery-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.gallery-section__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f527d;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.gallery-section__title {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.gallery-section__count {
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #999;
  margin-left: auto;
}

.gallery-section__line {
  flex: 1;
  height: 1px;
  background: #e0ddd6;
  min-width: 40px;
}

/* --- Afficher plus (galerie) --- */
.gallery-more-wrap {
  margin-top: 24px;
  text-align: center;
}

.gallery-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  background: transparent;
  border: 1px solid rgba(10, 58, 90, 0.2);
  color: #0a3a5a;
  font-family: "futura-pt", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 100px;
}

.gallery-more-btn:hover {
  background: #0a3a5a;
  color: white;
  border-color: #0a3a5a;
}

/* --- Crédits photographes --- */
.gallery-credits {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px;
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  color: #999;
  text-align: center;
  font-style: italic;
}

.gallery-credits strong {
  color: #666;
  font-style: normal;
}

/* --- Hero galerie --- */
.gallery-hero {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 350px;
  max-height: 550px;
  overflow: hidden;
}

.gallery-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(15,82,125,0.7) 100%);
}

.gallery-hero__content {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
}

.gallery-hero__content h1 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

/* --- Responsive galerie --- */
@media (max-width: 768px) {
  .gallery-filter {
    gap: 8px;
    margin-bottom: 30px;
  }

  .gallery-filter__btn {
    padding: 8px 16px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .gallery-filter__count {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .gallery-section {
    margin-bottom: 40px;
  }

  .gallery-section__header {
    gap: 12px;
    margin-bottom: 20px;
  }

  .gallery-section__icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .gallery-section__title {
    font-size: 16px;
  }

  .gallery-hero {
    height: 40vh;
    min-height: 250px;
  }

  .gallery-hero__content h1 {
    font-size: 24px;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .gallery-filter__btn {
    padding: 7px 12px;
    font-size: 10px;
  }

  .gallery-section__count {
    display: none;
  }

  .gallery-hero__content h1 {
    font-size: 20px;
  }
}


/* ============================================================
   FAQ — Foire Aux Questions
   Filtres par catégorie + Accordéon <details>
   ============================================================ */

/* --- Conteneur FAQ --- */
.faq-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* Masquer le portfolio et la mention légale hérités du template article */
.faq-container ~ .portfolio-section,
.faq-container ~ .legal-annonce {
  display: none !important;
}

/* --- Intro --- */
.faq-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
  font-family: "futura-pt", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

/* --- Barre de filtres FAQ --- */
.faq-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
}

.faq-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: 1px solid rgba(15, 82, 125, 0.2);
  border-radius: 100px;
  color: #0f527d;
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.faq-filter:hover {
  background: rgba(15, 82, 125, 0.06);
  border-color: rgba(15, 82, 125, 0.4);
}

.faq-filter[aria-pressed="true"] {
  background: #0f527d;
  border-color: #0f527d;
  color: #fff;
}

.faq-filter[aria-pressed="true"]:hover {
  background: #0a3a5a;
  border-color: #0a3a5a;
}

.faq-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(15, 82, 125, 0.1);
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.3s ease;
}

.faq-filter[aria-pressed="true"] .faq-filter__count {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* --- Sections FAQ --- */
.faq-section {
  margin-bottom: 50px;
}

.faq-section[hidden] {
  display: none;
}

/* --- En-tête section --- */
.faq-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.faq-section__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #0f527d;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.faq-section__title {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1f1f1f;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
}

.faq-section__line {
  flex: 1;
  height: 1px;
  background: #e0ddd6;
  min-width: 40px;
}

.faq-section__count {
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #999;
  white-space: nowrap;
}

/* --- Items accordéon --- */
.faq-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: left;
}

/* --- Item : ligne épurée avec séparateur --- */
details.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #e8e4df;
  border-radius: 0;
  overflow: hidden;
}

details.faq-item:first-child {
  border-top: 1px solid #e8e4df;
}

details.faq-item:hover {
  border-color: #e8e4df;
  box-shadow: none;
}

details.faq-item[open] {
  border-color: #e8e4df;
  box-shadow: none;
}

/* --- Question (summary) — style cercle +/− --- */
.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  list-style: none;
  user-select: none;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #000;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::marker {
  content: '';
}

/* Cercle +/− */
.faq-item__question::after {
  content: '+';
  font-family: "futura-pt", sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #0f527d;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1d9d0;
  border-radius: 50%;
  transition: transform 0.35s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  /* Reset chevron styles */
  border-right: 1px solid #e1d9d0;
  border-bottom: 1px solid #e1d9d0;
  transform: none;
}

details.faq-item[open] .faq-item__question::after {
  content: '\2212';
  background: #0f527d;
  border-color: #0f527d;
  color: #fff;
  transform: rotate(180deg);
}

.faq-item__question:hover {
  color: #0f527d;
  background: none;
}

details.faq-item[open] .faq-item__question {
  color: #0f527d;
  background: none;
  border-bottom: none;
}

/* --- Réponse --- */
.faq-item__answer {
  padding: 0 0 22px;
  padding-right: 48px;
  font-family: "futura-pt", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  animation: faqSlideDown 0.3s ease;
}

@keyframes faqSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-item__answer p {
  margin: 0 0 12px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer a {
  color: #0f527d;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.faq-item__answer a:hover {
  color: #6cb7d6;
}

/* --- Responsive FAQ --- */
@media (max-width: 768px) {
  .faq-filter-bar {
    gap: 8px;
    margin-bottom: 30px;
  }

  .faq-filter {
    padding: 8px 16px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  .faq-filter__count {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .faq-section {
    margin-bottom: 36px;
  }

  .faq-section__header {
    gap: 12px;
    margin-bottom: 16px;
  }

  .faq-section__icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .faq-section__title {
    font-size: 16px;
  }

  .faq-item__question {
    padding: 18px 0;
    font-size: 14px;
  }

  .faq-item__answer {
    padding: 0 0 18px;
    padding-right: 40px;
    font-size: 14px;
  }

  .faq-intro {
    font-size: 14px;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .faq-filter {
    padding: 7px 12px;
    font-size: 10px;
  }

  .faq-section__count {
    display: none;
  }

  .faq-item__question {
    padding: 16px 0;
    font-size: 13px;
    gap: 12px;
  }

  .faq-item__answer {
    padding: 0 0 16px;
    padding-right: 32px;
    font-size: 13px;
  }
}


/* ============================================================
   TARIFS — Page tarification
   ============================================================ */

.tarif-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* --- Bloc intro tarifs — style éditorial premium --- */
.tarif-hero-intro {
  display: flex;
  margin: 0 auto 60px;
  max-width: 1600px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9f7f4 0%, #f1ece6 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 35px 100%, 0 calc(100% - 35px));
}

.tarif-hero-intro__inner {
  flex: 1 1 55%;
  padding: 60px 50px;
  text-align: center;
  position: relative;
}

.tarif-hero-intro__photo {
  flex: 0 0 45%;
  position: relative;
  overflow: hidden;
}

.tarif-hero-intro__photo img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* Tagline */
.tarif-hero-intro__tagline {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #1f1f1f;
  margin: 0 0 40px;
  line-height: 1.35;
}

.tarif-hero-intro__tagline strong {
  color: #0f527d;
  font-weight: 700;
}

/* Stats chiffrés */
.tarif-hero-intro__stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.tarif-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tarif-stat__number {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #0f527d;
  line-height: 1;
}

.tarif-stat__unit {
  font-size: 22px;
  font-weight: 300;
  margin-left: 2px;
}

.tarif-stat__star {
  font-size: 20px;
  vertical-align: super;
  margin-left: 2px;
  color: #e1d9d0;
}

.tarif-stat__label {
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
}

.tarif-stat__divider {
  width: 1px;
  height: 50px;
  background: #e1d9d0;
}

/* Texte descriptif */
.tarif-hero-intro__text {
  font-family: "futura-pt", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  max-width: 680px;
  margin: 0 auto;
}

/* Ligne accent bas */
.tarif-hero-intro__line {
  width: 50px;
  height: 3px;
  background: #e1d9d0;
  margin: 40px auto 0;
  border-radius: 2px;
}

/* --- Navigation hébergements --- */
.tarif-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 1600px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

#blocgauche .tarif-nav__link,
.tarif-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: transparent;
  border: none;
  color: #0f527d;
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
  z-index: 0;
}

/* Bordure — forme externe avec échancrure */
.tarif-nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #b5c8d8;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
  z-index: -2;
}

/* Fond blanc — forme interne 1px plus petite */
.tarif-nav__link::after {
  content: '';
  position: absolute;
  top: 1px; left: 1px; right: 1px; bottom: 1px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 11px 100%, 0 calc(100% - 11px));
  z-index: -1;
}

.tarif-nav__link i {
  font-size: 15px;
  color: #0f527d;
  transition: color 0.3s ease;
}

.tarif-nav__link:hover::before,
.tarif-nav__link:hover::after {
  background: #0f527d;
}

#blocgauche .tarif-nav__link:hover,
.tarif-nav__link:hover,
.tarif-nav__link:hover i {
  color: #fff !important;
  text-decoration: none;
}

/* Promo — fond bleu */
.tarif-nav__link--promo::before,
.tarif-nav__link--promo::after {
  background: #0f527d;
}

.tarif-nav__link--promo,
.tarif-nav__link--promo i {
  color: #fff !important;
}

.tarif-nav__link--promo:hover::before,
.tarif-nav__link--promo:hover::after {
  background: #0a3a5a;
}

/* --- Responsive tarifs --- */
@media (max-width: 900px) {
  .tarif-hero-intro {
    flex-direction: column-reverse;
  }

  .tarif-hero-intro__photo {
    flex: none;
    height: 280px;
  }

  .tarif-hero-intro__inner {
    padding: 40px 28px;
  }

  .tarif-hero-intro__tagline {
    font-size: 24px;
  }

  .tarif-hero-intro__stats {
    gap: 24px;
  }

  .tarif-stat__number {
    font-size: 36px;
  }

  .tarif-stat__unit {
    font-size: 18px;
  }

  .tarif-hero-intro__text {
    font-size: 14px;
  }

  .tarif-nav__link {
    padding: 12px 20px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .tarif-hero-intro {
    margin-left: -20px;
    margin-right: -20px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 25px 100%, 0 calc(100% - 25px));
  }

  .tarif-hero-intro__photo {
    height: 220px;
  }

  .tarif-hero-intro__inner {
    padding: 32px 20px;
  }

  .tarif-hero-intro__tagline {
    font-size: 20px;
  }

  .tarif-hero-intro__stats {
    gap: 16px;
  }

  .tarif-stat__number {
    font-size: 30px;
  }

  .tarif-stat__unit {
    font-size: 15px;
  }

  .tarif-stat__label {
    font-size: 11px;
  }

  .tarif-stat__divider {
    height: 36px;
  }
}


/* ============================================================
   WIDGET THELISRESA — Restyling premium
   Override des styles par défaut du widget de réservation
   ============================================================ */

/* --- Conteneur racine --- */
.thr-simpleblock {
  font-family: "futura-pt", sans-serif !important;
  max-width: 1600px;
  margin: 0 auto;
}

/* --- Moteur de recherche (filtres) --- */
.thr-simpleblock-engine {
  background: #fff !important;
  border: 1px solid #e0ddd6 !important;
  border-radius: 0 !important;
  padding: 36px 40px !important;
  margin-bottom: 0 !important;
  border-bottom: none !important;
}

.thr-simpleblock-engine-inputs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  align-items: flex-end !important;
}

.thr-simpleblock-engine-inputs > div {
  flex: 1 1 200px !important;
}

.thr-simpleblock-engine-label {
  display: block !important;
  font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: #0a3a5a !important;
  margin-bottom: 10px !important;
}

.thr-simpleblock-engine select,
.thr-simpleblock-engine .form-control {
  font-family: "futura-pt", sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  height: auto !important;
  padding: 14px 42px 14px 18px !important;
  border: 1px solid #d5d0c9 !important;
  border-radius: 0 !important;
  background-color: #fff !important;
  color: #1f1f1f !important;
  width: 100% !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230f527d' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
  cursor: pointer !important;
}

.thr-simpleblock-engine select:focus,
.thr-simpleblock-engine .form-control:focus {
  border-color: #0f527d !important;
  box-shadow: 0 0 0 3px rgba(15, 82, 125, 0.08) !important;
  outline: none !important;
}

/* --- Barre des mois --- */
.thr-simpleblock-months {
  display: flex !important;
  margin-bottom: 0 !important;
  background: #fff !important;
  border: 1px solid #e0ddd6 !important;
  border-top: none !important;
  gap: 0 !important;
  overflow: hidden !important;
}

.thr-simpleblock-month {
  flex: 1 !important;
  font-family: "futura-pt", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: capitalize !important;
  letter-spacing: 0.04em !important;
  padding: 14px 20px !important;
  background: transparent !important;
  color: #1f1f1f !important;
  border: none !important;
  border-right: 1px solid #e0ddd6 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
}

.thr-simpleblock-month:last-child {
  border-right: none !important;
}

.thr-simpleblock-month:hover {
  color: #0f527d !important;
}

.thr-simpleblock-month-current {
  color: #0a3a5a !important;
  font-weight: 700 !important;
  background: #b5c8d8 !important;
}

.thr-simpleblock-month-current:hover {
  background: #a3bace !important;
}

/* --- En-têtes colonnes (dates) --- */
.thr-simpleblock-headers {
  background: #fff !important;
  border: 1px solid #e0ddd6 !important;
  border-top: none !important;
  margin-bottom: 0 !important;
}

.thr-simpleblock-headers .thr-simpleblock-stay {
  color: #0a3a5a !important;
  font-family: "futura-pt", sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 0.03em !important;
  border-bottom: none !important;
  border-right: 1px solid #e0ddd6 !important;
  padding: 14px 12px !important;
  text-align: center !important;
}

.thr-simpleblock-headers .thr-simpleblock-stay:last-child {
  border-right: none !important;
}

.thr-simpleblock-headers .thr-simpleblock-stay div {
  color: #0a3a5a !important;
  font-weight: 600 !important;
}

.thr-simpleblock-headers .thr-simpleblock-stay span {
  color: #999 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  font-weight: 400 !important;
}

.thr-simpleblock-headers .thr-simpleblock-category {
  background: #fff !important;
  border-right: 1px solid #e0ddd6 !important;
}

.thr-simpleblock-headers:hover {
  box-shadow: none !important;
}

/* --- Lignes de résultats --- */
.thr-simpleblock-results {
  border: none !important;
}

.thr-simpleblock-row {
  background: #fff !important;
  border: 1px solid #e0ddd6 !important;
  border-top: none !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
  transition: box-shadow 0.3s ease !important;
}

.thr-simpleblock-row:hover {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}

/* --- Catégorie (nom + image) --- */
.thr-simpleblock-category {
  background: #fff !important;
  border-right: 1px solid #e0ddd6 !important;
  position: relative !important;
  overflow: hidden !important;
}

.thr-simpleblock-category-picture {
  overflow: hidden !important;
}

.thr-simpleblock-category-picture img {
  transition: transform 0.5s ease !important;
}

.thr-simpleblock-row:hover .thr-simpleblock-category-picture img {
  transform: scale(1.05) !important;
}

.thr-simpleblock-category-name {
  font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: #0a3a5a !important;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  padding: 8px 14px !important;
}

/* --- Colonnes séjours --- */
.thr-simpleblock-stays {
  display: flex !important;
}

.thr-simpleblock-stay {
  font-family: "futura-pt", sans-serif !important;
  padding: 16px 12px !important;
  border-right: 1px solid #f0ede8 !important;
  text-align: center !important;
  transition: background 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
}

.thr-simpleblock-stay:last-child {
  border-right: none !important;
}

/* --- Prix --- */
.thr-simpleblock-price,
.thr-simpleblock-stay-price {
  font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #0f527d !important;
}

.thr-simpleblock-stay-price-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 2px !important;
}

/* "à partir de" */
.thr-simpleblock-stay-period {
  font-size: 11px !important;
  color: #999 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
}

/* Indisponible */
.thr-simpleblock-stay-unavailable {
  font-family: "futura-pt", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #bbb !important;
  font-style: italic !important;
}

/* --- Bouton Réserver --- */
.thr-add-to-cart,
.thr-simpleblock-stay-book {
  font-family: "futura-pt", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  padding: 10px 22px !important;
  background: #0f527d !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  transition: background 0.3s ease, transform 0.2s ease !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
  text-decoration: none !important;
  display: inline-block !important;
}

.thr-add-to-cart:hover,
.thr-simpleblock-stay-book:hover {
  background: #0a3a5a !important;
  transform: translateY(-1px) !important;
}

/* --- Messages vides / chargement --- */
.thr-simpleblock-noresult,
.thr-simpleblock-loading {
  font-family: "futura-pt", sans-serif !important;
  font-size: 15px !important;
  color: #999 !important;
  text-align: center !important;
  padding: 60px 20px !important;
  font-style: italic !important;
}

/* --- Responsive widget tarifs --- */
@media (max-width: 900px) {
  /* Nav — scroll horizontal fluide */
  .tarif-nav {
    justify-content: center;
    padding: 0 16px;
    gap: 8px;
    margin-bottom: 30px;
  }

  .tarif-nav__link {
    padding: 10px 16px !important;
    font-size: 12px !important;
  }

  /* Moteur — empilé et centré */
  .thr-simpleblock-engine {
    padding: 24px 20px !important;
    clip-path: none !important;
    text-align: center !important;
  }

  .thr-simpleblock-engine-inputs {
    flex-direction: column !important;
    gap: 16px !important;
    align-items: center !important;
  }

  .thr-simpleblock-engine-inputs > div {
    flex: none !important;
    width: 100% !important;
    max-width: 340px !important;
    text-align: center !important;
  }

  .thr-simpleblock-engine select,
  .thr-simpleblock-engine .form-control {
    width: 100% !important;
    min-width: 0 !important;
  }

  .thr-simpleblock-engine-label {
    text-align: center !important;
  }

  /* Headers desktop masqués */
  .thr-simpleblock-headers {
    display: none !important;
  }

  /* FORCER l'affichage des photos et noms sur la page tarifs */
  .thr-simpleblock .thr-simpleblock-simple .thr-simpleblock-results .thr-simpleblock-row .thr-simpleblock-category .thr-simpleblock-category-picture,
  .thr-simpleblock-category-picture {
    display: block !important;
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
  }

  .thr-simpleblock-category-picture img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .thr-simpleblock .thr-simpleblock-simple .thr-simpleblock-results .thr-simpleblock-row .thr-simpleblock-category .thr-simpleblock-category-name,
  .thr-simpleblock-category-name {
    display: block !important;
    font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #0a3a5a !important;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    padding: 10px 16px !important;
    text-align: center !important;
  }

  /* Catégorie mobile — carte avec photo + nom */
  .thr-simpleblock-category {
    border-right: none !important;
    border-bottom: none !important;
  }

  /* Lignes résultats mobile — cards empilées */
  .thr-simpleblock-row {
    border: 1px solid #e0ddd6 !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
  }

  /* Séjours — affichage vertical */
  .thr-simpleblock-stay {
    text-align: center !important;
    padding: 20px 16px !important;
    border-bottom: 1px solid #f0ede8 !important;
    border-right: none !important;
  }

  .thr-simpleblock-stay:last-child {
    border-bottom: none !important;
  }

  /* Prix mobile */
  .thr-simpleblock-price,
  .thr-simpleblock-stay-price {
    font-size: 22px !important;
    color: #0f527d !important;
  }

  /* Bouton Réserver mobile */
  .thr-add-to-cart,
  .thr-simpleblock .thr-add-to-cart,
  .thr-add-to-cart-container .thr-add-to-cart {
    background: #0f527d !important;
    color: #fff !important;
    font-family: "futura-pt", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 12px 28px !important;
    border: none !important;
    border-radius: 0 !important;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    margin-top: 8px !important;
  }

  /* Texte indisponible */
  .thr-simpleblock-stay-unavailable {
    font-family: "futura-pt", sans-serif !important;
    font-size: 13px !important;
    color: #bbb !important;
    font-style: italic !important;
  }

  /* Dates dans les séjours */
  .thr-simpleblock-stay-period {
    font-size: 12px !important;
    color: #888 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 4px !important;
  }
}

@media (max-width: 480px) {
  .tarif-nav__link {
    padding: 8px 12px !important;
    font-size: 11px !important;
  }

  .thr-simpleblock-engine {
    padding: 20px 16px !important;
  }

  .thr-simpleblock-engine-label {
    font-size: 10px !important;
  }

  .thr-simpleblock-engine-inputs > div {
    max-width: 280px !important;
  }

  .thr-simpleblock-month {
    font-size: 12px !important;
    padding: 10px 12px !important;
  }

  .thr-simpleblock-category-picture,
  .thr-simpleblock .thr-simpleblock-simple .thr-simpleblock-results .thr-simpleblock-row .thr-simpleblock-category .thr-simpleblock-category-picture {
    height: 150px !important;
  }

  .thr-simpleblock-price,
  .thr-simpleblock-stay-price {
    font-size: 20px !important;
  }

  .thr-add-to-cart,
  .thr-simpleblock .thr-add-to-cart {
    font-size: 11px !important;
    padding: 11px 22px !important;
  }
}











    :root {
      --page-bg: #ffffff;
      --text-dark: #1a1a1a;
      --beige: #e1d9d0;
      --beige-dark: #b7a38f;
      --line: #0f527d;
      --white: #ffffff;
    }

    .services-hebergements {
      padding: 28px 0 40px;
      background: var(--page-bg);
    }

    .services-hebergements__inner {
      position: relative;
      width: 1660px;
      height: 780px;
      margin: 0 auto;
      background: var(--page-bg);
      overflow: hidden;
    }

    /* =========================
       INTRO
    ========================= */
    .services-intro {
      position: absolute;
      top: 170px;
      left: 115px;
      width: 480px;
      z-index: 3;
    }

    .intro-title {
      position: relative;
      margin: 0;
      line-height: 0.95;
      color: var(--text-dark);
    }

    .intro-title__top {
      display: block;
      font-size: 52px;
      font-weight: 900;
      letter-spacing: -1px;
    }

    .intro-title__bottom {
      display: block;
      margin-left: 84px;
      margin-top: 6px;
      font-size: 52px;
      font-weight: 300;
      letter-spacing: 0.5px;
    }

    .intro-quote {
      position: absolute;
      font-size: 76px;
      font-weight: 700;
      line-height: 1;
      color: var(--text-dark);
    }

    .intro-quote--start {
      top: -30px;
      left: -36px;
    }

    .intro-quote--end {
      top: 78px;
      right: 2px;
    }

    .intro-text {
      width: 395px;
      margin: 52px 0 0 0;
      font-size: 15px;
      line-height: 1.35;
      font-weight: 500;
      color: #2b2730;
    }

    .intro-text strong {
      font-weight: 800;
    }

    .text-highlight {
      display: inline-block;
      padding: 0 4px 1px;
      background: linear-gradient(transparent 48%, #d8c7b5 48%);
      font-weight: 700;
    }

    /* =========================
       DECOR SHAPES
    ========================= */
    .shape {
      position: absolute;
      background: var(--beige);
      z-index: 1;
    }

    .shape--top-left {
      top: 136px;
      left: 690px;
      width: 54px;
      height: 120px;
    }

    .shape--right-bottom {
      right: 78px;
      bottom: 0;
      width: 52px;
      height: 206px;
    }

    /* =========================
       PHOTO CARDS
    ========================= */
    .photo-card {
      position: absolute;
      z-index: 3;
      overflow: hidden;
    }

    .photo-placeholder {
      width: 100%;
      height: 100%;
      border: 2px solid rgba(255, 255, 255, 0.85);
      background: linear-gradient(135deg, #d2dae0 0%, #b7c3cd 45%, #9db0bd 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 20px;
      color: rgba(0, 0, 0, 0.55);
      font-size: 18px;
      font-weight: 700;
      letter-spacing: 1px;
    }

    .photo-card img,
    #blocgauche .photo-card img,
    #blocgauche .photo-card .spip_documents img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      border: 2px solid rgba(255, 255, 255, 0.85);
      max-width: none;
      max-height: none;
      border-radius: 0;
    }

    .photo-card .spip_documents,
    #blocgauche .photo-card .spip_documents {
      display: block;
      width: 100%;
      height: 100%;
    }

    .photo-card__label {
      position: absolute;
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 1.2px;
      color: var(--text-dark);
      text-transform: uppercase;
      white-space: nowrap;
    }

    .photo-card__label::after,
    .photo-card__label::before {
      content: "";
      position: absolute;
      width: 1px;
      background: var(--line);
    }

    .photo-card__label--top::after {
      top: 16px;
      left: 50%;
      transform: translateX(-50%);
      height: 48px;
    }

    .photo-card__label--bottom::before {
      bottom: 16px;
      left: 50%;
      transform: translateX(-50%);
      height: 48px;
    }

    .photo-card--standard {
      top: 166px;
      left: 715px;
      width: 384px;
      height: 280px;
    }

    .photo-card--standard .photo-card__label {
      top: -22px;
      right: 26px;
    }

    .photo-card--family {
      top: 124px;
      left: 1098px;
      width: 510px;
      height: 354px;
    }

    .photo-card--family .photo-card__label {
      top: -22px;
      left: 84px;
    }

    .photo-card--tent {
      top: 452px;
      left: 875px;
      width: 355px;
      height: 246px;
    }

    .photo-card--tent .photo-card__label {
      bottom: -22px;
      right: 40px;
    }

    .photo-card--insolite {
      top: 452px;
      left: 1232px;
      width: 290px;
      height: 295px;
    }

    .photo-card--insolite .photo-card__label {
      bottom: -22px;
      right: 22px;
    }

    /* =========================
       SERVICES PANEL
    ========================= */
    .services-panel {
      position: absolute;
      left: 0;
      top: 422px;
      width: 1240px;
      height: 242px;
      background: var(--beige);
      z-index: 2;
    }

    .services-list {
      position: absolute;
      top: 42px;
      left: 135px;
      display: flex;
      gap: 72px;
    }

    .services-col {
      display: flex;
      flex-direction: column;
      gap: 14px;
      width: 260px;
    }

    .service-item {
      display: flex;
      align-items: center;
      gap: 12px;
      min-height: 34px;
      font-size: 14px;
      font-weight: 700;
      color: var(--text-dark);
    }

    .service-icon {
      flex: 0 0 36px;
      width: 36px;
      height: 36px;
      border: 2px solid var(--text-dark);
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-weight: 800;
      line-height: 1;
      color: var(--text-dark);
      background: transparent;
    }

    .services-note {
      position: absolute;
      left: 146px;
      bottom: 28px;
      margin: 0;
      font-size: 12px;
      font-weight: 500;
      color: #4f4b50;
    }

    .plant-placeholder,
    #blocgauche .plant-placeholder {
      position: absolute;
      right: 205px;
      bottom: 10px;
      width: 210px;
      height: auto;
      opacity: 0.45;
      pointer-events: none;
      border: none;
      border-radius: 0;
      background: none;
      max-width: none;
      max-height: none;
    }

    /* =========================
       RESPONSIVE
    ========================= */
    @media (max-width: 1700px) {
      .services-hebergements__inner {
        transform: scale(0.9);
        transform-origin: top center;
        margin-bottom: -70px;
      }
    }

    @media (max-width: 1500px) {
      .services-hebergements__inner {
        transform: scale(0.8);
        margin-bottom: -130px;
      }
    }

    @media (max-width: 1280px) {
      .services-hebergements {
        padding: 20px;
      }

      .services-hebergements__inner {
        width: 100%;
        height: auto;
        transform: none;
        margin-bottom: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        overflow: visible;
      }

      .services-intro,
      .shape,
      .photo-card,
      .services-panel {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
      }

      .services-intro {
        width: 100%;
        padding-left: 34px;
      }

      .intro-text {
        width: 100%;
        max-width: 540px;
      }

      .services-panel {
        width: 100%;
        height: auto;
        padding: 36px 24px 70px;
      }

      .services-list {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .services-col {
        width: auto;
      }

      .services-note {
        left: 24px;
        bottom: 24px;
      }

      .plant-placeholder {
        right: 24px;
        bottom: 18px;
        width: 150px;
        height: 100px;
        font-size: 12px;
      }

      .photo-card {
        width: 100% !important;
        height: 280px !important;
      }

      .photo-card--insolite {
        height: 340px !important;
      }
    }


/* ============================================================
   SURF PAGE — Présentation premium spots & activités
   Composants : intro, spot-cards, facilities, FAQ, map, CTA
   ============================================================ */

/* --- Section intro centrée --- */
.surf-intro {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 20px 50px;
  text-align: center;
}

.surf-intro p {
  font-family: "futura-pt", sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #444;
  margin: 0;
}

.surf-intro p strong {
  color: #0f527d;
}

/* Séparateur décoratif */
.surf-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 60px auto;
  max-width: 300px;
}

.surf-separator::before,
.surf-separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e1d9d0;
}

.surf-separator i {
  color: #0f527d;
  font-size: 18px;
}

/* --- Section générique surf --- */
.surf-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.surf-section-header {
  text-align: center;
  margin-bottom: 50px;
       margin-top: 50px;
}

#blocgauche .surf-section-header h2 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-size: 2.2em;
  color: #000;
  text-transform: uppercase;
  margin: 0 0 8px;
  text-align: center;
}

.surf-section-header h2 span {
  font-weight: 700;
  font-size: 1.2em;
}

.surf-section-header .section-tagline {
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f527d;
  margin: 0;
}

/* --- Spot Cards — Grille des spots de surf --- */
.spot-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.spot-card {
  flex: 1 1 340px;
  max-width: 380px;
  background: #fff;
  border: 1px solid #e8e4df;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.spot-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15, 82, 125, 0.12);
 
}

.spot-card-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #0f527d;
}

.spot-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.spot-card:hover .spot-card-visual img {
  transform: scale(1.06);
}

/* Dégradé diagonal pour cartes sans photo */
.spot-card-visual--gradient {
  background: linear-gradient(135deg, #0f527d 0%, #1a6b9e 40%, #0a3a5a 100%);
  position: relative;
}

.spot-card-visual--gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(255, 255, 255, 0.03) 20px,
    rgba(255, 255, 255, 0.03) 40px
  );
}

/* SPIP wraps images in span.spip_documents — remplir le parent */
.spot-card-visual .spip_documents {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.spot-card-visual .spip_documents img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image-full : SPIP wrapper fix */
#blocgauche .image-full .spip_documents img {
  border-radius: 0;
  max-width: none;
}

.spot-card-badge {
  position: absolute;
  top: 14px;
  left: 0;
  background: #0f527d;
  color: #fff;
  padding: 6px 16px;
  font-family: "futura-pt", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.spot-card-badge--easy {
  background: #2e8b57;
}

.spot-card-badge--expert {
  background: #c0392b;
}

.spot-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spot-card-body h3 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.02em;
}

.spot-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spot-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  background: #f5f2ee;
  border-radius: 999px;
  font-family: "futura-pt", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.02em;
}

.spot-pill i {
  font-size: 11px;
  color: #0f527d;
}

.spot-card-body p {
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

/* --- Image break pleine largeur avec citation --- */
.surf-image-break {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  margin: 20px 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), calc(100% - 50px) 100%, 0 100%);
}

.surf-image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.surf-image-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 58, 90, 0.55) 0%, rgba(10, 58, 90, 0.15) 100%);
}

.surf-image-break-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 40px 80px;
}

.surf-image-break-quote {
  max-width: 550px;
  background: rgba(10, 58, 90, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 30px 40px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%);
}

.surf-image-break-quote h3 {
  font-family: "futura-pt", sans-serif;
  font-size: 1.5em;
  font-weight: 400;
  color: #fff;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.surf-image-break-quote h3 span {
  display: block;
  font-weight: 700;
  font-size: 1.1em;
  margin-top: 6px;
}

/* --- Section texte + image alternée (surf) --- */
.surf-duo {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.surf-duo--reverse {
  flex-direction: row-reverse;
}

.surf-duo-text {
  flex: 1 1 50%;
}

.surf-duo-text h2 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-size: 2.4em;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 16px;
  text-align: left;
}

.surf-duo-text h2 span {
  font-weight: 700;
  font-size: 1.2em;
}

.surf-duo-text h3 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 600;
  font-size: 1.3em;
  color: #0f527d;
  margin: 30px 0 14px;
}

.surf-duo-text p {
  font-family: "futura-pt", sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 14px;
}

.surf-duo-image {
  flex: 1 1 45%;
  max-width: 540px;
}

.surf-duo-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

/* --- Facilities Grid --- */
.surf-facilities {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.surf-facilities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
}

.surf-facility {
  flex: 1 1 200px;
  max-width: 320px;
  text-align: center;
  padding: 30px 16px;
  background: #fff;
  border: 1px solid #ede9e4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.surf-facility:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 82, 125, 0.08);
}

.surf-facility-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f527d;
  color: #fff;
  border-radius: 50%;
  font-size: 22px;
}

.surf-facility h4 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000;
  margin: 0 0 8px;
}

.surf-facility p {
  font-family: "futura-pt", sans-serif;
  font-size: 1em;
  line-height: 1.5;
  color: #666;
  margin: 0;
}

/* --- FAQ Accordion --- */
.surf-faq {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 20px;
}

.surf-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 40px;
}

.surf-faq-item {
  border-bottom: 1px solid #e8e4df;
}

.surf-faq-item:first-child {
  border-top: 1px solid #e8e4df;
}

.surf-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #000;
  letter-spacing: 0.01em;
  transition: color 0.25s ease;
}

.surf-faq-question:hover {
  color: #0f527d;
}

.surf-faq-question::after {
  content: '+';
  font-family: "futura-pt", sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #0f527d;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e1d9d0;
  border-radius: 50%;
  transition: transform 0.35s ease, background 0.25s ease;
}

.surf-faq-item.is-open .surf-faq-question::after {
  content: '\2212';
  background: #0f527d;
  border-color: #0f527d;
  color: #fff;
  transform: rotate(180deg);
}

.surf-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, padding 0.35s ease;
}

.surf-faq-item.is-open .surf-faq-answer {
  max-height: 300px;
  padding-bottom: 22px;
}

.surf-faq-answer p {
  font-family: "futura-pt", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  padding-right: 48px;
}

/* --- Google Map --- */
.surf-map {
  max-width: 1200px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.surf-map iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* --- CTA Section --- */
.surf-cta {
  background: #f8f6f3;
  padding: 80px 20px;
  text-align: center;
  margin: 40px 0 0;
}

#blocgauche .surf-cta h2 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-size: 2em;
  text-transform: uppercase;
  color: #000;
  margin: 0 0 16px;
  text-align: center;
}

.surf-cta h2 span {
  font-weight: 700;
  font-size: 1.2em;
}

.surf-cta > p {
  font-family: "futura-pt", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #555;
  max-width: 700px;
  margin: 0 auto 30px;
}

.surf-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* Boutons CAPA (réutilisation du clip-path signature) */
.btn-bleu,
.btn-jaune {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
}

.btn-bleu {
  background: #0f527d;
  color: #fff;
  border: none;
}

.btn-bleu:hover {
  background: #0a3a5a;
}

.btn-jaune {
  background: #e1d9d0;
  color: #000;
  border: none;
}

.btn-jaune:hover {
  background: #d4c9bc;
}

/* --- Credits photo --- */
.surf-credits {
  font-family: "futura-pt", sans-serif;
  font-size: 12px;
  color: #999;
  text-align: center;
  font-style: italic;
  margin: 0;
}

/* --- Lien retour sports nautiques --- */
.surf-backlink {
  text-align: center;
  padding: 30px 20px 60px;
}

.surf-backlink a {
  font-family: "futura-pt", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #0f527d;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.surf-backlink a:hover {
  color: #6cb7d6;
}

.surf-backlink a i {
  font-size: 12px;
}


/* === RESPONSIVE SURF PAGE === */

@media (max-width: 900px) {
  .surf-duo,
  .surf-duo--reverse {
    flex-direction: column;
    gap: 30px;
  }

  .surf-duo-image {
    max-width: 100%;
  }

  .surf-image-break {
    height: 280px;
  }

  .surf-image-break-content {
    padding: 30px 30px;
    justify-content: center;
  }

  .surf-image-break-quote h3 {
    font-size: 1.2em;
  }

  .spot-card {
    max-width: 100%;
  }

  .surf-section-header h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 620px) {
  .surf-intro {
    padding: 40px 16px 20px;
  }

  .surf-intro p {
    font-size: 15px;
  }

  .surf-image-break {
    height: 220px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  }

  .surf-image-break-content {
    padding: 20px;
  }

  .surf-image-break-quote {
    padding: 20px 24px;
  }

  .surf-image-break-quote h3 {
    font-size: 1em;
  }

  .surf-facility {
    flex: 1 1 45%;
    max-width: none;
  }

  .surf-faq-question {
    font-size: 14px;
    padding: 18px 0;
  }

  .surf-map iframe {
    height: 280px;
  }

  .surf-cta h2 {
    font-size: 1.5em;
  }

  .surf-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-bleu,
  .btn-jaune {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}


/* ============================================================
   TOURISME PAGES — Composants spécifiques
   Destination cards, vignettes texte, listes icônes, nav sticky
   Réutilise les composants surf-* existants pour intro, duo,
   separator, section-header, image-full, cta, backlink, etc.
   ============================================================ */

/* --- Destination Cards (variante spot-card pour lieux touristiques) --- */
.destination-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.destination-card {
  flex: 1 1 260px;
  max-width: 360px;
  background: #fff;
  border: 1px solid #e8e4df;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}

.destination-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(15, 82, 125, 0.12);
}

.destination-card-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #0f527d 0%, #1a6b9e 40%, #0a3a5a 100%);
}

.destination-card-visual .spip_documents {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.destination-card-visual .spip_documents img,
.destination-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.destination-card:hover .destination-card-visual img,
.destination-card:hover .destination-card-visual .spip_documents img {
  transform: scale(1.06);
}

.destination-card-badge {
  position: absolute;
  top: 14px;
  left: 0;
  background: #0f527d;
  color: #fff;
  padding: 6px 16px;
  font-family: "futura-pt", sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.destination-card-badge--nature { background: #2e8b57; }
.destination-card-badge--culture { background: #8b5e3c; }
.destination-card-badge--plage { background: #2980b9; }
.destination-card-badge--event { background: #c0392b; }

.destination-card-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.destination-card-body h3 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #000;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.02em;
}

.destination-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 8px;
}

/* Réutilise spot-pill pour les pills distance */

.destination-card-body p {
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}


/* --- Tourisme Vignettes (texte seul, grille souple) --- */
.tourisme-vignettes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1200px;
  margin: 50px auto 20px;
  padding: 0 20px;
}

.tourisme-vignette {
  flex: 1 1 280px;
  max-width: 400px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid #ede9e4;
  border-top: 3px solid #e1d9d0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tourisme-vignette:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 82, 125, 0.06);
}

.tourisme-vignette h3 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0f527d;
  margin: 0 0 12px;
}

.tourisme-vignette p {
  font-family: "futura-pt", sans-serif;
  font-size: 14.5px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 8px;
}

.tourisme-vignette p:last-child {
  margin-bottom: 0;
}


/* --- Tourisme Liste à icônes --- */
.tourisme-list {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tourisme-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: "futura-pt", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.tourisme-list li i {
  color: #0f527d;
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.tourisme-list li strong {
  color: #000;
}


/* --- Tourisme Navigation sticky (Art 114/115) --- */
.tourisme-nav {
  position: sticky;
  top: 64px;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #e8e4df;
  padding: 0;
  margin: 0 0 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tourisme-nav::-webkit-scrollbar {
  display: none;
}

.tourisme-nav-inner {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  min-width: max-content;
}

.tourisme-nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 20px;
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.tourisme-nav-item:hover {
  color: #0f527d;
}

.tourisme-nav-item.is-active {
  color: #0f527d;
  border-bottom-color: #0f527d;
}

/* --- Destination Section (wrapper par destination Art 114/115) --- */
.tourisme-destination {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 20px 60px;
  scroll-margin-top: 130px;
}

.tourisme-destination-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 24px 20px;
}

.tourisme-destination-divider::before,
.tourisme-destination-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d9d3cc;
}

.tourisme-destination-divider span {
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #0f527d;
  background: #f5f2ee;
  padding: 6px 18px;
  border-radius: 999px;
  white-space: nowrap;
}


/* --- Destination Card with SVG illustration (no photo) --- */
.destination-card-visual--illu {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.destination-card-visual--illu img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.6s ease;
}

.destination-card:hover .destination-card-visual--illu img {
  opacity: 0.9;
  transform: scale(1.1);
}

@media (max-width: 620px) {
  .destination-card-visual--illu img {
    width: 70px;
    height: 70px;
  }
}

/* --- Tourisme Info Grid (practical info blocks with SVG) --- */
.tourisme-info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.tourisme-info-item {
  flex: 1 1 200px;
  max-width: 280px;
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border: 1px solid #ede9e4;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tourisme-info-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 82, 125, 0.08);
}

.tourisme-info-item img {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: block;
  background: #0f527d;
  border-radius: 50%;
  padding: 12px;
  box-sizing: content-box;
}

.tourisme-info-item h4 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #000;
  margin: 0 0 8px;
}

.tourisme-info-item p {
  font-family: "futura-pt", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #666;
  margin: 0;
}


/* --- Section fond alterné (désactivé — fond blanc uniforme) --- */
.tourisme-section--alt {
  background: #fff;
}

/* --- Destination Hero (image pleine largeur + nom overlaid) --- */
.tourisme-dest-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
 max-width: 1440px;
  margin: 0 auto 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}

.tourisme-dest-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 58, 90, 0.88) 0%, rgba(10, 58, 90, 0.35) 45%, rgba(10, 58, 90, 0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

#blocgauche .tourisme-dest-hero .spip_documents {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

#blocgauche .tourisme-dest-hero .spip_documents img,
#blocgauche .tourisme-dest-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  max-width: none;
}

.tourisme-dest-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 48px;
  z-index: 2;
}

#blocgauche .tourisme-dest-hero-overlay h2 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-size: 2.6em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 8px;
  text-align: left;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.tourisme-dest-hero-overlay h2 span {
  font-weight: 700;
}

#blocgauche .tourisme-dest-hero-overlay p {
  font-family: "futura-pt", sans-serif;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  letter-spacing: 0.02em;
      text-align: left;
}

/* --- Section Dark (bleu nuit inversé) --- */
.tourisme-section--dark {
  background: #0f527d;
  padding: 80px 20px;
  text-align: center;
}

#blocgauche .tourisme-section--dark p {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 300;
  font-size: 1.6em;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

.tourisme-section--dark p span {
  font-weight: 600;
  font-style: normal;
  color: #fff;
}

.tourisme-section--dark::before {
  content: '\201C';
  display: block;
  font-family: Georgia, serif;
  font-size: 5em;
  color: rgba(255, 255, 255, 0.15);
  line-height: 0.6;
  margin-bottom: 20px;
}

/* --- Contenu texte fluide centré --- */
.tourisme-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 20px;
}

#blocgauche .tourisme-content h3 {
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 600;
  font-size: 1.3em;
  color: #0f527d;
  margin: 32px 0 14px;
  text-align: left;
}

#blocgauche .tourisme-content h3:first-child {
  margin-top: 0;
}

.tourisme-content p {
  font-family: "futura-pt", sans-serif;
  font-size: 15.5px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 14px;
  text-align: left;
}

.tourisme-content p strong {
  color: #0f527d;
}

/* --- Highlight Card (info pratique) --- */
.tourisme-highlight {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: #f9f7f4;
  border-left: 3px solid #0f527d;
  max-width: 860px;
  margin: 0 auto;
}

.tourisme-section--alt .tourisme-highlight {
  background: #fff;
}

.tourisme-highlight i {
  color: #0f527d;
  font-size: 16px;
  flex-shrink: 0;
}

.tourisme-highlight p {
  font-family: "futura-pt", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin: 0;
}

#blocgauche .tourisme-highlight p strong {
  color: #0f527d;
  font-weight: 600;
}


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

@media (max-width: 900px) {
  .destination-card {
    max-width: 100%;
  }

  .tourisme-vignette {
    max-width: 100%;
  }

  .tourisme-nav-item {
    padding: 12px 14px;
    font-size: 12px;
  }

  .tourisme-destination {
    padding: 50px 16px 40px;
  }

  .tourisme-dest-hero {
    height: 280px;
  }

  .tourisme-dest-hero-overlay {
    padding: 30px 32px;
  }

  #blocgauche .tourisme-dest-hero-overlay h2 {
    font-size: 2em;
  }

  .tourisme-section--dark {
    padding: 60px 20px;
  }

  #blocgauche .tourisme-section--dark p {
    font-size: 1.3em;
  }

  .tourisme-section--dark::before {
    font-size: 3.5em;
  }

  .tourisme-highlight {
    margin: 0 16px;
  }

  .tourisme-content {
    padding: 30px 16px;
  }

  .surf-duo-text h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 620px) {
  .destination-card-visual {
    height: 160px;
  }

  .tourisme-vignette {
    flex: 1 1 100%;
    padding: 22px 18px;
  }

  .tourisme-list li {
    font-size: 14px;
  }

  .tourisme-nav-item {
    padding: 10px 12px;
    font-size: 11px;
  }

  .tourisme-dest-hero {
    height: 220px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 14px 100%, 0 calc(100% - 14px));
  }

  .tourisme-dest-hero-overlay {
    padding: 20px 22px;
  }

  #blocgauche .tourisme-dest-hero-overlay h2 {
    font-size: 1.5em;
  }

  #blocgauche .tourisme-dest-hero-overlay p {
    font-size: 13px;
  }

  .tourisme-section--dark {
    padding: 50px 16px;
  }

  #blocgauche .tourisme-section--dark p {
    font-size: 1.1em;
  }

  .tourisme-section--dark::before {
    font-size: 2.5em;
  }

  .tourisme-highlight {
    padding: 14px 16px;
    margin: 0 12px;
  }

  .tourisme-destination-divider span {
    font-size: 11px;
    padding: 5px 14px;
  }

  .surf-duo-text h2 {
    font-size: 1.5em;
  }

  .surf-duo-text h3 {
    font-size: 1.15em;
  }
}


/* ============================================================
   DANS LA MÊME RUBRIQUE — Slider immersif custom (0 dépendance)
   ============================================================ */

.same-rubrique-section {
  padding: 80px 0 00px;
  overflow: hidden;
}

/* --- Slider container --- */
.sr-slider {
  --sr-gap: 28px;
  --sr-pad: clamp(40px, 14vw, 340px);
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.sr-slider__track {
  display: flex;
  gap: var(--sr-gap);
  padding-left: var(--sr-pad);
  padding-right: var(--sr-gap);
  will-change: transform;
}

.sr-slider.is-dragging .sr-slider__track {
  transition: none !important;
}

.sr-slider.is-dragging {
  cursor: grabbing;
}

/* --- Slide : exactement 3 visibles dans l'espace droit --- */
.sr-slider__slide {
  width: calc((100vw - var(--sr-pad) - var(--sr-gap) * 3) / 3);
  height: 450px;
  flex-shrink: 0;
}

.same-rubrique-slide {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  cursor: grab;
}

/* Clip-path signature — impair : encoche bas-gauche / pair : encoche bas-droite */
.sr-slider__slide:nth-child(odd) .same-rubrique-slide {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 40px 100%, 0 calc(100% - 40px));
}

.sr-slider__slide:nth-child(even) .same-rubrique-slide {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

.sr-slider.is-dragging .same-rubrique-slide {
  cursor: grabbing;
}

/* Image */
.same-rubrique-slide__img {
  position: absolute;
  inset: 0;
}

.same-rubrique-slide__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

.same-rubrique-slide:hover .same-rubrique-slide__img img {
  transform: scale(1.08);
}

/* Overlay gradient — opacity pour transition fluide */
.same-rubrique-slide__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Couche permanente légère (lisibilité h3) */
.same-rubrique-slide__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Couche hover — fondu fluide via opacity */
.same-rubrique-slide__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 82, 125, 0.15) 0%,
    rgba(15, 82, 125, 0.40) 45%,
    rgba(15, 82, 125, 0.80) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}

.same-rubrique-slide:hover .same-rubrique-slide__overlay::after {
  opacity: 1;
}

/* H3 — centré, disparaît au hover */
.same-rubrique-slide__name {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  font-family: "itc-avant-garde-gothic-pro", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  line-height: 1.15;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.same-rubrique-slide:hover .same-rubrique-slide__name {
  opacity: 0;
  transform: translateY(-12px);
}

/* Bloc hover — centré, caché par défaut */
.same-rubrique-slide__hover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.same-rubrique-slide:hover .same-rubrique-slide__hover {
  opacity: 1;
  transform: translateY(0);
}

/* Description */
.same-rubrique-slide__slogan,
.same-rubrique-slide__slogan * {
  max-width: 420px;
  font-family: "futura-pt", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

/* SVG + */
.same-rubrique-slide__plus {
  width: 40px;
  height: 40px;
  margin-top: 16px;
  flex-shrink: 0;
}

/* --- Navigation controls --- */
.same-rubrique-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
  margin-bottom: 10px;
  padding: 0 20px;
}

.same-rubrique-prev,
.same-rubrique-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #0f527d;
  background: transparent;
  color: #0f527d;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.same-rubrique-prev:hover,
.same-rubrique-next:hover {
  background: #0f527d;
  color: #fff;
  transform: scale(1.08);
}

.same-rubrique-prev.is-disabled,
.same-rubrique-next.is-disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .sr-slider {
    --sr-gap: 22px;
    --sr-pad: clamp(24px, 8vw, 100px);
  }

  /* 2 vignettes visibles */
  .sr-slider__slide {
    width: calc((100vw - var(--sr-pad) - var(--sr-gap) * 2) / 2);
  }

  .sr-slider__slide:nth-child(odd) .same-rubrique-slide {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  }

  .sr-slider__slide:nth-child(even) .same-rubrique-slide {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
  }
}

@media (max-width: 600px) {
  .same-rubrique-section {
    padding: 50px 0 40px;
  }

  .sr-slider {
    --sr-gap: 16px;
    --sr-pad: 28px;
  }

  /* 1 vignette visible */
  .sr-slider__slide {
    width: calc(100vw - var(--sr-pad) - var(--sr-gap) * 2);
  }

  .sr-slider__slide:nth-child(odd) .same-rubrique-slide {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 25px 100%, 0 calc(100% - 25px));
  }

  .sr-slider__slide:nth-child(even) .same-rubrique-slide {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 25px), calc(100% - 25px) 100%, 0 100%);
  }

  .same-rubrique-controls {
    margin-top: 24px;
  }

  .same-rubrique-prev,
  .same-rubrique-next {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}