/* ============================================
   Couvreur Ortica Toulon
   Design : bâti urbain, terre cuite + anthracite + crème
   ============================================ */

:root {
    --terracotta-500: #c75c3b;
    --terracotta-700: #8f3e24;
    --terracotta-300: #e59b80;
    --terracotta-100: #f5e3db;
    --anthracite-900: #1a1d24;
    --anthracite-700: #2d3341;
    --anthracite-500: #495063;
    --anthracite-300: #8b91a3;
    --creme: #f5f1e8;
    --creme-dark: #ebe4d3;
    --blanc: #ffffff;
    --ocre: #d4a043;
    --vert-sauge: #8ca68c;
    --gris-100: #f2f2f0;
    --gris-300: #d1d2d0;
    --gris-500: #7a7a7a;

    --serif: "DM Serif Display", Georgia, serif;
    --sans: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 8px rgba(26, 29, 36, 0.06);
    --shadow-md: 0 10px 32px rgba(26, 29, 36, 0.14);
    --shadow-lg: 0 24px 60px rgba(26, 29, 36, 0.20);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
    font-family: var(--sans);
    color: var(--anthracite-900);
    background: var(--creme);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

main, section { display: block; width: 100%; }

img { max-width: 100%; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.12;
    color: var(--anthracite-900);
    margin: 0 0 1rem;
}

h1 { font-size: clamp(2.2rem, 5vw + 0.5rem, 5rem); font-weight: 400; }
h1 em { font-style: italic; color: var(--terracotta-500); }
h2 { font-size: clamp(2rem, 3vw + 0.5rem, 3.2rem); }
h3 { font-size: 1.4rem; }
h4 { font-family: var(--sans); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--terracotta-700); margin: 0 0 0.8rem; }

p { margin: 0 0 1rem; }
a { color: var(--terracotta-700); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--terracotta-500); }

.icon-sm { width: 18px; height: 18px; stroke-width: 2; }

.container-wide {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
}
.container-narrow {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Boutons */
.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
    white-space: normal;
    text-align: center;
    max-width: 100%;
}
.btn-primary { background: var(--terracotta-500); color: var(--blanc); }
.btn-primary:hover { background: var(--terracotta-700); color: white; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--anthracite-900); border-color: var(--anthracite-900); }
.btn-ghost:hover { background: var(--anthracite-900); color: var(--creme); }
.btn-large { padding: 1.2rem 2.4rem; font-size: 1rem; }

