/* ===== SERVICE PAGE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Playfair+Display:wght@700;900&display=swap');

:root {
  --bg-dark: #0d0f12;
  --bg-medium: #141720;
  --bg-card: #1a1e2a;
  --accent: #e50914;
  --accent-light: #ff3344;
  --text-primary: #f0ece4;
  --text-secondary: #9a9da8;
  --border: rgba(229,9,20,0.18);
  --font-body: 'Outfit', sans-serif;
  --font-display: 'Playfair Display', serif;
  --radius: 12px;
  --transition: 0.4s cubic-bezier(0.16,1,0.3,1);
}

/* ===== LIGHT MODE ===== */
body.light-mode {
  --bg-dark: #f5f6f8;
  --bg-medium: #ffffff;
  --bg-card: #ffffff;
  --accent: #d90429;
  --accent-light: #ef233c;
  --text-primary: #1a1e2a;
  --text-secondary: #4a5568;
  --border: rgba(0,0,0,0.1);
}

/* Navbar */
body.light-mode #navbar {
  background: rgba(255,255,255,0.97);
  border-bottom-color: rgba(0,0,0,0.1);
}
body.light-mode .nav-back { color: #4a5568; }
body.light-mode .nav-back:hover { color: var(--accent); }

/* Footer */
body.light-mode #footer {
  background: #1a1e2a;
}
body.light-mode #footer,
body.light-mode .footer-brand p,
body.light-mode .footer-links a,
body.light-mode .footer-contact p,
body.light-mode .footer-bottom,
body.light-mode .footer-instagram {
  color: #ccd0db;
}
body.light-mode .footer-links h4,
body.light-mode .footer-contact h4 {
  color: var(--accent-light);
}
body.light-mode .footer-bottom {
  border-top-color: rgba(255,255,255,0.1);
}

/* Hero backgrounds — override all dark hardcoded hero backgrounds */
body.light-mode .service-hero-gradient {
  background: linear-gradient(to top, rgba(245,246,248,0.97) 0%, rgba(245,246,248,0.75) 50%, rgba(245,246,248,0.5) 100%);
}
body.light-mode .service-hero-title,
body.light-mode .service-hero-sub,
body.light-mode .charpente-hero-content h1,
body.light-mode .charpente-hero-content p,
body.light-mode .couverture-hero-content h1,
body.light-mode .couverture-hero-content p,
body.light-mode .macon-hero-content h1,
body.light-mode .macon-hero-content p,
body.light-mode .renov-hero-content h1,
body.light-mode .renov-hero-content p {
  color: #1a1e2a;
}

