/*
Theme Name: IVS Energies
Theme URI: https://ivs-energies.fr
Author: IVS Energies
Description: Thème WordPress professionnel pour IVS Energies - Climatisation, chauffage et plomberie à Livry-Gargan
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ivs-energies
Tags: business, responsive, french, hvac
*/

/* =========================================
   DESIGN TOKENS v2 (merged from tokens.css)
   ========================================= */

:root {
  /* ─── Brand ─────────────────────────────────────────────── */
  --color-primary:        #E85A2B;
  --color-primary-hover:  #D44A1F;
  --color-primary-soft:   #FFF4EE;

  /* ─── Trust / pro ───────────────────────────────────────── */
  --color-navy:           #1E2A6B;
  --color-navy-hover:     #18225A;

  /* ─── Neutrals ──────────────────────────────────────────── */
  --color-text:           #0F172A;
  --color-text-muted:     #475569;
  --color-text-soft:      #64748B;
  --color-border:         #E2E8F0;
  --color-bg:             #FFFFFF;
  --color-bg-soft:        #F8FAFC;
  --color-bg-warm:        #FFFBF7;

  /* ─── Accents ───────────────────────────────────────────── */
  --color-success:        #10B981;
  --color-warning:        #F59E0B;
  --color-danger:         #DC2626;
  --color-rating:         #FBBF24;

  /* ─── Spacing ───────────────────────────────────────────── */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  24px;
  --space-6:  32px;
  --space-7:  48px;
  --space-8:  64px;
  --space-9:  96px;

  /* ─── Cards ─────────────────────────────────────────────── */
  --card-padding-desktop: 32px;
  --card-padding-mobile:  24px;
  --card-radius:          12px;
  --card-border:          1px solid var(--color-border);
  --card-shadow:          0 1px 3px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.06);
  --card-shadow-hover:    0 4px 12px rgba(15,23,42,0.08), 0 16px 40px rgba(15,23,42,0.10);

  /* ─── Sections ──────────────────────────────────────────── */
  --section-padding-desktop: 96px 0;
  --section-padding-mobile:  64px 0;
  --container-max:           1200px;
  --prose-max:               680px;

  /* ─── Typography ────────────────────────────────────────── */
  --font-sans:       'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-h1:         clamp(2rem, 4vw, 3rem);
  --text-h2:         clamp(1.75rem, 3vw, 2.25rem);
  --text-h3:         clamp(1.25rem, 2vw, 1.5rem);
  --text-body:       17px;
  --text-body-mobile: 16px;
  --text-small:      14px;
  --text-eyebrow:    12px;
  --leading-tight:   1.15;
  --leading-normal:  1.65;

  /* ─── Transitions ───────────────────────────────────────── */
  --ease-default: 200ms ease;

  /* ─── Backwards-compat aliases (keep old selectors working) */
  --blue-light:   #3d44b8;
  --orange-light: #ff6347;
}

/* =========================================
   CONTACT OBFUSCATION (anti-scraping)
   ========================================= */
.ivs-contact[data-v] { cursor: pointer; }
.ivs-contact noscript { display: inline; }
.pro-aside-phone { width: 100%; justify-content: center; }
.pro-aside-email { color: var(--blue); font-weight: 600; display: block; margin-top: 0.5rem; word-break: break-all; }

/* =========================================
   CSS VARIABLES
   ========================================= */
:root {
    --blue: #2f3490;
    --blue-dark: #1e2268;
    --blue-light: #3d44b8;
    --orange: #ed4b2e;
    --orange-dark: #c93a20;
    --orange-light: #ff6347;
    --gray-light: #f5f6fa;
    --gray: #e6e6e6;
    --gray-mid: #9a9a9a;
    --text: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --blue-tint: rgba(47, 52, 144, 0.1);
    --orange-tint: rgba(237, 75, 46, 0.1);
}

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

*:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 2px;
    border-radius: 2px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    background: var(--white);
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); /* space for mobile sticky bar + iOS safe area */
}

@media (min-width: 769px) {
    body { padding-bottom: 0; }
}

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

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange); }

ul { list-style: none; }

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

/* =========================================
   TYPOGRAPHY UTILITIES
   ========================================= */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--orange);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--text);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-orange { color: var(--orange) !important; }
.text-blue { color: var(--blue) !important; }

/* =========================================
   LAYOUT
   ========================================= */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--gray-light);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

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

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .btn { white-space: normal; }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.btn-primary:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(237,75,46,0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--blue);
}

.btn-outline {
    background: transparent;
    color: var(--blue);
    border-color: var(--blue);
}
.btn-outline:hover {
    background: var(--blue);
    color: var(--white);
}

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

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
    background: var(--blue-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    padding: 0.5rem 0;
}

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

.top-bar a {
    color: rgba(255,255,255,0.85);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.top-bar a:hover { color: var(--orange); }

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    height: 55px;
    width: auto;
}

.site-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--blue);
}
.site-logo .logo-text span { color: var(--orange); }

/* Main Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav ul li a {
    display: block;
    padding: 0.6rem 1rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav ul li a:hover,
.main-nav ul li.current-menu-item a {
    color: var(--blue);
    background: rgba(47,52,144,0.06);
}

.main-nav .nav-cta a {
    background: var(--orange);
    color: var(--white) !important;
    padding: 0.6rem 1.25rem;
}
.main-nav .nav-cta a:hover {
    background: var(--orange-dark);
    color: var(--white) !important;
}

/* Dropdown submenu */
.main-nav .menu-item-has-children {
    position: relative;
}

.main-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 260px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 0.5rem 0;
    z-index: 999;
    flex-direction: column;
    gap: 0;
}

.main-nav .menu-item-has-children:hover .sub-menu,
.main-nav .menu-item-has-children:focus-within .sub-menu {
    display: flex;
}

.main-nav .sub-menu li {
    width: 100%;
}

.main-nav .sub-menu li a {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    border-radius: 0;
    white-space: nowrap;
    border-bottom: 1px solid #f0f0f0;
}

.main-nav .sub-menu li:last-child a {
    border-bottom: none;
}

.main-nav .sub-menu li a:hover {
    background: rgba(47,52,144,0.06);
    color: var(--blue);
}

/* Mobile: dropdown as plain expanded list */
@media (max-width: 899px) {
    .main-nav .sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        border-left: 3px solid var(--blue);
        padding: 0 0 0 0.75rem;
        margin: 0 0 0.25rem 0.5rem;
        display: flex;
    }
    .main-nav .sub-menu li a {
        border-bottom: none;
        padding: 0.45rem 0.5rem;
        font-size: 0.82rem;
    }
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 4px;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
    .hamburger { display: flex; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        padding: 1rem 1.5rem 1.5rem;
        z-index: 999;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav ul li a { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--gray); border-radius: 0; }
    .main-nav .nav-cta { margin-top: 0.75rem; }
    .main-nav .nav-cta a { text-align: center; border-radius: var(--radius); }
    .top-bar { display: none; }
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
    background:
        linear-gradient(135deg, rgba(30,34,104,0.85) 0%, rgba(47,52,144,0.78) 60%, rgba(61,68,184,0.72) 100%),
        var(--hero-bg, linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%));
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 70px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: var(--white);
    margin-bottom: 0.75rem;
    position: relative;
}

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

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.92);
    position: relative;
}
.breadcrumb a { color: var(--white); }
.breadcrumb a:hover { color: var(--orange-light); }

/* =========================================
   HOME HERO
   ========================================= */
