/* ═════════════ V1 — SOBRE ÉDITORIAL — page styles ═════════════ */

/* Topbar */
.topbar { background: var(--cream-soft); color: var(--navy); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid var(--line); }
.topbar-item { color: var(--navy); }
.topbar a.topbar-item:hover { color: var(--brick); }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; opacity: 0.9; white-space: nowrap; }
.topbar-item svg { width: 14px; height: 14px; }

/* Navbar */
.nav { position: sticky; top: 0; z-index: 50; background: var(--cream-soft); border-bottom: 1px solid var(--line); transition: all 0.3s ease; }
.nav.scrolled { background: rgba(250,246,236,0.96); backdrop-filter: blur(14px); box-shadow: 0 2px 20px rgba(44,62,84,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; }
.nav-logo { display: flex; align-items: center; gap: 14px; }
.nav-logo img { height: 88px; width: auto; max-width: 280px; object-fit: contain; display: block; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); position: relative; transition: color 0.2s; }
.nav-link::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--brick); transition: width 0.3s ease; }
.nav-link:hover, .nav-link.active { color: var(--brick); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--navy); color: white; padding: 13px 22px; border-radius: 4px; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; transition: all 0.3s; }
.nav-cta:hover { background: var(--brick); color: white; }
.nav-cta svg { width: 16px; height: 16px; }

/* Dropdown */
.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: 100%; left: -16px; margin-top: 14px; background: white; border: 1px solid var(--line); border-radius: 6px; padding: 8px; min-width: 240px; box-shadow: 0 20px 40px -14px rgba(44,62,84,0.18); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.25s ease; z-index: 60; }
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a { display: block; padding: 10px 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); border-radius: 4px; transition: all 0.2s; }
.nav-drop-menu a:hover { background: var(--cream); color: var(--brick); }

/* Mobile menu button */
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--navy); }
.nav-burger svg { width: 28px; height: 28px; }

/* Mobile drawer */
.mobile-drawer { position: fixed; inset: 0; background: var(--cream-soft); z-index: 100; transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.32,0.72,0,1); display: flex; flex-direction: column; padding: 28px; overflow-y: auto; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-drawer-close { background: none; border: none; color: var(--navy); cursor: pointer; padding: 8px; }
.mobile-drawer-close svg { width: 32px; height: 32px; }
.mobile-drawer-menu { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer-menu a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--font-display); font-size: 26px; font-weight: 500; color: var(--navy-deep); border-bottom: 1px solid var(--line); transition: color 0.2s; }
.mobile-drawer-menu a:hover { color: var(--brick); }
.mobile-drawer-cta { margin-top: auto; padding-top: 32px; }

/* HERO */
.hero { position: relative; background: var(--cream); padding: 80px 0 120px; overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -200px; top: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(196,94,58,0.08) 0%, transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.hero-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 32px; }
.hero-kicker-line { width: 60px; height: 2px; background: var(--brick); }
.hero-kicker-text { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--navy); }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.035em; color: var(--navy-deep); margin-bottom: 32px; }
.hero h1 em { font-style: italic; color: var(--brick); font-weight: 400; }
.hero-lead { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 500px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-badges { display: flex; gap: 24px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.hero-badge svg { width: 22px; height: 22px; color: var(--brick); }
.hero-visual { position: relative; aspect-ratio: 4/5; }
.hero-img-main { position: absolute; inset: 0; border-radius: 4px; overflow: hidden; background: var(--navy); box-shadow: 0 40px 80px -30px rgba(44,62,84,0.3); }
.hero-img-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-overlay { position: absolute; bottom: -40px; left: -40px; width: 220px; background: white; padding: 24px; border-radius: 4px; box-shadow: 0 20px 40px -10px rgba(44,62,84,0.2); }
.hero-img-overlay-num { font-family: var(--font-display); font-size: 56px; font-weight: 600; color: var(--navy); line-height: 1; letter-spacing: -0.03em; }
.hero-img-overlay-num em { color: var(--brick); font-style: italic; }
.hero-img-overlay-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); margin-top: 8px; font-weight: 600; }
.hero-stamp { position: absolute; top: -20px; right: -20px; width: 140px; height: 140px; border-radius: 50%; background: var(--brick); color: white; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: rotate(12deg); animation: rotate 40s linear infinite; font-family: var(--font-display); font-style: italic; }
.hero-stamp-center { font-size: 22px; font-weight: 700; line-height: 1.1; padding: 30px 0; }
@keyframes rotate { to { transform: rotate(372deg); } }

