/* Pages intérieures (modèle « Page Contenu ») et menu du header. Ajout 2026-11-30.
   Toutes les règles visent des classes nouvelles : rien ne change sur les pages existantes. */

/* Bannière des pages intérieures : moins haute que celle de l'accueil */
.page-contenu .section-banner .header-carousel { height: 70vh !important; min-height: 420px; }
.page-contenu .section-banner .header-carousel-cell { height: 100%; }
.page-contenu .section-banner .header-carousel-content { height: 100%; justify-content: flex-end; padding-bottom: 60px; }
.page-contenu .section-banner .header-carousel-title { font-size: 3.125em; font-weight: 400; margin-top: 0; max-width: 640px; color: #fff; }
.page-contenu .section-banner .header-carousel-subheading { max-width: 560px; }
@media screen and (max-width: 600px) {
	.page-contenu .section-banner .header-carousel { height: 60vh !important; min-height: 380px; }
	.page-contenu .section-banner .header-carousel-content { padding-top: 0; padding-bottom: 40px; }
	.page-contenu .section-banner .header-carousel-title { font-size: 2em; }
}

/* Texte et photos : listes et paragraphes du texte riche */
.section-texte-photos { margin-bottom: 100px; }
.section-texte-photos .body p { margin: 0 0 1em; }
.section-texte-photos .body ul { margin: 0 0 1em; padding-left: 1.2em; }
@media screen and (max-width: 600px) { .section-texte-photos { margin-bottom: 60px; } }

/* Encadré récapitulatif */
.section-recap { width: 100%; max-width: 1280px; padding: 0 15px; box-sizing: border-box; margin: 0 auto 100px; }
.section-recap-inner { background-color: #b6715f; color: #fff; padding: 60px 8%; -webkit-font-smoothing: antialiased; }
.section-recap h3 { color: #fff; font-size: 2.25em; font-weight: 400; margin-bottom: .6em; }
.section-recap .body ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 60px; }
.section-recap .body li { break-inside: avoid; padding: 0 0 14px 22px; position: relative; }
.section-recap .body li:before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 2px; background: #fff; }
.section-recap .body p { margin: 0 0 1em; }
.section-recap .body strong { font-family: Oswald, serif; font-weight: 700; letter-spacing: .02em; }
@media screen and (max-width: 800px) {
	.section-recap { margin-bottom: 60px; }
	.section-recap-inner { padding: 40px 25px; }
	.section-recap .body ul { columns: 1; }
	.section-recap h3 { font-size: 1.75em; }
}

/* Galerie */
.section-galerie { width: 100%; max-width: 1280px; padding: 0 15px; box-sizing: border-box; margin: 0 auto 100px; }
.galerie-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.galerie-item { display: block; position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #f1f1f1; }
.galerie-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.galerie-item:hover img, .galerie-item:focus img { transform: scale(1.04); }
@media screen and (max-width: 1000px) { .galerie-grid { grid-template-columns: repeat(3, 1fr); } }
@media screen and (max-width: 600px) { .galerie-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .section-galerie { margin-bottom: 60px; } }

/* Agrandissement d'une photo */
.galerie-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.galerie-lightbox.is-open { display: flex; }
.galerie-lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.galerie-lightbox button { position: absolute; background: none; border: 0; color: #fff; font-family: Oswald, serif; font-size: 2.5em; line-height: 1; cursor: pointer; padding: 15px 20px; }
.galerie-lightbox .lb-close { top: 10px; right: 10px; font-size: 2em; }
.galerie-lightbox .lb-prev { left: 5px; top: 50%; transform: translateY(-50%); }
.galerie-lightbox .lb-next { right: 5px; top: 50%; transform: translateY(-50%); }
body.lightbox-open { overflow: hidden; }

/* FAQ */
.section-faq { width: 100%; max-width: 960px; padding: 0 15px; box-sizing: border-box; margin: 0 auto 100px; }
.faq-item { border-bottom: 1px solid #dadada; }
.faq-item:first-child { border-top: 1px solid #dadada; }
.faq-item summary { cursor: pointer; list-style: none; font-family: Oswald, serif; font-size: 1.3em; color: #b6715f; padding: 20px 40px 20px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); font-size: 1.4em; transition: transform .2s ease; }
.faq-item[open] summary:after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 0 20px; font-size: .9375em; }
.faq-answer p { margin: 0 0 .8em; }
.faq-answer ul { margin: 0 0 .8em; padding-left: 1.2em; }
@media screen and (max-width: 600px) { .faq-item summary { font-size: 1.1em; } .section-faq { margin-bottom: 60px; } }

/* En-tête sur une ligne quand le menu est assigné (demande du client, 2026-11-30) :
   logo à gauche, puis menu, bouton Réservation et Instagram à droite.
   Tout est préfixé par body.has-header-menu : retirer le menu dans Apparence > Menus rend l'ancien en-tête. */
body.has-header-menu .site-header .wpml-ls { display: none; }
body.has-header-menu .site-header .links { padding: 0; margin: 0; height: 130px; display: flex; align-items: center; }
body.has-header-menu .site-header .links-inner { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 30px; padding-left: 180px; }
body.has-header-menu .site-header .links-inner > div:first-child { order: 2; }
body.has-header-menu .site-header .header-nav { order: 1; position: static; }
body.has-header-menu .site-header .social-links { order: 3; margin: 0; font-size: 0; }
body.has-header-menu .site-header .social-links-title { display: none; }
body.has-header-menu .site-header .links .social-links .social-link { margin: 0; width: 40px; height: 40px; }
body.has-header-menu .site-header .social-link img { width: 100%; height: auto; display: block; }
body.has-header-menu .site-header .links .link { border: 1px solid #fff; padding: 0 20px; margin: 0; line-height: 42px; font-size: 1em; transition: background-color .2s ease, color .2s ease; }
body.has-header-menu .site-header .links .link:hover { background: #fff; color: #b6715f; text-decoration: none; }
body.has-header-menu .site-header .site-title { left: max(15px, calc(50% - 625px)); margin-left: 0; width: 140px; height: 130px; padding-top: 0; top: 0; display: flex; align-items: center; }
body.has-header-menu.admin-bar .site-header .site-title { top: 32px; }
@media screen and (max-width: 600px) { body.has-header-menu.admin-bar .site-header .site-title { top: 0; } }
/* L'image du logo a ~12 % de marge transparente de chaque côté : on l'agrandit et on rogne la marge gauche. */
body.has-header-menu .site-header .site-title img { width: 170px; max-width: none; height: auto; display: block; margin-left: -20px; }

/* Au défilement (classe .sticky posée par le thème) : bandeau opaque, plus bas, logo réduit.
   La hauteur réelle de .links et .site-title ne change pas : le thème s'en sert pour poser .sticky,
   la modifier ferait clignoter l'en-tête. On réduit seulement le fond et le contenu visibles. */
body.has-header-menu .site-header .links { pointer-events: none; }
body.has-header-menu .site-header .links-inner,
body.has-header-menu .site-header .site-title a { pointer-events: auto; }
body.has-header-menu .site-header .site-title { pointer-events: none; }
body.has-header-menu .site-header .links:before { height: 130px; transition: opacity .3s ease, height .3s ease; }
body.has-header-menu .site-header .links.sticky:before { opacity: 1; height: 80px; background-color: #000; }
body.has-header-menu .site-header .links-inner { transition: height .3s ease; height: 130px; }
body.has-header-menu .site-header .links.sticky { align-items: flex-start; }
body.has-header-menu .site-header .links.sticky .links-inner { height: 80px; }
body.has-header-menu .site-header .site-title a { display: flex; align-items: center; height: 130px; transition: height .3s ease; }
body.has-header-menu .site-header .site-title img { transition: width .3s ease, margin .3s ease; }
body.has-header-menu .site-header .site-title.sticky { align-items: flex-start; }
body.has-header-menu .site-header .site-title.sticky a { height: 80px; }
body.has-header-menu .site-header .site-title.sticky img { width: 120px; margin-left: -14px; }
@media screen and (max-width: 600px) {
	body.has-header-menu .site-header .links:before { height: 90px; }
	body.has-header-menu .site-header .links.sticky:before { height: 64px; }
	body.has-header-menu .site-header .links-inner { height: 90px; }
	body.has-header-menu .site-header .links.sticky .links-inner { height: 64px; }
	body.has-header-menu .site-header .site-title a { height: 90px; }
	body.has-header-menu .site-header .site-title.sticky a { height: 64px; }
	body.has-header-menu .site-header .site-title.sticky img { width: 96px; margin-left: -11px; }
}

.header-nav-toggle { display: none; }
.header-nav-list { list-style: none; margin: 0; padding: 0; display: flex; font-size: 1em; }
.header-nav-list li { margin-left: 28px; }
.header-nav-list li:first-child { margin-left: 0; }
.header-nav-list a { color: #fff; line-height: 42px; text-decoration: none; white-space: nowrap; }
.header-nav-list a:hover, .header-nav-list .current-menu-item > a { text-decoration: underline; }

/* En dessous de 1120 px : le menu passe derrière un bouton « Menu » */
@media screen and (max-width: 1119px) {
	body.has-header-menu .site-header .links-inner { gap: 14px; }
	.header-nav-toggle { display: inline-block; background: none; border: 1px solid #fff; color: #fff; font-family: Oswald, serif; font-weight: 700; font-size: 1em; line-height: 40px; padding: 0 16px; cursor: pointer; }
	.header-nav-list { display: none; position: absolute; right: 15px; top: 100%; flex-direction: column; background: #b6715f; padding: 10px 25px; min-width: 240px; box-shadow: 0 6px 20px rgba(0,0,0,.2); font-size: 1em; }
	.header-nav.is-open .header-nav-list { display: flex; }
	.header-nav-list li { margin: 0; }
	.header-nav-list a { display: block; padding: 6px 0; }
	.site-header .links:has(.header-nav.is-open), .site-header .links.nav-open { z-index: 10; }
}
@media screen and (max-width: 600px) {
	body.has-header-menu .site-header .links { height: 90px; }
	body.has-header-menu .site-header .links-inner { padding-left: 115px; gap: 10px; }
	body.has-header-menu .site-header .site-title { width: 96px; height: 90px; left: 15px; }
	body.has-header-menu .site-header .site-title img { width: 124px; margin-left: -15px; }
	body.has-header-menu .site-header .links .link { padding: 0 10px; line-height: 34px; font-size: .85em; }
	.header-nav-toggle { line-height: 34px; padding: 0 10px; font-size: .85em; }
	body.has-header-menu .site-header .links .social-links .social-link { width: 32px; height: 32px; }
}

/* Les pages autres que l'accueil reçoivent des titres « politique de confidentialité »
   (css/cookie-law-info.css, règles .page:not(.home) main h1/h2/h3/a). On rétablit ici le style
   du site, uniquement sur le modèle Page Contenu. L'identifiant #main donne la priorité. */
body.page-template-page-contenu #main a { text-decoration: none; }
body.page-template-page-contenu #main .faq-answer a,
body.page-template-page-contenu #main .section-texte-photos .body a { text-decoration: underline; }
body.page-template-page-contenu #main .section h2 { font-family: Oswald-RegularItalic, serif; font-size: 9.875em; font-weight: 400; letter-spacing: 0; line-height: normal; color: #b6715f; opacity: .7; white-space: nowrap; margin: -.5em 0 0; }
@media screen and (max-width: 1200px) { body.page-template-page-contenu #main .section h2 { font-size: 7em; line-height: 1; white-space: inherit; margin-top: -6px; margin-bottom: 20px; } }
@media screen and (max-width: 600px) { body.page-template-page-contenu #main .section h2 { font-size: 5em; } }
body.page-template-page-contenu #main .section h3 { font-family: Oswald, serif; font-size: 3.125em; font-weight: 700; letter-spacing: 0; line-height: normal; color: #b6715f; margin: 0; position: relative; z-index: 1; }
@media screen and (max-width: 1000px) { body.page-template-page-contenu #main .section h3 { font-size: 2em; } }
body.page-template-page-contenu #main .section-recap h3 { color: #fff; font-size: 2.25em; font-weight: 400; margin-bottom: .6em; }
@media screen and (max-width: 800px) { body.page-template-page-contenu #main .section-recap h3 { font-size: 1.75em; } }
body.page-template-page-contenu #main .section-contact h3 { color: #fff; margin-bottom: 1em; }
body.page-template-page-contenu #main .section-banner h1.header-carousel-title { font-family: Oswald, serif; font-size: 3.125em; font-weight: 400; letter-spacing: 0; line-height: 1; color: #fff; margin: 0 0 .5em; max-width: 640px; }
@media screen and (max-width: 600px) { body.page-template-page-contenu #main .section-banner h1.header-carousel-title { font-size: 2em; } }
body.page-template-page-contenu #main .faq-answer ul,
body.page-template-page-contenu #main .section-texte-photos .body ul { list-style: disc; padding-left: 1.2em; margin: 0 0 .8em; }
body.page-template-page-contenu #main .faq-answer li,
body.page-template-page-contenu #main .section-texte-photos .body li { padding: 0; margin: 0 0 .3em; border: 0; }
/* Sur l'accueil, le logo au-dessus du titre absorbe la marge négative ; ici rien ne l'absorbe et
   la section (overflow:hidden) coupait le haut des lettres. */
body.page-template-page-contenu #main .section h2 { margin-top: 0; line-height: 1.1; padding-top: .05em; }
@media screen and (max-width: 1200px) { body.page-template-page-contenu #main .section h2 { margin-top: 0; } }

/* Section Instagram de l'accueil (reprend le fond et les titres de l'ancienne section News) */
/* Le thème remonte le grand titre (marge négative) pour qu'il passe sous le petit : ici on les sépare,
   le petit titre au-dessus, le grand mot juste dessous, et on resserre l'espace avant le flux. */
.section-news.section-instagram { padding-top: 70px; padding-bottom: 50px; }
.section-instagram .section-news-inner h3 { margin: 0 0 4px; }
.section-instagram .section-news-inner h2 { margin: 0; line-height: .95; white-space: normal; }
.section-instagram .instagram-feed-wrap { position: relative; z-index: 1; margin-top: 18px; }
.section-instagram #sb_instagram { padding-bottom: 0 !important; }
.section-instagram #sb_instagram .sb_instagram_header { padding-top: 0 !important; margin-bottom: 18px !important; }
@media screen and (max-width: 800px) { .section-news.section-instagram { padding-top: 50px; padding-bottom: 40px; } }
