/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --primary: #0b132b;          /* Deep dark slate */
    --primary-light: #1c2541;    /* Slate navy */
    --primary-glow: rgba(11, 19, 43, 0.05);
    
    --accent-blue: #00b4d8;      /* Cool blue (Water/AC) */
    --accent-blue-dark: #0077b6;
    --accent-blue-glow: rgba(0, 180, 216, 0.15);
    
    --accent-orange: #f77f00;    /* Amber/Orange (Heat/Solar) */
    --accent-orange-dark: #d62828;
    --accent-orange-glow: rgba(247, 127, 0, 0.15);
    
    --success: #2a9d8f;          /* Eco green */
    --success-glow: rgba(42, 157, 143, 0.15);
    
    --bg-light: #f8f9fa;         /* Warm white */
    --bg-white: #ffffff;
    
    /* Text Colors */
    --text-dark: #2b2d42;
    --text-muted: #6c757d;
    --text-light: #f8f9fa;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Shadows & Glassmorphism */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 20px -5px rgba(11, 19, 43, 0.08), 0 8px 16px -6px rgba(11, 19, 43, 0.06);
    --shadow-lg: 0 25px 50px -12px rgba(11, 19, 43, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   BUTTONS & UI ELEMENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--text-light);
    box-shadow: 0 4px 14px var(--accent-orange-glow);
}

.btn-primary:hover {
    background-color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-blue-glow);
}

.btn-secondary {
    background-color: var(--accent-blue);
    color: var(--text-light);
    box-shadow: 0 4px 14px var(--accent-blue-glow);
}

.btn-secondary:hover {
    background-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-orange-glow);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary);
    border-color: var(--bg-white);
    transform: translateY(-2px);
}

/* Badge styles */
.badge-accent {
    background-color: var(--accent-orange-glow);
    color: var(--accent-orange);
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.badge-rge {
    background-color: var(--success-glow);
    color: var(--success);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    display: inline-block;
}

.badge-rge.blue {
    background-color: var(--accent-blue-glow);
    color: var(--accent-blue-dark);
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */
.top-bar {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 0.5rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-info {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-info a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-info a:hover {
    color: var(--accent-blue);
}

.icon-small {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.top-divider {
    color: rgba(255, 255, 255, 0.2);
}

.top-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-hours {
    color: rgba(255, 255, 255, 0.6);
}

/* Main Header */
.main-header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.main-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

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

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.brand-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-blue-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.nav-menu ul {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-blue);
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue-dark);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.hamburger-bar {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    background: radial-gradient(circle at 70% 30%, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 6rem 0 8rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(30deg, rgba(0, 180, 216, 0.05) 0%, rgba(247, 127, 0, 0.05) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--bg-white);
    margin: 1rem 0 1.5rem;
    letter-spacing: -0.02em;
}

.hero-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
}

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

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: var(--success);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Quick Contact Card */
.hero-card-wrapper {
    position: relative;
}

.hero-info-card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--accent-orange);
}

.hero-info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.hero-info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.quick-call-box {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background-color: var(--bg-light);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.phone-ring-animation {
    width: 45px;
    height: 45px;
    background-color: var(--accent-blue);
    border-radius: var(--radius-full);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-ring-animation::before {
    content: '📞';
    font-size: 1.25rem;
    z-index: 2;
}

.phone-ring-animation::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    background-color: var(--accent-blue);
    opacity: 0.4;
    animation: ring 1.5s infinite ease-out;
    z-index: 1;
}

@keyframes ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

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

.call-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
}

.call-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-blue-dark);
}

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

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Wave bottom divider */
.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom svg {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    background-color: var(--bg-light);
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-container {
    display: flex;
    justify-content: center;
}

.trust-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-logo-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
}

.logo-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--success-glow);
    color: var(--success);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
}

.logo-badge-icon.blue {
    background-color: var(--accent-blue-glow);
    color: var(--accent-blue-dark);
}

.logo-badge-icon.orange {
    background-color: var(--accent-orange-glow);
    color: var(--accent-orange);
}

.trust-logo-item strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
}

.trust-logo-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 7rem 0;
    background-color: var(--bg-white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 0.75rem;
}

.section-subtitle.light {
    color: var(--accent-orange);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(11, 19, 43, 0.05);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 19, 43, 0.1);
}

