/*
Theme Name:  Archy Child
Theme URI:   https://themeforest.net/user/pixelwars/portfolio
Description: Make your modifications to [Archy Theme] in this child theme.
Author:      Infobul
Author URI:  https://themeforest.net/user/pixelwars
Version:     2.1.0
Template:    archy-wp
Tags:        blog
Text Domain: archy-child
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/*Chapadoc - général */
.screen-reader-text {
    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;
}

/* text shadow on qi widget "Animated text"*/
.qodef-qi-animated-text .qodef-m-title {
    /*text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);*/
    font-family: "Berkshire Swash", serif !important;
}
h3, h4 {
    /*font-family: ""Berkshire Swash", serif" !important;*/
    font-size: 24px;
    font-weight: 600 !important;
    margin-top: 0;
}
h4.bdt-ps-sub-title {
    font-family: "Raleway" !important;
}

.image-50 {
    width: 50% !important;
    height: auto !important;
}
.box-shadow {
    box-shadow: 2px 2px 10px 0 rgba(0,0,0,.3) !important;
}
.no-last-p-margin p:last-child {
    margin: 0 !important;
}

body {
    background-image: 
    linear-gradient(
        rgba(255,248,225,0.45),
        rgba(255,248,225,0.45)
    ),
    url("https://chapadoc.com/wp-content/uploads/2026/09/fond.webp") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
    font-weight: 500;
}

@media screen and (max-width: 767px) {
    body {
        background-attachment: scroll !important;
    }
    .qodef-m-title, h2:not(.infobul-specs-table__title) {
        font-size: 32px !important;
    }

    .title-stretch > h2 {
        font-size: 24px !important ;
    }

    .infobul-specs-table__title {
        font-size: 24px !important;
    }

    .widget-area .widget {
        margin: 0 !important;
    }

    .footer-widgets.widget-area { 
        padding: 0 0 10px !important;
    }
}
/* Chapadoc - Menu */

#menu-primary .sub-menu > li > a{
    padding-left: 10px !important;
}

/* Tous les niveaux : deux etats, independants des badges du theme. */
html body .site-navigation .nav-menu ul li:not(.menu-logo) > a {
    color: rgb(242, 232, 213) !important;
    background: none !important;
}

html body .site-navigation .nav-menu ul li:not(.menu-logo) > a .link-text {
    color: inherit !important;
    background: none !important;
}

@media screen and (max-width: 767px) {
    #menu-primary > li > a {
        padding-left: 10px !important;
    }
}

/* Neutraliser les fonds de ligne et les badges de survol/selection. */
html body .site-navigation .nav-menu ul li:not(.menu-logo) {
    background: none !important;
}

html body .site-navigation .nav-menu ul li:not(.menu-logo) > a .link-text::before {
    background: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Page courante : fond sur le lien en mobile. */
html body .site-navigation .nav-menu ul li.current-menu-item > a,
html body .site-navigation .nav-menu ul li.current_page_item > a,
html body .site-navigation .nav-menu ul li > a[aria-current="page"] {
    color: #3f3b35 !important;
    background: #fcf1e5 !important;
}

/* Desktop : fond sur la span au premier niveau, sur le lien dans les sous-menus. */
@media screen and (min-width: 992px) {
    html body .site-navigation .nav-menu > ul > li.current-menu-item > a,
    html body .site-navigation .nav-menu > ul > li.current_page_item > a,
    html body .site-navigation .nav-menu > ul > li > a[aria-current="page"] {
        background: none !important;
    }

    html body .site-navigation .nav-menu > ul > li.current-menu-item > a .link-text,
    html body .site-navigation .nav-menu > ul > li.current_page_item > a .link-text,
    html body .site-navigation .nav-menu > ul > li > a[aria-current="page"] .link-text {
        background: #fcf1e5 !important;
    }
}

#masthead+#masthead{
    box-shadow: 0 0 20px 0 rgba(0,0,0,.4) !important;
}

/* Par défaut : toutes les pages ont le titre en foncé */
.site-header .site-title a,
.site-header .site-title-text {
    color: #fff !important;
}

/* Exception : accueil, header initial avant scroll en blanc */
body.home .site-header:not(.clone) .site-title a,
body.home .site-header:not(.clone) .site-title-text {
    color: #fff !important;
}

