/* PAGE FERMEE */
.cms-page--closed #header {
    display: none!important;
}
.cms-wysiwyg-body.cms-page--closed #wrapper {
    padding-top: 0!important;
}
.cms-wysiwyg-body.cms-page--closed #wrapper .breadcrumb {
    display: none!important;
}
.cms-wysiwyg-body.cms-page--closed .cms-section--hero_title {
    margin-top: 0;
}
.cms-wysiwyg-body.cms-page--closed #footer {
    display: none!important;
}
/*SECTION*/
.cms-wysiwyg-body .cms-section:not(.cms-section--hero_title) {
    display: flex;
    width: 90%;
    max-width: 1300px;
    margin: auto;
}

/*CELL*/
.cms-wysiwyg-body .cms-grid {
    width: 100%;
    display: flex;
}
.cms-wysiwyg-body .cell-element.cell-element--image {
    display: flex;
    justify-content: center;
}
.cms-wysiwyg-body .cms-grid-cell img {
    max-width: 100%;
    height: auto;
}

/* TITLE HERO */
.cms-wysiwyg-body .cms-section--hero_title {
    padding: 80px 50px;
    margin-top: 15px;
}
.cms-wysiwyg-body .cms-section--hero_title .hero-content {
    max-width: 1300px;
    margin: auto;
}
.cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--with-image {
    padding: 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--image-left {
    justify-content: flex-start;
}
.cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--with-image .hero-content {
    max-width: 50%;
    width: fit-content;
    margin-right: 5%;
}
.cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--with-image .hero-media {
    width: 30%;
    height: 100%;
}
.cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--image-left .hero-content {
    margin-left: 5%;
}
.cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--with-image .hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cms-wysiwyg-body .cms-section--hero_title .hero-content h1 {
    font-family: 'Caveat', cursive;
    font-weight: initial;
    font-size: 34px;
    font-size: 40px;
    margin-bottom: 0;
}
.cms-wysiwyg-body .cms-section--hero_title .hero-content .hero-subtitle {
    color: #707070;
    font-size: 16px;
    max-width: 60%;
    margin-top: 15px;
}
.cms-wysiwyg-body .cms-grid-cell {
    padding: 10px;
    border-radius: 10px;
}

/* BTN */
.cms-wysiwyg-body .btn {
    display: flex;
    width: fit-content !important;
    transition: 0.2s;
    color: #FFF!important;
    margin: 10px 0;
}
.cms-wysiwyg-body .btn:hover {
    width: fit-content !important;
}
.cms-wysiwyg-body .btn--arrow::after {
    content: '→';
    margin-left: 8px;
    display: inline-block;
    transition: transform .2s;
}
.cms-wysiwyg-body .btn--arrow:hover::after {
    transform: translateX(4px);
}
/* BTN — alignement */
.cms-wysiwyg-body .cta-align-wrapper {
    display: flex;
    width: 100%;
}
.cms-wysiwyg-body .cta-align-wrapper.cta-align-left   { justify-content: flex-start; }
.cms-wysiwyg-body .cta-align-wrapper.cta-align-center { justify-content: center; }
.cms-wysiwyg-body .cta-align-wrapper.cta-align-right  { justify-content: flex-end; }

/*TEXT*/
.cms-wysiwyg-body p {
    font-size: 16px;
    color: #707070;
    line-height: 1.5;
}
.cms-wysiwyg-body .cms-wysiwyg-page ul li {
    font-size: 16px;
    color: #707070;
    line-height: 1.5;
    list-style: disc;
    margin-left: 20px;
}
.cms-wysiwyg-body h2 {
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 40px;
    font-weight: initial;
    font-family: 'Caveat', cursive;
}
.cms-wysiwyg-body h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: Roboto, sans-serif;
    font-size: 22px;
    font-weight: 500;
}
.cms-wysiwyg-body h4 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: Roboto, sans-serif;
    font-size: 20px;
    font-weight: 400;
}
.cms-wysiwyg-body h5 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 400;
}
.cms-wysiwyg-body h6 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    font-weight: 400;
}

