/* Kaihi CMS — CSS généré automatiquement */

:root {
  --color-primary:     #376178;
  --color-header-bg:   #8AADC2;
  --color-footer-bg:   #8AADC2;
  --color-footer-text: #ffffff;
  --color-text:        #7A7A7A;
  --color-link:        #8AADC2;
  --color-h1:  #ffffff;  --size-h1: 2.5rem;  --weight-h1: 600;  --style-h1: normal;
  --color-h2:  #376178;  --size-h2: 2rem;  --weight-h2: 600;  --style-h2: normal;
  --color-h3:  #8AADC2;  --size-h3: 1.75rem;  --weight-h3: 600;  --style-h3: normal;
  --color-h4:  #555555;  --size-h4: 20px;  --weight-h4: 600;  --style-h4: normal;
  --color-h5:  #555555;  --size-h5: 1rem;  --weight-h5: 600;  --style-h5: normal;
  --color-h6:  #555555;  --size-h6: 0.9rem;  --weight-h6: 600;  --style-h6: normal;
  --font: 'Poppins', -apple-system, sans-serif;
  --content-width: 800px;
  --gallery-gap: 12px;
  --tip-bg:             #3a6374;
  --tip-color:          #ffffff;
  --activity-h1-color:  #376178;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { 
  font-family: var(--font); 
  color: var(--color-text); 
  background: #fff; 
  overflow-x: hidden;
  line-height: 1.5;
  font-size: 17px;
}
img  { display: block; max-width: 100%; }
a    { color: var(--color-link); }

