/* === STYLE GLOBAL CYRILLE-LOUCHE.FR === */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Segoe UI', Arial, sans-serif; 
    line-height: 1.6; 
    color: #333; 
    background: #f8f9fa; 
}

.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* === HEADER & NAV === */
header { 
    background: #1e3a8a; 
    color: white; 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

nav ul { 
    display: flex; 
    list-style: none; 
    gap: 2rem; 
}

nav a { 
    color: white; 
    text-decoration: none; 
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active { 
    color: #93c5fd; 
}

/* === HERO === */
.hero { 
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); 
    color: white; 
    padding: 4rem 0; 
}

.hero-content { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 3rem; 
    align-items: center; 
}

.hero h1 { 
    font-size: 2.5rem; 
    margin-bottom: 1rem; 
}

.hero .subtitle { 
    font-size: 1.3rem; 
    color: #dbeafe; 
    margin-bottom: 1.5rem; 
}

.hero img { 
    width: 220px; 
    height: 220px; 
    border-radius: 50%; 
    border: 5px solid white; 
    object-fit: cover; 
}

/* === BOUTONS === */
.btn { 
    display: inline-block; 
    padding: 12px 28px; 
    background: #f59e0b; 
    color: white; 
    text-decoration: none; 
    border-radius: 6px; 
    font-weight: 600; 
    margin: 10px 10px 0 0;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-outline { 
    background: transparent; 
    border: 2px solid white; 
}

.btn:hover { 
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* === SECTIONS === */
section { 
    padding: 3rem 0; 
}

.section-title { 
    font-size: 2rem; 
    color: #1e3a8a; 
    margin-bottom: 2rem; 
    text-align: center; 
}

/* === GRILLES === */
.grid-3 { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 2rem; 
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

/* === CARTES === */
.card { 
    background: white; 
    padding: 2rem; 
    border-radius: 8px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.card h3 { 
    color: #1e3a8a; 
    margin-bottom: 1rem; 
}

.card ul {
    padding-left: 1.2rem;
}

.card li {
    margin-bottom: 0.5rem;
}

/* === TAGS === */
.tag { 
    display: inline-block; 
    background: #e0e7ff; 
    color: #1e3a8a; 
    padding: 4px 12px; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    margin: 4px; 
}

/* === FORMULAIRES === */
.form-group { 
    margin-bottom: 1.5rem; 
}

.form-group label { 
    display: block; 
    margin-bottom: 0.5rem; 
    font-weight: 600; 
    color: #1e3a8a; 
}

.form-group input, 
.form-group textarea, 
.form-group select { 
    width: 100%; 
    padding: 12px; 
    border: 2px solid #e5e7eb; 
    border-radius: 6px; 
    font-size: 1rem; 
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus, 
.form-group textarea:focus,
.form-group select:focus { 
    border-color: #3b82f6; 
    outline: none; 
}

/* === FOOTER === */
footer { 
    background: #1e293b; 
    color: #cbd5e1; 
    text-align: center; 
    padding: 2rem 0; 
    margin-top: 3rem; 
}

footer a {
    color: #93c5fd;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* === RESPONSIVE === */
@media (max-width: 768px) { 
    .hero-content { 
        grid-template-columns: 1fr; 
        text-align: center; 
    }
    
    nav ul { 
        gap: 1rem; 
        font-size: 0.9rem; 
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .price-card.featured {
        transform: scale(1);
    }
}
.img-responsive {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* pour centrer l'image */
    border-radius: 8px; /* optionnel : coins arrondis */
}