.hero {
    background:
        linear-gradient(135deg, rgba(30,34,104,0.80) 0%, rgba(47,52,144,0.70) 55%, rgba(61,68,184,0.62) 100%),
        var(--hero-bg, linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%));
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.25rem;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero h1 span { color: var(--orange); }

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    line-height: 1.7;
}

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

.cta-buttons,
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
}

.trust-item .icon {
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    color: var(--white);
}

.hero-card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hero-stat {
    text-align: center;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 1rem;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--orange);
    display: block;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    display: block;
    margin-top: 0.2rem;
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding: 70px 0 60px; }
    .hero-content { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { display: none; }
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--gray);
    overflow: hidden;
}

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

.service-bg-img {
    width: calc(100% + 4rem);
    height: 180px;
    margin: -2rem -2rem 1.5rem;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transition: filter 0.3s ease;
}
.service-card:hover .service-bg-img {
    filter: brightness(0.88);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--blue);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--orange);
}
.service-card .card-link:hover { gap: 0.7rem; }

/* =========================================
   WHY US SECTION
   ========================================= */
.why-us {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
    color: var(--white);
    padding: 80px 0;
}

.why-us .section-title { color: var(--white); }
.why-us .section-subtitle { color: rgba(255,255,255,0.8); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.why-item:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.why-item h3 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.why-item p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .why-grid { grid-template-columns: 1fr; }
}

/* =========================================
   CERTIFICATIONS / TRUST BADGES
   ========================================= */
.certif-section {
    background: var(--gray-light);
    padding: 50px 0;
}

.certif-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.certif-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.certif-badge .badge-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.certif-badge .badge-text strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--blue);
}
.certif-badge .badge-text span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonials-carousel-outer {
    flex: 1;
    overflow: hidden;
}

.testimonials-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.testimonials-carousel-track::-webkit-scrollbar { display: none; }

.testimonials-carousel-track .testimonial-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    scroll-snap-align: start;
}

@media (max-width: 900px) {
    .testimonials-carousel-track .testimonial-card { flex: 0 0 calc((100% - 1.5rem) / 2); }
}

@media (max-width: 600px) {
    .testimonials-carousel-wrap { gap: 0.5rem; }
    .testimonials-carousel-track .testimonial-card { flex: 0 0 100%; }
    .testimonials-carousel-track { gap: 1rem; }
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray);
}

.stars {
    color: #f5a623;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
}
.author-info span {
    font-size: 0.78rem;
    color: var(--text-light);
}


/* =========================================
   CTA BANNER
   ========================================= */
.cta-banner {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    padding: 70px 0;
    text-align: center;
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--orange);
    border-color: var(--white);
}
.btn-white:hover {
    background: rgba(255,255,255,0.9);
    color: var(--orange-dark);
    transform: translateY(-2px);
}

/* =========================================
   CTA SECTION — orange banner (service & certif pages)
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
    padding: 70px 0;
    text-align: center;
}

.cta-section .section-label {
    color: rgba(255,255,255,0.75);
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 0.2rem 0.8rem;
    letter-spacing: 1.5px;
}

.cta-section .section-title,
.cta-section .cta-title {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.cta-section .section-subtitle,
.cta-section .cta-sub {
    color: rgba(255,255,255,0.9);
    max-width: 640px;
    margin-inline: auto;
}

.cta-section .cta-address {
    color: rgba(255,255,255,0.8);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--blue-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}
.footer-brand .logo-text span { color: var(--orange); }

.footer-logo-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    display: block;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255,255,255,0.65);
}

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

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.08);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--orange);
    color: var(--white);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-links a:hover { color: var(--orange); }
.footer-links a::before { content: '›'; color: var(--orange); font-size: 1.1rem; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
}

.footer-contact-item .fi {
    color: var(--orange);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact-item a {
    color: rgba(255,255,255,0.85);
}
.footer-contact-item a:hover { color: var(--orange); }

.footer-phone-big {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--white) !important;
    margin-bottom: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.72);
}
.footer-bottom a { color: rgba(255,255,255,0.85); }
.footer-bottom a:hover { color: var(--orange); }

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* =========================================
   MOBILE STICKY BAR v2
   White background, 2-column grid, orange CTA.
   Hidden on desktop, shown on mobile only.
   ========================================= */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -4px 16px rgba(15,23,42,0.08);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
}

.mobile-sticky-bar .sticky-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
}

.sticky-phone,
.sticky-devis {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 8px;
    min-height: 48px;
    transition: background var(--ease-default), color var(--ease-default);
}

.sticky-phone {
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
    font-variant-numeric: tabular-nums;
}
.sticky-phone:hover { background: var(--color-bg-soft); color: var(--color-text); }

.sticky-devis {
    background: var(--color-primary);
    color: #fff;
    border: none;
}
.sticky-devis:hover { background: var(--color-primary-hover); color: #fff; }

@media (max-width: 768px) {
    .mobile-sticky-bar { display: block; }
}

/* Hide sticky bar on pages that already contain a contact/quote form */
.page-template-page-devis .mobile-sticky-bar,
.page-template-page-contact .mobile-sticky-bar {
    display: none !important;
}

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    color: var(--blue);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item-text strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.info-item-text p, .info-item-text a {
    font-size: 0.95rem;
    color: var(--text-light);
}
.info-item-text a:hover { color: var(--orange); }

.map-embed {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid var(--gray);
}

.map-embed iframe {
    width: 100%;
    height: 220px;
    display: block;
    border: none;
}

/* =========================================
   FORMS
   ========================================= */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray);
}

.form-card h3 {
    font-size: 1.25rem;
    color: var(--blue);
    margin-bottom: 1.75rem;
}

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

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

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.4rem;
}

label .required { color: var(--orange); }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid var(--gray);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(47,52,144,0.1);
}

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

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-submit { margin-top: 0.5rem; }
.form-submit .btn { width: 100%; justify-content: center; }

.form-success {
    display: none;
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    color: #2e7d32;
    font-size: 0.9rem;
    margin-top: 1rem;
    align-items: center;
    gap: 0.5rem;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #ed4b2e;
    box-shadow: 0 0 0 3px rgba(237,75,46,0.1);
}
.form-group.has-error label {
    color: #ed4b2e;
}
.form-error {
    display: block;
    color: #ed4b2e;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.4rem;
}

@media (max-width: 768px) {
    .contact-layout { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

/* =========================================
   SERVICES PAGE
   ========================================= */
.services-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-full-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray);
    transition: var(--transition);
}

.service-full-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card-header {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    padding: 2rem;
    text-align: center;
}

.service-card-header .service-icon-lg {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--white);
}

.service-card-header h3 {
    color: var(--white);
    font-size: 1.15rem;
}

.service-card-body {
    padding: 1.75rem;
}

