/* =====================================================
   8UP Media — pages.css
   CSS partagé pour toutes les pages statiques SEO
   ===================================================== */

:root {
  --orange: #FF6500;
  --orange-dark: #D95400;
  --orange-light: #FF8533;
  --orange-pale: #FFF0E6;
  --black: #0A0A0A;
  --dark: #111111;
  --text: #1A1A1A;
  --text-muted: #444444;
  --border: #E8E8E8;
  --bg: #FFFFFF;
  --bg-soft: #FAFAF9;
  --bg-warm: #FFF6F0;
  --font: 'Century Gothic', CenturyGothic, 'Jost', 'Apple Gothic', Futura, 'Trebuchet MS', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 2px; }

/* NAV */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.06); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-inner { max-width: 1320px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; background: var(--orange); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: white; letter-spacing: -0.5px; }
.logo-text { font-size: 18px; font-weight: 700; color: var(--black); letter-spacing: -0.3px; }
.logo-text span { color: var(--orange); }
.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a, .nav-links > li > button { display: flex; align-items: center; gap: 5px; padding: 8px 18px; font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; background: none; border: none; cursor: pointer; transition: color 0.3s; white-space: nowrap; }
.nav-links > li > a:hover, .nav-links > li > button:hover { color: var(--orange); }
.dropdown-arrow { font-size: 10px; transition: transform 0.3s; }
.nav-links > li:hover .dropdown-arrow { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(10px); background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 12px; min-width: 240px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; pointer-events: none; }
.nav-links > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); pointer-events: all; }
.dropdown a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 500; color: var(--text); text-decoration: none; transition: background 0.2s, color 0.2s; }
.dropdown a:hover { background: var(--bg-warm); color: var(--orange); }
.dropdown-icon { width: 30px; height: 30px; background: var(--bg-warm); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-audit { padding: 9px 18px; font-family: var(--font); font-size: 13px; font-weight: 600; color: var(--orange); border: 1.5px solid var(--orange); border-radius: 8px; background: transparent; cursor: pointer; transition: all 0.3s; text-decoration: none; white-space: nowrap; }
.btn-audit:hover { background: var(--orange-pale); }
.btn-devis { padding: 9px 20px; font-family: var(--font); font-size: 13px; font-weight: 600; color: white; background: var(--orange); border: 1.5px solid var(--orange); border-radius: 8px; cursor: pointer; transition: all 0.3s; text-decoration: none; white-space: nowrap; }
.btn-devis:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,101,0,0.3); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); transition: all 0.3s; border-radius: 2px; }
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: white; z-index: 999; overflow-y: auto; padding: 24px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 0; font-family: var(--font); font-size: 16px; font-weight: 500; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav .mobile-sub { padding-left: 16px; background: var(--bg-soft); }
.mobile-nav .mobile-sub a { font-size: 14px; }
.mobile-sec-title { padding: 8px 0; font-size: 11px; font-weight: 700; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; border-bottom: 1px solid var(--border); margin-top: 8px; }

/* LAYOUT */
.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; }

/* HERO */
.page-hero { padding: 160px 0 80px; background: linear-gradient(135deg, #fff8f2 0%, #ffffff 60%, #fff4ed 100%); position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(255,101,0,0.06) 0%, transparent 70%); border-radius: 50%; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .cur { color: var(--orange); font-weight: 500; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: var(--orange-pale); color: var(--orange); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.15; color: var(--black); margin-bottom: 20px; max-width: 800px; }
.page-hero h1 span { color: var(--orange); }
.page-hero .lead { font-size: 1.15rem; color: var(--text-muted); max-width: 680px; line-height: 1.7; margin-bottom: 36px; }
.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; align-items: center; gap: 40px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat-val { font-size: 2rem; font-weight: 800; color: var(--orange); display: block; }
.hero-stat-lbl { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 10px; font-family: var(--font); font-size: 15px; font-weight: 600; cursor: pointer; text-decoration: none; transition: all 0.3s; border: 2px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--orange); color: white; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,101,0,0.35); }
.btn-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange-pale); }
.btn-white { background: white; color: var(--orange); border-color: white; }
.btn-white:hover { background: var(--orange-pale); }

