/* IMPORT FONTS */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');

/* ===== VARIABLES GLOBALES ===== */
:root {
    --primary-beige: #F6EEE6;
    --accent-rose: #F3C6C6;
    --text-dark: #4A4A4A;
    --text-light: #7A7A7A;
    --white: #FFFFFF;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 25px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--primary-beige);
    color: var(--text-dark);
    line-height: 1.7;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 90px;
    height: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover {
    background-color: var(--accent-rose);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* DROPDOWN MENU */
.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    flex-direction: column;
    min-width: 280px;
    z-index: 1001;
    overflow: hidden;
    padding: 8px 0;
}

.dropdown:hover .dropdown-content {
    display: flex;
}

.dropdown-content a {
    display: block;
    padding: 12px 18px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-content a:hover {
    background-color: var(--primary-beige);
    border-left-color: var(--accent-rose);
    padding-left: 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: #F6EEE6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(246, 238, 230, 0.75);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    padding: 30px 25px;
    border-radius: 25px;
    max-width: 700px;
    background-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero-text h1 {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.reseaux {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    text-decoration: none;
    color: var(--white);
    background-color: var(--accent-rose);
    padding: 10px 24px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.social-link:hover {
    background-color: #E8A8A8;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(243, 198, 198, 0.4);
}

/* ===== ANIMATIONS GLOBALES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html {
    scroll-behavior: smooth;
}

/* ===== SECTIONS ===== */
section {
    padding: 60px 40px;
    max-width: 900px;
    margin: 40px auto;
    background-color: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow-light);
    animation: fadeInUp 0.8s ease-out;
}

section h2 {
    font-family: 'Dancing Script', cursive;
    font-size: 2.8rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}

section p {
    color: var(--text-light);
    text-align: justify;
    font-size: 1.05rem;
}

/* ===== FORMULAIRE CONTACT ===== */
.contact-form {
    max-width: 600px;
    margin: 30px auto 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-rose);
    box-shadow: 0 0 0 3px rgba(243, 198, 198, 0.2);
}

.submit-btn {
    background-color: var(--accent-rose);
    color: var(--white);
    border: none;
    padding: 14px 40px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 250px;
    margin: 20px auto 0;
    display: block;
}

.submit-btn:hover {
    background-color: #E8A8A8;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(243, 198, 198, 0.4);
}

/* ===== GALERIE ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    height: auto;  /* ← CHANGE : 250px → auto */
    object-fit: contain;  /* ← CHANGE : cover → contain */
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

/* ===== À PROPOS ===== */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.portrait {
    max-width: 280px;
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    flex-shrink: 0;
}

.about-content p {
    flex: 1;
    min-width: 250px;
}

/* GRILLE PARTENAIRES */
.partenaires .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.partenaires .grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.partenaires .grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* ===== LIENS ATELIERS ===== */
.ateliers-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.atelier-link {
    background-color: var(--accent-rose);
    color: var(--white);
    padding: 16px 20px;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-light);
    min-height: 80px;
}

.atelier-link:hover {
    background-color: #E8A8A8;
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

/* ===== INFOS DE CONTACT ===== */
.contact-info {
    background-color: var(--primary-beige);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.info-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
        /* ✅ CENTRAGE VERTICAL ET HORIZONTAL */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 150px;
}

.info-item strong {
    display: block;
    color: var(--accent-rose);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.info-item p {
    margin: 0;
    color: var(--text-dark);
}

.info-item a {
    color: var(--accent-rose);
    text-decoration: none;
    transition: var(--transition);
}

.info-item a:hover {
    text-decoration: underline;
}

/* ===== ATELIERS ===== */
.atelier-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #F0F0F0;
}

.detail-item {
    padding: 20px;
    background-color: var(--primary-beige);
    border-radius: 12px;
    text-align: center;
    color: var(--text-dark);
    
    /* ✅ CENTRAGE VERTICAL */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
}

.detail-item strong {
    display: block;
    color: var(--accent-rose);
    margin-bottom: 8px;
}

/* ===== OPTIMISATION MOBILE ===== */
select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1.5em;
    padding-right: 2.5em;
    cursor: pointer;
}

/* Amélioration des images avec animations */
img {
    transition: filter 0.3s ease;
}

img:hover {
    filter: brightness(1.05) saturate(1.1);
}

/* Smooth animations pour les liens */
a {
    transition: var(--transition);
}

/* ===== FOOTER ===== */
footer {
    background-color: #EEDFD3;
    text-align: center;
    padding: 30px 20px;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-top: 60px;
    border-top: 1px solid rgba(74, 74, 74, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer p {
    margin: 0;
    text-align: center;
}

.footer-links {
    margin-top: 15px;
    text-align: center;
}

.footer-links a {
    color: var(--accent-rose);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-links a:hover {
    text-decoration: underline;
    color: #E8A8A8;
}

/* Social footer */
.social-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-footer a {
    width: 40px;
    height: 40px;
    background-color: var(--accent-rose);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

.social-footer a:hover {
    background-color: #E8A8A8;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(243, 198, 198, 0.4);
}

/* ===== MENTIONS LÉGALES ===== */
.mentions-legales {
    animation: fadeInUp 0.8s ease-out;
}

.mentions-legales h3 {
    color: var(--accent-rose);
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.mentions-legales ul {
    margin: 15px 0;
    padding-left: 25px;
    color: var(--text-light);
}

.mentions-legales li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.mentions-legales a {
    color: var(--accent-rose);
    text-decoration: none;
}

.mentions-legales a:hover {
    text-decoration: underline;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out;
}

.testimonial {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--accent-rose);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.testimonial:nth-child(2) {
    animation-delay: 0.1s;
}

.testimonial:nth-child(3) {
    animation-delay: 0.2s;
}

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

.testimonial p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
}

.testimonial strong {
    color: var(--text-dark);
}

/* ===== CTA SECTION ===== */
.cta-section {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.cta-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.cta-button {
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: slideInUp 0.8s ease-out 0.3s both;
}

.cta-button.primary {
    background-color: var(--accent-rose);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(243, 198, 198, 0.4);
}

.cta-button.primary:hover {
    background-color: #E8A8A8;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(243, 198, 198, 0.6);
}

.cta-button.secondary {
    background-color: var(--white);
    color: var(--accent-rose);
    border: 2px solid var(--accent-rose);
    box-shadow: 0 4px 15px rgba(243, 198, 198, 0.2);
}

.cta-button.secondary:hover {
    background-color: var(--primary-beige);
    transform: translateY(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nav-container {
        padding: 12px 25px;
    }

    .hero-text {
        padding: 40px 30px;
        max-width: 600px;
    }

    .hero-text h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 1200px) {
    .nav-link {
        font-size: 0.9rem;
        padding: 8px 12px;
        gap: 4px;
    }

    section {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 15px;
    }

    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px;
        width: 100%;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 6px 8px;
    }

    .logo {
        max-width: 70px;
    }

    .hero {
        height: 60vh;
        background-attachment: scroll;
    }

    .hero-text {
        padding: 30px 20px;
        max-width: 90%;
        border-radius: 20px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text p {
        font-size: 0.95rem;
    }

    .social-link {
        padding: 8px 18px;
        font-size: 0.8rem;
    }

    section {
        padding: 40px 20px;
        margin: 25px 15px;
        border-radius: 20px;
    }

    section h2 {
        font-size: 2.2rem;
    }

    section p {
        font-size: 0.95rem;
    }

    .about-content {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .portrait {
        max-width: 100%;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-grid img {
        height: 200px;
    }

    .atelier-slideshow {
        margin: 20px 0;
    }

    .atelier-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text {
        padding: 25px 15px;
    }

    section {
        padding: 30px 15px;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .nav-link {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
}