/* ============================================================
   LES CABANES DE CHARLY - Marmande
   Site artisan sobre et soigné.
   Fraunces (droit) sur H1/H2, Manrope pour le reste.
   Monochrome beige/brun + accent brun-doré parcimonieux.
   ============================================================ */

:root {
    --cream: #faf6ee;          /* fond principal */
    --cream-deep: #f3ecdd;     /* fond alterné */
    --white: #ffffff;
    --bark: #3b2e23;           /* brun écorce : texte fort, fonds sombres */
    --bark-deep: #2c221a;      /* brun le plus profond */
    --walnut: #6d543d;         /* brun noyer : accents discrets */
    --taupe: #7d6c5a;          /* texte secondaire */
    --sand: #e5dbc8;           /* lignes, bordures */
    --gold: #a67c4a;           /* accent brun-doré : eyebrows, focus, labels */
    --gold-warm: #c68b3d;       /* accent chaud plus vif : CTA, hover, urgence */
    --clay: #b56a3e;            /* terre cuite discrète : accents urgents */
    --line: rgba(59, 46, 35, 0.16);
    --line-soft: rgba(59, 46, 35, 0.09);
    --cream-on-dark: rgba(250, 246, 238, 0.85);
    --line-on-dark: rgba(250, 246, 238, 0.18);

    --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
    --font-display: "Fraunces", "Georgia", serif;

    --container: 1080px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --radius: 8px;
    --header-h: 72px;
    --section-pad: clamp(4.5rem, 11vh, 7.5rem);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
    overflow-x: clip;
    width: 100%;
    touch-action: pan-y;
}

body {
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--bark);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
    width: 100%;
    touch-action: pan-y;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }
figure { margin: 0; }

::selection { background: var(--bark); color: var(--cream); }

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

/* ---------- Typographie ---------- */

h1, h2 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h3 {
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.9rem, 3.8vw, 2.6rem); }

/* Petit label au-dessus des titres de section : l'accent doré n°1 */
.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 0.7rem;
}

.section-intro {
    max-width: 44em;
    margin-top: 1rem;
    color: var(--taupe);
}

/* ---------- Boutons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.25s var(--ease), background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn-solid { background: var(--bark); color: var(--cream); }
.btn-solid:hover {
    background: var(--bark-deep);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -12px rgba(44, 34, 26, 0.55);
}

.btn-ghost {
    background: transparent;
    color: var(--bark);
    border-color: var(--line);
}
.btn-ghost:hover {
    border-color: var(--bark);
    transform: translateY(-2px);
}

.btn-full { width: 100%; }

/* ---------- En-tête ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid var(--line-soft);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.4vw, 1.8rem);
}
.main-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bark);
    padding-block: 0.3rem;
    position: relative;
}
/* Accent doré n°2 : underline animé au survol */
.main-nav a:not(.nav-phone)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}
.main-nav a:not(.nav-phone):hover::after { transform: scaleX(1); }

/* CTA appel : pill brun sobre */
.main-nav a.nav-phone { color: var(--cream); }
.nav-phone {
    background: var(--bark);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-weight: 700;
    color: var(--cream);
    transition: background-color 0.25s, transform 0.25s var(--ease);
}
.nav-phone:hover {
    background: var(--bark-deep);
    transform: translateY(-1px);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
}
.burger span {
    display: block;
    height: 2px;
    width: 26px;
    margin-inline: auto;
    background: var(--bark);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Hero (photo pleine largeur + texte sur photo côté droit) ---------- */

.hero {
    padding-block: clamp(2rem, 5vh, 3.5rem);
}

.hero-panel {
    position: relative;
    aspect-ratio: 21 / 10;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px -30px rgba(44, 34, 26, 0.45);
    isolation: isolate;
}

.hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}
/* Dégradé sombre à GAUCHE pour lisibilité du texte overlay */
.hero-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg,
        rgba(20, 15, 10, 0) 25%,
        rgba(20, 15, 10, 0.55) 55%,
        rgba(20, 15, 10, 0.85) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Titre en haut à GAUCHE de la photo */
.hero-title {
    position: absolute;
    top: clamp(2rem, 6%, 3rem);
    left: clamp(1.5rem, 4vw, 3rem);
    max-width: 46%;
    z-index: 2;
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    color: var(--cream);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    margin: 0;
}

