/* ==========================================================================
   LES CISEAUX DE SANDRA - DESIGN SYSTEM V2 (MULTI-PAGES & ESPACEMENTS AÉRÉS)
   Coiffure à domicile • Drôme des Collines (Crépol & Saint-Donat)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES & PALETTE SOBRE
   -------------------------------------------------------------------------- */
:root {
    /* Couleurs principales (Bronze chaud & Naturel) */
    --primary: #94724E;
    --primary-dark: #7A5B3A;
    --primary-light: rgba(148, 114, 78, 0.2);
    --primary-border: rgba(148, 114, 78, 0.25);

    /* Arrière-plans Dark Mode Permanent */
    --bg-main: #141312;
    --bg-card: #1E1D1A;
    --bg-alt: #181715;
    --bg-header: rgba(20, 19, 18, 0.96);

    /* Bordures & Séparateurs */
    --border-color: #2E2B27;
    --border-subtle: #24221F;

    /* Textes */
    --text-main: #EAE6E1;
    --text-muted: #A39D94;
    --text-light: #736E67;
    --heading-color: #FAF8F5;

    /* Typographie */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Ombres douces Dark Mode */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);

    /* Rayons & Transitions */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 9999px;
    --transition: all 0.2s ease;
    --container-max: 1180px;
}

/* --------------------------------------------------------------------------
   2. RESET & BASE (DARK MODE PERMANENT)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    color-scheme: dark;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--heading-color);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

p:last-child {
    margin-bottom: 0;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Reading Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--primary);
    width: 0%;
    z-index: 1000;
    transition: width 0.1s linear;
}

/* Container & Sections */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.8rem;
}

.section {
    padding: 6.5rem 0;
    position: relative;
}

.section-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: 2.35rem;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.section-subtitle {
    font-size: 1.08rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 3.5rem auto;
    line-height: 1.75;
}

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

.text-muted {
    color: var(--text-muted);
}

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

/* --------------------------------------------------------------------------
   3. PAGE HEADER (POUR SUBPAGES)
   -------------------------------------------------------------------------- */
.page-header {
    padding-top: 130px;
    padding-bottom: 4rem;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   4. BOUTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    font-size: 0.94rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: #FFFFFF !important;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--heading-color);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--bg-card);
}

.btn-lg {
    padding: 1rem 2.2rem;
    font-size: 1.02rem;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.88rem;
}

.btn-block {
    width: 100%;
}

/* --------------------------------------------------------------------------
   5. HEADER & NAVBAR (ESPACEMENT OPTIMAL SANS RETOUR À LA LIGNE)
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.header.header-scrolled {
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    gap: 1.5rem;
}

/* Logo */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

body.dark-theme .logo-icon {
    background: rgba(148, 114, 78, 0.2);
}

.logo-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.logo-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading-color);
    letter-spacing: -0.01em;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-subtitle {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-weight: 500;
    white-space: nowrap;
}

/* Desktop Nav */
.nav {
    display: flex;
    align-items: center;
    flex-shrink: 1;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    list-style: none;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    padding: 0.4rem 0;
    position: relative;
    white-space: nowrap !important;
}

.nav-link:hover, .nav-link.active-link {
    color: var(--primary);
    font-weight: 600;
}

.nav-link.active-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
    white-space: nowrap;
}

.header-phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
    padding: 0 1.1rem;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    white-space: nowrap !important;
    flex-shrink: 0;
    box-sizing: border-box;
    text-decoration: none;
}

.header-phone-btn span {
    white-space: nowrap !important;
}

.header-phone-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.header-actions .nav-btn {
    height: 42px;
    padding: 0 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.theme-toggle-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--heading-color);
    transition: var(--transition);
    flex-shrink: 0;
    box-sizing: border-box;
}

.theme-toggle-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.theme-icon-sun { display: none; }
.theme-icon-moon { display: block; }
body.dark-theme .theme-icon-sun { display: block; }
body.dark-theme .theme-icon-moon { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.nav-toggle .bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--heading-color);
    border-radius: 1px;
    transition: var(--transition);
}