/* BANDE ATOUTS */
.strip-atouts { background: var(--navy); color: white; padding: 48px 0; }
.atouts-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.atout { padding: 12px 28px; display: flex; align-items: center; gap: 18px; border-right: 1px solid rgba(255,255,255,0.1); }
.atout:last-child { border-right: none; }
.atout-icon { width: 52px; height: 52px; flex-shrink: 0; color: var(--brick-light); }
.atout-title { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.1; margin-bottom: 4px; }
.atout-sub { font-size: 13px; opacity: 0.7; }

/* SECTION GENERIQUE */
section.s { padding: 120px 0; }
.s-head { text-align: center; max-width: 760px; margin: 0 auto 80px; }
.s-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.5vw, 60px); line-height: 1.05; letter-spacing: -0.025em; color: var(--navy-deep); margin-top: 16px; margin-bottom: 20px; }
.s-head h2 em { font-style: italic; color: var(--brick); font-weight: 500; }
.s-head p { font-size: 18px; color: var(--ink-soft); line-height: 1.6; }

/* SERVICES */
.services { background: white; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.service { background: var(--cream-soft); border: 1px solid var(--line); padding: 40px 36px 36px; border-radius: 4px; transition: all 0.4s cubic-bezier(0.23,1,0.32,1); position: relative; overflow: hidden; }
.service::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--brick); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.23,1,0.32,1); }
.service:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -30px rgba(44,62,84,0.2); background: white; }
.service:hover::before { transform: scaleX(1); }
.service-num { font-family: var(--font-display); font-size: 13px; font-weight: 600; font-style: italic; color: var(--brick); letter-spacing: 0.1em; margin-bottom: 20px; }
.service-icon { width: 72px; height: 72px; color: var(--navy); margin-bottom: 28px; transition: transform 0.6s cubic-bezier(0.23,1,0.32,1); }
.service:hover .service-icon { transform: rotate(-8deg) scale(1.08); color: var(--brick); }
.service-media { margin: -40px -36px 28px; aspect-ratio: 16 / 11; overflow: hidden; background: var(--cream); border-bottom: 1px solid var(--line); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.23,1,0.32,1); display: block; }
.service:hover .service-media img { transform: scale(1.06); }
.service h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -0.015em; color: var(--navy-deep); margin-bottom: 14px; }
.service p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 24px; min-height: 96px; }
.service ul { list-style: none; margin-bottom: 28px; }
.service ul li { font-size: 14px; color: var(--ink-soft); padding: 8px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.service ul li::before { content: ''; width: 5px; height: 5px; background: var(--brick); border-radius: 50%; flex-shrink: 0; }
.service-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; transition: gap 0.3s, color 0.3s; }
.service-link:hover { gap: 16px; color: var(--brick); }
.service-link svg { width: 16px; height: 16px; }

/* PROCESSUS */
.process { background: var(--cream); position: relative; overflow: hidden; }
.process::before { content: 'BSO'; position: absolute; right: -80px; bottom: -120px; font-family: var(--font-display); font-size: 400px; font-weight: 700; color: rgba(44,62,84,0.04); letter-spacing: -0.05em; pointer-events: none; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; position: relative; z-index: 2; }
.step { position: relative; }
.step-num { font-family: var(--font-display); font-size: 72px; font-weight: 600; color: var(--brick); line-height: 1; letter-spacing: -0.03em; font-style: italic; margin-bottom: 20px; opacity: 0.9; }
.step-icon { width: 48px; height: 48px; color: var(--navy); margin-bottom: 16px; }
.step h4 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--navy-deep); margin-bottom: 12px; }
.step p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.step::after { content: ''; position: absolute; top: 95px; right: -24px; width: 16px; height: 1.5px; background: var(--line); }
.step:last-child::after { display: none; }