/* Dark hero sections with hardcoded backgrounds */
body.light-mode .charpente-hero,
body.light-mode .macon-hero,
body.light-mode .renov-hero {
  background: #f5f6f8;
}
body.light-mode .blueprint-grid,
body.light-mode .blueprint-dots,
body.light-mode .macon-grid,
body.light-mode .macon-grid-offset,
body.light-mode .renov-hero-grid {
  opacity: 0.25;
}
body.light-mode .renov-hero-bg {
  background:
    radial-gradient(ellipse 70% 50% at 20% 60%, rgba(217,4,41,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(239,35,60,0.05) 0%, transparent 55%),
    linear-gradient(135deg, #f5f6f8 0%, #ffffff 100%);
}
body.light-mode .hero-overlay-bp,
body.light-mode .hero-overlay-macon {
  background: rgba(245,246,248,0.85);
}
body.light-mode .couverture-hero-overlay {
  background: linear-gradient(135deg, rgba(245,246,248,0.92) 0%, rgba(245,246,248,0.7) 60%, rgba(245,246,248,0.5) 100%);
}

/* Service tags */
body.light-mode .service-tag {
  background: rgba(217,4,41,0.08);
  border-color: rgba(217,4,41,0.25);
  color: var(--accent);
}
body.light-mode .charpente-hero-content .service-tag,
body.light-mode .macon-hero-content .service-tag,
body.light-mode .renov-hero-content .service-tag {
  background: rgba(217,4,41,0.08);
  border-color: rgba(217,4,41,0.25);
  color: var(--accent);
}

/* Sections avec background sombre hardcodé */
body.light-mode .blueprint-section,
body.light-mode .brickwall-section {
  background: #ffffff;
  border-top-color: rgba(0,0,0,0.08);
  border-bottom-color: rgba(0,0,0,0.08);
}
body.light-mode .brickwall-visual,
body.light-mode .blueprint-svg-container {
  background: #f0f2f5;
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .blueprint-svg-container::before,
body.light-mode .blueprint-svg-container::after {
  color: rgba(100,100,100,0.5);
}

/* Sections features/process/visual */
body.light-mode .features-section,
body.light-mode .visual-section {
  background: #f5f6f8;
}
body.light-mode .feature-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
body.light-mode .feature-card:hover {
  border-color: rgba(217,4,41,0.3);
  box-shadow: 0 12px 30px rgba(217,4,41,0.1);
}
body.light-mode .feature-card h3 { color: #1a1e2a; }
body.light-mode .feature-card p { color: #4a5568; }

body.light-mode .process-section { background: #ffffff; }
body.light-mode .proc-step h3 { color: #1a1e2a; }
body.light-mode .proc-step p { color: #4a5568; }

/* Intro strip */
body.light-mode .intro-strip {
  background: #ffffff;
  border-bottom-color: rgba(0,0,0,0.08);
}
body.light-mode .intro-stat {
  background: #f5f6f8;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .intro-text h2 { color: #1a1e2a; }
body.light-mode .intro-text p { color: #4a5568; }

/* Badges hero */
body.light-mode .hero-badge {
  background: rgba(255,255,255,0.9);
  border-color: rgba(0,0,0,0.1);
  color: #4a5568;
}
body.light-mode .hero-badge svg { color: var(--accent); }

/* Visual section */
body.light-mode .visual-image-badge {
  background: rgba(255,255,255,0.95);
  border-color: rgba(0,0,0,0.1);
}
body.light-mode .visual-text h2 { color: #1a1e2a; }
body.light-mode .check-icon {
  background: rgba(217,4,41,0.08);
  border-color: rgba(217,4,41,0.2);
}
body.light-mode .check-item p { color: #4a5568; }
body.light-mode .check-item strong { color: #1a1e2a; }

/* CTA section */
body.light-mode .cta-section {
  background: #ffffff;
}
body.light-mode .cta-section h2 { color: #1a1e2a; }
body.light-mode .cta-section p { color: #4a5568; }

/* Renovation-specific overrides */
body.light-mode .renov-features,
body.light-mode .renov-process,
body.light-mode .section-medium {
  background: #f5f6f8;
}
body.light-mode .renov-cta {
  background: #1a1e2a;
}
body.light-mode .renov-cta h2,
body.light-mode .renov-cta p { color: #f0ece4; }
body.light-mode .aide-card {
  background: #ffffff;
  border-color: rgba(217,4,41,0.15);
}
body.light-mode .aide-card:hover {
  border-color: rgba(217,4,41,0.4);
}

/* Boutons */
body.light-mode .btn-primary { color: #ffffff; }
body.light-mode .btn-ghost {
  border-color: rgba(217,4,41,0.4);
  color: #1a1e2a;
}
body.light-mode .btn-ghost:hover {
  background: rgba(217,4,41,0.06);
  border-color: var(--accent);
}
body.light-mode .nav-cta { color: #ffffff; }

/* Compare slider */
body.light-mode .compare-wrapper .compare-btn {
  background: #f5f6f8;
  border-color: rgba(0,0,0,0.1);
  color: #4a5568;
}
body.light-mode .compare-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #ffffff;
  border-color: transparent;
}
body.light-mode .compare-btn:hover:not(.active) {
  border-color: var(--accent);
  color: #1a1e2a;
}

/* Layer cards (couverture) */
body.light-mode .layer-card {
  background: #ffffff;
  border-color: rgba(0,0,0,0.08);
}
body.light-mode .layer-card:hover {
  border-color: rgba(217,4,41,0.3);
}

/* Charpente specific */
body.light-mode .blueprint-accent,
body.light-mode .green-accent,
body.light-mode .terracotta-accent,
body.light-mode .purple-accent {
  color: var(--accent) !important;
  -webkit-text-fill-color: var(--accent) !important;
}

/* Scroll indicator */
body.light-mode .renov-hero-scroll { color: rgba(217,4,41,0.6); }
body.light-mode .renov-hero-scroll-line {
  background: linear-gradient(to bottom, transparent, var(--accent));
}

/* Forms */
body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea {
  background: #f5f6f8;
  border-color: rgba(0,0,0,0.12);
  color: #1a1e2a;
}
body.light-mode .form-group label { color: #4a5568; }

/* Section container text */
body.light-mode .section-title { color: #1a1e2a; }
body.light-mode .section-subtitle { color: #4a5568; }

/* Theme toggle */
.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(229,9,20,0.12);
  color: var(--accent);
}
.theme-toggle svg {
  width: 22px;
  height: 22px;
}
.theme-toggle .sun-icon { display: none; }
body.light-mode .theme-toggle .sun-icon { display: block; }
body.light-mode .theme-toggle .moon-icon { display: none; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-dark); color: var(--text-primary); font-family: var(--font-body); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(13,15,18,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; display: flex; align-items: center; }
.nav-logo-img { height: 38px; width: auto; object-fit: contain; }
.logo-bsk { color: var(--text-primary); }
.logo-btp { color: var(--accent); }
.nav-back {
  display: flex; align-items: center; gap: 0.5rem;
  color: var(--text-secondary); font-size: 0.85rem; font-weight: 500;
  transition: color 0.3s;
}
.nav-back:hover { color: var(--accent); }
.nav-back svg { width: 16px; height: 16px; }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #0d0f12; font-weight: 700; padding: 0.5rem 1.2rem; border-radius: 50px;
  font-size: 0.85rem; transition: var(--transition); white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,9,20,0.4); }

/* ===== HERO SERVICE ===== */
.service-hero {
  position: relative; min-height: 72vh; display: flex; align-items: flex-end;
  overflow: hidden; padding-bottom: 5rem; padding-top: 6rem;
}
.service-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.05);
  animation: heroZoom 16s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.12); } }
.service-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,15,18,0.97) 0%, rgba(13,15,18,0.55) 50%, rgba(13,15,18,0.3) 100%);
}
.service-hero-content {
  position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 2rem; width: 100%;
}
.service-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(200,144,42,0.15); border: 1px solid rgba(200,144,42,0.35);
  color: var(--accent); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.25rem;
}
.service-hero-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 8vw, 4.5rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 1rem; max-width: 700px;
}
.service-hero-sub { color: var(--text-secondary); font-size: 1rem; max-width: 560px; margin-bottom: 2rem; }
.hero-badges { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  display: flex; align-items: center; gap: 0.45rem;
  background: rgba(26,30,42,0.75); backdrop-filter: blur(8px);
  border: 1px solid var(--border); border-radius: 50px;
  padding: 0.45rem 1rem; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--accent); }

/* ===== MAIN CONTENT ===== */
.service-page-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ===== INTRO STRIP ===== */
.intro-strip {
  background: var(--bg-card); border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.intro-text .eyebrow { font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem; }
.intro-text h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 1rem; line-height: 1.25; }
.intro-text p { color: var(--text-secondary); font-size: 0.97rem; line-height: 1.8; }
.intro-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.intro-stat {
  background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; text-align: center;
}
.intro-stat-num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 900; color: var(--accent); line-height: 1; }
.intro-stat-label { color: var(--text-secondary); font-size: 0.82rem; margin-top: 0.4rem; }

/* ===== FEATURES SECTION ===== */
.features-section { padding: 6rem 0; background: var(--bg-dark); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow { font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem; }
.section-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: var(--transition); position: relative; overflow: hidden;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(229,9,20,0.4); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ===== PROCESS STRIP ===== */
.process-section { padding: 6rem 0; background: var(--bg-medium); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 2.2rem; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  opacity: 0.35;
}
.proc-step { text-align: center; padding: 0 1rem; }
.proc-number {
  width: 4.4rem; height: 4.4rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: #ffffff;
  box-shadow: 0 8px 24px rgba(229,9,20,0.35); position: relative; z-index: 1;
}
.proc-step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.proc-step p { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.6; }

/* ===== VISUAL SECTION ===== */
.visual-section { padding: 6rem 0; background: var(--bg-dark); }
.visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.visual-image { border-radius: var(--radius); overflow: hidden; position: relative; }
.visual-image img { width: 100%; height: 420px; object-fit: cover; transition: transform 0.6s ease; }
.visual-image:hover img { transform: scale(1.04); }
.visual-image-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: rgba(13,15,18,0.85); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
}
.visual-image-badge strong { display: block; color: var(--accent); font-size: 1.4rem; font-weight: 900; font-family: var(--font-display); }
.visual-image-badge span { color: var(--text-secondary); font-size: 0.8rem; }
.visual-text { padding-left: 1rem; }
.visual-text .eyebrow { font-size: 0.78rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 0.75rem; }
.visual-text h2 { font-family: var(--font-display); font-size: clamp(1.6rem,3vw,2.4rem); font-weight: 700; margin-bottom: 1.25rem; line-height: 1.25; }
.check-list { display: flex; flex-direction: column; gap: 0.85rem; margin-bottom: 2rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.check-icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(229,9,20,0.1); border: 1px solid rgba(229,9,20,0.25); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; color: var(--accent); font-size: 0.7rem; }
.check-item p { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.6; }
.check-item strong { color: var(--text-primary); }

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 6rem 2rem; text-align: center;
  background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-card) 100%);
  border-top: 1px solid var(--border);
}
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.8rem,3.5vw,2.8rem); font-weight: 700; margin-bottom: 1rem; }
.cta-section p { color: var(--text-secondary); font-size: 1rem; margin-bottom: 2.5rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #ffffff; font-weight: 700; font-size: 0.95rem;
  padding: 0.9rem 2.2rem; border-radius: 50px; border: none; cursor: pointer;
  transition: var(--transition); box-shadow: 0 4px 20px rgba(229,9,20,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(229,9,20,0.5); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1.5px solid rgba(229,9,20,0.5); color: var(--text-primary);
  padding: 0.9rem 2.2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); cursor: pointer;
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(229,9,20,0.08); }

/* ===== FOOTER ===== */
#footer { background: #080a0e; border-top: 1px solid var(--border); padding: 4rem 0 0; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; line-height: 1.7; }
.footer-links h4, .footer-contact h4 { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem; font-weight: 700; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: var(--text-secondary); font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--text-primary); }
.footer-contact p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.4rem; }
.footer-bottom { border-top: 1px solid var(--border); text-align: center; padding: 1.25rem 2rem; color: var(--text-secondary); font-size: 0.82rem; }

