:root {
  --bg: #05070b;
  --bg-2: #0a0f16;
  --surface: rgba(10, 16, 24, 0.75);
  --surface-strong: rgba(13, 20, 30, 0.92);
  --text: #e7f4fb;
  --muted: #9bb0c6;
  --accent: #47f2c2;
  --accent-2: #5ce1ff;
  --accent-3: #ffcf6b;
  --accent-4: #ff6f8a;
  --border: rgba(120, 160, 200, 0.3);
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: radial-gradient(circle at 18% 20%, rgba(71, 242, 194, 0.2), transparent 45%),
    radial-gradient(circle at 85% 12%, rgba(92, 225, 255, 0.18), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(255, 207, 107, 0.15), transparent 45%),
    linear-gradient(160deg, var(--bg) 0%, var(--bg-2) 55%, #05090e 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../BACKGROUND/vaos%20fond.png");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem) 0 3rem;
  position: relative;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(71, 242, 194, 0.4));
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.2rem;
  background: rgba(8, 13, 20, 0.6);
}

.lang-switch button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  min-width: 56px;
  text-align: center;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.lang-switch button.is-active {
  background: linear-gradient(120deg, rgba(71, 242, 194, 0.25), rgba(92, 225, 255, 0.2));
  color: var(--text);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
  gap: clamp(2.2rem, 4.2vw, 3.4rem);
  align-items: stretch;
}

.hero-left {
  min-width: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.hero-mailing {
  width: 100%;
  min-width: 0;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(1.75rem, 2.4vw, 2.3rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  animation: rise 0.8s ease both;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-card > .lang.fr,
.hero-card > .lang.en {
  min-height: clamp(260px, 28vw, 360px);
}

.hero-concept {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  backdrop-filter: none;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.95rem;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  animation: rise 0.9s ease both;
}

.hero-concept-stage {
  position: relative;
  min-height: 640px;
}

.hero-concept-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 0.85rem;
  opacity: 0;
  transform: translateX(18px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.hero-concept-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.hero-concept-slide img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
  border: none;
}

.hero-concept-caption {
  border-radius: 12px;
  border: 1px solid rgba(120, 160, 200, 0.3);
  background: rgba(8, 13, 20, 0.72);
  padding: 0.85rem 0.95rem;
  color: var(--text);
  display: grid;
  gap: 0.2rem;
}

.hero-concept-caption-title {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-concept-caption-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
  white-space: pre-line;
  max-height: 16rem;
  overflow-y: auto;
  scrollbar-width: none;
}

.hero-concept-caption-desc::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.hero-concept-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  min-height: 20px;
}

.hero-concept-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 200, 0.55);
  background: rgba(14, 22, 32, 0.85);
  padding: 0;
  cursor: pointer;
  transition: width 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.hero-concept-dot.is-active {
  width: 26px;
  background: linear-gradient(120deg, rgba(71, 242, 194, 0.9), rgba(92, 225, 255, 0.95));
  border-color: rgba(71, 242, 194, 0.95);
}

.hero-concept-dot:focus-visible {
  outline: 2px solid rgba(92, 225, 255, 0.8);
  outline-offset: 2px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.8rem, 4.5vw, 4.8rem);
  margin: 0 0 1rem;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.2vw, 1rem);
  margin-bottom: 1rem;
}

.hero-title-row .hero-title {
  margin: 0;
  line-height: 0.95;
}

.hero-title-top,
.hero-title-brand {
  display: block;
}

.hero-title-brand {
  letter-spacing: 0.04em;
}

