/*
Theme Name: Mas Tolosa
Theme URI: https://madare.fr
Author: Madare
Author URI: https://madare.fr
Description: Hello.
Version: 2023
Requires at least: 5.2
Tested up to: 6.1
Requires PHP: 7.0
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
Text Domain: madare
*/
html{
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
}
.homepage-logo-container{
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
}
.homepage-logo{
    width: 18.5625rem;
    height: auto;
    margin: auto;
}

.homepage-header{
    padding-left: 9.25vw;
}
.homepage-header__container{
    background-image: linear-gradient(transparent 80%, #f8f8f8 80%);
}
.homepage-header__wrapper{
    background-image: url(/wp-content/themes/blank_theme/img/screen_1_background.jpg);
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 38.375rem;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.homepage-header__title{
    font-size: clamp(2.5rem, 10vw, 6.0625rem);
    font-weight: bold;
    line-height: 1em;
    padding-left: 3.3125rem;
}

.homepage-content{
    padding: 0 9.25vw;
    padding-bottom: 5vw;
    margin-bottom: 2.5rem;
}
.homepage-content__wrapper{
    background-color: #f8f8f8;
    padding: 7.2vh 4.16vw 12.5vh 4.16vw;
    text-align: center;
}
.homepage-content__main-text{
    font-size: clamp(1.125rem, 4.35vw, 47px);
    line-height: 1.2em;
    font-weight: bold;
    margin-bottom: 1.2em;
}
.homepage-content__text{
    font-size: clamp(1rem, 3.5vw, 2.375rem);
    line-height: 1.4em;
    margin-bottom: 5.2vh;
    font-weight: normal;
}
.homepage-content__cta{
    background-color: #9a817d;
    padding: 1.875rem 3.75rem;
    color: #fff;
    font-size: clamp(1rem, 3.7vw, 2.5rem);
    line-height: 1.35em;
    letter-spacing: -.04em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

@media (max-width: 992px){
    .homepage{
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .homepage-logo{
        position: absolute;
        top: 0px;
        left: 0px;
        width: 9.375rem;
        height: auto;
    }
    .homepage-header__wrapper{
        min-height: 25rem;
    }
}
@media (max-width: 600px){
    .homepage-header__wrapper{
        min-height: 12.5rem;
    }
    .homepage-content__cta{
        padding: 0.625rem 1.5625rem;
    }
    .homepage{
        padding-top: 60px;
        padding-bottom: 60px;
    }
}



.questionnaire{
    padding: 4.16vh 9.25vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.questionnaire-logo-container{
    margin-top: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    padding-top: 2.5rem;
}
.questionnaire-logo{
    display: block;
    margin: auto;
    width: 18.5625rem;
    height: auto;
}
.questionnaire__container{
    width: 100%;
}
.questionnaire__container.loading>div{
    opacity: .4;
    pointer-events: none;
    position: relative;
}
.questionnaire__container.loading::after{
    content: "";
    position: absolute;
    top: calc(50% - 2.1875rem);
    left: calc(50% - 2.1875rem);
    font-size: clamp(1.25rem, 3.6vw, 2.4375rem);
    display: block;
    width: 4.375rem;
    height: 4.375rem;
    background-image: url(/wp-content/themes/blank_theme/img/loader.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-animation: rotating 4s linear infinite;
    -moz-animation: rotating 4s linear infinite;
    -ms-animation: rotating 4s linear infinite;
    -o-animation: rotating 4s linear infinite;
    animation: rotating 4s linear infinite;
}
@-webkit-keyframes rotating /* Safari and Chrome */ {
    from {
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes rotating {
    from {
      -ms-transform: rotate(0deg);
      -moz-transform: rotate(0deg);
      -webkit-transform: rotate(0deg);
      -o-transform: rotate(0deg);
      transform: rotate(0deg);
    }
    to {
      -ms-transform: rotate(360deg);
      -moz-transform: rotate(360deg);
      -webkit-transform: rotate(360deg);
      -o-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
.questionnaire__wrapper{
    background-color: #f8f8f8;
    padding: 9.375vh 1.875rem;
    text-align: center;
    min-height: 60vh;
}
.questionnaire__step:not(.active){
    display: none;
}
.questionnaire__titre{
    font-size: clamp(1.5rem, 5.55vw, 3.75rem);
    line-height: 1.36em;
    font-weight: bold;
    margin-bottom: 1.25rem;
}
.questionnaire__divider{
    border: none;
    border-top: solid 0.3125rem #9a807d;
    width: 7.5rem;
    margin: auto;
    margin-bottom: 8.33vh;
}
.questionnaire__texte{
    font-size: clamp(1rem, 3.6vw, 2rem);
    line-height: 1.35em;
    margin-bottom: 4.68vh;
}
.questionnaire__texte--margin-top{
    margin-top: 4.68vh;
    margin-bottom: 0;
}
.questionnaire__stars{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0.875rem;
}
.questionnaire__star{
    background-color: transparent;
    border: none;
    display: block;
    width: 8.33vw;
}
.questionnaire__star svg{
    max-width: 100%;
    display: block;
    height: auto;
}
.questionnaire__stars:has(.active) .questionnaire__star path:last-child,
.questionnaire__stars:has(.active) .questionnaire__star path:first-child{
    fill: #9a807d;
}
.questionnaire__star.active ~ .questionnaire__star path:last-child{
    fill: #000;
}
.questionnaire__star.active ~ .questionnaire__star path:first-child{
    fill: transparent;
}
.questionnaire__nav{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 5.55vw;
    margin-top: 2.5rem;
}
.questionnaire__nav-prev,
.questionnaire__nav-next{
    display: block;
    border: none;
    background-color: transparent;
}
.questionnaire__nav-prev.disabled,
.questionnaire__nav-next.disabled{
    opacity: .6;
    pointer-events: none;
}
.questionnaire__nav-icon{
    width: clamp(2.5rem, 6.48vw, 4.375rem);
    height: auto;
}
.questionnaire__nav-step{
    font-size: clamp(1rem, 2.68vw, 1.8125rem);
    color: #b4b4b4;
}
.questionnaire__skip{
    text-align: center;
    margin-top: 1rem;
}
.questionnaire__skip button{
    display: none;
    border: none;
    background-color: transparent;
    letter-spacing: -.04em;
    font-size: clamp(1rem, 2.13vw, 1.5625rem);
    color: #b4b4b4;
}
.questionnaire__textearea{
    width: 100%;
    max-width: 35.625rem;
    background-color: #e9e9e9;
    border-radius: 1.3125rem;
    padding: 1rem 3.33vw;
    border: none;
    font-size: clamp(1rem, 2.13vw, 1.5625rem);
    letter-spacing: -.04em;
}
.questionnaire__textearea:focus{
    outline-color: #9a807d;
}
.questionnaire__input{
    width: 100%;
    max-width: 35.625rem;
    background-color: #e9e9e9;
    border-radius: 1.3125rem;
    padding: 1rem;
    border: none;
    font-size: clamp(1rem, 2.13vw, 1.5625rem);
    letter-spacing: -.04em;
    text-align: center;
    margin-bottom: clamp(1rem, 2.39vh, 2.875rem);
}
.questionnaire__input:last-of-type{
    margin-bottom: 0;
}
.questionnaire__input:focus{
    outline-color: #9a807d;
}
.questionnaire__submit{
    background-color: #9a817d;
    padding: 1.25rem 2.8125rem;
    color: #fff;
    font-size: clamp(0.875rem, 2.8vw, 1.9375rem);
    line-height: 1.35em;
    letter-spacing: -.04em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    display: none;
    border: none;
    margin: auto;
    margin-top: 3.75rem;
    max-width: 18.125rem;
    width: 100%;
}

@media (max-width: 992px){
    .questionnaire-logo{
        width: 12.5rem;
    }
    .questionnaire__wrapper{
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .questionnaire__submit{
        margin-top: 2.5rem;
    }
}

@media (max-width: 600px){
    .questionnaire{
        padding-top: 60px;
        padding-bottom: 60px;
        min-height: 0;
    }
}

@media (max-width: 600px){
    .questionnaire-logo{
        width: 8.75rem;
    }
    .questionnaire__wrapper{
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
        min-height: 0;
    }
}

.merci{
    padding: 0 0 4.16vh 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.merci__container{
    padding: 0 9.25vw;
    width: 100%;
}
.merci__container-logo{
    margin-top: auto;
    padding-top: 2.5rem;
}
.merci-logo{
    display: block;
    margin: auto;
    width: 18.5625rem;
    height: auto;
}
.merci__visuel{
    width: 100%;
    height: auto;
    display: block;
}
.merci__wrapper{
    background-color: #f8f8f8;
    padding: 9.375vh 5.625rem;
    text-align: center;
}
.merci__texte-en-avant{
    font-weight: bold;
    font-size: clamp(1.625rem, 4.35vw, 2.9375rem);
    line-height: 1.2em;
    max-width: 42.5rem;
    margin: auto;
    text-wrap: pretty;
}
.merci__divider{
    border: none;
    border-top: solid 0.3125rem #9a807d;
    width: 7.5rem;
    margin: auto;
    margin-top: 5.2vh;
    margin-bottom: 3.125vh;
}
.merci__row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.merci__texte{
    font-weight: 500;
    font-size: clamp(1.25rem, 3.5vw, 2.3125rem);
    line-height: 1.4em;
    max-width: 21.25rem;
    text-align: left;
    margin: auto;
    text-wrap: pretty;
}
.merci__texte--mobile{
    display: none;
}
.merci__qrcode{
    max-width: 14.625rem;
}
@media (max-width: 992px){
    .merci__wrapper{
        padding: 9.375vh 1.875rem;
    }
    .merci-logo{
        width: 12.5rem;
    }
}


@media (max-height: 1440px){
    .merci__main{
        margin-top: -150px;
        position: relative;
    }
    .merci__qrcode{
        display: none;
    }
    .merci__texte--desktop{
        display: none;
    }
    .merci__texte--mobile{
        display: block;
    }
    .merci__texte a{
        text-decoration: underline;
        color: #000;
    }
    .merci__texte{
        text-align: center;
    }
    .merci__row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
    }
    .merci-logo{
        width: 8.75rem;
    }
}

@media (max-width: 768px){
    .merci__qrcode{
        display: none;
    }
    .merci__texte--desktop{
        display: none;
    }
    .merci__texte--mobile{
        display: block;
    }
    .merci__texte a{
        text-decoration: underline;
        color: #000;
    }
    .merci__texte{
        text-align: center;
    }
    .merci__row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
    }
    .merci-logo{
        width: 8.75rem;
    }
}