/* Section headers */
.section-header { max-width: 780px; margin: 0 auto 3rem; text-align: center; }
.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--terracotta-500);
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--terracotta-500);
}
.section-intro { color: var(--anthracite-500); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.section-header-light h2, .section-header-light .section-intro { color: var(--creme); }
.section-header-light .section-eyebrow { color: var(--ocre); border-bottom-color: var(--ocre); }

/* ============================================
   Header
   ============================================ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1100;
    background: rgba(245, 241, 232, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s;
    padding-top: env(safe-area-inset-top, 0);
}
.site-header.scrolled { border-bottom-color: var(--gris-300); }
.site-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0.9rem clamp(1rem, 3vw, 2.5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.logo-nav {
    height: 44px;
    width: auto;
    filter: brightness(0) saturate(100%) invert(8%) sepia(9%) saturate(1500%) hue-rotate(195deg);
}
.nav-links {
    display: flex;
    gap: 1.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-weight: 500;
    color: var(--anthracite-900);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 0.4rem 0;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--terracotta-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--anthracite-900);
    color: var(--creme);
    padding: 0.7rem 1.3rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.05em;
}
.nav-phone:hover { background: var(--terracotta-500); color: white; }
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    color: var(--anthracite-900);
    margin-left: auto;
}
.nav-toggle svg { width: 28px; height: 28px; }

.mobile-bottom-bar { display: none; }

@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: calc(64px + env(safe-area-inset-top, 0));
        left: 0; right: 0;
        background: var(--creme);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        transition: transform 0.25s;
    }
    .nav-links.open { transform: translateY(0); }
    .nav-links li { padding: 0.8rem 2rem; border-bottom: 1px solid var(--gris-100); }
    .nav-toggle { display: inline-flex; order: 3; }
    .nav-phone { display: none; }
    .logo-nav { height: 38px; }
    .site-header-inner { padding: 0.7rem 1rem; }

    body { padding-bottom: 72px; }

    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: var(--anthracite-900);
        z-index: 1100;
        padding: 0.7rem 0.9rem calc(0.7rem + env(safe-area-inset-bottom, 0));
        box-shadow: 0 -8px 24px rgba(26, 29, 36, 0.25);
    }
    .mobile-bottom-call {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.6rem;
        width: 100%;
        padding: 0.95rem 1rem;
        background: var(--terracotta-500);
        color: var(--blanc);
        border-radius: 4px;
        font-weight: 700;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        text-decoration: none;
    }
    .mobile-bottom-call:hover { background: var(--terracotta-700); color: white; }
    .mobile-bottom-call svg { width: 20px; height: 20px; }
}

/* ============================================
   Section 1 : Hero magazine
   ============================================ */
.hero-magazine {
    position: relative;
    min-height: 100vh;
    padding-top: 76px;
    color: var(--creme);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 1; }
.hero-media img.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26,29,36,0.35) 0%, rgba(26,29,36,0.55) 50%, rgba(26,29,36,0.92) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    width: 100%;
    padding: 5rem clamp(1rem, 3vw, 2.5rem) 3rem;
}
.hero-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ocre);
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--ocre);
    margin-bottom: 1.8rem;
}
.hero-magazine h1 {
    color: var(--creme);
    max-width: 18ch;
    margin-bottom: 1.8rem;
}
.hero-magazine h1 em {
    color: var(--terracotta-300);
    font-style: italic;
}
.hero-lead {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: 2rem;
    color: rgba(245, 241, 232, 0.9);
}
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.hero-actions .btn-ghost {
    color: var(--creme);
    border-color: var(--creme);
}
.hero-actions .btn-ghost:hover {
    background: var(--creme);
    color: var(--anthracite-900);
}
.hero-ribbon {
    position: relative;
    z-index: 2;
    background: var(--anthracite-900);
    color: var(--creme);
    padding: 1.8rem clamp(1rem, 3vw, 2.5rem);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    border-top: 3px solid var(--terracotta-500);
    width: 100%;
}
.hero-ribbon > div {
    padding-left: 1.2rem;
    border-left: 1px solid rgba(245, 241, 232, 0.2);
}
.hero-ribbon > div:first-child { border-left: none; padding-left: 0; }
.hero-ribbon strong {
    font-family: var(--serif);
    font-size: 2.2rem;
    line-height: 1;
    display: block;
    color: var(--ocre);
    font-weight: 400;
}
.hero-ribbon span {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(245, 241, 232, 0.7);
}
@media (max-width: 767px) {
    .hero-magazine {
        flex-direction: column;
        align-items: stretch;
        min-height: auto;
    }
    .hero-content {
        padding: 3rem 1.2rem 2.5rem;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .hero-magazine h1 { max-width: none; }
    .hero-lead { font-size: 1rem; }
    .hero-actions { gap: 0.7rem; }
    .hero-actions .btn-primary,
    .hero-actions .btn-ghost {
        padding: 0.75rem 1rem;
        font-size: 0.82rem;
        letter-spacing: 0.05em;
        flex: 1 1 auto;
        min-width: 0;
    }
    .hero-ribbon {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem 1rem;
        padding: 1.4rem 1.2rem;
    }
    .hero-ribbon > div:nth-child(3) { border-left: none; padding-left: 0; }
    .hero-ribbon strong { font-size: 1.8rem; }
}

/* ============================================
   Section 2 : Typologies
   ============================================ */
.section-typologies {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--creme);
}
.typo-selector {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    max-width: 960px;
    margin: 0 auto 3rem;
    background: var(--blanc);
    padding: 0.6rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.typo-tab {
    background: transparent;
    border: none;
    padding: 1.2rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--sans);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
}
.typo-tab-pct {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--terracotta-500);
    line-height: 1;
}
.typo-tab-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: var(--anthracite-700);
}
.typo-tab:hover { background: var(--terracotta-100); }
.typo-tab.is-active { background: var(--anthracite-900); }
.typo-tab.is-active .typo-tab-pct { color: var(--ocre); }
.typo-tab.is-active .typo-tab-label { color: var(--creme); }

