/************
** Commmon **
*************/
:root {
    --font-size-base: 1rem;
    --scale-ratio: 1.25;
    --flex-shrink: 1;
    --flex-basis: 0;
    --margin-inline: 5vw;
}

.text-l {
    font-size: clamp(calc(var(--font-size-base) * var(--scale-ratio) * var(--scale-ratio)),
            calc(4vw + 1rem),
            calc(var(--font-size-base) * var(--scale-ratio) * var(--scale-ratio) * var(--scale-ratio)));
    line-height: 1.2;
}

.text-m {
    font-size: clamp(var(--font-size-base),
            calc(1vw + 0.75rem),
            calc(var(--font-size-base) * var(--scale-ratio)));
    line-height: 1.5;
}

.background {
    /* background: url(../img/noise.png), radial-gradient(circle, rgb(153 141 160) 0%, rgb(99 115 145) 100%); */
    background: url(../img/noise.webp), radial-gradient(circle, rgb(135, 122, 142) 0%, #51607a 100%);
    background-size: 150px, 100% 100vh;
    background-attachment: fixed;
}

.curved-line {
    width: 80%;
    height: 20px;
    margin: auto;
}

svg {
    width: 100%;
    height: 100%;
    stroke: #ffffffa1;
}

.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.image-container picture {
    width: 100%;
    height: 100%;
    display: block;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4rem;
}

.multi-images-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/************
** Navigat **
*************/
.navbar {
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.navbar-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px
}

.navbar a {
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar .icon {
    display: none;
    font-size: 30px;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1001;
    top: 0;
    left: 0;
    background-color: #1f2c8f;
    overflow-x: hidden;
    transition: 0.15s;
}

.overlay-content {
    position: relative;
    top: 15%;
    width: 100%;
    text-align: center;
    left: 8%;
    display: flex;
    flex-direction: column;
    justify-items: start;
    align-items: start;
    gap: 6px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    display: block;
    transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
}

@media screen and (max-width: 600px) {
    .navbar-items {
        display: none;
    }

    .navbar {
        justify-content: start;
    }

    .navbar .icon {
        display: block;
        padding: 14px 16px;
    }
}

@media screen and (min-width: 601px) {
    .overlay {
        display: none;
    }

    .navbar .icon {
        display: none;
    }
}


/************
** Section **
*************/
section {
    display: flex;
    flex-direction: column;
    margin: clamp(30px, calc(30px + 2vw), 60px) var(--margin-inline);
    align-items: center;
    /* max-width: 1200px; */
    /* margin: 0 auto; */
}

section>* {
    margin: 2vw 0;
}

section:first-of-type {
    height: 90vh;
    margin-top: 90px;
}

section:last-of-type {
    margin-top: 90px;
}

/************
** Accueil **
*************/
.accueil {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 5%;
}

.accueil>* {
    flex-shrink: var(--flex-shrink);
    flex-basis: var(--flex-basis);
}

.accueil> :nth-child(1) {
    flex-grow: 2;
}

.accueil> :nth-child(2) {
    flex-grow: 5;
}

.accueil> :nth-child(3) {
    flex-grow: 1;
}

.accueil> :nth-child(4) {
    flex-grow: 3;
}

/**************
** Portrait ***
***************/
.portrait-title {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.portrait-image-container {
    max-width: 100%;
    height: 400px;
}

.button-23 {
    background-color: #FFFFFF;
    border: 1px solid #a16767;
    border-radius: 20px;
    box-sizing: border-box;
    color: #835454;
    cursor: pointer;
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    line-height: 20px;
    margin: 0;
    outline: none;
    padding: 20px 36px;
    position: relative;
    text-align: center;
    text-decoration: none;
    touch-action: manipulation;
    transition: box-shadow .2s, -ms-transform .1s, -webkit-transform .1s, transform .1s;
    width: auto;
}

.button-23:focus-visible {
    box-shadow: #222222 0 0 0 2px, rgba(255, 255, 255, 0.8) 0 0 0 4px;
    transition: box-shadow .2s;
}

.button-23:active {
    background-color: #F7F7F7;
    border-color: #000000;
    transform: scale(.96);
}

.button-23:disabled {
    border-color: #DDDDDD;
    color: #DDDDDD;
    cursor: not-allowed;
    opacity: 1;
}

.floating-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #112f4f;
    color: white;
    text-decoration: none;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.floating-button a:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}

.floating-button svg {
    width: 30px;
    height: 30px;
}


/**********
** Shiatsu 
**********/
.content-section {
    display: grid;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    grid-template-columns: 1fr;
    grid-template-areas:
        "title"
        "image"
        "description";
    align-items: center;
}

.title {
    font-size: 1.5rem;
    margin: 2rem;

}

.shiatsu-images img {
    height: auto;
    max-width: 300px;
    object-fit: contain;
}

.description {
    margin: 0;
}


.title {
    grid-area: title;
}

.shiatsu-images {
    grid-area: image;
    width: 100%;
    height: 100%;
}

.description {
    grid-area: description;
}


/**********
** Contact
**********/
.contact {
    display: flex;
    flex-direction: column;
}
.contact > a {
    flex: 1;
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    flex: 1;
}

.contact-icon {
    width: 110px;
    height: 110px;
    background-color: rgba(161, 175, 225, 0.599);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px;

}

.contact-icon>svg {
    margin: 30px;
}

.address {
    margin: 10px
}

.address>p {
    margin-block-start: 5px;
    margin-block-end: 5px;
}

footer {
    text-align: start;
    margin: 30px;
    font-size: 13px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
}

.socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px
}

.social-icon {
    width: 60px;
    height: 65px;
}


/*********************
*** Desktop **********
**********************/
@media only screen and (min-width: 768px) {
    .image-container img {
        aspect-ratio: 1;
    }

    /* .navbar {
        padding: 1vw 14vw;
    } */

    .accueil> :nth-child(2) {
        flex: 15 1 0
    }


    .portrait {
        flex-direction: row;
        gap: 1rem;
        align-items: center;
    }

    .portrait>* {
        flex-shrink: var(--flex-shrink);
        flex-basis: var(--flex-basis);
        flex-grow: 1;
    }

    .content-section {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "title title"
            "description image";
    }

    .shiatsu-images img {
        max-width: 450px;
        height: 100%;
    }

    .contact {
        flex-direction: row;
        gap: 60px;
    }
}

/**********
** Plan ***
**********/

:root {
    --baseColor: #656c7c;
    --baseSize: 16px;
    --baseLineHeight: 1.5;
    --fontFamily: Inter, sans-serif;
    --pink: #8d4343;
    --pinkLight: #ffecf0;
    --blue: #aac3e8;
    --redTick: url("data:image/svg+xml,%3Csvg width='18' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.552.134 5.717 10.97 1.448 6.701 0 8.149l5.717 5.717L18 1.583 16.552.134Z' fill='%23EA455F'/%3E%3C/svg%3E%0A");
    --whiteTick: url("data:image/svg+xml,%3Csvg width='18' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.552.134 5.717 10.97 1.448 6.701 0 8.149l5.717 5.717L18 1.583 16.552.134Z' fill='%23FFFFFF'/%3E%3C/svg%3E%0A");
    --close: url("data:image/svg+xml,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 1.414 16.586 0 9 7.586 1.414 0 0 1.414 7.586 9 0 16.586 1.414 18 9 10.414 16.586 18 18 16.586 10.414 9 18 1.414Z' fill='%23B1B8C9'/%3E%3C/svg%3E");
    --entpIcon: url("data:image/svg+xml,%3Csvg width='42' height='42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.813 11.077 21 1.155l17.187 9.922v19.846L21 40.845 3.813 30.923V11.077Z' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='21' cy='21' r='8' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}

.planItem {
    --border: 1px solid #e6e6e6;
    --bgColor: #fff;
    --boxShadow: none;
    background-color: var(--bgColor);
    border: var(--border);
    border-radius: 1rem;
    box-shadow: var(--boxShadow);
    padding: 2rem 1.5rem;
    display: inline-flex;
    flex-direction: column;
}

.planItem__container {
    --direction: column;
    display: grid;
    grid-auto-flow: var(--direction);
    grid-auto-columns: 1fr;
    gap: 1.5rem;
    max-width: 800px;
}

.planItem .price {
    --priceMargin: 2rem 0;
}

.planItem--pro {
    --border: 0;
    --boxShadow: 0px 14px 30px rgba(204, 204, 204, 0.32);
}


.planItem--entp {
    --bgColor: var(--blue);
}

.planItem--entp .card {
    --titleColor: #fff;
    --descColor: rgb(255 255 255 / 80%);
}

.planItem--entp .card__icon {
    background-image: var(--entpIcon);
    background-size: cover;
}

.planItem--entp .price,
.planItem--entp .featureList {
    --color: #fff;
}

.planItem--entp .featureList {
    --icon: var(--whiteTick);
}

.planItem .button {
    margin-top: auto;
}

.button {
    --bgColor: var(--pinkLight);
    --color: var(--pink);
    --shadowColor: rgb(234 76 137 / 30%);
    --outline: var(--pink);
    border-radius: 0.5rem;
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border: 0;
    line-height: inherit;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--bgColor);
    color: var(--color);
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.button--pink {
    --bgColor: #1b6894;
    --color: #fff;
    --shadowColor: rgba(116, 157, 214, 0.5);
}

.button--white {
    --bgColor: #fff;
    --shadowColor: rgb(255 255 255 / 30%);
    --outline: #fff;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0px 6px 10px var(--shadowColor);
}

.button:focus-visible {
    outline-offset: 2px;
    outline: 2px solid var(--outline);
}

.card {
    --titleColor: #000;
    --descColor: var(--baseColor);
}

.card__header {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.card__icon {
    width: 2.625rem;
    height: 2.625rem;
}

.card h2 {
    color: var(--titleColor);
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 400;
    margin: 0;
    flex-grow: 1;
}

.card__desc {
    margin: 1.5rem 0 0;
    color: var(--descColor);
}

.label {
    --labelColor: var(--baseColor);
    --labelBg: #e5e5e5;
    font-weight: 600;
    line-height: 1.25;
    font-size: 1rem;
    text-align: center;
    padding: 0.625rem 1.125rem;
    border-radius: 2rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: var(--labelBg);
    color: var(--labelColor);
}

.price {
    --color: #000;
    --priceMargin: 0;
    display: flex;
    color: var(--color);
    align-items: center;
    gap: 0.5625rem;
    font-weight: 600;
    font-size: 2rem;
    margin: var(--priceMargin);
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--baseColor);
}


.featureList2 {
    --color: #000;
    margin: 0 0 2.75rem;
    padding: 0;
    font-weight: 500;
}

.featureList2 li {
    color: var(--color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    text-align: start;
}

.featureList2 li:last-child {
    margin-bottom: 0;
}

.featureList {
    --color: #000;
    --icon: var(--redTick);
    --height: 0.875rem;
    margin: 0 0 2.75rem;
    padding: 0;
    font-weight: 500;
}

.featureList li {
    color: var(--color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: start;
}

.featureList li:before {
    content: "";
    background-image: var(--icon);
    background-size: cover;
    display: block;
    width: 1.125rem;
    height: var(--height);
    min-width: 16px;
    min-height: 12px;
}

.featureList li:last-child {
    margin-bottom: 0;
}

.featureList li.disabled {
    --color: #b1b8c9;
    --height: 1.125rem;
    --icon: var(--close);
}

.symbol {
    --big: 2.625rem;
    --small: 1.5rem;
    --radius: 0.85rem;
    border: 2px solid var(--blue);
    width: var(--big);
    height: var(--big);
    border-radius: var(--radius);
    position: relative;
}

.symbol--rounded {
    --radius: 2rem;
}

.symbol:after {
    content: "";
    box-sizing: border-box;
    display: block;
    position: absolute;
    border: 2px solid var(--pink);
    width: var(--small);
    height: var(--small);
    border-radius: var(--radius);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 640px) {
    .plans {
        max-width: 480px;
        width: 90%;
    }

    .planItem__container {
        --direction: row;
    }
}

@media screen and (min-width: 641px) and (max-width: 768px) {
    :root {
        --baseSize: 12px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1080px) {
    :root {
        --baseSize: 14px;
    }
}