/*
 * Theme Name:  Sinistheme
 * Theme URI: https://git.avecnous.eu/ads/sinistheme
 * Description: Sinistheme, thème pour la campagne des sinistrés climatiques.
 * Author: NOUS Open Useful and Simple
 * Author URI: https://www.avecnous.eu
 * Template:    twentytwentyfive
 * Version:     0.0.1
 */

 /*====
 GLOBAL 
 ====*/

* {
    box-sizing: border-box;
}

body {
    font-family: "Formula Condensed", sans-serif;
    font-size: var(--wp--preset--font-size--smallplus)!important;
    font-display: swap;
    scroll-behavior: smooth;
}

.displaynone {
    display: none;
}

:where(.wp-site-blocks :focus) {
    outline-width: 0!important;
}

.visible-on-mob {
    display: none;
}


 /*==== 
 BLOCS
 ====*/

    /* bandes climat pages */
    .page-template-default,
    .videos-shorts .swiper-slide {
        position: relative;
    }

    /* videos */
    .ytmCuedOverlayPlayButton.shorts, 
    .ytmCuedOverlayShorts,
    .ytmCuedOverlayPlayButtonIcon {
        display: none!important;
    }

    .videos-shorts .swiper-wrapper {
        height: inherit;
    }

    .videos-shorts .swiper-slide:nth-child(even) {
        margin-top: 30px;
    }
    .videos-shorts .swiper-slide:hover,
    .videos-shorts .swiper-slide:focus,
    .videos-shorts .swiper-slide:active,
    .videos-shorts .swiper-slide-active {
        transform: scale(1.02);
        transition: transform 0.35s ease;
        }
        .videos-shorts .swiper-slide:hover .ytmVideoCoverHost,
        .videos-shorts .swiper-slide:focus .ytmVideoCoverHost,
        .videos-shorts .swiper-slide:active .ytmVideoCoverHost {
            transform: scale(1.2)!important;
            transition: transform 0.35s ease!important;
        }

    .home .wp-embed-responsive .wp-has-aspect-ratio iframe {
        height: 115%;
    }
    .home .play-icon-wrap {
        top: 47%;
    }

    /* Play icon vidéos */
    .play-icon-wrap {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 100px;
        height: 100px;
        transform: translate(-50%, -50%);
        z-index: 2;
        pointer-events: none;
    }
    .videos-shorts .swiper-slide:hover .slice-icon {
        transform: translateY(0) !important;
    }

    /* bloc bandes bas + animation */
        .bloc-bandes-bas {
            position: relative;
            overflow-y: visible;
            cursor: pointer;
            width: auto;
            height: 380px;
            z-index: 2;
        }
        
        /* Overlay rouge au hover */
        .bloc-bandes-bas::after {
            content: '';
            position: absolute;
            inset: 0;
            background-color: transparent;
            transition: background-color 0.45s ease;
            pointer-events: none;
            z-index: 1;
        }
        .bloc-bandes-bas:hover::after,
        .bloc-bandes-bas:focus::after,
        .bloc-bandes-bas:active::after {
            background-color: #ee220c;
        }
        
        /* Bandelette SVG en bas */
        .bloc-bandes-bas .bandes-deco {
            position: absolute;
            bottom: -20px;
            left: 0;
            right: 0;
            width: 100%;
            height: auto;
            z-index: 1;
            opacity: 1;
            pointer-events: none;
            transform: translateY(0);
            transition: transform 0.45s cubic-bezier(0.25,1,0.35,1);
        }
        .bloc-bandes-bas:hover .bandes-deco,
        .bloc-bandes-bas:focus .bandes-deco,
        .bloc-bandes-bas:active .bandes-deco {
            transform: translateY(-20px);
        }
        
        /* Wrap icône — taille fixe dans le flux */
        .ico-slices-wrap {
            position: absolute;
            top: var(--wp--preset--spacing--30, 24px);
            left: var(--wp--preset--spacing--40, 24px);
            width: 100px;
            height: 100px;
            overflow: visible;
            z-index: 2;
            transform-origin: top left;
            transition: transform 0.45s cubic-bezier(0.25,1,0.35,1);
        }
        .bloc-bandes-bas:hover .ico-slices-wrap,
        .bloc-bandes-bas:focus .ico-slices-wrap,
        .bloc-bandes-bas:active .ico-slices-wrap {
            transform: scale(0.5);
        }
        
        /* Slices de l'icône */
        .slice-icon {
            position: absolute;
            top: -5px;
            bottom: -5px;
            overflow: hidden;
            will-change: transform;
            transition: transform 0.55s cubic-bezier(0.25,1,0.35,1);
        }
        .slice-icon img {
            position: absolute;
            top: 5px;
            left: 0;
            display: block;
            width: 100px;
            height: 100px;
            object-fit: contain;
            transition: filter 0.45s ease;
        }
        .bloc-bandes-bas:hover .slice-icon {
            transform: translateY(0) !important;
        }
        .bloc-bandes-bas:hover .slice-icon img {
            filter: brightness(0) invert(1);
        }
        
        /* Cache la figure originale */
        .bloc-bandes-bas .ico-slices {
            display: none !important;
        }
        
        /* Titre — centrage vertical quelle que soit la hauteur du texte */
        .bloc-bandes-bas h2,
        .bloc-bandes-bas h3,
        .bloc-bandes-bas h4 {
            position: absolute;
            top: 40%;
            left: var(--wp--preset--spacing--40, 24px);
            right: var(--wp--preset--spacing--40, 24px);
            z-index: 3;
            margin: 0;
            transition: color 0.35s ease,
                        top 0.45s cubic-bezier(0.25,1,0.35,1),
            transform 0.45s cubic-bezier(0.25,1,0.35,1);
            transform-origin: left center;
        }
        .bloc-bandes-bas:hover h2,
        .bloc-bandes-bas:focus h2,
        .bloc-bandes-bas:active h2,
        .bloc-bandes-bas:hover h3,
        .bloc-bandes-bas:focus h3,
        .bloc-bandes-bas:active h3,
        .bloc-bandes-bas:hover h4 a,
        .bloc-bandes-bas:focus h4 a,
        .bloc-bandes-bas:active h4 a {
            color: #fff !important;
            top: 50%;
            transform: translateY(-50%) scale(1.1);
            text-decoration: none;
        }

        .bloc-bandes-bas a,
        .bloc-bandes-bas a:hover,
        .bloc-bandes-bas a:focus,
        .bloc-bandes-bas a:active {
            text-decoration: none;
        }

    /* Rappel compteur */
    .rappel-count {
        background: white;
        border-bottom-left-radius: 500px;
        padding: 30px;
        display: block;
        position: absolute;
        top: 0;
        right:0;
        max-width: 300px;
        }
        .rappel-count p {
            font-family: "D-din", sans-serif;
            font-weight: bold;
            font-size: var(--wp--preset--font-size--smallplus);
        }
        .rappel-count .siniscount {
            font-family: "D-din", sans-serif;
            font-weight: bold;
            font-size: 42px;
            color: var(--wp--preset--color--bleu);
            text-align: center;
            line-height: 1em;
        }


    /*=== SINISTRIPES ===*/
    .wp-block-ads-stripes-screen .menu,
    .wp-block-ads-stripes-screen .compteur,
    .wp-block-ads-stripes-screen .intro,
    .wp-block-ads-stripes-screen .questionnaire {
        position: relative;
        top: 0;
        bottom: 0;
        height: 100vh;
        }
        .wp-block-ads-stripes-screen .menu {
            align-self: flex-start;
            margin-left: 5%;
        }
        .wp-block-ads-stripes-screen .compteur {
            max-width: 40%;
        }
        .wp-block-ads-stripes-screen .intro {
            max-width: 40%;
        }
        .wp-block-ads-stripes-screen .questionnaire {
            align-self: flex-end;
        }

    .siniscount {
        font-family: "Formula Condensed", sans-serif;
        font-weight: bold;
        font-size: var(--wp--preset--font-size--xxx-large);
        line-height: 1em;
        color: #002f6c;
        text-align: left;
        display: block;
    }

    #compteur *,
    #intro * {
        z-index: 999;
        position: relative;
    }


 /*==== 
 BOUTONS 
 ====*/

    /* BTN envoyer */
    .ico-send::before {
        content: "";
        background: url("assets/img/icos/ico-paperplane.svg");
        background-position: center center;
        background-size: cover;
        width: 25px;
        height: 25px;
    }

    /* BTN copier */
    .ico-copy::before {
        content: "";
        background: url("assets/img/icos/ico-copy.png");
        background-position: center center;
        background-size: cover;
        width: 25px;
        height: 25px;

    }

    /* Formulaires */

    .gform_page_footer,
    .gform-theme--foundation .gform_footer, 
    .gform-theme--foundation .gform_page_footer {
        justify-content: center;
        position: relative;
        }
        .form-questionnaire #gform_page_1_1 .gform_page_footer,
        .gform-theme--foundation #gform_page_1_1 .gform_footer, 
        .gform-theme--foundation #gform_page_1_1 .gform_page_footer {
            justify-content: left;
            display: inherit;
        }

    .button,
    body .form-questionnaire .gform_footer .gform_button, 
    body .form-questionnaire .gform_page_footer .gform_button, 
    body .form-questionnaire .gform_page_footer .gform_previous_button, 
    body .form-questionnaire .gform_page_footer .gform_next_button, 
    body .form-questionnaire .gfield#field_submit .gform-button {
        font-family: "Formula Condensed", sans-serif!important;
        --gf-local-font-family: "Formula Condensed", sans-serif;;
        font-weight: 800;
        background: none!important;
        margin-top: 3px;
        overflow: hidden;
        box-shadow: none!important;
    }
    .button:hover,
    .button:focus,
    .button:active,
    body .form-questionnaire .gform_footer .gform_button:hover, 
    body .form-questionnaire .gform_footer .gform_button:focus, 
    body .form-questionnaire .gform_footer .gform_button:active, 
    body .form-questionnaire .gform_page_footer .gform_button:hover,
    body .form-questionnaire .gform_page_footer .gform_button:focus,
    body .form-questionnaire .gform_page_footer .gform_button:active, 
    body .form-questionnaire .gform_page_footer .gform_previous_button:hover,
    body .form-questionnaire .gform_page_footer .gform_previous_button:focus,
    body .form-questionnaire .gform_page_footer .gform_previous_button:active, 
    body .form-questionnaire .gform_page_footer .gform_next_button:hover,
    body .form-questionnaire .gform_page_footer .gform_next_button:focus,
    body .form-questionnaire .gform_page_footer .gform_next_button:active, 
    body .form-questionnaire .gfield#field_submit .gform-button:hover,
    body .form-questionnaire .gfield#field_submit .gform-button:focus,
    body .form-questionnaire .gfield#field_submit .gform-button:active {
        color: #ee220c!important;
        border: 0!important;
        box-shadow: none!important;
        outline: none!important;
        overflow: hidden;
    }
    .button,
    body .form-questionnaire .gform_footer .gform_button, 
    body .form-questionnaire .gform_page_footer .gform_button, 
    body .form-questionnaire .gform_page_footer .gform_previous_button, 
    body .form-questionnaire .gform_page_footer .gform_next_button, 
    body .form-questionnaire .gfield#field_submit .gform-button,
    .button:hover,
    .button:focus,
    .button:active,
    body .form-questionnaire .gform_footer .gform_button:hover, 
    body .form-questionnaire .gform_footer .gform_button:focus, 
    body .form-questionnaire .gform_footer .gform_button:active, 
    body .form-questionnaire .gform_page_footer .gform_button:hover,
    body .form-questionnaire .gform_page_footer .gform_button:focus,
    body .form-questionnaire .gform_page_footer .gform_button:active, 
    body .form-questionnaire .gform_page_footer .gform_previous_button:hover,
    body .form-questionnaire .gform_page_footer .gform_previous_button:focus,
    body .form-questionnaire .gform_page_footer .gform_previous_button:active, 
    body .form-questionnaire .gform_page_footer .gform_next_button:hover,
    body .form-questionnaire .gform_page_footer .gform_next_button:focus,
    body .form-questionnaire .gform_page_footer .gform_next_button:active, 
    body .form-questionnaire .gfield#field_submit .gform-button:hover,
    body .form-questionnaire .gfield#field_submit .gform-button:focus,
    body .form-questionnaire .gfield#field_submit .gform-button:active {
        --gf-local-outline-color: none!important;
        --gf-local-outline-width: none!important;
        --gf-local-outline-offset: inherit!important;
        --gf-local-outline-style: inherit!important;
        --gf-local-border-width: inherit!important;
        --gf-local-border-style: inherit!important;
        --gf-local-border-block-start: inherit!important;
        --gf-local-border-block-end: inherit!important;
        --gf-local-border-inline-start: inherit!important;
        --gf-local-border-inline-end: inherit!important;
    }

    .gform_previous_button,
    body .form-questionnaire .gform_page_footer .gform_previous_button {
        font-size: 24px!important;
        color: white!important;
        align-content: center;
        display: none;
        }
        .form-questionnaire #gform_page_1_2 .gf-btn-wrap:first-child {
            display:none;
        }

    .gform_next_button {
        font-size: 56px;  
        background: var(--wp--preset--color--blanc);
        color: var(--wp--preset--color--bleu);
        }
    .gf-btn-wrap > :is(input, button, a):active {
        transform: translateY(2px);
    }
    .gf-btn-wrap:hover > :is(input, button, a) {
        transform: translateY(0px);
    }

    /* btn témoignage bonus + suivre nos actions */
    .form-temoin .gf-btn-wrap .slice-bg,
    .form-action .gf-btn-wrap .slice-bg {
        background: #ee220c;
        color: white;
    }
    .form-temoin .gform_footer .gform_button:hover,
    .form-temoin .gform_footer .gform_button:focus,
    .form-temoin .gform_footer .gform_button:active,
    .form-action .gform_footer .gform_button:hover,
    .form-action .gform_footer .gform_button:focus,
    .form-action .gform_footer .gform_button:active {
        color: white!important;
    }


 /*==== 
 FORMS
====*/

    /* GravityForms général + spécifique à QUestionnaire */

          /* Variables */
          .gform_wrapper {
            --gf-error:      #ff4b4b;
            --gf-speed:      .45s;
            --gf-ease:       cubic-bezier(.22, 1, .36, 1);
          }
     
          /* Form pop-in */
          .gform_wrapper form {
            animation: gfFormPop .6s var(--gf-ease);
          }
          @keyframes gfFormPop {
            from { opacity: 0; transform: translateY(20px) scale(.98); }
            to   { opacity: 1; transform: translateY(0)   scale(1);   }
          }
     
          /* Fields */
          .gform_wrapper .gfield {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity .5s var(--gf-ease), transform .5s var(--gf-ease);
          }
          .gform_wrapper .gfield.gf-visible {
            opacity: 1;
            transform: translateY(0);
          }
     
          /* Labels */
          .gform_wrapper .gfield_label {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 10px;
            display: block;
            color: #3c3c3c;
          }
     
          /* Inputs */
          .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]),
          .gform_wrapper textarea,
          .gform_wrapper select {
            border: 2px solid #e5e5e5;
            border-radius: 10px;
            padding: 14px 18px;
            font-size: 1rem;
            transition: all .3s ease;
            background: #fff;
          }
          .gform_wrapper input:focus,
          .gform_wrapper textarea:focus,
          .gform_wrapper select:focus {
            outline: none;
            transform: translateY(-2px);
          }
     
          /* Radio / Checkbox */
          .form-questionnaire .gform_wrapper .gchoice { 
            transition: transform .2s ease; 
            }
          .form-questionnaire .gform_wrapper .gchoice:hover { 
            transform: scale(1.02); 
            }
          .form-questionnaire .gform_wrapper .gchoice label {
            display: block;
            padding: 15px 10px;
            cursor: pointer;
            transition: all .25s ease;
            background: #fff;
          }
          .form-questionnaire .gfield_checkbox .gchoice label {
            color: #002F6C!important;
          }
          .form-questionnaire .gfield_checkbox .gchoice label:hover,
          .form-questionnaire .gfield_checkbox .gchoice label:focus,
          .form-questionnaire .gfield_checkbox .gchoice label:active,
          .form-questionnaire .gfield_checkbox .gchoice input:checked
          .gform_wrapper .gchoice input:checked + label,
          .gform-theme--framework .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice:where(:has(input:checked))  {
            background: #ee220c;
            color: white!important;
            --gf-local-color: white !important;
          }
     
          /* Bouton wrapper */
          .gf-btn-wrap {
            display: inline-block;
            position: relative!important;
            overflow: hidden!important;
            border-radius: 0;
            vertical-align: middle;
          }
          .gf-btn-wrap > :is(input, button, a) {
            position: relative;
            z-index: 2;
            border: none;
            padding: 20px 35px;
            font-weight: bold;
            font-family: "Formula Condensed", sans-serif;
            cursor: pointer;
            transition: transform .2s ease, box-shadow .2s ease;
            display: block;
            width: 100%;
            border-radius: 0;
            background: none !important;
          }
          .gf-btn-wrap:hover > :is(input, button, a) {
            transform: translateY(-2px);
            color: #ee220c;
          }
          .gf-btn-wrap > :is(input, button, a):active {
            transform: translateY(4px);
          }
     
          /* Slices */
          .gf-btn-wrap .slice-bg {
            position: absolute;
            top: 0;
            height: 100%;
            background: linear-gradient(#ffffff, #fbfbfb);
            pointer-events: none;
            z-index: 1;
            opacity: 1;
            transition: transform .28s ease, opacity .28s ease;
          }
          .gf-btn-wrap:hover .slice-bg {
            opacity: 1;
            transform: translateY(0) !important;
          }
     
          /* Progress Bar */
          .gform_wrapper .gf_progressbar {
            background: #cccccc;
            border-radius: 999px;
            overflow: hidden;
            height: 14px;
            margin-bottom: 30px;
          }
          .gform_wrapper .gf_progressbar_percentage {
            background: linear-gradient(90deg, #074c97, #6daed5);
            border-radius: 999px;
            transition: width .6s var(--gf-ease);
          }
     
          /* Validation shake */
          .gform_wrapper .gfield_error input,
          .gform_wrapper .gfield_error textarea,
          .gform_wrapper .gfield_error select {
            border-color: var(--gf-error);
            animation: gfShake .4s ease;
          }
          @keyframes gfShake {
            0%,100% { transform: translateX(0);   }
            20%     { transform: translateX(-4px); }
            40%     { transform: translateX( 4px); }
            60%     { transform: translateX(-3px); }
            80%     { transform: translateX( 3px); }
          }
    
        /* Reduced Motion */
        @media (prefers-reduced-motion: reduce) {
            .gform_wrapper * { animation: none !important; transition: none !important; }
        }

        /* Message de confirmation */
        .gform_confirmation_message {
            animation: gfSuccess .6s var(--gf-ease);
            font-family: "Formula Condensed", sans-serif;
            font-weight: bold;
        }
        @keyframes gfSuccess {
        from { opacity: 0; transform: scale(.95); }
        to   { opacity: 1; transform: scale(1);   }
        }

        /* Defaire le style issu du theme GF */
        .gform-theme--framework .gfield--type-image_choice.gfield--image-choice-appearance-card .gfield-image-choice-wrapper-outer {
            padding-block: 0!important;
            padding-inline: 0!important;
        }
        .gform-theme--framework .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice {
            --gf-local-shadow: 0!important;
        }
        .gform-theme--framework .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice, 
        .gform-theme--framework .gfield--type-image_choice.gfield--image-choice-appearance-no-card .gfield-choice-image-wrapper {
            --gf-local-border-width: 0!important;
        }
        .gform-theme--framework .gfield--type-image_choice.gfield--image-choice-style-square .gfield-choice-image-wrapper {
            border-radius: 0 !important;
        }
        .gform-theme--framework .gfield--type-image_choice .gchoice {
            min-inline-size: 150px !important;
        }
        .gform-theme--framework .gfield--type-image_choice.gfield--image-choice-appearance-card .gchoice:where(:has(input:checked))::after {
            display: none;
        }


    /* Questionnaire */

    .changecolor {
        background-color: #ee220c;
        transition: background-color 0.8s ease;
    }
    .changecolor.change {
        background-color: #074c97;
    }

    #questionnaire .gform_heading {
        display: none!important;
    }
    .gform_required_legend {
        color: white;
        }
        .form-questionnaire .gform_required_legend {
            text-align: left;
            display: inline;
        }
        
    .form-questionnaire .gform_heading {
        display: none;
    }
    /* Questionnaire avec pagination */
    .form-questionnaire #gform_page_1_1 {
        background-color: var(--wp--preset--color--rouge);
        padding: 50px;
        min-height: 100vh;
    }
    .form-questionnaire #gform_page_1_1 h2 {
        margin: 0;
        text-transform: inherit;
        font-size: 120px;
        color: white;
    }
    .form-questionnaire #gform_page_1_1 h3 {
        margin: 0 0 20px 0;
        font-size: 80px;
        color: white;
    }
    .form-questionnaire #gform_page_1_1 i {
        font-family: "D-din", sans-serif;
        font-weight: 400;
        font-size: 28px;
        color: white;
    }

    .form-questionnaire .gform_next_button { /* btn d'intro */
        font-size: 56px;
        color: var(--wp--preset--color--bleu);
        background: white;
        padding: 20px 35px;
        border-radius: 0;
    }
    .gform_next_button {
        font-family: "Formula Condensed", sans-serif;
        font-weight: 800;
        border-radius: 0;
    }
    .gform_next_button:hover,
    .gform_next_button:focus,
    .gform_next_button:active {
        outline: none;
        box-shadow: none;
        text-decoration: none;
    }

    .form-questionnaire #gform_page_1_2 {
        width: 100%;
        min-height: 100vh;
        background-color: var(--wp--preset--color--bleu);
        padding: 50px;
        overflow-y: auto;
        width: 100vw;
        left: 0;
        top: 0;
        z-index: 3;
    }

    .form-questionnaire #gform_page_1_2 .gfield_label,
    .form-questionnaire .gfield_label {
        font-family: "Formula Condensed", sans-serif;
        font-weight: 800;
        font-size: var(--wp--preset--font-size--large);
        line-height: 1.2em;
        margin-bottom: 0;
    }
    .form-questionnaire #gform_page_1_2 .gfield_description,
    .form-questionnaire .gfield_description {
        font-family: "D-din", sans-serif;
        font-weight: 500;
        font-size: 32px;
        line-height: 1.2em;
        margin-bottom: 30px;
    }

    .form-questionnaire .gfield_checkbox {
        margin-bottom: 50px;
        justify-content: center;
        }
        .form-questionnaire .gfield_checkbox .gchoice {
            min-width: 150px;
            border: 0;
            z-index: 2;
            cursor: pointer;
            }
            body {
                counter-reset: section;
            }
            .form-questionnaire .gfield_checkbox .gchoice::before {
                counter-increment: section; 
                content: counter(section);
                border-radius: 50px;
                background: var(--wp--preset--color--bleu);
                color: var(--wp--preset--color--blanc);
                font-size: 16px;
                font-family: "Formula Condensed", sans-serif;
                font-weight: bold;
                width: 30px;
                height: 30px;
                border: 2px solid white;
                text-align: center;
                align-content: center;
                position: absolute;
                top: 5px;
                left: 5px;
                z-index: 3;
                padding-top: 2px;
            }
            .form-questionnaire .gfield_checkbox .gchoice::after {
                content: " ";
                background: url("assets/img/theme/bg_bandes_irreg_cropbot_bl.svg")no-repeat;
                background-size: contain;
                background-position: bottom center;
                position: absolute;
                bottom: -20px;
                left: 0;
                width: 100%;
                height: 50px;
                z-index: 1;
                transform: translateY(0);
                pointer-events: none;
                transition: transform 0.45s cubic-bezier(0.25,1,0.35,1);
            }
            .form-questionnaire .gfield_checkbox .gchoice:hover::after,
            .form-questionnaire .gfield_checkbox .gchoice:focus::after,
            .form-questionnaire .gfield_checkbox .gchoice:active::after {
                transform: translateY(-23px);
                }
        

        .form-questionnaire .gfield_checkbox .gfield-image-choice-wrapper-outer {
            padding: 0;
            z-index: 2;
            position: relative;
        }
        .form-questionnaire .gfield_checkbox .gfield-choice-image-wrapper {
            height: 295px;
            width: 100%;
            margin-block-end: 0!important;
        }
    .form-questionnaire .gfield_checkbox .gfield-image-choice-wrapper-inner {
        display: block;
        }
        .form-questionnaire .gfield_checkbox input[type="checkbox"]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
            display: none;
            width: 100%;
            height: 100%;
            position: absolute;
        }
        .form-questionnaire .gfield_checkbox.gfield_checkbox .gchoice .gfield-image-choice-wrapper-inner label {
            margin-left: 0;
            font-family: "D-din", sans-serif;
            font-weight: bold;
            font-size: 24px;
            line-height: 1em;
            word-break: break-word;
            z-index: 2;
            }
            .form-questionnaire .gfield_checkbox.gfield_checkbox .gchoice .gfield-image-choice-wrapper-inner label span {
                font-family: "D-din", sans-serif;
                font-weight: 300;
                font-size: 16px;
                line-height: 1.2em;
                display: block;
            }

    .form-questionnaire .gfield_validation_message {
        display: block;
        margin-top: 50px;
        border: 1px solid white;
        color: #074c97!important;
        padding: 10px 20px;
    }





    /* Formulaire témoignage */
    .form-temoin,
    .gform_required_legend  {
        max-width: 450px;
        width: 100%;
        margin: 0 auto 20px auto;
    }
    .gform_body {
        font-family: "Formula Condensed", sans-serif;
    }
    .gform_required_legend {
        font-family: "D-din", sans-serif;
        font-size: 16px;
        font-weight: 300;
    }
    .gfield_required {
        font-size: 1em!important;
    }

    .gform-theme--foundation .gform_fields {
        row-gap: 20px;
        }
        .gfield_label {
            font-family: "Formula Condensed", sans-serif;
            font-weight: 800;
            font-size: var(--wp--preset--font-size--medium);
            line-height: 1.2em;
            display: inline;
        }
        .gform_fields input,
        .gform_fields .gfield textarea  {
            font-family: "Formula Condensed", sans-serif;
            font-weight: light;
            font-size: var(--wp--preset--font-size--medium);
            --gf-local-height: 50px;
            margin: 10px 0;
            }
            .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type="hidden"])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
                --gf-local-height: 50px;
            }

    .gfield_description {
        font-family: "Formula Condensed", sans-serif;
        font-weight: light;
        font-size: var(--wp--preset--font-size--small);
    }

    .form-temoin .address_zip .gform-field-label--type-sub  {
        display: none;
    }
    .ginput_counter {
        font-family: "Formula Condensed", sans-serif;
        font-weight: light;
        font-size: var(--wp--preset--font-size--small);
        text-align: right;
    } 
    .action-email {
        border: 1px solid white;
        padding: 15px;
        border-radius: 10px;
    }

    /* Formulaire suivre nos actions */
    .form-action {
        width: 100%;
        margin: 0 auto 20px auto;
    }
    .form-action .ginput_container_email {
        max-width: 450px;
        margin: 20px auto 0 auto;
    }
    .form-action .gfield--type-checkbox {
        max-width: 450px;
        margin: 0 auto;
    }
    .gform-field-label {
        display: inline;
    }
    .form-action .gform-theme--foundation .gform_fields {
        row-gap: 20px;
    }
    .form-action .gform_required_legend {
        text-align: center;
    }


    /* HelloBruce : Partager son témoignage */
    .partage-img-hellob {

    }
    .btn-partage-hellob {
        text-align: center!important;
        background: none!important;
        }
        .btn-partage-hellob a {
            color: #074c97;
            font-family: "formula condensed", sans-serif;
            font-weight: bold;
            font-size: 42px;
            text-decoration: none;
            text-align: center;
            background: white;
            border-radius: 0;
            display: block;
            padding: 20px 35px;
            align-content: center;
            justify-content: center;
            margin: 0 auto;
            display: block;
            }
            .btn-partage-hellob a:hover,
            .btn-partage-hellob a:focus,
            .btn-partage-hellob a:active {
                text-decoration: none;
                outline: none;
                color: #ee220c;
            }


 /*==== 
 HEADER
====*/

