/* Importer uniquement Quicksand (300 light, 400 normal, 500 medium, 600 semi-bold, 700 bold) */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* Styles globaux */
body {
    font-family: 'Quicksand', sans-serif;
    background-color: #faf1dd;
    color: #7D6256;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    color: #42362d;
    margin: 20px 0;
    text-align: center;
    font-family: 'Quicksand', sans-serif;
}

/* Tailles et styles des titres pour Desktop */
h1 {
    font-size: 3rem; /* 48px */
    font-weight: 700;
}

h2 {
    font-size: 2.25rem; /* 36px */
    font-weight: 600;
}

h3 {
    font-size: 1.875rem; /* 30px */
    font-weight: 500;
    font-style: italic;
}

h4 {
    font-size: 1.5rem; /* 24px */
    font-weight: 500;
}

h5 {
    font-size: 1.25rem; /* 20px */
    font-weight: 400;
    font-style: italic;
}

h6 {
    font-size: 1.125rem; /* 18px */
    font-weight: 300;
}

/* Paragraphes */
p {
    text-align: center;
    
}

/* Liens */
a {
    color: #42362d;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: #4B3D33;
    transform: scale(1.05);
}

/* Boutons */
.button,
#cta-button {
    display: inline-block;
    padding: 14px 30px;
    margin: 15px 0;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1em;
    color: #FFFFFF;
    background-color: #D9BFA7;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover,
#cta-button:hover {
    background-color: #B8A28F;
    transform: scale(1.05);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Input, Select, Textarea Styles */
input, select, textarea {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #B8A28F;
    border-radius: 5px;
    font-family: 'Quicksand', sans-serif;
    font-size: 1em;
    color: #42362d;
    font-weight: 400;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #7D6256;
    box-shadow: 0 0 8px rgba(125, 98, 86, 0.5);
}

/* Animation pour la section produit */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem; /* 40px */
    }

    h2 {
        font-size: 2rem; /* 32px */
    }

    h3 {
        font-size: 1.75rem; /* 28px */
    }

    h4 {
        font-size: 1.375rem; /* 22px */
    }

    h5 {
        font-size: 1.125rem; /* 18px */
    }

    h6 {
        font-size: 1rem; /* 16px */
    }

    p {
        font-size: 1rem; /* 16px */
        margin: 15px 0;
    }

    .button,
    #cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    input, select, textarea {
        padding: 10px;
        font-size: 0.9em;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem; /* 36px */
    }

    h2 {
        font-size: 1.75rem; /* 28px */
    }

    h3 {
        font-size: 1.5rem; /* 24px */
    }

    h4 {
        font-size: 1.25rem; /* 20px */
    }

    h5 {
        font-size: 1rem; /* 16px */
    }

    h6 {
        font-size: 0.875rem; /* 14px */
    }

    p {
        font-size: 0.9375rem; /* 15px */
        margin: 15px 0;
    }

    .button,
    #cta-button {
        padding: 10px 20px;
        font-size: 0.85em;
    }

    input, select, textarea {
        padding: 8px;
        font-size: 0.875em;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.875rem; /* 30px */
    }

    h2 {
        font-size: 1.5rem; /* 24px */
    }

    h3 {
        font-size: 1.25rem; /* 20px */
    }

    h4 {
        font-size: 1.125rem; /* 18px */
    }

    h5 {
        font-size: 1rem; /* 16px */
    }

    h6 {
        font-size: 0.875rem; /* 14px */
    }

    p {
        font-size: 0.875rem; /* 14px */
        margin: 10px 0;
    }

    .button,
    #cta-button {
        padding: 8px 18px;
        font-size: 0.8em;
    }

    input, select, textarea {
        padding: 7px;
        font-size: 0.8em;
    }
}
