/* Police auto-hébergée : Montserrat variable (400 à 800), sous-ensemble latin (accents, œ, « », €, ’).
   Licence SIL OFL : public/fonts/OFL.txt. Aucun appel à Google Fonts. */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url(/fonts/montserrat-latin.06b16db7.woff2) format('woff2');
}

/* Repli système aux métriques ajustées : limite le décalage quand Montserrat remplace la police de secours */
@font-face {
    font-family: 'Montserrat Fallback';
    src: local('Arial'), local('Helvetica Neue'), local('Helvetica');
    size-adjust: 111%; /* mesuré : Montserrat est 1,10 à 1,12 fois plus large qu Arial */
    ascent-override: 87%;
    descent-override: 22.6%;
    line-gap-override: 0%;
}

/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #14230c;
    --primary-light: #1f3512;
    --accent-gold: #d4af37;
    --accent-gold-light: #f4d466;
    --accent-gold-text: #8a6d00; /* or assombri pour le texte sur fond clair (contraste WCAG >= 4,5:1) */
    --text-color: #1a1a1a;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --action-bar-h: 56px; /* barre d'action mobile (Appeler + Devis) */
}

body {
    font-family: 'Montserrat', 'Montserrat Fallback', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-color);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-color);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.5px;
}

.logo h1 span {
    color: var(--primary-color);
    font-weight: 800;
}

.baseline {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
    margin-top: 0.3rem;
    letter-spacing: 0.5px;
    text-transform: none;
    opacity: 0.75;
}

/* Logo text styling (replaces inline styles) */
.logo-text {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.logo-accent {
    color: var(--accent-gold-text);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    margin-top: 70px;
    min-height: 650px;
    background: linear-gradient(135deg, rgba(20, 35, 12, 0.98) 0%, rgba(15, 25, 10, 0.95) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23142310" width="1200" height="600"/><g fill-opacity="0.08"><path fill="%23d4af37" d="M1200 300L900 450l-300-150-300 150L0 300V0h1200z"/></g></svg>');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
}

.hero-content {
    max-width: 900px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

/* === BOUTONS SUR FOND BLANC (défaut) === */
.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 35, 12, 0.25);
    outline: 2px solid rgba(20, 35, 12, 0.4);
    outline-offset: 2px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(20, 35, 12, 0.25);
    outline: 2px solid rgba(20, 35, 12, 0.4);
    outline-offset: 2px;
}

/* === BOUTON ENVOYER (formulaire contact) — reste doré === */
button.btn-primary {
    background: var(--accent-gold);
    color: var(--text-color);
    border-color: var(--accent-gold);
}

button.btn-primary:hover,
button.btn-primary:focus {
    background: var(--accent-gold-light);
    color: var(--text-color);
    border-color: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    outline: 2px solid rgba(212, 175, 55, 0.4);
    outline-offset: 2px;
}

/* === BOUTONS HERO (sur fond vert foncé) === */
.hero .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.hero .btn-primary:hover,
.hero .btn-primary:focus {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.btn-hero-phone {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.btn-hero-phone:hover,
.btn-hero-phone:focus {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Bloc Engagements */
.engagements-section {
    background: var(--bg-light);
    padding: 3rem 0;
}

.engagements-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.engagements-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.engagement-item p {
    color: var(--text-color);
    font-weight: 500;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .engagements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .engagements-section {
        padding: 2rem 0;
    }
}

/* Services */
.services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 0.8rem;
}

.service-card p:last-child {
    margin-bottom: 0;
}

.service-card p strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.2rem;
}

/* Pricing Section */
.pricing {
    background: var(--bg-color);
    padding: 80px 0;
}

.pricing-tables {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.pricing-category {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pricing-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-category h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--accent-gold);
    text-align: center;
    font-weight: 700;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table tr {
    border-bottom: 1px solid var(--border-color);
}

.pricing-table tr:last-child {
    border-bottom: none;
}

.pricing-table td {
    padding: 1rem 0.5rem;
    color: var(--text-color);
}

.pricing-table td:first-child {
    font-weight: 500;
}

.pricing-table td.price {
    text-align: right;
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.1rem;
    white-space: nowrap;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--accent-gold);
}



.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

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

.pricing-card.featured {
    border: 3px solid var(--accent-gold);
}

.pricing-card.premium {
    border: 3px solid var(--primary-color);
}

.pricing-card .badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--primary-color);
    padding: 0.4rem 1.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.pricing-card.premium .badge {
    background: var(--primary-color);
    color: white;
}

.pricing-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.pricing-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.price {
    margin: 1rem 0;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold-text);
    display: block;
}

