@font-face {
    font-family: Martel Sans;
    src: url('../Martel_Sans/MartelSans-Regular.ttf');
}
@font-face {
    font-family: STSong;
    src: url('../STSong/chinese.stsong.ttf');
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Martel Sans;
}

body {
    background: #fff;
    color: #333;
    overflow-x: hidden;
/* Cache toute la page jusqu'à ce qu'elle soit prête */
    opacity: 0;
    transition: opacity 1.5s ease;
}


footer {
    position: relative;
    width: 100%;
    min-height: 70px;
    background: #172601;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

footer p {
    font-size: 12px;
    color: #f4f4f4;
    text-align: center;
    margin: 0;
}
footer a{
    font-size: 12px;
    color: #f4f4f4;
    text-decoration: none;
}

.btn {
    background: #BF610F;
    padding: 15px 30px;
    border-radius: 40px;
    border: 2px solid #BF610F;    /* contour orange */
    color: #F4F4F4;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: 
        background-color 0.3s ease,
        color 0.3s ease,
        transform 0.2s ease;}

.btn:hover {
    background: #FFFFFF;          /* fond blanc */
    color: #BF610F;               /* texte orange */
    transform: translateY(-4px);  /* petit saut */
    animation: textBounce 0.3s ease;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;

    /* animation identique au temple */
    transition: transform 0.3s ease, filter 0.3s ease;
}
.menu-toggle img {
    height: 30px;
    width: 40px;
}

.menu-toggle:hover {
    transform: translateY(-5px); /* petit saut */
    filter: drop-shadow(0 0 6px white); /* halo blanc */
}

.navbar {
    background: #BF610F;
    padding: 0 60px;
    display: flex;
    align-items: center;
    height: 80px;
}

.nav-links {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly; 
}

.nav-links a {
    position: relative;
    color: #F4F4F4;
    text-decoration: none;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 20px 0;
}

.nav-links img {
    height: 32px;
}
.nav-links a:first-child img {
    height: 42px;
}

/* LIGNES HOVER */
.navbar a::before,
.navbar a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #F4F4F4;
    transform: scaleX(0);
    transition: 0.3s ease;
}

/* ligne du haut */
.navbar a::before {
    top: 10px;
}

/* ligne du bas */
.navbar a::after {
    bottom: 10px;
}

/* effet au survol */
.navbar a:hover::before,
.navbar a:hover::after {
    transform: scaleX(1);
}

/* Animation du temple */
.navbar a:first-child img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover : petit saut + blanchiment */
.navbar a:first-child:hover img {
    transform: translateY(-5px);      /* petit saut */
    filter: drop-shadow(0 0 6px white);
}

/* Désactiver entièrement les bandes pour l'icône du temple */
.navbar a:first-child::before,
.navbar a:first-child::after {
    display: none !important;
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* image de fond avec opacité séparée */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../photos/_DSC0133.png") center/cover no-repeat;
  opacity: 0.7;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
}

.flowers {
    position: absolute;
    right: -5%;
    bottom: -9%;
    height: 100%;
}

.chinese-text {
    position: relative;
    left: 30px;
    top: 15px;
    height: 85%;
    max-width: 150px;
    opacity: 80%;
    z-index: 1;
}

.hero-btn {
    position: absolute;
    top: 50%;
    left: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grey-section {
    background-color: #F4F4F4;  
    padding: 130px 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 0 20px;
    z-index: 2;
}

.text {
    flex: 1;
    text-align: center;
    z-index: 3;
}

.text h2 {
    color: #485907;         
    font-size: 28px;
    margin-bottom: 10px;
}

.text h3 {
    color: #728c11;         
    font-size: 20px;
    margin-bottom: 20px;
}

.text p {
    color: #172601;
    line-height: 1.6;
    margin-bottom: 30px;
}

.image {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.image img {
    width: 100%;
    max-width: 670px;
}

.testimonials-section {
    position: relative;
    padding: 90px 0 140px;
    background: #ffffff;
    text-align: center;
    z-index: 0;
}

.testimonials-title {
    font-size: 30px;
    color: #485907;
    margin-bottom: 50px;
}

.testimonials-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    z-index: 1;
}

.testimonial-card {
    background: #728c11;
    color: #f4f4f4;
    width: 100%;
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    line-height: 1.5;
}

.testimonial-icon {
    height: 60px;
    margin-bottom: 20px;
}

.testimonial-card .author {
    display: block;
    margin-top: 20px;
    font-weight: bold;
}

.plant-left,
.plant-right {
    position: absolute;
    bottom: 0;
    opacity: 1;
    z-index: -1;
}

.plant-left {
    left: 0;
    height: 100%;
}

.plant-right {
    right: 0;
    height: 70%;
    width: 60%;
}


/* Page Votre soin sur mesure */
.white-section {
    background-color: white;  
    padding: 110px 0;
    z-index: 0;
    position: relative;
}


/* Page Massage TuiNa */
.chinese-text2 {
    position: absolute;
    left: 30px;
    top: 15px;
    height: 500px;
    opacity: 80%;
    z-index: 1;
}

.flowers2 {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 0;
}

.pathologies {
    padding: 90px 0;
    background: #ffffff;
    text-align: center;
    z-index: 0;
    position: relative;
}

.pathologies h2 {
    font-size: 28px;
    color: #485907;
    margin-bottom: 50px;
}

.pathologies-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-items: center;
    z-index: 1;
}
.pathologies-container > :first-child,
.pathologies-container > :last-child {
  grid-column: 1 / -1;
}
.pathologies-card {
    background: #728c11;
    color: #f4f4f4;
    width: 350px;
    height: 310px;
    padding: 30px 30px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    line-height: 1.5;
}

