nav a,
nav a:hover {
  color: #ffffff;
}

/* ============ FOND BEIGE GLOBAL ============ */
body,
#qodef-page-outer,
#qodef-page-wrapper,
#qodef-page-inner,
#qodef-page-content,
#qodef-page-header,
#qodef-page-header-inner,
#qodef-page-mobile-header {
    background-color: #F0EBE3 !important;
}

/* ============ PAGES LÉGALES : TYPOGRAPHIE ============ */
.page-id-10158 h2,
.page-id-10159 h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-top: 32px !important;
    margin-bottom: 12px !important;
}

.page-id-10158 h3,
.page-id-10159 h3,
.page-id-12 h3,
.page-id-12 h4 {
    font-size: 19px !important;
    line-height: 1.3 !important;
    margin-top: 24px !important;
    margin-bottom: 10px !important;
}

.page-id-10158 p,
.page-id-10158 li,
.page-id-10159 p,
.page-id-10159 li,
.page-id-12 p,
.page-id-12 li {
    font-size: 16px !important;
    line-height: 1.8 !important;
}

/* ============ TITRE MASQUÉ SEO ============ */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ============ PIED DE PAGE ============ */
#qodef-page-footer-top-area .widget_boogie_core_single_image img {
    max-width: 110px !important;
    height: auto;
}

#qodef-page-footer-top-area-inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}

#qodef-page-footer-top-area .widget {
    margin-bottom: 8px !important;
}

/* Pied de page compact : marges réduites dans les colonnes */
#qodef-page-footer-top-area-inner > .qodef-grid > .qodef-grid-inner .qodef-grid-item {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

#qodef-page-footer-top-area .qodef-grid-item > .widget:last-child {
    margin-bottom: 0 !important;
}

/* Très petits écrans : le lien Instagram ne passe pas sous le bouton « haut de page » */
@media (max-width: 350px) {
    #qodef-page-footer-top-area #block-7 p {
        padding-right: 100px;
    }
}

/* ============ LOGO EN-TÊTE ============ */
#qodef-page-header .qodef-header-logo-link {
    height: 150px !important;
}

#qodef-page-header .qodef-header-logo-link img.qodef--light,
#qodef-page-header .qodef-header-logo-link img.qodef--dark,
#qodef-page-header .qodef-header-logo-link img.qodef--main {
    height: 150px !important;
    max-height: 150px !important;
    width: auto !important;
    max-width: none !important;
}

body:not(.page-id-18) #qodef-page-header .qodef-header-logo-link,
body:not(.page-id-18) #qodef-page-header .qodef-header-logo-link img.qodef--light,
body:not(.page-id-18) #qodef-page-header .qodef-header-logo-link img.qodef--dark,
body:not(.page-id-18) #qodef-page-header .qodef-header-logo-link img.qodef--main {
    height: 80px !important;
    max-height: 80px !important;
}

.page-id-18 #qodef-page-outer {
    margin-top: -150px !important;
}

/* ============ BLOG : LISTE ============ */
.qodef-blog .qodef-e-author > a {
    font-size: 0;
}

.qodef-blog .qodef-e-author .qodef-e-author-name {
    font-size: 14px;
}

.qodef-blog .qodef-e-author > a::before {
    content: "par ";
    font-size: 14px;
}

.qodef-blog .qodef-e-read-more .qodef-m-text {
    font-size: 0 !important;
}

.qodef-blog .qodef-e-read-more a {
    white-space: nowrap !important;
    width: auto !important;
    transform: none !important;
    writing-mode: horizontal-tb !important;
}

.qodef-blog .qodef-e-read-more a::before {
    content: "Lire la suite";
    font-size: 14px;
    color: inherit;
    display: inline-block;
    white-space: nowrap;
    transform: none !important;
}

/* ============ ARTICLE : TITRE ============ */
.single-post h1.qodef-e-title.entry-title {
    font-size: 42px !important;
    line-height: 1.15 !important;
}

@media (max-width: 767px) {
    .single-post h1.qodef-e-title.entry-title {
        font-size: 30px !important;
    }
}

/* ============ ARTICLE : AUTEUR ============ */
.single-post .qodef-e-author > a {
    font-size: 0;
}

.single-post .qodef-e-author .qodef-e-author-name {
    font-size: 14px;
}

.single-post .qodef-e-author > a::before {
    content: "par ";
    font-size: 14px;
}

/* ============ ARTICLE : TITRES DE SECTION ============ */
.single-post .qodef-e-content h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin-top: 36px !important;
    margin-bottom: 14px !important;
}

.single-post .qodef-e-content h3 {
    font-size: 21px !important;
    line-height: 1.3 !important;
    margin-top: 26px !important;
    margin-bottom: 10px !important;
}

/* ============ MASQUER LE PARTAGE ============ */
.single-post .qodef-social-share,
.single-post .qodef-blog-single-share,
.single-post .qodef-e-share {
    display: none !important;
}

/* ============ NAVIGATION ENTRE ARTICLES ============ */
#qodef-single-post-navigation a span,
#qodef-single-post-navigation a .qodef-m-text,
#qodef-single-post-navigation .qodef-m-nav-label {
    font-size: 0 !important;
}

#qodef-single-post-navigation .qodef-m-nav--prev a span::after,
#qodef-single-post-navigation .qodef-m-nav-prev a span::after,
#qodef-single-post-navigation .qodef-prev a span::after {
    content: "Article précédent";
    font-size: 13px;
    letter-spacing: 1px;
}