/* Body (lead + boutons) en bas à GAUCHE de la photo */
.hero-body {
    position: absolute;
    bottom: clamp(1.5rem, 6%, 3rem);
    left: clamp(1.5rem, 4vw, 3rem);
    max-width: 46%;
    z-index: 2;
}
.hero-lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(0.98rem, 1.3vw, 1.1rem);
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
    max-width: 100%;
    margin: 0;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.6rem;
}

/* Bouton ghost lisible sur fond sombre */
.hero-panel .btn-ghost {
    color: var(--cream);
    border-color: rgba(255, 255, 255, 0.5);
}
.hero-panel .btn-ghost:hover {
    color: var(--bark);
    background: var(--cream);
    border-color: var(--cream);
}

/* ---- Mobile : garder le layout bannière avec photo + overlay, mais en aspect portrait ---- */
@media (max-width: 900px) {
    .hero-panel {
        aspect-ratio: 4 / 5;
        border-radius: 14px;
    }
    .hero-photo img {
        object-position: center 25%;
    }
    /* Dégradé vertical (haut + bas assombri) pour lisibilité titre en haut et body en bas */
    .hero-photo::after {
        background: linear-gradient(180deg,
            rgba(20, 15, 10, 0.75) 0%,
            rgba(20, 15, 10, 0.25) 22%,
            rgba(20, 15, 10, 0.15) 55%,
            rgba(20, 15, 10, 0.85) 100%);
    }
    .hero-title {
        font-size: clamp(1rem, 3.9vw, 1.4rem);
        line-height: 1.12;
        max-width: none;
        top: clamp(1rem, 4%, 1.8rem);
        left: clamp(1.2rem, 4vw, 1.8rem);
        right: clamp(1.2rem, 4vw, 1.8rem);
    }
    .hero-br-mobile { display: inline; }
    .hero-body {
        max-width: none;
        bottom: clamp(1.2rem, 5%, 2rem);
        left: clamp(1.2rem, 4vw, 1.8rem);
        right: clamp(1.2rem, 4vw, 1.8rem);
    }
    .hero-lead {
        font-size: 0.95rem;
        line-height: 1.55;
    }
    .hero-actions {
        margin-top: 1rem;
        gap: 0.6rem;
    }
    .hero-actions .btn {
        flex: 1 1 auto;
        text-align: center;
        padding: 0.75rem 1.2rem;
        font-size: 0.92rem;
    }
}
@media (max-width: 500px) {
    .hero-panel { aspect-ratio: 3 / 4; }
    .hero-title { font-size: clamp(0.92rem, 3.9vw, 1.25rem); line-height: 1.12; }
}
/* Le <br> avant "à Marmande" ne s'affiche qu'en mobile */
@media (min-width: 901px) {
    .hero-br-mobile { display: none; }
}

/* ---------- Réalisations ---------- */

.works { padding-block: var(--section-pad); }

.work {
    margin-top: clamp(2.4rem, 5vh, 3.4rem);
    padding-top: clamp(2rem, 4vh, 2.8rem);
    border-top: 1px solid var(--line-soft);
}

.work h3 { font-size: 1.35rem; }
.work > p {
    margin-top: 0.5rem;
    max-width: 50em;
    color: var(--taupe);
    font-size: 0.98rem;
}

.work-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.1rem;
    margin-top: 1.3rem;
}
.work-photos figure {
    border-radius: var(--radius);
}
.work-photos img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 8px 20px -14px rgba(44, 34, 26, 0.35);
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.work-photos figure:hover img {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px -20px rgba(44, 34, 26, 0.5);
}
.work-photos figcaption {
    margin-top: 0.55rem;
    font-size: 0.83rem;
    color: var(--taupe);
}

.works-more {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-soft);
    color: var(--taupe);
    font-size: 0.98rem;
}
.works-more a {
    color: var(--walnut);
    font-weight: 700;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.works-more a:hover { color: var(--bark); }

/* ---------- Ce que je fais ---------- */

.services {
    background: var(--white);
    border-block: 1px solid var(--line-soft);
    padding-block: var(--section-pad);
}

.service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    margin-top: clamp(2.4rem, 5vh, 3.2rem);
    padding-top: clamp(2rem, 4vh, 2.8rem);
    border-top: 1px solid var(--line-soft);
}

