/* HECTOR SOLUTION — v4 light pro · Design system 2026 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Manrope:wght@600;700;800&display=swap');

:root {
  /* === Couleurs === */
  --gold: #c8960c;
  --gold-light: #f0b429;
  --gold-50: #fef9e7;
  --gold-100: #fdf2c7;
  --navy: #1e3a8a;
  --navy-light: #3b5cb8;
  --navy-50: #eef2ff;

  --white: #ffffff;
  --paper: #fafbfc;
  --cream: #faf7f2;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1f2937;
  --gray-900: #0f172a;

  --success: #10b981;
  --danger: #ef4444;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 2px rgba(15,23,42,0.05);
  --shadow-sm: 0 2px 6px rgba(15,23,42,0.06);
  --shadow: 0 4px 16px rgba(15,23,42,0.08);
  --shadow-lg: 0 12px 40px rgba(15,23,42,0.12);
  --shadow-gold: 0 8px 30px rgba(200,150,12,0.25);

  --primary: var(--navy);
  --text2: var(--gray-500);

  --container-max: 1200px;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  color: var(--gray-800);
  line-height: 1.65;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color .15s; }
a:hover { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* === Typo === */
h1, h2, h3, h4, h5 { font-family: 'Manrope', 'Inter', sans-serif; color: var(--gray-900); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); padding: 6px 14px; background: var(--gold-50); border-radius: 100px; margin-bottom: 16px; }
.lead { font-size: 1.15rem; color: var(--gray-600); line-height: 1.7; max-width: 640px; }

/* === Conteneur === */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 100px; font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: all .2s; border: 2px solid transparent; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--gold); color: #1f2937; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); color: #1f2937; }
.btn-secondary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--white); }
.btn-outline { background: transparent; color: var(--gray-700); border-color: var(--gray-300); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-50); }
.btn-ghost { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: var(--white); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }

/* === Header sticky transparent → blanc au scroll === */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .3s, box-shadow .3s; }
header.transparent { background: transparent; }
header.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 rgba(15,23,42,0.06), var(--shadow-sm); }
nav { max-width: var(--container-max); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; gap: 24px; }
.brand { font-family: 'Manrope', sans-serif; font-weight: 900; font-size: 1.35rem; color: var(--gray-900); display: flex; align-items: center; gap: 10px; letter-spacing: -0.02em; }
.brand-logo { width: 36px; height: 36px; border-radius: 8px; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); display: flex; align-items: center; justify-content: center; color: #1f2937; font-weight: 900; font-size: 18px; box-shadow: var(--shadow-sm); }
header.transparent .brand { color: var(--white); }
.nav-links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.nav-links a { font-size: 0.92rem; font-weight: 600; color: var(--gray-700); }
header.transparent .nav-links a { color: rgba(255,255,255,0.95); }
.nav-links a:hover { color: var(--gold); }
.nav-portals { display: flex; gap: 8px; }
.nav-burger { display: none; background: none; border: none; color: var(--gray-700); font-size: 28px; cursor: pointer; padding: 4px; }
header.transparent .nav-burger { color: var(--white); }

/* === HERO — light avec overlay vidéo === */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; padding: calc(var(--header-h) + 60px) 24px 80px; overflow: hidden; background: linear-gradient(135deg, #fdf8e8 0%, #ffffff 50%, #eef2ff 100%); }
.hero-video-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0.35; pointer-events: none; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(200,150,12,0.15) 0%, transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(30,58,138,0.1) 0%, transparent 70%); z-index: 2; pointer-events: none; }
.hero-inner { position: relative; z-index: 3; max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; width: 100%; }
.hero-content h1 { color: var(--gray-900); margin-bottom: 24px; }
.hero-content h1 .accent { background: linear-gradient(120deg, var(--gold), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content .lead { color: var(--gray-700); font-size: 1.18rem; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.hero-stat { }
.hero-stat .num { font-family: 'Manrope', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--gold); display: block; line-height: 1; }
.hero-stat .lab { font-size: 0.78rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-top: 4px; display: block; }
.hero-image { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(15,23,42,0.4) 100%); pointer-events: none; }
.hero-badge { position: absolute; bottom: 24px; left: 24px; right: 24px; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px); padding: 14px 18px; border-radius: var(--radius); display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow); z-index: 4; }
.hero-badge-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-50); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.hero-badge-text { font-size: 0.85rem; line-height: 1.3; }
.hero-badge-text strong { color: var(--gray-900); display: block; font-weight: 700; }
.hero-badge-text span { color: var(--gray-500); font-size: 0.75rem; }

