/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #0a2342; /* Dark Blue */
    --secondary-color: #2ca5b5; /* Teal */
    --light-gray: #f4f4f4;
    --dark-gray: #333;
    --white-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

p {
    margin-bottom: 10px;
}

section {
    padding: 80px 0;
}

.section-bg {
    background-color: var(--light-gray);
}

/* --- Header & Navigation --- */
header {
    background-color: var(--white-color);
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--secondary-color);
}

/* --- Hero Section (Homepage) --- */
.hero {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-align: center;
    padding: 100px 0;
}

.hero h1 {
    color: var(--white-color);
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #248b99;
}

/* --- Cards (Services, Testimonials, Blog) --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.card h3 {
    margin-top: 15px;
}

.card i { /* For icons */
    font-size: 2.5rem;
    color: var(--secondary-color);
}

/* --- About Page --- */
.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-content .text-content {
    flex: 1;
}

.about-content .image-content {
    flex: 1;
    max-width: 500px;
}

.about-content img {
    width: 100%;
    border-radius: 8px;
}

/* --- Services Page --- */
.service-item {
    margin-bottom: 40px;
}
.service-item ul {
    list-style-position: inside;
    padding-left: 20px;
}

/* --- Testimonial Quote Style --- */
.testimonial-card {
    border-left: 5px solid var(--secondary-color);
    padding-left: 25px;
}
.testimonial-card p.quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.testimonial-card p.author {
    font-weight: 700;
    text-align: right;
    color: var(--primary-color);
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: var(--white-color);
    padding: 40px;
    border-radius: 8px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding-top: 60px;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: left;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--white-color);
}

.footer-section a, .footer-section p {
    color: #ccc;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--white-color);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding: 20px 0;
    font-size: 0.9rem;
}


@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .about-content, .contact-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}
																					
.article-page {
    background: var(--white-color);
}

.article-content {
    max-width: 800px; /* Limits width for better readability */
    margin: 0 auto;
}

.article-content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.article-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 30px;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
}

.article-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
}

.article-content ul, .article-content ol {
    padding-left: 40px;
    margin-bottom: 20px;
}

.article-conclusion {
    background-color: var(--light-gray);
    border-left: 5px solid var(--secondary-color);
    padding: 30px;
    margin-top: 40px;
    border-radius: 0 8px 8px 0;
}

.back-to-blog {
    display: inline-block;
    margin-top: 40px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-blog:hover {
    color: var(--secondary-color);
}
																									  
#cookie-consent-banner {
    display: none; /* Caché par défaut, affiché par JavaScript */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 20px;
    z-index: 2000;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}

#cookie-consent-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#cookie-consent-banner p {
    margin: 0;
    flex-grow: 1;
}

#cookie-consent-banner a {
    color: var(--secondary-color);
    text-decoration: underline;
}

#cookie-consent-banner .btn-group {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

#cookie-consent-banner .cookie-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

#cookie-consent-banner .accept-btn {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

#cookie-consent-banner .decline-btn {
    background-color: #555;
    color: var(--white-color);
}