
:root
{
    --sectionBackground: #f5eee4;
    --pageBackground: #f5eee4;  
    --title: #130601ee;
    --menuButton: #f5eee4;
    --button: #2A3C49;
    --buttonHover: #6890af;
    --CTA: linear-gradient(200deg, #FFA726, #FF4500);;
    --CTAHover: #e80a0e; 
    --highlight: #e80a0ee1; 
    --secondaryHighlight: #9C27B0;
    --navLinkHover: #FCFFFF;
    --menuHover: #3A1C2E; 
    --CTAClick: #e0e1e2;
    --link: #D72638; 
    --icon:#D72638;
    --currentPage: #2A3C49;
    --lightText: #f5eee4;
    --mainText: #130601ee;
    --iconBackground: #9EACAD;
    --cardBackground : #fab885;


}

/* ---------------------------------- Fonts --------------------------------- */

@font-face 
{
    font-family: "Sora";
    src: url("./assets/fonts/Sora-VariableFont_wght.woff2") format("woff2");
    font-display: swap;
}

@font-face 
{
    font-family: "Nunito Sans";
    src: url("./assets/fonts/NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.woff2") format("woff2");
    font-display: swap;
}


/* --------------------------------- Global --------------------------------- */

/* Pour Chrome, Safari */
main::-webkit-scrollbar {
    width: 0 !important;
  }
  
  /* Pour Firefox */
  main {
    scrollbar-width: none;
  }

html
{
    font-size: 16px;
    scroll-behavior: smooth;
}

html, body 
{
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: auto;
}
  

@media screen and (min-width: 1188px)
{
    html
    {
        font-size: 18px;
    }
}

body
{
    width: 100vw;
    background: var(--pageBackground);
    margin: 0 auto;
    padding: 0;
    overflow-x: hidden;
    z-index: 1;
}

main
{
    display: flex;
    flex-flow: column nowrap;
    scroll-snap-type: y mandatory; 
    overflow-y: scroll; 
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1
{
    margin-top: 12vh;

    font-family: Sora, sans-serif;
    font-size: 2rem;
    letter-spacing: 2px;
    word-spacing: 8px;
    line-height: 52px;
    color: var(--title); 

}

h2
{
    font-family: Sora, sans-serif;
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: 0.2px;
    line-height: 44px;
    color: var(--mainText); 
}

h3
{
    font-family: Sora, sans-serif;
    text-align: center;
    font-size: 1.2rem;
    letter-spacing: 0.2px;
    line-height: 44px;
    color: var(--mainText); 
}

p
{
    max-width: 1000px;
}

p, label, li, address
{
    font-family: Nunito Sans, sans-serif;
    font-size: 1rem;
    line-height: 40px;
    letter-spacing: 1.1px; 
    color: var(--mainText); 
}

li img
{
    margin-right: 8px;
}
strong
{
    color: var(--highlight);
}

input[type=text], input[type=email], input[type=tel]
{
    height: 48px;
    border-radius: 3px;
    border: none;
}

input, textarea
{
    font-family: Nunito Sans, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1.1px; 
    color: var(--mainText); 
    width: 100%;
}

textarea
{
    height: 200px;
    border-radius: 3px;
    border: none;
}

input[type=submit], button[type=submit]
{
    margin-top: 16px;
    padding: 20px 32px;
    width: 100%;
    border: none;

    font-size: 1rem;
    font-family: Nunito Sans, sans-serif;
    font-weight: bold;    text-decoration: none;

    color: var(--lightText); 

    background: var(--CTA);

    border-radius: 3px;

    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 16px;  

    animation: gradientMoveZoom 8s ease infinite;

    cursor: pointer;
    overflow: hidden; /* Masque tout ce qui dépasse du bouton */
    transition: background-color 0.3s ease; /* Pour une transition fluide de la couleur */
    z-index: 1;

}

ul
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

a
{
    font-size: 1rem;
    font-family: Nunito Sans, sans-serif;
    font-weight: bold;
    color: var(--link);
    transition: all 0.2s ease-out;
}

a:hover 
{
    color: var(--navLinkHover); 
}


section
{
    position: relative;
    width: 100vw;
    scroll-snap-align: start;
    background: url(images/background.webp) bottom right no-repeat,
                url(images/backgroundLeft.webp) top left no-repeat,
                url(images/paper.webp),
                var(--pageBackground);

    background-size: 275px 275px, 275px 275px;
    background-blend-mode: normal, normal, soft-light, soft-light;
    
}

@media screen and (min-width: 400px)
{
    section 
    {
        background-size: 648px 633px;
    }

}


@media screen and (min-height: 630px)
{
    section, main
    {
        height: 100vh;
    }

    .hero
    {
        min-height: 100vh;
    }


}




/* --------------------------------- Navbar --------------------------------- */

nav, #menu, .menuItem, li:not(:first-child) .navLink
{
    width: 100%;
}

nav, #menu, .menuItem, .topRightMenu
{
    display: flex;
    align-items: center;
}

nav, #logo
{
    height: 90px;
}

nav, #menu
{
    top: 0;
    z-index: 2;

}

#menu, #closeButton
{
    position: absolute;
}

nav, .topRightMenu
{
    flex-flow: row nowrap;
}

.navLink, #menu
{
    transition: all 0.2s ease-out;
}

#menu, .menuItem
{
    flex-flow: column nowrap;
    justify-content: center;
}

nav 
{
    padding: 10px 40px 10px 24px;
    border-radius: 3px;

    justify-content: space-between;

    position: fixed;
    left: 50vw;
    transform: translateX(-50%);
}

#logo 
{
    width: 180px;
    object-fit: contain;
    margin-left: 16px;
}

.navLink 
{
    padding: 16px 32px;
    text-decoration: none;
}

#current
{
    color: var(--currentPage);
}

#menu 
{
    height: 100vh;

    left: 100%;
    margin: 0;
    padding-left: 0;
    background-color: var(--pageBackground); 
}

#menu:target 
{
    left: 0%;
}

.menuButton, .closeButton
{
    fill: var(--menuButton); 
}

.menuButton:hover, .closeButton:hover
{
    fill: var(--CTAHover); 
}

#closeButton
{
    right: 10px; 
    top: 5px;
}

.menuItem
{
    height: 100%;
}

#menu:target .menuItem
{
    border-bottom: 1px solid var(--border); 
}

.menuItem:nth-child(2)
{
    margin-top: 80px;
}

li:not(:first-child) .navLink
{
    text-align: center;
    line-height: 100%;
}

li:not(:first-child):hover .navLink
{
    color: var(--navLinkHover); 
}

.topRightMenu 
{
    justify-content: center;
    gap: 24px;
    width: 80%;
}

#menuButton 
{
    height: 48px;
    width: 48px;
}




/* ---------------------------------- Hero ---------------------------------- */

.hero
{

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    z-index: 0;
    margin: 0 auto;
}


.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200vw;
    min-height: 500px;
    height: 60%; 
    background: linear-gradient(200deg, #FFA726, #FF4500);
    background-size: 200% 200%;
    animation: gradientMoveZoom 8s ease infinite;
    clip-path: polygon(0 0, 100% 0, 100% 20%, 0 25%);
    z-index: 1;
  }

@keyframes gradientMoveZoom 
{
    0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }
  
.heroMessageWrapper
{
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: center;
    margin: 0 16px;
    max-width: 600px;
    width: 100%;
}

.heroImage
{
    height: 150px;
    width: 150px;
    filter: drop-shadow(1px 1px 5px #000000);

}

.heroImageLarge
{
    display: none;
    height: 500px;
    width: 500px;
    filter: drop-shadow(1px 1px 5px #000000);

}

#heroWrapper, #headLine
{
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}


  
@keyframes fadeIn 
{
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}



.hero, #heroWrapper, .heroMessage, .hero p:last-child:not(#tagline)
{
    width: 100%;
}


.hero.small
{
    height: 380px;
}

.hero.small h1
{
    margin-top: 128px;
    font-size: 2.2rem;
}



#headLine
{
    width: 95%;
    flex-flow: column nowrap;
    justify-content: flex-start;
    max-width: 600px;
    gap: 24px;
}



.hero h1, .heroMessage
{

    text-align: center;
    z-index: 1;

}

.heroMessage
{
    max-width: 270px;
}

.heroMessage, .heroMessage a
{
    margin: 0;
    font-family: Nunito Sans, sans-serif;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--mainText);

}

.hero p:last-child:not(#tagline)
{
    margin: 0px 32px;
    line-height: 30px;
}

.button {

    font-family: Sora, sans-serif;
    font-size: 0.9rem;
    position: relative; /* Ajout de la position relative */
    letter-spacing: 1px;
    word-spacing: 1px;

    padding: 20px 32px;
    width: 200px;

    text-decoration: none;

    color: var(--lightText); 

    background: var(--CTA);

    border-radius: 3px;

    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 16px;

    cursor: pointer;
    overflow: hidden; /* Masque tout ce qui dépasse du bouton */
    transition: background-color 0.3s ease; /* Pour une transition fluide de la couleur */
    z-index: 1;
}

.button::before, input[type=submit]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background-color: var(--CTAHover);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: width 0.5s, height 0.5s, transform 0.5s;
    z-index: -1; 
}

.button:hover::before, input[type=submit]::before {
    width: 500%;
    height: 500%;
    transform: translate(-50%, -50%) scale(1);
}



.seeMore
{
    margin-top: 12px;
}

.seeMore svg
{
    fill: var(--highlight); 
    display: block;
}


.CTA:active path
{
    fill: var(--mainText); 
}

.contact path
{
    fill: var(--lightText);
}

.phone 
{
    background-color: #C9A3B4; 
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
}

#logoWrapper
{
    display: none;
}

#smile g path
{
    fill: var(--CTA); 
}

#logoWrapper
{
    height: 350px;
    width: 350px;
}

#tagline
{
    font-family: Nunito Sans, sans-serif;
    font-size: 1.3rem;
    color: var(--CTA); 
    font-style: italic;
    margin-top: 0px;
    text-align: center;

    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
    white-space: nowrap;
    overflow: hidden;
    margin: 0 auto;

}

.hero .seeMore
{
    position: absolute;
    bottom: 20px;
    margin: 0 auto;
    left: calc(50% - 24px);
}


@media screen and (min-width: 440px)
{
    .hero h1
    {
        font-size: 2.5rem;
        line-height: 52px;
        letter-spacing: 1.6px;
    }

    #headLine p
    {
        font-family: Nunito Sans, sans-serif;
        font-size: 1.3rem;
        line-height: 40px;
        letter-spacing: 1.1px;
        font-weight: bold;
    }
}



@media screen and (min-height: 844px)
{
    .heroMessageWrapper
    {
        flex-flow: column nowrap;
    }
}

@media screen and (min-height: 896px)
{
    .hero h1
    {
        font-size: 2.5rem;
        line-height: 52px;
        letter-spacing: 1.6px;
    }

    #headLine p
    {
        font-family: Nunito Sans, sans-serif;
        font-size: 1.3rem;
        line-height: 40px;
        letter-spacing: 1.1px;
        font-weight: bold;
    }

    .heroImage
    {
        height: 175px;
        width: 175px;
    }
}



@media screen and (min-width: 880px) and (min-height: 815px)
{
    
    #logo
    {
        height: 75px;
        width: 220px;
    }
    .hero h1
    {
        margin-top: 50px;
        font-size: 4rem;
        line-height: 96px;
        letter-spacing: 1.6px;
    }

    .hero
    {
        flex-flow: row nowrap;
    }

    .heroImage
    {
        display: none;
    }      

    .heroImageLarge
    {
        display: block;
        margin-top: 40px;
    }
}



@media screen and (min-width: 1188px)
{
    .hero
    {
        gap: 5vw;
    }
    .hero h1 
    {
        margin-bottom: 0;
    }

    .hero .button
    {
        width: 260px;
    }

    .heroImageLarge
    {
        height: 675px;
        width: 675px;
    }

}



/* -------------------------------- Services -------------------------------- */

.services
{
    overflow-y: auto;
    height: auto;
    min-height: 100vh; 
    scroll-snap-align: start; 
    padding: 96px 20px;
    -webkit-overflow-scrolling: touch; 
    box-sizing: border-box;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.cardWrapper4
{
    display: flex;
    flex-flow: column nowrap;
    gap: 48px;
    justify-content: center;
    align-items: center;
}

.cardWrapper2
{
    display: flex;
    flex-flow: row wrap;
    gap: 48px;
    justify-content: center;
    align-items: center;
}


.card
{
    width: 280px;
    height: 580px;

    display: flex;
    flex-flow: column nowrap;
    border-radius: 1rem;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 20px 64px 20px;

    background: var(--cardBackground);
    box-shadow: 5px 6px 5px rgba(0, 0, 0, 0.05);
}

@media screen and (min-width: 980px)
{
    .cardWrapper2, .cardWrapper4
    {
        gap: 96px;
    }
}

@media screen and (min-width: 1188px)
{
    .card
    {
        width: 350px;
    }
}



/* ---------------------------------- About --------------------------------- */

.about
{
    overflow-y: auto;
    height: auto;
    min-height: 100vh; 
    scroll-snap-align: start; 
    padding: 96px 20px;
    -webkit-overflow-scrolling: touch; 
    box-sizing: border-box;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.aboutContent
{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    gap: 64px;
}


.illustration
{
    border-radius: 5px;
    box-shadow: 7px 7px 10px -5px rgba(0,0,0,0.75);
}

@media screen and (min-width: 1000px)
{
    .about .illustration
    {
        width: auto;
        height: auto;
    }

    .aboutContent p
    {
        width: 500px;
    }
}

/* -------------------------------- Portfolio ------------------------------- */

.portfolio
{
    overflow-y: auto;
    height: auto;
    min-height: 100vh; 
    scroll-snap-align: start; 
    padding: 96px 20px;
    -webkit-overflow-scrolling: touch; 
    box-sizing: border-box;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.portfolioScroll
{
    display: flex;
    width: 80%;
    height: 780px;
    gap: 16px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    justify-content: center;
    max-width: 1100px;
}

.portfolioScroll::-webkit-scrollbar {
    width: 0 !important;
  }
  
  /* Pour Firefox */
.portfolioScroll {
    scrollbar-width: none;
  }

.slide 
{
    overflow-y: auto;
    flex: 0 0 80%;
    scroll-snap-align: center;
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: flex-start;

    background: var(--cardBackground);
    box-shadow: 5px 6px 5px rgba(0, 0, 0, 0.05);
    border-radius: 1rem;
    padding: 32px 16px 32px 16px;
    position: relative;

}

.nav-btn 
{
    position: absolute;
    bottom: -5%;
    transform: translateY(-50%);
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    z-index: 1;
    font-size: 2rem;
    background-color: var(--pageBackground);
}

.nav-btn.left 
{
    left: -8px;
}

  .nav-btn.right 
{
    right: -8px;
}

.portfolio .seeMore
{
    position: absolute;
    bottom: 20px;
}

@media screen and (min-width: 800px)
{
    .portfolio .illustration
    {
        height: 250px;
    }
}

@media screen and (min-width: 1300px)
{
    .nav-btn 
{
    position: absolute;
    top: 50%;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    z-index: 1;
    font-size: 2rem;
    height: 48px;
    width: 48px;
}

.nav-btn.left 
{
    left: -8px;
}

  .nav-btn.right 
{
    right: 24px;
}
}


/* --------------------------------- Offers --------------------------------- */

.offers
{
    overflow-y: auto;
    height: auto;
    min-height: 100vh; 
    scroll-snap-align: start; 
    padding: 96px 20px;
    -webkit-overflow-scrolling: touch; 
    box-sizing: border-box;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
}

.offers .card
{
    padding-bottom: 16px;
    height: 800px;
    justify-content: space-between;
}

.price
{
    font-size: 1.4rem;
    font-weight: bold;
    background-color: rgb(55, 35, 179);
    color: var(--lightText);
    padding: 8px 16px;
    border-radius: 20px;
}

/* --------------------------------- Contact -------------------------------- */

.contactSection
{
    overflow-y: auto;
    height: auto;
    min-height: 100vh; 
    scroll-snap-align: start; 
    -webkit-overflow-scrolling: touch; 
    box-sizing: border-box;

    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 32px;
    text-align: center;

}


form
{
    width: 90%;
    max-width: 800px;
    margin-bottom: 32px;

    display: flex;
    flex-flow: column nowrap;
    border-radius: 1rem;
    align-items: center;
    justify-content: flex-start;
    padding: 48px 20px 64px 20px;
    gap: 32px;

    background: var(--cardBackground);
    box-shadow: 5px 6px 5px rgba(0, 0, 0, 0.05);
}

.footer 
{
    width: 100%;
    height: 32px;
    background: linear-gradient(200deg, #FFA726, #FF4500);
    background-size: 200% 200%;
    animation: gradientMoveZoom 8s ease infinite;
}

address
{
    color: var(--lightText); 
    font-style: normal;
    font-weight: bold;
}

#privacy
{
    overflow-y: auto;
    height: auto;
    padding: 96px 20px;
    box-sizing: border-box;
    min-height: 100vh;

}

#privacy p {
    max-width: 750px;
    margin: 0 auto;
}

