/* ==========================================================================
   VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-color: #D4A5A5;
    --secondary-color: #B38B8B;
    --bg-color: #FDFBF7;
    --text-color: #4A4A4A;
    --white: #ffffff;
    --font-title: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }


/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- LOGO --- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
}

/* --- NAV LINKS --- */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.btn-cta {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212,165,165,0.4);
}

.btn-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Mobile menu icon */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 90vh;
    margin-top: 60px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('https://images.unsplash.com/photo-1535141192574-5d4897c12636?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}


/* ==========================================================================
   SECTIONS / SERVICES / VALUES
   ========================================================================== */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-family: var(--font-title);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem auto 0;
}

/* --- SERVICES GRID --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.card h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* --- VALUES --- */
.values {
    background: var(--white);
}

.values-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
}

.value-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.value-item i {
    font-size: 2rem;
    color: var(--secondary-color);
}


/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    text-align: center;
}

/* --- CONTACT INFO --- */
.contact-info {
    flex: 1;
    min-width: 280px;
}

.contact-info h3 {
    font-family: var(--font-title);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-info p {
    max-width: 400px;
    margin: 0 auto 20px;
}

.info-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.info-item i {
    color: var(--primary-color);
}

/* --- FORMULAIRE --- */
.contact-form {
    flex: 1;
    min-width: 280px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

input, select, textarea {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fbfbfb;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-color);
    background: white;
    outline: none;
}

button[type="submit"] {
    width: 100%;
    max-width: 400px;
    background: var(--secondary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
}

button[type="submit"]:hover {
    background: var(--text-color);
}

.input-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #eee;
    background: #fbfbfb;
    font-size: 1rem;
}

.input-wrapper label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #999;
    pointer-events: none;
    transition: 0.2s ease;
}

/* Quand l’utilisateur sélectionne une date */
.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label {
    top: 5px;
    font-size: 0.75rem;
    color: var(--secondary-color);
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: 0.3s;
}

.social-link:hover {
    color: var(--primary-color);
}


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {

    /* NAVIGATION */
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        width: 100%;
        top: 70px;
        right: 0;
        background: white;
        text-align: center;
        padding: 1rem 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.05);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .logo {
        font-size: 1.2rem;
        gap: 8px;
    }

    .logo img {
        height: 40px;
    }

    /* HERO */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* CONTACT */
    .contact-container {
        padding: 2rem 1rem;
    }

    input, select, textarea,
    button[type="submit"] {
        max-width: 100%;
    }
}
