/* ==========================================================================
   COUVREUR MEUSE - Global Stylesheet
   Site: couvreur-meuse.com
   Description: Styles globaux pour toutes les pages du site
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES (Variables)
   ========================================================================== */

:root {
    /* Primary Colors - Terre cuite / Orange */
    --primary: #C45A2D;
    --primary-dark: #A04425;
    --primary-light: #D4784F;
    --primary-gradient: linear-gradient(135deg, #C45A2D, #A04425);

    /* Secondary Colors - Gris ardoise */
    --secondary: #2C3E50;
    --secondary-dark: #1a252f;
    --secondary-gradient: linear-gradient(135deg, #2C3E50, #1a252f);

    /* Accent */
    --accent: #E67E22;

    /* Neutrals */
    --white: #FFFFFF;
    --off-white: #F8F6F3;
    --light-gray: #E8E4DF;
    --dark-text: #2C3E50;
    --light-text: #6B7B8D;

    /* Typography */
    --font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;

    /* Spacing */
    --section-padding: 80px;
    --section-padding-mobile: 40px;
    --container-max: 1200px;
    --container-padding: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;

    /* Banner height */
    --banner-height: 44px;
}


/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    font-size: var(--font-size-base);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: var(--line-height-base);
    color: var(--dark-text);
    background-color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--banner-height);
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--dark-text);
}

h1 { font-size: 2.8rem; margin-bottom: 1rem; }
h2 { font-size: 2.2rem; margin-bottom: 0.8rem; }
h3 { font-size: 1.4rem; margin-bottom: 0.6rem; }
h4 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

::selection {
    background-color: var(--primary);
    color: var(--white);
}


/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

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

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.section-header p {
    color: var(--light-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 15px auto 0;
}


/* ==========================================================================
   4. EMERGENCY BANNER (.urgence-banner)
   ========================================================================== */

.urgence-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    height: var(--banner-height);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.urgence-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.urgence-banner strong {
    font-weight: 800;
    letter-spacing: 0.3px;
}

.urgence-banner a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.urgence-banner .urgence-phone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 12px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background var(--transition-base);
}

.urgence-banner .urgence-phone:hover {
    background: rgba(255, 255, 255, 0.35);
}

.urgence-banner a:hover {
    color: var(--off-white);
    opacity: 0.9;
}

.urgence-banner .phone-icon {
    display: inline-block;
    animation: phone-ring 1.5s ease-in-out infinite;
}

@keyframes phone-ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(12deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(8deg); }
    40% { transform: rotate(-6deg); }
    50% { transform: rotate(0deg); }
}


/* ==========================================================================
   5. HEADER & NAVIGATION
   ========================================================================== */

.site-header {
    position: sticky;
    top: var(--banner-height);
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base);
}

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

/* Flex layout for ALL header containers (fixes .container without header-inner/header-container) */
.site-header > .container,
.site-header > .header-inner,
.site-header > .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px var(--container-padding);
    gap: 20px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo .logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.site-logo .logo-text span {
    color: var(--primary);
}

.site-logo .logo-subtitle {
    font-size: 0.7rem;
    color: var(--light-text);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links,
.nav-list {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
}

.nav-links li a,
.nav-list li a {
    display: block;
    padding: 8px 14px;
    color: var(--dark-text);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color var(--transition-base);
    border-radius: var(--radius-sm);
}

.nav-links li a::after,
.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
    border-radius: 1px;
}

.nav-links li a:hover,
.nav-list li a:hover {
    color: var(--primary);
}

.nav-links li a:hover::after,
.nav-list li a:hover::after {
    transform: scaleX(1);
}

.nav-links li a.active,
.nav-list li a.active {
    color: var(--primary);
}

.nav-links li a.active::after,
.nav-list li a.active::after {
    transform: scaleX(1);
}

/* Nav CTA button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white) !important;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(196, 90, 45, 0.35);
}

/* Partner logo (right side) */
.header-partner-logo {
    flex-shrink: 0;
}

