/* Nouvelle feuille de style pour BATEXE avec palette de couleurs optimisée */

:root {
    /* Palette de couleurs selon la règle 60-30-10 */
    --primary-color: #0B4D83; /* Bleu profond - couleur dominante (60%) */
    --secondary-color: #F2F2F2; /* Gris clair - couleur secondaire (30%) */
    --accent-color: #FF6B00; /* Orange vif - couleur d'accentuation (10%) */
    
    /* Nuances complémentaires */
    --primary-dark: #083A64;
    --primary-light: #1A6FB3;
    --secondary-dark: #D9D9D9;
    --secondary-light: #FFFFFF;
    --accent-dark: #D95A00;
    --accent-light: #FF8C3D;
    
    /* Couleurs fonctionnelles */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --success: #4CAF50;
    --warning: #FFC107;
    --error: #F44336;
    
    /* Typographie */
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Typographie avec hiérarchie visuelle améliorée */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
    font-size: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Layout et conteneurs */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 4rem 0;
}

/* Header et navigation */
header {
    background-color: var(--secondary-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    max-height: 60px;
}

.contact-info {
    display: flex;
    align-items: center;
}

.phone {
    margin-right: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.phone i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Navigation */
nav {
    background-color: var(--primary-color);
}

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

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

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 1rem;
    color: var(--text-light);
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.nav-menu li a:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* CTA Buttons - Optimisés et plus visibles */
.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-color);
    color: var(--text-light);
    font-weight: 600;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background-color: var(--accent-dark);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 6rem 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--text-light);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
}

/* Services Section */
.services-section {
    background-color: var(--secondary-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

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

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

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-benefits {
    list-style: none;
    margin: 1rem 0;
}

.service-benefits li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.service-benefits li i {
    color: var(--success);
    margin-right: 0.5rem;
}

.btn-service {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 4px;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

/* Isolation à 1€ Section */
.isolation-1e-section {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.isolation-1e-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.isolation-1e-text {
    flex: 1;
    min-width: 300px;
}

.isolation-1e-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.isolation-1e-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Process Section */
.process {
    background-color: var(--secondary-light);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.testimonials .section-title h2 {
    color: var(--text-light);
}

.testimonials .section-title p {
    color: var(--secondary-light);
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.rating {
    margin-bottom: 1rem;
}

.rating i {
    color: var(--warning);
    margin: 0 2px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(to right, var(--primary-color), var(--primary-dark));
    color: var(--text-light);
    text-align: center;
    padding: 4rem 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.cta-content .cta-button {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.cta-content .cta-button:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

/* Footer */
footer {
    background-color: var(--primary-dark);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-contact, .footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-contact h4, .footer-links h4 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-contact h4::after, .footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

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

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--secondary-light);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 3rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Réalisations Section */
.realisations-section {
    background-color: var(--secondary-light);
}

.realisations-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.realisation-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.realisation-item:hover {
    transform: translateY(-5px);
}

.realisation-image {
    height: 200px;
    overflow: hidden;
}

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

.realisation-item:hover .realisation-image img {
    transform: scale(1.05);
}

.realisation-content {
    padding: 1.5rem;
}

.realisation-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.realisation-details {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.realisation-details span {
    display: flex;
    align-items: center;
}

.realisation-details i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Eligibility Table */
.eligibility-section {
    margin: 3rem 0;
}

.eligibility-table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.eligibility-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.eligibility-table th, .eligibility-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #ddd;
}

.eligibility-table th {
    background-color: var(--primary-color);
    color: var(--text-light);
    font-weight: 600;
}

.eligibility-table tr:nth-child(even) {
    background-color: var(--secondary-color);
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h4 {
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--secondary-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--secondary-light);
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question i.rotate {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

/* Blog Section */
.blog-section {
    background-color: var(--secondary-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.blog-image {
    height: 200px;
    overflow: hidden;
}

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.blog-date i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.blog-content h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.blog-excerpt {
    margin-bottom: 1.5rem;
}

.blog-link {
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    align-items: center;
}

.blog-link i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.blog-link:hover i {
    transform: translateX(3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 5rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .process-steps, .footer-container {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--primary-color);
        z-index: 1000;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu li a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hamburger {
        display: block;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .isolation-1e-content, .process-steps {
        flex-direction: column;
    }
    
    .isolation-1e-image {
        order: -1;
    }
    
    .realisations-filter {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .cta-button, .btn-service {
        display: block;
        width: 100%;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .phone {
        margin-right: 0;
    }
    
    .service-card, .realisation-item, .blog-card {
        margin-bottom: 1.5rem;
    }
}