/* À PROPOS */
.about { background: white; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 100px; align-items: center; }
.about-visual { position: relative; }
.about-img { aspect-ratio: 4/5; background: var(--navy); border-radius: 4px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(44,62,84,0.3); position: relative; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-card { position: absolute; bottom: -40px; right: -40px; background: var(--brick); color: white; padding: 32px 36px; border-radius: 4px; max-width: 260px; box-shadow: 0 20px 40px -10px rgba(196,94,58,0.4); }
.about-card-num { font-family: var(--font-display); font-size: 64px; font-weight: 500; line-height: 1; font-style: italic; }
.about-card-label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 10px; opacity: 0.95; font-weight: 600; }
.about-content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.5vw, 56px); line-height: 1.05; letter-spacing: -0.025em; color: var(--navy-deep); margin-top: 16px; margin-bottom: 28px; }
.about-content h2 em { font-style: italic; color: var(--brick); font-weight: 500; }
.about-lead { font-size: 18px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 32px; }
.about-signature { font-family: var(--font-display); font-style: italic; font-size: 28px; color: var(--navy); margin-bottom: 40px; font-weight: 500; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.about-feature { display: flex; gap: 16px; }
.about-feature-icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--brick); }
.about-feature h5 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--navy-deep); margin-bottom: 6px; }
.about-feature p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* STATS */
.stats { background: var(--navy-deep); color: white; padding: 100px 0; position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px, transparent 1px, transparent 18px); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; z-index: 2; }
.stat { padding: 0 32px; border-right: 1px solid rgba(255,255,255,0.12); text-align: center; }
.stat:last-child { border-right: none; }
.stat-icon { display: inline-block; width: 32px; height: 32px; color: var(--brick-light); margin: 0 auto 16px; transition: transform 0.4s cubic-bezier(0.23,1,0.32,1); }
.stat:hover .stat-icon { transform: translateY(-3px) scale(1.06); }
.stat-icon svg, .atout-icon svg, .about-feature-icon svg, .cta-contact-icon svg, .cert-icon svg, .service-icon svg { width: 100%; height: 100%; display: block; }
.atout-icon, .about-feature-icon, .cta-contact-icon, .cert-icon, .service-icon { display: inline-block; }
.atout-icon, .about-feature-icon, .cert-icon { transition: transform 0.4s cubic-bezier(0.23,1,0.32,1); }
.atout:hover .atout-icon, .about-feature:hover .about-feature-icon, .cert:hover .cert-icon { transform: translateY(-2px) rotate(-4deg); }
@media (max-width: 768px) { .stat-icon { width: 26px; height: 26px; margin-bottom: 10px; } }
.stat-num { font-family: var(--font-display); font-size: clamp(48px, 6vw, 80px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: white; font-style: italic; margin-bottom: 12px; }
.stat-num em { color: var(--brick-light); font-style: normal; font-weight: 500; }
.stat-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.7); font-weight: 600; }

/* RÉALISATIONS */
.realizations { background: var(--cream-soft); }
.realizations-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 16px; }
.realization { position: relative; border-radius: 4px; overflow: hidden; cursor: pointer; background: var(--navy); }
.realization:nth-child(1) { grid-row: span 2; }
.realization img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(0.23,1,0.32,1), filter 0.5s; }
.realization:hover img { transform: scale(1.06); }
.realization-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(30,44,62,0.85) 0%, rgba(30,44,62,0.1) 60%); padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; color: white; }
.realization-tag { display: inline-block; align-self: flex-start; background: var(--brick); color: white; padding: 5px 12px; border-radius: 2px; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.realization h4 { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.realization-meta { font-size: 12px; opacity: 0.85; margin-top: 4px; letter-spacing: 0.08em; text-transform: uppercase; }

/* TÉMOIGNAGES */
.testimonials { background: white; }
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.testi { background: var(--cream-soft); padding: 36px 32px; border-radius: 4px; border: 1px solid var(--line); position: relative; transition: all 0.4s ease; }
.testi:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(44,62,84,0.2); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 20px; color: var(--brick); }
.testi-stars svg { width: 18px; height: 18px; }
.testi-text { font-family: var(--font-display); font-size: 19px; line-height: 1.5; color: var(--navy-deep); margin-bottom: 28px; font-weight: 400; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--brick); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; letter-spacing: 0.05em; }
.testi-name { font-weight: 600; color: var(--navy-deep); font-size: 15px; }
.testi-city { font-size: 12px; color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

/* CERTIFICATIONS */
.certs { background: var(--cream); padding: 80px 0; }
.certs-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 24px; align-items: center; }
.cert { background: white; padding: 28px; border-radius: 4px; text-align: center; border: 1px solid var(--line); transition: all 0.3s; }
.cert:hover { border-color: var(--brick); transform: translateY(-4px); }
.cert-icon { width: 52px; height: 52px; color: var(--brick); margin: 0 auto 14px; }
.cert-name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--navy-deep); }
.cert-sub { font-size: 11px; color: var(--ink-mute); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }

