/* 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; } }

/* =================================================================
   HECTOR SOLUTION — Extensions Design System v4 (2026-05-16)
   Classes complémentaires pour sous-pages, formulaires, pricing
   ================================================================= */

/* === SUB-PAGE HERO === */
.subpage-hero {
  position: relative;
  padding: calc(var(--header-h) + 80px) 24px 60px;
  background: linear-gradient(135deg, #fdf8e8 0%, #ffffff 60%, #eef2ff 100%);
  text-align: center;
  overflow: hidden;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(40% 60% at 100% 0%, rgba(200,150,12,0.12) 0%, transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(30,58,138,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.subpage-hero > * { position: relative; z-index: 1; }
.subpage-hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  margin: 18px 0 14px;
  color: var(--gray-900);
}
.subpage-hero h1 .accent {
  background: linear-gradient(120deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subpage-hero p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === PAGE BANNER (variante /securite) === */
.page-banner {
  position: relative;
  padding: calc(var(--header-h) + 60px) 24px 50px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 80% at 100% 0%, rgba(200,150,12,0.18) 0%, transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(255,255,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.banner-content {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.banner-icon {
  font-size: 64px;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}
.banner-content h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 8px;
}
.banner-content h1 .accent {
  color: var(--gold-light);
}
.banner-content p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  max-width: 700px;
}

/* === BACK LINK === */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 12px;
  transition: gap .2s;
}
.back-link:hover { gap: 10px; color: var(--gold-light); }

/* === SECTION TITLES === */
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 900;
  color: var(--gray-900);
  text-align: center;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--gray-500);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,0.7); }
.section-expertise { background: linear-gradient(135deg, var(--gray-900) 0%, #1e1b4b 50%, var(--navy) 100%); color: #fff; position: relative; }
.section-expertise .container { color: #fff; }
.section-expertise h2 { color: #fff; }
.section-expertise p { color: rgba(255,255,255,0.7); }
.section-expertise .wave-bg { position: absolute; inset: 0; background: radial-gradient(60% 80% at 20% 20%, rgba(200,150,12,0.15) 0%, transparent 60%), radial-gradient(50% 60% at 80% 80%, rgba(30,58,138,0.2) 0%, transparent 70%); pointer-events: none; }

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

/* === FEATURES GRID === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--gray-100);
  transition: all .25s ease;
  box-shadow: var(--shadow-xs);
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-100);
}
.feature h3, .feature h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 14px 0 8px;
}
.feature p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-50), var(--gold-100));
  color: var(--gold);
  font-size: 26px;
  margin-bottom: 8px;
}
.section-dark .feature {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}
.section-dark .feature h3,
.section-dark .feature h4 { color: #fff; }
.section-dark .feature p { color: rgba(255,255,255,0.75); }
.section-dark .feature-icon {
  background: rgba(255,255,255,0.1);
  color: var(--gold-light);
}
.feature-dark { background: var(--gray-900); color: #fff; }

/* === BADGES === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--gold-50);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid var(--gold-100);
  white-space: nowrap;
}

/* === BUTTONS === */
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1.5px solid var(--gray-300);
  color: var(--gray-700);
  background: transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
}
.btn-outline-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}
.btn-error {
  background: var(--danger);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
}

/* === PRICING === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 40px auto 0;
}
.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: all .25s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricing-name {
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  margin-bottom: 8px;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
}
.pricing-popular {
  border: 2px solid var(--gold);
  transform: scale(1.03);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--gray-700);
  border-bottom: 1px dashed var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pricing-features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-note {
  font-size: 12px;
  color: var(--gray-500);
  text-align: center;
  margin-top: 16px;
  line-height: 1.5;
}

/* === COMPLIANCE CARDS === */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 32px;
}
.compliance-card {
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-xs);
  transition: all .2s;
}
.compliance-card:hover {
  box-shadow: var(--shadow);
  transform: translateX(2px);
}
.co-icon {
  font-size: 28px;
  margin-bottom: 10px;
}
.co-title {
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.co-desc {
  color: var(--gray-500);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* === GLASS CARDS === */
.glass-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: #fff;
}
.glass-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 12px;
}
.glass-badge {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* === TRUST ROW === */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 16px 0;
}
.trust-row span {
  padding: 6px 12px;
  background: var(--gray-50);
  color: var(--gray-700);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--gray-100);
}

/* === ROLE CARDS === */
.role-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 12px;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-xs);
}