.service-card[data-service="chauffage"]:hover::before {
    background-color: var(--accent-orange);
}

.service-card[data-service="plomberie"]:hover::before {
    background-color: var(--accent-blue-dark);
}

.service-card[data-service="climatisation"]:hover::before {
    background-color: var(--accent-blue);
}

.service-card[data-service="solaire"]:hover::before {
    background-color: var(--success);
}

.service-icon-bg {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 30px;
    height: 30px;
}

.color-heating {
    background-color: var(--accent-orange-glow);
    color: var(--accent-orange);
}

.color-heating .service-icon { fill: currentColor; }

.color-plumbing {
    background-color: var(--accent-blue-glow);
    color: var(--accent-blue-dark);
}

.color-plumbing .service-icon { fill: currentColor; }

.color-ac {
    background-color: var(--accent-blue-glow);
    color: var(--accent-blue);
}

.color-ac .service-icon { fill: currentColor; }

.color-solar {
    background-color: var(--success-glow);
    color: var(--success);
}

.color-solar .service-icon { fill: currentColor; }

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-list {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-list li {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-list li::before {
    content: '•';
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.service-card[data-service="chauffage"] .service-list li::before {
    color: var(--accent-orange);
}

.service-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-blue-dark);
    align-self: flex-start;
}

.service-card[data-service="chauffage"] .service-link {
    color: var(--accent-orange);
}

.service-link:hover {
    letter-spacing: 0.02em;
}

/* ==========================================================================
   PROMO / AIDES ETAT SECTION
   ========================================================================== */
.promo-section {
    position: relative;
    background-color: var(--primary);
    color: var(--text-light);
    padding: 8rem 0;
    overflow: hidden;
}

.promo-bg-glow {
    position: absolute;
    top: -50%;
    left: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(circle, var(--accent-blue-glow) 0%, transparent 60%);
    pointer-events: none;
}

.promo-container {
    position: relative;
    z-index: 2;
}

.promo-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

/* Aids Card Design */
.aids-card {
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    transform: rotate(-2deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.aids-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.aids-flag {
    font-size: 2rem;
}

.aids-header h4 {
    font-size: 1.25rem;
    color: var(--primary);
}

.aids-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.aids-card strong {
    color: var(--accent-orange);
    font-size: 1.35rem;
    display: block;
    margin: 0.5rem 0;
}

.aids-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
}

.aids-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
    background-color: var(--success-glow);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* Promo text side */
.promo-text h2 {
    color: var(--bg-white);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.promo-text > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.aids-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.aid-step-item {
    display: flex;
    gap: 1.25rem;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-orange);
    background-color: rgba(255, 255, 255, 0.05);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.aid-step-item h5 {
    color: var(--bg-white);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.aid-step-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ==========================================================================
   REALISATIONS SECTION
   ========================================================================== */
.portfolio-section {
    padding: 7rem 0;
    background-color: var(--bg-light);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background-color: var(--bg-white);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
    background-color: var(--primary-light);
    color: var(--text-light);
    border-color: var(--primary-light);
}

.filter-btn.active {
    background-color: var(--accent-blue-dark);
    color: var(--text-light);
    border-color: var(--accent-blue-dark);
    box-shadow: 0 4px 10px var(--accent-blue-glow);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-normal);
}

.portfolio-img-wrapper {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.portfolio-hover {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(to top, rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.portfolio-img-wrapper:hover .portfolio-img {
    transform: scale(1.08);
}

.portfolio-img-wrapper:hover .portfolio-hover {
    opacity: 1;
}

.portfolio-cat {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue);
    margin-bottom: 0.4rem;
}

.portfolio-hover h4 {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.portfolio-hover p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* ==========================================================================
   CONTACT & INTERACTIVE DEVIS WIZARD
   ========================================================================== */
.contact-section {
    padding: 7rem 0;
    background-color: var(--bg-white);
}

.contact-container {
    max-width: 1100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-info-panel h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.contact-info-panel > p {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-detail-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.detail-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-white);
    color: var(--accent-blue-dark);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

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

.detail-text span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.detail-text a, .detail-text address {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    font-style: normal;
}

.detail-text a:hover {
    color: var(--accent-blue);
}

.coverage-map-info {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.coverage-map-info h5 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.coverage-map-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Devis Wizard Form Style */
.wizard-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(11, 19, 43, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-lg);
    min-height: 480px;
    position: relative;
    overflow: hidden;
}

.wizard-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
}

.wizard-progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--bg-light);
    transform: translateY(-50%);
    z-index: 1;
}

.progress-step {
    width: 36px;
    height: 36px;
    background-color: var(--bg-white);
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: var(--transition-fast);
}

.progress-step.active {
    border-color: var(--accent-blue-dark);
    background-color: var(--accent-blue-dark);
    color: var(--text-light);
    box-shadow: 0 4px 10px var(--accent-blue-glow);
}

.progress-step.completed {
    border-color: var(--success);
    background-color: var(--success);
    color: var(--text-light);
}

/* Wizard steps animation */
.wizard-step-content {
    display: none;
    animation: slideIn 0.4s ease-out;
}

.wizard-step-content.active {
    display: block;
}

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

.wizard-step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.wizard-step-content > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Form controls */
.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(11, 19, 43, 0.15);
    background-color: var(--bg-white);
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-blue-dark);
    box-shadow: 0 0 0 4px var(--accent-blue-glow);
}

textarea.form-control {
    resize: none;
}

/* Radio Choice Cards */
.wizard-grid-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.wizard-option-card {
    cursor: pointer;
}

.wizard-option-card input {
    display: none;
}

.option-card-inner {
    border: 1px solid rgba(11, 19, 43, 0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    background-color: var(--bg-white);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.option-icon {
    font-size: 2.25rem;
}

.option-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}

.wizard-option-card input:checked + .option-card-inner {
    border-color: var(--accent-blue);
    background-color: var(--accent-blue-glow);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Actions in form */
.wizard-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
}

/* Success layout */
.wizard-success-message {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.4s ease;
}

.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    background-color: var(--success-glow);
    color: var(--success);
    font-size: 2rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.wizard-success-message h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.wizard-success-message p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 6rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    border-radius: var(--radius-sm);
}

.footer-logo .brand-name {
    color: var(--bg-white);
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
}

/* Columns links */
.footer-col h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-orange);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul a {
    font-size: 0.9rem;
}

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

/* Contact information */
.footer-phone-email {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.footer-phone-email a {
    color: var(--bg-white);
    font-weight: 700;
}

.footer-phone-email a:hover {
    color: var(--accent-blue);
}

/* Hours Table */
.hours-table {
    width: 100%;
    font-size: 0.85rem;
}

.hours-table td {
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--bg-white);
    font-weight: 600;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   BLOG / ACTUALITES (HOME CARDS)
   ========================================================================== */
.blog-section {
    padding: 7rem 0;
    background-color: var(--bg-white);
}

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

.blog-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(11, 19, 43, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(11, 19, 43, 0.12);
}

.blog-img-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.blog-card:hover .blog-img {
    transform: scale(1.05);
}

.blog-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.blog-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.blog-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card-content h3 a:hover {
    color: var(--accent-blue-dark);
}

.blog-card-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--accent-blue-dark);
    align-self: flex-start;
}

