/* CONFIGURATION DES COULEURS ET POLICES */
:root {
    --turquoise: #40E0D0;
    --orange: #FF7F50;
    --dark: #2F4F4F;
    --white: #ffffff;
    --bg-light: #f9fdfd;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--dark);
}

/* EN-TÊTE */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--white);
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--dark);
    text-decoration: none;
}

.logo span { color: var(--turquoise); }

/* BANNIÈRE PRINCIPALE AVEC IMAGE */
.hero {
    background: linear-gradient(rgba(64, 224, 208, 0.6), rgba(32, 178, 170, 0.7)), 
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    padding: 120px 5%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 0 0 50px 50px;
    min-height: 400px;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    color: white;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* BARRE DE RECHERCHE */
.search-container {
    background: white;
    padding: 15px;
    border-radius: 15px;
    display: flex;
    gap: 10px;
    max-width: 550px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.search-container input {
    border: none;
    padding: 10px;
    flex: 1;
    font-size: 16px;
    outline: none;
}

.btn-search {
    background: var(--orange);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-search:hover {
    background: #ff6347;
}

/* CARTES DE L'ANNUAIRE ET BLOG */
.features {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 60px 5%;
    margin-top: -60px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 320px;
}

.card:hover { 
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.card h3 { color: var(--turquoise); margin-top: 20px; font-size: 1.5rem; }

.icon { font-size: 50px; }

/* BAS DE PAGE */
footer {
    text-align: center;
    padding: 60px 20px;
    font-style: italic;
    color: #888;
}