/* === CONTACT FORM === */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}
.form-row {
  margin-bottom: 16px;
}
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-50);
}
.form-status {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.form-status.ok {
  background: #ecfdf5;
  color: var(--success);
  border: 1px solid #a7f3d0;
}
.form-status.err {
  background: #fef2f2;
  color: var(--danger);
  border: 1px solid #fecaca;
}
.siret-loader, .siret-result {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 6px;
}

/* === FOOTER === */
.footer-content {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-tagline {
  font-size: 0.95rem;
  color: var(--gray-400);
  line-height: 1.6;
  max-width: 420px;
  margin-top: 14px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: var(--gray-300);
  font-size: 14px;
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact {
  font-size: 14px;
  color: var(--gray-300);
  line-height: 1.7;
}
.footer-contact a { color: var(--gold-light); text-decoration: none; }
@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; gap: 28px; }
  .contact-layout { grid-template-columns: 1fr; }
}

/* === MERCI / ERREUR PAGES === */
.merci-wrap, .err-wrap {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.merci-card, .err-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 560px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}
.merci-title, .err-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gray-900);
  margin: 16px 0 8px;
}
.merci-sub, .err-sub {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.merci-info, .err-info {
  background: var(--gray-50);
  padding: 16px;
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--gray-700);
  margin: 16px 0 24px;
  text-align: left;
}
.merci-actions, .err-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* === CASCADE (wizard interactif) — fallback minimal === */
.cascade-grid, .cascade-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.cascade-option {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 18px;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
}
.cascade-option:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.cascade-option.active {
  border-color: var(--gold);
  background: var(--gold-50);
}
.cascade-step { margin: 18px 0; }
.cascade-label {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  display: block;
}
.cascade-hint { font-size: 13px; color: var(--gray-500); }
.cascade-nav { display: flex; gap: 10px; margin-top: 18px; }
.cascade-progress {
  height: 4px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0;
}
.cascade-progress > * {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width .3s;
}
.cascade-back { background: var(--gray-50); }

/* === DECOR ANIMATED ELEMENTS (skip — purely visual, no impact) === */
.scene, .sun, .cloud, .rain, .puddle, .tree, .tree-leaves, .tree-trunk,
.building, .lamp, .lamp-head, .lamp-pole, .bush, .road, .mailbox, .mail,
.window, .door, .head, .eye, .nose, .ear, .leg, .tail, .tear, .hector,
.wave-bg, .glow-target, .right, .front-l, .front-r, .back-l, .back-r,
.r1, .r2, .r3, .r4, .w1, .w2, .w3, .w4, .w5, .w6, .w7, .w8, .w9,
.w10, .w11, .w12, .w13, .w14, .c1, .c2 {
  /* Décors visuels purs : pas de style critique nécessaire */
}

/* === HEADER UNIFORME (force le même header partout) === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
  transition: all .3s;
}
header nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
header .logo,
header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  color: var(--gray-900);
  font-size: 1.15rem;
}
header .logo img {
  height: 42px !important;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav-links a {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color .2s;
  padding: 8px 4px;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); }
.nav-burger {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--gray-700);
}
body { padding-top: var(--header-h); }
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    flex-direction: column;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
}

/* === SECTION DARK base === */
.section.section-dark {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--navy) 100%);
  color: #fff;
}
.section.section-dark p { color: rgba(255,255,255,0.8); }

/* === HEADER TRANSPARENT (home) override === */
header.transparent {
  background: rgba(255,255,255,0.95);
}

/* === Anti-saut visuel scroll === */
html { scroll-padding-top: calc(var(--header-h) + 20px); }

/* === NAV CTA Connexion/Démo + MEGA-MENU catégorisé — 2026-05-18 === */
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }
.btn-nav { padding: 9px 18px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; transition: all .25s; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.btn-nav-outline { background: transparent; color: var(--gray-700); border: 1.5px solid var(--gray-200); }
.btn-nav-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.btn-nav-primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: #1f2937; box-shadow: 0 4px 14px rgba(200,150,12,0.28); border: 1.5px solid transparent; }
.btn-nav-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(200,150,12,0.42); }
.nav-burger { border: 1.5px solid var(--gray-200) !important; border-radius: 8px !important; padding: 7px 12px !important; font-size: 18px !important; transition: all .25s; }
.nav-burger:hover { border-color: var(--gold) !important; color: var(--gold) !important; }