/* ZONE */
.zone { background: var(--navy-deep); color: white; padding: 100px 0; }
.zone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.zone-content h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(36px, 4.5vw, 54px); line-height: 1.05; letter-spacing: -0.025em; margin-top: 16px; margin-bottom: 28px; }
.zone-content h2 em { color: var(--brick-light); font-style: italic; }
.zone-lead { font-size: 17px; line-height: 1.7; opacity: 0.85; margin-bottom: 32px; }
.zone-cities { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px 20px; font-size: 14px; opacity: 0.9; list-style: none; padding: 0; }
.zone-cities li { display: flex; align-items: center; gap: 8px; }
.zone-cities svg { width: 14px; height: 14px; color: var(--brick-light); flex-shrink: 0; }
.zone-map { aspect-ratio: 1; background: var(--navy); border-radius: 4px; overflow: hidden; position: relative; border: 1px solid rgba(255,255,255,0.1); }
.zone-map-svg { width: 100%; height: 100%; }
.zone-map-svg .region { fill: var(--brick); opacity: 0.15; stroke: var(--brick-light); stroke-width: 1.5; }
.zone-map-svg .pin { fill: var(--brick); }
.zone-map-svg .pin-pulse { fill: var(--brick-light); opacity: 0.3; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { r: 4; opacity: 0.5; } 50% { r: 14; opacity: 0; } }

/* FAQ */
.faq { background: white; }
.faq-grid { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; text-align: left; font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--navy-deep); letter-spacing: -0.01em; transition: color 0.3s; background: none; border: none; cursor: pointer; }
.faq-q:hover { color: var(--brick); }
.faq-toggle { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--cream); color: var(--navy); display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
.faq-toggle svg { width: 18px; height: 18px; transition: transform 0.3s; }
.faq-item.open .faq-toggle { background: var(--brick); color: white; }
.faq-item.open .faq-toggle svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1); }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 0 32px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 720px; }

/* CTA DEVIS */
.cta { position: relative; padding: 120px 0; overflow: hidden; }
.cta::before { content: ''; position: absolute; inset: 0; background: var(--navy-deep); }
.cta::after { content: ''; position: absolute; right: -10%; top: -20%; width: 60%; height: 140%; background: radial-gradient(circle, rgba(196,94,58,0.25) 0%, transparent 60%); pointer-events: none; }
.cta-inner { position: relative; z-index: 2; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.cta h2 { font-family: var(--font-display); font-weight: 500; color: white; font-size: clamp(40px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.03em; margin-top: 20px; margin-bottom: 28px; }
.cta h2 em { color: var(--brick-light); font-style: italic; }
.cta-lead { font-size: 18px; line-height: 1.65; color: rgba(255,255,255,0.75); margin-bottom: 40px; max-width: 480px; }
.cta-contact-items { display: grid; gap: 20px; }
.cta-contact-item { display: flex; align-items: center; gap: 18px; padding: 20px 24px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; transition: all 0.3s; }
.cta-contact-item:hover { background: rgba(255,255,255,0.1); border-color: var(--brick); }
.cta-contact-icon { width: 44px; height: 44px; flex-shrink: 0; color: var(--brick-light); }
.cta-contact-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255,255,255,0.6); font-weight: 600; }
.cta-contact-value { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: white; margin-top: 4px; }
.cta-form { background: white; padding: 44px 40px; border-radius: 4px; box-shadow: 0 40px 80px -20px rgba(0,0,0,0.4); }
.cta-form h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--navy-deep); margin-bottom: 8px; }
.cta-form p { color: var(--ink-soft); margin-bottom: 28px; font-size: 14px; }
.form-grid { display: grid; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; display: block; }