/*ACCORDEON*/
.cms-wysiwyg-body .cms-section.cms-section--accordion {
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 1200px;
    margin: auto;
    background: #FFF8EB;
    padding: 30px 50px;
    border-radius: 20px;
}
.cms-wysiwyg-body .cms-section.cms-section--accordion .accordion-section-title {
    font-size: 36px;
    font-weight: initial;
    font-family: 'Caveat', cursive;
    color: #F8B216;
    margin-bottom: 30px;
}

/* ============================================================
   CMS WYSIWYG — Styles front accordéon
   ============================================================ */

/* ── Section accordéon ─────────────────────────────────────── */

.cms-wysiwyg-body .cms-section--accordion {
    padding: 48px 0;
}

.cms-wysiwyg-body .accordion-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.cms-wysiwyg-body .cms-accordion {
  width: 100%;
}

/* ── Item ─────────────────────────────────────────────────── */

.cms-wysiwyg-body .accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}

/* ── Bouton question ──────────────────────────────────────── */

.cms-wysiwyg-body .accordion-toggle {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: inherit;
    line-height: 1.4;
    outline: none!important;
}

/* Icône "+" en cercle */
.cms-wysiwyg-body .accordion-toggle::after {
    content: '+';
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    transition: transform .3s ease;
}

.cms-wysiwyg-body .accordion-toggle.open::after {
    transform: rotate(45deg); /* + → × */
}

/* ── Contenu réponse ──────────────────────────────────────── */

.cms-wysiwyg-body .accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    font-size: .9375rem;
    line-height: 1.75;
    transition: max-height .35s ease, padding .3s ease;
}


/* ── Vidéo responsive ─────────────────────────────────────── */

.cms-wysiwyg-body .grid-cell-video { width: 100%; }

.cms-wysiwyg-body .video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 6px;
}

.cms-wysiwyg-body .video-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Bandeau full ─────────────────────────────────────── */

.cms-wysiwyg-body .cms-section.cms-section--bandeau {
    width: 100%;
    max-width: 100%;
    background-attachment: fixed;
}
.cms-wysiwyg-body .cms-section.cms-section--bandeau .bandeau-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 110px 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.cms-wysiwyg-body .cms-section.cms-section--bandeau h3 {
    text-transform: uppercase;
    font-size: 26px;
    color: #FFF;
    font-weight: 500;
    margin-bottom: 20px;
}
.cms-wysiwyg-body .cms-section.cms-section--bandeau .bandeau-content p {
    color: #FFF;
    text-align: center;
}
.cms-wysiwyg-body .cms-section.cms-section--bandeau .btn {
    margin-top: 30px;
}

/* ── Produits : miniatures ─────────────────────────────────────── */
.cms-wysiwyg-body .cell-element--products-grid_large .cms-product-item .cms-product-link,
.cms-wysiwyg-body .cell-element--products-grid_large .cms-product-item .cms-product-link:focus {
    color: #707070;
    text-decoration: none;
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 15px;
}
.cms-wysiwyg-body .cell-element--products-grid_large .cms-product-item .cms-product-price .cms-product-link {
    font-weight: bolder;
}
.cms-wysiwyg-body .cell-element--products-grid_large .cms-products-grid {
    display: flex;
    width: 100%;
}
.cms-wysiwyg-body .cell-element--products-grid_large .cms-product-item {
    transition: .2s;
    margin: 0 15px;
}
.cms-wysiwyg-body .cell-element--products-grid_large .cms-product-item:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
    transition: .2s;
    -moz-box-shadow: 0 0 10px 0 rgba(0, 0, 0, .2);
}

/* ── Produits : slider ─────────────────────────────────────── */