/* Header sticky/cloné : toujours foncé, y compris sur l'accueil */
.site-header.clone .site-title a,
.site-header.clone .site-title-text {
    color: #fff !important;
}

/* Menu mobile : bouton à droite, y compris dans le header sticky. */
@media screen and (max-width: 991px) {
    .site-navigation .menu-toggle {
        margin-left: auto;
        margin-right: 0;
    }
    .is-header-small .site-branding {
        left: 0 !important;
    }
    .site-title-text {
        font-size: 32px !important;
        padding-left: 10px;
    }
}

@media screen and (min-width: 992px) {
    .site-branding .site-title img {
        max-height: 74px;
    }

    .site-branding .site-title a {
        display: inline-flex;
        align-items: center;
        gap: 12px;
    }

    .site-branding .site-title-text--with-logo {
        display: inline-block;
    }

    .is-header-small.is-menu-align-left .site-branding img, .is-header-small.is-menu-align-right .site-branding img {
        margin-top: 0;
    }

    .site-header.clone .site-title a, .site-header.clone .site-title-text {
        margin-top: -5px !important;
    }
}

/* Chapadoc - Home Page */

/* Chapadoc - Home Page - Prime Slider General
 * Suppression de l'encart blanc décoratif en bas à droite
 * (skin Slide du plugin Prime Slider)
 */
.bdt-prime-slider-skin-slide .bdt-slide-featured,
.bdt-prime-slider-skin-slide .bdt-slide-shape {
    display: none !important;
}

.bdt-prime-slider-skin-slide,
.bdt-prime-slider-skin-slide .bdt-slideshow,
.bdt-prime-slider-skin-slide .bdt-slideshow-items {
    background: transparent !important;
}

.bdt-prime-slider-skin-slide::before,
.bdt-prime-slider-skin-slide::after,
.bdt-prime-slider::before,
.bdt-prime-slider::after,
.bdt-slideshow::before,
.bdt-slideshow::after {
    display: none !important;
    content: none !important;
}

.bdt-prime-slider .bdt-main-title .bdt-title-tag{
    font-family: 'Birthstone' !important;
}

/* Chapadoc - Home page - Bandeau location */
@media screen and (min-width: 992px) {
    .accessories-rent-home > .e-con-inner > .e-child > div {
        height: 200px;
        padding: 25px;
    }
    .accessories-rent-home > .e-con-inner > .e-child > div img{
        max-height: 150px;
        width: auto;
    }
}

