/* ==========================================================================
   TOITURE BÉARN — Premium Redesign
   Color: Charcoal + Warm Terracotta + Slate
   ========================================================================== */
:root {
    /* Colors — warm, professional, premium */
    --primary: #8B3A2F;
    --primary-hover: #A04235;
    --primary-light: rgba(139, 58, 47, 0.08);
    --primary-red: #8B3A2F;
    --secondary-red: #A04235;
    --accent-red: #C75B39;
    --accent-gold: #C9A96E;
    --primary-blue: #4A90A4;
    --dark: #1A1A1A;
    --dark-grey: #2D2D2D;
    --medium-grey: #64748B;
    --light-grey: #F8F6F3;
    --border: #E8E4DF;
    --text-color: #4A4A4A;
    --heading-color: #1A1A1A;
    --white: #FFFFFF;
    --black: #000000;
    --success: #2D6A4F;

    /* Legacy aliases (anciennes versions du design system) */
    --encre: #1A1A1A;
    --tuile: #C04B1C;
    --sable: #4A4A4A;
    --encre-color: #1A1A1A;
    --sable-color: #4A4A4A;
    --kraft: #FAF7F2;
    --zinc-bg: #F1F3F5;

    /* Typography */
    --font-heading: 'Overpass', sans-serif;
    --font-body: 'Lato', sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    line-height: 1.25;
    margin-bottom: var(--spacing-sm);
    font-weight: 800;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all var(--transition-smooth);
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px rgba(139, 58, 47, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    box-shadow: 0 4px 16px rgba(139, 58, 47, 0.35);
    transform: translateY(-1px);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-1px);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition-medium);
}

.site-header:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-top {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 0;
    font-size: 0.82rem;
}

.contact-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: var(--spacing-md);
}

.contact-info a, .contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--transition-fast);
}

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

.header-main {
    padding: 16px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none !important;
    color: var(--primary) !important;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    transition: color var(--transition-fast) !important;
}

.logo:hover {
    color: var(--primary-hover) !important;
}

.logo img {
    height: 60px;
    width: auto;
}

/* ==========================================================================
   NAV — Extended + Hamburger (mobile/tablette)
   ========================================================================== */
.main-nav .nav-list {
    display: flex;
    gap: var(--spacing-md);
}

/* Tablette/petit desktop : resserrer la nav avant le breakpoint hamburger */
@media (max-width: 1199px) {
    .main-nav .nav-list { gap: 1.25rem; }
    .main-nav a { font-size: 0.82rem; letter-spacing: 0.3px; }
}

@media (max-width: 1100px) {
    .main-nav .nav-list { gap: 0.9rem; }
    .main-nav a { font-size: 0.78rem; letter-spacing: 0; }
}

.main-nav a {
    color: var(--dark-grey);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-medium);
    border-radius: 1px;
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

/* Hamburger checkbox (CSS-only mobile menu) */
.nav-toggle-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.nav-toggle-label {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background var(--transition-fast);
}
.nav-toggle-label:hover { background: var(--light-grey); }
.nav-toggle-label span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--heading-color);
    border-radius: 1px;
    transition: transform var(--transition-medium), opacity var(--transition-medium);
}
/* Quand coché : transforme en X */
.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(2) {
    opacity: 0;
}
.nav-toggle-input:checked ~ .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile / tablette : hamburger visible, nav en panneau coulissant */
@media (max-width: 992px) {
    .nav-toggle-label { display: flex; }
    .main-nav {
        display: none;
        position: fixed;
        top: 100px;
        left: 1rem;
        right: 1rem;
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 12px 40px rgba(0,0,0,0.15);
        padding: 1.25rem;
        z-index: 999;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }
    .main-nav .nav-list li {
        border-bottom: 1px solid var(--border);
    }
    .main-nav .nav-list li:last-child {
        border-bottom: none;
    }
    .main-nav a {
        display: block;
        padding: 0.9rem 0.5rem;
        font-size: 0.95rem;
    }
    .nav-toggle-input:checked ~ .main-nav { display: block; }
}

/* Petit mobile : resserrer */
@media (max-width: 480px) {
    .header-container { gap: 0.5rem; }
    .logo { font-size: 1.2rem !important; }
    .header-cta .btn { padding: 10px 16px; font-size: 0.75rem; }
}
@media (max-width: 380px) {
    .header-cta { display: none !important; }
}
/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 40px;
}
@media (max-width: 768px) {
    .hero { background-attachment: scroll; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.85) 0%,
        rgba(139, 58, 47, 0.4) 50%,
        rgba(26, 26, 26, 0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
    padding: 3rem 0 4rem;
}

.hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero p {
    font-size: 1.15rem;
    margin-bottom: var(--spacing-lg);
    font-weight: 300;
    opacity: 0.92;
    line-height: 1.7;
}

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

/* HERO — Layout vertical : titre en haut, formulaire pleine largeur en dessous */
.hero-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    color: var(--white);
}