/* Mega overlay (hamburger riche) */
.mega-overlay { position: fixed; inset: 0; background: rgba(15,23,42,0.55); backdrop-filter: blur(4px); z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s; }
body.mega-open { overflow: hidden; }
body.mega-open .mega-overlay { opacity: 1; pointer-events: auto; }
.mega-panel { position: absolute; top: 0; right: 0; height: 100%; width: 440px; max-width: 92vw; background: #fff; box-shadow: -10px 0 40px rgba(0,0,0,0.18); padding: 22px 26px 60px; overflow-y: auto; transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); -webkit-overflow-scrolling: touch; }
body.mega-open .mega-panel { transform: translateX(0); }
.mega-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--gray-100); }
.mega-head-title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 15px; color: var(--gray-900); letter-spacing: -0.01em; }
.mega-close { background: var(--gray-50); border: none; width: 38px; height: 38px; border-radius: 50%; font-size: 18px; cursor: pointer; color: var(--gray-700); transition: all .2s; line-height: 1; }
.mega-close:hover { background: var(--gold); color: #fff; transform: rotate(90deg); }

.mega-primary { display: none; flex-direction: column; gap: 4px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.mega-primary a { padding: 11px 14px; border-radius: 8px; color: var(--gray-900); text-decoration: none; font-size: 15px; font-weight: 700; transition: all .2s; display: flex; align-items: center; gap: 10px; }
.mega-primary a:hover { background: var(--gold-50); color: var(--gold); }
.mega-primary a.gold { color: var(--gold); }
.mega-cta-mobile { display: none; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.mega-cta-mobile .btn-nav { justify-content: center; padding: 13px; font-size: 14px; width: 100%; }

.mega-section { margin: 4px 0; border-radius: 8px; }
.mega-section summary { padding: 12px 14px; cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 13px; color: var(--gray-900); border-radius: 8px; transition: background .2s; text-transform: uppercase; letter-spacing: 0.5px; }
.mega-section summary:hover { background: var(--gray-50); }
.mega-section summary::-webkit-details-marker { display: none; }
.mega-section summary::after { content: '▼'; font-size: 9px; color: var(--gray-500); transition: transform .25s; }
.mega-section[open] summary::after { transform: rotate(180deg); color: var(--gold); }
.mega-section[open] summary { color: var(--gold); }
.mega-section a { display: block; padding: 8px 14px 8px 30px; color: var(--gray-700); text-decoration: none; font-size: 13.5px; border-radius: 6px; transition: all .18s; }
.mega-section a:hover { background: var(--gold-50); color: var(--gold); padding-left: 34px; }

@media (max-width: 900px) {
  .nav-cta .btn-nav-outline { display: none; }
  .nav-cta .btn-nav-primary { padding: 7px 14px; font-size: 12px; }
  .mega-primary, .mega-cta-mobile { display: flex; }
}
@media (max-width: 480px) {
  header nav { gap: 10px; padding: 12px 14px; }
  header .logo img { height: 38px !important; }
  .mega-panel { width: 100%; padding: 18px 18px 50px; }
  .nav-cta .btn-nav-primary span.demo-long { display: none; }
}

/* === SAFETY NET overflow horizontal mobile — 2026-05-18 (CSS-Tricks/Smashing) === */
html, body { overflow-x: hidden; max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }
img, video, iframe { max-width: 100%; height: auto; }

/* === Hamburger amélioré : icône + label, cible tactile 48px (Material) === */
.nav-burger {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--gold-50, #fef9e7) !important;
  border: 1.5px solid var(--gold, #c8960c) !important;
  color: var(--gold, #c8960c) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  min-height: 44px;
  cursor: pointer;
  transition: all .25s;
  font-family: 'Inter', sans-serif;
}
.nav-burger::before { content: '\2630'; font-size: 16px; line-height: 1; }
.nav-burger:hover { background: var(--gold, #c8960c) !important; color: #fff !important; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(200,150,12,0.3); }
.nav-burger .burger-label { display: inline; }

/* Toujours visible (desktop + mobile) — discoverable mega-menu */
@media (min-width: 901px) {
  .nav-burger { display: inline-flex; }
}
@media (max-width: 900px) {
  .nav-burger { display: inline-flex !important; }
  .nav-burger .burger-label { display: none; }
}

/* Header sticky + hauteur mobile optimisée */
header { position: fixed; }
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  header nav { padding: 10px 14px; }
  header .logo img { height: 40px !important; }
}

/* Mega-section : 1 ouverte à la fois (handled via JS) — visuel */
.mega-section { border: 1px solid transparent; }
.mega-section[open] { background: var(--gray-50, #fafafa); border-color: var(--gray-100, #eee); }

/* === HEADER FUTURISTE v3 — 2026-05-18 === */
/* Reset over previous burger styles */
.nav-burger { display: none !important; }

/* === Bouton "Découvrir" : pilule gold avec glow + pulse === */
.nav-discover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(200,150,12,0.08), rgba(240,180,41,0.12));
  border: 1.5px solid rgba(200,150,12,0.35);
  color: var(--gold);
  font-weight: 700;
  font-size: 13px;
  font-family: 'Inter', system-ui, sans-serif;
  letter-spacing: 0.3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: all .4s cubic-bezier(.4, 0, .2, 1);
  white-space: nowrap;
  min-height: 44px;
}
.nav-discover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  opacity: 0;
  transition: opacity .35s cubic-bezier(.4, 0, .2, 1);
  z-index: -1;
}
.nav-discover::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 200%;
  opacity: 0;
  z-index: -2;
  filter: blur(8px);
  transition: opacity .35s;
  animation: discover-shimmer 3s linear infinite;
}
.nav-discover:hover {
  color: #1f2937;
  border-color: var(--gold);
  transform: translateY(-2px) scale(1.02);
}
.nav-discover:hover::before { opacity: 1; }
.nav-discover:hover::after { opacity: 0.55; }
.nav-discover:active { transform: translateY(0) scale(.98); }
.nav-discover .discover-icon {
  display: inline-flex;
  font-size: 15px;
  line-height: 1;
  animation: discover-pulse 4s ease-in-out infinite;
}
.nav-discover .discover-plus {
  display: inline-flex;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.nav-discover:hover .discover-plus { background: #1f2937; color: var(--gold); }
body.mega-open .nav-discover .discover-plus { transform: rotate(135deg); }
body.mega-open .nav-discover { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: #1f2937; border-color: var(--gold); }
@keyframes discover-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25) rotate(8deg); }
}
@keyframes discover-shimmer {
  0% { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

/* === Mega panel — glassmorphism + slide spring === */
.mega-overlay { background: linear-gradient(135deg, rgba(15,23,42,0.55), rgba(30,58,138,0.35)); backdrop-filter: blur(8px); }
.mega-panel {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-left: 1px solid rgba(200,150,12,0.15);
  box-shadow: -20px 0 60px rgba(15,23,42,0.18), inset 1px 0 0 rgba(255,255,255,0.4);
  transition: transform .55s cubic-bezier(.34, 1.25, .64, 1);
  padding: 24px 28px 60px;
}
.mega-head { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,0.85); backdrop-filter: blur(12px); margin: -24px -28px 18px; padding: 18px 28px; border-bottom: 1px solid rgba(200,150,12,0.12); display: flex; align-items: center; justify-content: space-between; }
.mega-head-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 13px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
}
.mega-close {
  background: rgba(15,23,42,0.05);
  border: 1px solid rgba(15,23,42,0.08);
  width: 40px; height: 40px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  color: var(--gray-700);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  line-height: 1;
}
.mega-close:hover { background: var(--gold); color: #fff; transform: rotate(90deg) scale(1.05); box-shadow: 0 4px 14px rgba(200,150,12,0.4); }

.mega-primary { display: none; flex-direction: column; gap: 6px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--gray-100); }
.mega-primary a {
  padding: 13px 16px;
  border-radius: 12px;
  color: var(--gray-900);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.mega-primary a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  transform: scaleY(0);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.mega-primary a:hover { background: linear-gradient(90deg, var(--gold-50), transparent); color: var(--gold); padding-left: 22px; }
.mega-primary a:hover::before { transform: scaleY(1); }
.mega-primary a.gold { color: var(--gold); }

.mega-cta-mobile { display: none; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.mega-cta-mobile .btn-nav { justify-content: center; padding: 14px; font-size: 14px; width: 100%; border-radius: 12px; }

.mega-section { margin: 6px 0; border-radius: 12px; border: 1px solid transparent; transition: all .3s; overflow: hidden; }
.mega-section[open] { background: linear-gradient(135deg, rgba(200,150,12,0.04), rgba(240,180,41,0.02)); border-color: rgba(200,150,12,0.12); }
.mega-section summary {
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 12px;
  color: var(--gray-900);
  border-radius: 12px;
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
}
.mega-section summary:hover { background: rgba(200,150,12,0.06); color: var(--gold); }
.mega-section summary::-webkit-details-marker { display: none; }
.mega-section summary::after {
  content: '';
  width: 8px; height: 8px;
  border-right: 2px solid var(--gray-500);
  border-bottom: 2px solid var(--gray-500);
  transform: rotate(45deg);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  margin-right: 4px;
}
.mega-section[open] summary { color: var(--gold); }
.mega-section[open] summary::after { transform: rotate(-135deg); border-color: var(--gold); }

.mega-section a {
  display: flex;
  align-items: center;
  padding: 10px 16px 10px 30px;
  color: var(--gray-700);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  margin: 2px 6px;
  transition: all .25s cubic-bezier(.4, 0, .2, 1);
  position: relative;
}
.mega-section a::before {
  content: '';
  position: absolute;
  left: 16px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  transform: scale(0);
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
}
.mega-section a::after {
  content: '→';
  margin-left: auto;
  opacity: 0;
  transform: translateX(-8px);
  color: var(--gold);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  font-size: 14px;
  font-weight: 600;
}
.mega-section a:hover { background: rgba(200,150,12,0.06); color: var(--gold); padding-left: 36px; }
.mega-section a:hover::before { opacity: 1; transform: scale(1); }
.mega-section a:hover::after { opacity: 1; transform: translateX(0); }
.mega-section a.ext::after { content: '↗'; opacity: 0.5; transform: translateX(0); }
.mega-section a.ext:hover::after { opacity: 1; transform: translate(2px,-2px); }

/* === Stagger entry animation === */
body.mega-open .mega-section { animation: mega-fade-in .55s cubic-bezier(.4, 0, .2, 1) backwards; }
body.mega-open .mega-section:nth-child(1) { animation-delay: .15s; }
body.mega-open .mega-section:nth-child(2) { animation-delay: .20s; }
body.mega-open .mega-section:nth-child(3) { animation-delay: .25s; }
body.mega-open .mega-section:nth-child(4) { animation-delay: .30s; }
body.mega-open .mega-section:nth-child(5) { animation-delay: .35s; }
body.mega-open .mega-section:nth-child(6) { animation-delay: .40s; }
body.mega-open .mega-section:nth-child(7) { animation-delay: .45s; }
body.mega-open .mega-primary a { animation: mega-fade-in .4s cubic-bezier(.4, 0, .2, 1) backwards; }
body.mega-open .mega-primary a:nth-child(1) { animation-delay: .08s; }
body.mega-open .mega-primary a:nth-child(2) { animation-delay: .12s; }
body.mega-open .mega-primary a:nth-child(3) { animation-delay: .16s; }
body.mega-open .mega-primary a:nth-child(4) { animation-delay: .20s; }
body.mega-open .mega-primary a:nth-child(5) { animation-delay: .24s; }
body.mega-open .mega-primary a:nth-child(6) { animation-delay: .28s; }
@keyframes mega-fade-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === Reduce motion === */
@media (prefers-reduced-motion: reduce) {
  .nav-discover .discover-icon, .nav-discover::after { animation: none; }
  body.mega-open .mega-section, body.mega-open .mega-primary a { animation: none; }
  .mega-panel { transition: none; }
}

/* === Mobile responsive === */
@media (max-width: 900px) {
  .nav-cta .btn-nav-outline { display: none; }
  .nav-cta .btn-nav-primary { padding: 8px 14px; font-size: 12px; }
  .mega-primary, .mega-cta-mobile { display: flex; }
  .nav-discover { padding: 8px 14px; font-size: 12px; }
  .nav-discover .discover-label { display: none; }
}
@media (max-width: 480px) {
  header nav { gap: 8px; padding: 10px 12px; }
  header .logo img { height: 36px !important; }
  .nav-cta { gap: 6px; }
  .mega-panel { width: 100%; padding: 18px 18px 50px; }
}

/* === MEGA hero "Espace connexion entreprise" + Apps mobiles — 2026-05-18 v4 === */
.mega-hero {
  margin: -8px -8px 18px;
  padding: 22px 18px 20px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #312e81 100%);
  border-radius: 16px;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.mega-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 30% 0%, rgba(200,150,12,0.35) 0%, transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(240,180,41,0.25) 0%, transparent 70%);
  z-index: -1;
}
.mega-hero::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(200,150,12,0.15) 25%, transparent 50%, rgba(240,180,41,0.1) 75%, transparent 100%);
  animation: mega-hero-rotate 18s linear infinite;
  z-index: -1;
}
.mega-hero-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #fff, var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.mega-hero-sub {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.mega-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mega-hero-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
}
.mega-hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0;
  z-index: -1;
  transition: opacity .35s;
}
.mega-hero-card:hover { transform: translateY(-3px) scale(1.04); border-color: var(--gold-light); box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(200,150,12,0.4); color: #1f2937; }
.mega-hero-card:hover::before { opacity: 1; }
.mega-hero-icon { font-size: 24px; line-height: 1; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.mega-hero-card:hover .mega-hero-icon { transform: scale(1.18) rotate(-6deg); }
.mega-hero-name { font-size: 11.5px; font-weight: 800; letter-spacing: 0.3px; }
.mega-hero-desc { font-size: 10px; opacity: 0.75; line-height: 1.3; }

@keyframes mega-hero-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* === Apps mobiles cards === */
.mega-section-apps[open] { background: linear-gradient(135deg, rgba(30,58,138,0.04), rgba(200,150,12,0.02)); border-color: rgba(30,58,138,0.12); }
.mega-apps-group { margin: 6px 6px 12px; }
.mega-apps-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 1.5px;
  padding: 8px 8px 4px;
  text-transform: uppercase;
}
.mega-app {
  display: flex !important;
  align-items: center !important;
  gap: 12px;
  padding: 10px 12px !important;
  border-radius: 10px;
  margin: 2px 0 !important;
  background: rgba(15,23,42,0.02);
  border: 1px solid rgba(15,23,42,0.04);
  transition: all .3s cubic-bezier(.4, 0, .2, 1);
  text-decoration: none !important;
}
.mega-app::before, .mega-app::after { display: none !important; }
.mega-app:hover {
  background: linear-gradient(135deg, rgba(200,150,12,0.08), rgba(200,150,12,0.02)) !important;
  border-color: rgba(200,150,12,0.25);
  transform: translateX(4px);
  padding-left: 12px !important;
}
.mega-app-emoji {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(15,23,42,0.06), inset 0 0 0 1px rgba(15,23,42,0.04);
  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.mega-app:hover .mega-app-emoji { transform: scale(1.12) rotate(-4deg); box-shadow: 0 4px 14px rgba(200,150,12,0.25), inset 0 0 0 1px var(--gold-light); }
.mega-app-name { display: block; font-size: 13.5px; font-weight: 700; color: var(--gray-900); line-height: 1.2; }
.mega-app-sub { display: block; font-size: 11.5px; color: var(--gray-500); margin-top: 2px; line-height: 1.3; }
.mega-app:hover .mega-app-name { color: var(--gold); }

@media (max-width: 480px) {
  .mega-hero { padding: 18px 14px; }
  .mega-hero-grid { gap: 6px; }
  .mega-hero-card { padding: 12px 4px; }
  .mega-hero-name { font-size: 10.5px; }
  .mega-hero-desc { font-size: 9.5px; }
  .mega-app-emoji { width: 32px; height: 32px; font-size: 20px; }
}

/* === Fix layout : compliance-grid centrée + ancrage header — 2026-05-18 === */
.compliance-grid {
  justify-content: center;
  justify-items: stretch;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.compliance-grid > * { max-width: 280px; }

/* Section "Mes certifications" : titre H3 centré dans son bloc */
.compliance-grid + *, h3 + .compliance-grid { text-align: left; }

/* Conteneur générique : padding latéral mobile + max-width */
.container, [class*="container"] { width: 100%; }
section > .container { padding-left: 24px; padding-right: 24px; }
@media (max-width: 600px) {
  section > .container { padding-left: 16px; padding-right: 16px; }
}

/* Éviter que les contenus dépassent (cause overflow horizontal) */
section, main, footer { max-width: 100vw; overflow-x: clip; }

/* === MEGA HERO v5 — Design cinematic WOW — 2026-05-18 === */
/* Reset des anciennes regles v4 */
.mega-hero {
  margin: -8px -14px 22px;
  padding: 28px 22px 26px;
  background: linear-gradient(135deg, #050816 0%, #0a0e1a 35%, #14122e 70%, #1a0f2e 100%);
  border-radius: 18px;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 20px 50px rgba(10,14,26,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Orbes animées floues */
.mega-hero-orbs { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.mega-hero-orbs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.6;
  animation: orb-drift 16s ease-in-out infinite;
}
.mega-hero-orbs span:nth-child(1) { width: 180px; height: 180px; background: var(--gold); top: -40px; left: -30px; animation-delay: 0s; }
.mega-hero-orbs span:nth-child(2) { width: 140px; height: 140px; background: #6366f1; bottom: -30px; right: -20px; animation-delay: 5s; }
.mega-hero-orbs span:nth-child(3) { width: 110px; height: 110px; background: var(--gold-light); top: 40%; left: 40%; animation-delay: 10s; opacity: 0.35; }

/* Grain noise subtle */
.mega-hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.mega-hero-content { position: relative; z-index: 2; }
.mega-hero-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 3px;
  padding: 6px 12px;
  background: rgba(200,150,12,0.15);
  border: 1px solid rgba(200,150,12,0.4);
  color: var(--gold-light);
  border-radius: 100px;
  margin-bottom: 14px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.mega-hero-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #fff;
}
.mega-hero-title-grad {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shimmer 4s ease-in-out infinite;
}
@keyframes title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Grille 3 cards verticales */
.mega-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.mega-hero-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 14px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: all .45s cubic-bezier(.34, 1.25, .64, 1);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.mega-hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, var(--gold) 50%, transparent 70%);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s, background-position 4s linear;
  z-index: -1;
  pointer-events: none;
}
.mega-hero-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(200,150,12,0.35) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s;
  z-index: -1;
  border-radius: 14px;
}
.mega-hero-card:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--gold-light);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(200,150,12,0.25), 0 0 0 1px rgba(200,150,12,0.35);
}
.mega-hero-card:hover::before { opacity: 1; background-position: 200% 200%; }
.mega-hero-card:hover .mega-hero-card-glow { opacity: 1; }
.mega-hero-card:active { transform: translateY(-3px) scale(1.01); }

.mega-hero-icon {
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(200,150,12,0.15), rgba(99,102,241,0.1));
  border: 1px solid rgba(200,150,12,0.3);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  margin-bottom: 4px;
  transition: all .45s cubic-bezier(.34, 1.56, .64, 1);
}
.mega-hero-card:hover .mega-hero-icon {
  transform: scale(1.15) rotate(-8deg);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(200,150,12,0.45);
}
.mega-hero-name {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
}
.mega-hero-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
  font-weight: 500;
  line-height: 1.4;
}
.mega-hero-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
}
.mega-hero-card:hover .mega-hero-arrow {
  color: var(--gold);
  transform: translate(4px,-2px) scale(1.2);
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(30px,-20px) scale(1.15); }
  66% { transform: translate(-20px,25px) scale(0.9); }
}