.header-partner-logo img {
    max-height: 45px;
    width: auto;
}

/* Hamburger menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    gap: 5px;
    z-index: 10001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    max-height: 0;
    overflow: hidden;
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    overflow: visible;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    border-bottom: 1px solid var(--light-gray);
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    display: block;
    padding: 14px 10px;
    color: var(--dark-text);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-nav ul li a:hover {
    color: var(--primary);
    padding-left: 18px;
}

.mobile-nav .nav-cta-mobile {
    display: block;
    text-align: center;
    margin-top: 15px;
    padding: 14px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition-base);
}

.mobile-nav .nav-cta-mobile:hover {
    background: var(--primary-dark);
    color: var(--white);
}


/* ==========================================================================
   6. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Primary button */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(196, 90, 45, 0.35);
}

/* Secondary button */
.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.35);
}

/* Secondary button on dark backgrounds: use outline style for visibility */
.section-dark .btn-secondary,
.hero .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.section-dark .btn-secondary:hover,
.hero .btn-secondary:hover {
    background: var(--white);
    color: var(--secondary);
    border-color: var(--white);
}

/* Outline button - light background variant */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(196, 90, 45, 0.25);
}

/* Outline button in dark sections (hero, urgence-banner, section-dark) */
.hero .btn-outline,
.urgence-banner .btn-outline,
.section-dark .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero .btn-outline:hover,
.urgence-banner .btn-outline:hover,
.section-dark .btn-outline:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* Phone button */
.btn-phone {
    gap: 10px;
}

.btn-phone::before {
    content: '\260E';
    font-size: 1.1em;
}

/* Large button */
.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius-lg);
}


/* ==========================================================================
   7. HERO SECTION
   ========================================================================== */

.hero {
    background: var(--secondary-gradient);
    color: var(--white);
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(196, 90, 45, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(196, 90, 45, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

/* Hero Stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 2.5rem auto;
    position: relative;
    z-index: 1;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 15px;
    text-align: center;
}

.hero-stat .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.hero-stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}


/* ==========================================================================
   8. TRUST BADGES (.confiance)
   ========================================================================== */

.confiance {
    padding: 60px 0;
    background: var(--white);
}

.confiance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.confiance-badge {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-base);
}

.confiance-badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.confiance-badge .badge-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: var(--primary);
}

.confiance-badge h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.confiance-badge p {
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 0;
}


/* ==========================================================================
   9. SERVICES SECTION
   ========================================================================== */

.services {
    background: var(--off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 35px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.service-card .service-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: block;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.service-card .price {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 18px;
}

.service-card .service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: gap var(--transition-base), color var(--transition-base);
    margin-top: auto;
}

.service-card .service-link::after {
    content: '\2192';
    transition: transform var(--transition-base);
}

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

.service-card .service-link:hover::after {
    transform: translateX(3px);
}


/* ==========================================================================
   10. WHY CHOOSE US (.pourquoi)
   ========================================================================== */

.pourquoi {
    background: var(--white);
}

.pourquoi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pourquoi-item {
    padding: 30px 25px;
    border-radius: var(--radius-md);
    background: var(--off-white);
    border: 1px solid transparent;
    transition: all var(--transition-base);
}

.pourquoi-item:hover {
    border-color: var(--light-gray);
    box-shadow: var(--shadow-sm);
}

.pourquoi-item .pourquoi-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 12px;
    display: block;
}

.pourquoi .pourquoi-item h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 10px;
}

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


/* ==========================================================================
   11. PROCESS SECTION (.processus)
   ========================================================================== */

.processus {
    background: var(--off-white);
}

.processus-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient);
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50%;
    margin: 0 auto 15px;
    position: relative;
    box-shadow: 0 4px 12px rgba(196, 90, 45, 0.3);
}

.step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.step p {
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 0;
}

