/* =========================================================
   Menuiserie Richard - Refonte page d'accueil (preview)
   Fichier : assets/css/refonte.css
   Stack   : vanilla CSS, override Bootstrap 4
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

/* ---------- Variables ---------- */
:root {
    --color-primary: #519f10;        /* vert actuel */
    --color-primary-dark: #3d7a0c;
    --color-wood-light: #e8dcc4;     /* sable clair */
    --color-wood-mid: #c9a878;       /* bois mi-clair */
    --color-wood-dark: #6b4423;      /* bois fonce */
    --color-text: #2d2419;           /* brun tres fonce */
    --color-text-light: #6b5d4a;
    --color-bg: #faf6ef;             /* creme */
    --color-white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-soft: 0 4px 20px rgba(45, 36, 25, 0.08);
    --shadow-hover: 0 8px 30px rgba(45, 36, 25, 0.15);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Scope : on encapsule tout sous .refonte pour ne pas
     contaminer le reste du site (header/footer gardent leur style) ---------- */
.refonte {
    font-family: var(--font-sans);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
}

.refonte * {
    box-sizing: border-box;
}

.refonte h1,
.refonte h2,
.refonte h3,
.refonte h4 {
    font-family: var(--font-serif);
    color: var(--color-text);
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 0.6em;
}

.refonte h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.refonte h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.refonte h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }

.refonte p {
    color: var(--color-text-light);
    margin: 0 0 1em;
}

.refonte a { color: var(--color-primary); text-decoration: none; }
.refonte a:hover { color: var(--color-primary-dark); }

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

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

/* ---------- Boutons ---------- */
.refonte .btn-r {
    display: inline-block;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    padding: 14px 32px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s var(--transition-smooth);
    text-decoration: none;
    text-align: center;
}
.refonte .btn-r:hover { transform: translateY(-2px) scale(1.02); }

.refonte .btn-r--primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}
.refonte .btn-r--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
}

.refonte .btn-r--outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-wood-light);
}
.refonte .btn-r--outline:hover {
    background: var(--color-wood-light);
    color: var(--color-text);
}

.refonte .btn-r--wood {
    background: var(--color-wood-dark);
    color: var(--color-white);
    border-color: var(--color-wood-dark);
}
.refonte .btn-r--wood:hover {
    background: #553218;
    border-color: #553218;
    color: var(--color-white);
}

/* Variante outline foncée (pour fond clair, ex. section témoignages) */
.refonte .btn-r--outline-dark {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-text);
}
.refonte .btn-r--outline-dark:hover {
    background: var(--color-text);
    border-color: var(--color-text);
    color: var(--color-white);
}

/* ---------- Animations reveal ---------- */
.refonte .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s var(--transition-smooth);
}
.refonte .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.refonte .reveal--delay-1 { transition-delay: 0.15s; }
.refonte .reveal--delay-2 { transition-delay: 0.3s; }
.refonte .reveal--delay-3 { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
    .refonte .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .refonte .btn-r,
    .refonte .card-r,
    .refonte .gallery-r__item img {
        transition: none !important;
    }
}

/* =========================================================
   1) HERO
   ========================================================= */
.refonte .hero-r {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
}
.refonte .hero-r::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 36, 25, 0.65) 0%, rgba(45, 36, 25, 0.45) 100%);
    z-index: 1;
}
.refonte .hero-r__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 60px 20px;
}
.refonte .hero-r h1 {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 0.3em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.refonte .hero-r__subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--color-wood-light);
    margin-bottom: 2em;
    font-style: italic;
}
.refonte .hero-r__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 2.5em;
}
.refonte .hero-r__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 1.5em;
}
.refonte .hero-r__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
}
.refonte .hero-r__badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* =========================================================
   2) STATS COMPTEURS
   ========================================================= */
.refonte .stats-r {
    background: var(--color-wood-light);
    padding: 80px 0;
    background-image: linear-gradient(135deg, rgba(201, 168, 120, 0.15) 0%, rgba(232, 220, 196, 0) 100%);
}
.refonte .stats-r__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    text-align: center;
}
.refonte .stats-r__item {
    padding: 20px 10px;
}
.refonte .stats-r__number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
    display: inline-block;
}
.refonte .stats-r__label {
    font-size: 0.95rem;
    color: var(--color-text);
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* =========================================================
   3) SAVOIR-FAIRE
   ========================================================= */
