/* Variables de couleurs */
:root {
    --primary-orange: #e3682c;
    --primary-black: #0d0d0d;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text-color: #333333;
}

/* Reset et styles généraux */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header et Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(13, 13, 13, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    color: var(--primary-orange);
    margin-right: 5px;
}

.social-icons a {
    color: var(--white);
    margin-left: 15px;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-orange);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Navigation Desktop */
.desktop-nav {
    display: flex;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
}

.desktop-nav li {
    margin-left: 25px;
    position: relative;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--primary-black);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

.desktop-nav a i {
    margin-right: 8px;
    font-size: 1.1rem;
}

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

.desktop-nav a.active {
    color: var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
}

/* Menu Mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-black);
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--primary-black);
    color: var(--white);
    z-index: 1000;
    transition: right 0.4s ease;
    padding: 80px 30px 30px;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 20px;
}

.mobile-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav a i {
    margin-right: 15px;
    font-size: 1.3rem;
    color: var(--primary-orange);
}

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

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

/* Slider Swiper */
.swiper {
    width: 100%;
    height: 500px;
    margin-top: 0;
}

.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-orange);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-orange);
}

/* Sections principales */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-black);
    font-size: 2.2rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--primary-orange);
    margin: 15px auto 0;
}

/* Section Introduction */
.intro {
    background-color: var(--light-gray);
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Section Domaines */
.domaines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.domaine-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid var(--primary-orange);
}

.domaine-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.domaine-icon {
    font-size: 3rem;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

.domaine-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-black);
}

/* Section Actualités */
.actualites {
    background-color: #f8f9fa;
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.article-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
    color: inherit;
}

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

.article-image {
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.article-category {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
}

.article-content h3 {
    color: var(--primary-black);
    margin-bottom: 15px;
    font-size: 1.4rem;
    line-height: 1.3;
}

.article-excerpt {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--primary-black);
}

.read-more i {
    margin-left: 8px;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
    margin-top: 50px;
}

.view-all-btn:hover {
    background-color: var(--primary-black);
}

.view-all-btn i {
    margin-right: 10px;
}

/* Page détail actualité */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.article-detail-header {
    margin-bottom: 30px;
}

.article-detail-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
}

.article-detail-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-black);
}

.article-detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-gray);
}

.article-detail-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.article-detail-content p {
    margin-bottom: 20px;
}

.article-detail-content h2,
.article-detail-content h3 {
    color: var(--primary-black);
    margin-top: 30px;
    margin-bottom: 15px;
}

.back-to-news {
    display: inline-flex;
    align-items: center;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: color 0.3s;
}

.back-to-news:hover {
    color: var(--primary-black);
}

.back-to-news i {
    margin-right: 8px;
}

/* Section Services Détails */
.service-detail {
    margin-bottom: 80px;
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-right: 20px;
}

.service-header h2 {
    color: var(--primary-black);
    font-size: 2rem;
}

.service-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-features {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
}

.service-features h3 {
    color: var(--primary-orange);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(227, 104, 44, 0.3);
}

.features-list {
    list-style: none;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.features-list i {
    color: var(--primary-orange);
    margin-right: 10px;
    margin-top: 5px;
}

.advantages {
    background-color: var(--primary-black);
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
}

.advantages h3 {
    color: var(--primary-orange);
    margin-bottom: 20px;
}

/* Section Cultures */
.cultures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.culture-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.culture-card:hover {
    transform: translateY(-10px);
}

.culture-icon {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.culture-card h3 {
    color: var(--primary-black);
    margin-bottom: 15px;
}

/* Section Contact */
.contact {
    background-color: var(--primary-black);
    color: var(--white);
}

.contact .section-title {
    color: var(--white);
}

.contact .section-title:after {
    background-color: var(--primary-orange);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary-orange);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details i {
    color: var(--primary-orange);
    margin-right: 15px;
    font-size: 1.2rem;
    width: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

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

.btn {
    background-color: var(--primary-orange);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--primary-orange);
    margin-bottom: 25px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-orange);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: var(--primary-orange);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {
    .swiper {
        height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .desktop-nav {
        display: none;
    }
    
    .header-main {
        padding: 10px 0;
    }
    
    .logo img {
        height: 50px;
    }
    
    .swiper {
        height: 350px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .article-detail-title {
        font-size: 2rem;
    }
    
    .article-detail-image {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .swiper {
        height: 300px;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .header-top {
        font-size: 0.8rem;
    }
    
    .contact-info span {
        margin-right: 10px;
        display: block;
        margin-bottom: 5px;
    }
    
    .contact-info span:last-child {
        margin-bottom: 0;
    }
    
    .article-detail-title {
        font-size: 1.5rem;
    }
    
    .article-detail-image {
        height: 250px;
    }
}