html { scroll-behavior: smooth; }

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

:root,
[data-theme="dark"] {
  --bg:     #080808;
  --border: rgba(255, 255, 255, 0.08);
  --white:  #f0f0ec;
  --muted:  rgba(240, 240, 236, 0.45);
  --accent: #c8f060;
  --nav-bg: rgba(8, 8, 8, 0.9);
}

[data-theme="light"] {
  --bg:     #f4f4f0;
  --border: rgba(0, 0, 0, 0.1);
  --white:  #111110;
  --muted:  rgba(17, 17, 16, 0.5);
  --accent: #5a9010;
  --nav-bg: rgba(244, 244, 240, 0.92);
}

html[lang="en"] .fr { display: none; }
html[lang="fr"] .en { display: none; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

#net {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 60px;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-portal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.nav-portal:hover {
  color: var(--white);
  border-color: rgba(128, 128, 128, 0.38);
  background: rgba(255, 255, 255, 0.03);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.15s;
  letter-spacing: 0.04em;
}
.nav-btn:hover { color: var(--white); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--bg);
  background: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
  margin-left: 4px;
}
.nav-cta:hover { opacity: 0.85; }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: calc(60px + 16vh) 48px 10vh;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -2px;
  max-width: 780px;
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 44px;
}
.hero-sub strong {
  color: var(--white);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn-primary {
  font-size: 14px;
  font-weight: 500;
  color: var(--bg);
  background: var(--white);
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.85; }

.btn-secondary {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.btn-secondary:hover { color: var(--white); }

.section {
  border-top: 1px solid var(--border);
  padding: 96px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 64px;
}

.what-items {
  display: flex;
  flex-direction: column;
}

.what-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.what-item:last-child { border-bottom: none; }

.what-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}

.what-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 560px;
}
.what-desc strong {
  color: var(--white);
  font-weight: 400;
}

.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector {
  font-size: 13px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  transition: color 0.15s, border-color 0.15s;
}
.sector:hover {
  color: var(--white);
  border-color: rgba(128, 128, 128, 0.35);
}

.cta-block {
  border-top: 1px solid var(--border);
  padding: 120px 48px;
  max-width: 1100px;
  margin: 0 auto;
}

.cta-block h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1.08;
  max-width: 480px;
  margin-bottom: 20px;
}

.cta-block p {
  font-size: 15px;
  color: var(--muted);
  max-width: 380px;
  line-height: 1.7;
  margin-bottom: 36px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 36px 48px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  font-size: 13px;
  color: var(--muted);
}

footer a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
footer a:hover { color: var(--white); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tag     { animation: fadeUp 0.5s ease both 0.10s; }
.hero h1      { animation: fadeUp 0.6s ease both 0.20s; }
.hero-sub     { animation: fadeUp 0.6s ease both 0.32s; }
.hero-actions { animation: fadeUp 0.6s ease both 0.44s; }

@media (max-width: 720px) {
  nav                          { padding: 0 20px; }
  .hero, .section,
  .cta-block, footer           { padding-left: 24px; padding-right: 24px; }
  .hero                        { padding-top: calc(60px + 10vh); }
  .what-item                   { grid-template-columns: 1fr; gap: 10px; }
  footer                       { flex-direction: column; gap: 10px; align-items: flex-start; }
  .nav-portal                  { display: none; }
}