.pricing-content {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-description {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.pricing-footer {
    padding: 0 2rem 2rem;
}

.pricing-footer .btn {
    width: 100%;
    text-align: center;
}

/* Location About Section */
.location-about-section {
    background: var(--bg-color);
    padding: 80px 0;
}

.location-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.about-preview {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-preview h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-preview p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.feature-badge {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-badge:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.map-square {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Façade de carte : fond neutre + adresse, sans requête vers Google. L'iframe remplace ce contenu au clic. */
.map-facade {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(rgba(20, 35, 12, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
        linear-gradient(90deg, rgba(20, 35, 12, 0.05) 1px, transparent 1px) 0 0 / 40px 40px,
        var(--bg-light);
}

.map-facade-contenu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 1.5rem;
    text-align: center;
}

.map-facade-adresse {
    color: var(--primary-color);
    line-height: 1.5;
}

.map-charger {
    font-family: inherit;
    cursor: pointer;
}

.map-facade-note {
    max-width: 22rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.map-itineraire {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.map-itineraire:hover {
    color: var(--primary-light);
}

.map-facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Carte chargée : le lien itinéraire reste visible en bas, par-dessus le plan */
.map-facade.map-chargee .map-facade-contenu {
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    z-index: 10;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    background: var(--bg-color);
    box-shadow: var(--shadow-lg);
}

.map-icon {
    font-size: 2rem;
    line-height: 1;
}

.map-facade.map-chargee .map-icon,
.map-facade.map-chargee .map-facade-adresse {
    display: none;
}

/* Reviews Section */
.reviews-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.google-rating {
    text-align: center;
    margin: 3rem 0;
}

.rating-score {
    display: inline-block;
    background: white;
    padding: 2rem 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.rating-score .score {
    font-size: 4rem;
    font-weight: 800;
    color: var(--accent-gold-text);
    display: block;
    margin-bottom: 0.5rem;
}

.rating-score .stars {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.rating-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.review-stars {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

/* About */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    max-width: none;
}

.about-text .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.feature-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

@media (max-width: 768px) {
    .about-image img {
        max-width: 100%;
    }
}

/* Contact */
.contact {
    background: var(--bg-light);
}

.contact-note {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 1.5rem 0 2rem;
    font-weight: 500;
}

.phone-highlight {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--accent-gold);
    transition: var(--transition);
}

.phone-highlight:hover {
    color: var(--accent-gold);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.contact-form button {
    grid-column: 1 / -1;
    justify-self: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.info-icon svg {
    width: 26px;
    height: 26px;
}

.info-card h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--accent-gold);
}

/* Horaires structurés */
.horaires-grid {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.horaires-grid .jour {
    font-weight: 500;
    color: var(--text-color);
    margin: 0.5rem 0 0;
}

.horaires-grid .jour:first-child {
    margin-top: 0;
}

.horaires-grid .horaire {
    color: var(--text-light);
    margin: 0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #e0e0e0;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent-gold-light);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gold);
    transform: translateY(-3px);
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    color: #888;
    font-size: 0.95rem;
}

/* Services Details Page */
.hero-small {
    min-height: 400px;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-link.active {
    color: var(--accent-gold);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
}

.services-detailed {
    padding: 80px 0;
    background: var(--bg-light);
}

.cleaning-section {
    background: var(--bg-color);
}

/* Nouvelle grille 2 colonnes pour services-mecanique.html */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

/* Variante 3 colonnes pour "Entretien courant" */
.service-cards-grid-3col {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

@media (max-width: 1024px) {
    .service-cards-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .service-cards-grid,
    .service-cards-grid-3col {
        grid-template-columns: 1fr;
    }
}

.service-detail-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.service-detail-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cleaning-section .service-detail-card {
    background: var(--bg-light);
}

.service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-gold);
}

.service-detail-card h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.service-list {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.service-list li {
    padding: 0.75rem 0;
    padding-left: 1.8rem;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.7;
    position: relative;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(15, 25, 10, 0.95) 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Boutons dans CTA section (fond vert) - tous en blanc pour visibilité */
/* === CTA SECTION (fond vert) — boutons blancs === */
.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.cta-section .btn-primary:hover,
.cta-section .btn-primary:focus {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.cta-section .btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-section .btn-secondary:hover,
.cta-section .btn-secondary:focus {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* === CTA discrète en milieu de page (même traitement que .cta-section, en compact) === */
.inline-cta {
    text-align: center;
    margin: 2.5rem 0 3rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(15, 25, 10, 0.95) 100%);
    border-radius: 12px;
    color: white;
}

.inline-cta-title {
    margin: 0 0 1.25rem;
    font-weight: 600;
    font-size: 1.15rem;
}

.inline-cta .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
}

.inline-cta .btn-primary:hover,
.inline-cta .btn-primary:focus {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

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

.inline-cta .btn-secondary:hover,
.inline-cta .btn-secondary:focus {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.inline-cta-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.inline-cta-note a {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .about-text .section-title {
        text-align: center;
    }

    .contact-form {
        grid-column: 1;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        height: calc(100vh - 70px);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 500px;
    }

    .location-content {
        grid-template-columns: 1fr;
    }

    .location-map iframe {
        height: 350px;
    }

    .location-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-preview {
        padding: 2rem;
    }

    .about-preview h3 {
        font-size: 1.5rem;
    }

    .map-square {
        min-height: 350px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-tables {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-table td {
        padding: 0.8rem 0.3rem;
        font-size: 0.9rem;
    }

    .pricing-table td.price {
        font-size: 1rem;
    }

    .contact-form {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-detail-card {
        padding: 2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }
}

/* Category titles for services pages */
.services-category-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 3.5rem 0 0 0;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent-gold);
    max-width: 100%;
}

.services-category-title:first-of-type {
    margin-top: 2rem;
}

.section-footer-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 3rem;
    font-style: italic;
}

/* Pricing Cards - services-nettoyage.html */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--accent-gold);
}

.pricing-card.premium {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
}

.pricing-header {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
    border-bottom: 2px solid var(--bg-light);
}

.pricing-header h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-header .price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-header .price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold-text);
}

.pricing-header .price .ttc {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.pricing-content {
    padding: 2rem;
    flex-grow: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    padding-left: 1.8rem;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    border-bottom: 1px solid var(--bg-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.pricing-footer {
    padding: 0 2rem 2rem;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Section divider */
.section-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
    margin: 4rem 0;
}

/* Extra service block (Rénovation optiques) */
.extra-service-block {
    margin: 3rem 0;
}

.extra-service-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-gold);
    max-width: 800px;
    margin: 0 auto;
}

.extra-service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.extra-service-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.extra-service-header .price .amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold-text);
}

.extra-service-content p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.extra-service-footer {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .extra-service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .extra-service-card {
        padding: 2rem;
    }
}

/* Tarifs page - tarifs.html */
.pricing {
    background: var(--bg-color);
    padding: 4rem 0;
}

.pricing-category {
    margin-bottom: 4rem;
}

.category-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent-gold);
}

.category-description {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Forfaits Entretien en cards */
.forfaits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 1024px) {
    .forfaits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .forfaits-grid {
        grid-template-columns: 1fr;
    }
}

.forfait-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.forfait-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-gold);
}

.forfait-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.forfait-price {
    margin: 1rem 0;
}

.forfait-price .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-gold-text);
}

.forfait-price .ttc {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    margin-left: 0.3rem;
}

.forfait-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
}

.forfait-inclus {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    text-align: left;
    border-top: 1px solid var(--border-color);
    padding-top: 0.9rem;
}

.forfait-inclus li {
    font-size: 0.82rem;
    color: var(--text-light);
    padding: 0.2rem 0;
    padding-left: 1.2rem;
    position: relative;
}

.forfait-inclus li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 3rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .category-title {
        font-size: 1.5rem;
    }
}

/* Price List Structure - tarifs.html */
.price-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--bg-light);
}

