/* =========================================
   PAONSAVIVRE
   Création & Bien-être
   ========================================= */


/* =========================================
   COULEURS
   ========================================= */

:root {
    --bleu: #2938C9;
    --bleu-clair: #8793D9;
    --bleu-tres-clair: #EAF2F4;
    --ivoire: #FAF8F3;
    --texte: #454957;
    --blanc: #FFFFFF;
}


/* =========================================
   RÉGLAGES GÉNÉRAUX
   ========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--texte);
    background-color: var(--ivoire);
    line-height: 1.7;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   TYPOGRAPHIE
   ========================================= */

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--bleu);
}

h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

h2 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}


/* =========================================
   EN-TÊTE
   ========================================= */

.header {
    width: 100%;
    padding: 15px 6%;
    background-color: rgba(250, 248, 243, 0.96);

    display: flex;
    align-items: center;
    justify-content: space-between;

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 2px 15px rgba(41, 56, 201, 0.08);
}


/* LOGO */

.logo-container {
    width: 115px;
}

.logo {
    width: 100%;
    height: auto;
}


/* MENU */

.navigation {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navigation a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--texte);

    position: relative;

    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--bleu);
}


/* Petite ligne sous le menu */

.navigation a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 2px;

    background-color: var(--bleu);

    transition: width 0.3s ease;
}

.navigation a:hover::after {
    width: 100%;
}


/* =========================================
   HERO - PREMIÈRE SECTION
   ========================================= */

.hero {
    min-height: 80vh;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 80px 10%;

    background:
        linear-gradient(
            135deg,
            var(--bleu-tres-clair),
            var(--ivoire)
        );
}


/* TEXTE HERO */

.hero-text {
    width: 52%;
}

.petit-titre {
    font-size: 0.8rem;
    letter-spacing: 4px;
    font-weight: 600;
    color: var(--bleu);
    margin-bottom: 15px;
}

.hero-description {
    max-width: 600px;
    font-size: 1.1rem;
    margin-bottom: 35px;
}


/* IMAGE HERO */

.hero-image {
    width: 38%;
    display: flex;
    justify-content: center;
}

.hero-image img {
    width: 420px;
    max-width: 100%;

    filter: drop-shadow(
        0 15px 25px rgba(41, 56, 201, 0.12)
    );

    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: scale(1.03);
}


/* =========================================
   BOUTONS
   ========================================= */