.nav-close {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-only {
    display: none;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION (HOME)
   -------------------------------------------------------------------------- */
.hero {
    padding-top: 135px;
    padding-bottom: 5.5rem;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
    align-items: center;
}

.hero-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    padding: 0.35rem 0.9rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

body.dark-theme .hero-tag {
    background: rgba(148, 114, 78, 0.18);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1.6rem;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2.2rem;
}

.hero-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.point-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.98rem;
    color: var(--text-main);
    font-weight: 500;
}

.point-icon-svg {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

body.dark-theme .point-icon-svg {
    background: rgba(148, 114, 78, 0.2);
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.hero-img-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1.4rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
}

.hero-img-badge strong {
    display: block;
    font-size: 0.95rem;
    color: var(--heading-color);
}

.hero-img-badge span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   7. HOME PREVIEW SECTIONS
   -------------------------------------------------------------------------- */
.home-about-preview {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4.5rem;
    align-items: center;
}

.home-portrait-img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.home-cta-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.home-zone-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3.5rem;
    box-shadow: var(--shadow-sm);
}

.home-cta-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
}

.home-cta-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   8. ABOUT PAGE & PROCESS
   -------------------------------------------------------------------------- */
.about-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4.5rem;
    align-items: center;
}

.about-img-frame {
    position: relative;
}

.about-img {
    width: 100%;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.about-tag-overlay {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1.2rem;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.about-tag-overlay span {
    font-weight: 700;
    font-size: 0.95rem;
    display: block;
    color: var(--heading-color);
}

.about-tag-overlay small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--heading-color);
    line-height: 1.8;
    margin-bottom: 1.4rem;
}

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

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.about-feature-item {
    display: flex;
    gap: 1rem;
}

.feature-icon-svg {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-feature-item h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}

.about-feature-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-cta-wrapper {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

/* Process Section */
.about-process-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
}

.process-number {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

body.dark-theme .process-number {
    background: rgba(148, 114, 78, 0.25);
    color: var(--text-main);
}

.process-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.process-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   9. SERVICES & SIMULATOR SECTION
   -------------------------------------------------------------------------- */
.services-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.service-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.service-tab-btn:hover, .service-tab-btn.active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.service-tab-content {
    display: none;
}

.service-tab-content.active {
    display: block;
    animation: simpleFade 0.3s ease;
}

@keyframes simpleFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.service-card-featured {
    border-color: var(--primary);
}

.service-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.service-category-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text-muted);
}

.service-category-label.highlight {
    background: var(--primary-light);
    color: var(--primary-dark);
}

body.dark-theme .service-category-label.highlight {
    background: rgba(148, 114, 78, 0.2);
    color: var(--text-main);
}

.service-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--heading-color);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.services-calc-banner {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.services-calc-banner h3 {
    font-size: 1.15rem;
    margin-bottom: 0.3rem;
}

.services-calc-banner p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Simulator Section */
.simulator-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.simulator-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
}

.simulator-category {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.8rem 2.2rem;
    margin-bottom: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.category-title {
    font-size: 1.15rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
}

.option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.sim-item {
    display: flex;
    align-items: center;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-sm);
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition);
}

.sim-item:hover {
    border-color: var(--primary);
}

.sim-item input[type="checkbox"] {
    display: none;
}

.custom-check {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    flex-shrink: 0;
    transition: var(--transition);
}

.sim-item input[type="checkbox"]:checked + .custom-check {
    background: var(--primary);
    border-color: var(--primary);
}

.sim-item input[type="checkbox"]:checked + .custom-check::after {
    content: '✓';
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 700;
}

.sim-label {
    flex-grow: 1;
    font-weight: 500;
    font-size: 0.94rem;
}

.sim-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--heading-color);
}

.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 100px;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1.4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.summary-header h3 {
    font-size: 1.2rem;
}

.summary-badge {
    font-size: 0.8rem;
    background: var(--bg-alt);
    color: var(--text-muted);
    padding: 0.25rem 0.7rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.summary-list {
    min-height: 90px;
    max-height: 220px;
    overflow-y: auto;
    margin-bottom: 1.4rem;
}

.empty-notice {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: center;
    padding: 1.8rem 0;
}

.selected-item-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    padding: 0.45rem 0;
    border-bottom: 1px dashed var(--border-subtle);
}

