/* ========================================
   CRITICAL CSS (chargement prioritaire)
   ======================================== */

/* Reset + base */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background: var(--bg-light);
    color: var(--text-color);
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header (visible en premier) */
.site-header {
    background: var(--white);
    color: var(--text-color);
    padding: 10px 0;
    border-bottom: 3px solid var(--red);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-header .logo .flag {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.site-header .logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #1a1a1a;
}

.site-header .logo h1 a {
    color: #1a1a1a;
}

.site-header .logo .slogan {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--text-muted);
    font-family: 'Roboto', 'Arial', sans-serif;
    font-style: italic;
}

.site-header nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.site-header nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.site-header nav ul li a.active {
    color: var(--red);
}

.site-header nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.menu-toggle {
    display: none;
}

/* Hero banner (LCP) */
.hero-banner {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-image {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-color: var(--green-dark);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    display: flex;
    align-items: flex-end;
}

.hero-content {
    padding: 50px 40px;
    color: #fff;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 15px;
    color: #fff !important;
}

.hero-title a {
    color: #fff;
}

.hero-excerpt {
    font-size: 1.1rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 650px;
    margin-bottom: 20px;
}

.hero-link {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Roboto', 'Arial', sans-serif;
    transition: var(--transition);
}

/* --- FIN DU CRITICAL CSS --- */

/* ========================================
   STYLE PRINCIPAL - Euromagh DZ
   CHARTE ALGÉRIENNE 🇩🇿 - POLICE ROBOTO
   VERSION FINALE OPTIMISÉE
   ======================================== */

/* --- VARIABLES --- */
:root {
    --green-dark: #006633;
    --green-medium: #008844;
    --green-light: #00aa55;
    --green-gradient: #004d26;
    --red: #d42e12;
    --red-dark: #b3240a;
    --red-light: #e84a2a;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --gold: #c9a84c;
    --gold-hover: #dbb95e;
    --text-color: #1a1a1a;
    --text-muted: #555555;
    --bg-light: #f8f6f0;
    --bg-white: #ffffff;
    --border-color: #e0ddd5;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    background: var(--bg-light);
    color: var(--text-color);
    line-height: 1.8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--green-dark);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--red); }

img { max-width: 100%; height: auto; }

/* --- TITRES --- */
h1, h2, h3, h4, h5, h6,
.section-title,
.page-banner .banner-title,
.services-banner .banner-title,
.article-card .card-title,
.service-card .service-kit-title,
.realisation-card .realisation-title,
.about-text h3,
.contact-info h2,
.contact-form-container h2,
.option-item h4,
.cta-section h3,
.options-title,
.tarifs-section h2 {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #000000;
}
.footer-brand {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #ffffff;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 3px solid var(--red);
    padding-bottom: 10px;
}

/* --- BOUTONS --- */
.btn-gold {
    display: inline-block;
    background: var(--gold);
    color: #1a1a1a;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    transition: var(--transition);
}
.btn-gold:hover {
    background: var(--gold-hover);
    transform: scale(1.05);
    color: #1a1a1a;
}

.btn-red {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.btn-red:hover {
    background: var(--red-dark);
    transform: scale(1.05);
    color: #fff;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    border: 2px solid var(--white);
    transition: var(--transition);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--green-dark);
    transform: scale(1.05);
}

/* --- HEADER --- */
.site-header {
    background: var(--white);
    color: var(--text-color);
    padding: 10px 0;
    border-bottom: 3px solid var(--red);
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-header .logo .flag {
    height: 50px;
    width: auto;
    border-radius: 4px;
}

.site-header .logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #1a1a1a;
}
.site-header .logo h1 a {
    color: #1a1a1a;
}
.site-header .logo h1 a:hover {
    color: var(--red);
}

.site-header .logo .slogan {
    font-size: 0.7rem;
    font-weight: 300;
    color: var(--text-muted);
    font-family: 'Roboto', 'Arial', sans-serif;
    font-style: italic;
}

.site-header nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.site-header nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}
.site-header nav ul li a:hover {
    color: var(--red);
}

.site-header nav ul li a.active {
    color: var(--red);
    background: transparent;
}
.site-header nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--green-dark);
    font-size: 1.8rem;
    cursor: pointer;
}