.hero-title-logo {
  width: clamp(64px, 8vw, 102px);
  height: clamp(64px, 8vw, 102px);
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(120, 160, 200, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.hero-copy {
  font-size: 1.16rem;
  color: var(--muted);
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.88rem 1.75rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1.03rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), #9bf8da);
  color: #04110d;
  box-shadow: 0 16px 30px rgba(71, 242, 194, 0.35);
}

.btn.ghost {
  background: rgba(12, 18, 26, 0.6);
  border-color: rgba(120, 160, 200, 0.5);
  color: var(--text);
}

.btn:hover {
  transform: translateY(-1px);
}

.countdown {
  font-size: 1.05rem;
  color: var(--accent-2);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.metric {
  border-radius: 14px;
  border: 1px solid rgba(120, 160, 200, 0.25);
  background: rgba(8, 12, 20, 0.55);
  padding: 0.8rem 1rem;
  display: grid;
  gap: 0.25rem;
}

.metric .label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.metric .value {
  font-size: 1.2rem;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: min(320px, 80%);
  filter: drop-shadow(0 24px 50px rgba(92, 225, 255, 0.3));
  animation: float 4s ease-in-out infinite;
}

.hero-glass {
  position: absolute;
  inset: auto;
  width: 220px;
  height: 220px;
  border-radius: 32px;
  border: 1px solid rgba(120, 160, 200, 0.25);
  background: linear-gradient(140deg, rgba(71, 242, 194, 0.2), rgba(92, 225, 255, 0.08));
  transform: rotate(12deg);
  filter: blur(0.2px);
  z-index: -1;
}

main {
  padding-bottom: 4rem;
}

.section {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(240px, 420px);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  position: relative;
}

.is-animated .section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section[data-layout="reverse"] .section-media {
  order: -1;
}

.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 160, 200, 0.4), transparent);
}

.section-text h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.section-text p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.section-media {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.section-media img {
  border-radius: 12px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}

.feature-list li {
  position: relative;
  padding-left: 1.2rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.cta {
  margin-top: 1.5rem;
}

.footer {
  padding: 3rem 0 4rem;
}

.footer-card {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.newsletter-card {
  margin-top: 0.75rem;
  border: 1px solid rgba(120, 160, 200, 0.32);
  background: rgba(7, 12, 20, 0.75);
  border-radius: 14px;
  padding: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.newsletter-title {
  font-size: 0.96rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.newsletter-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.newsletter-form input[type="email"] {
  min-width: 0;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(5, 9, 14, 0.88);
  color: var(--text);
  padding: 0.88rem 1.1rem;
  font-family: "JetBrains Mono", "Consolas", monospace;
  font-size: 0.98rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: rgba(155, 176, 198, 0.7);
}

.newsletter-status {
  min-height: 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.newsletter-status.is-success {
  color: #8af5cb;
}

.newsletter-status.is-error {
  color: #ff9797;
}

.newsletter-status.is-pending {
  color: #ffd28a;
}

.footer-card h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.footer-card p {
  margin: 0;
  color: var(--muted);
}

.tagline {
  font-family: "JetBrains Mono", "Consolas", monospace;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--accent-3);
}

.lang {
  display: none;
}

[data-lang="fr"] .lang.fr,
[data-lang="en"] .lang.en {
  display: block;
}

@keyframes float {
  50% {
    transform: translateY(-8px);
  }
}

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

@media (max-width: 980px) {
  .hero-grid,
  .section {
    grid-template-columns: 1fr;
  }

  .hero-left {
    gap: 1rem;
  }

  .hero-concept {
    min-height: 560px;
  }

  .hero-concept-stage {
    min-height: 460px;
  }

  .section[data-layout="reverse"] .section-media {
    order: 0;
  }
}

@media (max-width: 700px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    padding: 1.2rem;
  }

  .hero-concept {
    min-height: 500px;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 1.5rem 0 2.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero-copy {
    font-size: 0.95rem;
  }

  .hero-concept-slide img {
    min-height: 300px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }

  .section {
    padding: 3rem 0;
  }

  .section-media {
    padding: 0.75rem;
  }

  .footer-card {
    padding: 1.75rem;
  }

  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .tagline {
    letter-spacing: 0.14em;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 1rem;
  }

  .hero-card {
    padding: 1rem;
  }

  .footer-card h2 {
    font-size: 1.6rem;
  }
}

@media (min-width: 1400px) {
  .container {
    width: min(1440px, 100%);
  }

  .hero-grid,
  .section {
    gap: clamp(2.5rem, 4vw, 4rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