.service-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    font-size: 0.875rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.service-features li::before {
    content: '✓';
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Service Solution Cards ("Nos Solutions" grid) ────────────────────────── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-solution-card {
    background: var(--white);
    border: 1px solid var(--color-border, #E2E8F0);
    border-top: 4px solid var(--orange);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-solution-card h3 {
    font-size: 1.05rem;
    color: var(--navy, #1E2A6B);
    margin-bottom: 0.75rem;
}

.service-solution-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.service-solution-card ul {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-solution-card ul li {
    font-size: 0.82rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-solution-card ul li::before {
    content: '✓';
    color: var(--orange);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Service Definition Cards ("Définition & Principe" section) ─────────── */
.service-def-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-def-card {
    background: var(--white);
    border: 1px solid var(--color-border, #E2E8F0);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.service-def-card:hover {
    box-shadow: var(--shadow-hover);
    border-color: var(--orange);
    transform: translateY(-4px);
}

.service-def-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--orange-tint);
    color: var(--orange);
    border-radius: 50%;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

.service-def-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ── Contexte local — text + image two-column layout ─────────────────────── */
.local-context-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 1.5rem;
}

.local-context-text p + p {
    margin-top: 1.5rem;
}

.local-context-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media (max-width: 768px) {
    .local-context-grid {
        grid-template-columns: 1fr;
    }
    .local-context-img {
        height: 240px;
        order: -1;
    }
}

/* center lone last card in 3-col grid */
.services-full-grid > *:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue);
    text-decoration: none;
    transition: var(--transition);
}
.service-card-link:hover {
    color: var(--orange);
    gap: 0.65rem;
}

.service-card-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .services-full-grid { grid-template-columns: 1fr 1fr; }
    .services-full-grid > *:last-child:nth-child(3n + 1) { grid-column: unset; }
}
@media (max-width: 600px) {
    .services-full-grid { grid-template-columns: 1fr; }
    .service-card-image { display: none; }
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-story-content .section-label { display: block; }
.about-story-content h2 { margin-bottom: 1.25rem; }
.about-story-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-visual {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--white);
    text-align: center;
}

.big-stat { margin-bottom: 2rem; }
.big-stat .number {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: var(--orange);
    display: block;
    line-height: 1;
}
.big-stat .label {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
}

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

.mini-stat {
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1rem;
}
.mini-stat .number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    display: block;
}
.mini-stat .label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--blue);
    transition: var(--transition);
}
.value-card:hover { border-top-color: var(--orange); transform: translateY(-4px); }

.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { font-size: 1rem; color: var(--blue); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: var(--text-light); line-height: 1.6; }

@media (max-width: 768px) {
    .about-story { grid-template-columns: 1fr; gap: 2.5rem; }
    .values-grid { grid-template-columns: 1fr; }
}

/* =========================================
   QUOTE (DEVIS) PAGE
   ========================================= */
.devis-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.devis-benefits {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    color: var(--white);
}

.devis-benefits h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.benefit-check {
    width: 24px;
    height: 24px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--white);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-item p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.devis-contact-box {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
}

.devis-contact-box p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.devis-contact-box a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--white);
}

@media (max-width: 900px) {
    .devis-layout { grid-template-columns: 1fr; }
    .devis-layout > div { overflow-x: hidden; }
}

@media (max-width: 768px) {
    .btn { white-space: normal; }
}

/* =========================================
   ZONES D'INTERVENTION
   ========================================= */
.zones-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2rem;
}

.zones-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    line-height: 0;
}
.zones-map iframe {
    display: block;
    width: 100%;
    height: 420px;
}

@media (max-width: 768px) {
    .zones-content { grid-template-columns: 1fr; }
    .zones-map iframe { height: 280px; }
}

.zones-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.zone-tag {
    background: var(--white);
    border: 1.5px solid var(--blue);
    color: var(--blue);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}
.zone-tag:hover {
    background: var(--blue);
    color: var(--white);
}

/* =========================================
   URGENCE STRIP
   ========================================= */
.urgence-strip {
    background: var(--orange);
    color: var(--white);
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.urgence-strip a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 700;
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top {
    position: fixed;
    bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    right: 1.5rem;
    width: 42px;
    height: 42px;
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(47,52,144,0.3);
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--blue-dark); transform: translateY(-3px); }

@media (max-width: 768px) {
    .scroll-top { width: 48px; height: 48px; font-size: 1.2rem; }
}

@media (min-width: 769px) {
    .scroll-top { bottom: 1.5rem; }
}

/* =========================================
   AEO FACT SHEET
   ========================================= */
.aeo-fact-sheet { background: var(--gray-light); }

.aeo-fact-card {
    background: var(--white);
    border: 1px solid var(--gray);
    border-left: 4px solid var(--blue);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
}

.aeo-fact-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 1rem;
}

.aeo-fact-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.5rem 2rem;
}

.aeo-fact-card ul li {
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.6;
}

/* =========================================
   UTILITIES
   ========================================= */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }

/* wp-block alignment classes */
.aligncenter { margin: 0 auto; }
.alignright { float: right; margin-left: 1.5rem; }
.alignleft { float: left; margin-right: 1.5rem; }