.service h3 {
    font-size: 1.5rem;
    margin-bottom: 0.9rem;
    display: inline;
    padding: 0.05em 0.35em;
    background-image: linear-gradient(180deg,
        transparent 55%,
        rgba(255, 224, 70, 0.7) 55%,
        rgba(255, 224, 70, 0.7) 92%,
        transparent 92%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
/* Ré-ajoute le retour à la ligne après le titre (perdu à cause de display: inline) */
.service-info h3 + p { margin-top: 1rem; }

.service-seo {
    color: var(--taupe);
    font-size: 0.98rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin-top: 1.6rem;
    padding: 0;
}
.service-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.85rem 0.6rem;
    background: var(--cream-deep);
    border: none;
    border-radius: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bark);
    line-height: 1.2;
    cursor: default;
    transition: none;
}
.service-list li:hover {
    background: var(--cream-deep);
    transform: none;
    box-shadow: none;
    border: none;
}
.service-list .is-urgence {
    background: var(--clay);
    color: var(--white);
    animation: urgencePulse 1.6s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(181, 106, 62, 0.55);
}
.service-list .is-urgence:hover {
    background: var(--clay);
    color: var(--white);
}
@keyframes urgencePulse {
    0%, 100% {
        background: var(--clay);
        box-shadow: 0 0 0 0 rgba(181, 106, 62, 0.55);
    }
    50% {
        background: #c8794a;
        box-shadow: 0 0 0 10px rgba(181, 106, 62, 0);
    }
}
@media (prefers-reduced-motion: reduce) {
    .service-list .is-urgence { animation: none; }
}

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

/* ---------- L'artisan ---------- */

.about {
    padding-block: var(--section-pad);
    background: var(--cream-deep);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.about-photo { max-width: 400px; }
.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 12%;
    border-radius: var(--radius);
    box-shadow: 0 24px 48px -28px rgba(44, 34, 26, 0.4);
    /* Masque le liseré sombre en haut du fichier tom.jpg */
    clip-path: inset(1.5% 0 0 0 round var(--radius));
}
.about-photo figcaption {
    margin-top: 0.6rem;
    font-size: 0.85rem;
    color: var(--taupe);
}

.about-copy h2 { margin-bottom: 1.4rem; }

/* Citation de Tom : l'origine du nom, mise en valeur sobre */
.about-quote {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--bark);
    border-left: 3px solid var(--gold);
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
    max-width: 34em;
}

.about-copy > p {
    color: var(--taupe);
    margin-bottom: 1rem;
    max-width: 42em;
}

.about-values {
    margin-top: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}
.about-values li {
    padding: 1.1rem 1.4rem;
    background: var(--cream);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
}
.about-values strong { display: block; font-size: 1rem; }
.about-values span { font-size: 0.92rem; color: var(--taupe); }

/* ---------- Zone d'intervention ---------- */

.zone { padding-block: var(--section-pad); }

.zone-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.2rem, 3vw, 2rem);
    margin-top: 2.2rem;
}

.zone-dept {
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: clamp(1.8rem, 3.2vw, 2.2rem);
    transition: box-shadow 0.3s, transform 0.3s var(--ease);
}
.zone-dept:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -28px rgba(44, 34, 26, 0.35);
}

.zone-dept h3 { font-size: 1.25rem; margin-bottom: 0.7rem; }
.zone-dept > p {
    font-size: 0.94rem;
    color: var(--taupe);
    margin-bottom: 1.2rem;
}

.zone-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.zone-cities li {
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--cream);
    transition: border-color 0.2s, background-color 0.2s;
}
.zone-cities li:hover {
    border-color: var(--bark);
    background: var(--white);
}
.zone-cities .is-home {
    background: var(--bark);
    border-color: var(--bark);
    color: var(--cream);
}
.zone-cities .is-home:hover { background: var(--bark); }

