/* Variables de couleur */
:root {
    --primary-color: #3b5998;
    --secondary-color: #5d81b8;
    --background-color: #f0f2f5;
    --text-color: #333;
    --card-bg: #fff;
    --shadow-color: rgba(0,0,0,0.1);
}

/* Styles généraux du corps de la page */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
}

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

/* En-tête et navigation */
.main-header {
    background: var(--card-bg);
    padding: 1rem 0;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-height: 50px;
    height: auto;
    display: block;
}

.logo-link {
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-nav li {
    margin-left: 20px;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Section Héro */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 80px 20px;
    text-align: center;
}

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

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    font-weight: 300;
}

/* Boutons d'appel à l'action */
.btn {
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    background: #eee;
}

/* Sections de contenu */
.section {
    padding: 60px 0;
    text-align: center;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    font-weight: 600;
    color: var(--primary-color);
}

.services-section, .products-section {
    background: #fff;
}

/* Cartes de services */
.service-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    max-width: 250px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Cartes de produits */
.product-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border-radius: 10px;
    max-width: 300px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: auto;
    display: block;
}

.product-card h3 {
    padding: 15px;
    margin: 0;
    color: var(--primary-color);
}

.product-card p {
    padding: 0 15px 15px;
    margin: 0;
}

/* Section Contact */
.contact-section {
    background: var(--primary-color);
    color: #fff;
}

.contact-section a {
    color: #fff;
    text-decoration: none;
}

.contact-info {
    font-size: 1.1rem;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-info i {
    margin-right: 10px;
}

/* Formulaire de contact */
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    max-width: 500px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #f4f4f4;
    color: #333;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn {
    background-color: #fff;
    color: var(--primary-color);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    width: 100%;
    max-width: 500px;
    transition: background-color 0.3s ease;
}

.contact-form .btn:hover {
    background-color: #ddd;
}

/* Pied de page */
.main-footer {
    background: #2c2c2c;
    color: #ddd;
    padding: 20px 0;
    text-align: center;
}