.refonte .savoir-r {
    padding: 100px 0;
    background: var(--color-bg);
}
.refonte .section-header-r {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.refonte .section-header-r__eyebrow {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    display: block;
}
.refonte .section-header-r h2 {
    margin-bottom: 0.4em;
}
.refonte .section-header-r__line {
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: 16px auto 24px;
    border-radius: 2px;
}
.refonte .savoir-r__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}
.refonte .savoir-r__card {
    background: var(--color-white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}
.refonte .savoir-r__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.refonte .savoir-r__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--color-primary);
}
.refonte .savoir-r__icon svg { width: 100%; height: 100%; }
.refonte .savoir-r__card h3 { color: var(--color-wood-dark); }

/* =========================================================
   4) AVANT / APRES
   ========================================================= */
.refonte .avantapres-r {
    padding: 100px 0;
    background: var(--color-wood-light);
    background-image: linear-gradient(180deg, var(--color-bg) 0%, var(--color-wood-light) 100%);
}
.refonte .avantapres-r__compare {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    aspect-ratio: 16 / 10;
    user-select: none;
    touch-action: none;
}
.refonte .avantapres-r__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.refonte .avantapres-r__img--after { z-index: 1; }
.refonte .avantapres-r__img--before {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}
.refonte .avantapres-r__divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: var(--color-white);
    z-index: 3;
    transform: translateX(-50%);
    box-shadow: 0 0 12px rgba(0,0,0,0.3);
}
.refonte .avantapres-r__handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: var(--color-white);
    border-radius: 50%;
    z-index: 4;
    cursor: ew-resize;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-wood-dark);
}
.refonte .avantapres-r__handle svg { width: 22px; height: 22px; }
.refonte .avantapres-r__label {
    position: absolute;
    top: 16px;
    z-index: 3;
    background: rgba(45, 36, 25, 0.8);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
}
.refonte .avantapres-r__label--before { left: 16px; }
.refonte .avantapres-r__label--after { right: 16px; }
.refonte .avantapres-r__cta {
    text-align: center;
    margin-top: 40px;
}

/* =========================================================
   5) GALERIE
   ========================================================= */
.refonte .gallery-r {
    padding: 100px 0;
    background: var(--color-bg);
}
.refonte .gallery-r__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.refonte .gallery-r__item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-soft);
    background: var(--color-wood-light);
}
.refonte .gallery-r__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.refonte .gallery-r__item:hover img {
    transform: scale(1.05);
}
.refonte .gallery-r__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(45,36,25,0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
    color: var(--color-white);
}
.refonte .gallery-r__item:hover .gallery-r__overlay { opacity: 1; }
.refonte .gallery-r__caption {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
}
.refonte .gallery-r__cta { text-align: center; margin-top: 40px; }

@media (max-width: 768px) {
    .refonte .gallery-r__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .refonte .gallery-r__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   6) POURQUOI NOUS CHOISIR
   ========================================================= */
.refonte .pourquoi-r {
    padding: 100px 0;
    background: var(--color-wood-light);
    background-image: linear-gradient(135deg, var(--color-wood-light) 0%, var(--color-bg) 100%);
}
.refonte .pourquoi-r__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}
.refonte .pourquoi-r__card {
    background: var(--color-white);
    padding: 36px 26px;
    border-radius: 8px;
    border-top: 4px solid var(--color-primary);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}
.refonte .pourquoi-r__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.refonte .pourquoi-r__icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 18px;
}
.refonte .pourquoi-r__icon svg { width: 100%; height: 100%; }
.refonte .pourquoi-r__card h3 {
    font-size: 1.25rem;
    color: var(--color-wood-dark);
    margin-bottom: 10px;
}
.refonte .pourquoi-r__card p {
    font-size: 0.95rem;
    margin: 0;
}

/* =========================================================
   6 bis) NOS CERTIFICATIONS / PARTENAIRES
   ========================================================= */
.refonte .certif-r {
    padding: 60px 0;
    background: var(--color-wood-light);
    text-align: center;
}

.refonte .certif-r__header {
    margin-bottom: 30px;
}

.refonte .certif-r__tagline {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--color-text);
    font-style: italic;
    max-width: 580px;
    margin: 0 auto;
}

.refonte .certif-r__visual {
    display: flex;
    justify-content: center;
}

.refonte .certif-r__visual img {
    max-width: 380px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}

.refonte .certif-r__visual img:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

@media (max-width: 480px) {
    .refonte .certif-r { padding: 45px 0; }
    .refonte .certif-r__visual img { max-width: 280px; }
}