/* --- HERO BANNER --- */
.hero-banner {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.hero-banner .container {
    padding: 0;
}

.hero-image {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-color: var(--green-dark);
    border-radius: var(--radius);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6));
    display: flex;
    align-items: flex-end;
}

.hero-content {
    padding: 50px 40px;
    color: #fff;
    width: 100%;
}

.hero-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    line-height: 1.2;
    max-width: 800px;
    margin-bottom: 15px;
    color: #fff !important;
}
.hero-title a {
    color: #fff;
}
.hero-title a:hover { text-decoration: underline; }

.hero-excerpt {
    font-size: 1.1rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    opacity: 0.9;
    max-width: 650px;
    margin-bottom: 20px;
}

.hero-link {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-family: 'Roboto', 'Arial', sans-serif;
    transition: var(--transition);
}
.hero-link:hover {
    background: var(--red-dark);
    transform: translateX(5px);
    color: #fff;
}

/* --- GRID CARDS (commun à articles, services, réalisations) --- */
.articles-grid,
.services-grid,
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

/* --- CARTES (commun) --- */
.article-card,
.service-card,
.realisation-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.article-card:hover,
.service-card:hover,
.realisation-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-card .card-image,
.service-card .service-image,
.realisation-card .realisation-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--bg-light);
}

.article-card .card-body,
.service-card .service-body,
.realisation-card .realisation-body {
    padding: 25px;
}

.article-card .card-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    margin-bottom: 10px;
}

.article-card .card-title,
.realisation-card .realisation-title {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    margin-bottom: 12px;
    line-height: 1.4;
}
.article-card .card-title a {
    color: #1a1a1a;
}
.article-card .card-title a:hover { color: var(--red); }

.article-card .card-excerpt,
.realisation-card .realisation-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    margin-bottom: 15px;
}

.article-card .card-link {
    color: var(--green-dark);
    font-weight: 600;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.9rem;
}
.article-card .card-link:hover {
    color: var(--red);
    text-decoration: underline;
}

/* --- BANNERS (Services / Réalisations / À propos / Contact) --- */
.page-banner,
.services-banner {
    background: linear-gradient(135deg, var(--green-dark), var(--green-gradient));
    padding: 60px 0;
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    border-bottom: 4px solid var(--red);
}

.page-banner .banner-title {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #fff !important;
}
.page-banner .banner-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    font-family: 'Roboto', 'Arial', sans-serif;
    opacity: 0.9;
}

.services-banner { padding: 80px 0; }
.services-banner .banner-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    font-family: 'Roboto', 'Arial', sans-serif;
}
.services-banner .banner-title {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    margin: 5px 0;
    color: #fff !important;
}

/* --- SERVICES --- */
.service-card .service-kit-title {
    font-size: 1rem;
    text-align: center;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    margin-bottom: 5px;
}
.service-card .service-kit-name {
    text-align: center;
    color: var(--red);
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    margin: 5px 0 10px;
}
.service-card .service-desc {
    text-align: center;
    color: var(--text-muted);
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    margin-bottom: 10px;
}
.service-card .service-list {
    list-style: none;
    padding: 0;
}
.service-card .service-list li {
    padding: 5px 0;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    border-bottom: 1px solid var(--border-color);
}
.service-card .service-list li:last-child { border-bottom: none; }
.service-card .service-note {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
}

/* Options */
.options-section { margin-top: 60px; }
.options-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    margin-bottom: 30px;
}
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.option-item {
    background: var(--bg-white);
    padding: 25px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}
.option-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.option-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    margin-bottom: 10px;
}
.option-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
}

/* ========================================
   TARIFS - VERSION AMÉLIORÉE
   ======================================== */

.tarifs-section {
    margin-top: 60px;
}

.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.tarif-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tarif-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tarif-card .tarif-image {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.tarif-card .tarif-zoom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: var(--green-dark);
    color: #fff;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.tarif-card .tarif-zoom:hover {
    background: var(--red);
    color: #fff;
}

/* --- Responsive tarifs --- */
@media (max-width: 992px) {
    .tarifs-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .tarifs-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .tarifs-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* CTA */
.cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 0;
}
.cta-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    margin-bottom: 20px;
}