/* Arrow between steps */
.step-arrow {
    display: flex;
    align-items: center;
    padding-top: 15px;
    color: var(--light-gray);
    font-size: 1.5rem;
    flex-shrink: 0;
}


/* ==========================================================================
   12. ZONE COVERAGE (.zone-couverture)
   ========================================================================== */

.zone-couverture {
    background: var(--white);
}

.cantons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.canton-card {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md);
    padding: 25px;
    text-decoration: none;
    display: block;
    transition: all var(--transition-base);
}

.canton-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.canton-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.canton-card .canton-count {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 10px;
}

.canton-card .canton-link {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.canton-card .canton-link::after {
    content: '\2192';
    transition: transform var(--transition-base);
}

.canton-card:hover .canton-link::after {
    transform: translateX(4px);
}


/* ==========================================================================
   13. CONTACT FORM
   ========================================================================== */

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    overflow: visible;
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-grid .form-group.full-width {
    grid-column: 1 / -1;
}

.form-group {
    margin-bottom: 0;
    position: relative;
    overflow: visible;
}

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

.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--dark-text);
    background: var(--white);
    border: 1.5px solid var(--light-gray);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(196, 90, 45, 0.12);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
    color: var(--light-text);
    opacity: 1;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7B8D' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Checkbox group */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
}

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

.checkbox-group label,
.checkbox-group span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--dark-text);
    line-height: 1.5;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group label a {
    color: var(--primary);
    text-decoration: underline;
}

/* Honeypot */
.honeypot-field {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}

/* Form submit button */
.form-container .btn {
    width: 100%;
    margin-top: 10px;
    padding: 14px 28px;
    font-size: 1.05rem;
}


/* ==========================================================================
   14. AUTOCOMPLETE
   ========================================================================== */

.autocomplete-wrapper {
    position: relative;
    overflow: visible;
}

.autocomplete-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--white);
    border: 1.5px solid var(--light-gray);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-height: 250px;
    overflow-y: auto;
    margin-top: -1px;
    list-style: none;
}

.autocomplete-results li {
    padding: 10px 16px;
    font-size: 0.95rem;
    color: var(--dark-text);
    cursor: pointer;
    transition: background var(--transition-fast);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.autocomplete-results li:last-child {
    border-bottom: none;
}

.autocomplete-results li:hover {
    background: var(--off-white);
}

.autocomplete-results li.active {
    background: var(--primary-light);
    color: var(--white);
}

.autocomplete-results li .commune-canton {
    font-size: 0.8rem;
    color: var(--light-text);
    margin-left: 8px;
}

.autocomplete-results li.active .commune-canton {
    color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   15. TESTIMONIALS (.temoignages)
   ========================================================================== */

.temoignages {
    background: var(--off-white);
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.temoignage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--light-gray);
    position: relative;
    transition: all var(--transition-base);
}

.temoignage-card:hover {
    box-shadow: var(--shadow-md);
}

.temoignage-card::before {
    content: '\201C';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 4rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.1;
    font-family: Georgia, serif;
    pointer-events: none;
}

.temoignage-stars {
    color: #f39c12;
    font-size: 1rem;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.temoignage-card .temoignage-text {
    font-size: 0.95rem;
    color: var(--dark-text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 18px;
}

.temoignage-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.temoignage-author .author-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.temoignage-author .author-info .author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--secondary);
}

.temoignage-author .author-info .author-location {
    font-size: 0.8rem;
    color: var(--light-text);
}


/* ==========================================================================
   16. FAQ SECTION
   ========================================================================== */

.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--light-gray);
}

.faq-item:first-child {
    border-top: 1px solid var(--light-gray);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5px;
    cursor: pointer;
    user-select: none;
    transition: color var(--transition-base);
}

.faq-question h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0;
    color: var(--secondary);
    padding-right: 20px;
    transition: color var(--transition-base);
}

.faq-question::after {
    content: '+';
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform var(--transition-slow);
    line-height: 1;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow) ease;
}