/* FOOTER */
footer.bso-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand { display: flex; flex-direction: column; }
.footer-logo { height: auto; width: 180px; max-width: 100%; margin-bottom: 24px; object-fit: contain; display: block; filter: brightness(0) invert(1) opacity(0.92); }
.footer-brand p { font-size: 14px; line-height: 1.65; margin-bottom: 24px; max-width: 340px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: all 0.3s; color: white; }
.footer-social:hover { background: var(--brick); color: white; }
.footer-social svg { width: 16px; height: 16px; }
.footer-col h5 { font-family: var(--font-display); font-size: 16px; color: white; margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--brick-light); }
.footer-bottom { padding-top: 32px; display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 16px; }

/* PAGE HERO (interior pages) */
.page-hero { background: var(--cream); padding: 100px 0 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; right: -200px; top: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(196,94,58,0.08) 0%, transparent 70%); pointer-events: none; }
.page-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.page-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(40px, 5.5vw, 72px); line-height: 1.02; letter-spacing: -0.03em; color: var(--navy-deep); margin-bottom: 24px; }
.page-hero h1 em { font-style: italic; color: var(--brick); }
.page-hero p { font-size: 19px; line-height: 1.55; color: var(--ink-soft); max-width: 560px; }
.page-hero-img { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: var(--navy); box-shadow: 0 40px 80px -30px rgba(44,62,84,0.3); }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Breadcrumb */
.crumb { display: flex; gap: 10px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 28px; }
.crumb a { color: var(--brick); }
.crumb span { color: var(--ink-mute); }

/* Service detail content */
.svc-content { background: white; }
.svc-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.svc-grid h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; color: var(--navy-deep); margin: 16px 0 24px; letter-spacing: -0.02em; }
.svc-grid h2 em { font-style: italic; color: var(--brick); }
.svc-grid h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--navy-deep); margin: 32px 0 14px; }
.svc-grid p { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 16px; }
.svc-grid ul { list-style: none; padding: 0; margin: 16px 0 24px; }
.svc-grid ul li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--ink-soft); }
.svc-grid ul li::before { content: ''; width: 6px; height: 6px; background: var(--brick); border-radius: 50%; flex-shrink: 0; }
.svc-aside { position: sticky; top: 110px; background: var(--cream-soft); border: 1px solid var(--line); border-radius: 4px; padding: 32px; }
.svc-aside h4 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--navy-deep); margin-bottom: 16px; }
.svc-aside p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 24px; }
.svc-aside .btn { width: 100%; margin-bottom: 10px; }