/* ── Header ── */
.site-header {
  background: var(--color-header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo { flex-shrink: 0; }
.site-logo-img { max-height: 48px; width: auto; }
.site-logo-text { color: #fff; font-size: 1.3rem; font-weight: 700; text-decoration: none; letter-spacing: -.3px; }

.site-nav ul  { list-style: none; display: flex; gap: 28px; }
.site-nav li  { position: relative; }
.site-nav a   {
  color: rgba(255,255,255,.85); 
  font-size: 1rem; 
  font-weight: 600; 
  text-decoration: none; 
  transition: color .15s; 
  display: flex; 
  align-items: center; 
  gap: 5px; 
}
.site-nav a:hover { color: #fff; }
.nav-arrow    { font-size: .6rem; opacity: .7; }

.site-nav .nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--color-header-bg);
  min-width: 200px;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  z-index: 200;
  flex-direction: column;
  gap: 0;
}
.has-dropdown.open .nav-dropdown { display: flex; }
.nav-dropdown li { padding: 0; list-style: none; }
.nav-dropdown a  { 
  display: block; 
  padding: 12px 20px; 
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 1px solid #c4c4c4; 
  gap: 0; }
.nav-dropdown li:last-child a {border-bottom: none; }

/* ── Cover image ── */
.cover {
  width: 100%;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.cover-title-wrap {
  width: 100%;
  background: #00000078;
  padding: 80px 40px;
  text-align: center;
}

.cover-title {
  line-height: 1.2;
}

.page-hero-no-cover {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 40px 20px 0;
}

.page-hero-no-cover h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ── Contenu centré ── */
.page-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}

.cover-title           { color: var(--color-h1); font-size: var(--size-h1); font-weight: var(--weight-h1); font-style: var(--style-h1); }
.page-hero-no-cover h1 { color: var(--color-h1); font-size: var(--size-h1); font-weight: var(--weight-h1); font-style: var(--style-h1); }
.page-content h2 { font-size: var(--size-h2); font-weight: var(--weight-h2); font-style: var(--style-h2); margin: 36px 0 16px; color: var(--color-h2); scroll-margin-top: 80px; }
.page-content h3 { font-size: var(--size-h3); font-weight: var(--weight-h3); font-style: var(--style-h3); margin: 28px 0 12px; color: var(--color-h3); scroll-margin-top: 80px; }
.page-content h4 { font-size: var(--size-h4); font-weight: var(--weight-h4); font-style: var(--style-h4); margin: 20px 0 10px; color: var(--color-h4); }
.page-content h5 { font-size: var(--size-h5); font-weight: var(--weight-h5); font-style: var(--style-h5); margin: 16px 0 8px;  color: var(--color-h5); }
.page-content h6 { font-size: var(--size-h6); font-weight: var(--weight-h6); font-style: var(--style-h6); margin: 12px 0 6px;  color: var(--color-h6); }
.page-content p  { margin-bottom: 16px; }
.page-content ul, .page-content ol { margin: 0 0 16px 40px; }
.page-content li { line-height: 1.7; }
.page-content strong { font-weight: 600; }
.page-content a  { color: var(--color-link); }
.page-content blockquote {
  border-left: 3px solid var(--color-primary);
  padding: 8px 16px;
  margin: 16px 0;
  color: #666;
  font-style: italic;
}

/* ── Sommaire simple (sans photo) ── */
.sommaire {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.sommaire__title { font-size: 29px; font-weight: 600; text-transform: uppercase; color: var(--color-primary); margin-bottom: 12px; }
.sommaire ul     { list-style: none; padding: 0; margin: 0; }
.sommaire li  { line-height: 1.7; margin-bottom: 6px; }
.sommaire li.toc-sub { padding-left: 16px; }
.sommaire a      { color: var(--color-link); text-decoration: none;}
.sommaire a:hover { text-decoration: underline; }

/* ── Sommaire pleine largeur avec photo de fond ── */
.sommaire-with-photo {
  width: 100vw;
  position: relative;
  left: 50%; right: 50%;
  margin-left: -50vw; margin-right: -50vw;
  margin-top: 32px; margin-bottom: 32px;
  min-height: 420px;
  display: grid;
  grid-template-columns: auto 1fr;
  background-size: cover;
  background-position: center;
  border: none;
  border-radius: 0;
  padding: 0;
}
.sommaire-with-photo .sommaire__title {
  font-size: 29px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 28px;
}
.sommaire-text {
  padding: 48px 174px 48px 44px;
  background: rgba(20, 20, 20, 0.58);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.sommaire-with-photo ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.sommaire-with-photo li.toc-sub    { padding-left: 20px; }
.sommaire-with-photo a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  font-size: 18px;
}
.sommaire-with-photo li.toc-sub a { color: rgba(255,255,255,.65);}
.sommaire-with-photo a:hover { color: #fff; }
.sommaire-photo-spacer { /* div droite — la photo vient du background parent */ }

@media (max-width: 768px) {
  .sommaire-with-photo  { grid-template-columns: 1fr; min-height: auto; }
  .sommaire-photo-spacer { display: none; }
  .sommaire-text        { padding: 32px 24px; }
}

/* ── Galeries pleine largeur ── */
/* Technique "full bleed" : sort du conteneur centré */
.gallery {
  width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 24px;
  margin-bottom: 24px;
  padding-left: var(--gallery-gap);
  padding-right: var(--gallery-gap);
}

/* Chaque figure utilise le ratio réel de la photo (aspect-ratio en inline style) */
.gallery-figure { margin: 0; }
.gallery-figure img { width: 100%; height: auto; display: block; }

/* 1 photo */
.gallery-1 { }

/* 2 photos paysage : côte à côte */
.gallery-2h {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 3 photos paysage */
.gallery-3h {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 4 photos paysage (2×2) */
.gallery-4h {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 5 photos paysage : 2×2 gauche + 1 grande droite (colonnes égales = même hauteur à ratio 3:2) */
.gallery-5h {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: end;
}
.g5-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 4 photos portrait : 4 en ligne */
.gallery-4v {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 3 photos : 2 portraits + 1 paysage (V | H | V)
   Colonnes proportionnelles aux ratios → même hauteur sans recadrage */
.gallery-1h2v {
  display: grid;
  grid-template-columns: 4fr 9fr 4fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 4 portraits + 2 paysages : 2 lignes de (V|H|V) */
.gallery-4v2h .g4v2h-row {
  display: grid;
  grid-template-columns: 4fr 9fr 4fr;
  gap: var(--gallery-gap);
  align-items: start;
}
.gallery-4v2h .g4v2h-row + .g4v2h-row { margin-top: var(--gallery-gap); }

/* 2 portraits + 5 paysages : 1 ligne (V|H|V) + 2 lignes de 2H */
.gallery-5h2v .g5h2v-top {
  display: grid;
  grid-template-columns: 4fr 9fr 4fr;
  gap: var(--gallery-gap);
  align-items: start;
}
.gallery-5h2v .g5h2v-mid,
.gallery-5h2v .g5h2v-bot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
  margin-top: var(--gallery-gap);
}

/* 6 photos : 2 portraits gauche (côte à côte) + 4 paysages droite (2×2) */
.gallery-2v4h {
  display: grid;
  grid-template-columns: 10fr 11fr;
  gap: var(--gallery-gap);
  align-items: start;
}
.g2v4h-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}
.g2v4h-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 4 photos : 2 portraits gauche (côte à côte) + 2 paysages droite (empilés) */
.gallery-2v2h {
  display: grid;
  grid-template-columns: 11fr 6fr;
  gap: var(--gallery-gap);
  align-items: stretch;
}
.g2v2h-left {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
  align-content: start;
}
.g2v2h-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* 6 photos paysage : 2 lignes de 3 */
.gallery-6h {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 7 photos paysage : 2×2 en haut + ligne de 3 en bas */
.gallery-7h { display: flex; flex-direction: column; gap: var(--gallery-gap); }
.g7-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}
.g7-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 8 photos paysage : bloc 5h (2×2 gauche + 1 grand droit) + ligne de 3 */
.gallery-8h { display: flex; flex-direction: column; gap: var(--gallery-gap); }
.g8-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}
.g8-topleft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}
.g8-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* 6 paysages + 2 portraits : bloc 5h + ligne (V|H|V) */
.gallery-6h2v { display: flex; flex-direction: column; gap: var(--gallery-gap); }
.g6h2v-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}
.g6h2v-topleft {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gallery-gap);
  align-items: start;
}
.g6h2v-bot {
  display: grid;
  grid-template-columns: 4fr 9fr 4fr;
  gap: var(--gallery-gap);
  align-items: start;
}

/* Fallback auto */
.gallery-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--gallery-gap);
  align-items: start;
}

/* ── Picto titres (ktitle-picto-fa-*) ── */
h2 > .fa-solid,
h3 > .fa-solid {
  margin-right: 0.35em;
  vertical-align: middle;
}

/* ── Icones section (klm-icone-*) ── */
[class*="klm-icone-"] h2::before,
[class*="klm-icone-"] h3::before {
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  margin-right: 0.4em;
  vertical-align: middle;
}
.klm-icone-bed h2::before,      .klm-icone-bed h3::before      { content: "\f236"; }
.klm-icone-plane h2::before,    .klm-icone-plane h3::before    { content: "\f072"; }
.klm-icone-car h2::before,      .klm-icone-car h3::before      { content: "\f1b9"; }
.klm-icone-train h2::before,    .klm-icone-train h3::before    { content: "\f239"; }
.klm-icone-calendar h2::before, .klm-icone-calendar h3::before { content: "\f073"; }
.klm-icone-clock h2::before,    .klm-icone-clock h3::before    { content: "\f017"; }
.klm-icone-ticket h2::before,   .klm-icone-ticket h3::before   { content: "\f145"; }
.klm-icone-hiking h2::before,   .klm-icone-hiking h3::before   { content: "\f6ec"; }
.klm-icone-question h2::before, .klm-icone-question h3::before { content: "\f059"; }
.klm-icone-thumbs-up h2::before,.klm-icone-thumbs-up h3::before{ content: "\f164"; }
.klm-icone-star h2::before,     .klm-icone-star h3::before     { content: "\f005"; }
.klm-icone-pizza h2::before,    .klm-icone-pizza h3::before    { content: "\f818"; }
.klm-icone-glass h2::before,    .klm-icone-glass h3::before    { content: "\f57b"; }
.klm-icone-tree h2::before,     .klm-icone-tree h3::before     { content: "\f1bb"; }
.klm-icone-ship h2::before,        .klm-icone-ship h3::before        { content: "\f21a"; }
.klm-icone-wave h2::before,        .klm-icone-wave h3::before        { content: "\f773"; }
.klm-icone-exclamation h2::before, .klm-icone-exclamation h3::before { content: "\f071"; }

/* ── Icones widget_activites (klm-icone-* sur .wa-title) ── */
[class*="klm-icone-"].wa-title::before {
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 30px;
  margin-right: 0.4em;
}
.wa-title.klm-icone-excursion::before { content: "\f54b"; }

/* ── Bloc FAQ (ka_faq) ── */
.ka-faq-block {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: 32px;
  margin-bottom: 32px;
  background: var(--color-primary);
}
.ka-faq-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 5px;
  padding-right: 20px;
  padding-bottom: 24px;
  padding-left: 20px;
}
.ka-faq-inner h2,
.ka-faq-inner h3,
.ka-faq-inner h4,
.ka-faq-inner h5,
.ka-faq-inner h6 { color: #fff; }
.ka-faq-inner p,
.ka-faq-inner li,
.ka-faq-inner a { color: #fff; }
.ka-faq-inner strong { color: #fff; }
.ka-faq-inner .section-content { color: #fff; }
@media (max-width: 768px) {
  .ka-faq-inner { padding: 28px 16px; }
}

/* ── Grille ka_activity_qf ── */
.aqf-row {
  width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: 32px;
  margin-bottom: 32px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: stretch;
}
.aqf-card {
  display: flex;
  flex-direction: column;
}
.aqf-title {
  color: var(--color-h3);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 14px;
  scroll-margin-top: 80px;
}
.aqf-bottom { margin-top: auto; }
.aqf-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 20px 0;
}
.aqf-photos { display: flex; flex-direction: column; gap: 8px; }
.aqf-photo  { margin: 0; }
.aqf-photo img { width: 100%; height: auto; border-radius: 4px; object-fit: cover; }
.ka-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
}
.ka-btn-primary {
  background: var(--color-link);
  color: #fff !important;
  border: 2px solid var(--color-link);
}
.ka-btn-primary:hover { opacity: 0.82; }
.ka-btn-secondary {
  background: transparent;
  color: var(--color-link) !important;
  border: 2px solid var(--color-link);
}
.ka-btn-secondary:hover { background: var(--color-primary); color: #fff; }
.ka-btn-inverted {
  background: var(--color-primary);
  color: #fff !important;
  border: 2px solid var(--color-primary);
}
.ka-btn-inverted:hover { 
  background: #fff;
  color: var(--color-primary) !important; 
}
.ka-btn-inverted-filled {
  background: #fff;
  color: var(--color-primary);
  border: 2px solid #fff;
}
.ka-btn-inverted-filled:hover { background: transparent; color: #fff; }

/* ── Widget activité ── */
.wa-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: stretch;
  margin: 32px 0;
}
.widget-activite {
  background: var(--color-primary);
  border-radius: 12px;
  padding: 32px 32px;
  display: flex;
  flex-direction: column;
  /* seul : centré avec max-width */
  max-width: 480px;
  margin: 32px auto;
}
.wa-row .widget-activite {
  flex: 1;
  max-width: 380px;
  margin: 0;
}
.wa-title {
  font-weight: 600;
  font-size: 17px;
  color: #fff;
  margin-bottom: 20px;
}
.wa-content { color: #fff; }
.wa-content p { color: #fff; margin-bottom: 10px; }
.wa-content ul, .wa-content ol { color: #fff; margin: 0 0 10px 24px; }
.wa-btn-wrap { text-align: center; margin-top: auto; padding-top: 24px; }
.wa-btn-wrap a { color: #fff }

/* ── Classes sémantiques ── */

/* ka_tip : encadré informatif (icône "i" cercle à gauche) */
.ka_tip {
  background: var(--tip-bg);
  color: var(--tip-color);
  border-radius: 12px;
  padding: 5px 20px 5px 100px;
  margin: 24px 0;
  position: relative;
}
.ka_tip::before {
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  content: "\f129";
  font-size: 25px;
  width: 1em;
  height: 1em;
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid rgba(255,255,255,.85);
  border-radius: 50%;
  color: rgba(255,255,255,.85);
  padding: 10px;
  box-sizing: content-box;
}
.ka_tip p        { color: var(--tip-color); margin-bottom: 10px; }
.ka_tip p:last-child { margin-bottom: 0; }
.ka_tip a        { color: rgba(255,255,255,.75); text-decoration: underline; }
.ka_tip strong   { color: var(--tip-color); }

/* ka_activity : H1 coloré et aligné à gauche (ex. pages activités) */
.ka_activity { color: var(--activity-h1-color) !important; }
.page-hero-no-cover:has(.ka_activity) { max-width: 1140px; }

/* ── Footer ── */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  text-align: center;
  padding: 22px 40px;
  margin-top: 20px;
}
.site-footer a { color: var(--color-footer-text); font-weight: 600; }

/* ── Burger ── */
.burger-btn { display: none; }

/* ── Mobile nav panel ── */
.mobile-nav {
  display: none;
  top: 70px; left: 0; right: 0;
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  background: var(--color-header-bg);
  z-index: 90;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.mobile-nav.open { display: block; }
.mobile-nav ul   { list-style: none; display: flex; flex-direction: column; }
.mobile-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-nav a    { display: block; padding: 14px 24px; color: rgba(255,255,255,.9); text-decoration: none; font-size: 1rem; font-weight: 500; }
.mobile-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.mobile-nav .nav-arrow { float: right; font-size: .75rem; }
.mobile-nav .nav-dropdown {
  display: none !important;
  position: static;
  background: rgba(0,0,0,.15);
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  flex-direction: column;
  gap: 0;
}
.mobile-nav .has-dropdown.open > .nav-dropdown { display: flex !important; }
.mobile-nav .nav-dropdown li { border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-nav .nav-dropdown a  { padding: 12px 36px; font-size: .95rem; border-bottom: none; }
body.menu-open { overflow: hidden; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .site-header-inner { padding: 0 16px; height: 58px; }
  .site-nav { display: none; }
  .mobile-nav { top: 58px; max-height: calc(100vh - 58px); }
  .cover { height: 500px; min-height: unset; }

  .burger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
  }
  .burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
    transform-origin: center;
  }
  .burger-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .cover          { min-height: 260px; }
  .cover-title-wrap { padding: 40px 20px; }

  /* Toutes les galeries : 1 photo par ligne — on cible la div gallery ET ses sous-grids */
  .gallery,
  .gallery > div { grid-template-columns: 1fr !important; }
  .g5-left { grid-template-columns: 1fr !important; }
  .g6h2v-topleft { grid-template-columns: 1fr !important; }

  .wa-row { flex-direction: column; align-items: stretch; }
  .wa-row .widget-activite { max-width: none; }
  .widget-activite { max-width: none; padding: 20px; }

  .aqf-row { grid-template-columns: 1fr !important; padding: 0 16px; }

  /* H2 / H3 taille et interlignage sur mobile */
  .page-content h2 { font-size: 1.5rem; line-height: 1.2; }
  .page-content h3 { font-size: 1.3rem; line-height: 1.2; }
}

/* ── Bandeau consentement cookies ── */
#consent-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1e1e1e;
  color: #e8e8e8;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 9999;
  box-shadow: 0 -2px 16px rgba(0,0,0,.35);
  font-size: .9rem;
  line-height: 1.5;
}
#consent-banner a { color: #aac6d8; text-decoration: underline; }
.consent-text { flex: 1; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.consent-btn {
  padding: 9px 22px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 600;
  font-family: inherit;
  transition: opacity .15s;
}
.consent-btn:hover { opacity: .85; }
.consent-btn-accept { background: var(--color-primary, #376178); color: #fff; }
.consent-btn-refuse { background: transparent; color: #aaa; border: 1px solid #555; }
@media (max-width: 600px) {
  #consent-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px 20px; }
  .consent-actions { justify-content: flex-end; }
}

/* ─── desc_activite_court ─────────────────────────────────────── */
.section-desc-activite-court {
  display: flex;
  gap: 0;
  background: var(--color-header-bg);
  color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0;
  align-items: stretch;
}
.dac-photo { flex-shrink: 0; width: 220px; min-height: 100%; }
.dac-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dac-body { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; gap: 8px; }
.dac-title { font-weight: 700; margin: 0 0 4px; }
.dac-content { flex: 1; }
.activite-liens { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }

@media (max-width: 640px) {
  .section-desc-activite-court { flex-direction: column; }
  .dac-photo { width: 100%; height: 200px; }
}
