/* --- Variables de Couleurs et Polices --- */
:root {
    --primary-color: #FBC3E0; /* Rose */
    --secondary-color: #EABC2D; /* Jaune */
    --text-color: #000000; /* Noir */
    --background-color: #FFFFFF; /* Blanc */
    --font-serif: "Georgia", serif; 
    --font-alt: "Trebuchet MS", "Lucida Sans Unicode", sans-serif; 
}

/* --- Styles Généraux --- */
body {
    font-family: var(--font-alt);
    color: var(--text-color) !important;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    text-align: center !important;
    cursor: url('../img/abeille.png') 16 16, auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Titres Généraux --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--primary-color);
    padding: 25px 0;
    border-bottom: 3px solid var(--secondary-color);
}

.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 20px;
}

.navbar-brand img { height: 120px; width: auto; }

.brand-name {
    font-family: var(--font-serif) !important;
    font-size: 3.5em !important;
    color: #000000 !important;
    font-weight: bold;
    margin-left: 20px;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-serif);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1.1em;
}

.nav-links a:hover, .nav-links a.active { color: var(--secondary-color); }

/* --- SECTION HERO (ACCUEIL) --- */
.hero {
    position: relative;
    height: 80vh;
    margin: 20px 40px 50px 40px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--primary-color);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../img/background-hero.png') no-repeat center center/cover;
    filter: blur(3px) brightness(0.7); 
    transform: scale(1.05);
    z-index: -1;
}

.hero-content h1 {
    font-size: 2.2em;
    color: var(--primary-color) !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* --- SECTION QUI SOMMES-NOUS (ÉQUIPE) --- */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 50px auto;
}

.team-card {
    background-color: var(--primary-color);
    flex: 1;
    min-width: 200px;
    max-width: 220px;
    padding: 25px 15px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease;
}

.team-card:hover {
    transform: scale(1.05); 
    background-color: var(--secondary-color) !important; 
}

.team-card img {
    width: 180px !important; 
    height: 180px !important; 
    object-fit: cover; 
    border-radius: 20px;
    margin-bottom: 20px;
}

/* --- SECTION TEXTE (SURLIGNAGE ROSE) --- */
.about-text {
    text-align: left !important;
    max-width: 1000px;
    margin: 40px auto;
}

/* S'applique à Pourquoi, Nos Valeurs et Nos Tissus */
.about-text h2 {
    display: inline-block !important;
    background-color: var(--primary-color) !important; 
    padding: 5px 15px;
    margin-top: 30px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 1.8em;
    text-align: left !important;
}

.about-text p {
    text-align: left !important;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* --- SECTION PAGE PRODUITS - LE BLOC JAUNE --- */
.product-description-box {
    background-color: #F7DF88 !important; 
    padding: 30px;
    border-radius: 20px;
    margin: 40px auto;
    max-width: 900px;
    text-align: left !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.product-description-box h2 {
    display: block !important;
    background-color: transparent !important;
    padding: 0;
    margin-bottom: 20px;
    text-align: left !important;
}

/* --- Grille des Produits --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--primary-color);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.4s ease, background-color 0.3s ease;
}

.product-card:hover { transform: scale(1.05); background-color: var(--secondary-color); }

.product-card img { width: 100%; height: 250px; object-fit: cover; }

/* --- FOOTER --- */
footer {
    background-color: #FFFFFF;
    margin-top: 50px;
    text-align: left !important;
}

.footer-line { width: 100%; height: 3px; background-color: var(--primary-color); margin-bottom: 40px; }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }

.footer-col a {
    text-decoration: none;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.footer-col a:hover, .footer-col a:hover span, .footer-col a:hover i {
    color: var(--primary-color) !important;
}

.copyright { text-align: center !important; opacity: 0.5; padding: 20px 0; border-top: 1px solid #f0f0f0; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .hero { margin: 10px 15px; height: 60vh; border-radius: 25px; }
    .about-text { padding: 0 20px; }
    .team-card img { width: 150px !important; height: 150px !important; }
}