.menu-1 {
    color: var(--wp--preset--color--bleu);
}

.menu-2 {
    color: #4593c6;
}

.menu-3 {
    color: #cb171d;
}



 /*==== 
 FOOTER
====*/


 /*==== 
 TPL
====*/

    /* PAGES */





 /*======================
        RESPONSIVE
========================*/


@media screen and (max-width: 768px) {

    /* BLOCS DECO */

    /* bandes climat pages */
    .page-template-default::before {
        content: " ";
        background: url("assets/img/theme/bg_bandes_sideleft_bleu_mini.svg")no-repeat;
        background-size: contain;
        background-position: bottom left;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .page-template-default::after {
        content: " ";
        background: url("assets/img/theme/bg_bandes_sideright_rouge_mini.svg")no-repeat;
        background-size: contain;
        background-position: bottom right;
        position: absolute;
        bottom: 0;
        right: 0;
    }


    /* SINISTRIPES */
    #compteur::before,
    #intro::before {
        content: "";
        background: url("assets/img/theme/top_bg_irreg_bleuclair_mob.svg")no-repeat;
        background-size: contain;
        background-position: top center;
        position: absolute;
        top: -60px;
        left: 0;
        right: 0;
        width: 100%;
        height: 140px;
        z-index: 1;
    }
    #compteur::after,
    #intro::after {
        content: "";
        background: url("assets/img/theme/bot_bg_irreg_bleuclair_mob.svg")no-repeat;
        background-size: contain;
        background-position: bottom center;
        position: absolute;
        bottom: -60px;
        left: 0;
        right: 0;
        width: 100%;
        height: 140px;
        z-index: 1;
    }

    #intro p {
        font-size: 42px !important;
    }

    #questionnaire h3 {
        font-size: 54px!important;
    }

}

