/* ── Container override (home uses 1200px) ── */
.container { max-width: 1200px; }

/* ── Hero ── */
.hero {
    background: linear-gradient(rgba(0,0,0,.4),rgba(0,0,0,.4)), url('../images/nuages_cosmiques.jpg') center/cover;
    color: var(--light); text-align: center; padding: 200px 0 100px; position: relative;
}
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.3rem; max-width: 800px; margin: 0 auto 30px; }

/* ── Sections ── */
.section { padding: 100px 0; }
.section-alt { background: var(--light); }
.section-title { text-align: center; font-family: 'Playfair Display', serif; font-size: 2.5rem; margin-bottom: 20px; color: var(--dark); }
.section-subtitle { text-align: center; max-width: 800px; margin: 0 auto 60px; color: var(--text-muted); font-size: 1.1rem; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
.service-card {
    background: var(--light); padding: 35px 30px; border-radius: var(--radius);
    box-shadow: var(--shadow); text-align: center; transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hover); }
.service-icon {
    width: 80px; height: 80px; margin: 0 auto 20px;
    background: var(--primary-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.service-icon i { font-size: 2.5rem; color: var(--primary); }
.service-card h3 { margin-bottom: 12px; color: var(--dark); font-size: 1.2rem; font-family: 'Playfair Display', serif; }
.service-card > p { color: var(--text-muted); margin-bottom: 10px; }
.service-card ul { text-align: left; margin: 15px 0 25px; padding-left: 20px; color: var(--text-muted); }
.service-card ul li { margin-bottom: 6px; }
.btn-full { width: 100%; text-align: center; }

/* ── À propos ── */
.about-content { max-width: 860px; margin: 0 auto; }
.about-content h3 { color: var(--primary); margin-bottom: 20px; font-family: 'Playfair Display', serif; font-size: 1.5rem; }
.about-content p { margin-bottom: 15px; color: var(--text-muted); }
.about-content strong { color: var(--dark); }
.about-content ul { padding-left: 20px; margin-bottom: 15px; color: var(--text-muted); }
.about-content ul li { margin-bottom: 6px; }

/* ── Témoignages ── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.testimonial-card { background: var(--light); padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; }
.stars { color: #ffd700; font-size: 1.2rem; margin-bottom: 15px; }
.testimonial-card > p { color: var(--text-muted); font-style: italic; line-height: 1.7; }
.testimonial-author { font-weight: 600; color: var(--primary); margin-top: 15px; }

/* ── Actualités (home) ── */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.news-card { background: var(--light); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.news-card-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.news-card-img-placeholder { height: 6px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); }
.news-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-date { font-size: .78rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.news-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.news-excerpt { color: var(--text-muted); font-size: .9rem; line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.news-read-more { display: inline-block; margin-top: 14px; color: var(--primary); font-weight: 600; font-size: .875rem; transition: color .2s; }
.news-read-more:hover { color: var(--primary-dark); text-decoration: underline; }

.news-card-clickable { cursor: pointer; }
.news-title-link { display: block; text-decoration: none; color: inherit; }
.news-title-link:hover .news-title { color: var(--primary); }

/* ── FAQ ── */
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; background: var(--light); }
.faq-question {
    width: 100%; padding: 20px 25px; background: var(--secondary); border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 15px;
    text-align: left; font-family: inherit; font-size: 1rem; font-weight: 600; color: var(--dark);
    transition: background .2s, color .2s;
}
.faq-question:hover { background: var(--primary-light); color: var(--primary); }
.faq-item.active .faq-question { background: var(--primary-light); color: var(--primary); }
.faq-icon { flex-shrink: 0; color: var(--primary); transition: transform .3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; padding: 0 25px; background: var(--light); transition: max-height .35s ease, padding .35s ease; }
.faq-item.active .faq-answer { max-height: 400px; padding: 20px 25px; }
.faq-answer p { color: var(--text-muted); line-height: 1.7; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 50px; }
.contact-info h3, .form-section h3 { color: var(--primary); margin-bottom: 20px; font-family: 'Playfair Display', serif; font-size: 1.3rem; }
.contact-info p { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--text-muted); }
.contact-info p i { color: var(--primary); width: 16px; flex-shrink: 0; }
.contact-info a { color: var(--text-muted); transition: var(--transition); }
.contact-info a:hover { color: var(--primary); }
.social-title { color: var(--primary); margin: 30px 0 15px; font-family: 'Playfair Display', serif; font-size: 1.3rem; }
.social-links { display: flex; gap: 15px; }
.social-links a { color: var(--primary); font-size: 1.5rem; transition: var(--transition); }
.social-links a:hover { color: var(--primary-dark); transform: translateY(-3px); }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 12px 15px; border: 1px solid var(--gray); border-radius: 5px;
    font-family: inherit; font-size: 1rem; color: var(--dark); background: var(--light);
    transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { height: 150px; resize: vertical; }
#formMessage { margin-top: 15px; text-align: center; font-weight: 600; min-height: 24px; }

/* ── Responsive ── */
@media (max-width: 992px) { .hero h1 { font-size: 2.8rem; } }
@media (max-width: 768px) {
    .hero { padding: 150px 0 80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.05rem; }
    .section { padding: 70px 0; }
    .section-title { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .hero p { font-size: .95rem; }
    .section { padding: 55px 0; }
    .section-title { font-size: 1.7rem; }
    .services-grid { gap: 25px; }
    .testimonials-grid { gap: 20px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