/* === Sections === */
.section { padding: 96px 24px; }
.section-gray { background: var(--gray-50); }
.section-cream { background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%); }
.section-dark { background: linear-gradient(135deg, var(--gray-900) 0%, #1e1b4b 100%); color: var(--gray-100); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .lead { margin: 0 auto; }

/* === Grilles === */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }

/* === Cards === */
.card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--gray-100); transition: all .25s; box-shadow: var(--shadow-xs); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-100); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--gold-50); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--gray-600); font-size: 0.95rem; line-height: 1.6; }

/* === Cards avec photo === */
.card-photo { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all .25s; border: 1px solid var(--gray-100); }
.card-photo:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-photo .photo { aspect-ratio: 16 / 10; overflow: hidden; }
.card-photo .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-photo:hover .photo img { transform: scale(1.05); }
.card-photo .body { padding: 24px 28px 28px; }
.card-photo h3 { margin-bottom: 8px; color: var(--gray-900); }
.card-photo p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 14px; }
.card-photo a.more { font-size: 0.9rem; font-weight: 700; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.card-photo a.more:hover { gap: 10px; }

/* === Feature stripe (texte + image alternée) === */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: var(--container-max); margin: 0 auto; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-row .text { padding: 0 8px; }
.feature-row .visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 16/10; object-fit: cover; }
.feature-row + .feature-row { margin-top: 96px; }
.feature-row ul { list-style: none; margin: 18px 0 0; padding: 0; }
.feature-row ul li { padding-left: 28px; position: relative; margin-bottom: 12px; color: var(--gray-700); }
.feature-row ul li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--gold-50); color: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 12px; }

/* === Stats bar === */
.stats-bar { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); padding: 48px 24px; color: var(--white); }
.stats-bar-inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stats-bar .num { font-family: 'Manrope', sans-serif; font-size: 2.4rem; font-weight: 800; color: var(--gold-light); display: block; line-height: 1; }
.stats-bar .lab { font-size: 0.85rem; opacity: 0.85; margin-top: 6px; display: block; letter-spacing: 0.03em; }

/* === Pricing === */
.pricing { background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%); border: 2px solid var(--gold-100); border-radius: var(--radius-xl); padding: 48px 36px; text-align: center; max-width: 480px; margin: 0 auto; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.pricing::before { content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%); }
.pricing-tag { background: var(--gold-50); color: var(--gold); font-size: 0.75rem; font-weight: 700; padding: 6px 14px; border-radius: 100px; display: inline-block; margin-bottom: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.pricing-amount { font-family: 'Manrope', sans-serif; font-size: 4rem; font-weight: 900; color: var(--gray-900); line-height: 1; margin: 12px 0; }
.pricing-amount sup { font-size: 1.5rem; vertical-align: super; color: var(--gold); }
.pricing-suffix { font-size: 1rem; color: var(--gray-500); font-weight: 500; }
.pricing-desc { color: var(--gray-600); margin: 14px 0 26px; font-size: 0.95rem; }
.pricing ul { list-style: none; padding: 0; margin: 0 0 28px; text-align: left; }
.pricing ul li { padding: 8px 0 8px 28px; position: relative; color: var(--gray-700); }
.pricing ul li::before { content: '✓'; position: absolute; left: 0; top: 8px; width: 20px; height: 20px; color: var(--success); font-weight: 800; }

/* === Testimonial === */
.testimonial { background: var(--white); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--gray-100); box-shadow: var(--shadow-xs); }
.testimonial blockquote { font-size: 1.05rem; line-height: 1.6; color: var(--gray-700); font-style: italic; margin: 0 0 20px; }
.testimonial blockquote::before { content: '"'; font-family: Georgia, serif; font-size: 4rem; color: var(--gold); line-height: 0.6; display: block; margin-bottom: -10px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--gold-50); color: var(--gold); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.testimonial-author strong { display: block; color: var(--gray-900); font-size: 0.95rem; }
.testimonial-author span { color: var(--gray-500); font-size: 0.85rem; }

