*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0a0e1a;
  --navy-mid: #101628;
  --navy-light: #1a2140;
  --blue: #2563eb;
  --blue-bright: #3b82f6;
  --blue-glow: #60a5fa;
  --accent: #f0f4ff;
  --white: #ffffff;
  --muted: #a3b8e0;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(255,255,255,0.14);
  --tricolor-1: #002395;
  --tricolor-2: #ffffff;
  --tricolor-3: #ED2939;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--navy);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: 16px;
  padding-top: 70px; /* Évite que la nav fixed ne chevauche le contenu au scroll/ancres */
}

h1, h2, h3, h4, .logo {
  font-family: 'Syne', sans-serif;
}

/* GRID BACKGROUND */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  text-decoration: none;
}

.logo span {
  color: var(--blue-bright);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: background 0.2s !important;
  letter-spacing: 0.01em;
}

.nav-cta:hover { background: var(--blue-bright) !important; color: var(--white) !important; }

/* SECTIONS */
section { position: relative; z-index: 1; scroll-margin-top: 90px; } /* Empêche les ancres de se coller sous la nav */

/* HERO */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 5vw 6rem;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--navy));
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,49,137,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.french-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.flag {
  display: inline-flex;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
}
.flag span {
  width: 7px;
  height: 12px;
}
.flag .f1 { background: var(--tricolor-1); }
.flag .f2 { background: var(--tricolor-2); }
.flag .f3 { background: var(--tricolor-3); }

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-glow);
}

.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary:hover {
  background: var(--blue-bright);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--border-bright);
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
}

/* TRUST STRIP */
.trust-strip {
  padding: 2.5rem 5vw;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--navy-mid);
}

.trust-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.trust-item svg {
  color: var(--blue-bright);
  flex-shrink: 0;
}

/* SECTION COMMON */
.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 5vw;
}

.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 540px;
  line-height: 1.7;
}

/* SERVICES */
.services {
  background: var(--navy-mid);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5px;
  margin-top: 3.5rem;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: var(--navy-mid);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  position: relative;
}

.service-card:hover {
  background: var(--navy-light);
}

.service-card.featured {
  background: linear-gradient(135deg, #0f1e3d, #1a2e52);
  border: none;
}

.service-card.featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  background: var(--blue);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(59,130,246,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--blue-glow);
}

.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

.service-features {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-bright);
  flex-shrink: 0;
}

/* PROXIMITÉ / SUPPORT */
.proximite {
  background: linear-gradient(to bottom, var(--navy-mid), var(--navy));
  border-top: 1px solid var(--border);
}

.prox-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.prox-content h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.prox-content p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2rem;
}

.prox-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.prox-feature {
  display: flex;
  gap: 1rem;
  background: var(--navy-light);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.prox-feature-icon {
  color: var(--blue-glow);
  flex-shrink: 0;
}

.prox-feature h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.prox-feature p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* SOVEREIGNTY */
.sovereignty {
  background: var(--navy);
}

.sov-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
  margin-top: 3rem;
}

.sov-visual {
  position: relative;
  display: flex;
  width: 100%;
}

.sov-map-placeholder {
  width: 100%;
  border-radius: 16px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
  flex-grow: 1;
}

.sov-map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 42% 52%, rgba(37,99,235,0.2) 0%, transparent 55%);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(59,130,246,0.25), 0 0 0 8px rgba(59,130,246,0.1); }
  50% { box-shadow: 0 0 0 6px rgba(59,130,246,0.3), 0 0 0 14px rgba(59,130,246,0.08); }
}

.sov-points {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sov-point {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.sov-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--blue-glow);
  letter-spacing: 0.1em;
  padding-top: 0.2rem;
  flex-shrink: 0;
  width: 28px;
}

.sov-point h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.sov-point p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* PACK */
.pack {
  background: var(--navy-mid);
}

.pack-card {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, var(--navy-light) 0%, #0d1b3a 100%);
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 20px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.pack-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pack-tag {
  display: inline-block;
  background: rgba(37,99,235,0.2);
  border: 1px solid rgba(59,130,246,0.35);
  color: var(--blue-glow);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
}

.pack-card h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.pack-card > div:first-child p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.pack-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pack-chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-bright);
  color: var(--accent);
  font-size: 0.8rem;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
}

.pack-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.pack-price {
  text-align: center;
}