.zone-note {
    margin-top: 1.8rem;
    font-size: 0.96rem;
    color: var(--taupe);
    max-width: 46em;
}
.zone-note a {
    color: var(--walnut);
    font-weight: 700;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.zone-note a:hover { color: var(--bark); }

/* ---------- FAQ ---------- */

.faq {
    padding-block: 0 var(--section-pad);
    text-align: center;
}
.faq .eyebrow { display: inline-block; }

.faq-list {
    max-width: 780px;
    margin: 1.8rem auto 0;
    border-top: 1px solid var(--line-soft);
    text-align: left;
}

.faq-list details { border-bottom: 1px solid var(--line-soft); }

.faq-list summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1.05rem;
    font-size: 1.05rem;
    font-weight: 700;
    transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--walnut); }
.faq-list summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
    color: var(--walnut);
    flex: 0 0 auto;
}
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p {
    padding-bottom: 1.2rem;
    max-width: 46em;
    color: var(--taupe);
    font-size: 0.97rem;
}
.faq-list details a {
    color: var(--walnut);
    font-weight: 700;
    text-underline-offset: 3px;
}

/* ---------- Contact ---------- */

.contact {
    background: var(--cream-deep);
    border-top: 1px solid var(--line-soft);
    padding-block: var(--section-pad);
    text-align: center;
}
.contact .eyebrow { display: inline-block; }
.contact .section-intro { margin-inline: auto; }

.contact-grid {
    display: flex;
    justify-content: center;
    margin-top: 2.2rem;
}
.contact-form {
    width: 100%;
    max-width: 620px;
    text-align: left;
}
.form-phone {
    margin-top: 1.4rem;
    text-align: center;
    font-size: 0.98rem;
    color: var(--taupe);
}
.form-phone a {
    color: var(--bark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}
.form-phone a:hover { color: var(--gold-warm); }
.form-phone span {
    font-size: 0.85rem;
    color: var(--taupe);
}

/* Gros tel cliquable : carte brun foncé, seule touche sombre */
.contact-phone {
    display: block;
    padding: 1.7rem 1.9rem;
    background: var(--bark);
    color: var(--cream);
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: 0 20px 40px -26px rgba(44, 34, 26, 0.55);
    transition: background-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.contact-phone:hover {
    background: var(--bark-deep);
    transform: translateY(-3px);
    box-shadow: 0 26px 48px -26px rgba(44, 34, 26, 0.6);
}
/* Accent doré n°3 : le label du numéro */
.contact-phone-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
}
.contact-phone-number {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 2.5rem);
    line-height: 1.2;
    margin-top: 0.35rem;
}
.contact-phone-sub {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.88rem;
    color: var(--cream-on-dark);
}

.contact-alt {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.5rem;
}
.contact-alt-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--walnut);
    text-underline-offset: 3px;
    width: fit-content;
    transition: color 0.2s;
}
.contact-alt-link:hover { color: var(--bark); }

/* Formulaire */
.contact-form {
    background: var(--white);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    padding: clamp(1.8rem, 3.2vw, 2.2rem);
    box-shadow: 0 20px 44px -30px rgba(44, 34, 26, 0.35);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-field { margin-bottom: 1rem; }

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}
.form-field .optional { font-weight: 400; color: var(--taupe); }

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    font: inherit;
    font-size: 0.97rem;
    color: var(--bark);
    background: var(--white);
    border: 1px solid var(--sand);
    border-radius: var(--radius);
    padding: 0.75rem 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(125, 108, 90, 0.6); }

/* Accent doré n°4 : le focus des champs */
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(166, 124, 74, 0.16);
}

.form-field select:invalid { color: rgba(125, 108, 90, 0.8); }

.form-status {
    margin-top: 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--walnut);
    min-height: 1.3em;
}

/* ---------- Pied de page ---------- */

.site-footer {
    background: var(--cream);
    color: var(--taupe);
    padding-block: clamp(2.4rem, 5vh, 3.5rem) 1.6rem;
    border-top: 1px solid var(--line-soft);
}
.site-footer .footer-brand strong,
.site-footer .footer-contact a:first-child { color: var(--bark); }
.site-footer .footer-grid { border-bottom-color: var(--line-soft); }
.site-footer .footer-nav a:hover,
.site-footer .footer-contact a:hover { color: var(--bark); }
.site-footer .footer-bottom { color: rgba(59, 46, 35, 0.5); }

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: clamp(1.8rem, 4vw, 3rem);
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line-on-dark);
}