/* --- RÉALISATIONS --- */
.realisation-card .realisation-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
}
.realisation-card .realisation-desc {
    margin-bottom: 0;
}

/* --- CLIENTS --- */
.clients-section {
    background: var(--bg-light);
    padding: 60px 0;
}
.clients-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    margin-bottom: 30px;
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px;
    align-items: center;
}
.client-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.client-item:hover {
    transform: scale(1.08);
    box-shadow: var(--shadow-hover);
}
.client-item img {
    max-height: 60px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: var(--transition);
}
.client-item:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* --- À PROPOS --- */
.about-section { padding: 40px 0 60px 0; }
.about-header { text-align: center; margin-bottom: 40px; }
.about-tagline {
    font-size: 1.2rem;
    font-weight: 300;
    font-style: italic;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--text-muted);
    margin-top: 5px;
}

.about-carousel {
    max-width: 800px;
    margin: 0 auto 50px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--bg-white);
}
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.carousel-slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.6s ease;
}
.carousel-slide.active { display: block; }
.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes fadeIn {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    background: var(--bg-white);
}
.carousel-btn {
    background: var(--green-dark);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    transition: var(--transition);
}
.carousel-btn:hover {
    background: var(--red);
    transform: scale(1.05);
}
.carousel-dots { display: flex; gap: 10px; }
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}
.dot.active {
    background: var(--red);
    transform: scale(1.2);
}
.dot:hover { background: var(--green-dark); }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}
.about-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    margin-bottom: 15px;
    border-bottom: 3px solid var(--red);
    padding-bottom: 8px;
    display: inline-block;
}
.about-text p {
    color: var(--text-color);
    line-height: 1.9;
    font-size: 1.05rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
}

/* --- CONTACT --- */
.contact-section { padding: 40px 0 60px 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: fit-content;
}
.contact-info h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--red);
    padding-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}
.contact-item:last-child { border-bottom: none; }

.contact-item i {
    color: var(--red);
    font-size: 1.2rem;
    width: 24px;
    margin-top: 3px;
}
.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Roboto', 'Arial', sans-serif;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.contact-item a,
.contact-item span {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    color: var(--text-color);
    font-size: 0.95rem;
}
.contact-item a:hover { color: var(--red); }

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}
.contact-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}
.contact-social a:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-container {
    background: var(--bg-white);
    padding: 40px 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.contact-form-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--red);
    padding-bottom: 12px;
}

.contact-alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.contact-alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: #2d7a3a;
    border: 1px solid rgba(40, 167, 69, 0.2);
}
.contact-alert-error {
    background: rgba(220, 53, 69, 0.1);
    color: #a0313d;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0;
}
.contact-form .form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--text-color);
}
.contact-form .form-group input,
.contact-form .form-group textarea {
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    transition: var(--transition);
    background: var(--bg-white);
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--green-dark);
    box-shadow: 0 0 0 3px rgba(0,102,51,0.08);
}
.contact-form .form-group textarea {
    resize: vertical;
    min-height: 150px;
}
.contact-form .btn-red {
    align-self: flex-start;
    padding: 12px 40px;
    font-size: 1rem;
}

/* --- FOOTER --- */
.site-footer {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
    padding: 50px 0 0 0;
    border-top: 3px solid var(--red);
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-brand {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0;
}

.footer-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    color: #fff;
    margin: 0;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px 0;
    letter-spacing: 0.5px;
}

.footer-text {
    font-size: 0.85rem;
    font-weight: 300;
    color: #fff;
    margin: 0 0 4px 0;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}
.footer-social a:hover {
    background: var(--red);
    color: #fff;
    transform: translateY(-3px);
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
}
.footer-form input {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-form input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}
.footer-form input:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.07);
}
.footer-form button {
    padding: 10px 20px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.footer-form button:hover {
    background: var(--red-dark);
    transform: scale(1.02);
}

.footer-alert {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 400;
}
.footer-alert-success {
    background: rgba(40, 167, 69, 0.15);
    color: #8bdc9e;
    border: 1px solid rgba(40, 167, 69, 0.2);
}
.footer-alert-error {
    background: rgba(220, 53, 69, 0.15);
    color: #f5a3a3;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.footer-contact a,
.footer-contact span {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition);
}
.footer-contact a:hover {
    color: #fff;
}
.footer-contact i {
    color: var(--red);
    width: 18px;
    font-size: 0.95rem;
}

.footer-bottom {
    text-align: center;
    padding: 18px 0 22px 0;
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.3);
}
.footer-bottom strong {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}
.footer-bottom a:hover {
    color: var(--red);
}