@media (max-width: 767px) {
    .typo-selector { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.typo-panels { position: relative; }
.typo-panel { display: none; }
.typo-panel.is-active { display: block; animation: fadeUp 0.35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.typo-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
}
.typo-panel-visual { position: relative; }
.typo-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: block;
}
.typo-panel-badge {
    position: absolute;
    bottom: -1rem; left: 1rem;
    background: var(--terracotta-500);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-sm);
}
.typo-panel-text h3 { color: var(--anthracite-900); font-size: 1.8rem; margin-bottom: 0.8rem; }
.typo-desc { color: var(--anthracite-500); font-size: 1.02rem; margin-bottom: 1.8rem; }

.typo-lists {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.8rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--blanc);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--terracotta-500);
}
.typo-list { list-style: none; padding: 0; margin: 0; }
.typo-list li {
    display: flex;
    gap: 0.6rem;
    padding: 0.4rem 0;
    font-size: 0.92rem;
    color: var(--anthracite-700);
}
.typo-list svg { flex-shrink: 0; width: 16px; height: 16px; color: var(--terracotta-500); margin-top: 0.2rem; }
.typo-list-warn svg { color: var(--ocre); }

.typo-refs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}
.typo-ref {
    margin: 0;
    background: var(--blanc);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}
.typo-ref:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.typo-ref img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.typo-ref figcaption { padding: 1rem 1.2rem; }
.typo-ref figcaption strong { display: block; color: var(--anthracite-900); margin-bottom: 0.3rem; font-size: 0.95rem; }
.typo-ref figcaption span { color: var(--anthracite-500); font-size: 0.85rem; line-height: 1.5; }

@media (max-width: 991px) {
    .typo-panel-grid { grid-template-columns: 1fr; }
    .typo-lists { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
    .typo-refs { grid-template-columns: 1fr; }
}

/* ============================================
   Section 3 : Quartiers
   ============================================ */
.section-quartiers {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--blanc);
}
.quartiers-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: flex-start;
}
.quartiers-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
    width: 100%;
}
.quartier-cell {
    position: relative;
    background: var(--creme);
    border: 2px solid var(--gris-300);
    border-radius: var(--radius-md);
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.25s;
    font-family: var(--sans);
    width: 100%;
    min-width: 0;
    aspect-ratio: 4 / 3;
}
.quartier-cell:hover { border-color: var(--terracotta-500); transform: translateY(-2px); }
.quartier-cell.is-active { border-color: var(--terracotta-500); box-shadow: var(--shadow-md); }
.quartier-thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.75);
    transition: filter 0.2s;
}
.quartier-cell:hover .quartier-thumb { filter: brightness(0.95); }
.quartier-cell-label {
    position: absolute;
    bottom: 0.7rem;
    left: 0.8rem;
    right: 0.8rem;
    color: white;
    font-weight: 700;
    font-size: 0.92rem;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    letter-spacing: 0.03em;
    z-index: 2;
}

.quartier-detail { position: relative; min-height: 420px; }
.quartier-card {
    display: none;
    background: var(--creme);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--creme-dark);
}
.quartier-card.is-active { display: block; animation: fadeUp 0.3s ease; }
.quartier-card h3 { color: var(--anthracite-900); font-size: 2rem; margin-bottom: 0.5rem; }
.quartier-bati { color: var(--terracotta-700); font-size: 0.95rem; margin-bottom: 0.8rem; }
.quartier-ambiance { color: var(--anthracite-700); margin-bottom: 1.5rem; font-size: 1rem; line-height: 1.6; }
.quartier-services { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.quartier-services li {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0.4rem 0;
    color: var(--anthracite-700);
    font-size: 0.92rem;
}
.quartier-services svg { width: 16px; height: 16px; color: var(--terracotta-500); }
.quartier-coord {
    font-size: 0.85rem;
    color: var(--anthracite-500);
    display: flex;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--gris-300);
}

@media (max-width: 991px) {
    .quartiers-layout { grid-template-columns: 1fr; }
    .quartier-detail { min-height: 0; }
}
@media (max-width: 575px) {
    .quartier-card { padding: 1.6rem; }
}

/* ============================================
   Section 4 : Matériaux
   ============================================ */
.section-materiaux {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--creme);
}
.mat-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}
.mat-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.3rem;
    background: var(--blanc);
    border: 2px solid var(--gris-300);
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--anthracite-700);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.2s;
}
.mat-filter:hover { border-color: var(--terracotta-500); color: var(--terracotta-700); }
.mat-filter.is-active { background: var(--terracotta-500); border-color: var(--terracotta-500); color: white; }
.mat-filter svg { width: 16px; height: 16px; }