.pathologies-card p{
    margin-bottom: 20px;
}
.pathologies-icon {
    height: 60px;
}

.pathologies-plant-left,
.pathologies-plant-right {
    z-index: -1;
    position: absolute;
}

.pathologies-plant-left {
    left: 0;
    top: 200px;
    width: 45%;
}

.pathologies-plant-right {
    right: 0;
    width: 40%;
    bottom: 0;
}

.pratique{
    background-color: #f4f4f4;
    padding: 40px 110px;
    position: relative;
}

.pratique-container{
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 150px;
    padding: 20px 0;
    z-index: 2;
}

.pratique-text {
    flex: 1;
    z-index: 3;
}

.pratique-text h2 {
    color: #485907;         
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;

}

.pratique-text p {
    color: #172601;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 20px;
}

.pratique-image {
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.pratique-image img {
    max-height: 300px;
}

.image2{
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
}
.image2 img{
    max-height: 600px;
}

.flowers3{
    position: absolute;
    left: -40px;;
    top: 0;
    height: 50%;
}

/* Page Médecine Chinoise*/
.mtc {
    position: relative;
    background-color: white;  
    padding: 40px 140px;
    z-index: 0;
}

.mtc-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    padding: 0 0;
    z-index: 2;
}

.mtc-text {
    flex: 1;
    text-align: center;
    z-index: 3;
}


.mtc-text h2 {
    color: #485907;         
    font-size: 28px;
    margin-bottom: 50px;
}

.mtc-text p {
    color: #172601;
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 15px;
}

.qi-shen{
    background-color: #f4f4f4;  
    padding: 20px 40px;
    text-align: center;
}

.qi-shen-char{
    margin: 20px 0;
    height: 100px;
}

.qi-shen-text{
    margin-bottom: 30px;
    font-size: 15px;

}

/* Page Contact */
.contact-image{
    flex: 1;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.contact-image img{
    height: 500px;
}

.text h4 {
    color: #728c11;         
    font-size: 17px;
    margin-bottom: 30px;
    margin-top: 70px;
}

.info-item{
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.info-icon {
    height: 18px;      
    width: auto;
    margin-right: 10px;
    display: inline-block;
}

.info-item p{
    font-size:  16px;
     margin: 0;    
}

/* Page Mentions légales*/
.section-mentions-legales{
    padding: 100px 100px;
    min-height: 90vh;
}


/* ------------------------- */
/*     RESPONSIVE MOBILE     */
/* ------------------------- */

@media (max-width: 768px) {

    /* NAVBAR */

   .navbar {
        padding: 0 20px;
        position: relative;
    }

    .menu-toggle {
        display: block;
        z-index: 1000;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #BF610F;
        display: none;
        flex-direction: column;
        align-items: center;
        flex: none;
        justify-content: flex-start;
        padding: 20px 0;
        z-index: 999;
    }

    .nav-links a {
        display: inline-flex;      
        width: fit-content;
        font-size: 16px;
        padding: 15px 0;
        justify-content: center;
    }

    .nav-links.active {
        display: flex;
    }

    /* HERO */
    .hero {
        height: 75vh;
    }

    .hero-btn {
        top: 60%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    .flowers {
        display: none; /* trop grandes sur mobile */
    }

    .chinese-text {
        height: 40%;
        left: 10px;
    }

    /* SECTIONS GRISES & BLANCHES */
    .container,
    .pratique-container,
    .mtc-container,
    .pathologies-container,
    .testimonials-container {
        flex-direction: column;
        text-align: center;
    }

    .grey-section,
    .white-section,
    .pathologies,
    .mtc,
    .testimonials-section,
    .pratique {
        padding: 60px 20px;
    }

    .text,
    .pratique-text,
    .mtc-text {
        text-align: center;
    }

    .image img,
    .pratique-image img,
    .contact-image img {
        max-width: 90%;
        height: auto;
    }

    .chinese-text2 {
        display: none;
    }
    .flowers3{
    display: none;
    }

    /* POLICES / TITRES */
    .text h2,
    .pathologies h2,
    .testimonials-title,
    .mtc-text h2,
    .pratique-text h2 {
        font-size: 22px;
    }

    .text h3 {
        font-size: 18px;
    }

    .text p,
    .mtc-text p,
    .pratique-text p {
        font-size: 15px;
    }

    /* TESTIMONIALS */
    .testimonial-card {
        width: 100%;
        padding: 30px 20px;
    }

    .testimonial-icon {
        height: 50px;
    }

    .plant-left,
    .plant-right {
        display: none; /* trop envahissantes sur mobile */
    }

    /* PATHOLOGIES */

    .pathologies-container {
        display: flex;
        flex-direction: column;
        padding: 0;             
        gap: 30px;
        width: 100%;
    }

    .pathologies-card {
        width: 100%;
        max-width: 100%;    
        height: auto;
        margin: 0 auto;
    }

    .pathologies-icon {
        height: 50px;
    }

    .pathologies-plant-left,
    .pathologies-plant-right {
        display: none;
    }

    /* BOUTONS */
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    /* CONTACT */
    .contact-image img {
        max-height: 300px;
    }
}