.summary-totals {
    border-top: 1px solid var(--border-color);
    padding-top: 1.2rem;
    margin-bottom: 1.2rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
}

.total-row.grand-total {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border-subtle);
}

.total-row .price-val {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--heading-color);
}

.summary-note {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.btn-text-reset {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    display: block;
    margin: 1rem auto 0 auto;
    text-decoration: underline;
}

.btn-text-reset:hover {
    color: #c0392b;
}

.services-info-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   10. SECTEUR & TOWN LIST
   -------------------------------------------------------------------------- */
.zone-card-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.zone-info-side {
    padding: 3.2rem;
}

.zone-desc {
    font-size: 1.02rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.75;
}

.zone-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.zone-point {
    display: flex;
    gap: 1rem;
}

.point-badge-zone {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    height: fit-content;
    white-space: nowrap;
}

.point-badge-zone.extended {
    background: var(--primary-light);
    color: var(--primary-dark);
}

body.dark-theme .point-badge-zone.extended {
    background: rgba(148, 114, 78, 0.2);
    color: var(--text-main);
}

.zone-point strong {
    font-size: 0.98rem;
    display: block;
    margin-bottom: 0.3rem;
}

.zone-point p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.zone-checker-box {
    padding: 3.2rem;
    background: var(--bg-alt);
    border-left: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.checker-inner {
    width: 100%;
}

.checker-header {
    margin-bottom: 1.6rem;
}

.checker-header h3 {
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.checker-header p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.checker-input-wrapper {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.checker-input-wrapper input {
    flex-grow: 1;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    outline: none;
    font-size: 0.94rem;
}

.checker-input-wrapper input:focus {
    border-color: var(--primary);
}

.zone-result-box {
    padding: 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.4rem;
    font-size: 0.92rem;
    line-height: 1.6;
}

.zone-result-success {
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.3);
    color: #2e7d32;
}

body.dark-theme .zone-result-success {
    color: #81c784;
}

.zone-result-extended {
    background: rgba(230, 81, 0, 0.1);
    border: 1px solid rgba(230, 81, 0, 0.3);
    color: #e65100;
}

body.dark-theme .zone-result-extended {
    color: #ffb74d;
}

.zone-result-outside {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.checker-suggestions {
    margin-top: 1.4rem;
}

.suggestions-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.6rem;
}

.pills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.town-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.82rem;
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.town-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Town list table */
.town-list-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
}

.towns-grid-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.town-col-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.town-col-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-subtle);
}

.town-col-card ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.town-col-card li {
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   11. GALLERY & LIGHTBOX
   -------------------------------------------------------------------------- */
.gallery-filter-nav {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.gallery-filter-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

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

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: var(--transition);
}

.gallery-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.gallery-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.04);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #FFFFFF;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-zoom-icon {
    display: inline-flex;
    margin-bottom: 0.5rem;
}

.gallery-text h4 {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
}

.gallery-text p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.8);
}

.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.lightbox-content {
    position: relative;
    max-width: 85vw;
    max-height: 85vh;
    z-index: 1201;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--radius-sm);
}

.lightbox-caption {
    margin-top: 1rem;
    text-align: center;
    color: #FFFFFF;
}

.lightbox-caption h3 {
    color: #FFFFFF;
    font-size: 1.2rem;
}

.lightbox-caption p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   12. TESTIMONIALS & AVIS
   -------------------------------------------------------------------------- */
.testimonials-section {
    background: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.google-trust-badge {
    margin: 1.5rem auto 0;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);
    color: var(--text-main);
}

.google-trust-badge strong {
    font-size: 1.15rem;
    font-family: var(--font-heading);
    color: var(--heading-color);
}

.google-trust-badge span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.testimonial-stars-svg {
    display: flex;
    gap: 4px;
    margin-bottom: 1.2rem;
}

.testimonial-quote {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 1.8rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1.1rem;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.88rem;
}

body.dark-theme .author-avatar {
    background: rgba(148, 114, 78, 0.2);
    color: var(--text-main);
}