.mat-table-wrap {
    background: var(--blanc);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.mat-table {
    width: 100%;
    border-collapse: collapse;
}
.mat-table thead {
    background: var(--anthracite-900);
    color: var(--creme);
}
.mat-table th {
    padding: 1.1rem 1.2rem;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: left;
}
.mat-table tbody tr {
    border-bottom: 1px solid var(--gris-100);
    transition: background 0.2s;
}
.mat-table tbody tr:hover { background: var(--creme); }
.mat-table tbody tr.is-highlight { background: var(--terracotta-100); }
.mat-table td { padding: 1.3rem 1.2rem; vertical-align: middle; font-size: 0.92rem; color: var(--anthracite-700); }
.mat-cell-name { display: flex; align-items: center; gap: 1rem; }
.mat-cell-name svg { width: 28px; height: 28px; color: var(--terracotta-500); flex-shrink: 0; }
.mat-cell-name strong { display: block; color: var(--anthracite-900); font-size: 1.05rem; font-family: var(--serif); font-weight: 400; }
.mat-cell-name span { display: block; font-size: 0.82rem; color: var(--anthracite-500); margin-top: 0.2rem; }

.mat-bar {
    position: relative;
    width: 120px;
    height: 8px;
    background: var(--gris-100);
    border-radius: 4px;
    overflow: hidden;
}
.mat-bar span {
    display: block;
    height: 100%;
    background: var(--terracotta-500);
    border-radius: 4px;
    transition: width 0.3s;
}
.mat-bar em {
    font-style: normal;
    font-size: 0.78rem;
    color: var(--anthracite-500);
    margin-left: 0.5rem;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
}
.mat-cell-price { font-family: var(--serif); font-size: 1.2rem; color: var(--anthracite-900); font-weight: 400; }
.mat-cell-patrimoine { font-size: 0.88rem; color: var(--anthracite-700); }
.mat-cell-patrimoine svg { width: 16px; height: 16px; color: var(--terracotta-500); vertical-align: middle; margin-right: 0.3rem; }

@media (max-width: 991px) {
    .mat-table thead { display: none; }
    .mat-table, .mat-table tbody, .mat-table tr, .mat-table td { display: block; width: 100%; }
    .mat-table tr { padding: 1.2rem; border-bottom: 2px solid var(--gris-100); }
    .mat-table td { padding: 0.4rem 0; border: none; }
    .mat-table td::before {
        content: attr(data-label);
        display: inline-block;
        font-weight: 700;
        color: var(--anthracite-500);
        text-transform: uppercase;
        font-size: 0.72rem;
        letter-spacing: 0.12em;
        margin-right: 0.6rem;
    }
    .mat-bar { width: calc(100% - 80px); }
}

/* ============================================
   Section 5 : Copropriétés (timeline + estimateur)
   ============================================ */
.section-copro {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--anthracite-900);
    color: var(--creme);
}
.section-copro .section-header { color: var(--creme); }

.copro-estimator {
    max-width: 640px;
    margin: 0 auto 3rem;
    background: var(--anthracite-700);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    border-left: 4px solid var(--ocre);
}
.copro-estimator label {
    color: var(--ocre);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    white-space: nowrap;
}
.copro-estimator input[type="date"] {
    background: var(--creme);
    border: 2px solid transparent;
    padding: 0.7rem 1rem;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 1rem;
    color: var(--anthracite-900);
    cursor: pointer;
    flex: 1;
    min-width: 180px;
}
.copro-estimator input[type="date"]:focus { outline: none; border-color: var(--terracotta-500); }
.copro-estimate-output { flex: 1; min-width: 200px; }
.copro-estimate-label {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--anthracite-300);
    margin-bottom: 0.3rem;
}
.copro-estimate-value {
    font-family: var(--serif);
    font-size: 1.5rem;
    color: var(--ocre);
    line-height: 1.1;
    display: block;
}

.copro-timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
    position: relative;
}
.copro-timeline::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: var(--anthracite-700);
}
.copro-step {
    position: relative;
    padding: 0 0 2rem 70px;
    min-height: 60px;
}
.copro-step:last-child { padding-bottom: 0; }
.copro-step-dot {
    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--terracotta-500);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 1.3rem;
    z-index: 2;
    box-shadow: 0 0 0 6px var(--anthracite-900);
}
.copro-step-body h3 {
    color: var(--creme);
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}
.copro-step-body p {
    color: var(--anthracite-300);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
}
.copro-step-dates {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ocre);
    background: rgba(212, 160, 67, 0.12);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