@media screen and (min-width: 769px) and (max-width: 1024px) {

    /* BLOCS DECO */

    /* bandes climat pages */
    .page-template-default::after {
        content: " ";
        background: url("assets/img/theme/bg_bandes_climat_full_tab.svg")no-repeat;
        background-size: cover;
        background-position: bottom right;
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
    }

    /* SINISTRIPES */
    #compteur::before,
    #intro::before {
        content: "";
        background: url("assets/img/theme/top-bg-irreg_bleuclair_mob_big.svg")repeat-x;
        background-size: contain;
        background-position: top left;
        position: absolute;
        top: -60px;
        left: 0;
        right: 0;
        width: 100%;
        height: 140px;
        z-index: 1;
    }
    #compteur::after,
    #intro::after {
        content: "";
        background: url("assets/img/theme/bot-bg-irreg_bleuclair_mob_big.svg")repeat-x;
        background-size: contain;
        background-position: bottom left;
        position: absolute;
        bottom: -60px;
        left: 0;
        right: 0;
        width: 100%;
        height: 140px;
        z-index: 1;
    }

    #compteur p {
        font-size: 42px !important;
    }
    #intro p {
        font-size: 60px !important;
    }



}


@media screen and (max-width: 1025px) {

    /* FORMS */

    /* Questionnaire */
    .form-questionnaire .gfield_checkbox .gchoice {
        width: 180px;
    }
    .form-questionnaire .gfield_checkbox.gfield_checkbox .gchoice .gfield-image-choice-wrapper-inner label span {
        font-size: 14px;
    }
    .form-questionnaire .gfield_checkbox .gchoice::after {
        bottom: -15px; 
    }

    .gform-field-label {
        display: inline!important;
    }

    /* SINISTRIPES */
    #compteur *,
    #intro * {
        z-index: 3;
        position: relative;
        }
        .siniscount {
            font-size: var(--wp--preset--font-size--xx-large);
        }
        #compteur p,
        #intro p {
            font-size: 32px!important;
            line-height: 1.2em;
        }

    .visible-on-mob {
        display: block;
    }

    .block-ads-stripes .stripes-nav .chevron {
        height: 2.5rem;
        width: 2.5rem;
        }
        .block-ads-stripes .stripes-nav-prev {
            left: 0rem;
        }
        .block-ads-stripes .stripes-nav-next {
            right: 0rem;
        }

    .wp-block-ads-stripes-screen .menu,
    .wp-block-ads-stripes-screen .compteur,
    .wp-block-ads-stripes-screen .intro,
    .wp-block-ads-stripes-screen .questionnaire {
        position: relative;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100vh;
        align-self: center;
        max-width: 100%;
        margin-right: auto;
        }
        .wp-block-ads-stripes-screen .compteur,
        .wp-block-ads-stripes-screen .intro {
            max-height: 50%;
            width: 100%;
            padding-left: 20% !important;
            padding-right: 20% !important;
        }



}



