/*!
Theme Name: quinze-a-theme
Theme URI: https://bklt.fr
Author: Paulette
Author URI: https://bklt.fr
Description: Theme for 15A
Version: 1.0.0
*/

@font-face {
    font-family: 'Figtree';
    src: url('https://15-a.fr/wp-content/themes/quinze-a-theme/fonts/Figtree-Medium.woff2') format('woff2'),
        url('https://15-a.fr/wp-content/themes/quinze-a-theme/fonts/Figtree-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Figtree';
    src: url('https://15-a.fr/wp-content/themes/quinze-a-theme/fonts/Figtree-Regular.woff2') format('woff2'),
        url('https://15-a.fr/wp-content/themes/quinze-a-theme/fonts/Figtree-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-beige: #EBDFD2;
    --color-jaune: #FCF802;
    --color-vert: #7AA449;
    --color-orange: #F14615;
    --color-bleu: #0075CB;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: 'Figtree';
    background-color: var(--color-beige);
    overflow-x: hidden;
}

body.home {
    opacity: 0;
}

h2 {
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

strong {
    font-weight: inherit;
}

.small-p {
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: normal;
    margin-bottom: 5rem;
}

.big-p {
    font-size: 6rem;
    line-height: 6.4rem;
    font-weight: 500;
}

@media (max-width: 700px) {
    .big-p {
        font-size: 4rem;
        line-height: 4.4rem;
    }
}

.btn {
    position: relative;
    overflow: hidden;
    display: inline-block;
    color: black;
    font-size: 2rem;
    line-height: 2rem;
    padding: 1.5rem 3.5rem;
    border: 3px solid black;
    border-radius: 5rem;
    text-decoration: none;
    transition: color 0.4s ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: -1;
    transition: left 0.4s ease;
}

.btn span {
    position: relative;
    z-index: 1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--color-beige);
}

.header {
    margin: 5rem 5rem 0;
}

@media (max-width: 700px) {
    .header {
        margin: 2rem 2rem 0;
    }
}

.header__nav ul {
    list-style: none;
}

.header__nav ul li a {
    font-size: 2rem;
    line-height: 2.8rem;
    font-weight: normal;
    color: initial;
    text-decoration: none;
}

.logo-mobile {
    display: none;
}

@media (max-width: 1170px) {
    .logo-mobile {
        display: block;
        position: absolute;
        top: 50px;
        right: 50px;
    }
}

@media (max-width: 700px) {
    .logo-mobile {
        top: 20px;
        right: 20px;
    }
}

.hero {
    position: relative;
}

.hero__logo {
    display: flex;
    justify-content: center;
    align-items: start;
    margin-top: 6rem;
}

@media (max-width: 1170px) {
    .hero__logo {
        display: none;
    }
}

.hero__1 {
    width: 16.4vw;
    height: auto;
}

.hero__5 {
    width: 23.5vw;
    height: auto;
}

.hero__a {
    width: 11.4vw;
    height: auto;
}

@media (max-width: 1170px) {
    #hero__mascotte {
        display: none;
    }
}

#hero__mascotte img {
    width: 47.7rem;
    height: auto;
    margin-top: -42rem;
}

.hero__slogan {
    width: 100%;
    height: 80vh;
    position: absolute;
    top: 0;
    margin-top: 10rem;
    text-align: center;
}

@media (max-width: 1170px) {
    .hero__slogan {
        position: initial;
        height: auto;
        margin-bottom: 13rem;
        text-align: left;
        padding: 0 5rem;
    }
}

@media (max-width: 700px) {
    .hero__slogan {
        width: auto;
        padding: 0 2rem;
    }
}

.hero__slogan h1 {
    font-size: 7vw;
    line-height: 7vw;
    font-weight: 500;
}

@media (max-width: 1170px) {
    .hero__slogan h1 {
        font-size: 6rem;
        line-height: 6.4rem;
    }
}

@media (max-width: 700px) {
    .hero__slogan h1 {
        font-size: 3.8rem;
        line-height: 4.4rem;
    }
}

.hero__slogan span {
    display: inline-block;
}

@media (max-width: 700px) {
    .hero__slogan span.l-2 {
        display: flex;
        flex-direction: column;
        align-items: start;
    }
}

.services {
    display: flex;
    align-items: center;
    max-width: 151.5rem;
    margin: auto;
    padding: 0 5rem;
}