/* ============================================
   Section 6 : Témoignages
   ============================================ */
.section-temoignages { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--creme); }
.temoignages-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
}
.temoignages-col-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    color: var(--terracotta-700);
    font-family: var(--sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--terracotta-500);
    margin-bottom: 1.5rem;
}
.temoignages-col-title svg { width: 22px; height: 22px; }
.temoignage-card {
    background: var(--blanc);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.2rem;
    box-shadow: var(--shadow-sm);
}
.temoignage-stars { display: flex; gap: 0.15rem; margin-bottom: 1rem; color: var(--ocre); }
.temoignage-stars svg { width: 16px; height: 16px; fill: currentColor; }
.temoignage-card blockquote {
    margin: 0 0 1.2rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--anthracite-700);
    font-style: italic;
}
.temoignage-card footer strong {
    display: block;
    color: var(--anthracite-900);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}
.temoignage-card footer span {
    display: block;
    font-size: 0.85rem;
    color: var(--anthracite-500);
    margin-bottom: 0.3rem;
}
.temoignage-card footer em {
    display: inline-block;
    font-style: normal;
    font-size: 0.78rem;
    color: var(--terracotta-700);
    background: var(--terracotta-100);
    padding: 0.2rem 0.7rem;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

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

/* ============================================
   Section 7 : FAQ split
   ============================================ */
.section-faq-split {
    padding: clamp(4rem, 8vw, 7rem) 0;
    background: var(--blanc);
}
.faq-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    background: var(--creme);
    padding: 0.5rem;
    border-radius: var(--radius-md);
}
.faq-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--anthracite-700);
    cursor: pointer;
    transition: all 0.2s;
}
.faq-tab:hover { color: var(--terracotta-700); }
.faq-tab.is-active {
    background: var(--anthracite-900);
    color: var(--creme);
}
.faq-tab svg { width: 18px; height: 18px; }

.faq-panel { display: none; }
.faq-panel.is-active { display: block; animation: fadeUp 0.25s ease; }
.faq-item {
    background: var(--creme);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid transparent;
    margin-bottom: 0.8rem;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--terracotta-300); box-shadow: var(--shadow-sm); background: var(--blanc); }
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.6rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--anthracite-900);
    font-size: 1.02rem;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--terracotta-700); }
.faq-plus { flex-shrink: 0; transition: transform 0.25s; color: var(--terracotta-500); }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer {
    padding: 0 1.6rem 1.5rem;
    color: var(--anthracite-700);
    line-height: 1.7;
    font-size: 0.96rem;
}

/* ============================================
   Section 8 : CTA final
   ============================================ */
.section-cta-final {
    padding: clamp(4rem, 8vw, 6rem) 0;
    background: var(--creme);
}
.cta-final-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
}
.cta-block {
    background: var(--blanc);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid transparent;
    transition: all 0.3s;
}
.cta-block:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.cta-block-phone { border-top-color: var(--terracotta-500); }
.cta-block-form { border-top-color: var(--ocre); }
.cta-icon {
    width: 44px;
    height: 44px;
    color: var(--terracotta-500);
    margin-bottom: 1rem;
}
.cta-block-form .cta-icon { color: var(--ocre); }
.cta-block h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.cta-block p { color: var(--anthracite-500); margin-bottom: 1.8rem; font-size: 0.98rem; }

