:root {
    --gold: #D4AF37; /* Rappel du fond du logo */
    --dark: #000000;
    --white: #ffffff;
    --red: #A32024; /* Rappel du vêtement sur le logo */
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('background-pastry.jpg') no-repeat center center fixed; /* Image de fond libre de droit type pâtisserie */
    background-size: cover;
    text-align: center;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Effet épuré comme Gayane */
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 600px;
}

.logo {
    width: 300px;
    margin-bottom: 30px;
    /*border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);*/
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #555;
    line-height: 1.6;
}

.input-group {
    display: flex;
    border: 1px solid #ccc;
    padding: 5px;
    background: white;
    border-radius: 0;
}

input[type="email"] {
    flex: 1;
    border: none;
    padding: 15px;
    outline: none;
    font-size: 1rem;
}

button {
    background: var(--dark);
    color: white;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

button:hover {
    background: var(--red);
}

#message {
    margin-top: 15px;
    font-size: 0.9rem;
}

.social-links { margin-top: 50px; }
.social-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid var(--dark);
}

.instagram-wrapper {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.instagram-wrapper a {
    color: #000000; /* Couleur noire par défaut */
    transition: all 0.3s ease;
    display: inline-block;
    width: 100px; /* Taille de l'icône */
    height: 100px;
}

.instagram-wrapper a:hover {
    color: #A32024; /* Changement vers le rouge du logo au survol */
    transform: translateY(-3px); /* Petit effet de levier "waouh" */
}

.instagram-wrapper svg {
    width: 100%;
    height: 100%;
}

/* --- Optimisations Mobiles --- */
@media (max-width: 768px) {

    .instagram-wrapper a {
    color: #000000; /* Couleur noire par défaut */
    transition: all 0.3s ease;
    display: inline-block;
    width: 70px; /* Taille de l'icône */
    height: 70px;
    }
    h1 {
        font-size: 1.8rem; /* Titre plus petit sur mobile */
        padding: 0 10px;
    }

    .subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }

    .container {
        width: 95%;
        padding: 10px;
    }

    .input-group {
        flex-direction: column; /* Input et Bouton l'un sur l'autre */
        border: none;
        background: transparent;
    }

    input[type="email"] {
        width: 100%;
        margin-bottom: 10px;
        border: 1px solid #ccc;
    }

    button {
        width: 100%;
        padding: 15px;
    }

    .logo {
        width: 200px; /* Logo légèrement réduit */
    }
}

/* Accessibilité : agrandir les zones cliquables sur mobile */
button, input {
    min-height: 44px;
}