.faq-answer-inner {
    padding: 0 5px 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--light-text);
    line-height: 1.7;
    margin: 0;
}

/* FAQ Active State */
.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}


/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.site-footer {
    background: var(--secondary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-col .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.footer-col .footer-contact-item .contact-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.85rem;
}


/* ==========================================================================
   18. BREADCRUMB
   ========================================================================== */

.breadcrumb {
    padding: 15px 0;
    font-size: 0.9rem;
}

.breadcrumb ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    list-style: none;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb li + li::before {
    content: '>';
    color: var(--light-text);
    margin-right: 2px;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-base);
}

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

.breadcrumb .current {
    color: var(--light-text);
    font-weight: 500;
}


/* ==========================================================================
   19. SECTION DARK
   ========================================================================== */

.section-dark {
    background: var(--secondary-gradient);
    color: var(--white);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.section-dark .section-header h2::after {
    background: var(--primary);
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.85);
}


/* ==========================================================================
   20. CTA SECTION
   ========================================================================== */

.cta-section {
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

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

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


/* ==========================================================================
   21. UTILITIES
   ========================================================================== */

/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }

/* Display */
.d-flex { display: flex; }
.d-grid { display: grid; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

/* Visibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Screen reader only (alias) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==========================================================================
   21b. COMMUNES GRID (zones-intervention, cantons)
   ========================================================================== */

.communes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.commune-pill {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    color: var(--secondary);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.commune-pill:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 90, 45, 0.25);
}


/* ==========================================================================
   ALIASES - Bridge between HTML class variants and CSS definitions
   ============================================================ */

/* Logo - alias for .site-logo */
.logo,
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.logo .logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.logo .logo-text span {
    color: var(--primary);
}

.logo .logo-subtitle {
    font-size: 0.7rem;
    color: var(--light-text);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
}

.nav-menu ul li a {
    display: block;
    padding: 8px 14px;
    color: var(--dark-text);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    transition: color var(--transition-base);
    border-radius: var(--radius-sm);
}

.nav-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-base);
    border-radius: 1px;
}

.nav-menu ul li a:hover {
    color: var(--primary);
}

.nav-menu ul li a:hover::after {
    transform: scaleX(1);
}

/* Header - alias for .header-inner */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 20px;
}

.header-logo-img {
    max-height: 45px;
    width: auto;
}

.header-logo-right {
    display: flex;
    align-items: center;
}

.header-logo-right img {
    max-height: 45px;
    width: auto;
}

.logo-img {
    max-height: 45px;
    width: auto;
}

/* Mobile menu toggle - alias for .menu-toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    gap: 5px;
    z-index: 10001;
}

.mobile-menu-toggle span,
.hamburger-line {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--secondary);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Hero stats - aliases for .hero-stat */
.stat-item,
.stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 20px 15px;
    text-align: center;
}

/* .stat-number - alias for .stat-value */
.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

/* .stat-label in hero context */
.hero .stat-label,
.hero-stats .stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 4px;
}

/* Trust badges - aliases */
.confiance-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--radius-md);
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    transition: all var(--transition-base);
}

.confiance-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.confiance-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.confiance-card p {
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 0;
}

/* .confiance-icon - alias for .badge-icon */
.confiance-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: var(--primary);
}

.confiance-card .confiance-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: var(--primary);
}

/* Service cards aliases */
.service-price {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-card-icon {
    font-size: 2.8rem;
    margin-bottom: 18px;
    display: block;
}

/* Process - aliases for .processus-steps and .step */
.processus-grid,
.process-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.processus-step,
.process-step {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    text-align: center;
    position: relative;
}

.processus-step h3,
.process-step h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
}

.processus-step p,
.process-step p {
    font-size: 0.85rem;
    color: var(--light-text);
    margin: 0;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Cards grid - alias for .services-grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Section generic */
.section {
    padding: 60px 0;
}

.section-alt {
    background-color: var(--off-white);
}

/* Tarifs */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tarif-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s;
}

