@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&family=Italiana&family=Manrope:wght@300;400;500;600&family=Bodoni+Moda:wght@400;500&family=Prata&family=Playfair+Display:wght@400;500&family=Tenor+Sans&family=DM+Sans:wght@300;400;500&display=swap');
:root{--ink:#302d29;--paper:#f7f5f0;--gold:#9b8566}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:'Manrope',sans-serif;font-weight:300}header{height:116px;background:#faf9f6;display:flex;align-items:center;justify-content:space-between;padding:12px 5%;position:relative;z-index:5}.brand{display:flex;align-items:center;gap:16px;color:var(--ink);text-decoration:none;letter-spacing:2.5px;font-size:11px}.brand img{width:92px;height:74px;object-fit:contain}.nav{display:flex;gap:32px}.nav a{text-transform:uppercase;font-size:11px;letter-spacing:1.5px;color:var(--ink);text-decoration:none;padding-bottom:8px}.nav a.active,.nav a:hover{border-bottom:1px solid var(--gold)}.menu-toggle{display:none}.hero{min-height:570px;background:#dedbd4;background-size:cover;background-position:center;display:flex;justify-content:center;align-items:center;text-align:center}.hero.has-photo{color:white}.hero-inner{padding:70px 25px}.eyebrow{font-size:12px;letter-spacing:4px;text-transform:uppercase}.hero h1{font:400 clamp(52px,7vw,105px)/1.06 'Bodoni Moda',serif;max-width:920px;margin:28px auto}.line{width:65px;height:1px;background:currentColor;margin:30px auto}.intro{text-align:center;padding:90px 20px 110px;max-width:920px;margin:auto}.ornament{width:130px;height:85px;object-fit:contain;opacity:.8}.intro p{font:400 clamp(25px,3vw,41px)/1.35 'Bodoni Moda',serif;margin:30px auto}.feature{display:grid;grid-template-columns:1fr 1fr;min-height:560px;background:#eeeae3}.feature.reverse .photo{order:2}.photo{background-color:#c9c4b9;background-position:center;background-size:cover;min-height:480px;display:grid;place-items:center}.photo span{max-width:250px;text-align:center;font-size:12px;letter-spacing:2px;text-transform:uppercase;color:#625e57;line-height:2}.feature-text{padding:85px 13%;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.feature-text h2,.contact-wrap h2{font:400 clamp(42px,4.5vw,72px)/1.06 'Bodoni Moda',serif;margin:20px 0}.feature-text>p:not(.eyebrow){font-size:16px;line-height:2;max-width:460px}.link{margin-top:28px;text-transform:uppercase;letter-spacing:2px;text-decoration:none;color:var(--ink);border-bottom:1px solid var(--gold);padding-bottom:12px;font-size:12px}.link span{padding-left:22px}footer{text-align:center;padding:80px 15px;background:#e9e5dc;font-size:12px;letter-spacing:1px;line-height:2}footer img{width:140px;height:95px;object-fit:contain}footer a{color:inherit;font-size:10px}.contact-wrap{padding:80px 8%;display:grid;grid-template-columns:1fr 1fr;gap:9%}.contact-wrap form{display:grid;gap:20px}.contact-wrap label{font-size:12px;letter-spacing:1px}.contact-wrap input,.contact-wrap textarea{display:block;width:100%;padding:13px;margin-top:8px;border:1px solid #c7c0b3;background:transparent;font:16px 'Manrope',sans-serif}.contact-wrap button,.admin button{background:#302d29;color:white;border:0;padding:15px 24px;cursor:pointer;letter-spacing:1px}.contact-wrap small{font-size:11px}@media(max-width:850px){header{height:90px}.brand img{width:65px}.brand span{font-size:9px}.menu-toggle{display:block;border:0;background:none;cursor:pointer}.nav{display:none;position:absolute;top:90px;left:0;right:0;background:#faf9f6;padding:30px;flex-direction:column}.nav.shown{display:flex}.hero{min-height:470px}.feature{grid-template-columns:1fr}.feature.reverse .photo{order:0}.feature-text{padding:70px 8%}.contact-wrap{grid-template-columns:1fr}}

/* Vidéo d’accueil et monogramme détouré */
.hero{position:relative;overflow:hidden}.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}.hero:has(.hero-video)::before{content:"";position:absolute;inset:0;background:rgba(0,0,0,.36);z-index:1}.hero:has(.hero-video){color:#fff}.hero-inner{position:relative;z-index:2}.brand img,footer img,.ornament{mix-blend-mode:multiply}.hero:has(.hero-video) .hero-inner{text-shadow:0 2px 15px #0006}

/* Version 3 — titrage haute couture à forts contrastes */
:root{--display-font:'Bodoni Moda', 'Times New Roman',serif;--body-font:'Manrope',Arial,sans-serif}
.hero h1,.feature-text h2,.contact-wrap h2,.intro p{font-family:var(--display-font);font-weight:400;letter-spacing:-.035em}
.hero h1{font-size:clamp(57px,7.5vw,112px);line-height:1.09}
.feature-text h2{font-size:clamp(43px,4.7vw,76px);line-height:1.15}
.intro p{font-size:clamp(26px,3vw,42px);line-height:1.5}
.eyebrow,.nav a,.link{font-family:var(--body-font);letter-spacing:.23em}
.brand span{font-family:'Italiana',serif;font-size:15px;letter-spacing:.16em}

/* V4 — contraste éditorial, élégance typographique et couleurs personnalisables */

:root{--display-font:'Italiana',serif;--body-font:'DM Sans',sans-serif;--ink:#292721;--paper:#f7f4ee;--gold:#9d8056;--title-color:#392c25;--accent-color:#a58458;--body-color:#45413b;--nav-color:#3e362e;--eyebrow-color:#a58458;--footer-color:#4d4236}
body{font-family:var(--body-font);color:var(--body-color)}.hero h1,.feature-text h2,.contact-wrap h2,.intro p{font-family:var(--display-font);font-weight:400;letter-spacing:-.045em;color:var(--title-color)}.hero h1{font-size:clamp(64px,9vw,144px);line-height:.96;max-width:1100px}.feature-text h2{font-size:clamp(52px,5.8vw,94px);line-height:1.02}.intro p{font-size:clamp(31px,3.5vw,52px);line-height:1.27}.eyebrow{color:var(--eyebrow-color);font-size:10px;letter-spacing:.36em}.nav a{color:var(--nav-color);font-size:10px;letter-spacing:.24em}.link{color:var(--accent-color)}.brand span{font-family:'Tenor Sans',sans-serif;letter-spacing:.25em;font-size:12px}footer{color:var(--footer-color)}.hero.has-photo h1,.hero:has(.hero-video) h1{color:#fff}.hero.has-photo .eyebrow,.hero:has(.hero-video) .eyebrow{color:#f5e7cc}
/* Le monogramme PNG possède déjà une vraie transparence : pas de blend mode */
.brand img,footer img,.ornament{mix-blend-mode:normal}

/* V6 : indépendance du fond photographique et des réglages de texte */
.hero {height:570px;min-height:0;isolation:isolate;overflow:hidden;}
.hero-photo-layer {position:absolute;inset:0;z-index:0;background-color:#dedbd4;background-size:cover;background-position:center;pointer-events:none;}
.hero-inner {position:relative;z-index:2;max-height:100%;overflow:visible;}
.hero .eyebrow,.hero h1 {max-width:100%;overflow-wrap:break-word;}
.hero.has-photo .hero-photo-layer {background-color:#dedbd4;}
@media(max-width:850px){.hero{height:470px;min-height:0;}}
/* Police par défaut universelle : Gilda Display, sans écraser les styles personnalisés inline */
:root{--display-font:'Gilda Display',serif;--body-font:'Gilda Display',serif}
body,button,input,textarea,select,.nav a,.brand span,.eyebrow,.link,.hero h1,.feature-text h2,.feature-text p,.intro p,.contact-wrap h2,footer{font-family:'Gilda Display',serif}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1;pointer-events:none}
.hero.hero-video-active::after{content:"";position:absolute;inset:0;z-index:1;background:rgba(0,0,0,.25);pointer-events:none}
.hero.hero-video-active .hero-inner{z-index:2}
.hero.hero-video-active h1,.hero.hero-video-active .eyebrow{color:#fff}

/* Accueil : bandeau immersif occupant presque toute la hauteur visible.
   L'en-tête reste visible et une bande de 32px de la section suivante apparaît. */
body[data-page="accueil"] .hero {
  height: calc(100vh - 116px - 32px);
  height: calc(100svh - 116px - 32px);
  min-height: 0;
}
@media (max-width: 850px) {
  body[data-page="accueil"] .hero {
    height: calc(100vh - 90px - 24px);
    height: calc(100svh - 90px - 24px);
    min-height: 0;
  }
}

/* Monogramme blanc superposé à la photo ou vidéo d’accueil */
body[data-page="accueil"] .hero-overlay-monogram {
  display:block; width:clamp(115px, 13vw, 190px); height:auto;
  margin:0 auto 18px; object-fit:contain; position:relative; z-index:3;
  filter:drop-shadow(0 2px 9px rgba(0,0,0,.3));
}
body[data-page="accueil"] .hero-inner {width:100%;}
@media(max-width:850px){
  body[data-page="accueil"] .hero-overlay-monogram {width:clamp(90px, 23vw, 135px);margin-bottom:12px;}
}

/* Mariages : bandeau immersif aux mêmes dimensions que celui de l’accueil */
body[data-page="mariages"] .hero {
 height:calc(100vh - 116px - 32px);
 height:calc(100svh - 116px - 32px);
 min-height:0;
}
@media(max-width:850px){body[data-page="mariages"] .hero {
 height:calc(100vh - 90px - 24px);
 height:calc(100svh - 90px - 24px);
 min-height:0;
}}

/* Sélecteur de langues trilingue */
.language-switch{display:flex;align-items:center;gap:9px;white-space:nowrap;margin-left:22px;font:14px 'Gilda Display',serif;letter-spacing:.08em}
.language-switch a{color:var(--nav-color,#3e362e);text-decoration:none;opacity:.58;padding:7px 2px}
.language-switch a.current{opacity:1;border-bottom:1px solid currentColor}
.language-switch a:hover{opacity:1}
.lang-sep{color:#a9a093;font-size:12px}
.translation-status{font:12px Arial,sans-serif;color:#6c604c;margin:6px 0 8px}
.translation-controls{display:flex;gap:8px;margin-bottom:12px}
.translation-controls button{font:12px Arial,sans-serif;padding:8px 12px;background:#75654e}
.translation-manual{display:block;width:100%;min-height:75px;padding:10px;margin:10px 0;border:1px solid #ccc;font:14px Arial,sans-serif}
.admin details{margin:8px 0;padding:7px 10px;background:#f6f3ed}
.admin details summary{cursor:pointer;font:13px Arial,sans-serif}
@media(max-width:1100px){header{padding-left:3%;padding-right:3%}.nav{gap:14px}.language-switch{margin-left:8px}}
@media(max-width:850px){.language-switch{margin-left:auto;margin-right:16px}.nav{z-index:10}.brand span{max-width:130px}}
@media(max-width:400px){.language-switch{gap:5px;font-size:12px;margin-right:8px}.brand span{display:none}}

/* Page Mariages : vidéo entièrement visible, bandes noires si nécessaire. */
body[data-page="mariages"] .hero.hero-video-active {background:#000;}
body[data-page="mariages"] .hero.hero-video-active .hero-photo-layer {background:#000 !important;background-image:none !important;}
body[data-page="mariages"] .hero.hero-video-active .hero-video {object-fit:contain;background:#000;}

/* Galerie photographique, inspirée des filtres et de la présentation du Château de Bagnols */
.gallery-heading{text-align:center;padding:88px 20px 36px}.gallery-heading h1{font:400 clamp(48px,7vw,100px)/1.1 'Gilda Display',serif;margin:18px 0}.gallery-heading>p:last-child{font-size:20px;line-height:1.6}.gallery-filters{display:flex;justify-content:center;flex-wrap:wrap;gap:10px 28px;padding:12px 16px 38px}.gallery-filters button{border:0;background:transparent;font:16px 'Gilda Display',serif;cursor:pointer;padding:8px 0;color:#71695e}.gallery-filters button.selected{color:#2c2924;border-bottom:1px solid #9b8566}.gallery-grid{max-width:1450px;margin:0 auto;padding:0 3% 95px;columns:3;column-gap:18px}.gallery-tile{display:block;width:100%;padding:0;margin:0 0 18px;border:0;background:transparent;cursor:zoom-in;break-inside:avoid}.gallery-tile img{display:block;width:100%;height:auto;transition:opacity .2s}.gallery-tile:hover img{opacity:.86}.gallery-empty{text-align:center;padding:70px}.gallery-lightbox{position:fixed;inset:0;z-index:9999;display:none;align-items:center;justify-content:center;background:rgba(12,11,10,.95);color:white}.gallery-lightbox.open{display:flex}.gallery-lightbox img{max-width:87vw;max-height:82vh;object-fit:contain}.gallery-lightbox button{position:absolute;background:none;border:0;color:#fff;font-size:48px;cursor:pointer}.gallery-close{top:12px;right:24px}.gallery-prev{left:20px}.gallery-next{right:20px}.gallery-caption{position:absolute;bottom:20px;text-align:center;left:20%;right:20%;font-size:15px}.gallery-open{overflow:hidden}
.site-footer{background:#e8e3d9;text-align:left;padding:0;letter-spacing:normal}.footer-main{max-width:1450px;margin:auto;padding:80px 5%;display:grid;grid-template-columns:1.7fr 1.1fr 1fr 1fr;gap:40px}.footer-main h2{font:23px 'Gilda Display',serif;letter-spacing:.11em}.footer-main h3{font:19px 'Gilda Display',serif;margin:15px 0 24px}.footer-identity img{width:115px;height:90px;object-fit:contain}.footer-main p{font-size:15px;line-height:1.8;letter-spacing:0}.footer-main a{display:block;font-size:15px;text-decoration:none;line-height:2.1;letter-spacing:0}.footer-main a:hover{text-decoration:underline}.footer-bottom{border-top:1px solid #cfc7ba;padding:20px 5%;display:flex;gap:24px;justify-content:space-between;font-size:12px}.footer-bottom a{font-size:12px}.gallery-admin-list{margin-top:22px}.gallery-admin-item{display:grid;grid-template-columns:180px 1fr;gap:20px;padding:16px 0;border-bottom:1px solid #ddd}.gallery-admin-item>img{width:180px;height:150px;object-fit:cover;background:#ddd}.gallery-admin-buttons{display:flex;gap:8px}.gallery-admin-buttons button{padding:8px 14px}
@media(max-width:850px){.gallery-grid{columns:2}.footer-main{grid-template-columns:1fr 1fr;padding:50px 7%}.gallery-admin-item{grid-template-columns:100px 1fr}.gallery-admin-item>img{width:100px;height:100px}}@media(max-width:540px){.gallery-grid{columns:1}.footer-main{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.gallery-heading{padding-top:55px}}

/* Histoire : photographies adaptatives sans recadrage ni format carré imposé */
body[data-page="histoire"] .feature {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  min-height:0;
  align-items:stretch;
}
body[data-page="histoire"] .feature .photo {
  min-height:0;
  background-image:none !important;
  background-color:#e9e5dc;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
body[data-page="histoire"] .feature .photo img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
body[data-page="histoire"] .feature-text {min-width:0; padding:clamp(35px,5vw,85px) 10%;}
@media(max-width:850px){
 body[data-page="histoire"] .feature {grid-template-columns:1fr;}
 body[data-page="histoire"] .feature .photo {min-height:0;}
 body[data-page="histoire"] .feature .photo img {width:100%;height:auto;max-height:75vh;object-fit:contain;}
}

/* Adaptation intégrale du bandeau Histoire et fonds harmonisés */
body[data-page="histoire"] .hero,
body[data-page="histoire"] .hero-photo-layer {background-color:var(--paper) !important;}
body[data-page="histoire"] .hero-photo-layer {background-size:contain !important;background-repeat:no-repeat !important;background-position:center !important;}
/* Supprime les bandes noires des vidéos, notamment sur Mariages */
body[data-page="mariages"] .hero.hero-video-active,
body[data-page="mariages"] .hero.hero-video-active .hero-photo-layer,
body[data-page="mariages"] .hero.hero-video-active .hero-video {background-color:var(--paper) !important;}
body[data-page="mariages"] .hero.hero-video-active .hero-video {object-fit:contain;}
body[data-page="histoire"] .feature .photo {background-color:var(--paper);}

/* Sauts de ligne saisis dans les champs de l’administration */
.hero .eyebrow,.hero h1,.intro p,.feature-text h2,.feature-text>p,.site-footer p,.site-footer h2,.site-footer h3{white-space:pre-line;}