/* =========================================================
   7) ZONE D'INTERVENTION
   ========================================================= */
.refonte .zone-r {
    padding: 100px 0;
    background: var(--color-bg);
    text-align: center;
}
.refonte .zone-r__map {
    max-width: 720px;
    margin: 40px auto 30px;
}
.refonte .zone-r__map svg {
    width: 100%;
    height: auto;
    display: block;
}
.refonte .zone-r__list {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-wood-dark);
    line-height: 1.8;
}
.refonte .zone-r__list strong { color: var(--color-primary); font-weight: 700; }
.refonte .zone-r__list .sep { color: var(--color-wood-mid); margin: 0 6px; }

/* =========================================================
   8) TEMOIGNAGES
   ========================================================= */
.refonte .temoignages-r {
    padding: 100px 0;
    background: var(--color-wood-light);
    background-image: linear-gradient(180deg, var(--color-bg) 0%, var(--color-wood-light) 100%);
}
.refonte .temoignages-r__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.refonte .temoignages-r__card {
    background: var(--color-white);
    padding: 36px 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}
.refonte .temoignages-r__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.refonte .temoignages-r__quote {
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-wood-mid);
    line-height: 1;
    position: absolute;
    top: 12px;
    left: 20px;
    opacity: 0.35;
    pointer-events: none;
}
.refonte .temoignages-r__text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.refonte .temoignages-r__author {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
    margin: 0;
}
.refonte .temoignages-r__stars {
    color: #e8a317;
    margin-bottom: 14px;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Bloc note globale Google sous le H2 */
.refonte .temoignages-r__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.refonte .temoignages-r__rating-stars {
    color: #e8a317;
    font-size: 1.4rem;
    letter-spacing: 3px;
    line-height: 1;
}
.refonte .temoignages-r__rating-meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: var(--font-sans);
}
.refonte .temoignages-r__rating-score {
    font-size: 1.1rem;
    color: var(--color-text);
}
.refonte .temoignages-r__rating-score strong {
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: 700;
    font-family: var(--font-serif);
}
.refonte .temoignages-r__rating-source {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* CTA "Voir tous nos avis Google" sous les 3 cards */
.refonte .temoignages-r__cta {
    text-align: center;
    margin-top: 50px;
}

.refonte .temoignages-r__disclaimer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* =========================================================
   9) CTA FINAL
   ========================================================= */
.refonte .cta-final-r {
    padding: 100px 0;
    background: var(--color-wood-dark);
    background-image: linear-gradient(135deg, #4a2f17 0%, #6b4423 100%);
    color: var(--color-white);
    text-align: center;
}
.refonte .cta-final-r h2 {
    color: var(--color-white);
    margin-bottom: 0.4em;
}
.refonte .cta-final-r p {
    color: var(--color-wood-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2em;
}
.refonte .cta-final-r .btn-r--primary {
    font-size: 1.1rem;
    padding: 18px 42px;
}

/* =========================================================
   10) HERO VARIANTE PAGE INTERNE
   Hero un peu moins haut pour les pages secondaires (villes,
   articles), reprend le visuel et l'overlay du hero d'accueil.
   ========================================================= */
.refonte .hero-r--page {
    min-height: 52vh;
}

/* =========================================================
   11) PROSE - bloc de texte editorial reutilisable
   Generique : pages villes aujourd'hui, articles de blog ensuite.
   ========================================================= */
.refonte .prose-r {
    padding: 100px 0;
    background: var(--color-bg);
}
.refonte .prose-r__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.refonte .prose-r__media img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}
.refonte .prose-r__body h2 {
    color: var(--color-primary);
    margin-top: 1.2em;
}
.refonte .prose-r__body h2:first-child {
    margin-top: 0;
}
.refonte .prose-r__body p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--color-text-light);
}
/* Variante pleine largeur (sans media a cote) */
.refonte .prose-r__grid--full {
    grid-template-columns: 1fr;
    max-width: 820px;
}
/* Listes editoriales dans la prose (articles de blog) */
.refonte .prose-r__body ul {
    margin: 0.6em 0 1.2em;
    padding-left: 1.4em;
    list-style: disc;
}
.refonte .prose-r__body ul ul {
    margin: 0.4em 0 0.6em;
    list-style: circle;
}
.refonte .prose-r__body li {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--color-text-light);
    margin-bottom: 0.4em;
}
/* Image d'illustration au fil du texte (articles de blog) */
.refonte .prose-r__inline-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    margin: 1.4em 0;
    display: block;
}