.footer-instagram { color: var(--text-secondary); text-decoration: none; transition: 0.3s; font-size: 0.9rem; display: block; margin-bottom: 0.4rem; }
.footer-instagram:hover { color: var(--accent); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; transition-delay: var(--delay, 0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }


/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .visual-grid { grid-template-columns: 1fr; }
  .visual-text { padding-left: 0; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  
  .service-hero { padding-bottom: 4rem; padding-top: 5rem; }
  .intro-strip, .features-section, .process-section, .visual-section, .cta-section { padding: 4.5rem 0; }
}

@media (max-width: 650px) {
  .nav-container { padding: 0 1rem; }
  .nav-logo { font-size: 1.2rem; }
  .nav-back span { display: none; } /* On cache le texte "Retour au site" sur petit mobile pour gagner de la place */
  .nav-back::after { content: 'Retour'; }
}

@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .intro-stats { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .intro-stat { padding: 1.25rem 1rem; }
  .intro-stat-num { font-size: 2rem; }
  
  .hero-badges { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-container { grid-template-columns: 1fr; gap: 2.5rem; }
  
  .cta-btns { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .cta-btns .btn-primary, .cta-btns .btn-ghost { width: 100%; justify-content: center; }
  
  .visual-image img { height: 320px; }
}

@media (max-width: 400px) {
  .intro-stats { grid-template-columns: 1fr; }
  .service-page-container { padding: 0 1.25rem; }
  .nav-back::after { content: 'Site'; }
}
