* {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
}

html,body{
    overflow-x: hidden;
}

.sophro-info {
    padding-top: .25rem;
}

.img-fluid-80 {
    width: 80%;
    height: auto;
}

.nav-logo {
    max-height: 3.2rem;
}

@media (max-width: 991px) {
    .nav-link {
        font-size: 1.1rem;
    }
}

@media (min-width: 1080px) {
    .nav-link {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) and (max-width: 1080px) {
    .nav-link {
        font-size: 0.9rem;
    }
}

.sophro-contact-img {
    margin-bottom: 3rem;
}

.grid-article {
    height: 100%;
    
}

.grid-spacer {
    margin-bottom: 2rem;
}

/*=======================*/
/*===== Page Tarifs =====*/
/*=======================*/

.tarif-banner {
    background-color: #39B6C3;
    color:white;
    font-size: 2rem;
    font-weight: 600;
    margin-left: -2rem;
    margin-right: -2rem;
}

.article-box {
    display: flex;
}

.grid-article-wrapper {
    flex-direction: column;
    display: flex;
}

.grid-article-wrapper:has(:hover, :focus) {
    transition: all 0.4s ease-in-out;
    border-radius: 1rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.grid-article-content {
    height: 100%;
    padding: 1rem;
    box-shadow: rgba(57,182,195, 0.16) 0px 1px 3px 0px,rgba(57,46,104, 0.06) 0px 0px 0px 1px;
    border-radius: 1rem;
    overflow: hidden;
}

/*======================*/
/*===== Google Map =====*/
/*======================*/
.map-iframe iframe {
    width: 100%;
    height: 100%;
}
.map-iframe {
    height: 32rem;
}

/*===============================*/
/*===== Style pages legales =====*/
/*===============================*/
.legal-title-h1 {
    font-weight: 600;
    padding-top: 2rem;
}

.legal-title-h2 {
    font-weight: 600;
    padding-top: 1rem;
}

@media (min-width: 992px) {    
    .legal-title-h2 {
        padding-left: 2rem;
    }

    .legal-text  {
        padding-left: 3rem;
    }
}

/*==============================*/
/*===== Sophrologie Titres =====*/
/*==============================*/
.logo-titre {
    position: relative;
    margin-top: -2.7rem;
    margin-left: 3.2rem;
    font-family: "Courgette";
    font-size: 1.8rem !important;
    background: -webkit-linear-gradient(rgb(57,182,195), rgb(57,46,104));
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sophro-title {
    font-family: "Courgette";
    font-size: 3.5rem!important;
    background: -webkit-linear-gradient(rgb(57,182,195), rgb(57,46,104));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 991px) {
    .sophro-title{
        font-size: 2.5rem!important;
    }
}

.section-sub-title {
    padding-top: 1rem;
    padding-bottom: 2rem;
    font-size: xx-large;
    font-weight: 400;
    color: #39B6C3;
}

/*=======================================*/
/*===== PC Sophrologie Style Titres =====*/
/*=======================================*/
@media (min-width: 992px) {
    .sophro-title {
        align-items: center;
        display: grid;
        grid-template-columns: .5fr max-content .5fr;
    }

/*    .sophro-title-1::before, .sophro-title-1:after {
        letter-spacing: -70px;
        font-size: 5rem;
        display: block;
    }

    .sophro-title-1:after {
        content: "—«";
        text-align: start;
    }

    .sophro-title-1:before {
        content: "»—";
        text-align: end;
        padding-right: 70px;
    }
*/

    .sophro-title::before, .sophro-title:after {
        letter-spacing: -75px;
        content: "~~";
        font-size: 5rem;
        display: block;
    }

    .sophro-title:after {
        text-align: start;
        padding-left: 45px;
    }

    .sophro-title:before {
        text-align: end;
        padding-right: 70px;
    }
}

/*=============================*/
/*===== Sophrologie Cards =====*/
/*=============================*/
.sophro-card {
    border: 5px solid;
    border-color: #395481;
/*    border-image: linear-gradient(0deg, rgba(57,46,104,1) 0%, rgba(57,182,195,1) 100%) 1;*/
    border-radius: 3rem;
    overflow: hidden;
    margin-bottom: 2.5rem;
/*    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2);*/
}

.sophro-card h3 {
    padding-top: .5rem;
}

.sophro-card .sophro-img {
    padding: 0!important;
}

.sophro-card .sophro-img img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}

/*==========================*/
/*===== Articles cards =====*/
/*==========================*/
article {
    --img-scale: 1.001;
    --title-color: black;
    --link-icon-translate: -20px;
    --link-icon-opacity: 0;
    position: relative;
    border-radius: 16px;
    box-shadow: none;
    background: #fff;
    transform-origin: center;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
}
  
article a::after {
    position: absolute;
    inset-block: 0;
    inset-inline: 0;
    cursor: pointer;
    content: "";
}
  
/* basic article elements styling */
article h2 {
    margin: 0 0 18px 0;
    font-size: 1.9rem;
    letter-spacing: 0.06em;
    color: var(--title-color);
    transition: color 0.3s ease-out;
}

figure {
    margin: 0;
    padding: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

article img {
    max-width: 100%;
    transform-origin: center;
    transform: scale(var(--img-scale));
    transition: transform 0.4s ease-in-out;
}

.article-body {
    padding: 24px;
}

article a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #128eaa;
}

article a:focus {
    outline: 1px dotted #28666e;
}

article a .icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    margin-left: 5px;
    transform: translateX(var(--link-icon-translate));
    opacity: var(--link-icon-opacity);
    transition: all 0.3s;
}

/* using the has() relational pseudo selector to update our custom properties */
article:has(:hover, :focus) {
    --img-scale: 1.1;
    --title-color: #28666e;
    --link-icon-translate: 0;
    --link-icon-opacity: 1;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

.articles {
    display: grid;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 24px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.sr-only:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

@media screen and (max-width: 768px) {
    .articles {
        grid-template-columns: 1fr;
    }
    .article {
        grid-column: auto;
        grid-row: auto;
    }
}

/*======================*/
/*===== Page index =====*/
/*======================*/

@media (min-width: 992px) {  
    .sophro-index {
        background-image: url(../img/papillon_index.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position-x: -2rem;
    }
}

/*========================*/
/*===== Pied de page =====*/
/*========================*/

footer {
    margin-top: 5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background: -webkit-linear-gradient(rgb(57,182,195), rgb(57,46,104));
    color: #FBFCFC;
}

footer h4 {
    font-weight: 600;
}

@media (max-width: 991px) {    
    .plan-site-align {
        padding-left: 2rem;
        font-size: larger;
    }
}

@media (min-width: 992px) {  
    .plan-site-align {
        padding-left: 7rem;
    }
}

@media (min-width: 1200px) {  
    .plan-site-align {
        padding-left: 8rem;
    }
}

.plan-site a {
    color: white!important;
    /*text-decoration: none!important;*/
}

.subcat {
    margin-left: 1rem;
}

.btn-social {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.25rem;
    line-height: 2rem;
}