.tarif-card:hover {
    transform: translateY(-5px);
}

.tarif-card-header h3 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.tarif-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 15px 0;
}

.tarif-card-details {
    font-size: 0.9rem;
    color: var(--light-text);
}

.tarifs-note {
    text-align: center;
    margin-top: 20px;
    font-style: italic;
    color: var(--light-text);
}

/* Dropdown menu */
.has-dropdown {
    position: relative;
}

.has-dropdown:hover .dropdown,
.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown,
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 1000;
}

.dropdown li,
.dropdown-menu li {
    list-style: none;
}

.dropdown li a,
.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--dark-text);
    text-decoration: none;
    transition: background 0.2s;
}

.dropdown li a:hover,
.dropdown-menu li a:hover {
    background: var(--off-white);
    color: var(--primary);
}

/* Section intro / CTA */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.section-subtitle {
    text-align: center;
    color: var(--light-text);
    max-width: 600px;
    margin: -10px auto 30px;
}

.section-cta {
    text-align: center;
    margin-top: 30px;
}

/* Form variants */
.form-group-checkbox,
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.form-group-checkbox input[type="checkbox"],
.form-checkbox input[type="checkbox"] {
    margin-top: 4px;
    min-width: 18px;
}

.checkbox-label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}

/* .btn-submit - same as .btn.btn-primary.btn-lg */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    font-family: var(--font-family);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    background: var(--primary);
    color: var(--white);
}

.btn-submit:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(196, 90, 45, 0.35);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

/* Commune cards (canton pages) */
.commune-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    background: var(--white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s;
    border: 1px solid var(--light-gray);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.commune-card:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196,90,45,0.3);
}

.commune-name {
    font-weight: 600;
    font-size: 0.95rem;
}

.commune-pop {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 2px;
}