/* ==========================================================================
   SIMULATORS LAYOUT
   ========================================================================== */
.sim-page-container {
    background-color: var(--bg-light);
}

.sim-hero {
    background: radial-gradient(circle at 70% 30%, var(--primary-light) 0%, var(--primary) 100%);
    color: var(--text-light);
    padding: 4.5rem 0;
    text-align: center;
}

.sim-hero h1 {
    color: var(--bg-white);
    font-size: 2.75rem;
    margin: 0.5rem 0 1rem;
}

.sim-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.sim-content-section {
    padding: 5rem 0;
}

/* Tabs switcher */
.sim-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.sim-tab-btn {
    background-color: var(--bg-white);
    border: 1px solid rgba(11, 19, 43, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.sim-tab-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.sim-tab-btn.active {
    border-color: var(--accent-blue-dark);
    box-shadow: 0 10px 30px var(--accent-blue-glow);
    background-color: var(--glass-bg);
}

.tab-icon {
    font-size: 2.25rem;
}

.tab-text strong {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--primary);
    display: block;
}

.tab-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Panels */
.sim-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.sim-panel.active {
    display: block;
}

.sim-panel-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.sim-card-form {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 19, 43, 0.05);
}

.sim-card-form h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.card-intro {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
}

/* Range input styled */
.label-slider-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-val-bubble {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--accent-blue-dark);
    background-color: var(--accent-blue-glow);
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-sm);
}