.hero-intro h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    text-wrap: balance;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-intro p {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 24px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* HERO FORM CARD — Pleine largeur, large et carré */
.hero-form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-form-card {
    background: var(--white);
    padding: 2.5rem 3rem 2rem;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.30);
    border-top: 5px solid var(--primary);
    width: 100%;
}

.hero-form-title {
    color: var(--heading-color);
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-wrap: balance;
}

.hero-form-subtitle {
    color: var(--medium-grey);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.5;
    text-align: center;
}

/* Form rows : 4 colonnes côte à côte (Nom | Tel | CP | Service) */
.hero-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 1rem;
    margin-bottom: 1.1rem;
}

/* Form groups : bien espacés */
.hero-form .form-group {
    margin-bottom: 0;
}

.hero-form .form-group label {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
    color: var(--heading-color);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Inputs/select/textarea : grands, aérés, focus visible */
.hero-form input[type="text"],
.hero-form input[type="tel"],
.hero-form input[type="email"],
.hero-form select,
.hero-form textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 1rem;
    line-height: 1.4;
    font-family: var(--font-body);
    color: var(--heading-color);
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.hero-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%2364748B' stroke-width='2' fill='none'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.hero-form input:focus,
.hero-form select:focus,
.hero-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 58, 47, 0.12);
}

.hero-form input::placeholder,
.hero-form textarea::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.hero-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

/* Checkbox consentement RGPD + bouton CTA côte à côte */
.hero-form .form-bottom-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: center;
    margin-top: 0.5rem;
}

.hero-form .form-consent {
    margin: 0;
}

.hero-form .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--medium-grey);
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
    margin-bottom: 0;
}

.hero-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

/* Bouton CTA principal */
.hero-form .btn-block {
    margin-top: 0;
    padding: 1rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(139, 58, 47, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
}

.hero-form .btn-block:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(139, 58, 47, 0.35);
}

.form-mini {
    font-size: 0.82rem;
    color: var(--medium-grey);
    text-align: center;
    margin: 1rem 0 0;
    line-height: 1.4;
}

/* Reassurance row : 3 items séparés par · */
.form-reassurance {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 0.6rem;
    margin: 1.1rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--medium-grey);
    line-height: 1.3;
}

.reassurance-item {
    white-space: nowrap;
}

.reassurance-sep {
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 600px) {
    .form-reassurance {
        font-size: 0.78rem;
        gap: 0.3rem 0.5rem;
    }
}

/* ==========================================================================
   CONTACT — Formulaire aéré
   ========================================================================== */
.contact-form-card {
    background: var(--white);
    padding: 2.5rem 2.5rem 2rem;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.10);
    border-top: 5px solid var(--primary);
}

.contact-form-card h2 {
    font-size: 1.6rem !important;
    margin: 0.5rem 0 1.75rem !important;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

.contact-form-card .fg {
    margin-bottom: 1.1rem;
}

.contact-form-card .fg-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0;
}

.contact-form-card .fg-row .fg {
    margin-bottom: 1.1rem;
}

.contact-form-card .fg label {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
    color: var(--heading-color);
    font-weight: 600;
}

.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select,
.contact-form-card textarea {
    width: 100%;
    padding: 0.85rem 1rem !important;
    font-size: 1rem;
    line-height: 1.4;
    font-family: var(--font-body);
    color: var(--heading-color);
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form-card select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' stroke='%2364748B' stroke-width='2' fill='none'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 18px;
    padding-right: 2.5rem !important;
    cursor: pointer;
}

.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 58, 47, 0.12);
}

.contact-form-card textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
}