/* Nav urgence */
.nav-urgence {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Hero description alias */
.hero-description {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Page hero / service hero */
.page-hero,
.service-hero {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-hero h1,
.service-hero h1 {
    color: white;
}

.page-hero p,
.service-hero p {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer phone */
.footer-phone {
    margin-top: 15px;
}

.footer-phone a {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
}


/* ==========================================================================
   22. RESPONSIVE - TABLET (max-width: 992px)
   ========================================================================== */

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

    .services-grid,
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pourquoi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cantons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .temoignages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .confiance-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tarifs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ==========================================================================
   23. RESPONSIVE - MOBILE (max-width: 768px)
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --section-padding: 40px;
        --banner-height: 40px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.2rem; }

    /* Header */
    .main-nav,
    .nav-menu {
        display: none;
    }

    /* Mobile menu for pages without .mobile-nav (canton/city pages) */
    .nav-menu.open,
    .main-nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 20px;
        z-index: 10000;
    }

    .nav-menu.open ul,
    .main-nav.open ul,
    .main-nav.open .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        list-style: none;
    }

    .nav-menu.open ul li a,
    .main-nav.open ul li a,
    .main-nav.open .nav-list li a {
        display: block;
        padding: 14px 10px;
        color: var(--dark-text);
        font-size: 1rem;
        font-weight: 500;
        text-decoration: none;
        border-bottom: 1px solid var(--light-gray);
        transition: all var(--transition-fast);
    }

    .nav-menu.open ul li:last-child a,
    .main-nav.open ul li:last-child a,
    .main-nav.open .nav-list li:last-child a {
        border-bottom: none;
    }

    .nav-menu.open ul li a:hover,
    .main-nav.open ul li a:hover {
        color: var(--primary);
        padding-left: 18px;
    }

    .nav-menu.open ul li a::after,
    .main-nav.open ul li a::after {
        display: none;
    }

    /* Flatten dropdown submenus inside mobile open nav */
    .nav-menu.open .has-dropdown .dropdown,
    .nav-menu.open .has-dropdown .dropdown-menu,
    .main-nav.open .has-dropdown .dropdown,
    .main-nav.open .has-dropdown .dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        min-width: 0;
        padding: 0;
        border-radius: 0;
    }

    .nav-menu.open .has-dropdown .dropdown li a,
    .nav-menu.open .has-dropdown .dropdown-menu li a,
    .main-nav.open .has-dropdown .dropdown li a,
    .main-nav.open .has-dropdown .dropdown-menu li a {
        padding-left: 30px;
        font-size: 0.95rem;
    }

    /* Hide parent "Services" link on mobile since submenu is expanded */
    .nav-menu.open .has-dropdown > a,
    .main-nav.open .has-dropdown > a {
        font-weight: 600;
        color: var(--secondary);
        pointer-events: none;
        border-bottom: none;
    }

    .menu-toggle,
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .header-inner,
    .header-container {
        padding: 10px 0;
    }

    .header-partner-logo img,
    .header-logo-img,
    .header-logo-right {
        display: none;
    }

    /* Hero */
    .hero {
        padding: 80px 0 50px;
    }

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

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

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .hero-stat {
        padding: 15px 10px;
    }

    .hero-stat .stat-value {
        font-size: 1.4rem;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Trust badges */
    .confiance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .confiance-badge {
        padding: 20px 15px;
    }

    /* Services */
    .services-grid,
    .cards-grid {
        grid-template-columns: 1fr;
    }

    /* Pourquoi */
    .pourquoi-grid {
        grid-template-columns: 1fr;
    }

    /* Process */
    .processus-steps,
    .processus-grid,
    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step,
    .processus-step,
    .process-step {
        max-width: 280px;
    }

    .step-arrow {
        transform: rotate(90deg);
        padding: 0;
    }

    /* Cantons */
    .cantons-grid {
        grid-template-columns: 1fr;
    }

    /* Form */
    .form-container {
        padding: 25px 20px;
    }

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

    /* Testimonials */
    .temoignages-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-question {
        padding: 16px 5px;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Buttons */
    .btn {
        padding: 11px 22px;
        font-size: 0.95rem;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 1rem;
    }

    /* Section header */
    .section-header {
        margin-bottom: 30px;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 0.8rem;
        padding: 10px 0;
    }
}


/* ==========================================================================
   24. RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ========================================================================== */

@media (max-width: 480px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }

    .hero {
        padding: 60px 0 40px;
    }

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

    .hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .hero-stat .stat-value {
        font-size: 1.2rem;
    }

    .hero-stat .stat-label {
        font-size: 0.75rem;
    }

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

    .confiance-badge .badge-icon {
        font-size: 2rem;
    }

    .form-container {
        padding: 20px 15px;
        border-radius: var(--radius-md);
    }

    .site-logo .logo-text {
        font-size: 1.1rem;
    }

    .urgence-banner {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}


/* ==========================================================================
   URGENCE CTA SECTION (before footer on canton pages)
   ========================================================================== */

.urgence-cta {
    background: var(--primary-gradient);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
}

.urgence-cta h2 {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.urgence-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.urgence-cta .btn {
    font-size: 1.1rem;
    padding: 16px 36px;
}

.urgence-cta .btn-outline {
    color: var(--white);
    border-color: var(--white);
    border-width: 2px;
}

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


/* ==========================================================================
   25. PRINT STYLES
   ========================================================================== */

@media print {
    .urgence-banner,
    .site-header,
    .menu-toggle,
    .mobile-nav,
    .hero-buttons,
    .site-footer,
    .btn {
        display: none !important;
    }

    body {
        padding-top: 0;
        background: #fff;
        color: #000;
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }

    .hero {
        background: none !important;
        color: #000;
        padding: 20px 0;
    }

    .hero h1 {
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .service-card,
    .temoignage-card,
    .confiance-badge {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
}


/* ==========================================================================
   26. ANIMATIONS
   ========================================================================== */

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

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}