.pack-price .amount {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.pack-price .period {
  font-size: 0.8rem;
  color: var(--muted);
}

.pack-price .from {
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
  display: block;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* OPEN SOURCE */
.opensource {
  background: var(--navy);
  border-top: 1px solid var(--border);
}

.os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.os-card {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.2s;
}

.os-card:hover { border-color: rgba(59,130,246,0.3); }

.os-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.os-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  font-weight: 300;
}

.os-logo {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  display: block;
}

/* CONTACT */
.contact {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
}

.contact-inner {
  text-align: center;
}

.contact-inner .section-sub {
  max-width: 440px;
  margin: 0 auto 2.5rem;
}

.contact-options {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--navy-light);
  border: 1px solid var(--border-bright);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.contact-link:hover {
  border-color: rgba(59,130,246,0.5);
  background: rgba(37,99,235,0.1);
}

.contact-link svg { width: 16px; height: 16px; color: var(--blue-bright); }

/* FOOTER */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 2.5rem 5vw;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span { color: var(--blue-bright); }

.footer-legal {
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-fr {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ANIMATIONS */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {
  nav {
    padding: 1rem 3vw;
  }

  .nav-links {
    display: none !important;
  }

  .section-wrap {
    padding: 4rem 3vw;
  }

  .hero {
    padding: 4rem 3vw 4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .pack-card {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .sov-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
  :root {
    font-size: 15.5px;
  }

  body {
    padding-top: 60px; /* S'adapte à la nav plus petite sur mobile */
  }

  nav {
    padding: 0.75rem 4vw;
    gap: 1rem;
  }

  .logo {
    font-size: 1.15rem;
  }

  .hero {
    min-height: auto;
    padding: 4rem 4vw 3rem;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 1.25rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
  }

  .hero-orb {
    width: 300px;
    height: 300px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.5rem;
  }

  .trust-strip {
    padding: 1.5rem 4vw;
  }

  .trust-inner {
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
  }

  .section-wrap {
    padding: 3rem 4vw;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-label {
    font-size: 0.7rem;
  }

  .section-sub {
    font-size: 1.05rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.25rem;
  }

  .service-card p,
  .service-features li {
    font-size: 0.95rem;
  }

  .prox-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sov-grid {
    display: flex;
    flex-direction: column-reverse; /* Met le texte EN PREMIER et le serveur EN DESSOUS sur mobile */
    gap: 2.5rem;
  }

  .sov-map-placeholder {
    padding: 2.5rem 1.5rem;
  }

  .sov-points {
    gap: 1.5rem;
  }

  .sov-point {
    gap: 1rem;
  }

  .sov-point h3 {
    font-size: 1.1rem;
  }

  .sov-point p {
    font-size: 0.98rem;
  }

  .pack-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
  }

  .pack-card::before {
    display: none;
  }

  .pack-tag {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    margin-bottom: 1rem;
  }

  .pack-card h3 {
    font-size: 1.85rem;
  }

  .pack-price .amount {
    font-size: 2.2rem;
  }

  .pack-cta {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }

  .os-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .os-card {
    padding: 1.25rem;
  }

  .os-card h3 {
    font-size: 0.98rem;
  }

  .os-card p {
    font-size: 0.85rem;
  }

  .contact-options {
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-link {
    width: 100%;
    justify-content: center;
    padding: 0.7rem 1rem;
    font-size: 0.92rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-logo {
    font-size: 1rem;
  }

  .footer-legal,
  .footer-fr {
    font-size: 0.75rem;
    text-align: center;
    width: 100%;
  }
}

/* RESPONSIVE - SMALL MOBILE */
@media (max-width: 480px) {
  :root {
    font-size: 14.5px;
  }

  nav {
    padding: 0.6rem 3vw;
  }

  .logo {
    font-size: 1rem;
  }

  .hero {
    padding: 3rem 3vw 2rem;
  }

  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .french-badge {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
  }

  .section-wrap {
    padding: 2rem 3vw;
  }

  .section-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .pack-card {
    padding: 1.25rem;
    gap: 1rem;
  }

  .contact-options {
    gap: 0.5rem;
  }
}

/* France hex map SVG inline */
.france-svg {
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

/* CONTACT FORM & LEGAL LAYOUT SPECIFIC STYLES */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: flex-start;
  margin-top: 3rem;
}

.contact-info-panel {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.contact-info-panel h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info-item svg {
  color: var(--blue-glow);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.contact-info-item div h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-info-item div p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-info-item div a {
  color: var(--blue-glow);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-item div a:hover {
  color: var(--white);
}

.contact-form-panel {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
}

.contact-form-panel h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.form-control {
  width: 100%;
  background: var(--navy);
  border: 1px solid var(--border-bright);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--blue);
  color: var(--white);
  border: 1px solid transparent;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.btn-submit:hover {
  background: var(--blue-bright);
  transform: translateY(-1px);
}

/* Form success feedback */
.form-success-message {
  display: none;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #34d399;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* LEGAL PAGE SPECIFIC STYLES */
.legal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.legal-block {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
}

.legal-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--white);
  letter-spacing: -0.01em;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.legal-block p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.legal-block ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

.legal-block ul li {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 2;
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.legal-block ul li::before {
  content: '●';
  color: var(--blue-glow);
  font-size: 0.5rem;
  margin-right: 0.5rem;
}

.legal-block a {
  color: var(--blue-glow);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-block a:hover {
  color: var(--white);
}

/* Responsive changes for contact/legal pages */
@media (max-width: 1024px) {
  .contact-container, .legal-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* RAGOLEON SPECIFIC STYLES */
.rag-hero {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5vw 4rem;
  position: relative;
}

.rag-hero-container {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  text-align: left;
  position: relative;
  z-index: 2;
}

.rag-hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.rag-hero-text p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* Chatbot Mockup Styles */
.rag-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.chat-mockup {
  width: 100%;
  max-width: 440px;
  background: rgba(16, 22, 40, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-header {
  padding: 1rem 1.25rem;
  background: rgba(26, 33, 64, 0.5);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.3);
}

.chat-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--white);
}

.chat-status {
  font-size: 0.75rem;
  color: #4ade80;
}

.chat-body {
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-msg {
  max-width: 85%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-msg.user {
  background: var(--blue);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-msg.bot {
  background: var(--navy-light);
  color: var(--accent);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid var(--border);
}

.chat-msg.bot strong {
  color: var(--white);
  font-weight: 500;
}

.sources {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.source-chip {
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: var(--blue-glow);
  font-size: 0.72rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
}

.chat-input-bar {
  padding: 1rem 1.25rem;
  background: rgba(26, 33, 64, 0.3);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: text;
}

.chat-send-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--navy-light);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-glow);
  font-weight: bold;
}

/* Mobile responsive for Ragoleon Hero */
@media (max-width: 1024px) {
  .rag-hero {
    min-height: auto;
    padding-top: 5rem;
  }

  .rag-hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .rag-hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .rag-hero-text h1 {
    font-size: 2.5rem;
  }
  
  .rag-hero-text .hero-cta {
    justify-content: center !important;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
  background: linear-gradient(135deg, #0d1b3a 0%, #1a2e52 100%);
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.pricing-card.featured::before {
  content: 'RECOMMANDÉ';
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  background: var(--blue);
  color: var(--white);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-family: 'Syne', sans-serif;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.pricing-card .price {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin: 1.5rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.pricing-card .price span {
  font-size: 0.9rem;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
}

.pricing-card p.description {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 50px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pricing-features li svg {
  color: var(--blue-glow);
  flex-shrink: 0;
}

.pricing-features li.disabled {
  color: rgba(163, 184, 224, 0.4);
  text-decoration: line-through;
}

.pricing-features li.disabled svg {
  color: rgba(163, 184, 224, 0.3);
}

.pricing-card .btn-primary, .pricing-card .btn-outline {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

/* Comparison Table */
.comparison-section {
  background: var(--navy-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-wrapper {
  margin-top: 3.5rem;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--navy);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 700px;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.comparison-table th {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--white);
  background: var(--navy-mid);
}

.comparison-table td:first-child, .comparison-table th:first-child {
  font-weight: 500;
  color: var(--white);
}

.comparison-table td {
  color: var(--muted);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

.comparison-table td .highlight-val {
  color: var(--blue-glow);
  font-weight: 600;
}

.check-icon {
  color: #4ade80;
  font-weight: bold;
}

.cross-icon {
  color: #f87171;
  font-weight: bold;
}

/* FAQ section */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.faq-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.2s ease;
}

.faq-card:hover {
  border-color: var(--border-bright);
}

.faq-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--white);
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.faq-card h3::before {
  content: '?';
  color: var(--blue-bright);
  font-weight: 800;
}

.faq-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
