/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/


/* ----
GLOBAL SITE
---- */

.grecaptcha-badge {
    visibility: hidden
}

* {
  -webkit-tap-highlight-color: rgba(165,181,70, 0.1);
}

a:active,
button:active {
  opacity: 0.6;
}

body, body:not(.contact-page):not(.single-realisation):not(.single-post) #brx-content {
    overflow-x: hidden;
}

body *:not(.brxe-map *):not(.brx-nav-nested-items) {
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    scroll-margin-top: 60px;
}

/* Highlight des liens sur les textes */
:where(.brxe-accordion .accordion-content-wrapper) a, #brx-content :where(.brxe-icon-box .content) a, :where(.brxe-list) a, :where(.brxe-post-content):not([data-source="bricks"]) a, :where(.brxe-posts .dynamic p) a, :where(.brxe-tabs .tab-content) a, :where(.brxe-team-members) .description a, :where(.brxe-testimonials) .testimonial-content-wrapper a, #brx-content :where(.brxe-text) a, :where(a.brxe-text), :where(a.brxe-text-basic), :where(.brxe-post-comments) .comment-content a {
    text-decoration: underline;
}


/* Slider overflow */
.slider-overflow .splide__track,
.slider-overflow .bricks-swiper-container {
    overflow: visible
}

/* .slider-overflow .splide__slide:not(.is-visible) {
    opacity: .25
} */

/* Filtre n&b */
.image-nb img {
    -webkit-filter: saturate(0);
            filter: saturate(0);
}


div.brxe-heading:not(.no-headingstyle) {
    line-height: var(--lineheight-small);
    font-family: "ff-cocon-pro", sans-serif;
}


.brxe-image:not(.no-radius) {
    border-radius: var(--radius-normal);
}


#brx-content .brxe-text-link:not(.no-underline) {
    text-decoration: underline;
    text-underline-offset: 3px;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    font-size: var(--text-xs);
    font-weight: 600;
}

/* 
#brx-content .brxe-heading:not(h1) + .brxe-text.bricks-type-hero {
    margin-top: var(--space-xs);
}
#brx-content .brxe-heading + .brxe-text.bricks-type-hero + .brxe-text {
    margin-top: var(--space-m);
} */


.brxe-breadcrumbs {
    font-size: var(--text-3xs);
    gap: 4px;
    font-weight: 300;
    opacity: 0.6;
}


#brx-content .text-to-style > *:is(h2,h3,h4,h5,h6):not(:last-child) {
    margin-bottom: var(--gap-m);
}
#brx-content .text-to-style > *:is(h2,h3,h4,h5,h6):not(:first-child) {
    margin-top: var(--gap-xl);
}
#brx-content .text-to-style > p:not(:last-child) {
    margin-bottom: var(--gap-s);
}


#brx-content input:focus,
#brx-content textarea:focus,
#brx-content select:focus {
    outline: none;
}



.brxe-icon-box .icon {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}


/* BTNS AVEC ICONE FLECHE */

.brxe-button.circle {
    position: relative;
    padding-right: calc(var(--space-xs) + 30px);
}

.brxe-button.circle::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    max-height: calc(100% - 8px);
    right: 4px;
    top: 4px;
    background: var(--arrow) center right / contain no-repeat;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

/* default */
.brxe-button.circle {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white-green.svg);
}

/* backgrounds */

.brxe-button.circle.bricks-background-primary,
.brxe-button.circle.bricks-background-info {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white-blue.svg);
}

.brxe-button.circle.bricks-background-secondary {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white-brown.svg);
}

.brxe-button.circle.bricks-background-dark,
.brxe-button.circle.bricks-background-success,
.brxe-button.circle.bricks-background-warning,
.brxe-button.circle.bricks-background-danger {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white.svg);
}

.brxe-button.circle.bricks-background-light {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-dark.svg);
}

.brxe-button.circle.bricks-background-muted {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-lightblue.svg);
}

/* outline */

.brxe-button.circle.outline {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-green.svg);
}

.brxe-button.circle.outline.bricks-color-primary {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-blue.svg);
}