.author-info strong {
    font-size: 0.95rem;
    color: var(--heading-color);
    display: block;
}

.author-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.author-info span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.avis-trust-box {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   13. FAQ SECTION
   -------------------------------------------------------------------------- */
.faq-container {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.4rem 1.8rem;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--heading-color);
}

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

.faq-icon-svg {
    color: var(--text-muted);
    transition: transform 0.25s ease;
    flex-shrink: 0;
    display: flex;
}

.faq-item.active .faq-icon-svg {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.8rem;
}

.faq-item.active .faq-answer {
    padding: 0 1.8rem 1.6rem 1.8rem;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
}

.faq-prompt-card {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   14. CONTACT & FORM
   -------------------------------------------------------------------------- */
.contact-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: start;
}

.contact-cards-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 1.8rem;
}

.contact-action-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.4rem 1.8rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-action-card:hover {
    border-color: var(--primary);
}

.card-icon-svg {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-sub {
    font-size: 0.76rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.card-main {
    font-size: 1.2rem;
    color: var(--heading-color);
    font-weight: 700;
}

.card-hint {
    font-size: 0.82rem;
    color: var(--text-light);
}

.contact-info-box {
    background: var(--bg-alt);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.6rem 1.8rem;
}

.info-box-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hours-schedule {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.hours-schedule li {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
}

.closed-tag {
    color: #c0392b;
    font-weight: 600;
}

.location-text {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Form */
.form-wrapper-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.6rem;
    box-shadow: var(--shadow-sm);
}

.form-header {
    margin-bottom: 2.2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-row {
    display: flex;
    gap: 1.2rem;
}

.col-half {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 0.5rem;
}

.req {
    color: #c0392b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    outline: none;
    font-size: 0.94rem;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
    opacity: 0.85;
}

.form-group select option {
    background-color: #FFFFFF;
    color: #181614;
}

body.dark-theme .form-group select option {
    background-color: #1E1D1A;
    color: #EAE6E1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: var(--bg-card);
}

.form-group textarea {
    resize: vertical;
}

.form-help {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.4rem;
}

.link-inline {
    color: var(--primary);
    text-decoration: underline;
}

.form-consent {
    margin: 1.5rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.custom-check-small {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    margin-top: 3px;
    flex-shrink: 0;
}

.checkbox-label input:checked + .custom-check-small {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .custom-check-small::after {
    content: '✓';
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
}

.consent-text {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.btn-submit {
    padding: 1rem 2rem;
    font-size: 1.02rem;
}

.form-security-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 1.2rem;
}

.field-error {
    font-size: 0.8rem;
    color: #c0392b;
    display: block;
    margin-top: 0.3rem;
}

.form-feedback-box {
    padding: 1.2rem 1.4rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.8rem;
    font-size: 0.94rem;
    line-height: 1.6;
}

.form-feedback-box.success {
    background: rgba(46, 125, 50, 0.1);
    border: 1px solid rgba(46, 125, 50, 0.3);
    color: #2e7d32;
}

body.dark-theme .form-feedback-box.success {
    color: #81c784;
}

.form-feedback-box.error {
    background: rgba(192, 57, 43, 0.1);
    border: 1px solid rgba(192, 57, 43, 0.3);
    color: #c0392b;
}

/* --------------------------------------------------------------------------
   15. FLOATING ACTIONS & MOBILE BAR
   -------------------------------------------------------------------------- */
.floating-action-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 950;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
}

.whatsapp-btn {
    background: #25D366;
    color: #FFFFFF;
}

.call-btn {
    background: var(--primary);
    color: #FFFFFF;
}

.scroll-top-btn {
    background: var(--bg-card);
    color: var(--heading-color);
    border: 1px solid var(--border-color);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.floating-tooltip {
    position: absolute;
    right: 56px;
    background: var(--heading-color);
    color: #FFFFFF;
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.floating-btn:hover .floating-tooltip {
    opacity: 1;
}

.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    z-index: 920;
    padding: 0.6rem 1rem;
}

.bottom-bar-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--heading-color);
    background: var(--bg-alt);
}

.bottom-bar-btn.rdv {
    flex: 1.3;
}

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.footer {
    background: #141312;
    color: #A8A29A;
    padding-top: 5rem;
    border-top: 1px solid #24221F;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.1fr 1fr;
    gap: 3.5rem;
    margin-bottom: 4rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.2rem;
}

.footer-logo .logo-icon {
    width: 34px;
    height: 34px;
}

.footer-logo .logo-text {
    font-size: 1.18rem;
    font-weight: 700;
    color: #FAF8F5;
}

.footer-bio {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.4rem;
    color: #948E85;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FAF8F5;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.footer-heading {
    font-size: 1rem;
    color: #FAF8F5;
    margin-bottom: 1.4rem;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav-list a {
    font-size: 0.9rem;
    color: #948E85;
}

.footer-nav-list a:hover {
    color: #FAF8F5;
}

.footer-info-item {
    margin-bottom: 1.2rem;
    font-size: 0.9rem;
}

.footer-info-item strong {
    color: #FAF8F5;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-info-item p {
    color: #948E85;
}

.footer-contact-text {
    font-size: 0.88rem;
    margin-bottom: 0.8rem;
}

.footer-phone-highlight {
    display: inline-block;
    font-size: 1.15rem;
    font-weight: 700;
    color: #FAF8F5;
    margin-bottom: 0.5rem;
}

.footer-email-link {
    display: block;
    font-size: 0.88rem;
    color: #948E85;
    margin-bottom: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.8rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #6E6861;
}

.footer-legal-links {
    display: flex;
    gap: 0.8rem;
}

.footer-legal-links a:hover {
    color: #FAF8F5;
}

.secret-admin-link {
    color: inherit;
    text-decoration: none;
    cursor: default;
    user-select: none;
    transition: none;
}

.secret-admin-link:hover,
.secret-admin-link:focus {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.sep {
    color: #444;
}

/* --------------------------------------------------------------------------
   17. MENTIONS LEGALES
   -------------------------------------------------------------------------- */
.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.legal-block {
    margin-bottom: 2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid var(--border-subtle);
}

.legal-block h2 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.legal-block p, .legal-block ul {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.legal-block ul {
    padding-left: 1.4rem;
    margin-top: 0.8rem;
}

.legal-block li {
    margin-bottom: 0.5rem;
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE & ADAPTATION ÉCRANS
   -------------------------------------------------------------------------- */
@media (max-width: 1140px) {
    .header-container {
        padding: 0 1.5rem;
    }

    .header-phone-btn, .nav-btn {
        display: none;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: var(--radius-sm);
        border: 1px solid var(--border-color);
        background: var(--bg-card);
    }

    .mobile-only {
        display: block;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 82%;
        max-width: 340px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid var(--border-color);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.18);
        padding: 5rem 2rem 2.5rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex;
        flex-direction: column;
    }

    .nav.show-menu {
        right: 0;
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1.4rem;
        right: 1.4rem;
        color: var(--heading-color);
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
    }

    .nav-link {
        font-size: 1.1rem;
    }

    .nav-mobile-cta {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .hero-title { font-size: 2.7rem; }
    .hero-container { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { max-width: 500px; }
    .about-container { grid-template-columns: 1fr; gap: 3.5rem; }
    .about-img-col { max-width: 440px; }
    .home-about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .home-about-visual { max-width: 440px; }
    .simulator-wrapper { grid-template-columns: 1fr; }
    .summary-card { position: static; }
    .zone-card-container { grid-template-columns: 1fr; }
    .zone-checker-box { border-left: none; border-top: 1px solid var(--border-color); }
    .contact-container { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .towns-grid-table { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 4.5rem 0; }
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .page-title { font-size: 2.2rem; }

    .about-features-grid {
        grid-template-columns: 1fr;
    }

    .town-col-card ul {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-wrapper-card, .zone-info-side, .zone-checker-box, .legal-content, .home-zone-box {
        padding: 2rem 1.5rem;
    }

    .services-calc-banner {
        flex-direction: column;
        text-align: center;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .floating-action-container {
        bottom: 80px;
        right: 20px;
    }

    .mobile-bottom-bar {
        display: flex;
        gap: 0.5rem;
    }

    body {
        padding-bottom: 70px;
    }
}