/* Réinitialisation et styles de base */
:root {
    --primary-color: #d4af8a;
    --primary-dark: #b38f6a;
    --secondary-color: #1a1a1a;
    --light-color: #f8f5f2;
    --light-gray: #e8e5e2;
    --dark-gray: #333;
    --accent-color: #c0a080;
    --text-color: #333;
    --text-light: #777;
    --white: #ffffff;
    --black: #000000;
    --transition: all 0.3s ease;
    --border-radius: 4px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-light: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

/* Définition des styles de base pour le HTML */
html {
    scroll-behavior: smooth; /* Défilement fluide */
    font-size: 62.5%; /* Base pour des rem faciles à calculer */
  	height: 100%;
}


body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Conteneur principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

/* Bouton principal */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-light);
}

/* Bouton avec bordure */
.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Bouton de petite taille */
.btn-small {
    padding: 0.8rem 1.8rem;
    font-size: 1.2rem;
}

.section {
    padding: 8rem 0;

}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 3.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Sous-titre de section */
.section-subtitle {
    font-size: 1.6rem;
    color: var(--text-light);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-inner {
    text-align: center;
}

.scissors-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    animation: pulse 1.5s infinite;
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

/* Animation de pulsation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

 /* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    transition: all 0.4s ease;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header.scrolled {

    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo-text {
    font-size: 2.2rem;
    line-height: 1;
}

.logo-subtext {
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 0.3rem;
    color: var(--primary-color);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    margin-right: 3rem;
}

.nav-item {
    margin-left: 3rem;
}

.nav-link {
    font-size: 1.4rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

/* Bouton burger (menu mobile) déjà présent plus bas */

.burger {
    display: none;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./accueil.jpg') no-repeat center center/cover;
    z-index: -1;
}



.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(30px);
    opacity: 1; /* Assurez-vous que le contenu est visible */
    visibility: visible;
    position: relative;
    z-index: 2; /* Assurez-vous que le contenu est au-dessus de l'arrière-plan */
    color: var(--white);
}

/* .hero-title {
    font-size: 6rem;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.title-line {
    display: block;
    color: var(--primary-color);
    font-family: 'poppins', sans-serif;
    font-weight: 600;
    font-size: 6rem;
} */

/* ...existing code... */

/* HERO - Mise en valeur du titre */
.hero-title {
    font-size: 7rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0,0,0,0.45), 0 1px 0 var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    line-height: 1.1;
    animation: fadeInDown 1.2s cubic-bezier(.77,0,.18,1) both;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Accentuer la couleur sur "Hair'" */
.title-line {
    display: block;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 7rem;
    letter-spacing: 2px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .title-line {
        font-size: 4rem;
    }
}



.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-20px) translateX(-50%);}
    60% {transform: translateY(-10px) translateX(-50%);}
}

.hero-cta {
    position: absolute;
    bottom: 80px;
    width: 100%;
    text-align: center;
}

/* Lorsqu'une ancre est ciblée */
section:target {
    animation: highlight 1.5s ease;
}

@keyframes highlight {
    0% { background-color: transparent; }
    20% { background-color: rgba(212, 175, 138, 0.2); }
    100% { background-color: transparent; }
}




@keyframes scroll {
    0% { top: 5px; opacity: 1; }
    100% { top: 15px; opacity: 0; }
}

/* Services Section */
/* .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
} */

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 colonnes pour 5 services */
    gap: 3rem;
    margin-top: 5rem;
}

/* TEST URGENT - À mettre temporairement */
.service-card {
    opacity: 1;
    transform: none;
    background: #fff;
    padding: 20px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.service-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-description {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.service-price {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-content {
    padding-right: 3rem;
}

.about-text {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.about-image {
    position: relative;
    height: 500px;
}


.team-photo {
    width: 100%;
    height: 100%;
    background: url('./services2.jpg') no-repeat center center/cover;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.signature {
    display: flex;
    align-items: center;
    margin-top: 3rem;
}

.signature-img {
    width: 120px;
    margin-right: 1.5rem;
}

.signature-name {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--primary-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 6rem;
    text-align: center;
}

.stat-item {
    padding: 3rem 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
}

Testimonials Section
.testimonials {
    background-color: var(--white);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.testimonial-card {
    background-color: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.testimonial-content {
    font-style: italic;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-color);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: 'Playfair Display', serif;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--secondary-color);
}

.author-title {
    font-size: 1.2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.google-reviews-link {
    text-align: center;
    margin-top: 2rem;
}

.google-reviews-link .btn {
    color: var(--primary-color);
    background: var(--white);
    border: 1px solid var(--primary-color);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(212, 175, 138, 0.08);
    transition: var(--transition);
}

.google-reviews-link .btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 5rem;
}

.contact-form {
    background-color: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    font-family: 'Poppins', sans-serif;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(212, 175, 138, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    background-color: var(--white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow-light);
    height: 100%;

}

.contact-info-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;

}

.contact-info-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    margin-top: 0.3rem;
}

.opening-hours p {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.opening-hours strong {
    font-weight: 600;
}

.map-container {
    margin-top: 3rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow-light);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: var(--light-gray);
    padding: 6rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--white);
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-text {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    font-size: 1.4rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.newsletter-form input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    border: none;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: var(--light-gray);
}

.newsletter-form .btn-small {
    width: 100%;
}

/* Pied de page bas */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Pour éviter le débordement sur petits écrans */
    gap: 1.5rem;
}

.copyright {
    font-size: 1.2rem;
    color: var(--light-gray);
    text-align: center;
    flex: 1 1 200px;
}

.legal-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.legal-links a {
    font-size: 1.2rem;
    color: var(--light-gray);
    transition: var(--transition);
    padding: 0.2rem 0.5rem;
    border-radius: 2px;
}

.legal-links a:hover {
    color: var(--primary-color);
    background: rgba(255,255,255,0.08);
    text-decoration: underline;
}

/* Responsive pour mobile */
@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
        padding-bottom: 20px;
    }
}



/* Responsive Styles */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        padding-right: 0;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ...existing code... */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw; /* Prend toute la largeur */
        height: 100vh; /* Prend toute la hauteur */
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: none;
        z-index: 1000;
    }
    .nav.active {
        right: 0;
    }
    /* ...existing code... */

    
    .nav-list {
        flex-direction: column;
        margin-right: 0;
        margin-bottom: 3rem;
    }
    
    .nav-item {
        margin-left: 0;
        margin-bottom: 2rem;
    }
    
    .nav-cta {
        margin-top: 2rem;
    }
    
    .burger {
        display: flex;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .section {
        padding: 6rem 0;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    

}

@media (max-width: 992px) {
    .container {
        max-width: 95vw;
        padding: 0 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {

        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .section {
        padding: 6rem 0;
    }
}