/* =========================================================
   12) ARTICLE - meta (date) sous le titre du hero d'article
   ========================================================= */
.refonte .hero-r__meta {
    display: inline-block;
    margin: 0.2em 0 1.6em;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--color-white);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(2px);
}

/* =========================================================
   13) CONTACT - formulaire + infos + carte
   ========================================================= */
.refonte .contact-r {
    padding: 100px 0;
    background: var(--color-bg);
}
.refonte .contact-r__grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* ----- Formulaire ----- */
.refonte .contact-r__form {
    background: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}
.refonte .form-r__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.refonte .form-r__field {
    margin-bottom: 20px;
}
.refonte .form-r__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--color-text);
    margin-bottom: 8px;
}
.refonte .form-r__input {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-wood-light);
    border-radius: 6px;
    padding: 13px 16px;
    transition: border-color 0.25s var(--transition-smooth), box-shadow 0.25s var(--transition-smooth);
}
.refonte .form-r__input::placeholder {
    color: var(--color-text-light);
    opacity: 0.7;
}
.refonte .form-r__input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(81, 159, 16, 0.15);
}
.refonte .form-r__textarea {
    min-height: 150px;
    resize: vertical;
}
.refonte .form-r__submit {
    width: 100%;
    margin-top: 4px;
}
.refonte .form-r__messege {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
}
.refonte .form-r__messege--success {
    background: rgba(81, 159, 16, 0.12);
    color: var(--color-primary-dark);
    border: 1px solid rgba(81, 159, 16, 0.3);
}
.refonte .form-r__messege--error {
    background: rgba(176, 42, 42, 0.1);
    color: #b02a2a;
    border: 1px solid rgba(176, 42, 42, 0.3);
}

/* ----- Cartes infos ----- */
.refonte .contact-r__info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.refonte .contact-r__card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: var(--color-white);
    padding: 22px 24px;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}
.refonte .contact-r__card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}
.refonte .contact-r__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(81, 159, 16, 0.1);
    color: var(--color-primary);
}
.refonte .contact-r__icon svg {
    width: 22px;
    height: 22px;
}
.refonte .contact-r__card-body h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin: 0 0 0.2em;
}
.refonte .contact-r__card-body p {
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.5;
}
.refonte .contact-r__card-body a {
    color: var(--color-text-light);
    font-weight: 500;
}
.refonte .contact-r__card-body a:hover {
    color: var(--color-primary);
}

/* ----- Carte Google ----- */
.refonte .contact-r__map {
    margin-top: 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    line-height: 0;
}
.refonte .contact-r__map iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: 0;
}

/* =========================================================
   14) ARTICLES - cartes de blog (blog.php + derniers-articles.php)
   Une seule famille de cartes reutilisee par les deux contextes.
   ========================================================= */
.refonte .articles-r {
    padding: 100px 0;
    background: var(--color-bg);
}
.refonte .articles-r__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.refonte .article-card-r {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--transition-smooth), box-shadow 0.4s var(--transition-smooth);
}
.refonte .article-card-r:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.refonte .article-card-r__img {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--color-wood-light);
}
.refonte .article-card-r__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.refonte .article-card-r:hover .article-card-r__img img {
    transform: scale(1.05);
}
.refonte .article-card-r__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 28px 26px 30px;
}
.refonte .article-card-r__title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    line-height: 1.3;
    color: var(--color-wood-dark);
    margin: 0 0 0.5em;
}
.refonte .article-card-r__title a {
    color: inherit;
    transition: color 0.25s var(--transition-smooth);
}
.refonte .article-card-r__title a:hover {
    color: var(--color-primary);
}
.refonte .article-card-r__excerpt {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--color-text-light);
    margin: 0 0 1.4em;
}
.refonte .article-card-r__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    align-self: flex-start;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--color-primary);
}
.refonte .article-card-r__link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.3s var(--transition-smooth);
}
.refonte .article-card-r__link:hover {
    color: var(--color-primary-dark);
}
.refonte .article-card-r__link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .refonte .articles-r__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .refonte .articles-r__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Responsive ajustements
   ========================================================= */
