/* ============================================
   IT LIVEO — Nouveau design inspiré Stardust
   Sidebar gauche | Dark theme | Bleu électrique
   ============================================ */

/* Variables */
:root {
  --bg:            #080a0f;
  --bg-2:          #0d1018;
  --bg-card:       #0f1420;
  --sidebar-bg:    #060709;
  --sidebar-w:     240px;
  --accent:        #0066ff;
  --accent-glow:   #0088ff;
  --accent-light:  #33aaff;
  --white:         #ffffff;
  --text:          rgba(255,255,255,0.92);
  --text-muted:    rgba(255,255,255,0.48);
  --border:        rgba(255,255,255,0.07);
  --border-accent: rgba(0,102,255,0.35);
  --shadow:        0 20px 60px rgba(0,0,0,0.5);
  --radius:        12px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Open Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Poppins', 'Barlow', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p  { line-height: 1.8; color: var(--text-muted); }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
  position: fixed;
  left: 0; top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--sidebar-bg);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 200;
  overflow: hidden;
}

/* Logo */
.sidebar-logo {
  padding: 36px 28px 32px;
  border-bottom: 1px solid var(--border);
}
.sidebar-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sidebar-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.sidebar-logo .brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.sidebar-logo .brand span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav */
.sidebar-nav {
  flex: 1;
  padding: 32px 0;
  overflow-y: auto;
}
.sidebar-nav ul {
  display: flex;
  flex-direction: column;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.sidebar-nav a::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform var(--transition);
  border-radius: 0 3px 3px 0;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--white);
  background: rgba(0,102,255,0.08);
}
.sidebar-nav a:hover::before,
.sidebar-nav a.active::before {
  transform: scaleY(1);
}
.sidebar-nav a.active {
  color: var(--accent-light);
}

/* Sidebar footer */
.sidebar-footer {
  padding: 24px 28px;
  border-top: 1px solid var(--border);
}
.sidebar-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.sidebar-contact a {
  font-size: 0.72rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.sidebar-contact a:hover { color: var(--accent-light); }

.sidebar-social {
  display: flex;
  gap: 12px;
}
.sidebar-social a {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 14px;
  transition: all var(--transition);
}
.sidebar-social a:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(0,102,255,0.1);
}
.sidebar-social svg { width: 14px; height: 14px; fill: currentColor; }

/* ============================================
   BURGER (mobile)
   ============================================ */
.burger {
  display: none;
  position: fixed;
  top: 18px; left: 18px;
  z-index: 300;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px; height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?w=1920&q=80&fit=crop') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,10,15,0.95) 0%,
    rgba(8,10,15,0.75) 55%,
    rgba(0,40,120,0.3) 100%
  );
}
/* Accent glow */
.hero::before {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,102,255,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 80px;
  max-width: 760px;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 28px;
}
.hero-label::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero h1 .accent {
  color: var(--accent-light);
  position: relative;
}
.hero p {
  font-size: 1.05rem;
  max-width: 460px;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 80px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  z-index: 2;
}
.scroll-line {
  width: 48px; height: 1px;
  background: var(--border);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  left: -100%; top: 0;
  width: 100%; height: 100%;
  background: var(--accent);
  animation: scrollAnim 2s ease infinite;
}
@keyframes scrollAnim {
  0%   { left: -100%; }
  100% { left: 100%; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 28px rgba(0,102,255,0.4);
}
.btn-primary:hover {
  background: var(--accent-glow);
  box-shadow: 0 0 40px rgba(0,136,255,0.55);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  background: rgba(0,102,255,0.08);
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
.section {
  padding: 100px 80px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.section-tag::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--accent);
}
.section-header {
  margin-bottom: 60px;
}
.section-header h2 {
  max-width: 520px;
}
.section-header p {
  margin-top: 16px;
  max-width: 540px;
  font-size: 1rem;
}

/* ============================================
   PAGE HERO (intérieur)
   ============================================ */
.page-hero {
  padding: 120px 80px 80px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,102,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.06em;
}
.breadcrumb a { color: var(--accent-light); }
.breadcrumb span { color: var(--border); }
.page-hero h1 { max-width: 600px; }
.page-hero p {
  margin-top: 20px;
  max-width: 520px;
  font-size: 1.05rem;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 40px 36px;
  transition: background var(--transition);
  display: block;
  cursor: pointer;
}
.service-card:hover {
  background: rgba(0,102,255,0.07);
}
.service-icon {
  width: 48px; height: 48px;
  background: rgba(0,102,255,0.12);
  border: 1px solid rgba(0,102,255,0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1.5;
}
.service-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
}
.service-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  transition: gap var(--transition);
}
.service-card:hover .card-link { gap: 10px; }

