@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700;900&display=swap');

:root {
  --bg-color: #000000; /* Pure black background to hide bounding box of the colibri video */
  --card-bg: rgba(12, 12, 14, 0.62); /* Translucide : laisse voir le colibri qui passe derriere. Monter vers 0.85 = plus opaque */
  --card-blur: 14px; /* Flou derriere les cards. Baisser = colibri plus net, monter = plus diffus */
  --card-border: rgba(255, 255, 255, 0.15); /* Stronger border definition */

  /* Decalage des cards vers le centre (desktop seulement).
     0 = collees au bord comme avant ; --card-shift-max = decalage souhaite.
     Le clamp borne le decalage pour ne JAMAIS chevaucher les ilots (35vw du cote oppose) :
     espace libre = 100vw - 8vw (padding section) - 620px (card) - 35vw (ilot) - 80px (marge de securite). */
  --card-shift-max: 220px;
  --card-shift: clamp(0px, calc(57vw - 620px - 80px), var(--card-shift-max));
  --primary-color: #666cff;
  --secondary-color: #00f3ff;
  --text-primary: #ffffff;
  --text-secondary: #90a0c7;
  --font-family: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: none; /* Hide scrollbars */
}

*::-webkit-scrollbar {
  display: none; /* Hide scrollbars */
}

body {
  position: relative; /* Crucial: allows absolute background container to stretch to full page height, not just viewport */
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-family);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background video & decor elements */
#scroll-video-container {
  position: absolute; /* Absolute to stretch to full document height and scroll naturally */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: 1; /* Behind text, above body */
  pointer-events: none;
  overflow: hidden;
  background-color: var(--bg-color);
}

.bg-layer {
  position: absolute;
  pointer-events: none;
  opacity: 1;
  will-change: transform;
}

.hero-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 1100px;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}

.island-1 {
  top: 1350px;
  right: 0;
  width: 35vw;
  max-width: 644px;
  height: auto;
  z-index: 2;
}

.island-2 {
  top: 2500px;
  left: 0;
  width: 35vw;
  max-width: 652px;
  height: auto;
  z-index: 2;
}

.island-3 {
  top: 3650px;
  right: 0;
  width: 35vw;
  max-width: 694px;
  height: auto;
  z-index: 2;
}

.island-4 {
  top: 4800px;
  left: 0;
  width: 35vw;
  max-width: 631px;
  height: auto;
  z-index: 2;
}

.island-5 {
  top: 5950px;
  right: 0;
  width: 35vw;
  max-width: 708px;
  height: auto;
  z-index: 2;
}

.footer-bg {
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto; /* Let the height scale naturally to prevent any zoom or distortion */
  z-index: 1;
}

/* Header styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 6%;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.logo svg {
  width: 32px;
  height: 32px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--text-primary);
}

.cta-button {
  background: var(--primary-color);
  color: var(--text-primary);
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(102, 108, 255, 0.4);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.1);
}

.cta-button:hover {
  background: #555be0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 108, 255, 0.5);
}

.secondary-button {
  background: transparent;
  color: var(--text-primary);
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.3);
}

/* Sections containers */
main {
  position: relative;
  z-index: 2; /* Main text is in front of the fixed video */
}

section {
  height: 1150px; /* Fixed height to match mockup background image section slots exactly */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  position: relative;
}

/* Custom heights to sum to exactly 10200px and align cards precisely with the floating islands */
.hero {
  height: 1100px !important;
}
#features-comptabilite {
  height: 1150px !important;
}
#features-paie {
  height: 1150px !important;
}
#features-paie + section { /* Feature section 3 */
  height: 1150px !important;
}
#features-paie + section + section { /* Timeline section */
  height: 1150px !important;
}
.app-screenshots {
  height: 1200px !important;
}
.general-intro {
  height: 800px !important;
}
.pricing {
  height: 1200px !important;
}
.faq {
  height: 1100px !important;
}

/* Hero Section */
.hero {
  align-items: flex-start;
  max-width: 750px;
}

