/*
 * Styles des pages d'atterrissage SEO locales (/reparation-*-amiens, /rachat-*).
 *
 * Fichier externe et non bloc <style> inline : le navigateur le met en cache
 * une fois pour toutes les pages d'atterrissage, au lieu de retélécharger les
 * mêmes règles à chaque page.
 */

.seo-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 40px;
}

.seo-hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.seo-hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    transition: transform .2s;
}

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

.service-card h3 {
    color: #667eea;
    margin-bottom: 10px;
}

.badge {
    display: inline-block;
    background: #10b981;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: .9em;
    margin: 5px;
}

.faq-item {
    background: #f9fafb;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 5px;
}

.faq-item h4 {
    color: #1f2937;
    margin-bottom: 10px;
}

.cta-button {
    background: #ef4444;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.2em;
    text-decoration: none;
    display: inline-block;
    margin: 10px;
    transition: background .3s;
}

.cta-button:hover,
.cta-button:focus {
    background: #dc2626;
    color: #fff;
}

.cta-button--secondaire {
    background: #3b82f6;
}

.cta-button--secondaire:hover,
.cta-button--secondaire:focus {
    background: #2563eb;
}

.modeles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.modele-item {
    background: #f3f4f6;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

/* Sur petit écran, un titre à 2.5em déborde et casse la mise en page. */
@media (max-width: 576px) {
    .seo-hero {
        padding: 40px 15px;
    }

    .seo-hero h1 {
        font-size: 1.7em;
    }

    .cta-button {
        padding: 14px 24px;
        font-size: 1.05em;
    }
}