.brxe-button.circle.outline.bricks-color-info,
.brxe-button.circle.outline.bricks-color-muted {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-lightblue.svg);
}

.brxe-button.circle.outline.bricks-color-secondary {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-brown.svg);
}

.brxe-button.circle.outline.bricks-color-dark,
.brxe-button.circle.outline.bricks-color-success,
.brxe-button.circle.outline.bricks-color-warning,
.brxe-button.circle.outline.bricks-color-danger {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-dark.svg);
}

.brxe-button.circle.outline.bricks-color-light {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white.svg);
}

/* hover */

.brxe-button.circle:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-green.svg);
}

.brxe-button.circle.bricks-background-primary:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-blue.svg);
}

.brxe-button.circle.bricks-background-info:hover,
.brxe-button.circle.bricks-background-muted:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-lightblue.svg);
}

.brxe-button.circle.bricks-background-secondary:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-brown.svg);
}

.brxe-button.circle.bricks-background-dark:hover,
.brxe-button.circle.bricks-background-success:hover,
.brxe-button.circle.bricks-background-warning:hover,
.brxe-button.circle.bricks-background-danger:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-dark.svg);
}

.brxe-button.circle.bricks-background-light:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white.svg);
}

/* outline hover */

.brxe-button.circle.outline:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white-green.svg);
}

.brxe-button.circle.outline.bricks-color-primary:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white-blue.svg);
}

.brxe-button.circle.outline.bricks-color-info:hover,
.brxe-button.circle.outline.bricks-color-dark:hover,
.brxe-button.circle.outline.bricks-color-success:hover,
.brxe-button.circle.outline.bricks-color-warning:hover,
.brxe-button.circle.outline.bricks-color-danger:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white.svg);
}

.brxe-button.circle.outline.bricks-color-secondary:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-white-brown.svg);
}

.brxe-button.circle.outline.bricks-color-light:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-dark.svg);
}

.brxe-button.circle.outline.bricks-color-muted:hover {
    --arrow: url(/wp-content/uploads/2026/03/link-arrow-lightblue.svg);
}



.brxe-counter .suffix {
    font-size: var(--text-3xl);
    color: var(--main-color);
    font-family: "aptos";
    line-height: 0.5;
    display: inline-block;
    position: relative;
    top: -18px;
}

.dark-skin .brxe-counter {
    color: white;
}
.dark-skin .brxe-counter .suffix {
    color: var(--white);
    opacity: 0.4;
}




/* Listes à puces */
.brxe-text ol, .brxe-text ul {
    list-style-position: inside;
    padding: 0;
}
.brxe-text ul {
    list-style: none;
    padding-left: 0;
}
.brxe-text ul li {
    padding-left: 16px;
    position: relative;
}
.brxe-text ul li::before {
    content: "";
    width: 9px;
    height: 6px;
    border-top-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background: var(--dark);
    opacity: 0.3;
    display: block;
    top: 11px;
    position: absolute;
    left: 0;
}
.brxe-text ul li:not(:first-child) {
    margin-top: var(--space-2xs);
}
.brxe-text > ul:first-child {
    margin-top: 0;
}
.dark-skin .brxe-text ul li::before {
    background: var(--white);
}




/* GRAVITY STYLES */

:root {
    --gf-dark: #1E2313;
    --gf-dark-rgb: 30, 35, 19;
    --gf-principal: #A5B546;
    --gf-principal-rgb: 165, 181, 70;
    --gf-light: #fff;
    --gf-light-rgb: 255,255,255;
}

