/* ===== HOME PAGE STYLES - SPORTS DE COMBAT & MUSCULATION ===== */

/* Reset et Variables */
:root {
    --primary-color: #c62828;
    --secondary-color: #d32f2f;
    --accent-color: #ff5252;
    --dark-color: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.15);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #c62828 100%);
    color: white;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/pattern-sport.png') repeat;
    opacity: 0.05;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    position: relative;
    z-index: 1;
}

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

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 35px;
    opacity: 0.95;
    color: rgba(255,255,255,0.95);
}

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

.btn-primary, .btn-secondary {
    padding: 16px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 82, 82, 0.3);
}

.btn-primary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 82, 82, 0.4);
}

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

.btn-secondary:hover {
    background: white;
    color: var(--dark-color);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 3px solid rgba(255,255,255,0.1);
}

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

section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

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

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 20px auto 0;
    line-height: 1.6;
}

/* Featured Articles Section */
.featured-articles {
    background: var(--light-bg);
}

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

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.article-card.featured {
    grid-column: span 2;
}

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

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

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

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

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.article-content h3 a {
    color: var(--dark-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.article-content h3 a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--text-light);
}

.read-time, .article-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.no-articles {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.no-articles p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Expertise Section */
.expertise-section {
    background: white;
}

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

.expertise-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
}

.expertise-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.expertise-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.expertise-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.expertise-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-card ul li {
    color: var(--text-light);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.5;
}

.expertise-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Method Section */
.method-section {
    background: var(--light-bg);
}

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

.method-text h2 {
    text-align: left;
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.method-text h2::after {
    display: none;
}

.method-text > p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 40px;
}

.method-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
}

.step-content h4 {
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 700;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.method-visual {
    position: relative;
}

.method-visual img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.performance-metrics {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.metric-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.3;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: white;
}

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

.newsletter-text h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-text h2::after {
    background: var(--accent-color);
}

.newsletter-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-benefits {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.newsletter-benefits li {
    padding: 10px;
    position: relative;
    padding-left: 30px;
    text-align: left;
}

.newsletter-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

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

.newsletter-form .form-group {
    margin-bottom: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255,255,255,0.1);
    color: white;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255,255,255,0.15);
}

.btn-newsletter {
    width: 100%;
    background: var(--accent-color);
    color: white;
    padding: 16px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-newsletter:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

.newsletter-privacy {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 15px;
}

.newsletter-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    animation: slideDown 0.3s ease;
}

.newsletter-success {
    background: rgba(76, 175, 80, 0.2);
    border: 2px solid rgba(76, 175, 80, 0.4);
    color: #a5d6a7;
}

.newsletter-error {
    background: rgba(244, 67, 54, 0.2);
    border: 2px solid rgba(244, 67, 54, 0.4);
    color: #ef9a9a;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Section */
.faq-section {
    background: white;
}

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

.faq-item {
    background: white;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--accent-color);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.15rem;
    font-weight: 700;
    padding-right: 20px;
    line-height: 1.4;
}

.faq-toggle {
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content,
    .method-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .method-text h2 {
        text-align: center;
    }
    
    .performance-metrics {
        position: static;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        min-height: auto;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .expertise-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card.featured {
        grid-column: span 1;
    }
    
    .article-card.featured .article-image {
        height: 220px;
    }
    
    .newsletter-benefits {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-benefits li {
        text-align: center;
        padding-left: 0;
    }
    
    .newsletter-benefits li::before {
        position: static;
        margin-right: 8px;
    }
    
    .performance-metrics {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .expertise-card,
    .article-content {
        padding: 25px 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
}