.bouton {
    display: inline-block;

    padding: 13px 30px;

    background-color: var(--bleu);
    color: white;

    border-radius: 30px;

    font-size: 0.85rem;
    font-weight: 500;

    letter-spacing: 0.5px;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.bouton:hover {
    background-color: #1f2da8;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(41, 56, 201, 0.20);
}


/* =========================================
   SECTIONS
   ========================================= */

.section {
    padding: 100px 10%;
    text-align: center;
}

.section-douce {
    background-color: var(--bleu-tres-clair);
}

.section-boutique {
    background-color: #F1EDF6;
}

.section-contact {
    background-color: var(--bleu-tres-clair);
}


/* TEXTE INTRODUCTION */

.texte-introduction {
    max-width: 700px;
    margin: 0 auto 35px;
    font-size: 1rem;
}


/* =========================================
   CARTES DE L'UNIVERS
   ========================================= */

.cartes-univers {
    max-width: 1200px;
    margin: 60px auto 0;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;
}


/* UNE CARTE */

.carte {
    background-color: var(--blanc);

    padding: 35px 25px;

    border-radius: 20px;

    box-shadow:
        0 8px 25px rgba(41, 56, 201, 0.07);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.carte:hover {
    transform: translateY(-8px);

    box-shadow:
        0 15px 35px rgba(41, 56, 201, 0.12);
}


/* ICÔNES */

.icone {
    font-size: 2.4rem;
    margin-bottom: 20px;
}


/* LIENS */

.lien {
    display: inline-block;

    margin-top: 15px;

    color: var(--bleu);

    font-size: 0.85rem;
    font-weight: 600;
}

.lien:hover {
    color: var(--bleu-clair);
}


/* =========================================
   CONTENU ORIGANI
   ========================================= */

.section-contenu {
    max-width: 700px;
    margin: auto;
}

.section-contenu p {
    margin-bottom: 20px;
}


/* =========================================
   PIED DE PAGE
   ========================================= */

.footer {
    background-color: var(--bleu);

    color: white;

    text-align: center;

    padding: 50px 20px;
}

.footer-logo {
    width: 110px;

    margin: 0 auto 20px;

    border-radius: 10px;
}

.footer p {
    font-size: 0.8rem;
    margin-top: 8px;
}


/* =========================================
   ANIMATION DOUCE
   ========================================= */

@keyframes apparition {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text {
    animation: apparition 1s ease;
}

.hero-image {
    animation: apparition 1.2s ease;
}


/* =========================================
   TABLETTES
   ========================================= */

@media (max-width: 1000px) {

    .navigation {
        gap: 15px;
    }

    .navigation a {
        font-size: 0.75rem;
    }

    .hero {
        padding: 70px 6%;
    }

    h1 {
        font-size: 3.7rem;
    }

    .cartes-univers {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================
   TÉLÉPHONES
   ========================================= */

@media (max-width: 700px) {

    .header {
        flex-direction: column;
        gap: 10px;

        padding: 12px 15px;
    }

    .logo-container {
        width: 90px;
    }

    .navigation {
        width: 100%;

        display: flex;

        justify-content: center;

        flex-wrap: wrap;

        gap: 10px 15px;
    }

    .navigation a {
        font-size: 0.7rem;
    }


    /* HERO */

    .hero {
        min-height: auto;

        flex-direction: column;

        text-align: center;

        padding: 70px 25px;
    }

    .hero-text {
        width: 100%;
    }

    .hero-image {
        width: 80%;

        margin-top: 50px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }


    /* CARTES */

    .cartes-univers {
        grid-template-columns: 1fr;

        margin-top: 40px;
    }


    /* SECTIONS */

    .section {
        padding: 70px 25px;
    }
}


/* =========================================
   TRÈS PETITS ÉCRANS
   ========================================= */

@media (max-width: 400px) {

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .navigation {
        gap: 8px 10px;
    }

    .navigation a {
        font-size: 0.65rem;
    }
}/* =========================================
   GALERIE PHOTOS
   ========================================= */

.galerie {
    max-width: 1100px;

    margin: 50px auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


/* UNE PHOTO */

.photo-galerie {
    height: 300px;

    overflow: hidden;

    border-radius: 18px;

    background-color: white;

    box-shadow:
        0 8px 25px rgba(41, 56, 201, 0.10);

    cursor: pointer;
}


/* IMAGE */

.photo-galerie img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}


/* EFFET AU SURVOL */

.photo-galerie:hover img {
    transform: scale(1.07);
}


/* =========================================
   GALERIE SUR TABLETTE
   ========================================= */

@media (max-width: 900px) {

    .galerie {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================
   GALERIE SUR TÉLÉPHONE
   ========================================= */

@media (max-width: 600px) {

    .galerie {
        grid-template-columns: 1fr;

        gap: 15px;
    }

    .photo-galerie {
        height: 280px;
    }
/* =========================================
   PHOTO AGRANDIE
   ========================================= */

.fenetre-photo {
    display: none;

    position: fixed;

    z-index: 2000;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(30, 35, 80, 0.88);

    align-items: center;
    justify-content: center;

    padding: 40px;
}


/* IMAGE AGRANDIE */

.fenetre-photo img {
    max-width: 90%;
    max-height: 90%;

    object-fit: contain;

    border-radius: 10px;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, 0.3);
}


/* BOUTON FERMER */

.fermer-photo {
    position: absolute;

    top: 25px;
    right: 40px;

    color: white;

    font-size: 45px;

    font-weight: 300;

    cursor: pointer;

    line-height: 1;

    transition: transform 0.2s ease;
}

.fermer-photo:hover {
    transform: scale(1.15);
}
}