@media screen and (min-width: 1025px) {

    /* BLOCS DECO */

    /* bandes climat pages */
    .page-template-default::before {
        content: " ";
        background: url("assets/img/theme/bg_bandes_sideleft_bleu.svg")no-repeat;
        background-size: contain;
        background-position: bottom left;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .page-template-default::after {
        content: " ";
        background: url("assets/img/theme/bg_bandes_sideright_rouge.svg")no-repeat;
        background-size: contain;
        background-position: bottom right;
        position: absolute;
        bottom: 0;
        right: 0;
    }

    /* FORMS */

    /* Questionnaire */
    .form-questionnaire .gfield_checkbox.gfield_checkbox .gchoice .gfield-image-choice-wrapper-inner label span {
        font-size: 14px;
    }
    .form-questionnaire .gfield_checkbox .gchoice::after {
        bottom: -15px; 
    }


}



@media screen and (min-width:1025px) and (max-width:1699px) {

    /* Questionnaire */

}


@media screen and (max-width:1699px) {

    /* Questionnaire */
    .form-questionnaire #gform_page_1_2 {
        position: absolute;
        }
        .form-questionnaire .gfield_checkbox {
            row-gap: 35px !important;
            gap: 15px;
            }
            .form-questionnaire .gfield_checkbox .gfield-choice-image-wrapper {
                height: 150px;
            }
        

}


@media screen and (min-width:1700px) {

    /* Questionnaire */
    .form-questionnaire,
    .gform-theme--framework .form-questionnaire .gfield--type-image_choice .gfield_checkbox, 
    .gform-theme--framework .form-questionnaire .gfield--type-image_choice .gfield_radio {
        flex-wrap: nowrap!important;
        }
    /* Questionnaire avec pagination */
    .form-questionnaire #gform_page_1_2 {
        position: fixed;
    }
    
}