/* ============================================
   ABOUT TEASER
   ============================================ */
.about-teaser {
  background: var(--bg-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.about-text {
  padding: 100px 80px;
}
.about-text h2 { margin-bottom: 24px; }
.about-text p  { margin-bottom: 20px; font-size: 0.95rem; }
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
.stat-item h3 {
  font-size: 2.2rem;
  color: var(--accent-light);
  font-weight: 800;
  line-height: 1;
}
.stat-item p {
  font-size: 0.82rem;
  margin-top: 4px;
}
.about-img-wrap {
  position: relative;
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.8);
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8,10,15,0.6) 0%, transparent 60%);
}

/* ============================================
   PARTNERS
   ============================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.partner-item {
  background: var(--bg-card);
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.partner-item:hover { background: rgba(0,102,255,0.06); }
.partner-item img {
  max-height: 42px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.45);
  transition: filter var(--transition);
  object-fit: contain;
}
.partner-item:hover img {
  filter: brightness(0) invert(1) opacity(0.85);
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  padding: 100px 80px;
  background: linear-gradient(135deg, rgba(0,102,255,0.12) 0%, transparent 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p  { margin-bottom: 40px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--sidebar-bg);
  border-top: 1px solid var(--border);
  padding: 60px 80px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}
.footer-brand img {
  width: 42px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1) opacity(0.7);
}
.footer-brand p {
  font-size: 0.85rem;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--accent-light); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.footer-bottom a {
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-bottom a:hover { color: var(--white); }

/* ============================================
   PRESTATIONS PAGE
   ============================================ */
.prestations-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.prestation-item {
  background: var(--bg-card);
  padding: 48px 56px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  transition: background var(--transition);
}
.prestation-item:hover { background: rgba(0,102,255,0.06); }
.prestation-icon {
  width: 56px; height: 56px;
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.prestation-icon svg {
  width: 26px; height: 26px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1.5;
}
.prestation-body h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.prestation-body p { font-size: 0.93rem; }
.prestation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid var(--border-accent);
  color: var(--accent-light);
  background: rgba(0,102,255,0.07);
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px;
}
.contact-info h3 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 28px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: rgba(0,102,255,0.1);
  border: 1px solid rgba(0,102,255,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 20px; height: 20px;
  stroke: var(--accent-light);
  fill: none;
  stroke-width: 1.5;
}
.contact-item-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-item a,
.contact-item p {
  font-size: 0.95rem;
  color: var(--white);
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--accent-light); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 18px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================
   QUI SOMMES NOUS
   ============================================ */
.team-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.team-img {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.team-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: brightness(0.8) saturate(0.7);
  transition: all var(--transition);
}
.team-img:hover img { filter: brightness(0.9) saturate(0.9); }
.team-text h2 { margin-bottom: 20px; }
.team-text p  { margin-bottom: 16px; font-size: 0.95rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 60px;
}
.value-card {
  background: var(--bg-card);
  padding: 36px 32px;
}
.value-card h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
}
.value-card p { font-size: 0.88rem; }

/* ============================================
   PARTENAIRES PAGE
   ============================================ */
.partners-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.partner-card {
  background: var(--bg-card);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: background var(--transition);
  text-align: center;
}
.partner-card:hover { background: rgba(0,102,255,0.06); }
.partner-card img {
  max-height: 50px;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.5);
  transition: filter var(--transition);
}
.partner-card:hover img { filter: brightness(0) invert(1) opacity(1); }
.partner-card p { font-size: 0.82rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .services-grid,
  .values-grid { grid-template-columns: 1fr 1fr; }
  .partners-full,
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser { grid-template-columns: 1fr; }
  .about-img-wrap { height: 360px; }
}

@media (max-width: 900px) {
  :root { --sidebar-w: 0px; }
  .sidebar {
    transform: translateX(-240px);
    width: 240px;
    transition: transform var(--transition);
  }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
  .burger { display: flex; }

  .section,
  .cta-band,
  footer { padding: 70px 32px; }
  .hero-content { padding: 0 32px; }
  .hero-scroll { left: 32px; }
  .page-hero { padding: 100px 32px 60px; }
  .contact-layout { grid-template-columns: 1fr; padding: 60px 32px; gap: 48px; }
  .team-section { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .services-grid,
  .values-grid,
  .partners-full,
  .partners-grid { grid-template-columns: 1fr; }
  .prestation-item { grid-template-columns: 1fr; gap: 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* Overlay sidebar mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 150;
  backdrop-filter: blur(2px);
}
.sidebar-overlay.active { display: block; }