/* Map */
.map-wrap { aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; border: 1px solid var(--line); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* Mentions / legal page */
.legal-content { max-width: 820px; margin: 0 auto; padding: 80px 28px 120px; }
.legal-content h1 { font-family: var(--font-display); font-size: 48px; font-weight: 500; color: var(--navy-deep); margin-bottom: 40px; letter-spacing: -0.025em; }
.legal-content h2 { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--navy-deep); margin: 40px 0 14px; }
.legal-content p, .legal-content li { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.legal-content ul { padding-left: 22px; margin: 12px 0; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav.scrolled { background: var(--cream-soft); backdrop-filter: none; }
  .hero-grid, .about-grid, .zone-grid, .cta-grid, .page-hero-inner, .svc-grid { grid-template-columns: 1fr; gap: 60px; }
  .services-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .atouts-grid { grid-template-columns: 1fr 1fr; }
  .atout { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .certs-grid { grid-template-columns: 1fr 1fr 1fr; }
  .realizations-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .realization { aspect-ratio: 4/3; }
  .realization:nth-child(1) { grid-row: auto; grid-column: span 2; aspect-ratio: 16/9; }
  .svc-aside { position: static; }
  .hero-stamp { width: 110px; height: 110px; top: -16px; right: -16px; }
  .hero-stamp-center { font-size: 18px; padding: 22px 0; }
  .hero-img-overlay { left: -20px; bottom: -28px; }
}
@media (max-width: 640px) {
  section.s, .stats, .zone, .cta, .certs { padding: 80px 0; }
  .hero { padding: 60px 0 100px; }
  .services-grid, .testi-grid, .process-grid, .atouts-grid, .stats-grid, .footer-grid, .certs-grid { grid-template-columns: 1fr; }
  .realizations-grid { grid-template-columns: 1fr; }
  .realization:nth-child(1) { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .container { padding: 0 20px; }
  html, body { overflow-x: hidden; max-width: 100vw; }
  body { padding-top: 104px; }
  .topbar { padding: 8px 0; font-size: 10px; letter-spacing: 0.05em; position: fixed; top: 0; left: 0; right: 0; z-index: 60; background: var(--cream-soft); border-bottom: 1px solid var(--line); }
  .topbar-inner { justify-content: center; gap: 12px; flex-wrap: nowrap; padding: 0 16px; }
  .topbar-inner > .topbar-item:first-child { display: none; }
  .topbar-inner > div { gap: 14px !important; flex-wrap: nowrap; }
  .topbar-item { gap: 5px; white-space: nowrap; }
  .topbar-item svg { width: 12px; height: 12px; flex-shrink: 0; }
  .nav { position: fixed; top: 34px; left: 0; right: 0; background: var(--cream-soft) !important; box-shadow: 0 2px 12px rgba(44,62,84,0.08); z-index: 50; }
  .nav-burger { background: var(--cream); border-radius: 8px; }
  .mobile-drawer { padding-top: 50px; }
  .nav-inner { height: 70px; }
  .nav-logo img { height: 64px; max-width: 200px; }
  .s-head { margin-bottom: 60px; }
}

/* Avant / Après slider */
.ba-slider { position: relative; aspect-ratio: 16/10; overflow: hidden; cursor: ew-resize; --pos: 50%; border-radius: 4px; user-select: none; touch-action: none; background: var(--cream); box-shadow: 0 30px 60px -20px rgba(30,44,62,0.25); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); transition: clip-path 0.05s linear; }
.ba-label { position: absolute; top: 18px; padding: 7px 14px; background: rgba(30,44,62,0.85); color: white; font-family: var(--font-body); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600; border-radius: 999px; backdrop-filter: blur(8px); pointer-events: none; z-index: 3; }
.ba-label-left { left: 18px; }
.ba-label-right { right: 18px; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: white; transform: translateX(-50%); cursor: ew-resize; border: none; padding: 0; z-index: 4; box-shadow: 0 0 12px rgba(0,0,0,0.3); }
.ba-handle::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 54px; height: 54px; border-radius: 50%; background: white; box-shadow: 0 10px 28px rgba(0,0,0,0.28), 0 0 0 1px rgba(0,0,0,0.04); transition: transform 0.3s cubic-bezier(0.23,1,0.32,1); }
.ba-handle::after { content: '⇄'; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); color: var(--navy); font-size: 20px; font-weight: 700; pointer-events: none; }
.ba-handle:hover::before, .ba-handle:focus-visible::before { transform: translate(-50%,-50%) scale(1.08); }
.ba-handle:focus-visible { outline: none; }
@media (max-width: 640px) {
  .ba-slider { aspect-ratio: 4/5; }
  .ba-handle::before { width: 46px; height: 46px; }
}


/* ═════════════ Template additions — Nico Elec ═════════════ */

/* Brand logo (SVG + wordmark, driven by client.config.js) */
.brand-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display, 'Fraunces'), serif; font-weight: 700; font-size: 26px; letter-spacing: -0.01em; color: var(--navy); line-height: 1; }
.brand-logo .brand-mark { width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 2px 6px rgba(0,102,255,0.18)); }
.brand-logo .brand-word { white-space: nowrap; }
.brand-logo-footer { color: white; font-size: 22px; }
.brand-logo-footer .brand-word { color: white; }
.nav-logo { text-decoration: none; }

/* Commune chips */
.commune-chip { display: inline-flex; align-items: center; padding: 6px 12px; margin: 4px 6px 4px 0; border: 1px solid var(--line); border-radius: 999px; background: white; font-size: 13px; color: var(--navy); }

/* Marque chips */
.marque-chip { display: inline-flex; align-items: center; padding: 8px 16px; margin: 6px 8px 6px 0; border: 1px solid var(--line); border-radius: 4px; background: white; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); text-transform: uppercase; }

