/* Normalisation et cohérence des pages locales */

/* Police par défaut pour tout le body */
body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Titres avec Lora */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', serif;
    font-weight: 600;
    color: #2c5530;
    line-height: 1.3;
}

/* Container cohérent */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main */
main.container {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

/* H1 principal */
main h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c5530;
}

/* H2 */
main h2, .card h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c5530;
}

/* H3 */
main h3, .card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #2c5530;
}

/* H4 */
main h4, .card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #2c5530;
}

/* Paragraphes */
p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 1rem;
}

/* Strong et Em */
strong {
    font-weight: 600;
    color: #2c5530;
}

em {
    font-style: italic;
    color: #555;
}

/* Listes */
ul, ol {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
}

li {
    margin-bottom: 0.5rem;
}

/* Liens */
a {
    font-family: 'Montserrat', sans-serif;
    color: #6a8d73;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #4a6d53;
}

/* Sections */
section {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.card p, .card li {
    font-family: 'Montserrat', sans-serif;
}

/* Sections spéciales avec styles inline - normalisation */
.top-slider-section h2,
.about-section h3,
section[style*="margin"] h2,
section[style*="padding"] h2,
section[style*="background"] h2 {
    font-family: 'Lora', serif !important;
}

.top-slider-section p,
.about-section p,
section[style*="margin"] p,
section[style*="padding"] p,
section[style*="background"] p {
    font-family: 'Montserrat', sans-serif !important;
}

/* Badges */
.badge-before, .badge-after {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
}

/* FAQ */
.faq-item {
    font-family: 'Montserrat', sans-serif;
}

.faq-item summary {
    font-weight: 600;
    font-size: 1.05rem;
}

.faq-item p {
    font-family: 'Montserrat', sans-serif;
}

/* CTA et boutons */
.cta-video-btn, .btn-cta, .cta button, .cta a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Navigation et footer */
header, footer {
    font-family: 'Montserrat', sans-serif;
}

.breadcrumb {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

/* Communes voisines */
.nearby-link, .nearby-grid a {
    font-family: 'Montserrat', sans-serif;
}

/* Process cards */
.process-card .card, .advantages-card .card {
    font-family: 'Montserrat', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    main h1 {
        font-size: 2rem;
    }
    
    main h2, .card h2 {
        font-size: 1.5rem;
    }
    
    main h3, .card h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    
    main h1 {
        font-size: 1.8rem;
    }
    
    main h2, .card h2 {
        font-size: 1.4rem;
    }
}