.price-item:last-child {
    border-bottom: none;
}

.price-item .label {
    flex: 1;
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
}

.price-item .price {
    font-weight: 700;
    white-space: nowrap;
    color: var(--accent-gold-text);
    font-size: 1.1rem;
}

/* 2-column layout for longer lists on desktop */
@media (min-width: 768px) {
    .price-list.two-columns {
        columns: 2;
        column-gap: 0;
    }

    .price-list.two-columns .price-item {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

@media (max-width: 767px) {
    .price-item {
        padding: 0.9rem 1rem;
        gap: 0.75rem;
    }

    .price-item .label {
        font-size: 0.95rem;
    }

    .price-item .price {
        font-size: 1rem;
    }
}

/* ============================================
   ACTION BAR - MOBILE ONLY (Appeler + Devis)
   ============================================ */
.action-bar {
    display: none;
}

@media (max-width: 768px) {
    .action-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        height: var(--action-bar-h);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    }

    .action-bar-btn {
        flex: 1 1 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 44px;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.05rem;
        letter-spacing: 0.02em;
    }

    .action-bar-btn svg {
        width: 20px;
        height: 20px;
        flex: none;
    }

    /* Contrastes AA : blanc sur vert foncé, vert foncé sur or */
    .action-bar-call {
        background: var(--primary-color);
        color: #fff;
    }

    .action-bar-call:active {
        background: var(--primary-light);
    }

    .action-bar-devis {
        background: var(--accent-gold);
        color: var(--primary-color);
    }

    .action-bar-devis:active {
        background: var(--accent-gold-light);
    }

    .action-bar-btn:focus-visible {
        outline: 3px solid currentColor;
        outline-offset: -6px;
    }

    /* Rien n'est masqué par la barre fixe */
    body {
        padding-bottom: var(--action-bar-h);
    }
}

/* ============================================
   "POURQUOI NOUS CHOISIR" SECTION
   ============================================ */
.why-us {
    padding: 4rem 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.why-us .section-title {
    text-align: center;
    margin-bottom: 0.5rem;
}

.why-us-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.why-us-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.why-us-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-us-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.why-us-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.why-us-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .why-us {
        padding: 3rem 0;
    }
}

/* ============================================
   CLASSES REMPLACANT LES STYLES INLINE
   ============================================ */

.hero-description {
    max-width: 700px;
    margin: 1.5rem auto 2rem;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

.form-group select {
    width: 100%;
    padding: 14px 44px 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center;
    color: var(--text-color);
    transition: var(--transition);
    appearance: none;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: white;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-feedback {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    grid-column: 1 / -1;
}

.form-feedback.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-feedback.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    grid-column: 1 / -1;
}

.form-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-legal {
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.footer-legal a {
    display: inline-block;
    padding: 0.4rem 0; /* cible tactile d'au moins 24 px de haut */
    color: inherit;
    margin-right: 1rem;
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--accent-gold-light);
}

/* ============================================
   MOBILE FIXES - AUDIT
   ============================================ */
@media (max-width: 768px) {
    /* Touch targets min 44px */
    .btn {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Reduce section padding on mobile */
    section {
        padding: 50px 0;
    }

    /* Rating score fix */
    .rating-score {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    section {
        padding: 40px 0;
    }

    .service-detail-card {
        padding: 1.5rem;
    }
}

/* ============================================
   BANDEAU DE CONSENTEMENT (cookies Google Ads)
   ============================================ */
.consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: #fff;
    border-top: 3px solid var(--accent-gold);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    font-size: 0.9rem;
    line-height: 1.5;
}

.consent-banner[hidden] {
    display: none;
}

.consent-banner:focus {
    outline: none;
}

.consent-text {
    flex: 1 1 320px;
    max-width: 760px;
}

.consent-text p {
    margin: 0;
}

.consent-title {
    font-weight: 700;
    margin-bottom: 0.25rem !important;
}

.consent-text a {
    color: var(--accent-gold-light);
    text-decoration: underline;
}

.consent-actions {
    display: flex;
    gap: 0.75rem;
    flex: 0 0 auto;
}

/* Refuser et Accepter : strictement le même poids visuel */
.consent-btn {
    min-width: 7.5rem;
    min-height: 44px;
    padding: 0.6rem 1.25rem;
    background: var(--accent-gold);
    color: var(--primary-color);
    border: 2px solid var(--accent-gold);
    border-radius: 6px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.consent-btn:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
}

.consent-btn:focus-visible,
.consent-text a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.cookie-manage {
    background: none;
    border: 0;
    padding: 0.25rem 0;
    min-height: 24px;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.cookie-manage:hover {
    color: var(--accent-gold-light);
}

.cookie-manage:focus-visible {
    outline: 2px solid var(--accent-gold-light);
    outline-offset: 2px;
}

/* Le contenu reste atteignable sous le bandeau */
body.has-consent-banner {
    padding-bottom: var(--consent-h, 0px);
}

@media (max-width: 768px) {
    /* Le bandeau se pose au-dessus de la barre d'action fixe au lieu de la masquer */
    .consent-banner {
        bottom: var(--action-bar-h);
        padding: 0.85rem 1rem;
    }

    body.has-consent-banner {
        padding-bottom: calc(var(--action-bar-h) + var(--consent-h, 0px));
    }

    .consent-actions {
        width: 100%;
    }

    .consent-btn {
        flex: 1 1 0;
    }
}

/* ============================================
   Étape 2 : intitulés sans emoji ni h3/h4 hors contenu, fil d'Ariane, FAQ
   ============================================ */

/* Pied de page : intitulés en paragraphes (le rendu reprend celui des anciens h3 / h4) */
.footer-section .footer-title {
    color: white;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section .footer-heading {
    color: white;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Icône décorative d'un titre : dans le CSS, hors du texte du titre */
[data-icon]::before {
    content: attr(data-icon) " ";
}

.service-price {
    font-size: 0.85em;
    color: var(--accent-gold);
    font-weight: 600;
}

.note {
    color: var(--text-light);
    font-weight: normal;
}

/* Fil d'Ariane */
.breadcrumb {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.7rem 0;
}

.breadcrumb li + li::before {
    content: "›";
    margin-right: 0.4rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb [aria-current] {
    color: var(--text-light);
}

/* Questions fréquentes (visibles, identiques au JSON-LD FAQPage) */
.faq-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    line-height: 1.7;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .faq-section {
        padding: 50px 0;
    }
}

/* ============================================
   ÉTAPE 3 : pages services, avis, zone, à propos, conseils
   ============================================ */

/* Navigation à 7 entrées : menu mobile dès 1024 px pour éviter le débordement */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        height: calc(100vh - 70px);
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }
}

/* Bandeau des pages services et articles : plus compact que celui de l'accueil */
.hero-service {
    min-height: 280px;
}

.hero-service .hero-title {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.hero-service .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 0;
}

/* Sections d'une page service */
.service-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.service-signes {
    background: var(--bg-light);
}

.service-section .section-title,
.zone-section .section-title,
.apropos-section .section-title,
.conseils-section .section-title,
.avis-page .section-title,
.article-faq .section-title,
.services-detailed .section-title {
    font-size: 2rem;
}

.service-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

.service-concret .service-cards-grid {
    margin-bottom: 1.5rem;
}

.service-section .service-detail-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.service-concret .service-detail-card {
    background: var(--bg-light);
}

.card-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    font-style: italic;
}

.service-prose-note,
.service-note {
    max-width: 800px;
    margin: 1.5rem auto 0;
    color: var(--text-light);
    text-align: center;
    font-size: 0.95rem;
}

.service-sous-titre {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-align: center;
    margin: 2rem 0 0.5rem;
}

.service-prose {
    max-width: 900px;
    margin: 0 auto;
}

.signs-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.signs-list li {
    background: var(--bg-color);
    border-left: 4px solid var(--accent-gold);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    line-height: 1.7;
    box-shadow: var(--shadow);
}

.signs-list li strong {
    color: var(--primary-color);
}

.tarif-mention {
    margin-top: 1.25rem;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.tarif-lien,
.avis-lien {
    text-align: center;
    margin-top: 1.5rem;
}

.service-tarifs .price-list {
    margin-top: 0;
    background: var(--bg-light);
}

.service-tarifs .price-item {
    border-bottom-color: var(--border-color);
}

.faq-section-alt {
    background: var(--bg-color);
}

/* Déroulé d'un diagnostic (ancien encadré de /services) */
.diagnostic-etapes {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 2rem;
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    line-height: 1.8;
}

.diagnostic-etapes h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.diagnostic-etapes p {
    margin-bottom: 1rem;
}

.diagnostic-etapes strong {
    color: var(--primary-color);
}

.diagnostic-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 0;
}

/* Nettoyage : titres de cartes (h4 sous le h3 « Nos forfaits ») et note de disponibilité */
.pricing-header h4,
.extra-service-header h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.extra-service-header h4 {
    margin: 0;
}

.availability-note {
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 1.25rem 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    border-left: 4px solid var(--accent-gold);
}

/* Bandeau « Voir aussi » */
.voir-aussi {
    padding: 2rem 0;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.voir-aussi-titre {
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 0.75rem;
}

.voir-aussi-liste {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.voir-aussi-liste a {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 999px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.voir-aussi-liste a:hover,
.voir-aussi-liste a:focus {
    background: var(--primary-color);
    color: white;
}

/* Avis */
.review-guide {
    color: var(--text-light);
    font-weight: 400;
}

.review-meta {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

.review-links a {
    color: var(--primary-color);
    font-weight: 600;
}

.rating-releve {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.avis-page .google-rating {
    margin: 1.5rem 0;
}

.avis-actions {
    text-align: center;
    margin-top: 3rem;
}

.avis-actions p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.avis-liens {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
}

.avis-liens a {
    color: var(--primary-color);
}

.services-voir-tout {
    text-align: center;
    margin-top: 2.5rem;
}

/* /services : cartes des 6 services */
.service-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.service-overview-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: var(--transition);
}

.service-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-left-color: var(--accent-gold);
}

.service-overview-card h3 {
    font-size: 1.3rem;
}

.service-overview-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.service-overview-card p {
    line-height: 1.6;
}

.service-overview-prix {
    margin-top: auto;
    color: var(--text-color);
}

.service-overview-prix strong {
    color: var(--primary-color);
    font-size: 1.15rem;
}

.service-overview-prix small {
    color: var(--text-light);
}

.service-overview-card .btn {
    align-self: flex-start;
}

.services-autres {
    background: var(--bg-color);
}

.services-autres .service-detail-card {
    background: var(--bg-light);
}

.services-autres .service-detail-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-subtitle a,
.section-footer-note a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Zone d'intervention */
.zone-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.zone-services {
    background: var(--bg-light);
}

.zone-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.zone-liste {
    list-style: none;
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.zone-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.zone-item:last-child {
    border-bottom: none;
}

.zone-commune {
    font-weight: 700;
    color: var(--primary-color);
}

.zone-trajet {
    color: var(--text-light);
    font-size: 0.9rem;
    text-align: right;
}

.zone-infos {
    background: var(--bg-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 1.75rem;
    border-left: 4px solid var(--accent-gold);
    line-height: 1.8;
}

.zone-infos h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.zone-infos p {
    margin-bottom: 1rem;
}

.zone-services-liste {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.zone-services-liste a {
    display: inline-block;
    padding: 0.6rem 1.1rem;
    background: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* À propos */
.apropos-section {
    padding: 60px 0;
    background: var(--bg-color);
}

.apropos-parcours,
.apropos-photos {
    background: var(--bg-light);
}

.apropos-texte {
    max-width: 800px;
    margin: 0 auto;
}

.apropos-texte p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.apropos-texte .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.a-completer {
    padding: 1rem 1.25rem;
    border: 2px dashed var(--accent-gold);
    border-radius: 8px;
    background: var(--bg-color);
    color: var(--text-light);
    font-style: italic;
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    max-width: 900px;
    margin: 0 auto;
}

.valeur-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    line-height: 1.7;
}

.valeur-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.valeur-card p {
    margin-bottom: 0.75rem;
}

.valeur-card a {
    color: var(--primary-color);
    font-weight: 600;
}

/* 3 photos par rangée ; une rangée incomplète reste centrée */
.photos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.photos-grid > .photo-figure {
    flex: 0 1 calc((100% - 3rem) / 3);
}

.photo-figure figcaption {
    margin-top: 0.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.photo-figure {
    margin: 0;
}

/* Photos du pipeline <picture> : dimensions réservées par width/height, l'image s'adapte à la colonne */
picture {
    display: block;
}

.photo-figure img,
.about-image picture {
    width: 100%;
}

.about-image picture {
    max-width: 600px;
}

.photo-figure img {
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.avant-apres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Conseils et articles */
.conseils-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.conseils-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    max-width: 1000px;
    margin: 0 auto;
}

.conseil-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.conseil-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.conseil-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.conseil-liens a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.conseil-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

.article {
    padding: 60px 0 20px;
    background: var(--bg-color);
}

.article-container {
    max-width: 800px;
}

.article-corps {
    line-height: 1.85;
    font-size: 1.05rem;
}

.article-corps h2 {
    color: var(--primary-color);
    font-size: 1.7rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--accent-gold);
}

.article-corps h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin: 1.75rem 0 0.5rem;
}

.article-corps p {
    margin-bottom: 1rem;
}

.article-corps ul,
.article-corps ol {
    margin: 0 0 1.25rem 1.5rem;
}

.article-corps li {
    margin-bottom: 0.6rem;
}

.article-corps a,
.faq-item a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-faq {
    margin-top: 3rem;
    padding: 40px 0 20px;
    background: var(--bg-color);
}

.article-faq .faq-item p {
    margin-bottom: 0;
}

/* Pied de page : liste des services */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

@media (max-width: 1024px) {
    .service-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-service {
        min-height: 220px;
    }

    .hero-service .hero-title {
        font-size: 1.8rem;
    }

    .hero-service .hero-subtitle {
        font-size: 1rem;
    }

    .service-section,
    .zone-section,
    .apropos-section,
    .conseils-section {
        padding: 40px 0;
    }

    .service-section .section-title,
    .zone-section .section-title,
    .apropos-section .section-title,
    .conseils-section .section-title,
    .avis-page .section-title,
    .services-detailed .section-title,
    .article-faq .section-title {
        font-size: 1.6rem;
    }

    .service-intro {
        text-align: left;
        font-size: 1rem;
    }

    .service-overview-grid,
    .zone-grid,
    .valeurs-grid,
    .avant-apres-grid {
        grid-template-columns: 1fr;
    }

    .photos-grid > .photo-figure {
        flex-basis: 100%;
    }

    .zone-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .zone-trajet {
        text-align: left;
    }

    .diagnostic-etapes {
        padding: 1.25rem;
    }

    .article-corps h2 {
        font-size: 1.4rem;
    }

    .article {
        padding-top: 40px;
    }

    .voir-aussi-liste a {
        font-size: 0.9rem;
    }
}

/* ============================================
   ÉTAPE 4 : barre d'horaires, formulaire (véhicule, photo), confirmation, page /merci
   ============================================ */

/* Barre d'horaires sous la navigation fixe (hauteur de la navigation : 96px) : horaires en HTML, statut
   ajouté par horaires.js. La hauteur est réservée (ligne du statut toujours présente) : aucun décalage. */
.horaires-bar {
    margin-top: 96px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
    font-size: 0.85rem;
    min-height: 2.3rem; /* hauteur réservée : le statut arrive par JS sans rien décaler */
}

.horaires-bar + main .hero {
    margin-top: 0;
}

.horaires-bar .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.1rem 1.25rem;
    padding: 0.5rem 20px;
}

.horaires-texte {
    font-weight: 500;
}

.horaires-statut {
    display: inline-block;
    min-height: 1.4em;
    line-height: 1.4;
    font-weight: 700;
}

.horaires-statut::before {
    content: '';
    display: none;
    width: 0.6em;
    height: 0.6em;
    margin-right: 0.45em;
    border-radius: 50%;
    background: currentColor;
}

.horaires-statut.est-ouvert::before,
.horaires-statut.est-ferme::before {
    display: inline-block;
}

.horaires-statut.est-ouvert::before {
    background: #1e7a34;
}

.horaires-statut.est-ferme::before {
    background: #b3261e;
}

@media (max-width: 768px) {
    .horaires-bar {
        font-size: 0.8rem;
    }

    .horaires-bar .container {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }
}

/* Formulaire : conteneur commun formulaire / confirmation */
.contact-main {
    min-width: 0;
}

/* Page entretien : forfaits en cartes au-dessus des lignes de tarif */
.service-tarifs .forfaits-grid {
    margin-bottom: 2.5rem;
}

/* Précisions propres au service choisi (freinage, pneus) : masquées par script.js hors de leur service */
.form-precisions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 0;
    padding: 1.25rem;
    border: 2px solid var(--accent-gold);
    border-radius: 8px;
    background: var(--bg-light);
}

.form-precisions legend {
    padding: 0 0.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .form-precisions {
        grid-template-columns: 1fr;
    }
}

.form-precisions[hidden],
.contact-form[hidden],
.form-confirmation[hidden] {
    display: none;
}

.form-group input[type="file"] {
    padding: 10px 12px;
    font-size: 0.95rem;
}

.form-group input[type="file"]::file-selector-button {
    margin-right: 0.6rem;
    padding: 0.55rem 0.8rem;
    min-height: 44px;
    border: 0;
    border-radius: 6px;
    background: var(--primary-color);
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.form-aide {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Confirmation d'envoi : message persistant, à la place du formulaire (et sur la page /merci) */
.form-confirmation {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.form-confirmation:focus-visible {
    outline: 3px solid var(--accent-gold);
    outline-offset: 4px;
}

.form-confirmation svg {
    width: 60px;
    height: 60px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.form-confirmation .confirmation-titre {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.form-confirmation p {
    color: var(--text-color);
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.form-confirmation .phone-highlight {
    white-space: nowrap;
}

.form-confirmation .btn {
    margin-top: 1rem;
}

.merci {
    padding: 60px 0;
    background: var(--bg-light);
}

.form-confirmation-page {
    max-width: 560px;
    margin: 0 auto;
}

/* Page d'erreur renvoyée par le serveur à un envoi sans JavaScript */
.page-simple {
    background: var(--bg-light);
    padding: 1rem;
}

.page-simple-contenu {
    max-width: 560px;
    margin: 10vh auto 0;
    padding: 2.5rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
}

.page-simple-contenu h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.page-simple-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .form-confirmation {
        padding: 2rem 1.25rem;
    }
}

/* Liens dans les textes juridiques : soulignés (distincts du texte sans reposer sur la couleur seule) */
.legal-content p a,
.legal-content li a {
    text-decoration: underline;
}

/* Carte seule dans une grille de cartes : centrée, à la largeur du texte d'introduction */
.service-cards-grid > .service-detail-card:only-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 800px;
}

.zone-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Avant / après en une seule photo (les deux pièces côte à côte) */
.avant-apres-grid.avant-apres-unique {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

/* Paire avant / après : deux cadres de même hauteur, quelle que soit la photo d'origine */
.avant-apres-grid:not(.avant-apres-unique) .photo-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Photo d'illustration sous le texte d'une page service */
.service-photo {
    max-width: 420px;
    margin: 2rem auto 0;
}

/* Galerie « Le garage en images » : cadres identiques (4:3), photo recadrée au centre */
.photos-grid .photo-figure img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