@media (max-width: 768px) {
    .refonte .hero-r { min-height: 75vh; }
    .refonte .hero-r--page { min-height: 48vh; }
    .refonte .savoir-r,
    .refonte .avantapres-r,
    .refonte .gallery-r,
    .refonte .pourquoi-r,
    .refonte .zone-r,
    .refonte .temoignages-r,
    .refonte .cta-final-r,
    .refonte .prose-r,
    .refonte .contact-r,
    .refonte .articles-r,
    .refonte .stats-r { padding: 70px 0; }
    .refonte .section-header-r { margin-bottom: 40px; }
    .refonte .prose-r__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .refonte .prose-r__media {
        order: -1;
    }
    .refonte .contact-r__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .refonte .contact-r__map iframe {
        height: 380px;
    }
}
@media (max-width: 480px) {
    .refonte .hero-r--page { min-height: 44vh; }
    .refonte .prose-r__body p,
    .refonte .prose-r__body li { font-size: 0.98rem; }
    .refonte .contact-r__form {
        padding: 28px 22px;
    }
    .refonte .form-r__row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .refonte .contact-r__map iframe {
        height: 300px;
    }
}

/* =========================================================
   LIGHTBOX (pages realisations : interieur / exterieur /
   divers / avant-apres). Vanilla, autonome, scopee .lightbox-r.
   L'overlail est injecte sur <body> par assets/js/lightbox.js,
   donc il n'est PAS sous .refonte : on scope directement.
   ========================================================= */
/* Curseur "loupe" uniquement sur les vignettes reellement gerees par la
   lightbox : la classe est posee par assets/js/lightbox.js (charge seulement
   sur les pages galerie), donc les vignettes-liens (accueil, villes,
   nos-realisations) ne sont PAS affectees. */
.gallery-r__item.lightbox-r-active {
    cursor: zoom-in;
}

/* Verrou de scroll quand la lightbox est ouverte */
body.lightbox-r-lock {
    overflow: hidden;
}

.lightbox-r {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(20, 16, 10, 0.92);
    padding: 24px;
}
.lightbox-r.is-open {
    display: flex;
    animation: lightbox-r-fade 0.25s ease;
}
@keyframes lightbox-r-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.lightbox-r__stage {
    margin: 0;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-r__img {
    max-width: 92vw;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-r__close,
.lightbox-r__nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    line-height: 1;
    z-index: 2;
}
.lightbox-r__close:hover,
.lightbox-r__nav:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.lightbox-r__close:focus-visible,
.lightbox-r__nav:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
.lightbox-r__close {
    top: 18px;
    right: 18px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.8rem;
}
.lightbox-r__nav {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.4rem;
}
.lightbox-r__nav--prev { left: 18px; }
.lightbox-r__nav--next { right: 18px; }

@media (max-width: 600px) {
    .lightbox-r { padding: 12px; }
    .lightbox-r__nav {
        width: 44px;
        height: 44px;
    }
    .lightbox-r__nav--prev { left: 8px; }
    .lightbox-r__nav--next { right: 8px; }
    .lightbox-r__close {
        top: 10px;
        right: 10px;
        width: 42px;
        height: 42px;
    }
}

/* ---------- FAQ (accordéon natif <details>) ---------- */
.refonte .faq-r {
    padding: 100px 0;
    background: var(--color-bg);
}
.refonte .faq-r__list {
    max-width: 820px;
    margin: 40px auto 0;
}
.refonte .faq-r__item {
    background: var(--color-white);
    border: 1px solid rgba(45, 36, 25, 0.08);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 16px;
    overflow: hidden;
}
.refonte .faq-r__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    padding: 22px 24px;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    transition: color 0.2s ease;
}
.refonte .faq-r__question::-webkit-details-marker {
    display: none;
}
.refonte .faq-r__question:hover {
    color: var(--color-primary);
}
.refonte .faq-r__item:focus-within .faq-r__question {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
}
.refonte .faq-r__chevron {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    color: var(--color-primary);
    transition: transform 0.25s var(--transition-smooth);
}
.refonte .faq-r__item[open] .faq-r__chevron {
    transform: rotate(180deg);
}
.refonte .faq-r__answer {
    padding: 0 24px 22px;
}
.refonte .faq-r__answer p {
    margin: 0;
    color: var(--color-text-light);
    line-height: 1.7;
}

@media (max-width: 600px) {
    .refonte .faq-r {
        padding: 70px 0;
    }
    .refonte .faq-r__question {
        font-size: 1.05rem;
        padding: 18px 18px;
    }
    .refonte .faq-r__answer {
        padding: 0 18px 18px;
    }
}