@media (max-width: 767px) {
    .cta-final-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--anthracite-900);
    color: var(--anthracite-300);
    padding: 4rem 0 1.5rem;
}
.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2.5rem);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer-col h5, .footer-heading {
    color: var(--creme);
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 400;
    margin: 0 0 1.2rem;
}
.footer-text { color: var(--anthracite-300); font-size: 0.92rem; line-height: 1.6; }
.footer-text.small { font-size: 0.85rem; }
.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}
.footer-badges { display: flex; align-items: center; gap: 0.8rem; margin-top: 1rem; }
.footer-badges img { width: 40px; height: 40px; object-fit: contain; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 0.3rem 0; font-size: 0.9rem; }
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}
.footer-contact a { color: var(--anthracite-300); }
.footer-contact a:hover { color: var(--terracotta-300); }
.footer-contact i { color: var(--ocre); flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(245, 241, 232, 0.1);
    padding-top: 1.5rem;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom a { color: var(--anthracite-300); }
.footer-bottom a:hover { color: var(--terracotta-300); }
.mb-0 { margin-bottom: 0 !important; }

@media (max-width: 991px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 575px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Breadcrumb, contact, legal
   ============================================ */
.breadcrumb-section {
    padding: 6rem 0 1rem;
    background: var(--creme);
}
.breadcrumb {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--anthracite-500);
}
.breadcrumb-item + .breadcrumb-item::before { content: "/"; margin-right: 0.5rem; color: var(--gris-300); }
.breadcrumb-item.active { color: var(--anthracite-900); font-weight: 600; }
.breadcrumb-item a { color: var(--anthracite-500); }

.section-padding { padding: clamp(4rem, 8vw, 7rem) 0; }
.contact-section { background: var(--creme); padding-top: 2rem; }
.section-title { font-family: var(--serif); font-size: clamp(2rem, 3vw + 0.5rem, 3rem); color: var(--anthracite-900); margin-bottom: 1rem; font-weight: 400; }

.contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}
.contact-form {
    background: var(--blanc);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.2rem;
}
.form-span-2 { grid-column: span 2; }
.form-label {
    font-weight: 600;
    color: var(--anthracite-900);
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    display: block;
}
.form-control, .form-select {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid var(--gris-300);
    border-radius: 4px;
    background: var(--creme);
    font-family: var(--sans);
    font-size: 0.98rem;
    color: var(--anthracite-900);
    transition: border-color 0.2s, background 0.2s;
}
.form-control:focus, .form-select:focus { outline: none; border-color: var(--terracotta-500); background: var(--blanc); }
.form-check { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 0.5rem; }
.form-check-input { margin-top: 0.3rem; }
.form-check-label { color: var(--anthracite-500); font-size: 0.88rem; line-height: 1.5; }
.text-danger { color: var(--terracotta-500); }
.btn-form-submit {
    width: 100%;
    justify-content: center;
    padding: 1.1rem;
    font-size: 1rem;
}
.flash-success, .flash-error {
    padding: 1rem 1.3rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}
.flash-success { background: #e8f2ea; color: #1e5e2a; border: 1px solid #a8d6b4; }
.flash-error { background: #f8e0d9; color: #8b2c16; border: 1px solid #e9b5a5; }

.contact-sidebar {
    background: linear-gradient(160deg, var(--anthracite-900), var(--anthracite-700));
    color: var(--creme);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}
.sidebar-header { text-align: center; margin-bottom: 1.5rem; }
.sidebar-header h3 { color: var(--creme); margin-bottom: 0.3rem; font-size: 1.4rem; }
.sidebar-header p { color: var(--anthracite-300); margin: 0; font-size: 0.88rem; }
.julie-photo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--ocre);
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.sidebar-sep { border: none; border-top: 1px solid rgba(245, 241, 232, 0.15); margin: 1.5rem 0; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0;
    color: var(--anthracite-300);
    font-size: 0.92rem;
}
.sidebar-list li svg { color: var(--ocre); flex-shrink: 0; }
.sidebar-list a { color: var(--creme); }
.sidebar-list a.sidebar-phone { font-size: 1.2rem; font-weight: 700; color: var(--creme); }
.sidebar-footer { text-align: center; }
.sidebar-footer p { color: var(--anthracite-300); font-size: 0.85rem; margin: 0.5rem 0 0; }

@media (max-width: 991px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 575px) {
    .form-grid { grid-template-columns: 1fr; }
    .form-span-2 { grid-column: span 1; }
    .contact-sidebar, .contact-form { padding: 1.8rem 1.5rem; }
}

.legal-section { background: var(--creme); padding-top: 2rem; }
.legal-content {
    background: var(--blanc);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.legal-content h2 { font-size: 1.4rem; margin: 2rem 0 1rem; color: var(--anthracite-900); }
.legal-content h3 { font-size: 1.1rem; color: var(--terracotta-700); margin: 1.5rem 0 0.8rem; }
.legal-content ul { padding-left: 1.5rem; color: var(--anthracite-700); }
.legal-content li { padding: 0.3rem 0; }
.legal-date { color: var(--anthracite-300); font-size: 0.85rem; margin-top: 3rem; font-style: italic; }
@media (max-width: 575px) { .legal-content { padding: 1.8rem 1.5rem; } }

@media (max-width: 767px) {
    h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
    h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
    .typo-panel-text h3 { font-size: 1.5rem; }
}
