:root {
    --primary-yellow: #fdd835;
    --primary-yellow-hover: #fbc02d;
    --primary-blue: #03a9f4; /* Light blue for highlights */
    --secondary-blue: #0277bd; /* Darker blue for icons/text */
    --text-dark: #212121;
    --text-light: #757575;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-radius: 12px;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* Header */
header {
    background-color: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo img {
    max-height: 60px; /* Ajuster la hauteur selon votre logo */
    width: auto;
    display: block;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-dark);
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn-secondary:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--text-light);
    text-decoration: underline;
    margin-left: 20px;
    font-weight: 500;
}

.btn-link:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
    background-color: var(--white);
}

.badge {
    display: inline-block;
    background-color: #e1f5fe;
    color: var(--secondary-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

.highlight-blue {
    color: var(--primary-blue);
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/* Services Section */
.services {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #e1f5fe;
    color: var(--primary-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Engagement Section */
.engagement {
    padding: 60px 0;
    background-color: var(--white);
}

.engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.engagement-item {
    padding: 20px;
}

.engagement-item .icon-circle {
    width: 50px;
    height: 50px;
    background-color: #e3f2fd;
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.engagement-item h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.engagement-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}


/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-light); 
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-intro {
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.6;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.contact-method .icon-circle-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #eee;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-right: 15px;
}

.contact-method .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-method .value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Form Styles */
.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-blue);
    background-color: var(--white);
}

.contact-form textarea {
    resize: vertical;
}

.btn-submit {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    border: none;
    padding: 15px;
    border-radius: 8px; /* Slightly different visual for form button usually */
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--primary-yellow-hover);
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: var(--white);
    border-top: 1px solid #eee;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

.footer-links a {
    margin: 0 15px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .container {
        padding: 0 30px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .contact-layout {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 10px 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        padding-bottom: 0;
        flex-wrap: wrap;
    }
    
    .logo img {
        max-height: 40px; /* Logo plus petit sur mobile */
    }

    /* On cache le menu "texte" sur mobile pour gagner de la place */
    nav {
        display: none; 
    }

    /* On garde le bouton d'appel à l'action mais on le réduit un peu */
    .btn-primary {
        padding: 8px 16px;
        font-size: 0.85rem;
        margin: 0;
    }

    /* Ajustement Hero */
    .hero {
        padding: 40px 0 30px;
    }

    /* Le reste... */
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero .subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
    
    .btn-link {
        margin-left: 0;
        margin-top: 10px;
    }

    .section-title {
        font-size: 2rem;
    }

    .services, .contact, .engagement {
        padding: 50px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr; /* Force single column for cards on mobile */
        max-width: 400px;
        margin: 0 auto;
    }
    
    .engagement-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .engagement-item {
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid #eee;
    }

    .engagement-item:last-child {
        border-bottom: none;
    }
    
    .engagement-item .icon-circle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .contact-info {
        text-align: center;
    }

    .contact-method {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-method .icon-circle-small {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 1.8rem; /* Even smaller for very small screens */
    }

    .badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}