#brx-content #form .gform-theme {
    --gf-color-primary: var(--gf-principal);
    --gf-color-primary-rgb: var(--gf-principal-rgb);
    --gf-color-primary-contrast: var(--gf-light);
    --gf-color-primary-contrast-rgb: var(--gf-light-rgb);
    --gf-color-primary-darker: var(--gf-principal);
    --gf-color-primary-lighter: var(--gf-principal);
    --gf-color-secondary: var(--gf-light);
    --gf-color-secondary-rgb: var(--gf-light-rgb);
    --gf-color-secondary-contrast: var(--gf-dark);
    --gf-color-secondary-contrast-rgb: var(--gf-dark-rgb);
    --gf-color-secondary-darker: #ffffff;
    --gf-color-secondary-lighter: var(--gf-light);
    --gf-color-out-ctrl-light: rgba(var(--gf-dark-rgb), 0.1);
    --gf-color-out-ctrl-light-rgb: var(--gf-dark-rgb);
    --gf-color-out-ctrl-light-darker: rgba(var(--gf-dark-rgb), 0.35);
    --gf-color-out-ctrl-light-lighter: #F5F5F5;
    --gf-color-out-ctrl-dark: var(--gf-dark);
    --gf-color-out-ctrl-dark-rgb: var(--gf-dark-rgb);
    --gf-color-out-ctrl-dark-darker: var(--gf-dark);
    --gf-color-out-ctrl-dark-lighter: rgba(var(--gf-dark-rgb), 0.65);
    --gf-color-in-ctrl: var(--gf-light);
    --gf-color-in-ctrl-rgb: 248, 240, 239;
    --gf-color-in-ctrl-contrast: var(--gf-dark);
    --gf-color-in-ctrl-contrast-rgb: var(--gf-dark-rgb);
    --gf-color-in-ctrl-darker: #ffffff;
    --gf-color-in-ctrl-lighter: var(--gf-light);
    --gf-color-in-ctrl-primary: var(--gf-principal);
    --gf-color-in-ctrl-primary-rgb: var(--gf-principal-rgb);
    --gf-color-in-ctrl-primary-contrast: var(--gf-light);
    --gf-color-in-ctrl-primary-contrast-rgb: var(--gf-light-rgb);
    --gf-color-in-ctrl-primary-darker: var(--gf-principal);
    --gf-color-in-ctrl-primary-lighter: var(--gf-principal);
    --gf-color-in-ctrl-light: rgba(var(--gf-dark-rgb), 0.1);
    --gf-color-in-ctrl-light-rgb: var(--gf-dark-rgb);
    --gf-color-in-ctrl-light-darker: rgba(var(--gf-dark-rgb), 0.35);
    --gf-color-in-ctrl-light-lighter: #ffffff;
    --gf-color-in-ctrl-dark: var(--gf-dark);
    --gf-color-in-ctrl-dark-rgb: var(--gf-dark-rgb);
    --gf-color-in-ctrl-dark-darker: var(--gf-dark);
    --gf-color-in-ctrl-dark-lighter: rgba(var(--gf-dark-rgb), 0.65);
    --gf-radius: 5px;
    --gf-ctrl-border-color: var(--gf-dark);
    --gf-ctrl-label-color-primary: var(--gf-dark);
    --gf-ctrl-label-color-secondary: var(--gf-dark);
    --gf-ctrl-btn-border-color-secondary: var(--gf-dark);
    --gf-ctrl-file-btn-bg-color-hover: #D1D8A7;
    --gf-field-pg-steps-number-color: rgba(var(--gf-dark-rgb), 0.8);
    --gf-font-size-primary: 18px;
    --gf-font-size-secondary: 17px;
    --gf-font-size-tertiary: 17px;
    --gf-ctrl-shadow: 0 0px 0px rgba(var(--gf-color-primary-rgb), 0);
    --gf-color-danger: var(--gf-principal);
    --gf-form-gap-x: 10px;
    --gf-form-gap-y: 20px;
}

#brx-content .gform_wrapper input[type="file"] {
    -webkit-box-shadow: none;
    box-shadow: none;
}

#brx-content #form .gform-grid-row {
    margin-inline:0;-webkit-column-gap: var(--gf-form-gap-x);
    -moz-column-gap: var(--gf-form-gap-x);
    column-gap: var(--gf-form-gap-x);
    row-gap: var(--gf-form-gap-y)
}

#brx-content #form .gform-grid-row>span {
    padding-inline:0}

#brx-content #form .address_city {
    -webkit-box-flex: 2;
    -ms-flex: 2;
    flex: 2;
    inline-size: auto
}

