/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette Pêche/Corail */
    --peche-clair: #FFE5D9;
    --peche: #FFCDB2;
    --corail-doux: #FFB4A2;
    --corail: #E5989B;
    --corail-fonce: #B5838D;
    --blanc-casse: #FFF8F5;
    --gris-doux: #F5E6E8;
    --texte-principal: #6D5A5A;
    --texte-secondaire: #9B8787;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--texte-principal);
    background-color: var(--blanc-casse);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === HEADER === */
header {
    background: linear-gradient(135deg, var(--peche) 0%, var(--corail-doux) 100%);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(229, 152, 155, 0.2);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--peche-clair) 0%, var(--gris-doux) 100%);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '💅';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--corail-fonce);
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--texte-secondaire);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero .signature {
    font-style: italic;
    color: var(--corail);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--corail) 0%, var(--corail-fonce) 100%);
    color: white;
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(229, 152, 155, 0.3);
    animation: fadeInUp 1s ease 0.9s both;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(229, 152, 155, 0.5);
}

/* === SECTIONS COMMUNES === */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--corail-fonce);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--corail) 0%, var(--corail-fonce) 100%);
    border-radius: 2px;
}

/* === SERVICES === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(229, 152, 155, 0.15);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--corail-doux);
    box-shadow: 0 15px 40px rgba(229, 152, 155, 0.25);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--corail-fonce);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--texte-secondaire);
    line-height: 1.8;
}

/* === À PROPOS === */
#apropos {
    background: linear-gradient(135deg, var(--blanc-casse) 0%, var(--peche-clair) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    color: var(--corail-fonce);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--texte-secondaire);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    background: linear-gradient(135deg, var(--peche) 30%, var(--corail-doux) 100%);
    height: 400px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: 0 15px 40px rgba(229, 152, 155, 0.3);
}

/* === GALERIE === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    background: linear-gradient(135deg, var(--peche-clair) 0%, var(--gris-doux) 100%);
    height: 300px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(229, 152, 155, 0.2);
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(229, 152, 155, 0.3);
}

/* === CONTACT === */
#contact {
    background: linear-gradient(135deg, var(--peche-clair) 0%, var(--blanc-casse) 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(229, 152, 155, 0.15);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--corail-fonce);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--peche);
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--blanc-casse);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--corail);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(229, 152, 155, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    font-size: 2rem;
    color: var(--corail);
}

.info-text h4 {
    color: var(--corail-fonce);
    margin-bottom: 0.3rem;
}

.info-text p {
    color: var(--texte-secondaire);
}

/* === FOOTER === */
footer {
    background: linear-gradient(135deg, var(--corail-fonce) 0%, var(--corail) 100%);
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* === ANIMATIONS === */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === ALERTS === */
.alert-message {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    animation: fadeInDown 0.5s ease backwards;
}

.alert-message.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 5px solid #28a745;
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.15);
}

.alert-message.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 5px solid #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.15);
}

.alert-icon {
    font-size: 2rem;
}

.alert-content h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
    color: inherit;
}

.alert-content p {
    font-size: 0.95rem;
    margin: 0;
    color: inherit;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .subtitle {
        font-size: 1.2rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .about-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 5rem 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