.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 44px; height: 44px; border-radius: 50%; }
.footer-brand p { font-size: 0.92rem; line-height: 1.6; }
.footer-brand strong { color: var(--white); font-family: var(--font-display); font-weight: 600; }

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-nav a,
.footer-contact a {
    text-decoration: none;
    font-size: 0.93rem;
    width: fit-content;
    transition: color 0.2s;
}
.footer-nav a:hover,
.footer-contact a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-contact a:first-child {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.footer-bottom {
    padding-top: 1.5rem;
    font-size: 0.82rem;
    color: rgba(250, 246, 238, 0.5);
}

/* ---------- Mouvements réduits ---------- */

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

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {

    :root { --section-pad: clamp(3.5rem, 9vh, 5rem); }

    /* Navigation mobile */
    .main-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--cream);
        border-bottom: 1px solid var(--line-soft);
        padding: 0.5rem var(--gutter) 1.3rem;
        display: none;
    }
    .main-nav.is-open { display: flex; }
    .main-nav a:not(.nav-phone) {
        width: 100%;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--line-soft);
        font-size: 1.05rem;
    }
    .main-nav a:not(.nav-phone)::after { content: none; }
    .nav-phone { margin-top: 1rem; }

    .burger { display: flex; }

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

    .about-grid { grid-template-columns: 1fr; }
    .about-photo { max-width: 360px; }

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

    .contact-grid { grid-template-columns: 1fr; }
    .contact-form { max-width: 640px; }

    .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 560px) {
    body { font-size: 1rem; }

    .hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
    .hero-actions .btn { width: 100%; }

    h2 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); }

    .work-photos { grid-template-columns: 1fr 1fr; }
    .work-photos figcaption { font-size: 0.78rem; }

    .form-row { grid-template-columns: 1fr; gap: 0; }

    .contact-phone { padding: 1.3rem 1.4rem; }
}

/* ============================================================
   AJOUTS : carrousel coverflow, carte Zone, services 2-col,
   contact enrichi, touches couleur.
   ============================================================ */

/* --- Bouton solide : doré par défaut, marron au hover --- */
.btn-solid {
    background: var(--gold-warm);
    color: var(--white);
    box-shadow: inset 0 0 0 1px var(--gold-warm), 0 8px 20px -12px rgba(198, 139, 61, 0.5);
}
.btn-solid:hover {
    background: var(--bark);
    color: var(--cream);
    box-shadow: inset 0 0 0 1px var(--bark), 0 12px 24px -14px rgba(44, 34, 26, 0.55);
    transform: translateY(-2px);
}

/* Bouton ghost : hover doré */
.btn-ghost:hover { color: var(--gold-warm); border-color: var(--gold-warm); }

/* Nav phone pill : accent doré au hover */
.nav-phone { border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem; transition: all 0.2s; }
.nav-phone:hover { border-color: var(--gold-warm); color: var(--gold-warm); }

/* --- Carrousel chantiers (coverflow, récupéré de la v précédente) --- */
.chantiers-carousel {
    position: relative;
    margin-top: 2.2rem;
    padding: 20px 0 60px;
}
.chantiers {
    position: relative;
    height: clamp(320px, 46vw, 520px);
    perspective: 1400px;
    touch-action: pan-y;
    user-select: none;
}
.chantier {
    position: absolute;
    top: 0; left: 50%;
    width: min(60%, 640px);
    height: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px -18px rgba(44, 34, 26, 0.4);
    cursor: pointer;
    background: var(--sand);
    transform: translate(-50%, 0) scale(0.55);
    opacity: 0;
    z-index: 1;
    transition: transform 0.55s var(--ease), opacity 0.55s, filter 0.55s, box-shadow 0.35s;
    pointer-events: none;
    filter: blur(4px);
}
.chantier.is-active {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    z-index: 5;
    filter: none;
    box-shadow: 0 24px 60px -20px rgba(44, 34, 26, 0.5);
    pointer-events: auto;
}
.chantier.is-prev {
    transform: translate(calc(-50% - 62%), 0) scale(0.78);
    opacity: 0.55;
    z-index: 3;
    filter: blur(1.5px) brightness(0.9);
    pointer-events: auto;
}
.chantier.is-next {
    transform: translate(calc(-50% + 62%), 0) scale(0.78);
    opacity: 0.55;
    z-index: 3;
    filter: blur(1.5px) brightness(0.9);
    pointer-events: auto;
}
.chantier.is-far-prev {
    transform: translate(calc(-50% - 105%), 0) scale(0.6);
    opacity: 0.2;
    z-index: 2;
    filter: blur(3px) brightness(0.85);
}
.chantier.is-far-next {
    transform: translate(calc(-50% + 105%), 0) scale(0.6);
    opacity: 0.2;
    z-index: 2;
    filter: blur(3px) brightness(0.85);
}
.chantier.is-prev:hover, .chantier.is-next:hover { opacity: 0.75; }