/* Mobile responsive */
@media (max-width: 480px) {
  .mega-hero { margin: -6px -14px 18px; padding: 22px 16px 20px; }
  .mega-hero-title { font-size: 18px; }
  .mega-hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .mega-hero-card { flex-direction: row; align-items: center; padding: 12px 14px; }
  .mega-hero-card .mega-hero-icon { width: 44px; height: 44px; font-size: 22px; margin-bottom: 0; margin-right: 4px; }
  .mega-hero-card .mega-hero-name { font-size: 14px; }
  .mega-hero-card .mega-hero-desc { font-size: 11px; }
  .mega-hero-arrow { position: static; margin-left: auto; }
}

/* === Tilt 3D au cursor (subtil) === */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .mega-hero-grid { perspective: 1000px; }
  .mega-hero-card { transform-style: preserve-3d; }
}

/* === MEGA SWITCHER WOW v6 — Tab segmented control + theme sub-tabs — 2026-05-18 === */

/* Switcher principal Entreprise / Apps mobiles */
.mega-switcher {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 6px;
  background: linear-gradient(135deg, rgba(15,23,42,0.06), rgba(15,23,42,0.02));
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 16px;
  margin: 0 -2px 18px;
  isolation: isolate;
}
.mega-tab {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 14px 12px;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--gray-600);
  letter-spacing: -0.01em;
  transition: color .35s cubic-bezier(.4, 0, .2, 1);
  text-align: left;
  line-height: 1.2;
}
.mega-tab-ico {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 10px;
  transition: all .35s cubic-bezier(.34, 1.56, .64, 1);
  flex-shrink: 0;
}
.mega-tab-lbl { display: inline-block; }
.mega-tab.is-active { color: #fff; }
.mega-tab.is-active .mega-tab-ico {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.mega-tab:hover:not(.is-active) { color: var(--gray-900); }
.mega-tab:hover:not(.is-active) .mega-tab-ico { transform: scale(1.05); border-color: var(--gold); }

.mega-tab-slider {
  position: absolute;
  top: 6px; left: 6px;
  width: calc(50% - 6px);
  height: calc(100% - 12px);
  background: linear-gradient(135deg, #0a0e1a 0%, #1e3a8a 70%, var(--gold) 130%);
  border-radius: 12px;
  z-index: 1;
  transition: transform .45s cubic-bezier(.34, 1.25, .64, 1);
  box-shadow: 0 6px 20px rgba(10,14,26,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Vues */
.mega-view { display: none; animation: view-in .45s cubic-bezier(.4, 0, .2, 1) forwards; }
.mega-view.is-active { display: block; }
@keyframes view-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Vue Apps : sous-onglets thèmes === */
.mega-themes-head { margin-bottom: 14px; }
.mega-themes-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: var(--gray-900);
  margin-bottom: 4px;
}
.mega-themes-sub { font-size: 12.5px; color: var(--gray-500); }

.mega-theme-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  padding: 5px;
  background: var(--gray-50, #f7f8fa);
  border-radius: 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(15,23,42,0.04);
  isolation: isolate;
}
.mega-theme-tab {
  position: relative;
  z-index: 2;
  background: transparent;
  border: none;
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--gray-600);
  transition: color .3s cubic-bezier(.4, 0, .2, 1);
}
.mega-theme-tab span { font-size: 15px; line-height: 1; transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.mega-theme-tab:hover:not(.is-active) { color: var(--gray-900); }
.mega-theme-tab:hover:not(.is-active) span { transform: scale(1.15); }
.mega-theme-tab.is-active { color: #fff; }
.mega-theme-tab.is-active span { transform: scale(1.2); }
.mega-theme-slider {
  position: absolute;
  top: 5px; left: 5px;
  width: calc(33.3333% - 3.33px);
  height: calc(100% - 10px);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 10px;
  z-index: 1;
  transition: transform .4s cubic-bezier(.34, 1.25, .64, 1);
  box-shadow: 0 4px 14px rgba(200,150,12,0.35);
}

.mega-theme-panel { display: none; animation: view-in .35s cubic-bezier(.4, 0, .2, 1) forwards; }
.mega-theme-panel.is-active { display: block; }

/* === App "WOW" cards (used in theme panels) === */
.mega-app-wow {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  margin: 8px 0;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.06);
  text-decoration: none;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.mega-app-wow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,150,12,0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity .35s;
  z-index: -1;
}
.mega-app-wow:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
  box-shadow: 0 10px 28px rgba(200,150,12,0.18), 0 0 0 1px rgba(200,150,12,0.25);
}
.mega-app-wow:hover::before { opacity: 1; }
.mega-app-wow-icon {
  display: inline-flex;
  width: 50px; height: 50px;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--gray-50, #f7f8fa), #fff);
  border: 1px solid rgba(15,23,42,0.05);
  border-radius: 14px;
  flex-shrink: 0;
  transition: all .45s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.mega-app-wow:hover .mega-app-wow-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: transparent;
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 8px 22px rgba(200,150,12,0.4);
}
.mega-app-wow-body { flex: 1; min-width: 0; }
.mega-app-wow-name {
  font-family: 'Manrope', sans-serif;
  font-size: 14.5px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 3px;
}
.mega-app-wow-sub {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.4;
}
.mega-app-wow:hover .mega-app-wow-name { color: var(--gold); }
.mega-app-wow-arrow {
  font-size: 18px;
  color: var(--gray-300, #cbd5e1);
  font-weight: 600;
  transition: all .35s cubic-bezier(.4, 0, .2, 1);
  flex-shrink: 0;
}
.mega-app-wow:hover .mega-app-wow-arrow { color: var(--gold); transform: translateX(4px); }

/* Mobile responsive */
@media (max-width: 480px) {
  .mega-tab { padding: 12px 8px; font-size: 12px; gap: 8px; }
  .mega-tab-ico { width: 32px; height: 32px; font-size: 16px; }
  .mega-tab-lbl { font-size: 12px; }
  .mega-theme-tab { font-size: 11px; padding: 9px 6px; }
  .mega-app-wow { padding: 12px 14px; gap: 12px; }
  .mega-app-wow-icon { width: 44px; height: 44px; font-size: 22px; }
}

/* === MOBILE FIX v8 — 2026-05-18 (Android Chrome friendly) === */

/* Fallback gradient pour browsers sans support moderne */
.mega-hero { background-color: #0a0e1a !important; }
.mega-panel { background-color: #fff !important; }

/* Panel plein écran sur mobile */
@media (max-width: 900px) {
  .mega-panel {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    padding: 16px 14px 80px !important;
    border-left: none !important;
    box-shadow: none !important;
  }
  body.mega-open .mega-panel { transform: translateX(0); }

  /* Switcher mobile compact */
  .mega-switcher { padding: 5px; margin: 0 0 16px; }
  .mega-tab { padding: 11px 8px; font-size: 11.5px; gap: 8px; flex-direction: row; align-items: center; }
  .mega-tab-ico { width: 32px; height: 32px; font-size: 16px; }
  .mega-tab-lbl br { display: none; }
  .mega-tab-lbl { font-size: 12px; white-space: nowrap; line-height: 1.2; }
  .mega-tab-slider { box-shadow: 0 4px 14px rgba(10,14,26,0.25); }

  /* Hero mobile compact */
  .mega-hero { margin: 0 0 16px !important; padding: 20px 16px !important; border-radius: 14px !important; }
  .mega-hero-tag { font-size: 9px; letter-spacing: 2px; padding: 5px 10px; margin-bottom: 12px; }
  .mega-hero-title { font-size: 18px !important; line-height: 1.2; margin-bottom: 16px; }
  .mega-hero-grid { grid-template-columns: 1fr !important; gap: 8px; }
  .mega-hero-card {
    flex-direction: row !important;
    align-items: center !important;
    padding: 14px !important;
    gap: 14px !important;
  }
  .mega-hero-card .mega-hero-icon {
    width: 46px !important;
    height: 46px !important;
    font-size: 22px !important;
    margin: 0 !important;
    flex-shrink: 0;
  }
  .mega-hero-card .mega-hero-name { font-size: 14.5px !important; }
  .mega-hero-card .mega-hero-desc { font-size: 11.5px !important; }
  .mega-hero-card .mega-hero-arrow {
    position: static !important;
    margin-left: auto !important;
    font-size: 18px !important;
    flex-shrink: 0;
  }

  /* Theme tabs mobile */
  .mega-theme-tabs { padding: 4px; }
  .mega-theme-tab { padding: 9px 4px; font-size: 11px; gap: 4px; }
  .mega-theme-tab span { font-size: 14px; }

  /* App cards mobile */
  .mega-app-wow { padding: 12px 14px; gap: 12px; }
  .mega-app-wow-icon { width: 44px; height: 44px; font-size: 22px; }
  .mega-app-wow-name { font-size: 14px; }
  .mega-app-wow-sub { font-size: 11.5px; }

  /* Head sticky */
  .mega-head { margin: -16px -14px 14px; padding: 14px 18px; }
  .mega-head-title { font-size: 12px; }

  /* Mega primary mobile (rappel des 6 liens) */
  .mega-primary { display: flex; }
  .mega-primary a { padding: 12px 14px; font-size: 15px; }

  /* CTA mobile */
  .mega-cta-mobile { display: flex; }

  /* Force header readable on mobile */
  header nav { padding: 8px 12px !important; gap: 8px !important; }
  header .nav-cta { gap: 6px; }
  header .nav-cta .btn-nav-primary { padding: 7px 12px; font-size: 11.5px; }
  header .nav-discover { padding: 8px 12px; font-size: 11.5px; min-height: 40px; }
  header .nav-discover .discover-label { display: none; }

  /* Sections SEO mobile */
  .mega-section summary { padding: 13px 14px; font-size: 11.5px; }
  .mega-section a { padding: 9px 14px 9px 26px; font-size: 13px; margin: 2px 4px; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  header nav { gap: 6px !important; }
  header .logo img { height: 34px !important; }
  header .nav-cta .btn-nav-primary { padding: 6px 10px; font-size: 11px; }
  header .nav-cta .btn-nav-primary .demo-long { display: none; }
  header .nav-discover { padding: 7px 10px; }
  .mega-hero-title { font-size: 16px !important; }
}

/* Empêcher défilement du body quand panel ouvert */
body.mega-open { position: fixed; width: 100%; overflow: hidden; }

/* === YouTube facade — 2026-05-19 === */
.section-video {
  padding: 80px 24px;
  background: linear-gradient(180deg, #fff 0%, #fdf8e8 50%, #fff 100%);
  position: relative;
  overflow: hidden;
}
.section-video::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(200,150,12,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.section-video .container { position: relative; z-index: 1; max-width: 960px; }
.section-video .video-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 12px;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}
.section-video .video-sub {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.yt-facade {
  position: relative;
  aspect-ratio: 16/9;
  max-width: 900px;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 18px;
  overflow: hidden;
  background: #0a0e1a;
  box-shadow:
    0 24px 60px rgba(15,23,42,0.22),
    0 6px 16px rgba(15,23,42,0.08),
    0 0 0 1px rgba(200,150,12,0.08);
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
  isolation: isolate;
}
.yt-facade:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 72px rgba(200,150,12,0.28),
    0 8px 24px rgba(15,23,42,0.12),
    0 0 0 2px rgba(200,150,12,0.4);
}
.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .35s;
}
.yt-facade:hover .yt-thumb { transform: scale(1.04); filter: brightness(.72) saturate(1.1); }
.yt-facade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10,14,26,0.55) 100%);
  pointer-events: none;
  z-index: 1;
  transition: opacity .35s;
}
.yt-facade:hover::after { opacity: 0.8; }
.yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: #1f2937;
  border: none;
  width: 104px; height: 104px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 14px 40px rgba(200,150,12,0.5),
    0 0 0 10px rgba(200,150,12,0.18),
    inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all .4s cubic-bezier(.34, 1.56, .64, 1);
  z-index: 2;
  padding: 0;
}
.yt-play::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(200,150,12,0.18);
  z-index: -1;
  animation: yt-pulse 2.4s ease-in-out infinite;
}
@keyframes yt-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.2; }
}
.yt-facade:hover .yt-play {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow:
    0 18px 52px rgba(200,150,12,0.6),
    0 0 0 16px rgba(200,150,12,0.22),
    inset 0 1px 0 rgba(255,255,255,0.5);
}
.yt-play svg { margin-left: 6px; }
.yt-caption {
  position: absolute;
  bottom: 18px;
  left: 24px;
  z-index: 2;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
}
.yt-caption-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(200,150,12,0.85);
  color: #1f2937;
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: none;
}
.yt-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 640px) {
  .section-video { padding: 56px 16px; }
  .yt-play { width: 72px; height: 72px; }
  .yt-play svg { width: 32px; height: 32px; margin-left: 4px; }
  .yt-caption { font-size: 12px; bottom: 12px; left: 14px; }
}
﻿
/* ============ VIDÉO HTML5 NATIVE — remplacement YT facade — 2026-05-21 ============ */
.hero-video-self {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  background: #0a0e1a;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(15,23,42,0.22),
    0 6px 16px rgba(15,23,42,0.08),
    0 0 0 1px rgba(200,150,12,0.18);
  transition: transform .4s cubic-bezier(.4,0,.2,1), box-shadow .4s;
}
.hero-video-self:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 72px rgba(200,150,12,0.28),
    0 8px 24px rgba(15,23,42,0.12),
    0 0 0 2px rgba(200,150,12,0.4);
}
@media (max-width: 720px) {
  .hero-video-self { border-radius: 14px; }
}