/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
}

h1 {
    display: none;
}

/* FONTS */
@font-face {
    font-family: 'Virtual';
    src: url('../fonts/virtual-regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Quicksand';
    src: url('../fonts/Quicksand/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-display: swap;
}

/* LOADER */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.95); /* fond blanc semi-transparent */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

/* Logo rebondissant */
#loader-logo {
  width: 150px;
  border-radius: 60%;
  animation: bounce 1.2s infinite;
}

/* Keyframes pour le rebond */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Explosion style soleil */
.loader-explode {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFD700, rgba(255,215,0,0));
  animation: explode 2s forwards;
}

@keyframes explode {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(6); opacity: 0; }
}

/* HEADER */
.container-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: #F7E7D7;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 250px;
}

.logo img {
    height: 200px;
    border-radius: 60%;
}

.logo a {
    cursor: pointer;
}

.nav-links ul li a {
    display: flex;        /* pour aligner texte + icône */
    align-items: center;  /* centre le texte et l'icône verticalement */
    height: 100%;
}

.nav-links ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #020302;
    font-family: 'Quicksans', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links a:hover {
    color: #A28873;
    transform: scale(1.05);
}

.nav-links ul li a img {
    width: 40px;       /* taille de l'icône */
    height: 40px;      /* même hauteur pour que ce soit carré */
    vertical-align: middle; /* aligne avec le texte si besoin */
    margin-left: 5px;  /* espace si nécessaire */
    transition: transform 0.3s;
}

.nav-links ul li a img:hover {
    transform: scale(1.05);; /* petit effet hover sympa */
}

/* Menu Burger */
.burger {
  display: none; /* caché sur desktop */
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #A28873;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.burger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.toggle span:nth-child(2) {
  opacity: 0;
}

.burger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Menu Burger - Media Query */
@media (max-width: 1024px) {
.container-header {
    position: relative;
    z-index: 1000;
}

.burger {
    display: flex;
    position: absolute;
    right: 30px;   /* ← distance exacte */
    top: 50%;
    transform: translateY(-50%);
}

.nav-links ul {
    position: absolute;
    top: 100%;
    right: 30px;
    width: 220px;

    flex-direction: column;
    gap: 20px;

    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    text-align: center;

    transition: all 0.3s ease;
}

.nav-links ul.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

}

/* MAIN */

/* Bienvenue */
.bienvenue-container {
    position: relative;
    max-width: 1200px;
    margin: 60px auto; /* centré horizontalement */
    padding: 0 20px;
}

/* Bloc texte couleur plein largeur */
.text-block {
    background-color: #F7E7D7;
    padding: 60px 40px 40px 40px;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

/* Texte et titre */
.text-block h2 {
    font-family: 'Virtual', sans-serif;
    font-size: 4rem;
    color: #A28873;
    margin-bottom: 20px;
}

.text-block p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-right: 420px; 
}

/* Image chevauchante à droite */
.img-container {
    position: absolute;
    top: -30px; /* décalage depuis le haut du bloc */
    right: 0;
    width: 400px;
    z-index: 2;
}

.img-container img {
    width: 100%;
    border-radius: 15px;
}

/* Boutons sous le bloc couleur */
.btn-container {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: flex-start; /* alignés à gauche */
}

.btn-container .btn {
    background-color: #A28873;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    color: #FFFFFF;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-container .btn:hover {
    background-color: #F7E7D7;
    color: #020302;
    transform: scale(1.05);
}

/* Oracle */
.oracle-container {
    position: relative;
    max-width: 1200px;
    margin: 300px auto 80px auto; /* centré horizontalement */
    padding: 0 20px;
}