.chantier-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    color: var(--bark);
    border: 1px solid var(--line);
    box-shadow: 0 6px 20px -10px rgba(44, 34, 26, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
}
.chantier-nav:hover {
    background: var(--gold-warm);
    color: var(--white);
    border-color: var(--gold-warm);
    transform: translateY(-50%) scale(1.06);
}
.chantier-nav svg { width: 22px; height: 22px; }
.chantier-nav-prev { left: 8px; }
.chantier-nav-next { right: 8px; }
@media (min-width: 900px) {
    .chantier-nav-prev { left: -8px; }
    .chantier-nav-next { right: -8px; }
}

.chantiers-indicator {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 6;
}
.chantiers-indicator span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: all 0.3s;
}
.chantiers-indicator span.is-active {
    background: var(--gold-warm);
    width: 26px;
    border-radius: 4px;
}

.chantier-images { position: absolute; inset: 0; }
.chantier-images img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s ease;
}
.chantier-images img.active { opacity: 1; }

.chantier-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(44, 34, 26, 0.85) 0%, rgba(44, 34, 26, 0.2) 45%, transparent 65%);
    z-index: 1;
    pointer-events: none;
}
.chantier-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 24px 26px;
    color: var(--cream);
    z-index: 2;
    pointer-events: none;
}
.chantier-info h3 {
    color: var(--cream);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.35rem;
    line-height: 1.15;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.chantier-info p {
    font-size: 0.9rem;
    color: var(--cream-on-dark);
    line-height: 1.5;
}
.chantier-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.78rem;
    color: rgba(250, 246, 238, 0.7);
    font-weight: 500;
}
.chantier-count svg { width: 14px; height: 14px; }

.chantier-dots {
    position: absolute;
    top: 16px; right: 16px;
    display: flex;
    gap: 6px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.35);
    padding: 7px 10px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.chantier-dot {
    width: 6px; height: 6px;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    transition: all 0.3s;
}
.chantier-dot.active {
    background: var(--white);
    width: 18px;
    border-radius: 4px;
}

/* --- Lightbox chantier --- */
.lightbox {
    position: fixed; inset: 0;
    background: rgba(20, 15, 10, 0.94);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    color: var(--cream);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
    background: var(--gold-warm);
    border-color: var(--gold-warm);
}
.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--cream);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

/* --- Section Ce que je fais : image + body (overrides) --- */
.service {
    grid-template-columns: 0.9fr 1.1fr !important;
    align-items: start;
}
.service-reverse .service-photo { order: 2; }
.service-reverse .service-body { order: 1; }
.service-photo {
    margin: 0;
    align-self: start;
}
.service-photo img {
    width: 100%;
    height: clamp(360px, 44vw, 500px);
    object-fit: cover;
    aspect-ratio: auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 40px -24px rgba(44, 34, 26, 0.4);
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.service-photo:hover img {
    transform: translateY(-4px);
    box-shadow: 0 28px 48px -22px rgba(44, 34, 26, 0.5);
}
.service-body { min-width: 0; }
.service-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-warm);
    margin-bottom: 0.6rem;
    padding: 0.3em 0.8em;
    border: 1px solid var(--gold-warm);
    border-radius: 999px;
}
/* .is-urgence : styles gérés plus bas dans le nouveau layout 2-col */