#brx-content #form .address_zip {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    inline-size: auto
}

#brx-content #form .space {
    border: none;
}

#brx-content #form .gform-grid-row .gf_clear {
    display: none
}

#brx-content .gform_required_legend {
    padding-bottom: var(--space-2xs);
}

#brx-content .gform-footer {
    padding-top: var(--space-2xs);
}
#brx-content .gform-footer .gform_button {
    border-radius: 30px;
    font-weight: 600;
    -webkit-box-shadow: none;
            box-shadow: none;
    font-size: var(--gf-font-size-primary);
    padding: var(--space-4xs) var(--space-xs);
    line-height: var(--lineheight-extraxs);
    border: 1px solid var(--main-color);
}
#brx-content .gform-footer .gform_button:hover {
    background: transparent;
    color: var(--main-color);
}



#brx-content .table-prestas {
    border: 1px solid var(--main-color-light);
    border-radius: var(--radius-small);
}
#brx-content .line-table:not(:last-child) {
    border-bottom: 1px solid var(--main-color-light);
}
#brx-content .table-prestas .titre {
    border-right: 1px solid var(--main-color-light);
}




/* COMPLIANZ */

#cmplz-cookiebanner-container .cmplz-cookiebanner {
    max-width: calc(100% - 20px);
}

#cmplz-cookiebanner-container .cmplz-cookiebanner::before {
    content: '';
    position: absolute;
    background: white;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    border-radius: 20px;
}

#cmplz-cookiebanner-container .cmplz-cookiebanner::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: rgba(0,0,0,.5);
    overflow: hidden
}

#cmplz-cookiebanner-container .cmplz-cookiebanner>* {
    z-index: 2
}

#cmplz-document {
  max-width: 100% !important;
}

/* Ajout style btn Refus */

#cmplz-cookiebanner-container .cmplz-deny {
	position: absolute;
    top: -26px;
    right: 0;
    padding: 0;
    height: auto;
    background: transparent;
    border: none;
    color: #ccc;
    display: inline-block;
    width: auto;
    font-weight: 300;
}
#cmplz-cookiebanner-container .cmplz-deny::after {
	content: "";
	width: 8px;
    height: 8px;
    display: inline-block;
    border-top: 1px solid white;
    border-right: 1px solid white;
    position: relative;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    margin-left: 5px;
	top: 1px;
}

.cmplz-document #brx-content {
    margin-bottom: 60px;
    margin-top: 200px;
    color: var(--dark-color);
    max-width: calc(100% - 20px) !important;
}




/* HEADER - FOOTER */

@media (max-width: 991px) {
    .menu-principal .brx-nav-nested-items > li {
        position: relative;
    }
    .menu-principal .brx-nav-nested-items > li:nth-last-child(n+3)::after {
        content: "";
        height: 1px;
        width: 100%;
        background-color: var(--main-color-light);
        position: absolute;
        bottom: calc(-0.5 * var(--space-xs));
        left: 0;
    }
}



/* HOME */

.home #brx-content .autres-articles:last-child {
    border-top: 1px solid var(--main-color);
    padding-top: var(--space-s);
}


/* Panels XP */