.contact-form-card button[type="submit"] {
    width: 100%;
    margin-top: 0.5rem;
    padding: 1rem 1.5rem !important;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.contact-form-card .f-rgpd {
    font-size: 0.82rem;
    color: var(--medium-grey);
    text-align: center;
    margin: 0.85rem 0 0;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .contact-form-card {
        padding: 1.5rem 1.25rem;
    }
    .contact-form-card .fg-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
.sticky-cta {
    position: fixed;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    z-index: 99;
    display: none;
    flex-direction: column;
    gap: 8px;
    animation: pulse-cta 2s ease-in-out infinite;
}

.sticky-cta a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 16px rgba(139, 58, 47, 0.4);
}

.sticky-cta a.cta-whatsapp {
    background: #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

@keyframes pulse-cta {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Mobile : form responsive */
@media (max-width: 1100px) {
    .hero-form .form-row {
        grid-template-columns: 1fr 1fr;
    }
    .hero-form .form-row .form-group:nth-child(3),
    .hero-form .form-row .form-group:nth-child(4) {
        /* CP et Type de projet restent en 2e ligne, 1 col chacun */
    }
}

@media (max-width: 900px) {
    .hero-content {
        padding: 2rem 0 3rem;
    }
    .hero-form-card {
        padding: 1.5rem 1.25rem;
    }
    .hero-form .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
    .hero-form .form-bottom-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .hero-form input,
    .hero-form select,
    .hero-form textarea {
        padding: 0.75rem 0.85rem;
        font-size: 1rem;
    }
    .sticky-cta {
        display: flex;
    }
    .hero-trust {
        gap: 0.5rem;
    }
    .trust-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 600px) {
    .hero-intro h1 {
        font-size: 1.8rem;
    }
    .hero-intro p {
        font-size: 0.95rem;
    }
    .hero-form-card {
        padding: 1.25rem 1rem;
    }
    .hero-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .hero-form .form-group {
        margin-bottom: 0.9rem;
    }
}

.hero-shape-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 3;
}

/* ==========================================================================
   SECTIONS & UTILS
   ========================================================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--light-grey);
}

.bg-gray {
    background-color: var(--light-grey);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--heading-color);
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--medium-grey);
    margin-top: var(--spacing-sm);
}

.divider {
    height: 3px;
    width: 50px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    margin: var(--spacing-sm) 0;
    border-radius: 2px;
}

.divider.center {
    margin: var(--spacing-sm) auto;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: var(--spacing-md);
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-smooth);
}

.service-card:hover .service-img img {
    transform: scale(1.06);
}

.service-content {
    padding: 1.5rem;
}

.service-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.service-content p {
    font-size: 0.92rem;
    color: var(--medium-grey);
    margin-bottom: 15px;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    color: var(--primary);
    letter-spacing: 0.5px;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-hover);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: -12px 12px 0 var(--primary), -12px 12px 0 3px var(--border);
}

.about-text h2 {
    font-size: 2.25rem;
    letter-spacing: -0.5px;
}

.features-list {
    margin-top: var(--spacing-md);
}

.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 8px 0;
}

.features-list li span {
    font-weight: 700;
    color: var(--heading-color);
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .about-image {
        margin-bottom: var(--spacing-md);
    }
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading-color);
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--light-grey);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--primary-light);
}

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

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-xl) 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}
@media (min-width: 1024px) {
    .footer-container { gap: var(--spacing-lg); }
}

.footer-brand {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--white);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin: 0 0 1rem 0;
}

.footer-logo {
    margin-bottom: var(--spacing-sm);
    filter: brightness(0) invert(1);
    max-height: 60px;
}

.site-footer h3 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 12px;
    font-size: 1.1rem;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    border-radius: 1px;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition-fast);
}

.site-footer ul li a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   INJECTED CLASSES — Subpage Support
   ========================================================================== */
.p-4 { padding: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }

.eyebrow {
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.ts {
    font-size: 2.25rem;
    margin-bottom: 20px;
    color: var(--heading-color);
    letter-spacing: -0.5px;
}

.ts em {
    color: var(--primary);
    font-style: normal;
}

.lead {
    font-size: 1.05rem;
    color: var(--medium-grey);
    line-height: 1.7;
}

.ref-img {
    font-size: 3rem;
    text-align: center;
    padding: 20px;
    background: var(--light-grey);
    border-bottom: 3px solid var(--primary);
}

.ref-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.ref-titre {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--heading-color);
}

.ref-lieu {
    font-size: 0.85rem;
    color: var(--medium-grey);
    margin-bottom: 15px;
}

.ref-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ref-tag {
    font-size: 0.7rem;
    background: var(--light-grey);
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--medium-grey);
    border: 1px solid var(--border);
}

.stat-grand {
    padding: 20px;
}

.stat-grand-n {
    font-size: 3rem;
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.stat-grand-n em {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-style: normal;
    vertical-align: super;
}

.stat-grand-l {
    font-size: 1rem;
    opacity: 0.85;
}

.metier-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.metier-picto {
    font-size: 2.5rem;
}

.metier-head h3 small {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    margin-top: 5px;
    letter-spacing: 0.5px;
}

.trait-list {
    padding-left: 20px;
    list-style-type: none;
    margin-bottom: 20px;
}

.trait-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 4px;
}

.trait-list li::before {
    content: '✓';
    color: var(--success);
    position: absolute;
    left: -20px;
    font-weight: bold;
}

.mat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mat-tag {
    font-size: 0.7rem;
    background: var(--light-grey);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid var(--border);
    color: var(--medium-grey);
}

.t-tuile { border-left: 3px solid #C04B1C; }
.t-bois { border-left: 3px solid #6c5b52; }
.t-zinc { border-left: 3px solid #6B8FA8; }

.mat-em {
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
    text-align: left;
}
.mat-em img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mat-nom {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 10px;
    text-align: center;
    color: var(--heading-color);
}

.mat-assoc { font-size: 0.9rem; margin-bottom: 15px; }
.mat-meta {
    font-size: 0.75rem;
    color: var(--medium-grey);
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mat-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all var(--transition-smooth);
}

.mat-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.mat-lien {
    display: block;
    text-align: center;
    margin-top: auto;
    font-weight: bold;
    color: var(--primary);
    transition: color var(--transition-fast);
}

.mat-lien:hover {
    color: var(--primary-hover);
}

.prob-ico { font-size: 2.5rem; margin-bottom: 15px; }

.prob-titre {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.prob-corps { font-size: 0.92rem; margin-bottom: 15px; line-height: 1.6; }

.prob-stat {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tarif-ligne {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: background var(--transition-fast);
}

.tarif-ligne:hover {
    background: var(--light-grey);
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 4px;
}

.tarif-mat { font-weight: 700; color: var(--heading-color); }

.tarif-mat span {
    display: block;
    font-weight: normal;
    font-size: 0.82rem;
    color: var(--medium-grey);
    margin-top: 4px;
}

.tarif-prix {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
}

.avis-et {
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.avis-txt {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-color);
}

.avis-aut {
    border-top: 1px solid var(--border);
    padding-top: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.avis-av {
    width: 42px;
    height: 42px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.avis-nom { font-weight: 700; font-family: var(--font-heading); color: var(--heading-color); }

.avis-lieu { font-size: 0.78rem; color: var(--medium-grey); }

.faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading-color);
    cursor: pointer;
    padding: 12px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-fast);
}

.faq-q:hover {
    color: var(--primary);
}

.faq-r {
    margin-top: 8px;
    color: var(--medium-grey);
    padding-bottom: 12px;
    line-height: 1.6;
}

.faq-tog {
    color: var(--primary);
    font-size: 1.3rem;
    transition: transform var(--transition-fast);
}

.tarifs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

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

/* Backgrounds */
.bg-kraft { background-color: #FAF7F2; }
.bg-zinc { background-color: #F1F3F5; }
.bg-encre { background-color: var(--dark); color: #fff; }
.bg-tuile { background-color: var(--primary); color: #fff; }

.sep {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    margin: 1rem 0;
    border-radius: 2px;
}

.bg-encre .lead { color: rgba(255, 255, 255, 0.65); }
.bg-encre .ts { color: #fff; }
.bg-encre .eyebrow { color: var(--accent-gold); }

/* Page Hero */
/* ==========================================================================
   PAGE HERO (pages secondaires : about, contact, services, villes)
   Cohérent avec le hero de l'index, mais sans image de fond
   ========================================================================== */
.page-hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%);
    padding: 9rem 0 4rem;
    color: var(--white);
    position: relative;
}

.page-hero-content {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.page-hero-content .eyebrow {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.page-hero-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.15;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    text-wrap: balance;
}

.page-hero-content h1 em {
    color: var(--accent-gold);
    font-style: normal;
}

.page-hero-content .lead {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 750px;
    margin: 0 auto 2rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Hero stats — 4 cards sous le H1 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.stat-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

@media (max-width: 700px) {
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-hero {
        padding: 7rem 0 3rem;
    }
}

/* ABOUT GRID — 2 colonnes pour sections "Le couvreur / Le zingueur" et "Certifs / Zones" */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.about-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-top: 4px solid var(--primary);
}

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

.about-card h2 {
    color: var(--heading-color);
    font-size: 1.7rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    text-wrap: balance;
}

.about-card h2 em {
    color: var(--primary);
    font-style: normal;
}

.about-card p {
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.certif-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.certif-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    line-height: 1.5;
    color: var(--text-color);
}

.certif-list li:last-child {
    border-bottom: none;
}

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

/* VALUES GRID — 6 cards de valeurs */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.value-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.value-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--heading-color);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.value-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

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

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

/* AVIS GRID — 3 testimonials */
.avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.avis-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.avis-stars {
    color: var(--accent-gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.avis-text {
    color: var(--text-color);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.avis-author {
    color: var(--medium-grey);
    font-size: 0.9rem;
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

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

/* Active link dans la nav */
.main-nav a.active {
    color: var(--primary);
    font-weight: 700;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
}

.page-breadcrumb {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2rem;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.page-breadcrumb a:hover {
    color: var(--accent-gold);
}

.ph-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .ph-content {
        grid-template-columns: 1.5fr 1fr;
        align-items: center;
    }
}

.ph-points {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.ph-points li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.ph-star {
    color: var(--accent-gold);
    margin-right: 8px;
    font-size: 1rem;
    vertical-align: middle;
}

.ph-stat-bloc {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
}

.stat-card-inner {
    text-align: center;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card-inner:last-child {
    border-bottom: none;
}

.sci-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    line-height: 1;
    letter-spacing: -1px;
}

.sci-lab {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.5rem;
}

/* Grids & Layouts */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

@media (min-width: 992px) {
    .two-col-layout {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.process-grille {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .process-grille { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .process-grille { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: relative;
    transition: all var(--transition-smooth);
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: transparent;
}

.ps-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-light);
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    line-height: 1;
}

.ps-titre {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.ps-corps {
    font-size: 0.9rem;
    color: var(--medium-grey);
    line-height: 1.6;
}

/* Why Grid */
.why-grille {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .why-grille {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 8px;
    transition: background var(--transition-fast);
}

.why-item:hover {
    background: var(--light-grey);
}

.wi-ico { font-size: 2rem; line-height: 1; }

.wi-titre {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.wi-corps {
    font-size: 0.9rem;
    color: var(--medium-grey);
    line-height: 1.6;
}

/* FAQ */
.faq-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 4rem 0;
}

@media (min-width: 992px) {
    .faq-layout { grid-template-columns: 1fr 2fr; }
}

/* CTA Bande */
.cta-bande {
    padding: 4rem 0;
    text-align: center;
}

.cta-inner {
    max-width: 800px;
    margin: 0 auto;
}

.cta-titre {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.cta-sub {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.btn-clair {
    background: #fff;
    color: var(--primary);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-clair:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary);
}

.btn-tuile {
    background: var(--primary);
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    transition: all var(--transition-smooth);
    box-shadow: 0 2px 8px rgba(139, 58, 47, 0.25);
}

.btn-tuile:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 58, 47, 0.35);
    color: #fff;
}

/* ==========================================================================
   SCROLL REVEAL (désactivé — pas d'animation par défaut)
   ========================================================================== */
.sr { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Photos */
.img-obj {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
    transition: transform var(--transition-smooth);
}

.img-obj:hover {
    transform: scale(1.02);
}

.img-obj-sm {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--primary);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

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

    .ts {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-info {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-cta {
        display: none;
    }

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

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .hero-shape-bottom {
        height: 40px;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.8rem;
    }

    .container {
        padding: 0 16px;
    }
}

/* ==========================================================================
   LAYOUT RESTRUCTURE — index.html improvements
   ========================================================================== */

/* Featured Services — first 3 are larger */
.services-featured {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-card--featured .service-img {
    height: 240px;
}

.service-card--featured .service-content {
    padding: 1.75rem;
}

.service-card--featured h3 {
    font-size: 1.35rem;
}

/* Services secondary — compact */
.services-secondary .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.services-secondary .service-img {
    height: 160px;
}

/* Section header with eyebrow */
.section-eyebrow {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* References header */
.ref-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

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

/* Metiers layout */
.metiers-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
}

.metiers-grid .service-card {
    border-radius: 12px;
}

.metier-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 3rem;
}

.vs-rond {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    box-shadow: 0 4px 12px rgba(139, 58, 47, 0.3);
}

@media (max-width: 992px) {
    .metiers-grid {
        grid-template-columns: 1fr;
    }
    .metier-vs {
        display: none;
    }
}

/* Metier fusion CTA */
.metier-fusion {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--light-grey);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-top: 2.5rem;
}

.metier-fusion-ico {
    font-size: 2rem;
    flex-shrink: 0;
}

.metier-fusion p {
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .metier-fusion {
        flex-direction: column;
        text-align: center;
    }
}

/* Materials families */
.mat-famille {
    margin-bottom: 3rem;
}

.mat-famille-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}

.mat-famille-title img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}

/* Testimonials grid */
.avis-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 16px;
}

.rating-gros {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--accent-gold);
    line-height: 1;
}

.etoiles {
    color: var(--accent-gold);
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.avis-nb {
    font-size: 0.82rem;
    color: var(--medium-grey);
    margin-top: 2px;
}

/* Testimonials — 2 col on desktop */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.testimonials-grid .service-card {
    border-radius: 12px;
}

/* ==========================================================================
   ZONES D'INTERVENTION — Grid villes
   ========================================================================== */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.zone-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.zone-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    color: var(--primary);
}

.zone-ico {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.5rem;
    color: var(--primary);
}

.zone-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--heading-color);
    margin-bottom: 4px;
}

.zone-cp {
    font-size: 0.85rem;
    color: var(--medium-grey);
}

.zone-time {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 12px;
}

/* Lazy load fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) {
    opacity: 1;
}

/* Image rendering optim */
img {
    background: var(--light-grey);
    min-height: 50px;
}

/* ==========================================================================
   BLOG — Article pages
   ========================================================================== */
.breadcrumb {
    font-size: 0.9rem;
    color: var(--medium-grey);
    margin: 1.5rem 0 1rem;
}

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

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

.breadcrumb span {
    color: var(--heading-color);
}

.article {
    padding: 2rem 0 4rem;
}

.article-header {
    margin: 2rem 0 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--medium-grey);
    margin-bottom: 1rem;
}

.article-header h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.article-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 400;
    border-left: 3px solid var(--primary);
    padding-left: 1rem;
    margin-top: 1.5rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.7rem;
    margin: 2.5rem 0 1rem;
    color: var(--heading-color);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 0.75rem;
    color: var(--heading-color);
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: var(--primary-light);
    text-underline-offset: 3px;
}

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

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0 2rem;
    font-size: 0.95rem;
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 8px;
    overflow: hidden;
}

.article-content thead {
    background: var(--primary);
    color: var(--white);
}

.article-content th, .article-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.article-content th {
    font-weight: 700;
    font-family: var(--font-heading);
}

.article-content tbody tr:hover {
    background: var(--primary-light);
}

.article-content tbody tr:last-child td {
    border-bottom: none;
}

.article-cta {
    max-width: 800px;
    margin: 3rem auto 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    border-radius: 12px;
    text-align: center;
}

.article-cta h2 {
    color: var(--white);
    margin-bottom: 0.75rem;
}

.article-cta p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 1.5rem;
}

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

.article-cta .btn-primary:hover {
    background: var(--accent-gold);
    color: var(--white);
}

.article-cta .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.article-cta .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.related-articles {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--light-grey);
    border-radius: 12px;
}

.related-articles h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--heading-color);
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    margin-bottom: 0.75rem;
}

.related-articles a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.related-articles a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        gap: 0.25rem;
    }
    .article-content table {
        font-size: 0.85rem;
    }
    .article-content th, .article-content td {
        padding: 0.5rem 0.4rem;
    }
}

/* FAQ layout */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-items .service-card {
    border-radius: 12px;
}

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

/* Inline icon helper */
.ref-ico {
    margin-right: 5px;
    color: var(--primary);
    vertical-align: middle;
}

.inline-ico {
    color: var(--primary);
}

/* ==========================================================================
   UTILITY CLASSES — small helpers used across many pages
   ========================================================================== */
.bg-white { background-color: var(--white); }
.bg-kraft { background-color: #FAF7F2; }
.bg-zinc { background-color: #F1F3F5; }
.bg-encre { background-color: var(--dark); color: #fff; }
.bg-tuile { background-color: var(--primary); color: #fff; }
.bg-gray { background-color: var(--light-grey); }

.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-zinc {
    background: transparent;
    color: var(--primary);
    padding: 1rem 2rem;
    font-weight: 700;
    border: 2px solid var(--primary);
    border-radius: 8px;
    display: inline-block;
    transition: all var(--transition-smooth);
    text-decoration: none;
}
.btn-zinc:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.text-center { text-align: center; }
.center { margin-left: auto; margin-right: auto; }
.lead-sm { font-size: 0.95rem; }

.location { display: inline-flex; align-items: center; gap: 8px; }
.phone-link { display: inline-flex; align-items: center; gap: 8px; }
.header-cta { display: flex; align-items: center; }

.nav-list { display: flex; gap: var(--spacing-md); list-style: none; }

.footer-col h3 { color: var(--white); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col p { color: rgba(255,255,255,0.7); margin-bottom: 0.75rem; }

.req { color: var(--primary); }

/* Animation delays (entrance fade) */
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.3s; }
.d4 { animation-delay: 0.45s; }

/* "lignes" — subtle horizontal line texture bg (deco) */
.lignes { background-image: linear-gradient(transparent 0, transparent calc(100% - 1px), rgba(139,58,47,0.04) 100%); }

/* ==========================================================================
   ABOUT — sections
   ========================================================================== */
.about-section { padding: var(--spacing-xl) 0; }

/* Section header (used bare on about/contact) */
.bg-light > .container > .section-header,
.bg-white > .container > .section-header { padding: var(--spacing-xl) 0 var(--spacing-sm); }

/* Values grid icons (emojis still used on about page) */
.value-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

/* ==========================================================================
   ILLUSTRATION IMAGES (replacing decorative SVG with photos)
   ========================================================================== */
.wi-ico img,
.metier-picto img,
.prob-ico img {
    width: 100%;
    height: 100%;
    max-width: 80px;
    max-height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.wi-ico {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.metier-picto {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.prob-ico {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

/* mat-em — matériau illustration (was 3rem emoji, now 80x80 photo) */
.mat-em {
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
    text-align: left;
}
.mat-em img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* mat-famille-title — petit picto décoratif à côté du titre famille */
.mat-famille-title img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}

/* ref-img — photo de référence (chantier) */
.ref-img {
    position: relative;
    overflow: hidden;
    background: var(--light-grey);
    border-bottom: 3px solid var(--primary);
}
.ref-img img.ref-photo {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

/* metier-fusion-ico — image compacte dans le bloc fusion */
.metier-fusion-ico-img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

/* ==========================================================================
   SERVICES PAGES (renovation, etancheite, etc.) — ph-content, sec-header, why-grille
   ========================================================================== */
.sec-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}
.sec-header h2 { font-size: 2.25rem; color: var(--heading-color); }

.ph-txt { padding: 1rem 0; }

.why-item .wi-ico {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-kraft { padding: var(--spacing-xl) 0; }
.bg-zinc { padding: var(--spacing-xl) 0; }

.ps-corpus {
    font-size: 0.9rem;
    color: var(--medium-grey);
    line-height: 1.6;
}

/* Tarifs grid wrapper */
.tarif-grille { background: var(--white); border-radius: 12px; padding: 1rem 1.5rem; box-shadow: 0 4px 16px rgba(0,0,0,0.04); border: 1px solid var(--border); }
.tarifs-note { background: var(--light-grey); border-radius: 10px; padding: 1rem 1.25rem; }

/* ==========================================================================
   CONTACT PAGE — form layout (l.130-290 contact.html)
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 0;
}
@media (min-width: 992px) {
    .contact-layout { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
}
.contact-form-col { min-width: 0; }
.contact-info-col { min-width: 0; }

.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .fg-row { grid-template-columns: 1fr; } }

.fg label { display: block; font-size: 0.88rem; margin-bottom: 0.45rem; color: var(--heading-color); font-weight: 600; }
.fg input, .fg select, .fg textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--heading-color);
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.fg select { cursor: pointer; }
.fg input:focus, .fg select:focus, .fg textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 58, 47, 0.12);
}

.f-rgpd { font-size: 0.82rem; color: var(--medium-grey); text-align: center; }

.contact-ligne { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.cl-ico { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: var(--primary); background: var(--primary-light); border-radius: 10px; }
.cl-titre { font-weight: 700; color: var(--heading-color); font-family: var(--font-heading); font-size: 0.95rem; }
.cl-val { color: var(--text-color); font-size: 0.95rem; margin: 0.1rem 0; }
.cl-note { color: var(--medium-grey); font-size: 0.82rem; }

.form-succes { padding: 2rem; text-align: center; }
.s-ico { font-size: 3rem; color: var(--success); margin-bottom: 1rem; }
.s-titre { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--heading-color); }
.s-corps { color: var(--text-color); line-height: 1.6; }

/* page-hero override (used by contact.html l.130) */
.page-hero.bg-encre { background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 50%, #1A1A1A 100%); }

/* ==========================================================================
   MERCI PAGE — post-submit landing
   ========================================================================== */
.merci-wrap { max-width: 720px; margin: 0 auto; text-align: center; padding: 3rem 0; }
.merci-ico { font-size: 4rem; color: var(--success); margin-bottom: 1rem; line-height: 1; }
.merci-titre { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: var(--heading-color); margin-bottom: 1rem; }
.merci-sub { color: var(--text-color); font-size: 1.1rem; margin-bottom: 2.5rem; }
.merci-steps { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 2rem 0 2.5rem; flex-wrap: wrap; }
.merci-step { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; background: var(--white); border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.ms-num { width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-family: var(--font-heading); font-size: 1.1rem; flex-shrink: 0; }
.ms-txt { font-size: 0.9rem; text-align: left; line-height: 1.3; color: var(--text-color); }
.merci-arrow { color: var(--primary); font-size: 1.4rem; font-weight: 700; }
.merci-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.merci-note { color: var(--medium-grey); font-size: 0.85rem; }

@media (max-width: 600px) {
    .merci-titre { font-size: 1.8rem; }
    .merci-steps { flex-direction: column; }
    .merci-arrow { transform: rotate(90deg); }
}

/* ==========================================================================
   REF IMAGE MOTIF (used in index.html references grid)
   ========================================================================== */
.ref-img { position: relative; overflow: hidden; }
.ref-img-motif {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(139,58,47,0.04) 100%);
    pointer-events: none;
}
.img-obj { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 8px 8px 0 0; }

/* ==========================================================================
   ARTICLE META — blog posts
   ========================================================================== */
.article-date, .article-author, .article-reading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--medium-grey);
}

/* ==========================================================================
   FORM HELPERS — index hero, contact
   ========================================================================== */
.contact-form { display: block; }

.form-bottom-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; align-items: center; margin-top: 0.5rem; }
@media (max-width: 600px) { .form-bottom-row { grid-template-columns: 1fr; } }

.form-consent { margin: 0; }
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--medium-grey);
    cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary);
}

/* ==========================================================================
   CTA WHATSAPP — sticky CTA second button
   ========================================================================== */
.cta-whatsapp {
    background: #25D366 !important;
}
.cta-whatsapp:hover {
    background: #1DA851 !important;
}

/* ==========================================================================
   FAQ ITEM WRAPPER — service pages
   ========================================================================== */
.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    transition: all var(--transition-smooth);
}
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.faq-item .faq-q {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading-color);
    cursor: pointer;
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   SERVICES SECTION — generic wrapper (used on city pages)
   ========================================================================== */
.services { padding: var(--spacing-xl) 0; }

/* === Zone carte (Visual Semantics VS-4 — ajoutée 2026-09-06) === */
.zone-carte-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 32px;
}
.zone-carte-map iframe {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-radius: 8px;
}
.zone-carte-list {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary, #8B3A2F);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.zone-carte-list h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.15rem;
    color: var(--heading-color, #1A1A1A);
}
.zone-carte-villes {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}
.zone-carte-villes li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border, #E8E4DF);
    font-size: 0.95rem;
}
.zone-carte-villes li:last-child {
    border-bottom: none;
}
.zone-carte-villes a {
    color: var(--text-color, #4A4A4A);
    text-decoration: none;
    transition: color 0.2s;
}
.zone-carte-villes a:hover {
    color: var(--primary, #8B3A2F);
}
.zone-carte-cta {
    margin-top: 16px;
    text-align: center;
}
@media (max-width: 768px) {
    .zone-carte-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .zone-carte-map iframe {
        height: 350px;
    }
}

/* === Tableau comparatif matériaux (Visual Semantics VS-6 — ajoutée 2026-09-06) === */
.mat-table-wrap {
    overflow-x: auto;
    margin-top: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.mat-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 0.95rem;
}
.mat-table thead th {
    background: var(--primary, #8B3A2F);
    color: white;
    padding: 14px 12px;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    white-space: nowrap;
}
.mat-table tbody th {
    background: var(--light-grey, #F8F6F3);
    color: var(--heading-color, #1A1A1A);
    padding: 12px;
    text-align: left;
    font-weight: 700;
    border-bottom: 1px solid var(--border, #E8E4DF);
}
.mat-table tbody td {
    padding: 12px;
    border-bottom: 1px solid var(--border, #E8E4DF);
    color: var(--text-color, #4A4A4A);
    vertical-align: top;
}
.mat-table tbody tr:hover {
    background: rgba(139, 58, 47, 0.04);
}
.mat-table a {
    color: var(--primary, #8B3A2F);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}
.mat-table a:hover {
    text-decoration: underline;
}
.mat-table tbody td strong {
    color: var(--heading-color, #1A1A1A);
}
.mat-note {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--light-grey, #F8F6F3);
    border-left: 4px solid var(--primary, #8B3A2F);
    border-radius: 4px;
    font-size: 0.95rem;
}
.mat-cta-row {
    margin-top: 28px;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .mat-table {
        font-size: 0.85rem;
    }
    .mat-table thead th,
    .mat-table tbody th,
    .mat-table tbody td {
        padding: 8px 6px;
    }
}

/* === Bloc Reviews / Avis (Visual Semantics VS-5 — ajoutée 2026-09-06) === */
.avis-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.avis-top .rating {
    display: flex;
    align-items: center;
    gap: 16px;
}
.rating-gros {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary, #8B3A2F);
    line-height: 1;
}
.etoiles {
    color: var(--accent-gold, #C9A96E);
    font-size: 1.3rem;
    letter-spacing: 2px;
}
.avis-nb {
    font-size: 0.9rem;
    color: var(--text-color, #4A4A4A);
    margin-top: 4px;
}
.avis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.avis-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.avis-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
.avis-et {
    color: var(--accent-gold, #C9A96E);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
.avis-txt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color, #4A4A4A);
    font-style: italic;
    margin-bottom: 16px;
}
.avis-aut {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border, #E8E4DF);
}
.avis-av {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary, #8B3A2F);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
}
.avis-nom {
    font-weight: 700;
    color: var(--heading-color, #1A1A1A);
    font-size: 0.9rem;
}
@media (max-width: 900px) {
    .avis-grid {
        grid-template-columns: 1fr;
    }
    .rating-gros {
        font-size: 2.5rem;
    }
}