/* Bloc texte couleur plein largeur */
.text-oracle-essenciel {
    background-color: #F7E7D7;
    padding: 60px 40px 40px 450px;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

/* Texte et titre */
.text-oracle-essenciel h2 {
    font-family: 'Virtual', sans-serif;
    font-size: 4rem;
    color: #A28873;
}

.text-oracle-essenciel p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Image chevauchante à gauche */
.img-oracle {
    position: absolute;   /* pour sortir du flux et chevaucher */
    top: -30px;           /* léger décalage depuis le haut du bloc */
    left: 0;
    width: 400px;
    z-index: 10;          /* plus haut que le bloc couleur */
    border-radius: 15px;
}

.img-oracle img {
    width: 100%;
    display: block;
    border-radius: 15px;
}

/* Texte explicatif sous le bloc couleur */
.text-oracle {
    padding: 20px 40px 10px 450px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

.text-oracle h2 {
    font-family: 'Virtual', sans-serif;
    font-size: 4rem;
    color: #A28873;
}

.text-oracle p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Bouton sous le texte */
.btn-oracle {
    margin-top: 20px;
}

.btn-oracle .btn {
    background-color: #A28873;
    padding: 10px 20px;
    border-radius: 15px;
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    color: #FFFFFF;
    display: inline-block;
    margin-left: 450px;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-oracle .btn:hover {
    background-color: #F7E7D7;
    color: #020302;
    transform: scale(1.05);
}

/* FOOTER */
.site-footer {
    background-color: #A28873;
    padding: 40px 20px;
    font-family: 'Quicksand', sans-serif;
    color: #020302;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap; /* pour que ça reste responsive */
}

/* Colonne Gauche */
.footer-left {
    display: flex;
    align-items: center; /* centre verticalement logo et li */
    gap: 30px;           /* espace entre le logo et la colonne de liens */
}

/* Instagram */
.footer-left .footer-instagram img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.footer-left .footer-instagram img:hover {
    transform: scale(1.05);
}

/* Liens en colonne */
.footer-left .footer-links {
    display: flex;
    flex-direction: column;
    font-family: 'Quicksand', sans-serif;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: #F7E7D7;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-links a:hover {
    color: #020302;
    transform: scale(1.05);
}

/* Colonne Milieu */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;         /* centre horizontalement le logo */
    justify-content: space-between; /* espace entre logo et textes */
    height: 100%;                /* prend toute la hauteur du footer */
    text-align: center;
}

/* Logo centrale */
.footer-center .footer-logo {
    height: 80px;
    border-radius: 60%;
    margin-bottom: 80px;
}

/* Paragraphes en bas */
.footer-center p {
    margin: 5px 0;
    font-size: 0.9rem;
    font-family: 'Quicksand', sans-serif;
    font-style: italic;
    color: #020302;
}

.footer-center p a {
    color: #F7E7D7;
    font-family: 'Quicksand', sans-serif;
    text-decoration: none;
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-center p a:hover {
    color: #020302;
    transform: scale(1.05);
}

/* Colonne droite */
.footer-right {
    display: flex;
    align-items: center;      /* centre verticalement la colonne */
    justify-content: flex-end; /* pousse le contenu à droite */
}

/* Liste en colonne */
.footer-right .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: right; /* texte aligné à droite */
}

/* Animations JS */
.animate-img {
    opacity: 0;
    transform: translateX(80px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-img-left {
    opacity: 0;
    transform: translateX(-80px);
    transition: opacity 1s ease, transform 1s ease;
}

.animate-active {
    opacity: 1;
    transform: translateX(0);
}

.animate-btn {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-btn-active {
    opacity: 1;
    transform: translateY(0);
}

/* MEDIA QUERY */
@media (max-width: 1024px) {

    /* HEADER */
    .container-header {
        height: auto;
        padding: 20px;
    }

    .logo img {
        height: 120px;
    }

    /* BIENVENUE */

    .bienvenue-container {
        display: flex;
        flex-direction: column;
        align-items: center;       /* centre horizontalement */
        text-align: center;
        gap: 20px;
        margin: 40px auto;
        padding: 0 20px;
    }

    .text-block {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .text-block h2 {
        font-size: 2.5rem;
    }

    .text-block p {
        font-size: 1rem;
        margin: 0;
    }

    .img-container {
        position: relative;  /* remet dans le flux */
        top: 0;
        right: 0;
        width: 60%;
        max-width: 300px;
        margin: 20px auto;   /* centre horizontalement */
        display: block;
        left: auto !important;
    }

    .btn-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-container .btn {
        width: 100%;
        text-align: center;
    }

    /* Oracle */
    .oracle-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        margin: 80px auto 40px auto;
        padding: 0 20px;
    }

    .text-oracle-essenciel,
    .text-oracle {
        padding: 30px 20px;
        border-radius: 15px;
    }

    .text-oracle-essenciel h2,
    .text-oracle h2 {
        font-size: 2.5rem;
    }

    .text-oracle-essenciel p,
    .text-oracle p {
        font-size: 1rem;
        margin: 0;
    }

    .img-oracle {
        order: 3;
        position: relative;   /* remet dans le flux */
        top: 0;
        left: 0;
        width: 60%;
        max-width: 300px;
        margin: 20px auto;    /* centre horizontalement */
        display: block;
        z-index: 1;
    }

    .img-oracle img {
        width: 100%;
        border-radius: 15px;
    }

    .btn-oracle {
        order: 4;
        margin-top: 15px;
        display: flex;
        justify-content: center;
    }

    .btn-oracle .btn {
        width: 80%;
        margin-left: 0;
        text-align: center;
    }

    /* FOOTER */

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-left {
        order: 1;
    }

    .footer-right {
        order: 2;
    }

    .footer-center {
        order: 3; /* passe en dernier */
    }

    /* Colonne gauche */
    .footer-left {
        flex-direction: column;   /* logo au-dessus */
        align-items: center;
        gap: 20px;
    }

    /* Instagram au-dessus */
    .footer-left a {
        order: -1;
    }

    /* Liste centrée */
    .footer-left .footer-links {
        align-items: center;
    }

    /* Colonne droite */
    .footer-right {
        justify-content: center;
    }

    .footer-right .footer-links {
        text-align: center;
    }
}

@media (max-width: 480px) {

    .text-block h2,
    .text-oracle-essenciel h2,
    .text-oracle h2 {
        font-size: 2rem;
    }

    .text-block p,
    .text-oracle-essenciel p,
    .text-oracle p {
        font-size: 0.9rem;
    }

    .img-container,
    .img-oracle {
        width: 80%;
        max-width: 260px;
    }

    .btn-container .btn,
    .btn-oracle .btn {
        width: 100%;
    }
}