/* --- ARTICLE - STYLE PRESSE --- */
.article-section { padding: 40px 0 60px 0; }

.article-presse {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 50px 60px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.article-presse .article-category {
    font-family: 'Roboto', 'Arial', sans-serif;
    text-transform: uppercase;
    color: var(--red);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--red);
    padding-bottom: 10px;
    display: inline-block;
}

.article-presse .article-title {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-presse .article-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--red);
    font-style: italic;
}

.article-presse .article-image {
    margin-bottom: 30px;
}
.article-presse .article-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.article-presse .article-image figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    margin-top: 8px;
    font-style: italic;
    text-align: center;
}

.article-presse .article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 300;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}
.article-presse .article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-presse .article-meta i {
    color: var(--red);
    width: 16px;
}

.article-presse .article-content {
    font-size: 1.1rem;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 300;
    line-height: 2;
    color: var(--text-color);
}
.article-presse .article-content p {
    margin-bottom: 1.5rem;
}
.article-presse .article-content p:last-child { margin-bottom: 0; }

.article-presse .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}
.article-presse .article-footer .share-label {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 500;
    color: var(--text-color);
    margin-right: 10px;
}
.article-presse .article-footer .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-right: 5px;
}
.article-presse .article-footer .share-btn:hover {
    transform: translateY(-3px);
}
.article-presse .article-footer .share-btn.facebook {
    background: #1877f2;
}
.article-presse .article-footer .share-btn.facebook:hover {
    background: #0d65d9;
}
.article-presse .article-footer .share-btn.twitter {
    background: #000000;
}
.article-presse .article-footer .share-btn.twitter:hover {
    background: #1a1a1a;
}
.article-presse .article-footer .share-btn.linkedin {
    background: #0a66c2;
}
.article-presse .article-footer .share-btn.linkedin:hover {
    background: #084a8c;
}
.article-presse .article-footer .share-btn.email {
    background: #6c757d;
}
.article-presse .article-footer .share-btn.email:hover {
    background: #5a6268;
}