/* === CTA banner === */
.cta { background: linear-gradient(135deg, #1e1b4b 0%, #1e3a8a 50%, #312e81 100%); color: var(--white); padding: 80px 24px; text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -50%; right: -20%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(200,150,12,0.18) 0%, transparent 60%); pointer-events: none; }
.cta-inner { max-width: 720px; margin: 0 auto; position: relative; z-index: 2; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; }
.cta p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 28px; }
.cta .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === Footer === */
footer { background: var(--gray-900); color: var(--gray-400); padding: 64px 24px 24px; }
.footer-inner { max-width: var(--container-max); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
footer h4 { color: var(--white); font-size: 0.95rem; font-family: 'Manrope', sans-serif; font-weight: 700; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.05em; }
footer ul { list-style: none; padding: 0; }
footer ul li { margin-bottom: 10px; }
footer a { color: var(--gray-400); font-size: 0.9rem; }
footer a:hover { color: var(--gold); }
.footer-bottom { max-width: var(--container-max); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 0.8rem; }

/* === Responsive === */
@media (max-width: 980px) {
  .hero { min-height: auto; padding: calc(var(--header-h) + 40px) 24px 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-image { max-width: 380px; margin: 0 auto; aspect-ratio: 4/3; }
  .hero-btns, .hero-stats { justify-content: center; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row + .feature-row { margin-top: 64px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-burger { display: block; }
}
@media (max-width: 600px) {
  .section { padding: 64px 20px; }
  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .pricing { padding: 36px 24px; }
  .pricing-amount { font-size: 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition: none !important; }
  .hero-video-bg { display: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   ANIMATIONS FUTURISTES — v2
   ============================================================ */

/* === Logo SVG — taille / spacing === */
.brand { gap: 12px; }
.brand-svg { flex-shrink: 0; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand:hover .brand-svg { transform: rotate(5deg) scale(1.05); }
.brand-text { font-family: 'Manrope', sans-serif; font-weight: 900; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--gray-900); }
header.transparent .brand-text { color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.brand-dot { color: var(--gold); font-size: 1.6rem; line-height: 0; vertical-align: -0.05em; }

/* === Hero — particules futuristes === */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.hero-particles span { position: absolute; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; opacity: 0.6; box-shadow: 0 0 20px var(--gold-light); animation: float-up 12s infinite linear; }
.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 30%; animation-delay: 3s; width: 4px; height: 4px; }
.hero-particles span:nth-child(3) { left: 50%; animation-delay: 6s; width: 8px; height: 8px; opacity: 0.4; }
.hero-particles span:nth-child(4) { left: 70%; animation-delay: 1.5s; }
.hero-particles span:nth-child(5) { left: 90%; animation-delay: 8s; width: 3px; height: 3px; }
@keyframes float-up { 0% { transform: translateY(110vh) translateX(0); opacity: 0; } 10% { opacity: 0.6; } 90% { opacity: 0.6; } 100% { transform: translateY(-10vh) translateX(40px); opacity: 0; } }

/* === Hero scroll hint === */
.hero-scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 4; }
.hero-scroll-hint span { display: block; width: 28px; height: 44px; border: 2px solid var(--gray-400); border-radius: 100px; position: relative; }
.hero-scroll-hint span::after { content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: var(--gold); border-radius: 100px; transform: translateX(-50%); animation: scroll-pulse 1.8s infinite; }
@keyframes scroll-pulse { 0% { top: 8px; opacity: 1; } 100% { top: 28px; opacity: 0; } }

/* === Reveal on scroll === */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.show { opacity: 1; transform: translateY(0); }

/* === Services grid (5+1 cartes pro avec accent dynamique) === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius-xl); padding: 36px 32px 32px; border: 1px solid var(--gray-100); box-shadow: var(--shadow-xs); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent-c, var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.service-card::after { content: ''; position: absolute; top: -50px; right: -50px; width: 180px; height: 180px; background: radial-gradient(circle, var(--accent-c, var(--gold)) 0%, transparent 70%); opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.service-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(15,23,42,0.12); border-color: var(--accent-c, var(--gold)); }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 0.08; }
.service-icon { width: 64px; height: 64px; border-radius: 18px; background: var(--gray-50); display: flex; align-items: center; justify-content: center; margin-bottom: 24px; position: relative; z-index: 2; transition: all 0.3s; }
.service-icon span { font-size: 32px; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.service-card:hover .service-icon { background: var(--accent-c, var(--gold)); transform: rotate(-6deg); }
.service-card:hover .service-icon span { transform: rotate(6deg) scale(1.1); }
.service-tag { display: inline-block; font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 100px; background: var(--gray-100); color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; align-self: flex-start; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--gray-900); }
.service-card > p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 16px; flex-grow: 1; }
.service-list { list-style: none; padding: 0; margin: 0 0 20px; }
.service-list li { padding: 6px 0 6px 24px; position: relative; font-size: 0.88rem; color: var(--gray-700); }
.service-list li::before { content: '◆'; position: absolute; left: 4px; top: 6px; color: var(--accent-c, var(--gold)); font-size: 10px; }
.service-link { font-size: 0.9rem; font-weight: 700; color: var(--accent-c, var(--gold)); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; align-self: flex-start; margin-top: auto; }
.service-link:hover { gap: 12px; color: var(--accent-c, var(--gold)); }

.service-card-cta { background: linear-gradient(135deg, var(--gold-50) 0%, var(--navy-50) 100%); border: 2px dashed var(--gold-100); text-align: center; align-items: center; }
.service-card-cta .service-icon { background: var(--white); }
.service-card-cta:hover .service-icon { background: var(--gold); }

/* === Card hover 3D tilt subtle (toutes cartes photo) === */
.card-photo { perspective: 1000px; }
.card-photo:hover { transform: translateY(-6px) rotateX(2deg); }

/* === Glow effect sur les boutons primary === */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.6); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; pointer-events: none; }
.btn-primary:hover::after { width: 400px; height: 400px; opacity: 0; transition: width 0.6s, height 0.6s, opacity 0.6s 0.2s; }

/* === Stats bar — animation glow numbers === */
.stats-bar .num { animation: subtle-glow 3s ease-in-out infinite; }
@keyframes subtle-glow { 0%, 100% { text-shadow: 0 0 0 transparent; } 50% { text-shadow: 0 0 16px rgba(240,180,41,0.5); } }

/* === Hero accent text effet === */
.hero-content h1 .accent { position: relative; display: inline-block; }
.hero-content h1 .accent::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 8px; background: var(--gold); opacity: 0.2; z-index: -1; transform: skewX(-12deg); }

/* === Section dividers stylish === */
.section + .section { position: relative; }

/* === Smooth icons gradient on service cards === */
.service-card .service-icon span { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08)); }

/* === Cursor follow effect (futuriste subtle) === */
@media (hover: hover) and (pointer: fine) {
  .service-card { cursor: default; }
  .service-card:hover { cursor: pointer; }
}

@media (max-width: 980px) {
  .hero-particles, .hero-scroll-hint { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-image { transform: none !important; }
}

/* === Overlay logo HECTOR sur la photo du directeur === */
/* Position calibrée pour 800x800 px : le logo LR est à environ x=66%, y=63%, taille 14% */
.logo-overlay {
  position: absolute;
  z-index: 4;
  top: 56%;
  left: 56%;
  width: 16%;
  height: 16%;
  pointer-events: none;
  /* Léger flou en bordure pour mieux fondre sur la veste */
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.logo-overlay::before {
  content: '';
  position: absolute;
  inset: -8% -10%;
  background: radial-gradient(ellipse at center, rgba(15,23,42,0.85) 30%, rgba(15,23,42,0.3) 70%, transparent 100%);
  border-radius: 50%;
  z-index: -1;
}

/* Pour la photo directeur : ajustement aspect-ratio (800x800 => ratio 1:1) */
.hero-image:has(img[src*="directeur"]) { aspect-ratio: 1 / 1; }
@supports not (selector(:has(*))) { .hero-image { aspect-ratio: 1 / 1; } }

/* === Tenue cards (illustrations agents) === */
.tenue-card { background: var(--white); border-radius: var(--radius-xl); padding: 32px 28px; border: 1px solid var(--gray-100); box-shadow: var(--shadow-xs); transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); text-align: center; }
.tenue-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-100); }
.tenue-svg { background: linear-gradient(180deg, var(--gold-50) 0%, var(--white) 80%); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; min-height: 280px; }
.tenue-card h3 { color: var(--gray-900); margin-bottom: 8px; font-size: 1.2rem; }
.tenue-card > p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 16px; line-height: 1.55; }
.tenue-list { list-style: none; padding: 0; margin: 0; text-align: left; }
.tenue-list li { padding: 6px 0 6px 24px; position: relative; font-size: 0.85rem; color: var(--gray-700); border-bottom: 1px dashed var(--gray-100); }
.tenue-list li:last-child { border-bottom: none; }
.tenue-list li::before { content: '✓'; position: absolute; left: 6px; top: 6px; color: var(--success); font-weight: 800; font-size: 12px; }