/* Horaires rows */
.horaire-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.horaire-row:last-child { border-bottom: 0; }
.horaire-jour { color: #666; font-size: 14px; }
.horaire-heure { font-weight: 600; color: var(--navy); font-size: 14px; }

/* Urgency accent — CTA cards / buttons emphasizing 24/7 */
.cta-urgency { background: var(--clay); color: #0a1428; font-weight: 700; }
.cta-urgency:hover { filter: brightness(1.08); }

/* Ensure CSS color vars fall back to template defaults if client.config.js doesn't load */
:root {
  --color-primary: var(--color-primary, #0066FF);
  --color-accent:  var(--color-accent, #FFB800);
}

/* ═════════════ Palette Nico Elec — surcharges ciblées ═════════════ */
/* CTA principaux en ambre (accent) — "actionnable" vs le teal structurel */
.btn-primary { background: var(--color-accent); color: var(--color-dark); }
.btn-primary:hover { background: var(--color-accent-dark); color: var(--color-dark); }
.nav-cta { background: var(--color-accent); color: var(--color-dark); }
.nav-cta:hover { background: var(--color-accent-dark); color: var(--color-dark); }
.tel-float { background: var(--color-accent); color: var(--color-dark); }
.tel-float:hover { background: var(--color-accent-dark); }

/* Bleu teal pour les liens, focus, underlines */
a { color: var(--color-primary); }
.field:focus { border-color: var(--color-primary) !important; background: var(--color-bg-soft) !important; }

/* Fonds principaux — bascule des beiges vers blancs bleutés */
body { background: var(--color-bg); color: var(--color-text); }
.topbar { background: var(--color-primary-dark); color: #ffffff; border-bottom: 0; }
.topbar-item, .topbar a.topbar-item { color: #ffffff; }
.topbar a.topbar-item:hover { color: var(--color-accent); }
.nav { background: var(--color-bg); border-bottom: 1px solid var(--color-bg-soft); }
.nav.scrolled { background: rgba(251,253,254,0.94); }
.strip-atouts, .stats { background: var(--color-primary-dark); color: #ffffff; }
.strip-atouts .atout-title, .strip-atouts .atout-sub,
.stats .stat-num, .stats .stat-label { color: #ffffff; }
.strip-atouts .atout-sub, .stats .stat-label { opacity: .82; }
.strip-atouts .atout-icon, .stats .stat-icon { color: var(--color-accent); }
.stats .stat-num em { color: var(--color-accent); }
.testimonials, .certs, .services, .process, .about, .faq, .realizations { background: var(--color-bg); color: var(--color-text); }
.cert-name, .service h3, .step h4, .testi-author, .about-lead, .faq-q, .s-head h2, .reali-title { color: var(--color-text); }
.service p, .step p, .testi-text, .faq-a, .s-head p, .reali-sub { color: var(--color-text-muted, #5A6B7A); }
.zone { background: var(--color-primary-dark); color: #fff; }
.cta { background: var(--color-primary-dark); color: #fff; }

/* Accent sur éléments éditoriaux */
.eyebrow { color: var(--color-accent-dark); }
em { color: var(--color-primary); font-style: italic; }
.stat-num, .about-card-num { color: var(--color-primary); }
.hero-stamp { background: var(--color-accent); color: var(--color-primary-dark); }

/* Brand logo re-skin */
.brand-logo { color: var(--color-primary); }
.brand-logo-footer, .brand-logo-footer .brand-word { color: #fff; }

/* Logo image (PNG uploadé par le client) */
.brand-mark-img { height: 56px; width: auto; object-fit: contain; display: block; }
.nav-logo .brand-mark-img { height: 68px; }
.mobile-drawer-head .brand-mark-img { height: 44px; }
.brand-logo-footer .brand-mark-img { height: 70px; filter: brightness(0) invert(1) opacity(.9); }


/* ═════════════ UI/UX Pro Max Audit — 2026-04-24 ═════════════ */

/* ── PHASE 1 · ACCESSIBILITY & INTERACTION ─────────────────── */

/* 1. Visible focus rings */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 2. Touch targets ≥ 44×44px */
.btn        { min-height: 44px; min-width: 44px; }
.nav-link   { min-height: 44px; display: inline-flex; align-items: center; }
.nav-cta    { min-height: 44px; }
.topbar-item { min-height: 44px; display: inline-flex; align-items: center; }
.tel-float  { min-width: 44px; min-height: 44px; }
.footer-social { min-width: 44px; min-height: 44px; }

/* 3. Cursor pointer on card-like interactive elements */
.service-card,
.service,
.bento-card,
.testi,
.testi-card,
.cert,
.cert-item,
.tilt-card,
.reali-card,
.realization,
.faq-item { cursor: pointer; }

/* 4. Skip-to-content link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 14px;
  border-radius: 0 0 6px 6px;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* 5. Form :invalid / :valid feedback */
.field:user-invalid,
.field:not(:placeholder-shown):invalid {
  border-color: #d9534f;
  border-width: 2px;
  background: #fff8f8;
}
.field:user-valid,
.field:not(:placeholder-shown):valid {
  border-color: #3aaa5e;
  background: #f8fff9;
}

/* ── PHASE 2 · TYPOGRAPHY & SPACING ────────────────────────── */

/* 6. Body line-height enforcement */
body { line-height: 1.65; }

/* 7. Hero headline gradient text */
.hero h1 em {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

/* 8. Eyebrow spacing */
.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

/* 9. Stat numbers — tabular numerics */
.stat-num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* 10. Section head max-width when centered */
.s-head[style*="center"],
.s-head.text-center,
.s-head {
  max-width: 640px;
  margin-inline: auto;
}

/* ── PHASE 3 · ANIMATION POLISH ────────────────────────────── */

/* 11. Hover card shadows & transitions */
.service,
.service-card,
.bento-card,
.testi,
.testi-card {
  box-shadow: 0 1px 3px rgba(15,47,66,0.06), 0 1px 2px rgba(15,47,66,0.04);
  transition: box-shadow 250ms ease, transform 250ms ease;
}
.service:hover,
.service-card:hover,
.bento-card:hover,
.testi:hover,
.testi-card:hover {
  box-shadow: 0 10px 40px rgba(15,47,66,0.12), 0 4px 12px rgba(15,47,66,0.08);
}

/* 12. Button ripple pulse keyframe */
@keyframes btn-pulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.95); }
  70%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.btn-primary.btn-clicked {
  animation: btn-pulse 300ms cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* 13. Sticky banner slide-in */
@keyframes banner-slide-in {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}
.st-banner {
  animation: banner-slide-in 0.4s ease forwards;
}

/* 14. Nav scrolled smooth box-shadow */
.nav {
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(15,47,66,0.08);
}

/* ── PHASE 4 · HERO GLOW ────────────────────────────────────── */

/* 15. Hero glow element */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 60% 40%, rgba(126,192,220,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 70% 30%, rgba(232,169,60,0.10) 0%, transparent 60%);
}
.hero > * { position: relative; z-index: 1; }

/* ── PHASE 5 · TESTIMONIALS PREMIUM STYLE ──────────────────── */

/* 16. Premium dark testimonial cards */
.testi-card--premium,
.testi.testi-card--premium {
  background: var(--color-primary-dark);
  color: #fff;
  border-color: rgba(126,192,220,0.2);
}
.testi-card--premium .testi-text { color: rgba(255,255,255,0.85); }
.testi-card--premium .testi-author { color: #fff; border-color: rgba(255,255,255,0.12); }
.testi-card--premium .testi-name  { color: #fff; }
.testi-card--premium .testi-city,
.testi-card--premium .testi-role  { color: var(--color-primary-light); }
.testi-card--premium .testi-stars { color: var(--color-accent); }
.testi-card--premium .testi-avatar { background: var(--color-primary); }

/* ── PHASE 6 · MOBILE & RESPONSIVE POLISH ──────────────────── */

/* 17. No horizontal scroll */
html, body { overflow-x: hidden; max-width: 100%; }

/* 18. Nav height & scroll padding */
.nav { min-height: 64px; }
body { scroll-padding-top: 80px; }

/* 19. Mobile bento single-column */
@media (max-width: 639px) {
  .bento-services {
    grid-template-columns: 1fr !important;
    grid-template-areas: none !important;
  }
}

/* 20. Touch action on buttons — eliminate 300ms tap delay */
.btn { touch-action: manipulation; }

/* ── PHASE 7 · PRINT ────────────────────────────────────────── */

/* 21. Print styles */
@media print {
  .topbar,
  .nav,
  .mobile-drawer,
  .tel-float,
  .st-banner,
  .cta,
  .bso-footer { display: none !important; }

  body { background: white; color: black; }
  .hero, section.s, .stats, .zone, .about { padding: 24px 0; }
  a { color: black; text-decoration: underline; }
}

/* ── REDUCED MOTION OVERRIDES ───────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-glow { display: none; }
  .btn-primary.btn-clicked { animation: none; }
  .st-banner { animation: none; }
  .service,
  .service-card,
  .bento-card,
  .testi,
  .testi-card {
    transition: box-shadow 0ms;
  }
}