#colibri-sprite {
  position: absolute;
  top: 220px;
  right: 38vw; /* Positioned left-center */
  width: 250px;
  height: 250px;
  z-index: 3; /* Render behind the cards (which have z-index: 10) but on top of islands */
  pointer-events: none;
  background-image: url('/landing/assets/colibri_spritesheet.png');
  background-size: 15250px 250px; /* 61 frames * 250px */
  background-repeat: no-repeat;
  animation: play-colibri-sprite 2.033s steps(61) infinite, float-colibri 6s ease-in-out infinite;
}

@keyframes play-colibri-sprite {
  from { background-position: 0px 0px; }
  to { background-position: -15250px 0px; }
}

@keyframes float-colibri {
  0% {
    transform: translateY(0px) rotate(-10deg) scaleX(var(--colibri-scale-x, -2.4)) scaleY(var(--colibri-scale-y, 2.4)); /* Scale bird to 2.4x and flip it via CSS Variables */
  }
  50% {
    transform: translateY(-25px) rotate(-6deg) scaleX(var(--colibri-scale-x, -2.4)) scaleY(var(--colibri-scale-y, 2.4));
  }
  100% {
    transform: translateY(0px) rotate(-10deg) scaleX(var(--colibri-scale-x, -2.4)) scaleY(var(--colibri-scale-y, 2.4));
  }
}

.hero h1 {
  font-size: 64px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ffffff 60%, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Terminal Box */
.terminal-box {
  margin-top: 40px;
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 24px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  color: #a0aec0;
  max-width: 480px;
  width: 100%;
  backdrop-filter: blur(10px);
}

.terminal-line {
  margin-bottom: 8px;
  opacity: 0;
  transform: translateX(-10px);
  animation: fadeInLine 0.5s forwards;
}

.terminal-line .status {
  color: var(--secondary-color);
  font-weight: 700;
  margin-right: 8px;
}

.terminal-line:nth-child(1) { animation-delay: 0.4s; }
.terminal-line:nth-child(2) { animation-delay: 1.2s; }
.terminal-line:nth-child(3) { animation-delay: 2.0s; }
.terminal-line:nth-child(4) { animation-delay: 2.8s; }

@keyframes fadeInLine {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll Indicators */
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 8%;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Section Titles */
.section-header {
  max-width: 600px;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 300;
}

/* Card Sections */
.features-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.features-section.reverse {
  flex-direction: row-reverse;
}

/* Rapproche les cards du centre. L'ilot etant toujours du cote oppose a la card,
   on pousse depuis le bord ou la card est collee. */
.features-section:not(.reverse) {
  padding-left: var(--card-shift);
}

.features-section.reverse {
  padding-right: var(--card-shift);
}

.feature-content {
  max-width: 620px;
  width: 100%;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(var(--card-blur));
  padding: 40px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  margin-bottom: 24px;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(102, 108, 255, 0.3);
}

.feature-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.7;
}

/* Timeline/Steps style */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.timeline-step {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 24px 32px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.timeline-step:hover {
  border-color: rgba(0, 243, 255, 0.2);
  transform: translateX(10px);
}

.timeline-step .num {
  width: 36px;
  height: 36px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 0 10px rgba(102, 108, 255, 0.4);
}

/* General Intro Callout */
.general-intro {
  text-align: center;
  align-items: center;
  max-width: 850px;
  margin: 0 auto;
}

.general-intro h2 {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 70%, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Pricing Grid */
.pricing {
  align-items: center;
}

.pricing h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  text-align: center;
}

.pricing-p {
  color: var(--text-secondary);
  margin-bottom: 60px;
  text-align: center;
  max-width: 600px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1240px;
}

@media (max-width: 1240px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.price-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(15px);
  padding: 48px 32px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.price-card.popular {
  border-color: var(--primary-color);
  box-shadow: 0 10px 45px rgba(102, 108, 255, 0.15);
  transform: scale(1.03);
  background-color: rgba(0, 0, 0, 0.85); /* Slightly darker backplate for the popular plan */
}

.price-card:hover {
  transform: translateY(-8px);
}

.price-card.popular:hover {
  transform: translateY(-8px) scale(1.03);
}

.price-header h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.price-header .price {
  font-size: 48px;
  font-weight: 900;
  margin: 16px 0;
  letter-spacing: -0.03em;
}

.price-header .price span {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-secondary);
}

.price-features {
  margin: 32px 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.price-features li {
  font-size: 15px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-features li::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: 900;
}

/* FAQ Section */
.faq {
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 48px;
  letter-spacing: -0.03em;
}

.faq-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 24px;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: var(--text-secondary);
  padding: 0 24px;
  font-weight: 300;
}

.faq-item.active {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

.faq-icon {
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Floating Language Switcher */
#lang-switcher {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  top: auto !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  z-index: 9999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--primary-color) !important;
  color: #ffffff !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5) !important;
  border: 1.5px solid rgba(255,255,255,0.3) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#lang-switcher:hover {
  background: #555be0 !important;
  transform: translateY(-2px) scale(1.05) !important;
}

/* Animations for entries */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
footer {
  padding: 60px 8%;
  background: rgba(0, 0, 0, 0.98);
  border-top: 1px solid var(--card-border);
  text-align: center;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 300;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

footer .footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

footer .footer-links a:hover {
  color: var(--text-primary);
}

/* App Screenshots Section */
.app-screenshots {
  text-align: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.app-screenshots h2 {
  font-size: 42px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 60%, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  margin-top: 48px;
}

.screenshot-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  cursor: pointer;
  backdrop-filter: blur(15px);
}

.screenshot-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(102, 108, 255, 0.4);
}

.screenshot-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  border-bottom: 1px solid var(--card-border);
}

.screenshot-card:hover img {
  transform: scale(1.05);
}

.screenshot-info {
  padding: 24px;
  text-align: left;
}

.screenshot-info h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.screenshot-info p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 300;
}

/* Feature card bullet lists */
.feature-card ul {
  margin-top: 20px;
  padding-left: 20px;
  list-style-type: none;
}

.feature-card ul li {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  position: relative;
  font-weight: 300;
  line-height: 1.5;
}

.feature-card ul li::before {
  content: "✦";
  color: var(--secondary-color);
  position: absolute;
  left: -20px;
  top: 0;
  font-size: 12px;
}

/* Responsive design */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .price-card.popular {
    transform: none;
  }
  .price-card.popular:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  header {
    padding: 20px 4%;
  }
  nav {
    display: none; /* Simple mobile hide */
  }
  .hero h1 {
    font-size: 44px;
  }
  .features-section, .features-section.reverse {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
    /* En colonne les cards sont pleine largeur : le decalage vers le centre n'a plus de sens */
    padding-left: 0;
    padding-right: 0;
  }
  .feature-content {
    max-width: 100%;
  }
}