.panel-xp::after {
    mix-blend-mode: color;
    opacity: 1;
}
@media (min-width: 992px) {
    .home .wrapper-panel-xp .panel-xp {
        min-height: 650px;
    }
}
.wrapper-panel-xp .panel-xp {
    -webkit-box-flex: 0.6;
        -ms-flex: 0.6;
            flex: 0.6;
    min-height: 430px;
}
.others-xp .wrapper-panel-xp .panel-xp {
    -webkit-box-flex: 0.25;
        -ms-flex: 0.25;
            flex: 0.25;
}
.wrapper-panel-xp .panel-xp.is-active {
    -webkit-box-flex: 4;
        -ms-flex: 4;
            flex: 4;
}
.panel-xp .panel-xp-infos {
  position: absolute;  /* ← hors du flux, ne dicte plus la largeur */
  bottom: 0;
  left: 0;
  padding-bottom: var(--space-m);
  padding-left: calc(var(--space-m) * 3);
  padding-right: var(--space-m);
  opacity: 0;
  -webkit-transform: translateY(10px);
      -ms-transform: translateY(10px);
          transform: translateY(10px);
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
.panel-xp .panel-xp-icone {
    opacity: 0;
    -webkit-transform: translateX(-10px);
        -ms-transform: translateX(-10px);
            transform: translateX(-10px);
}

.panel-xp.is-active::after {
    opacity: 0;
}
.panel-xp.is-active .panel-xp-infos {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition: opacity 0.4s ease 0.25s, -webkit-transform 0.4s ease 0.25s;
  transition: opacity 0.4s ease 0.25s, -webkit-transform 0.4s ease 0.25s;
  -o-transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
  transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
  transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s, -webkit-transform 0.4s ease 0.25s;
}
.panel-xp.is-active .panel-xp-icone {
    opacity: 1;
    -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
            transform: translateX(0);
    -webkit-transition: opacity 0.4s ease 0.25s, -webkit-transform 0.4s ease 0.25s;
    transition: opacity 0.4s ease 0.25s, -webkit-transform 0.4s ease 0.25s;
    -o-transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
    transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s;
    transition: opacity 0.4s ease 0.25s, transform 0.4s ease 0.25s, -webkit-transform 0.4s ease 0.25s;
}


@media (max-width: 768px) {

  .wrapper-panel-xp .panel-xp {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;           /* annule le flex horizontal */
    min-height: 95px;   
  }

  /* Le titre horizontal disparaît en actif aussi */
  .panel-xp.is-active .panel-xp-title {
    opacity: 0;
  }

  /* Le contenu prend toute la place */
  .panel-xp .panel-xp-infos {
    padding: 0;
    position: relative;
    max-height: 0;
    -webkit-transition: max-height 0.9s ease, opacity 0.5s ease, -webkit-transform 0.5s ease;
    transition: max-height 0.9s ease, opacity 0.5s ease, -webkit-transform 0.5s ease;
    -o-transition: max-height 0.9s ease, opacity 0.5s ease, transform 0.5s ease;
    transition: max-height 0.9s ease, opacity 0.5s ease, transform 0.5s ease;
    transition: max-height 0.9s ease, opacity 0.5s ease, transform 0.5s ease, -webkit-transform 0.5s ease;
  }

  .panel-xp.is-active .panel-xp-infos {
    max-height: 300px;
    -webkit-transition: max-height 0.9s ease, opacity 0.5s ease 0.4s, -webkit-transform 0.5s ease 0.4s;
    transition: max-height 0.9s ease, opacity 0.5s ease 0.4s, -webkit-transform 0.5s ease 0.4s;
    -o-transition: max-height 0.9s ease, opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
    transition: max-height 0.9s ease, opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s;
    transition: max-height 0.9s ease, opacity 0.5s ease 0.4s, transform 0.5s ease 0.4s, -webkit-transform 0.5s ease 0.4s;
  }
}



/* BLOG */

.single-post .brxe-post-content > section:not(:last-child) {
    margin-bottom: var(--space-xl);
}
.single-post .brxe-post-content > section:last-child {
    margin-bottom: 0;
}
.single-post .brxe-post-content > section > .brxe-container {
    padding-left: 0;
    padding-right: 0;
}

.single-post #brx-content .toc-list-item {
    border-bottom: 1px solid var(--dark);
}
.single-post #brx-content .toc-list-item a {
    padding-right: 40px;
}
.single-post #brx-content .toc-list-item a::after {
    content: "";
    width: 15px;
    height: 11px;
    background: url(/wp-content/uploads/2025/06/right-arrow.svg) center / contain no-repeat;
    position: absolute;
    display: block;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}


/* ----
RESPONSIVE
---- */

@media (max-width: 991px) {
    :root body {
        --header-height: 113px;
    }
}

@media (max-width: 767px) {
    :root body {
        --header-height: 111px;
    }
}

@media (max-width: 550px) {
    :root body {
        --header-height: 121px;
    }
}

@media (max-width: 478px) {

}