/* ============================================================
   I-TECH EFFECTS — hero scroll parallax + scan lines
   ============================================================ */

/* Image hero : transform-style + perspective pour rotation 3D au scroll */
.hero-image { transform-style: preserve-3d; transform-origin: center center; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); will-change: transform; }
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,255,200,0.04) 50%, transparent 50%);
  background-size: 100% 4px;
  mix-blend-mode: screen;
  opacity: 0.5;
  animation: scanline-move 8s linear infinite;
}
@keyframes scanline-move { 0% { background-position: 0 0; } 100% { background-position: 0 100px; } }

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(200,150,12,0.18) 40%, transparent 60%, rgba(30,58,138,0.18) 100%);
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Cadre coin tech */
.hero-image-frame { position: absolute; inset: -8px; pointer-events: none; z-index: 5; border-radius: var(--radius-xl); }
.hero-image-frame::before, .hero-image-frame::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  border: 2px solid var(--gold);
}
.hero-image-frame::before { top: -2px; left: -2px; border-right: none; border-bottom: none; border-top-left-radius: 16px; }
.hero-image-frame::after { bottom: -2px; right: -2px; border-left: none; border-top: none; border-bottom-right-radius: 16px; }

/* Petits HUD tech sur les coins */
.hero-image-hud {
  position: absolute;
  z-index: 5;
  font-family: 'Manrope', monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold);
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(200,150,12,0.4);
  text-shadow: 0 0 8px rgba(240,180,41,0.6);
  pointer-events: none;
}
.hero-image-hud-tr { top: 12px; right: 12px; }
.hero-image-hud-bl { bottom: 12px; left: 12px; }
.hero-image-hud-bl::before { content: ''; display: inline-block; width: 8px; height: 8px; background: #00ff88; border-radius: 50%; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 8px #00ff88; animation: pulse-dot 1.4s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Glitch effect au hover (subtle) */
.hero-image:hover .hero-image-hud-tr { animation: glitch-text 0.3s 1; }
@keyframes glitch-text {
  0%, 100% { transform: translate(0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 2px); }
  80% { transform: translate(1px, -2px); }
}

/* Effet "circuit" en background du hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(200,150,12,0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(30,58,138,0.06) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

/* Lignes décoratives tech sur les bords */
.hero-tech-lines { position: absolute; inset: 0; pointer-events: none; z-index: 2; opacity: 0.25; }
.hero-tech-lines::before, .hero-tech-lines::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 1px;
  width: 200px;
}
.hero-tech-lines::before { top: 30%; left: -50px; animation: line-sweep 6s ease-in-out infinite; }
.hero-tech-lines::after { bottom: 30%; right: -50px; animation: line-sweep 6s 3s ease-in-out infinite reverse; }
@keyframes line-sweep { 0%, 100% { transform: translateX(0); opacity: 0.3; } 50% { transform: translateX(100vw); opacity: 0.8; } }