/* SECTIONS */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: var(--black); margin-bottom: 16px; line-height: 1.2; }
.section-header p { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }
.section-dark { background: var(--dark); color: white; }
.section-dark h2 { color: white; }
.section-dark p { color: rgba(255,255,255,0.7); }
.section-soft { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }

/* GRIDS */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* CARDS */
.card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 32px; transition: all 0.3s; }
.card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: 0 20px 48px rgba(255,101,0,0.12); }
.card-icon { width: 52px; height: 52px; background: var(--orange-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card-icon svg { width: 24px; height: 24px; stroke: var(--orange); }
.card h3 { font-size: 1.2rem; font-weight: 700; color: var(--black); margin-bottom: 10px; }
.card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }
.card-tag { display: inline-block; padding: 4px 10px; background: var(--orange-pale); color: var(--orange); border-radius: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 14px; }

/* STATS BAND */
.stats-band { background: var(--black); color: white; padding: 60px 0; }
.stats-band .grid-4 { text-align: center; }
.stat-val { font-size: 2.8rem; font-weight: 800; color: var(--orange); display: block; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 500; margin-top: 4px; }

/* PROCESS */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.process-steps::before { content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--orange) 0%, var(--border) 100%); z-index: 0; }
.process-step { position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; color: white; margin: 0 auto 20px; border: 4px solid white; box-shadow: 0 0 0 2px var(--orange); }
.process-step h3 { font-size: 1rem; font-weight: 700; color: var(--black); text-align: center; margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: var(--text-muted); text-align: center; line-height: 1.6; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 20px 24px; font-size: 1rem; font-weight: 600; color: var(--black); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; background: white; transition: background 0.2s; list-style: none; }
.faq-q:hover { background: var(--bg-warm); }
.faq-q::marker { display: none; }
.faq-icon { font-size: 20px; color: var(--orange); font-weight: 400; flex-shrink: 0; transition: transform 0.3s; display: inline-block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 20px; }

/* CTA */
.cta-section { background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 100%); color: white; padding: 100px 0; text-align: center; }
.cta-section h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; color: white; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 40px; line-height: 1.7; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* SECTORS */
.sectors-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sector-link { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: white; border: 1px solid var(--border); border-radius: 12px; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 500; transition: all 0.25s; }
.sector-link:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,101,0,0.1); }
.sector-link svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--orange); fill: none; }

/* TESTIMONIAL */
.testimonial-card { background: var(--bg-warm); border-radius: 20px; padding: 40px; position: relative; }
.testimonial-card::before { content: '\201C'; font-size: 80px; color: var(--orange); opacity: 0.2; position: absolute; top: 10px; left: 24px; line-height: 1; font-family: Georgia, serif; }
.testimonial-text { font-size: 1.1rem; font-style: italic; color: var(--text); line-height: 1.7; margin-bottom: 24px; padding-top: 32px; }
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.testimonial-avatar { width: 48px; height: 48px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 18px; flex-shrink: 0; }
.testimonial-name { font-weight: 700; color: var(--black); font-size: 0.95rem; }
.testimonial-role { font-size: 13px; color: var(--text-muted); }
.stars { color: var(--orange); font-size: 14px; letter-spacing: 2px; }

/* FOOTER */
footer { background: var(--dark); color: white; padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-mark { width: 36px; height: 36px; background: var(--orange); border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: white; }
.footer-logo-text { font-size: 17px; font-weight: 700; color: white; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; margin-bottom: 24px; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all 0.2s; text-decoration: none; }
.social-link:hover { background: var(--orange); color: white; }
footer h3 { font-size: 13px; font-weight: 700; color: white; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--orange); }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .page-hero { padding: 120px 0 60px; }
  .grid-3, .grid-2, .grid-4, .process-steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .cta-btns { flex-direction: column; align-items: center; }
  .stats-band .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
