/* ════════════════════════════════════════════════════
   LYAECO Web — Styles partagés (nav, footer, abar…)
   Importé par toutes les pages secondaires
   ════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;700;800;900&display=swap');

/* ── Variables dark mode ── */
:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-blue: #0B3A8F;
  --accent-cyan: #4A90D9;
  --accent-gold: #fbbf24;
  --orange: #FC692F;
  --bg-gradient: linear-gradient(135deg, #071D46 0%, #0A2A67 50%, #0C368C 100%);
  --border: #334155;
  --grad: linear-gradient(135deg, #071E47, #0B3A8F);
  --shadow-sm: 0 4px 16px rgba(15,23,42,.06);
  --shadow-md: 0 12px 36px rgba(15,23,42,.10);
  --shadow-lg: 0 24px 60px rgba(15,23,42,.15);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── Icons 3D ── */
.ico-3d {
  display: inline-block;
  vertical-align: middle;
  margin: -2px 4px 0 0;
  user-select: none;
  pointer-events: none;
}

/* ── Announcement bar ── */
.abar {
  background: var(--grad);
  color: #fff;
  height: 48px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.abar-track {
  display: flex;
  white-space: nowrap;
  animation: abarScroll 25s linear infinite;
  will-change: transform;
}
.abar-group {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 40px;
  flex-shrink: 0;
}
@keyframes abarScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}
.abar-text  { font-size: 13px; font-weight: 800; }
.abar-sep   { font-size: 13px; font-weight: 800; color: rgba(255,255,255,.6); }
.abar-btn   { color: #0B3A8F; background: #fff; padding: 6px 16px; border-radius: 100px; font-size: 12px; font-weight: 900; text-decoration: none; white-space: nowrap; }
.abar-phone { color: #fff; text-decoration: none; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); padding: 6px 16px; border-radius: 100px; font-size: 12px; font-weight: 800; white-space: nowrap; }

/* ── Nav ── */
.h-nav {
  position: sticky; top: 0; z-index: 200;
  height: 80px; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(15,23,42,.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 4px 20px rgba(15,23,42,.06);
  transition: all .3s ease;
}
.h-nav.shrink { height: 64px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; }
.nav-logo-name { font-size: 20px; font-weight: 900; color: var(--text-primary); letter-spacing: -.5px; line-height: 1; }
.nav-logo-name em { font-style: normal; color: var(--accent-cyan); }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  position: relative; padding: 10px 18px; border-radius: 12px;
  text-decoration: none; font-size: 15px; font-weight: 700;
  color: var(--text-secondary); transition: color .2s, background .2s;
}
.nav-links a:hover,
.nav-links a.nav-active { color: var(--text-primary); background: var(--bg-secondary); }
.nav-links a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 2px; border-radius: 10px; background: var(--grad);
  transform: scaleX(0); transform-origin: center; transition: transform .25s ease;
}
.nav-links a:hover::after,
.nav-links a.nav-active::after { transform: scaleX(1); }
.nav-cta {
  background: #FC692F; color: #fff !important;
  padding: 10px 22px !important; border-radius: 12px !important;
  font-weight: 800 !important; box-shadow: 0 6px 20px rgba(252,105,47,.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(252,105,47,.4) !important; }
.nav-cta::after { display: none !important; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-secondary); font-size: 20px;
  cursor: pointer; color: var(--text-primary);
}
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg-primary); z-index: 300;
  flex-direction: column; padding: 24px; gap: 8px;
  animation: menuSlide .28s ease;
}
.mobile-menu.open { display: flex; }
@keyframes menuSlide { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-menu-header .nav-logo { display: flex; align-items: center; gap: 10px; }
.mobile-close { font-size: 28px; background: none; border: none; cursor: pointer; color: var(--text-primary); }
.mobile-menu a {
  display: block; padding: 16px 20px;
  background: var(--bg-secondary); border-radius: 14px;
  text-decoration: none; font-size: 16px; font-weight: 800;
  color: var(--text-primary); transition: background .2s, color .2s;
}
.mobile-menu a:hover { background: var(--grad); color: #fff; }
.mobile-menu .mobile-cta { background: var(--grad); color: #fff; text-align: center; margin-top: 8px; }

/* ── Shared section ── */
.section { padding: 96px 48px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  display: inline-block;
  background: rgba(252,105,47,.15); border: 1px solid rgba(252,105,47,.3);
  color: var(--orange); font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 800;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 14px;
}
.section-title { font-size: 42px; font-weight: 900; letter-spacing: -1.5px; color: var(--text-primary); line-height: 1.15; margin-bottom: 12px; }
.section-sub { font-size: 17px; color: var(--text-secondary); line-height: 1.7; max-width: 600px; }
.tc { text-align: center; }
.tc .section-sub { margin: 0 auto; }
.grad-text { color: #FC692F; -webkit-text-fill-color: #FC692F; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #FC692F; color: #fff; padding: 15px 28px;
  border-radius: 14px; font-size: 15px; font-weight: 800;
  text-decoration: none; border: none; cursor: pointer;
  box-shadow: 0 8px 24px rgba(252,105,47,.28);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative; overflow: hidden; font-family: inherit;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.4), transparent);
  transition: left .6s ease;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(252,105,47,.4); }
.btn-primary:hover::before { left: 140%; }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #4A90D9;
  padding: 14px 26px; border-radius: 14px; font-size: 15px; font-weight: 800;
  text-decoration: none; border: 2px solid #4A90D9;
  transition: all .25s ease; font-family: inherit;
}
.btn-secondary:hover { background: #4A90D9; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(74,144,217,.35); }

/* ── Page hero (pages secondaires) ── */
.page-hero {
  padding: 80px 48px 72px;
  background: radial-gradient(circle at 70% 20%, rgba(11,58,143,.12), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(11,58,143,.10), transparent 50%);
  position: relative; overflow: hidden;
}
.page-hero-inner { max-width: 800px; margin: 0 auto; }
.page-hero-tag {
  display: inline-block;
  background: rgba(252,105,47,.15); border: 1px solid rgba(252,105,47,.3);
  color: var(--orange); font-size: 11px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.page-hero h1 { font-size: 52px; font-weight: 900; letter-spacing: -2px; line-height: 1.1; color: var(--text-primary); margin-bottom: 18px; }
.page-hero-sub { font-size: 18px; color: var(--text-secondary); line-height: 1.7; max-width: 600px; margin-bottom: 32px; }
.page-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.breadcrumb { padding: 14px 48px; font-size: 13px; color: var(--text-secondary); }
.breadcrumb a { color: var(--accent-cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── CTA section (partagée) ── */
.cta-section { position: relative; overflow: hidden; padding: 0; }
.cta-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #071E47 0%, #0B3A8F 100%); z-index: 0; }
.cta-inner { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; padding: 96px 48px; display: flex; align-items: center; justify-content: center; }
.cta-glass {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 28px; padding: 52px 48px;
  text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.2); width: 100%;
}
.cta-title { font-size: 42px; font-weight: 900; color: #fff; letter-spacing: -1.5px; margin-bottom: 14px; line-height: 1.15; }
.cta-sub { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 32px; line-height: 1.6; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btn-main { background: #FC692F; color: #fff; padding: 15px 28px; border-radius: 14px; font-size: 15px; font-weight: 900; text-decoration: none; box-shadow: 0 8px 24px rgba(252,105,47,.25); transition: all .25s ease; border: none; cursor: pointer; font-family: inherit; }
.cta-btn-main:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,.2); }
.cta-btn-sec { background: transparent; color: #fff; padding: 14px 26px; border-radius: 14px; font-size: 15px; font-weight: 800; text-decoration: none; border: 2px solid rgba(255,255,255,.5); transition: all .25s ease; font-family: inherit; cursor: pointer; }
.cta-btn-sec:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.8); }

/* ── Footer ── */
footer { background: #0f172a; color: #fff; padding: 56px 48px 28px; }
.foot-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.07); }
.foot-logo { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 10px; }
.foot-logo em { font-style: normal; color: #4A90D9; }
.foot-logo-img { width: 36px; height: 36px; border-radius: 8px; vertical-align: middle; margin-right: 8px; }
.foot-desc { font-size: 13px; color: #64748b; line-height: 1.7; max-width: 250px; }
.foot-col h4 { font-size: 11px; font-weight: 900; color: #64748b; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 9px; }
.foot-col a, .foot-col span { color: #64748b; font-size: 13px; text-decoration: none; transition: color .2s; }
.foot-col a:hover { color: #fff; }
.foot-bot { max-width: 1200px; margin: 26px auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.foot-bot p { font-size: 12px; color: #475569; }

/* ── WhatsApp float ── */
.wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 999; display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #25d366, #1ebe5d); color: #fff; text-decoration: none; padding: 14px 18px; border-radius: 100px; font-weight: 800; font-size: 14px; box-shadow: 0 18px 42px rgba(37,211,102,.35); transition: transform .25s ease, box-shadow .25s ease; }
.wa-float:hover { transform: translateY(-4px) scale(1.04); box-shadow: 0 24px 52px rgba(37,211,102,.45); }
.wa-icon { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.wa-ping { position: absolute; inset: 0; border-radius: 100px; background: rgba(37,211,102,.35); animation: waPing 2s infinite; z-index: -1; }
@keyframes waPing { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.18); opacity: 0; } 100% { opacity: 0; } }

/* ── Pill Nav (utilisée sur toutes les pages) ── */
.hnav-pill {
  position: sticky;
  top: 0;
  z-index: 998;
  display: flex;
  justify-content: center;
  padding: 12px 20px;
  pointer-events: none;
  background: #1A4FC4;
}
.hnav-inner {
  pointer-events: all;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 4px 24px rgba(15,23,42,.12), 0 1px 4px rgba(15,23,42,.06);
  padding: 8px 8px 8px 24px;
  width: min(960px, 100%);
  gap: 4px;
}
.hnav-logo {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: #0f172a;
  font-weight: 900; font-size: 16px;
  white-space: nowrap; flex-shrink: 0; margin-right: 4px;
}
.hnav-logo img { border-radius: 8px; }
.hnav-logo em { color: #FC692F; font-style: normal; }
.hnav-links {
  list-style: none;
  display: flex; gap: 0;
  flex: 1; justify-content: center;
  padding: 0 8px;
}
.hnav-links a {
  display: block; text-decoration: none;
  color: #374151; font-size: 14px; font-weight: 700;
  padding: 9px 14px; border-radius: 100px;
  white-space: nowrap; transition: background .18s, color .18s;
}
.hnav-links a:hover { background: #f1f5f9; color: #0f172a; }
.hnav-links a[aria-current="page"] { background: #f1f5f9; color: #0f172a; }
.hnav-cta {
  display: inline-flex; align-items: center;
  background: #FC692F; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 800;
  padding: 13px 28px; border-radius: 100px;
  white-space: nowrap; flex-shrink: 0; transition: background .2s;
}
.hnav-cta:hover { background: #e85a24; }
.hnav-burger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 10px 14px; border-radius: 100px; flex-shrink: 0;
  transition: background .18s;
}
.hnav-burger:hover { background: #f1f5f9; }

/* Pill nav tablette (641-1024) : liens toujours visibles avec scroll horizontal si trop serrés, plus de burger (mobile-menu supprimé) */
@media (max-width: 1024px) {
  .hnav-burger { display: none !important; }
  .hnav-links {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .hnav-links::-webkit-scrollbar { display: none; }
  .hnav-links a { padding: 8px 11px; font-size: 13px; }
  .hnav-cta { font-size: 13px; padding: 11px 20px; }
}

/* Pill nav mobile (≤640) : liens visibles, plus de burger, plus de texte logo, défilement horizontal si trop serré */
@media (max-width: 640px) {
  .hnav-pill { padding: 8px 10px; }
  .hnav-inner {
    padding: 6px 6px 6px 10px;
    width: 100%;
    gap: 2px;
  }
  .hnav-logo span { display: none; }
  .hnav-logo { margin-right: 2px; gap: 0; }
  .hnav-logo img { width: 28px; height: 28px; }
  .hnav-burger { display: none !important; }
  .hnav-links {
    display: flex !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 4px;
    flex: 1;
    justify-content: flex-start;
  }
  .hnav-links::-webkit-scrollbar { display: none; }
  .hnav-links a {
    font-size: 11px;
    padding: 6px 9px;
    font-weight: 700;
  }
  .hnav-cta {
    display: inline-flex !important;
    font-size: 11px;
    padding: 8px 14px;
    font-weight: 800;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) { .foot-in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px)  { .h-nav { padding: 0 20px; } }
@media (max-width: 640px) {
  .section { padding: 64px 20px; }
  .section-title { font-size: 32px; }
  .h-nav { padding: 0 20px; height: 68px; }
  .nav-links, .nav-right > a { display: none; }
  .burger { display: flex; align-items: center; justify-content: center; }
  .page-hero { padding: 56px 20px 48px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero-sub { font-size: 16px; }
  .breadcrumb { padding: 12px 20px; }
  .foot-in { grid-template-columns: 1fr; gap: 28px; }
  .foot-bot { flex-direction: column; text-align: center; }
  .wa-float .wa-text { display: none; }
  .cta-inner { padding: 60px 20px; }
  .cta-glass { padding: 36px 24px; }
  .cta-title { font-size: 30px; }
  .devis-mobile-hide { display: none !important; }
}