/* Screen reader text */
.screen-reader-text {
    clip: rect(1px,1px,1px,1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

/* Skip-to-main-content link — visible only when focused */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: var(--orange, #ed4b2e);
    color: #fff;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 6px 6px;
}
.skip-link:focus {
    left: 1rem;
    clip: auto;
    height: auto;
    width: auto;
    overflow: visible;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* =========================================
   FOOTER CERTIFICATION BADGES
   ========================================= */
.footer-certif-badges {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.certif-footer-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 6px;
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.certif-footer-badge:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
    text-decoration: none;
}

.certif-footer-badge .badge-icon {
    font-size: 1rem;
    line-height: 1;
}

/* =========================================
   HOMEPAGE CERTIF DEEP-DIVE CARDS
   ========================================= */
.certif-cards-section { background: #f8f9fa; }

.certif-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

@media (max-width: 1024px) { .certif-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .certif-cards-grid { grid-template-columns: 1fr; } }

.certif-homepage-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(47, 52, 144, 0.06);
    border: 1px solid #e8eaf6;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.certif-homepage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(47, 52, 144, 0.12);
}

.certif-homepage-card .certif-card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    display: block;
}

.certif-homepage-card h3 {
    font-size: 1.1rem;
    color: var(--blue);
    margin: 0 0 0.25rem;
}

.certif-homepage-card .certif-card-subtitle {
    font-size: 0.78rem;
    color: #888;
    margin: 0 0 0.75rem;
    font-style: italic;
}

.certif-homepage-card p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.certif-card-link {
    color: var(--orange);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
}

.certif-card-link:hover { text-decoration: underline; }

/* Certif-badge link variant (strip) */
.certif-badge--link {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s, opacity 0.18s;
}

.certif-badge--link:hover { transform: translateY(-2px); opacity: 0.9; }

.certif-badge--cta .badge-icon { color: var(--orange); }

/* =========================================
   SIMULATOR TEASER (homepage)
   ========================================= */
.simulator-teaser-section { background: #fff; }

.simulator-teaser-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .simulator-teaser-wrap { grid-template-columns: 1fr; gap: 2rem; }
}

.simulator-teaser-text h2 {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

.simulator-teaser-text p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.sim-advantages {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sim-advantages li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #444;
}

.simulator-teaser-widget {
    background: var(--blue);
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(47, 52, 144, 0.2);
}

.sim-teaser-inner h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.sim-teaser-row {
    margin-bottom: 1.25rem;
}

.sim-teaser-row label {
    display: block;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.sim-teaser-input-wrap {
    position: relative;
}

.sim-teaser-input-wrap input,
.sim-teaser-row select,
.sim-teaser-row input[type="number"] {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.sim-teaser-row select option { color: #333; background: #fff; }

.sim-teaser-input-wrap input:focus,
.sim-teaser-row select:focus { border-color: var(--orange); }

.sim-unit {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    pointer-events: none;
}

.btn-block { width: 100%; justify-content: center; margin-top: 0.5rem; }

.sim-teaser-result {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.6;
}

.sim-teaser-full-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

.sim-teaser-full-link:hover { color: var(--orange); }

.sim-teaser-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .sim-teaser-layout { grid-template-columns: 1fr; }
}

/* Full simulator (page-devis.php) */
.sim-form-wrap {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(47, 52, 144, 0.08);
    border: 1px solid #e8eaf6;
}

.sim-row {
    margin-bottom: 1.25rem;
}

.sim-row label {
    display: block;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.sim-row input,
.sim-row select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
    color: #333;
}

.sim-row input:focus,
.sim-row select:focus { outline: none; border-color: var(--blue); }

.sim-row-check { display: flex; align-items: center; gap: 0.6rem; }
.sim-row-check input[type="checkbox"] { width: auto; }
.sim-row-check label { margin-bottom: 0; font-weight: 400; }

#sim-error {
    display: none;
    background: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

#sim-results {
    display: none;
    margin-top: 2rem;
    background: #f0f4ff;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #c5cae9;
}

.sim-results-header h3 { color: var(--blue); margin-bottom: 0.25rem; }
.sim-disclaimer { font-size: 0.8rem; color: #888; margin-bottom: 1.5rem; }

.sim-numbers {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.sim-number {
    flex: 1;
    min-width: 140px;
    background: #fff;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sim-number-label { font-size: 0.78rem; color: #888; text-transform: uppercase; letter-spacing: 0.04em; }
.sim-number-value { font-size: 1.4rem; font-weight: 800; font-family: var(--font-heading); color: var(--blue); }
.sim-number-sub   { font-size: 0.78rem; color: #666; }

.sim-number--saving.saving-positive .sim-number-value { color: #2e7d32; }
.sim-number--saving.saving-negative .sim-number-value { color: #c62828; }

.sim-arrow-sep { font-size: 1.5rem; color: #999; flex: 0; }

/* Simulator input grids — responsive alternatives to inline styles */
.sim-inputs-grid   { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.sim-inputs-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; align-items: end; }

@media (max-width: 768px) {
    .sim-inputs-grid,
    .sim-inputs-grid-2 { grid-template-columns: 1fr; }

    #sim-results { padding: 1.25rem; }

    .sim-numbers { flex-direction: column; }
    .sim-number { min-width: 0; width: 100%; }
    .sim-arrow-sep { display: none; }

    .sim-number-value { font-size: 1.15rem; }
    .sim-number-sub { word-break: break-word; }

    .sim-aids { padding: 1rem; }
    .sim-aid-row { flex-wrap: wrap; gap: 0.25rem; }
    .sim-aid-label { flex: 1; min-width: 0; word-break: break-word; }
    .sim-aid-amount { flex-shrink: 0; }

    .sim-cta .btn-primary,
    .sim-cta .btn-secondary {
        width: 100%;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }
}

.sim-aids { background: #fff; border-radius: 8px; padding: 1.25rem 1.5rem; }
.sim-aids h4 { color: var(--blue); margin-bottom: 0.75rem; font-size: 1rem; }
.sim-aids-grid { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }

.sim-aid-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}
.sim-aid-row:last-child { border-bottom: none; }
.sim-aid-row--positive { color: #2e7d32; }
.sim-aid-row--zero .sim-aid-amount,
.sim-aid-na { color: #999; font-style: italic; font-size: 0.85rem; }
.sim-aid-row--info { color: #1565c0; }
.sim-aid-row--net .sim-aid-label { font-weight: 700; color: var(--blue); }
.sim-aid-row--net .sim-aid-amount { font-weight: 800; font-size: 1.1rem; color: var(--blue); }

.sim-warnings {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sim-warning {
    background: #fff8e1;
    border-left: 3px solid #f9a825;
    border-radius: 4px;
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
    color: #5d4037;
    margin: 0;
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}
.sim-warning i { color: #f9a825; margin-top: 2px; flex-shrink: 0; }

.sim-ecoPtz {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #1565c0;
    background: #e3f2fd;
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    margin-top: 0.75rem;
}
.sim-ecoPtz i { margin-top: 2px; flex-shrink: 0; }

.sim-roi {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    padding: 0.75rem 0 0;
    flex-wrap: wrap;
}

.sim-roi-before { color: #888; font-size: 0.82rem; }

.sim-cta {
    margin-top: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.sim-cta p { color: #555; font-size: 0.9rem; margin-bottom: 0.25rem; }
.sim-cta .btn-primary,
.sim-cta .btn-secondary { display: inline-flex; align-items: center; gap: 0.5rem; }

/* =========================================
   B2B — PROFESSIONNELS CARDS (homepage)
   ========================================= */
.b2b-header { margin-bottom: 2.5rem; }

.b2b-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.b2b-card {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    height: 360px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.b2b-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

.b2b-card:hover img { transform: scale(1.06); }

.b2b-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 18, 80, 0.88) 0%,
        rgba(15, 18, 80, 0.35) 55%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: background 0.3s ease;
}

.b2b-card:hover .b2b-card-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 18, 80, 0.92) 0%,
        rgba(15, 18, 80, 0.5) 65%,
        rgba(15, 18, 80, 0.1) 100%
    );
}

.b2b-card-tag {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--orange);
    color: #fff;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.b2b-card-overlay h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    line-height: 1.2;
}

.b2b-card-overlay p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.55;
}

.b2b-footer-cta { margin-top: 2.5rem; }

@media (max-width: 1024px) {
    .b2b-cards { grid-template-columns: repeat(2, 1fr); }
    .b2b-card { height: 300px; }
}

@media (max-width: 540px) {
    .b2b-cards { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .b2b-card { height: 220px; }
    .b2b-card-overlay { padding: 1rem; }
    .b2b-card-overlay h3 { font-size: 1.05rem; }
    .b2b-card-overlay p { display: none; }
}

/* =========================================
   CERTIFICATION PAGE STYLES
   ========================================= */
.certif-hero { padding-top: 3rem; }

.certif-badges-hero {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.certif-badge-hero {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
}

.certif-badge-hero .badge-icon { font-size: 1.4rem; }

.certif-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.certif-badge-text .certif-badge-name {
    font-weight: 700;
}

.certif-badge-text .certif-badge-caption {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.85;
}

/* 2-column layout for the detailed certification cards (certifications page) */
.certif-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* last odd card spans full row — no width constraint (wide banner layout) */
.certif-detail-grid > *:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    max-width: none;
    margin-inline: 0;
}

@media (max-width: 900px) {
    .certif-detail-grid {
        grid-template-columns: 1fr;
    }
}

.certif-cards-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-top: 2rem;
}

.certif-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(47, 52, 144, 0.08);
    border: 1px solid #e8eaf6;
    border-top: 4px solid var(--blue);
}

.certif-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.certif-card-header .certif-icon { font-size: 2.2rem; }
.certif-card-header h3 { font-size: 1.2rem; color: var(--blue); margin: 0; }
.certif-card-header .certif-subtitle { font-size: 0.8rem; color: #888; }

.certif-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin: 1.25rem 0 0.5rem;
}

.certif-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.certif-card ul li {
    padding: 0.35rem 0 0.35rem 1.4rem;
    position: relative;
    font-size: 0.88rem;
    color: #444;
    line-height: 1.5;
}

.certif-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--blue);
    font-weight: 700;
}

.certif-cost-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff3e0;
    border: 1px solid #ffb74d;
    color: #e65100;
    border-radius: 20px;
    padding: 0.35rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 1rem;
}

/* ── Accordion toggle inside certification cards ── */
.certif-process-details {
    margin: 1rem 0 0;
    border-top: 1px solid var(--gray);
    padding-top: 0.75rem;
}

.certif-process-details > summary {
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    user-select: none;
}

.certif-process-details > summary::-webkit-details-marker { display: none; }

.certif-process-details > summary::after {
    content: '▼';
    font-size: 0.65rem;
    transition: transform 0.2s;
    margin-left: auto;
}

.certif-process-details[open] > summary::after {
    transform: rotate(-180deg);
}

.certif-process-details .certif-process { margin-top: 0.75rem; }

/* ── Full-width card (Fluides frigorigènes) — always spans both columns ── */
.certif-card--wide {
    border-top-color: var(--orange);
    grid-column: 1 / -1;
}

.certif-card-body--wide {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.certif-wide-main { flex: 1; min-width: 0; }

.certif-wide-aside {
    flex-shrink: 0;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

@media (max-width: 768px) {
    .certif-card-body--wide { flex-direction: column; }
    .certif-wide-aside { align-items: flex-start; }
}

/* ── Intro pillars (3 key stats) ── */
.certif-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.certif-pillar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 3px solid var(--blue);
}

.certif-pillar span { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.certif-pillar strong { font-size: 1rem; color: var(--blue); display: block; margin-bottom: 0.4rem; font-family: var(--font-heading); }
.certif-pillar p { font-size: 0.85rem; color: var(--text-light); margin: 0; line-height: 1.4; }

@media (max-width: 768px) { .certif-pillars { grid-template-columns: 1fr; } }
@media (max-width: 900px) and (min-width: 769px) { .certif-pillars { grid-template-columns: repeat(3, 1fr); } }

/* ── Verify section — btn-secondary on light background ── */
.verify-section .btn-secondary {
    color: var(--blue);
    border-color: var(--blue);
}
.verify-section .btn-secondary:hover {
    background: var(--blue);
    color: var(--white);
}

.transparency-box {
    background: linear-gradient(135deg, var(--blue) 0%, #3949ab 100%);
    border-radius: 14px;
    padding: 2.5rem;
    color: #fff;
    margin: 3rem 0;
}

.transparency-box h2 { color: #fff; margin-bottom: 0.5rem; }
.transparency-box p { color: rgba(255,255,255,0.85); line-height: 1.7; }

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.transparency-stat {
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
}

.transparency-stat .t-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--orange);
    margin-bottom: 0.25rem;
}

.transparency-stat .t-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
}

.transparency-quote {
    background: rgba(255,255,255,0.07);
    border-left: 4px solid var(--orange);
    border-radius: 0 8px 8px 0;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    font-style: italic;
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
}

/* =========================================
   FAQ ACCORDION
   ========================================= */
.faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.faq-item {
    background: #fff;
    border: 1px solid #e8eaf6;
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover { box-shadow: 0 4px 16px rgba(47, 52, 144, 0.08); }

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

.faq-question:hover { background: #f5f7ff; }

.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--orange);
    flex-shrink: 0;
    transition: transform 0.25s;
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    color: #555;
    line-height: 1.75;
    font-size: 0.92rem;
}

.faq-answer p { margin: 0.75rem 0 0; }
.faq-answer p:first-child { margin-top: 0; }
.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0.75rem 1.5rem 1.25rem;
    border-top: 1px solid #f0f0f0;
}

/* =========================================
   SERVICE CITY PAGE STYLES
   ========================================= */
.service-hero { padding: 3rem 0 2.5rem; }

.hero-badges {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.hero-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(47, 52, 144, 0.08);
    border: 1px solid rgba(47, 52, 144, 0.2);
    color: var(--blue);
    border-radius: 20px;
    padding: 0.3rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.hero-badge-item.badge-rge { background: #e8f5e9; border-color: #a5d6a7; color: #2e7d32; }
.hero-badge-item.badge-qpv { background: #fff3e0; border-color: #ffb74d; color: #e65100; }
.hero-badge-item.badge-drive { background: #e3f2fd; border-color: #90caf9; color: #1565c0; }

.price-table-wrap { overflow-x: auto; margin: 1.5rem 0; -webkit-overflow-scrolling: touch; }

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.price-table th {
    background: var(--blue);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.85rem;
}

.price-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
}

.price-table tr:last-child td { border-bottom: none; }
.price-table tr:nth-child(even) td { background: #f8f9fa; }
.price-table .price-col { font-weight: 700; color: var(--blue); white-space: nowrap; }
.price-table .highlight-row td { background: #fff3e0 !important; }

@media (max-width: 640px) {
    .price-table thead { display: none; }
    .price-table,
    .price-table tbody,
    .price-table tr,
    .price-table td { display: block; width: 100%; box-sizing: border-box; }
    .price-table tr {
        border: 1px solid #e8eaf6;
        border-radius: 8px;
        margin-bottom: 0.75rem;
        overflow: hidden;
    }
    .price-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.55rem 0.85rem;
        border-bottom: 1px solid #f0f0f0;
        text-align: right;
    }
    .price-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--blue);
        font-size: 0.8rem;
        text-align: left;
        flex-shrink: 0;
        min-width: 38%;
    }
    .price-table tr:last-child td:last-child { border-bottom: none; }
    .price-table tr:nth-child(even) td { background: #f8f9fa; }
}

.tarif-disclaimer {
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 4px solid var(--orange);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    font-size: 0.86rem;
    color: #555;
    line-height: 1.65;
}
.tarif-disclaimer strong { color: #333; }

.aids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.aid-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #e8eaf6;
    text-align: center;
}

.aid-card .aid-icon { font-size: 2rem; margin-bottom: 0.6rem; display: block; }
.aid-card h4 { color: var(--blue); margin: 0 0 0.4rem; font-size: 1rem; }
.aid-card .aid-amount { font-size: 1.3rem; font-weight: 800; color: var(--orange); display: block; margin-bottom: 0.4rem; }
.aid-card p { font-size: 0.82rem; color: #777; margin: 0; }

/* -- aids-section helpers (page-service-city.php) -- */
.qpv-highlight {
    background: #fff8e1;
    border-left: 4px solid var(--orange, #f97316);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
.qpv-highlight strong { display: block; margin-bottom: 0.4rem; color: #5d4037; font-size: 0.95rem; }
.qpv-highlight p { margin: 0; font-size: 0.9rem; color: #5d4037; }

.aids-info {
    font-size: 0.95rem;
    color: var(--text-light, #555);
    margin-bottom: 1.5rem;
    max-width: 680px;
}

.aids-cta {
    margin: 1.5rem 0 1rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.aids-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.75rem;
}

.coverage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.city-coverage-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: 1px solid #e8eaf6;
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.18s, border-color 0.18s;
}

.city-coverage-link:hover {
    background: #e8eaf6;
    border-color: var(--blue);
    text-decoration: none;
}

.city-coverage-link .city-dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; flex-shrink: 0; }

.cross-service-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cross-service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f0f4ff;
    border: 1px solid #c5cae9;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    transition: background 0.18s;
}

.cross-service-link:hover { background: #e8eaf6; }

/* =========================================
   LOCAL / LEGAL PAGES
   ========================================= */
.page-legal { padding: 3rem 0 5rem; }

.legal-content h1 {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 0.25rem;
}

.legal-update {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.legal-content h2 {
    font-size: 1.25rem;
    color: var(--blue);
    margin: 2.5rem 0 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.legal-content h3 {
    font-size: 1.05rem;
    color: #333;
    margin: 1.5rem 0 0.5rem;
}

.legal-content p, .legal-content li {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
}

.legal-content ul { padding-left: 1.5rem; margin: 0.75rem 0; }
.legal-content ul li { margin-bottom: 0.4rem; }

/* =========================================
   404 PAGE
   ========================================= */
.page-404 { padding: 4rem 0 6rem; }

.error-404-wrap { max-width: 860px; margin: 0 auto; }

.error-404-hero { text-align: center; margin-bottom: 3.5rem; }

.error-404-code {
    font-size: 7rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--blue);
    opacity: 0.12;
    line-height: 1;
    margin-bottom: -1rem;
}

.error-404-title {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 0.75rem;
}

.error-404-sub { font-size: 1.05rem; color: #666; max-width: 480px; margin: 0 auto; }

.error-404-suggestions h2,
.error-404-popular h2,
.error-404-search h2 {
    font-size: 1.2rem;
    color: var(--blue);
    margin-bottom: 1.25rem;
}

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

.suggestion-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border: 2px solid #e8eaf6;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
    transition: border-color 0.2s, background 0.2s;
}

.suggestion-card:hover { border-color: var(--orange); background: #fff9f7; text-decoration: none; }
.suggestion-icon { font-size: 1.5rem; flex-shrink: 0; }
.suggestion-label { flex: 1; }
.suggestion-arrow { color: var(--orange); flex-shrink: 0; }

.popular-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2.5rem;
}

.popular-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f5f7ff;
    border: 1px solid #c5cae9;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    color: var(--blue);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s;
}

.popular-link:hover { background: #e8eaf6; text-decoration: none; }

.error-404-search { margin-bottom: 3rem; }

.error-404-cta { margin-top: 3rem; }

/* =========================================
   VMC PAGE SPECIFIC
   ========================================= */
.vmc-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.vmc-comparison-table th {
    background: var(--blue);
    color: #fff;
    padding: 0.75rem 1rem;
    text-align: left;
}

.vmc-comparison-table th:first-child { border-radius: 8px 0 0 0; }
.vmc-comparison-table th:last-child  { border-radius: 0 8px 0 0; }

.vmc-comparison-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    vertical-align: top;
}

.vmc-comparison-table tr:nth-child(even) td { background: #f8f9fa; }
.vmc-comparison-table .check-yes { color: #2e7d32; font-weight: 700; }
.vmc-comparison-table .check-no  { color: #c62828; }

/* =========================================
   PROFESSIONAL PAGE
   ========================================= */
.pro-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.pro-profile-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--blue);
    transition: var(--transition);
}

.pro-profile-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.pro-profile-icon { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; }
.pro-profile-card h3 { color: var(--blue); margin: 0 0 0.5rem; font-size: 1.1rem; }
.pro-profile-card p { color: #555; font-size: 0.87rem; line-height: 1.65; margin-bottom: 0.75rem; }

.pro-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.pro-tag {
    background: #e8eaf6;
    color: var(--blue);
    border-radius: 4px;
    padding: 0.2rem 0.55rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* =========================================
   ICON BACKGROUND UTILITIES
   ========================================= */
.icon-bg-blue       { background: var(--blue);         color: var(--white); }
.icon-bg-orange     { background: var(--orange);        color: var(--white); }
.icon-bg-blue-light { background: var(--blue-tint);     color: var(--blue);  }
.icon-bg-orange-light { background: var(--orange-tint); color: var(--orange); }

/* =========================================
   CONTACT FORM
   ========================================= */
.contact-form {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* =========================================
   TESTIMONIAL CITY CARD
   ========================================= */
.city-testimonial {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--orange);
    margin: 2rem 0;
}

.city-testimonial .stars { color: var(--orange); font-size: 1.1rem; margin-bottom: 0.75rem; }
.city-testimonial blockquote { margin: 0 0 1rem; font-style: italic; color: #444; line-height: 1.75; font-size: 0.95rem; }
.city-testimonial .testimonial-meta { font-size: 0.85rem; color: #888; }
.city-testimonial .testimonial-meta strong { color: var(--blue); }

/* =========================================
   HEADER SCROLL PHONE (desktop)
   ========================================= */
.header-phone-scroll {
    display: none;
    align-items: center;
    gap: 0.5rem;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--blue);
    border-radius: 8px;
    transition: background 0.2s;
    white-space: nowrap;
}

.header-phone-scroll:hover { background: var(--blue); color: #fff; }

.site-header.scrolled .header-phone-scroll {
    display: flex;
}

@media (max-width: 900px) {
    .header-phone-scroll { display: none !important; }
}

/* =========================================
   LIVE DOT (emergency banner)
   ========================================= */
.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    margin-right: 0.3rem;
    animation: pulse-dot 1.5s infinite;
    vertical-align: middle;
}

@keyframes pulse-dot {
    0%   { opacity: 1; transform: scale(1); }
    50%  { opacity: 0.5; transform: scale(1.5); }
    100% { opacity: 1; transform: scale(1); }
}

/* =========================================
   ENQUEUE INFOGRAPHICS CSS
   ========================================= */
/* (loaded via functions.php wp_enqueue_style) */

/* =========================================
   BRAND BADGES
   ========================================= */
.brands-section {
    background: #fff;
    border-top: 3px solid #e0e0e0;
    padding: 3rem 0;
}

.brands-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2f3490;
    margin-bottom: 0.5rem;
    text-align: center;
}

.brands-intro {
    text-align: center;
    color: #666;
    font-size: 0.95rem;
    max-width: 640px;
    margin: 0 auto 1.75rem;
}

.brands-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: default;
}

.brand-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e8eaf6;
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    min-width: 100px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.brand-logo-wrap:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.brand-logo {
    display: block;
    max-width: 120px;
    height: 60px;
    object-fit: contain;
}

.brands-note {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.brands-note .fa {
    color: #2e7d32;
    margin-right: 0.4rem;
}

/* =========================================
   SEO DASHBOARD (admin)
   ========================================= */
.ivs-seo-dash .wp-list-table th {
    font-size: 12px;
}

.ivs-seo-dash .ivs-seo-table td {
    vertical-align: middle;
    padding: 8px 10px;
    font-size: 13px;
}

.ivs-seo-dash .ivs-seo-table tr:hover {
    background: #f0f8ff !important;
}

/* =========================================
   SVG CERTIFICATION BADGE IMAGES
   ========================================= */

/* Strip badges with real SVG images */
.certif-badge--img {
    padding: 0.6rem 1rem;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
}

.certif-badge--img img {
    max-height: 70px;
    max-width: 160px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.certif-badge--img:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

/* Certification card icon with SVG image */
.certif-card-icon--img {
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.certif-card-icon--img img {
    max-height: 70px;
    max-width: 160px;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Footer SVG certification badges */
.certif-footer-badge--img {
    padding: 0.4rem 0.5rem;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.18s;
}

.certif-footer-badge--img:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-1px);
}

.certif-footer-badge--img img {
    max-height: 50px;
    max-width: 120px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Footer logo SVG */
.footer-logo-svg {
    display: block;
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

/* Update footer certif grid to fit 4 items (3 SVG + 1 text) */
.footer-certif-badges {
    grid-template-columns: repeat(2, 1fr);
}

/* Hero page certif badge images */
.certif-badge-hero--img {
    flex: 1;
    justify-content: center;
    min-width: 120px;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.18s;
    text-decoration: none;
}

.certif-badge-hero--img:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
}

.certif-badge-hero--img img {
    max-height: 80px;
    max-width: 100%;
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

/* =========================================
   RÉALISATIONS STRIP — PROJECT PHOTOS
   ========================================= */

.realizations-strip {
    background: #f8fafc;
}

/* ---- carousel wrapper ---- */
.chantiers-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}
.chantiers-carousel-outer {
    flex: 1;
    overflow: hidden;
}
.chantiers-carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.chantiers-carousel-track::-webkit-scrollbar { display: none; }
.chantiers-carousel-track .chantier-slide {
    flex: 0 0 calc((100% - 3rem) / 3);
    scroll-snap-align: start;
}

.chantiers-carousel-track .chantier-slide {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: box-shadow 0.25s, transform 0.25s;
}
.chantiers-carousel-track .chantier-slide:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}
.chantiers-carousel-track .chantier-slide img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.chantier-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    padding: 1.5rem 1rem 0.75rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-heading);
}
.chantier-caption small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.82;
    margin-top: 0.2rem;
}

/* ---- arrow buttons ---- */
.carousel-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    background: var(--white);
    color: var(--blue);
    box-shadow: 0 2px 12px rgba(47,52,144,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
}
.carousel-btn:hover {
    background: var(--blue);
    color: var(--white);
    transform: scale(1.1);
}
.carousel-btn[data-at-end="true"] {
    opacity: 0.3;
    pointer-events: none;
    transform: none;
}

@media (max-width: 768px) {
    .chantiers-carousel-wrap { gap: 0.6rem; }
    .chantiers-carousel-track .chantier-slide { flex: 0 0 100%; }
    .carousel-btn { width: 40px; height: 40px; font-size: 0.85rem; }
}

/* =========================================
   ABOUT PAGE — CERTIFICATION GRID
   ========================================= */

.about-certif-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-certif-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    transition: box-shadow 0.2s, transform 0.2s;
}

.about-certif-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.about-certif-card img {
    max-height: 70px;
    max-width: 160px;
    height: auto;
    width: auto;
    object-fit: contain;
}

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

.about-certif-card--text strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--blue);
}

@media (max-width: 768px) {
    .about-certif-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .about-certif-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   SERVICE HERO — background image variant
   ========================================= */
.hero--service {
    min-height: 60vh;
    padding: 80px 0 60px;
    display: flex;
    align-items: center;
}

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

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* =========================================
   CHANTIERS CAROUSEL
   ========================================= */
.chantiers-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.chantiers-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: thin;
    scrollbar-color: var(--blue) transparent;
}

.chantiers-track::-webkit-scrollbar {
    height: 4px;
}

.chantiers-track::-webkit-scrollbar-track {
    background: transparent;
}

.chantiers-track::-webkit-scrollbar-thumb {
    background: var(--blue);
    border-radius: 4px;
}

/* =========================================
   ABOUT IVS — service page section
   ========================================= */
.about-ivs-section {
    padding: 80px 0;
    background: var(--white);
}

.about-ivs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-ivs-text .section-label { margin-bottom: 0.5rem; }

.about-ivs-text p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.75;
}

.about-stat-row {
    display: flex;
    gap: 2rem;
    margin: 1.75rem 0;
    flex-wrap: wrap;
}

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

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

.about-stat-lbl {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

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

.about-photos-grid img {
    border-radius: var(--radius);
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.about-photos-grid img:first-child {
    grid-column: 1 / -1;
    height: 260px;
}

@media (max-width: 1024px) {
    .about-ivs-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about-photos-grid {
        order: -1;
    }
}

@media (max-width: 480px) {
    .about-stat-row {
        gap: 1.25rem;
    }

    .about-stat-num {
        font-size: 1.6rem;
    }
}

/* =========================================
   PRO STRIP — service pages
   ========================================= */
.service-pro-strip {
    background: var(--blue-dark);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.service-pro-strip h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.service-pro-strip p {
    opacity: 0.85;
    margin-bottom: 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
}

.service-pro-strip .btn-white {
    background: var(--white);
    color: var(--blue-dark);
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.service-pro-strip .btn-white:hover {
    background: var(--gray-light);
    transform: translateY(-2px);
}

/* =========================================
   ZONE D'INTERVENTION — with map
   ========================================= */
.zones-with-map {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2rem;
}

.zones-map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    line-height: 0;
}

.zones-map-frame iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

.zones-cities-col .coverage-grid {
    margin-top: 0;
}

@media (max-width: 1024px) {
    .zones-with-map {
        grid-template-columns: 1fr;
    }

    .zones-map-frame iframe {
        height: 300px;
    }
}

/* =========================================
   P0 — MOBILE UX FIXES
   Card padding, paragraph spacing, stacked CTAs,
   sticky-bar separator, WCAG touch targets
   ========================================= */
.service-full-card p + p { margin-top: 0.85rem; }

@media (max-width: 600px) {
    .service-card,
    .service-full-card,
    .certif-card,
    .pro-aside-card,
    .info-item { padding: 1.25rem; }

    .service-card .service-bg-img {
        width: calc(100% + 2.5rem);
        margin: -1.25rem -1.25rem 1.25rem;
    }

    .hero-actions,
    .cta-actions,
    .cta-buttons,
    .hero-ctas {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-actions .btn,
    .cta-actions .btn,
    .cta-buttons > a,
    .cta-buttons > .btn,
    .hero-ctas > a,
    .hero-ctas > .btn { width: 100%; }

    .mobile-sticky-bar .sticky-inner { gap: 6px; }

    .footer-social { gap: 1rem; }
    .social-link { width: 44px; height: 44px; }
}

/* =========================================
   P1 — DETAILS/SUMMARY COLLAPSE
   Native, zero-JS, SEO-safe
   ========================================= */
.content-block-more {
    margin-top: 1.5rem;
}

/* content-block-more (chaudieres, VMC inline collapse) */
.content-block-more > summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--blue);
    font-size: 0.95rem;
    padding: 0.5rem 0;
}

.content-block-more > summary::after {
    content: '';
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: auto;
}

.content-block-more[open] > summary::after { transform: rotate(-135deg); }
.content-block-more > summary::-webkit-details-marker { display: none; }

/* FAQ details/summary — matches JS accordion appearance */
.faq-item details { width: 100%; }

.faq-item details > summary.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--blue);
    cursor: pointer;
    list-style: none;
    background: none;
    border: none;
    text-align: left;
    transition: background 0.2s;
}

.faq-item details > summary.faq-question:hover { background: #f5f7ff; }
.faq-item details > summary.faq-question::-webkit-details-marker { display: none; }

.faq-item details > summary.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--orange);
    flex-shrink: 0;
    transition: transform 0.25s;
    margin-left: auto;
}

.faq-item details[open] > summary.faq-question::after { transform: rotate(45deg); }

.faq-item details > .faq-answer {
    padding: 0.75rem 1.5rem 1.25rem;
    border-top: 1px solid #f0f0f0;
    color: #555;
    line-height: 1.75;
    font-size: 0.92rem;
}

/* P1.3 — FA icon sizing inside certif-card-icon */
.certif-card-icon--fa {
    font-size: 2rem;
    color: var(--blue);
    min-width: 2.5rem;
    text-align: center;
}

@media (max-width: 600px) {
    .certif-badges-hero { gap: 0.75rem; }
    .certif-badge-hero--img img { max-height: 45px; max-width: 100px; height: 45px; }
}

/* =========================================
   HERO HOMEPAGE v2 (merged from hero-home.css)
   ========================================= */

.hero-v2 {
    background: var(--color-navy);
    color: #fff;
    padding: 80px 0 0;
    overflow: hidden;
}

.hero-v2__container {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: 48px;
    align-items: end;
}

.hero-v2__eyebrow {
    font-size: var(--text-eyebrow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-primary);
    margin: 0 0 16px;
}

.hero-v2__title {
    font-size: var(--text-h1);
    font-weight: 800;
    line-height: var(--leading-tight);
    margin: 0 0 20px;
    color: #fff;
}

.hero-v2__title-accent {
    color: var(--color-primary);
}

.hero-v2__desc {
    font-size: 17px;
    line-height: var(--leading-normal);
    color: rgba(255,255,255,0.80);
    max-width: var(--prose-max);
    margin: 0 0 32px;
}

.hero-v2__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.hero-v2__trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    padding-bottom: 40px;
}

.hero-v2__rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hero-v2__rating-text {
    margin-left: 4px;
    font-weight: 600;
    color: #fff;
}

.hero-v2__trust-sep {
    color: rgba(255,255,255,0.30);
}

.hero-v2__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.80);
}

.hero-v2__photo-wrap {
    position: relative;
    align-self: end;
}

.hero-v2__photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px 16px 0 0;
}

.hero-v2__badge-float {
    position: absolute;
    bottom: 20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--color-text);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: var(--card-shadow-hover);
    font-size: 13px;
}

.hero-v2__badge-float strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-v2__badge-float span {
    color: var(--color-text-muted);
    font-size: 11px;
}

.badge-float-icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.trust-bar {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    padding: 20px 0;
}

.trust-bar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.trust-bar__kpi {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kpi-icon {
    width: 28px;
    height: 28px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.kpi-number {
    display: block;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-text);
}

.kpi-label {
    display: block;
    font-size: 12px;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-top: 2px;
}

.trust-bar__logos {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-bar__logos img {
    height: 36px;
    width: auto;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity var(--ease-default);
}

.trust-bar__logos img:hover { opacity: 1; }

.star-icon { width: 16px; height: 16px; color: var(--color-rating); }
.star-icon--sm { width: 14px; height: 14px; }
.trust-check { width: 14px; height: 14px; color: var(--color-success); flex-shrink: 0; }
.btn-icon { width: 18px; height: 18px; }
.badge-icon { width: 14px; height: 14px; vertical-align: middle; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all var(--ease-default);
    min-height: 48px;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(232,90,43,0.30);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232,90,43,0.40);
    color: #fff;
}

.btn-tel {
    background: rgba(255,255,255,0.10);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.25);
    font-variant-numeric: tabular-nums;
}

.btn-tel:hover {
    background: rgba(255,255,255,0.18);
    color: #fff;
}

@media (max-width: 1024px) {
    .hero-v2__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-v2__photo {
        aspect-ratio: 16 / 9;
        border-radius: 12px;
    }
    .hero-v2__badge-float {
        left: 16px;
        bottom: 12px;
    }
    .trust-bar__container { justify-content: center; }
}

@media (max-width: 600px) {
    .hero-v2 { padding: 48px 0 0; }
    .hero-v2__ctas { flex-direction: column; }
    .hero-v2__ctas .btn { justify-content: center; }
    .hero-v2__trust { font-size: 12px; }
    .trust-bar__kpi {
        flex: 1 1 40%;
        justify-content: center;
    }
}

/* =========================================
   SERVICE CARDS v2 (merged from service-cards.css)
   ========================================= */

.service-card {
    background: var(--color-bg);
    border: var(--card-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color var(--ease-default), transform var(--ease-default), box-shadow var(--ease-default);
    box-shadow: var(--card-shadow);
}

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

.service-card__image,
.service-card .service-bg-img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
    display: block;
}

.service-card__body,
.service-card .service-card-body {
    padding: var(--card-padding-desktop);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.service-card__title,
.service-card .service-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: var(--color-text);
}

.service-card__desc,
.service-card .service-card-desc,
.service-card p {
    color: var(--color-text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.service-card__link,
.service-card .service-card-link,
.service-card .btn-text {
    margin-top: auto;
    padding-top: 16px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: gap var(--ease-default);
}

.service-card:hover .service-card__link,
.service-card:hover .service-card-link,
.service-card:hover .btn-text { gap: 10px; }

@media (max-width: 600px) {
    .service-card__body,
    .service-card .service-card-body { padding: var(--card-padding-mobile); }
    .service-card__image,
    .service-card .service-bg-img { aspect-ratio: 16 / 9; }
}

/* =========================================
   PRICING CARDS v2 (merged from pricing-cards.css)
   ========================================= */

.pricing-cards { padding: var(--section-padding-desktop); }

.pricing-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 40px;
}

.pricing-card {
    background: var(--color-bg);
    border: var(--card-border);
    border-radius: var(--card-radius);
    padding: var(--card-padding-desktop);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: box-shadow var(--ease-default), transform var(--ease-default);
}

.pricing-card--featured {
    border-color: var(--color-primary);
    box-shadow: var(--card-shadow-hover);
    transform: scale(1.03);
    z-index: 1;
}

.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 14px;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-card__name {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.pricing-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pricing-card__from {
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-card__amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.pricing-card__currency {
    font-size: 18px;
    vertical-align: super;
}

.pricing-card__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.pricing-card__features li svg {
    width: 16px;
    height: 16px;
    color: var(--color-success);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card__cta { margin-top: auto; }
.pricing-card__cta .btn { width: 100%; justify-content: center; }

.pricing-card__cta .btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 1.5px solid var(--color-border);
}

.pricing-card__cta .btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-soft);
}

.pricing-cards__note {
    margin-top: 24px;
    text-align: center;
    font-size: 13px;
    color: var(--color-text-soft);
}

.pricing-cards__phone-cta {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.pricing-cards__phone-cta a {
    color: var(--color-primary);
    text-decoration: none;
}

@media (max-width: 900px) {
    .pricing-cards__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
    .pricing-card--featured {
        transform: none;
        order: -1;
    }
}

@media (max-width: 600px) {
    .pricing-cards { padding: var(--section-padding-mobile); }
    .pricing-card { padding: var(--card-padding-mobile); }
}

/* =========================================
   KPI BAND (merged from kpi-band.css)
   ========================================= */

.kpi-band {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 8px rgba(15,23,42,0.04);
    padding: 28px 0;
}

.kpi-band__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.kpi-band__cell {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 24px;
    border-right: 1px solid var(--color-border);
}

.kpi-band__cell:last-child { border-right: none; }

.kpi-band__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 32px;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid var(--color-border);
}

.kpi-band__logos img {
    height: 44px;
    width: auto;
    object-fit: contain;
    opacity: 0.80;
    transition: opacity var(--ease-default);
}

.kpi-band__logos img:hover {
    opacity: 1;
}

.kpi-band__icon {
    width: 36px;
    height: 36px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.kpi-band__value {
    display: block;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    color: var(--color-text);
}

.kpi-band__label {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.4;
    margin-top: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .kpi-band__value { transition: none; }
}

@media (max-width: 768px) {
    .kpi-band__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: var(--color-border);
    }
    .kpi-band__cell {
        border-right: none;
        background: var(--color-bg);
        padding: 16px;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 8px;
    }
    .kpi-band__logos {
        gap: 12px 20px;
        padding-top: 14px;
        margin-top: 14px;
    }

    .kpi-band__logos img {
        height: 36px;
    }
}

@media (max-width: 400px) {
    .kpi-band__value { font-size: 20px; }
}