.slider-control {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: var(--radius-full);
    background: #e9ecef;
    outline: none;
    margin: 1rem 0;
}

.slider-control::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background: var(--accent-blue-dark);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: transform 0.1s;
}

.slider-control::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Radio toggle group */
.radio-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background-color: var(--bg-light);
    padding: 0.4rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.05);
}

.radio-toggle-item {
    cursor: pointer;
    text-align: center;
}

.radio-toggle-item input {
    display: none;
}

.radio-toggle-item span {
    display: block;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.radio-toggle-item input:checked + span {
    background-color: var(--bg-white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Card profil ANAH */
.anah-profile-card {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.profile-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.profile-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Modeles de couleurs de profil */
.profile-bleu {
    background-color: rgba(30, 144, 255, 0.06);
    border-color: rgba(30, 144, 255, 0.2);
}
.profile-bleu .profile-indicator {
    background-color: #1e90ff;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.5);
}
.profile-bleu strong {
    color: #1c7ed6;
}

.profile-jaune {
    background-color: rgba(245, 194, 66, 0.07);
    border-color: rgba(245, 194, 66, 0.3);
}
.profile-jaune .profile-indicator {
    background-color: #f5c242;
    box-shadow: 0 0 8px rgba(245, 194, 66, 0.5);
}
.profile-jaune strong {
    color: #cc9a06;
}

.profile-violet {
    background-color: rgba(147, 51, 234, 0.06);
    border-color: rgba(147, 51, 234, 0.2);
}
.profile-violet .profile-indicator {
    background-color: #9333ea;
    box-shadow: 0 0 8px rgba(147, 51, 234, 0.5);
}
.profile-violet strong {
    color: #7e22ce;
}

.profile-rose {
    background-color: rgba(236, 72, 153, 0.06);
    border-color: rgba(236, 72, 153, 0.2);
}
.profile-rose .profile-indicator {
    background-color: #ec4899;
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.5);
}
.profile-rose strong {
    color: #db2777;
}

.form-notice {
    background-color: rgba(11, 19, 43, 0.02);
    border-left: 3px solid var(--accent-blue);
    padding: 1rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.85rem;
}

/* Results panel sticky */
.results-sticky {
    position: sticky;
    top: 100px;
}

.sim-card-results {
    background-color: var(--primary);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.sim-card-results h3 {
    color: var(--bg-white);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.results-visual {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.results-number {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.theme-aides .results-number { color: var(--accent-blue); }
.theme-sizing .results-number { color: var(--accent-orange); }

.results-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    display: block;
}

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

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.breakdown-row span {
    color: rgba(255, 255, 255, 0.7);
}

.breakdown-row strong {
    color: var(--bg-white);
}

.breakdown-row.highlight-green strong {
    color: var(--success);
}

.breakdown-row.total-row {
    font-size: 1.15rem;
    font-weight: 800;
}

.results-breakdown hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.results-message-box {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--accent-orange);
    font-size: 0.88rem;
}

.results-message-box h5 {
    color: var(--bg-white);
    margin-bottom: 0.25rem;
}

.results-cta-box h5 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.results-cta-box p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.btn-block {
    width: 100%;
}

/* Simulator submission card */
.sim-contact-form-wrapper {
    margin-top: 5rem;
}

.sim-contact-card {
    background-color: var(--bg-white);
    border: 1px solid rgba(11, 19, 43, 0.08);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
}

.sim-contact-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.sim-contact-card > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

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

.form-row-two {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 1.5rem;
}

.sim-submit-row {
    margin-top: 2rem;
    text-align: right;
}

.sim-success-box {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.4s ease;
}

/* ==========================================================================
   BLOG POST READ LAYOUT
   ========================================================================== */
.blog-post-container {
    background-color: var(--bg-light);
    padding-bottom: 7rem;
}

.breadcrumb {
    background-color: var(--bg-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent-blue-dark);
}

.breadcrumb .active {
    color: var(--primary);
    font-weight: 600;
}

.post-content-section {
    padding: 5rem 0;
}

.post-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 4rem;
}

.post-main-article {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 4rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 19, 43, 0.05);
}

.post-meta-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-date-pub {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.post-main-article h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
}

.post-author-box {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.25rem 0;
    margin-bottom: 2.5rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--accent-blue-glow);
    color: var(--accent-blue-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.post-featured-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16/9;
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f8fafc;
}

.post-featured-image img.is-fallback {
    object-fit: contain !important;
    background-color: #f8fafc;
    padding: 3rem;
}

/* Typography of article body */
.post-body-text p {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 1.75rem;
    line-height: 1.75;
}

.post-body-text h3 {
    font-size: 1.5rem;
    margin: 3rem 0 1.25rem;
}

.post-body-text h4 {
    font-size: 1.2rem;
    margin: 2rem 0 1rem;
}

.post-body-text ul, .post-body-text ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.post-body-text ul li {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.post-body-text ol li {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    list-style-type: decimal;
}

.post-body-text blockquote {
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-blue-dark);
    padding: 1.5rem 2rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 2.5rem 0;
    font-style: italic;
}

.post-body-text blockquote p {
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* Tables inside articles */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    font-size: 0.95rem;
    text-align: left;
}

.article-table th {
    background-color: var(--primary);
    color: var(--text-light);
    padding: 0.75rem 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
}

.article-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.article-table tr:nth-child(even) {
    background-color: var(--bg-light);
}

/* Sidebar styling */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.sidebar-widget {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(11, 19, 43, 0.05);
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.sidebar-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background-color: var(--accent-blue);
}

.sidebar-widget p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.sidebar-phone {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-blue-dark);
    display: block;
    margin-bottom: 0.5rem;
}

.sidebar-email {
    font-size: 0.88rem;
    color: var(--text-dark);
    font-weight: 600;
}

.sidebar-widget ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-widget ul a {
    font-size: 0.88rem;
    font-weight: 600;
}

.sidebar-widget ul a:hover {
    color: var(--accent-blue-dark);
}


/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-info-card {
        max-width: 550px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    /* Top bar */
    .top-bar-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
    .top-meta {
        width: 100%;
        justify-content: space-between;
    }
    
    /* Navigation */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2.5rem;
        transition: var(--transition-normal);
        align-items: stretch;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 1.25rem;
    }
    
    /* Hero */
    .hero-section {
        padding: 4rem 0 6rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    /* Services / Sections */
    .section-header h2 {
        font-size: 2rem;
    }
    
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .aids-card {
        transform: none;
        max-width: 450px;
        margin: 0 auto;
    }
    
    /* Contact & Wizard */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .wizard-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 500px) {
    .wizard-grid-options {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Dynamic spinner styles */
.spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Quali badges in top bar */
.header-quali-badges {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    margin-right: 0.5rem;
    vertical-align: middle;
    flex-wrap: wrap;
}

.badge-quali {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    line-height: 1;
    text-decoration: none;
}

.badge-quali:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.18);
}

.badge-quali.qualipac {
    background: linear-gradient(135deg, #7b1fa2, #4a148c); /* Rich purple QualiPac */
    border-left: 3px solid #e040fb;
}

.badge-quali.qualibois {
    background: linear-gradient(135deg, #689f38, #33691e); /* Forest green QualiBois */
    border-left: 3px solid #76ff03;
}

.badge-quali.qualipv {
    background: linear-gradient(135deg, #0288d1, #01579b); /* Deep blue QualiPV */
    border-left: 3px solid #ffeb3b; /* Gold accent */
}

.badge-quali.qualivent {
    background: linear-gradient(135deg, #8d6e63, #4e342e); /* Brown/bronze Ventilation+ */
    border-left: 3px solid #ffab40;
}

/* Header Services Bar matching live website */
.header-services-bar {
    background-color: #0b5fb2; /* Brand blue matching the live site button background */
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.services-bar-content {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-service {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.6rem 1.5rem;
    border: 2px solid #ffffff;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-service.btn-plomberie {
    background-color: rgba(255, 255, 255, 0.18); /* Plomberie highlight matching screenshot */
}

.btn-service:hover {
    background-color: #ffffff;
    color: #0b5fb2 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-service .chevron {
    font-size: 1.1rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .header-services-bar {
        padding: 0.6rem 0;
    }
    .services-bar-content {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0 1rem;
    }
    .btn-service {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