#qodef-single-post-navigation .qodef-m-nav--next a span::after,
#qodef-single-post-navigation .qodef-m-nav-next a span::after,
#qodef-single-post-navigation .qodef-next a span::after {
    content: "Article suivant";
    font-size: 13px;
    letter-spacing: 1px;
}

/* ============ À LIRE AUSSI ============ */
#qodef-related-posts > h4.qodef-e-title {
    font-size: 0 !important;
}

#qodef-related-posts > h4.qodef-e-title::after {
    content: "À lire aussi";
    font-size: 26px;
}

#qodef-related-posts .qodef-grid-inner {
    align-items: stretch !important;
}

#qodef-related-posts .qodef-grid-item,
#qodef-related-posts .qodef-e,
#qodef-related-posts .qodef-e-inner {
    height: 100% !important;
}

#qodef-related-posts .qodef-e-inner {
    display: flex !important;
    flex-direction: column !important;
}

#qodef-related-posts .qodef-e-content {
    flex: 1 !important;
}

#qodef-related-posts .qodef-e-title {
    font-size: 19px !important;
    line-height: 1.3 !important;
}

body.page-id-18,
.page-id-18 #qodef-page-outer,
.page-id-18 #qodef-page-wrapper,
.page-id-18 #qodef-page-inner,
.page-id-18 #qodef-page-content,
.page-id-18 #qodef-page-header,
.page-id-18 #qodef-page-header-inner {
    background-color: #FFFFFF !important;
}

.page-id-18 #qodef-page-header,
.page-id-18 #qodef-page-header-inner,
.page-id-18 .qodef-header--boxed-wrapper,
.page-id-18 .qodef-header-navigation,
.page-id-18 .qodef-header-navigation > ul {
    background-color: transparent !important;
}

.qodef-side-area-opener,
.qodef-header-side-area-opener,
#qodef-page-header .qodef-opener-icon,
#qodef-page-header .qodef-widget-holder,
#qodef-side-area-opener,
a.qodef-opener-icon.qodef-side-area-opener {
    display: none !important;
}

#qodef-page-header .qodef-header--boxed-wrapper {
    padding-right: 0 !important;
}
.page-id-18 #qodef-page-outer { margin-top: -90px !important; }
/* Images à la une : hauteur plafonnée, recadrage centré */
.single-post .qodef-blog-top-content .qodef-e-media-image img,
.qodef-blog .qodef-e-media-image img {
    width: 100% !important;
    height: 480px !important;
    object-fit: cover;
    object-position: center;
}
/* Images à la une : entières, hauteur limitée, centrées */
.single-post .qodef-blog-top-content .qodef-e-media-image img,
.qodef-blog .qodef-e-media-image img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 520px !important;
    display: block;
    margin: 0 auto;
}
/* Titres à largeur fixe (page Photographie) */
@media (max-width: 1400px) {
  .elementor-element-b1da704, .elementor-element-ee713dc,
  .elementor-element-9e6a67b, .elementor-element-7851d0b {
    width: 100% !important; max-width: 100% !important;
  }
}
/* Accueil : titre entier sur mobile */
@media (max-width: 767px) {
  .elementor-element-5a65409 { width: 100% !important; max-width: 100% !important; }
  .elementor-element-5a65409 .qodef-m-title { font-size: 36px !important; line-height: 1.15 !important; }
}
/* Accueil : titres jaunes sans chevauchement */
.elementor-element-7298e05 .qodef-m-title { line-height: 1.15 !important; }
.elementor-element-10cf55f .qodef-m-title { line-height: 1.2 !important; margin-top: 10px !important; }
@media (max-width: 767px) {
  .elementor-element-7298e05 .qodef-m-title { font-size: 34px !important; }
  .elementor-element-10cf55f .qodef-m-title { font-size: 22px !important; }
}
/* Tarifs : formules empilées sur tablette, titre sans coupure sur mobile */
@media (max-width: 1024px) {
  .elementor-element-763e415 > .elementor-container > .elementor-column { width: 100% !important; }
  .elementor-element-886ef4f > .elementor-widget-wrap,
  .elementor-element-8fcc954 > .elementor-widget-wrap {
    border-left-width: 1px !important; border-top-width: 0 !important;
  }
}
@media (max-width: 767px) {
  .elementor-element-382bab5 .qodef-m-title { font-size: 34px !important; line-height: 1.15 !important; }
}

/* Fond du menu et du pied de page identiques sur toutes les pages (hors accueil) */
body:not(.page-id-18) .qodef-header--boxed-wrapper { background-color: transparent !important; }
body:not(.page-id-18) #qodef-page-footer-top-area { background-color: #F0EBE3 !important; }


/* Visionneuses : pas de nom ni de légende sous les photos en plein écran */
.mfp-title, .elementor-slideshow__title, .elementor-slideshow__description { display: none !important; }

/* Photos : pas de menu « Enregistrer l'image » ni de glisser-déposer (mobile et ordinateur) */
img { -webkit-touch-callout: none; -webkit-user-drag: none; user-select: none; }

/* Bordure orange du menu identique sur toutes les pages (hors accueil) */
body:not(.page-id-18) .qodef-header--boxed-wrapper,
body:not(.page-id-18) #qodef-page-header .sub-menu { border-color: #CA4D3F !important; }

/* Articles : libellé de partage masqué (aucun réseau de partage n'est activé) */
.qodef-e-info-social-share { display: none !important; }