@media screen and (max-width: 991px) {
    .accessories-rent-home > .e-con-inner > .e-child {
        grid-template-columns: 1fr 4fr !important;
    }
    .accessories-rent-home > .e-con-inner > .e-child:not(:last-child) {
        border-bottom: 1px solid rgba(66, 56, 37, 0.12);
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    .accessories-rent-home > .e-con-inner > .e-child > div img{
        width: 100%;
        height: auto;
    }
}

/* Chapadoc - Home Page - Cartes prestations */
.elementor-widget-infobul_interactive_card {
    box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
}
.infobul-card__content-inner {
    margin-top: 30px;
}

/* Chapadoc - Footer - Social media */
.footer-widgets .wp-block-columns {
    height: 50px;
}
.footer-widgets figure.wp-block-gallery, .footer-widgets figure.wp-block-image {
    margin: 0 !important ;
}

.footer-widgets .wp-block-list li img {
    width: 20px !important;
    display: inline-block;
    margin-right: 5px;
}
.footer-social-media-block { 
    margin: 0 0 10px;
}
footer .site-info a{
    font-style:italic;
}
/* Chapadoc - Pages prestations */
@media screen and (min-width: 768px) {
    .elementor.elementor-1178 {
        margin-top: 70px;
    }
}
div:has(> .presta-main-image) {
    margin: 0;
    padding: 0 !important
}

.presta-main-image {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0 !important;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
}

.presta-main-image > .e-con-inner{
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    padding-block-start: 0 !important;
}

.presta-thumb-grid {
    margin: 0;
    padding: 0 !important;
    --e-con-grid-template-rows: auto !important;
    align-self: start;
}

.presta-thumb-grid > .e-con-inner{
    --row-gap: 12px;
    --column-gap: 12px;
    padding-block-end: 0 !important;
    margin-bottom: 0 !important;
}

.elementor .presta-main-image img{
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.elementor .presta-thumb-grid img{
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
}

/* Chapadoc - formulaires */
.qodef-qi-contact-form-7 .textarea-small{
    height:80px;
}

/* Chapadoc - formulaire devis Infobul */
.infobul-cf7-form label {
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: left;
}

.infobul-cf7-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.infobul-cf7-form input:not([type="submit"]),
.infobul-cf7-form textarea,
.infobul-cf7-form select {
    display: block;
    width: 100%;
    margin-top: 6px;
}

.infobul-cf7-form textarea.textarea-small {
    height: 80px;
}

/* Chapadoc - page de contact*/
.qodef-qi-contact-form-7 label {
    margin-bottom: 20px;
    font-size: 14px;
}
.wpcf7-form-control.wpcf7-submit[type="submit"] {
    visibility: visible;
}

/* Chapadoc - Qui sommes nous */

/* shadow sur masonry */
.elementor-widget-container .qodef-qi-image-gallery-masonry .qodef-image-wrapper.qodef-grid-item {
    box-shadow: 0 0 20px 0 rgba(0,0,0,.4);
}
/* Chapadoc - footer */
@media screen and (min-width: 768px) {
  .footer-widgets.widget-area .widget {
    margin: 0 0 0 0;
  }

  .footer-widgets.widget-area .widget p {
    font-size: 18px;
  }
}

@media screen and (min-width: 768px) {
  .flaw-card > p:first-child {
    margin: 0;
  }
  .flaw-card .alignleft, .flaw-card .wp-block-image .alignleft {
    margin: 8px 38px 15px 0;
  }
  .partner-text .alignleft, .partner-text .wp-block-image .alignleft{
    margin: 8px 38px 20px 0
  }
}

/* Chapadoc caract technique */
.infobul-specs-table__description {
    font-weight: 400 !important; 
}

.infobul-masonry-pricing-gallery__resting-price-wrap {
    padding-bottom: 5px;
}

@media screen and (max-width: 991px) {
    .accordion-carac-tech h3 {
        font-size: 18px !important;
        font-family: 'Raleway', sans-serif !important;
    }
}

/* Chapadoc - Plan du site */

.plan-du-site-liste {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plan-du-site ul {
    margin-bottom: 0;
}

.plan-du-site-liste li {
    margin-bottom: 8px;
}

.plan-du-site-liste .children {
    margin-top: 8px;
    margin-left: 25px;
}

.plan-du-site-liste a {
    text-decoration: none;
}

.plan-du-site__hors-menu {
    margin-top: 0;
}

/* partenaires */
@media screen and (max-width: 991px) {
    .logo-partner {
        float: left;
        margin-top: 0;
        margin-bottom: 0;
        margin-right: 20px;
    }
}

/*general mobile management */
@media screen and (max-width: 991px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block;
    }

    .infobul-modal-button__trigger {
        text-align: center !important;
    }

    /* mobile accordion */
    .mobile-accordion {
        box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
    }
    /* Espace réservé au picto */
    .mobile-accordion > h4 {
        position: relative;
        padding-left: 55px !important;
    }

    /* Réglages communs aux 4 pictos */
    .mobile-accordion > h4::before {
        content: "";
        position: absolute;

        left: 12px;
        top: 50%;
        transform: translateY(-50%);

        width: 32px;
        height: 32px;

        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
    }

    /* Le prix */
    .mobile-accordion > h4:nth-of-type(1)::before {
        background-image: url("/wp-content/uploads/2026/09/icone_euro_brun.webp");
    }

    /* L'impact écologique */
    .mobile-accordion > h4:nth-of-type(2)::before {
        background-image: url("/wp-content/uploads/2026/09/icone_feuille_brun.webp");
    }

    /* La durée de vie */
    .mobile-accordion > h4:nth-of-type(3)::before {
        background-image: url("/wp-content/uploads/2026/09/icone_horloge_brun.webp");
    }

    /* La robustesse */
    .mobile-accordion > h4:nth-of-type(4)::before {
        background-image: url("/wp-content/uploads/2026/09/icone_bouclier_brun.webp");
    }
}
@media screen and (min-width: 992px) {
    .hide-desktop {
        display: none !important;
    }
    
    .show-desktop {
        display: block;
    }
}