.cms-wysiwyg-body .cell-element--products-slider {
    width: 100%;
    background: #FFF8EB;
    padding: 30px;
    border-radius: 20px;
    overflow: hidden;
}
.cms-wysiwyg-body .cms-products-slider {
    display: flex;
    width: max-content;
}
.cms-wysiwyg-body .cms-products-slider .product-slide {
    background-color: #FFF;
    display: flex;
    align-items: center;
    margin-right: 30px;
    padding: 10px;

}
.cms-wysiwyg-body .cms-products-slider .product-slide img {
    width: 150px;
}
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info {
    width: 350px;
    margin-left: 15px;
}
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info a.product-slide-btn,
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info a.product-slide-btn:focus,
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info a.product-slide-btn:hover {
    display: flex;
    width: fit-content !important;
    transition: 0.2s;
    color: #FFF !important;
    margin: 0 0;
    background: #F8B216;
    padding: .5rem 1rem;
    text-decoration: none;
}
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info .product-slide-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info .product-slide-footer .product-slide-price {
    margin: 0;
}
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info .product-slide-name p {
    margin-bottom: 20px;
}
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info .product-slide-name a {
    color: #707070;
}
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info .product-slide-price {
    font-weight: bolder;
}
.cms-wysiwyg-body .cms-slider-outer {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.cms-wysiwyg-body .cms-slider-outer .slider-btn {
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-color: rgba(0, 165, 181, 0.8);
    color: #fff;
    border-radius: 3px;
    border: 0;
    outline: none !important;
    z-index: 1;
    transition: 0.2s;
    position: absolute;
}
.cms-wysiwyg-body .cms-slider-outer .slider-btn:hover {
    transition: 0.2s;
    background-color: rgba(0, 165, 181, 1);
}
.cms-wysiwyg-body .cms-slider-outer .slider-btn-next {
    right: 0;
}
.cms-wysiwyg-body .cms-slider-outer .slider-btn-prev {
    left: 0;
}
.cms-wysiwyg-body .cms-slider-outer .slider-btn:disabled {
    opacity: 0;
    transition: 0.2s;
}
.cms-wysiwyg-body .cms-products-slider .product-slide .product-slide-info a.product-slide-btn:hover {
    transition: 0.2s;
    opacity: 0.8;
}

/* ── Produits : listing ─────────────────────────────────────── */
.cms-wysiwyg-body .cell-element--products-listing {
    background: #FFF8EB;
    padding: 21px;
    border-radius: 20px;
}
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing {
    display: flex;
    flex-direction: column;
}
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing .product-row-img-link {
    flex-shrink: 1;
}
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing .product-row-img-link img {
    width: 100px;
}
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing .product-row-info {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    margin-left: 15px;
}
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing  .product-item {
    display: flex;
    margin-bottom: 15px;
}
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing  .product-item .product-row-name {
    font-size: 16px;
    color: #707070;
    line-height: 1.5;
    font-weight: 400;
}
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing  .product-item .product-row-price {
    font-weight: bolder;
    font-size: 16px;
    color: #707070;
    line-height: 1.5;
}
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing  .product-item  .product-row-btn,
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing  .product-item  .product-row-btn:focus {
    display: flex;
    width: fit-content !important;
    transition: 0.2s;
    color: #FFF !important;
    margin: 0 0;
    background: #F8B216;
    padding: .5rem 1rem;
    text-decoration: none;
}
.cms-wysiwyg-body .cell-element--products-listing .cms-products-listing  .product-item  .product-row-btn:hover {
    transition: 0.2s;
    opacity: 0.2;
}

/* ============================================================
   RESPONSIVE — Tablette (< 1024px)
   ============================================================ */

@media (max-width: 1023px) {
    .cms-wysiwyg-body .cms-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .cms-wysiwyg-body .cms-grid-cell {
        width: 100%;
    }
    .cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--with-image {
        flex-direction: column;
    }
    .cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--with-image .hero-content,
    .cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--with-image .hero-media {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    .cms-wysiwyg-body .cms-section--hero_title.cms-section--hero_title--with-image .hero-content {
        padding: 30px;
    }
}

/* ============================================================
   RESPONSIVE — Mobile (< 768px)
   ============================================================ */

@media (max-width: 767px) {
    .cms-wysiwyg-body .cms-section.cms-section--accordion {
        width: 100%;
    }
}