/* Hero Section */
.hero {
    background: linear-gradient(135deg, #d4202a 0%, #ffa500 100%);
    padding: 100px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #ffffff;
    color: #d4202a;
}

.btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #d4202a;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Featured Articles Section */
.featured-articles {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.article-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.article-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.featured .article-image {
    height: 350px;
}

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

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d4202a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-content {
    padding: 25px;
}

.featured .article-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-content h3 {
    margin-bottom: 15px;
}

.article-content h3 a {
    color: #1f2937;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.featured .article-content h3 a {
    font-size: 1.8rem;
}

.article-content h3 a:hover {
    color: #d4202a;
}

.article-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background: #ffffff;
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(212, 32, 42, 0.1);
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: #d4202a;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 32, 42, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #d4202a, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 25px;
}

.service-card ul {
    text-align: left;
    color: #6b7280;
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #d4202a;
    font-weight: bold;
}

/* Expertise Section */
.expertise-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expertise-text h2 {
    font-size: 2.3rem;
    color: #1f2937;
    margin-bottom: 25px;
    font-weight: 700;
}

.expertise-text > p {
    font-size: 1.2rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #d4202a;
    margin-bottom: 10px;
}

.stat-label {
    color: #6b7280;
    font-weight: 600;
}

.expertise-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.point h4 {
    color: #1f2937;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.point p {
    color: #6b7280;
    line-height: 1.5;
}

.expertise-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #d4202a 0%, #ffa500 100%);
    text-align: center;
}

.newsletter-content h2 {
    color: #ffffff;
    font-size: 2.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.newsletter-content p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    background: #ffffff;
    color: #1f2937;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.newsletter-form .btn {
    white-space: nowrap;
    background: #1f2937;
    color: #ffffff;
}

.newsletter-form .btn:hover {
    background: #374151;
}

.newsletter-note {
    color: #ffffff;
    font-size: 0.9rem;
    opacity: 0.8;
}

.newsletter-message {
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
}

.newsletter-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #ffffff;
    border: 2px solid rgba(16, 185, 129, 0.5);
}

.newsletter-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ffffff;
    border: 2px solid rgba(239, 68, 68, 0.5);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #ffffff;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 60px;
    font-weight: 700;
}

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

.faq-item {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #d4202a;
}

.faq-item h3 {
    color: #1f2937;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Tableaux Responsive */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
}

.responsive-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.responsive-table th {
    background: #d4202a;
    color: #ffffff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.responsive-table td {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.responsive-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .expertise-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card.featured {
        grid-column: 1;
        grid-template-columns: 1fr;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
    
    .responsive-table {
        min-width: auto;
        display: block;
        white-space: nowrap;
    }
    
    .responsive-table thead,
    .responsive-table tbody,
    .responsive-table th,
    .responsive-table td,
    .responsive-table tr {
        display: block;
    }
    
    .responsive-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .responsive-table tr {
        border: 1px solid #ccc;
        margin-bottom: 10px;
        padding: 10px;
        background: #ffffff;
        border-radius: 8px;
    }
    
    .responsive-table td {
        border: none;
        position: relative;
        padding-left: 50% !important;
        text-align: left;
        white-space: normal;
    }
    
    .responsive-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 6px;
        width: 45%;
        text-align: left;
        font-weight: bold;
        color: #1f2937;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-text h1 {
        font-size: 2.8rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}