.article-presse .article-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--green-dark);
    font-weight: 500;
    transition: var(--transition);
}
.article-presse .article-back:hover {
    color: var(--red);
    transform: translateX(-5px);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 992px) {
    .hero-title { font-size: 2.2rem; }
    .services-banner .banner-title { font-size: 2.2rem; }
    .page-banner .banner-title { font-size: 2.2rem; }
    .carousel-container { height: 350px; }
    
    .article-presse { padding: 30px 35px; }
    .article-presse .article-title { font-size: 2.2rem; }
    
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .contact-form-container { padding: 30px 30px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    
    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 35px; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .site-header nav {
        display: none;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid var(--border-color);
        margin-top: 10px;
    }
    .site-header nav.open { display: block; }
    .site-header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .site-header nav ul li a {
        display: block;
        padding: 10px 20px;
        width: 100%;
        text-align: center;
    }
    .site-header nav ul li a.active::after {
        left: 30%;
        right: 30%;
    }
    
    .articles-grid,
    .services-grid,
    .realisations-grid { grid-template-columns: 1fr; }
    
    .hero-image { height: 350px; }
    .hero-content { padding: 30px 20px; }
    .hero-title { font-size: 1.8rem; }
    .hero-excerpt { font-size: 1rem; }
    
    .services-banner { padding: 50px 0; }
    .services-banner .banner-subtitle { font-size: 1.2rem; }
    .services-banner .banner-title { font-size: 1.8rem; }
    
    .options-grid { grid-template-columns: 1fr 1fr; }
    .tarifs-grid { grid-template-columns: 1fr 1fr; }
    .clients-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    
    .page-banner .banner-title { font-size: 1.8rem; }
    .page-banner .banner-subtitle { font-size: 1rem; }
    
    .about-content { grid-template-columns: 1fr; gap: 30px; }
    .carousel-container { height: 280px; }
    .about-tagline { font-size: 1rem; }
    
    .article-presse { padding: 25px 20px; }
    .article-presse .article-title { font-size: 1.8rem; }
    .article-presse .article-lead { font-size: 1.05rem; padding-left: 15px; }
    .article-presse .article-meta { font-size: 0.8rem; gap: 12px; }
    .article-presse .article-content { font-size: 1rem; }
    .article-presse .article-footer { flex-direction: column; align-items: flex-start; }
    
    .contact-section { padding: 20px 0 40px 0; }
    .contact-form-container { padding: 25px 20px; }
    .contact-info { padding: 25px 20px; }
    .contact-item { padding: 10px 0; }
    .contact-form .btn-red { align-self: stretch; text-align: center; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-social { justify-content: center; }
    .footer-form { max-width: 280px; margin: 0 auto; }
    .footer-contact { align-items: center; }
    .footer-brand { font-size: 1.4rem; }
    .footer-col { align-items: center; }
}

@media (max-width: 480px) {
    .site-header .logo h1 { font-size: 1.2rem; }
    .site-header .logo .flag { height: 35px; }
    
    .hero-title { font-size: 1.4rem; }
    .hero-image { height: 300px; }
    
    .services-banner .banner-title { font-size: 1.4rem; }
    
    .options-grid { grid-template-columns: 1fr; }
    .tarifs-grid { grid-template-columns: 1fr; }
    .clients-grid { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
    
    .carousel-container { height: 220px; }
    .carousel-btn { padding: 5px 12px; font-size: 0.8rem; }
    .dot { width: 10px; height: 10px; }
    
    .article-presse { padding: 20px 15px; }
    .article-presse .article-title { font-size: 1.4rem; }
    .article-presse .article-lead { font-size: 0.95rem; padding-left: 12px; }
    .article-presse .article-content { font-size: 0.95rem; }
    .article-presse .article-meta { flex-direction: column; gap: 8px; }
    
    .contact-form-container { padding: 20px 15px; }
    .contact-info { padding: 20px 15px; }
    
    .site-footer { padding: 30px 0 0 0; }
    .footer-form { max-width: 100%; }
    .footer-bottom { font-size: 0.7rem; padding: 14px 0 18px 0; }
}

/* ========================================
   ARTICLE - GALERIE & VIDÉO
   ======================================== */

/* Galerie d'images */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 25px 0 30px 0;
}

.article-gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.article-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Vidéo YouTube - Dans le conteneur */
.article-video {
    margin: 25px 0 30px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #000;
}

.article-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.article-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive vidéo */
@media (max-width: 992px) {
    .article-video-full {
        margin: 25px -35px 30px -35px;
    }
}

@media (max-width: 768px) {
    .article-video-full {
        margin: 20px -20px 25px -20px;
    }
    
    .article-gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .article-gallery-item img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .article-video-full {
        margin: 15px -15px 20px -15px;
    }
    
    .article-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .article-gallery-item img {
        height: 120px;
    }
}

/* --- Badge vidéo sur les cartes --- */
.article-card {
    position: relative;
}

.article-card .card-image {
    position: relative;
}

/* FORCE PLEINE LARGEUR VIDÉO */
.article-video-full {
    margin: 0 !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    box-shadow: var(--shadow) !important;
    background: #000 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

/* --- RESPONSIVE HERO BANNER --- */

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-excerpt {
        font-size: 0.95rem;
    }
    
    .hero-content {
        padding: 30px 20px;
    }
    
    .hero-image {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-excerpt {
        font-size: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .hero-content {
        padding: 20px 15px;
    }
    
    .hero-image {
        height: 280px;
    }
    
    .hero-tag {
        font-size: 0.6rem;
        padding: 2px 10px;
    }
    
    .hero-link {
        font-size: 0.85rem;
        padding: 8px 20px;
    }
}

/* --- SCROLL UP BUTTON --- */
.scrollUpBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

#haut {
    display: none;
    background-color: var(--red);
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 15px 18px;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

#haut:hover {
    background-color: var(--red-dark);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .scrollUpBtn {
        bottom: 20px;
        right: 20px;
    }
    
    #haut {
        padding: 12px 15px;
        font-size: 16px;
    }
}