/* =====================================================================
   ADDITIONS v4 — refonte contenu, screenshots réels & pages secteur
   (n'altère pas la composition scroll-driven de l'accueil)
   ===================================================================== */

/* --- Petits libellés / pills --- */
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}
.pill.accent { color: var(--secondary-color); border-color: rgba(0, 243, 255, 0.35); }

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* --- Cadre "navigateur" pour screenshots réels --- */
.browser-mock {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: #0c0c0e;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(102, 108, 255, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.browser-mock:hover {
  transform: translateY(-6px);
  border-color: rgba(102, 108, 255, 0.35);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--card-border);
}
.browser-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #3a3f4b;
}
.browser-bar .dot:nth-child(1) { background: #ff5f57; }
.browser-bar .dot:nth-child(2) { background: #febc2e; }
.browser-bar .dot:nth-child(3) { background: #28c840; }
.browser-bar .url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-secondary);
  font-family: 'Courier New', monospace;
  opacity: 0.8;
}
.browser-mock img {
  display: block;
  width: 100%;
  height: auto;
}
/* Variante "aperçu" (cadrage haut) pour l'accueil, hauteur contrainte */
.browser-mock.peek img {
  height: 320px;
  object-fit: cover;
  object-position: top center;
}

/* Sur l'accueil : l'aperçu se glisse dans la colonne de contenu (jamais sur l'île) */
.feature-shot {
  margin-top: 28px;
  max-width: 560px;
}

/* --- Bandeau d'avantage / "Pendant que d'autres..." --- */
.edge-note {
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 3px solid var(--secondary-color);
  background: rgba(0, 243, 255, 0.05);
  border-radius: 0 12px 12px 0;
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
  max-width: 560px;
}
.edge-note strong { color: var(--secondary-color); }

/* --- Tableau comparatif --- */
.compare {
  align-items: center;
  height: auto !important;
  padding: 140px 8%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.compare h2 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.compare > p {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 48px auto;
  font-weight: 300;
}
.compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(15px);
  text-align: left;
}
.compare-table th,
.compare-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 15px;
  vertical-align: top;
}
.compare-table thead th {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.02);
}
.compare-table thead th.us {
  color: var(--secondary-color);
  border-bottom: 2px solid var(--secondary-color);
}
.compare-table td.crit {
  font-weight: 700;
  color: var(--text-primary);
  width: 30%;
}
.compare-table td.us {
  color: var(--text-primary);
  font-weight: 500;
  background: rgba(0, 243, 255, 0.04);
}
.compare-table td.them {
  color: var(--text-secondary);
  font-weight: 300;
}
.compare-table td.us::before {
  content: "✓ ";
  color: var(--secondary-color);
  font-weight: 900;
}
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: none; }