@media (max-width: 1170px) {
    .services {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .services {
        padding: 0 2rem;
    }
}

.services__left {
    width: 60%;
}

@media (max-width: 1170px) {
    .services__left {
        width: 100%;
    }
}

.services__right {
    width: 40%;
    text-align: right;
}

@media (max-width: 1170px) {
    .services__right {
        width: 60%;
    }
}

@media (max-width: 700px) {
    .services__right {
        width: 100%;
    }
}

.services__right img {
    max-width: 66rem;
    width: 100%;
    height: auto;
}

/* Slider */

.services h2 {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

.services h2 span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: textRevealAnimation .7s ease forwards;
}

@keyframes textRevealAnimation {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide {
    display: none;
}

.services .small-p {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.services .small-p {
    animation-delay: 0.3s;
}

.services .big-p {
    animation-delay: 0.7s;
}

.slider-controls {
    margin-top: 5rem;
}

.slider-controls .dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    display: inline-block;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #000000;
    cursor: pointer;
}

.slider-controls .active,
.slider-controls .dot:hover {
    background-color: #000000;
}

.highlight {
    position: relative;
}

.underline-animation {
    text-decoration: none;
    position: relative;
    white-space: nowrap;
}

.underline-animation svg {
    position: absolute;
    top: 85%;
    left: 0;
    width: 100%;
    height: auto;
}

.round-highlight,
.slider-highlight,
.hero-highlight {
    position: relative;
    margin: 0 5px;
    display: inline-block;
}

.round-highlight::after,
.slider-highlight::after,
.hero-highlight::after {
    content: "";
    position: absolute;
    top: 0px;
    left: -13px;
    width: 100%;
    height: 95%;
    background-color: var(--color-jaune);
    border-radius: 50%;
    border: 3px solid black;
    padding: 0px 10px;
    z-index: -1;
}

.round-highlight::after,
.hero-highlight::after {
    transform: scale(0);
    opacity: 0;
}

.round-highlight.run-animation::after,
.hero-highlight::after {
    opacity: 1;
    animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.slider-highlight.green::after {
    background-color: var(--color-vert);
}

.slider-highlight.blue::after {
    top: 2px;
    background-color: var(--color-bleu);
}

.slider-highlight.orange::after {
    top: 4px;
    background-color: var(--color-orange);
}

.slider-highlight.run-animation::after {
    animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) both;
}

.hero-highlight::after {
    top: -10px;
    left: -32px;
    height: 114%;
    border: 5px solid #000;
    padding: 0px 25px;
}

@media (max-width: 1170px) {
    .hero-highlight::after {
        top: -6px;
        left: -13px;
        border: 3px solid black;
        padding: 0px 10px;
    }
}

@keyframes scale-up-center {
    0% {
        transform: scale(0.5);
    }

    100% {
        transform: scale(1);
    }
}

.about {
    max-width: 151.5rem;
    margin: 21rem auto 0;
    padding: 0 5rem;
    text-align: center;
}

@media (max-width: 1170px) {
    .about {
        margin: 16rem auto 0;
    }
}

@media (max-width: 700px) {
    .about {
        margin: 8rem auto 0;
        padding: 0 2rem;
        text-align: left;
    }
}

.about h2 {
    overflow: hidden;
    display: inline-block;
    vertical-align: top;
}

.about h2 span {
    display: inline-block;
}

.about .small-p {
    max-width: 119rem;
    margin: 0 auto 5rem;
}

.about .round-highlight::after,
.footer .round-highlight::after {
    top: 3px;
}

.client {
    max-width: 151.5rem;
    margin: 26rem auto;
    padding: 0 5rem;
}

@media (max-width: 1170px) {
    .client {
        margin: 20rem auto 22rem;
    }
}

@media (max-width: 700px) {
    .client {
        margin: 10rem auto 10rem;
        padding: 0 2rem;
    }
}

.swiper-wrapper {
    text-align: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 100%;
    height: auto;
}

.footer {
    max-width: 151.5rem;
    margin: auto;
    padding: 0 5rem;
}

@media (max-width: 700px) {
    .footer {
        padding: 0 2rem;
    }
}

.footer__top {
    display: flex;
    justify-content: space-between;
}

@media (max-width: 700px) {
    .footer__top {
        flex-direction: column;
    }
}

.footer__contact-left ul {
    margin-top: 4rem;
    list-style: none;
}

.footer__contact-left ul li {
    margin-bottom: 1rem;
    overflow: hidden;
    display: block;
}

.footer__contact-left ul li a {
    display: block;
    font-size: 2rem;
    line-height: 2.4rem;
    color: black;
    text-decoration: none;
    text-transform: uppercase;
}

.footer__contact-right {
    margin-top: 7rem;
}

@media (max-width: 700px) {
    .footer__contact-right {
        margin-top: 4rem;
    }
}

.footer__bottom {
    margin-top: -12rem;
    text-align: center;
}

@media (max-width: 700px) {
    .footer__bottom {
        margin-top: 0;
    }
}

.footer__bottom img {
    max-width: 79.5rem;
    width: 100%;
    height: auto;
}

.footer__credits {
    display: flex;
    justify-content: space-between;
    border-top: 3px solid black;
    padding: 2rem 0 5rem;
}

.footer__credits p,
.footer__credits a {
    font-size: 1.6rem;
}

.footer__credits a {
    color: black;
    text-decoration: none;
}

.page-content {
    max-width: 151.5rem;
    margin: 26rem auto;
    padding: 0 5rem;
}

.page-content h1 {
    font-size: 6rem;
    line-height: 6.4rem;
    font-weight: 500;
    text-align: center;
}

.page-content h2 {
    margin-top: 3rem;
    text-transform: none;
}

.page-content h3 {
    font-size: 1.6rem;
    font-weight: 500;
}

.page-content p {
    font-size: 1.6rem;
    line-height: 2.2rem;
    margin-block-start: 1em;
    margin-block-end: 1em;
}

.page-content ul {
    font-size: 1.6rem;
    line-height: 2.2rem;
    display: block;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 40px;
    unicode-bidi: isolate;
}

.page-content a {
    color: #000;
    font-weight: 500;
}