@media (max-width: 900px) {
    .service {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .service-reverse .service-photo { order: 1; }
    .service-reverse .service-body { order: 2; }
    .service-photo img { aspect-ratio: 16/10; }
}

/* --- Zone : liste 2-col + carte cercle à droite --- */
.zone-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: clamp(1.5rem, 3.5vw, 2.5rem);
    align-items: start;
    margin-top: 2.2rem;
}
.zone-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}
.zone-map {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--cream-deep);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    overflow: hidden;
    color: var(--walnut);
    box-shadow: 0 20px 48px -24px rgba(44, 34, 26, 0.45);
    z-index: 0;
}

/* Pins Leaflet custom */
.map-pin-custom {
    background: transparent;
    border: none;
}
.map-pin-custom .pin-marker {
    position: relative;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 4px 10px rgba(44, 34, 26, 0.35);
}
.map-pin-custom.pin-primary .pin-marker {
    background: var(--gold-warm);
    animation: pinPulse 2.4s infinite;
}
.map-pin-custom.pin-secondary .pin-marker {
    background: var(--walnut);
}
.map-pin-custom .pin-label {
    position: absolute;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    color: var(--bark);
    padding: 4px 10px;
    border-radius: 999px;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 4px 10px -4px rgba(44, 34, 26, 0.4);
    border: 1px solid var(--line-soft);
}

/* Adoucir les tuiles OpenTopoMap pour rester dans la palette beige */
.leaflet-tile-pane {
    filter: sepia(15%) saturate(85%);
}
/* Attribution Leaflet plus discrète */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.7) !important;
    font-size: 10px !important;
    color: var(--taupe) !important;
}
.leaflet-control-attribution a { color: var(--walnut) !important; }
.leaflet-control-zoom a {
    color: var(--bark) !important;
    background: var(--white) !important;
    border-color: var(--line) !important;
}

/* Animation du cercle de zone d'intervention : pointillés qui défilent + pulse d'opacité */
.zone-circle-animated {
    animation:
        circleDash 14s linear infinite,
        circleGlow 3.2s ease-in-out infinite;
}
@keyframes circleDash {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -160; }
}
@keyframes circleGlow {
    0%, 100% { stroke-opacity: 0.55; }
    50%      { stroke-opacity: 0.95; }
}
@media (prefers-reduced-motion: reduce) {
    .zone-circle-animated { animation: none; }
}
.zone-map-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 22% 32%, rgba(198, 139, 61, 0.14) 0%, transparent 40%),
        radial-gradient(circle at 72% 72%, rgba(109, 84, 61, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, var(--cream-deep) 0%, var(--cream) 100%);
}
.zone-map-line {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    z-index: 1;
}
.zone-map-pin {
    position: absolute;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.zone-map-dot {
    width: 18px; height: 18px;
    background: var(--gold-warm);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(44, 34, 26, 0.25);
    animation: pinPulse 2.4s infinite;
}
.zone-map-pin-bordeaux .zone-map-dot {
    background: var(--walnut);
    animation-delay: 1.2s;
}
.zone-map-label {
    background: var(--white);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--bark);
    box-shadow: 0 4px 10px -6px rgba(44, 34, 26, 0.4);
    white-space: nowrap;
}
.zone-map-pin-marmande { top: 22%; left: 18%; }
.zone-map-pin-bordeaux { top: 62%; right: 22%; }
@keyframes pinPulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(44, 34, 26, 0.25), 0 0 0 0 rgba(198, 139, 61, 0.55); }
    50%      { box-shadow: 0 4px 12px rgba(44, 34, 26, 0.25), 0 0 0 16px rgba(198, 139, 61, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .zone-map-dot { animation: none; }
}

@media (max-width: 900px) {
    .zone-layout { grid-template-columns: 1fr; }
    .zone-map { max-width: 480px; margin: 0 auto; }
}

/* --- Contact : icône tel + bloc urgence + alt links avec svg --- */
.contact-phone {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
.contact-phone-icon {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--gold-warm);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-phone-icon svg { width: 24px; height: 24px; }
.contact-phone-text { min-width: 0; }

.contact-urgence {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-top: 1rem;
    padding: 0.9rem 1.1rem;
    background: rgba(181, 106, 62, 0.09);
    border-left: 3px solid var(--clay);
    border-radius: 6px;
}
.contact-urgence-dot {
    flex-shrink: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--clay);
    margin-top: 6px;
    box-shadow: 0 0 0 0 rgba(181, 106, 62, 0.6);
    animation: pinPulse 2s infinite;
}
.contact-urgence strong {
    display: block;
    font-size: 0.98rem;
    color: var(--bark);
    margin-bottom: 0.15rem;
}
.contact-urgence span {
    display: block;
    font-size: 0.88rem;
    color: var(--taupe);
}

.contact-alt-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}
.contact-alt-link svg { width: 18px; height: 18px; color: var(--gold-warm); }
.contact-alt-link:hover svg { color: var(--bark); }

