/* ===== Boutons flottants (retour en haut + clair/sombre) ===== */
#back-to-top,#back-to-top-mobile,.footer-wrapper-backtotop,.footer-wrapper-backtotop-mobile{display:none!important;}
.gb-float{position:fixed;right:22px;bottom:22px;z-index:9990;display:flex;flex-direction:column;gap:10px;align-items:center;}
.gb-float-btn{width:46px;height:46px;border-radius:50%;border:1px solid #c9a96a;background:rgba(10,10,12,.82);color:#f6f1e7;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .3s,color .3s,opacity .3s,transform .3s;box-shadow:0 6px 18px rgba(0,0,0,.35);}
.gb-float-btn:hover{background:#c9a96a;color:#0a0a0c;}
.gb-float-btn:focus-visible{outline:2px solid #c9a96a;outline-offset:3px;}
.gb-float-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;}
.gb-float-btn .gb-ico-moon{display:none;}
html[data-gb-theme="light"] .gb-float-btn .gb-ico-sun{display:none;}
html[data-gb-theme="light"] .gb-float-btn .gb-ico-moon{display:block;}
.gb-to-top{opacity:0;transform:translateY(10px);pointer-events:none;}
.gb-to-top.is-visible{opacity:1;transform:none;pointer-events:auto;}
@media (max-width:767px){.gb-float{right:14px;bottom:14px;}.gb-float-btn{width:44px;height:44px;}}

/* ===== Mode clair ===== */
html[data-gb-theme="light"]{
  --gb-bg:#f6f2ea;--gb-bg-2:#ece5d8;--gb-ivory:#1c1a17;--gb-text:#3b372f;--gb-muted:#6e675b;
  --gb-gold:#94733a;--gb-gold-deep:#7d6030;--gb-line:rgba(148,115,58,.35);
}
html[data-gb-theme="light"] .gb-float-btn{background:rgba(246,242,234,.9);color:#1c1a17;border-color:#94733a;box-shadow:0 6px 18px rgba(0,0,0,.12);}
html[data-gb-theme="light"] .gb-float-btn:hover{background:#94733a;color:#fff;}

/* Sections claires */
html[data-gb-theme="light"] body .gb-sec{background:#f6f2ea!important;}
html[data-gb-theme="light"] body .gb-sec.gb-alt{background:#ece5d8!important;}
html[data-gb-theme="light"] body .gb-sec:not(.gb-hero-photo) .elementor-heading-title,
html[data-gb-theme="light"] body .gb-sec:not(.gb-hero-photo) .elementor-widget-text-editor,
html[data-gb-theme="light"] body .gb-sec:not(.gb-hero-photo) .elementor-widget-text-editor p,
html[data-gb-theme="light"] body .gb-sec:not(.gb-hero-photo) .elementor-widget-text-editor li{color:#2a2620!important;}
html[data-gb-theme="light"] body .gb-sec h3.elementor-heading-title,
html[data-gb-theme="light"] body .gb-sec h2.elementor-heading-title::after{color:#94733a!important;}
html[data-gb-theme="light"] body .gb-sec h2.elementor-heading-title::after{background:#94733a;}
html[data-gb-theme="light"] body .gb-quote{background:#fffdf8;border-color:rgba(148,115,58,.35);}
html[data-gb-theme="light"] body .gb-quote blockquote,
html[data-gb-theme="light"] body .elementor-testimonial-content,
html[data-gb-theme="light"] body .elementor-testimonial-content *{color:#2f2b25!important;}
html[data-gb-theme="light"] body .gb-quote figcaption{color:#5e574c;}
html[data-gb-theme="light"] body .gb-quote figcaption span,
html[data-gb-theme="light"] body .elementor-testimonial-name{color:#94733a!important;}
html[data-gb-theme="light"] body .gb-sec .elementor-widget-text-editor a{color:#7d6030;}

/* Boutons et liens dorés : or plus foncé pour le contraste */
html[data-gb-theme="light"] body .elementor-button,
html[data-gb-theme="light"] body a.gb-link{color:#7d6030!important;border-color:#94733a!important;background:transparent!important;}
html[data-gb-theme="light"] body .elementor-button:hover,
html[data-gb-theme="light"] body a.gb-link:hover{background:#94733a!important;color:#fff!important;}

/* Les bandeaux photo (accueil, page Vercors) restent sombres */
html[data-gb-theme="light"] body.home .elementor-element-fade775 .elementor-heading-title,
html[data-gb-theme="light"] body.home .elementor-element-fade775 .elementor-heading-title *{color:#f6f1e7!important;}
html[data-gb-theme="light"] body.home .elementor-element-c3e5a01 .elementor-heading-title{color:#c9a96a!important;}
html[data-gb-theme="light"] body.home .elementor-element-fade775 .elementor-button,
html[data-gb-theme="light"] body .gb-hero-photo .elementor-button{color:#c9a96a!important;border-color:#c9a96a!important;}
html[data-gb-theme="light"] body.home .elementor-element-a7b2c01 .elementor-button{color:#ffffff!important;border-color:rgba(255,255,255,.6)!important;}
html[data-gb-theme="light"] body .gb-hero-photo .elementor-heading-title{color:#ffffff!important;}
html[data-gb-theme="light"] body .gb-hero-photo .elementor-widget-text-editor p{color:#f6f1e7!important;}
html[data-gb-theme="light"] body .gb-sec.gb-hero-photo::before{background:linear-gradient(180deg,rgba(10,10,12,.55) 0%,rgba(10,10,12,.3) 35%,rgba(10,10,12,.65) 100%)!important;}

/* En-tête : texte sombre sur les pages sans bandeau photo, et une fois fixé au défilement */
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-header [class*="menu"] a,
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-header nav a,
html[data-gb-theme="light"] .sr-header .sr_sticky_showup [class*="menu"] a,
html[data-gb-theme="light"] .sr-header .sr_sticky_showup nav a{color:#1c1a17!important;}
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-header [class*="menu"] a:hover,
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-header .current-menu-item>a,
html[data-gb-theme="light"] .sr-header .sr_sticky_showup .current-menu-item>a{color:#94733a!important;}
html[data-gb-theme="light"] .sr-header .elementor-section.sr_sticky_showup,
html[data-gb-theme="light"] .sr-header .elementor-sticky--active{background:rgba(246,242,234,.97)!important;box-shadow:0 1px 0 rgba(148,115,58,.3),0 8px 24px rgba(0,0,0,.08)!important;}
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-offcanvas-toggle,
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-offcanvas-toggle *,
html[data-gb-theme="light"] .sr_sticky_showup .sr-offcanvas-toggle,
html[data-gb-theme="light"] .sr_sticky_showup .sr-offcanvas-toggle *{color:#1c1a17!important;}
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-offcanvas-toggle-icon svg *,
html[data-gb-theme="light"] .sr_sticky_showup .sr-offcanvas-toggle-icon svg *{fill:#1c1a17!important;}
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-header .elementor-social-icon i,
html[data-gb-theme="light"] .sr_sticky_showup .elementor-social-icon i{color:#1c1a17!important;}
html[data-gb-theme="light"] body .elementor-element.elementor-element-0d08a79 .elementor-social-icon{border-color:#94733a!important;}

/* Pied de page et zones génériques du thème */
html[data-gb-theme="light"] body .elementor-location-footer,
html[data-gb-theme="light"] body footer{background:#e3dac9!important;}
html[data-gb-theme="light"] body footer .elementor-heading-title,
html[data-gb-theme="light"] body [data-elementor-type="footer"] .elementor-heading-title{color:#6e675b!important;}
html[data-gb-theme="light"] body .gb-footer-seo a{color:#6e675b!important;}
html[data-gb-theme="light"] body p,html[data-gb-theme="light"] body li{color:var(--gb-text);}
html[data-gb-theme="light"] body .gb-hero-photo p{color:#f6f1e7!important;}
html[data-gb-theme="light"] body .elementor-social-icon{border-color:#94733a!important;}
html[data-gb-theme="light"] body .elementor-social-icon i{color:#7d6030!important;}
html[data-gb-theme="light"] ::selection{background:#94733a;color:#fff;}
/* En-tête des pages intérieures en mode clair */
html[data-gb-theme="light"] body:not(.sr-over-content) header.sr-header,
html[data-gb-theme="light"] body:not(.sr-over-content) header.sr-header > *,
html[data-gb-theme="light"] body:not(.sr-over-content) header.sr-header .elementor-section{background:#f6f2ea!important;background-color:#f6f2ea!important;}
html[data-gb-theme="light"] body:not(.sr-over-content) header.sr-header{box-shadow:0 1px 0 rgba(148,115,58,.25);}
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-header .elementor-social-icon{background:transparent!important;}
/* Logo plus contrasté en mode clair (hors bandeaux photo) */
html[data-gb-theme="light"] body:not(.sr-over-content) .sr-header .sr-site-logo-img,html[data-gb-theme="light"] body:not(.sr-over-content) .sr-header img.custom-logo,html[data-gb-theme="light"] .sr_sticky_showup .sr-site-logo-img{filter:brightness(.62) saturate(1.3) contrast(1.15);}
/* Bandeaux photo : on garde la palette du mode sombre (variables locales) */
html[data-gb-theme="light"] body.home .elementor-element-fade775,
html[data-gb-theme="light"] body .gb-hero-photo{--gb-ivory:#f3ede0;--gb-text:#cfc9bd;--gb-gold:#c9a96a;--gb-line:rgba(201,169,106,.35);}
html[data-gb-theme="light"] body.home .elementor-element-fade775 .elementor-widget-heading .elementor-heading-title{color:#f3ede0!important;}
html[data-gb-theme="light"] body.home .elementor-element-fade775 .elementor-element-c3e5a01 .elementor-heading-title{color:#c9a96a!important;}
html[data-gb-theme="light"] body.home .elementor-3050 .elementor-element.elementor-element-05843ac .elementor-heading-title{color:#e4ddd1!important;}
html[data-gb-theme="light"] body.home .elementor-3050 .elementor-element.elementor-element-a7b2c01 .elementor-button{color:#ffffff!important;border-color:rgba(255,255,255,.6)!important;}
html[data-gb-theme="light"] body.home .elementor-3050 .elementor-element.elementor-element-0e1acdb .elementor-button{color:#c9a96a!important;border-color:#c9a96a!important;}
/* Pied de page en mode clair */
html[data-gb-theme="light"] body footer .elementor-widget-image img,
html[data-gb-theme="light"] body footer .elementor-widget-image .elementor-widget-container,
html[data-gb-theme="light"] body .elementor-location-footer .elementor-widget-image img{box-shadow:none!important;background:transparent!important;filter:none!important;}
html[data-gb-theme="light"] body footer img[src*="mariages.net"]{filter:none!important;opacity:1!important;}
/* Copyright : espacement des lettres réduit (les deux modes) */
html body footer .elementor-heading-title,
html body [data-elementor-type="footer"] .elementor-heading-title,
html body .elementor-element-180fa23 .elementor-heading-title{letter-spacing:.06em!important;}
html[data-gb-theme="light"] body .elementor-1011 img,html[data-gb-theme="light"] body .elementor-1011 .elementor-widget-container{box-shadow:none!important;background:transparent!important;filter:none!important;opacity:1!important;}
html body .elementor-1011 .elementor-element-180fa23 .elementor-heading-title{letter-spacing:.08em!important;}
html[data-gb-theme="light"]{background:#ece5d8!important;}
html[data-gb-theme="light"] body .elementor-1011 .elementor-element-c367693 img{filter:brightness(.62) saturate(1.3) contrast(1.15)!important;}
html[data-gb-theme="light"] body .elementor-1011 .elementor-element-c367693 img{mix-blend-mode:multiply;}
/* Espaces parasites autour du pied de page (visibles en mode clair) */
body.page #comments.comments-area{display:none!important;}
#sonaar-player{display:none!important;}
html[data-gb-theme="light"] body #footer,html[data-gb-theme="light"] body #footer .container{background:#e3dac9!important;}
body.page article{margin-bottom:0!important;}
/* Les marges des sections du pied de page restent dans le pied de page */
#footer{display:flow-root;}
#footer .elementor-1011 > .elementor-section:first-child,#footer .elementor-1011 .elementor-element-e4a225d{margin-top:0!important;}
#footer .elementor-1011 .elementor-element-e4a225d{padding-top:70px!important;padding-bottom:50px!important;margin-bottom:0!important;}

html[data-gb-theme="light"] body #footer{background:#e3dac9!important;border-top:1px solid rgba(148,115,58,.25);}
html[data-gb-theme="light"] #footer .elementor-1011 .elementor-section{background-color:transparent!important;}
html[data-gb-theme="light"]{background:#e3dac9}

/* Crédit footer */
.gb-footer-credit,.gb-footer-credit p{font-size:13px;opacity:.8;text-align:center;margin:0 0 6px;}
.gb-footer-credit a{text-decoration:underline;text-underline-offset:3px;}

/* Boutons sur photo : texte lisible au survol (modes clair et sombre) */
html body.home .elementor-3050 .elementor-element.elementor-element-0e1acdb .elementor-button:hover,
html[data-gb-theme="light"] body.home .elementor-3050 .elementor-element.elementor-element-0e1acdb .elementor-button:hover,
html[data-gb-theme="light"] body.home .elementor-element-fade775 .elementor-button:hover,
html[data-gb-theme="light"] body .gb-hero-photo .elementor-button:hover{background:#c9a96a!important;border-color:#c9a96a!important;color:#14110d!important;}
html body.home .elementor-3050 .elementor-element.elementor-element-0e1acdb .elementor-button:hover *,
html[data-gb-theme="light"] body.home .elementor-3050 .elementor-element.elementor-element-0e1acdb .elementor-button:hover *{color:#14110d!important;}
html body.home .elementor-3050 .elementor-element.elementor-element-a7b2c01 .elementor-button:hover,
html[data-gb-theme="light"] body.home .elementor-3050 .elementor-element.elementor-element-a7b2c01 .elementor-button:hover{background:#f6f1e7!important;border-color:#f6f1e7!important;color:#14110d!important;}
html body.home .elementor-3050 .elementor-element.elementor-element-a7b2c01 .elementor-button:hover *,
html[data-gb-theme="light"] body.home .elementor-3050 .elementor-element.elementor-element-a7b2c01 .elementor-button:hover *{color:#14110d!important;}