/* --- Bandeau CTA final --- */
.cta-band {
  height: auto !important;
  align-items: center;
  text-align: center;
  padding: 120px 8%;
  max-width: 900px;
  margin: 0 auto;
}
.cta-band h2 {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 60%, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-band p {
  color: var(--text-secondary);
  font-size: 19px;
  font-weight: 300;
  margin-bottom: 36px;
  max-width: 620px;
}
.cta-band .hero-buttons { justify-content: center; }
.cta-sub {
  margin-top: 20px !important;
  font-size: 14px !important;
  color: var(--text-secondary);
}

/* =====================================================================
   PAGES INTÉRIEURES / SECTEUR (fond sombre, sans îlots vidéo)
   ===================================================================== */
body.interior {
  background:
    radial-gradient(1200px 600px at 80% -100px, rgba(102, 108, 255, 0.14), transparent 60%),
    radial-gradient(1000px 500px at 0% 300px, rgba(0, 243, 255, 0.08), transparent 55%),
    var(--bg-color);
  background-attachment: fixed;
}
body.interior main { z-index: 2; }

/* Réinitialise la contrainte de hauteur fixe de l'accueil */
body.interior section {
  height: auto !important;
  min-height: 0;
  display: block;
  padding: 90px 8%;
}

.page-hero {
  padding-top: 160px !important;
  padding-bottom: 60px !important;
  max-width: 1180px;
  margin: 0 auto;
}
.page-hero .inner { max-width: 780px; }
.page-hero h1 {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 62%, var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-hero .lead {
  font-size: 21px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 660px;
}

/* Sections "split" : texte d'un côté, screenshot de l'autre */
.split-section {
  max-width: 1180px;
  margin: 0 auto;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split.reverse .split-media { order: 1; }
.split-text h2 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}
.split-text p {
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 20px;
}
.split-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.split-text ul li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.5;
}
.split-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-color);
  font-weight: 900;
}
.split-text ul li strong { color: var(--text-primary); font-weight: 600; }

/* Grille de cartes fonctionnalités (pages secteur) */
.section-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}
.section-title h2 {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}
.section-title p { color: var(--text-secondary); font-weight: 300; font-size: 18px; }

.card-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mini-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 32px;
  backdrop-filter: blur(15px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}
.mini-card:hover { transform: translateY(-6px); border-color: rgba(102, 108, 255, 0.3); }
.mini-card .ico {
  font-size: 26px;
  margin-bottom: 14px;
  display: block;
}
.mini-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.mini-card p { font-size: 14px; color: var(--text-secondary); font-weight: 300; line-height: 1.6; }

/* Bandeau secteurs (accueil & pages) */
.sector-band { max-width: 1180px; margin: 0 auto; }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.sector-link {
  display: block;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 28px;
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.3s, border-color 0.3s;
}
.sector-link:hover { transform: translateY(-6px); border-color: rgba(0, 243, 255, 0.35); }
.sector-link .ico { font-size: 30px; display: block; margin-bottom: 14px; }
.sector-link h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.sector-link p { font-size: 13px; color: var(--text-secondary); font-weight: 300; line-height: 1.5; }
.sector-link .go { color: var(--secondary-color); font-size: 13px; font-weight: 700; margin-top: 12px; display: inline-block; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-text { order: 1; }
  .split.reverse .split-media { order: 2; }
  .card-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .page-hero h1 { font-size: 40px; }
  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 14px 12px; }
}