/* Bouton envoyer du form : passe en gold-warm */
.contact-form .btn-solid {
    background: var(--gold-warm);
    box-shadow: inset 0 0 0 1px var(--gold-warm), 0 8px 20px -10px rgba(198, 139, 61, 0.5);
}
.contact-form .btn-solid:hover {
    background: var(--bark);
    box-shadow: inset 0 0 0 1px var(--bark), 0 12px 24px -14px rgba(44, 34, 26, 0.5);
}

/* --- L'artisan : about-lead plus grand (remplace la citation supprimée) --- */
.about-lead {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(1.15rem, 2.1vw, 1.35rem);
    line-height: 1.5;
    color: var(--bark);
    max-width: 34em;
    margin-bottom: 1.4rem;
}

/* ============================================================
   DERNIERS AJUSTEMENTS : hero portrait détouré, artisan
   fluide, zone simple, contact minimal.
   ============================================================ */

/* .hero-portrait retiré : remplacé par le nouveau layout .hero-panel avec photo pleine + texte overlay */

/* Utilitaire de surlignage jaune (H1 hero + éventuellement ailleurs) */
.hl {
    display: inline;
    padding: 0.05em 0.15em;
    background-image: linear-gradient(180deg,
        transparent 60%,
        rgba(255, 224, 70, 0.7) 60%,
        rgba(255, 224, 70, 0.7) 94%,
        transparent 94%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* --- L'artisan : texte fluide, sans photo ni cards --- */
.about {
    padding-block: var(--section-pad);
    background: var(--cream-deep);
}
.about-text {
    max-width: 56ch;
    margin-top: 1.4rem;
}
.about-text p {
    color: var(--taupe);
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.1rem;
}
.about-text p:first-child {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--bark);
    font-size: clamp(1.2rem, 2.2vw, 1.4rem);
    line-height: 1.5;
    margin-bottom: 1.4rem;
}
.about-text p:last-child { margin-bottom: 0; }

/* --- Zone : texte centré, sans carte --- */
.zone-inner {
    display: flex;
    justify-content: center;
    text-align: center;
}
.zone-text {
    max-width: 640px;
}
.zone-text .eyebrow {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.2vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--bark);
    margin-bottom: 0.9rem;
}
.zone-text h2 {
    margin-top: 0;
    font-family: var(--font);
    font-weight: 700;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--bark);
    display: inline;
    padding: 0.05em 0.35em;
    background-image: linear-gradient(180deg,
        transparent 55%,
        rgba(255, 224, 70, 0.7) 55%,
        rgba(255, 224, 70, 0.7) 92%,
        transparent 92%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.zone-text p {
    color: var(--taupe);
    margin-top: 1.2rem;
    margin-inline: auto;
    max-width: 40em;
}
.zone-devis { margin-top: 1.6rem !important; }
.zone-devis a {
    color: var(--gold-warm);
    font-weight: 700;
    text-underline-offset: 4px;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    transition: color 0.2s;
}
.zone-devis a:hover { color: var(--bark); }

/* --- Contact : gros tel simple + formulaire, plus rien --- */
/* Reset des overrides précédents qui utilisaient une icône + textes multiples */
.contact-phone {
    display: block;
    padding: 1.7rem 1.9rem;
    background: var(--bark);
    color: var(--cream);
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: 0 20px 40px -26px rgba(44, 34, 26, 0.55);
    transition: background-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}
.contact-phone:hover {
    background: var(--bark-deep);
    transform: translateY(-3px);
    box-shadow: 0 26px 48px -26px rgba(44, 34, 26, 0.6);
}
