/* DRC FACT — Site vitrine */
:root {
  --blue-royal: #003ec1;
  --blue-azure: #1b85ff;
  --bg-night: #002561;
  --bg-marine: #003780;
  --sheet-1: #00c5ff;
  --sheet-2: #359eff;
  --sheet-3: #2677f5;
  --gray-slogan: #707070;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --card-bg: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  background: linear-gradient(135deg, var(--bg-night), var(--bg-marine));
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-azure);
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* Typographie marque */
.brand-drc {
  color: var(--blue-azure);
  font-weight: 800;
}

.brand-fact {
  color: var(--blue-royal);
  font-weight: 800;
}

.site-header .brand-fact,
.hero h1 .brand-fact {
  color: var(--white);
}

.hero h1 .brand-drc,
.site-header .brand-drc {
  color: var(--blue-azure);
}

.brand-text {
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

/* Ambient orbs */
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orb-drift 18s ease-in-out infinite;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: var(--sheet-3);
  top: -8%;
  right: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 320px;
  height: 320px;
  background: var(--blue-azure);
  bottom: 20%;
  left: -8%;
  animation-delay: -6s;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: var(--sheet-1);
  top: 45%;
  left: 40%;
  opacity: 0.2;
  animation-delay: -12s;
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 25px) scale(0.95); }
}

main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(0, 14, 42, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease-out), background 0.35s, border-color 0.35s, box-shadow 0.35s;
}

.site-header.is-scrolled {
  --header-h: 64px;
  background: rgba(0, 10, 32, 0.98);
  border-bottom-color: var(--card-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
  transition: height 0.35s var(--ease-out);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s var(--ease-spring);
}

.nav-brand:hover {
  transform: scale(1.04);
  text-decoration: none;
}

.nav-logo {
  height: 44px;
  width: auto;
  border-radius: 0;
  box-shadow: none;
}

.nav-brand:hover .nav-logo {
  box-shadow: 0 6px 28px rgba(27, 133, 255, 0.45);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  position: relative;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sheet-1), var(--blue-azure));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--white);
  text-decoration: none;
}

.nav-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 0.5rem 1.15rem !important;
  background: linear-gradient(135deg, var(--blue-azure), var(--blue-royal)) !important;
  color: var(--white) !important;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 4px 18px rgba(0, 62, 193, 0.35);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s, filter 0.25s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(27, 133, 255, 0.45);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 3.5rem) 0 5.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sheet {
  position: absolute;
  width: 160px;
  height: 200px;
  border-radius: 10px;
  opacity: 0.12;
}

.sheet-1 {
  background: var(--sheet-1);
  top: 12%;
  right: 6%;
  animation: sheet-float 7s ease-in-out infinite;
}

.sheet-2 {
  background: var(--sheet-2);
  top: 22%;
  right: 12%;
  animation: sheet-float 8s ease-in-out infinite -2s;
}

.sheet-3 {
  background: var(--sheet-3);
  top: 32%;
  right: 3%;
  animation: sheet-float 9s ease-in-out infinite -4s;
}

@keyframes sheet-float {
  0%, 100% { transform: rotate(-14deg) translateY(0); }
  50% { transform: rotate(-10deg) translateY(-18px); }
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.hero-slogan {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sheet-1);
  background: rgba(0, 197, 255, 0.1);
  border: 1px solid rgba(0, 197, 255, 0.35);
  border-radius: 999px;
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { border-color: rgba(0, 197, 255, 0.35); }
  50% { border-color: rgba(27, 133, 255, 0.7); box-shadow: 0 0 20px rgba(0, 197, 255, 0.15); }
}

.hero-desc {
  margin: 0 0 2rem;
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Hero logo stage */
.hero-logo-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 80vw);
  aspect-ratio: 1;
  margin-inline: auto;
}

.logo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 197, 255, 0.25);
  animation: ring-pulse 4s ease-in-out infinite;
}

.ring-1 {
  inset: 0;
  animation-delay: 0s;
}

.ring-2 {
  inset: -16px;
  border-color: rgba(53, 158, 255, 0.15);
  animation-delay: -2s;
}

@keyframes ring-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.04); opacity: 1; }
}

.hero-icon-wrap {
  position: relative;
  z-index: 2;
  padding: 0.5rem;
  border-radius: 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
  animation: logo-float 5s ease-in-out infinite;
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-logo {
  width: min(220px, 70vw);
  border-radius: 22px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out) var(--d, 0s),
    transform 0.7s var(--ease-out) var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-enter {
  opacity: 0;
  animation: hero-in 0.85s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}

.hero-enter-right {
  animation-name: hero-in-right;
}

@keyframes hero-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-in-right {
  from {
    opacity: 0;
    transform: translateX(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s var(--ease-spring), filter 0.2s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-azure), var(--blue-royal));
  color: var(--white);
  box-shadow: 0 8px 28px rgba(0, 62, 193, 0.45);
}

.btn-primary:hover {
  filter: brightness(1.08);
  color: var(--white);
  box-shadow: 0 12px 36px rgba(27, 133, 255, 0.5);
}

.btn-shine {
  position: relative;
  overflow: hidden;
}

.btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: btn-shine 3.5s ease-in-out infinite;
}

@keyframes btn-shine {
  0%, 70%, 100% { left: -100%; }
  85% { left: 150%; }
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--sheet-1);
  color: var(--white);
  background: rgba(0, 197, 255, 0.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid var(--card-border);
  width: 100%;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: rgba(0, 0, 0, 0.14);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--white) 40%, var(--sheet-1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-lead {
  margin: 0 auto;
  max-width: 40rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.85rem;
  backdrop-filter: blur(10px);
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 197, 255, 0.4);
  box-shadow: 0 20px 50px rgba(0, 37, 97, 0.5);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 197, 255, 0.15), rgba(38, 119, 245, 0.1));
  transition: transform 0.4s var(--ease-spring), background 0.3s;
}

.feature-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
  background: linear-gradient(135deg, rgba(0, 197, 255, 0.25), rgba(38, 119, 245, 0.18));
}

.feature-card h3 {
  margin: 1rem 0 0.5rem;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.feature-list {
  max-width: 38rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 1rem 0 1rem 2.25rem;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-muted);
  transition: color 0.3s, padding-left 0.35s var(--ease-out);
}

.feature-list li.is-visible:hover {
  color: var(--white);
  padding-left: 2.5rem;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sheet-1), var(--sheet-3));
  box-shadow: 0 0 12px rgba(0, 197, 255, 0.5);
  transition: transform 0.3s var(--ease-spring);
}

.feature-list li.is-visible:hover::before {
  transform: scale(1.3);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.85rem;
  transition: transform 0.4s var(--ease-out), border-color 0.3s, box-shadow 0.4s;
}

.pricing-card.is-visible:hover {
  transform: translateY(-10px);
  border-color: rgba(27, 133, 255, 0.5);
  box-shadow: 0 24px 48px rgba(0, 37, 97, 0.45);
}

.pricing-featured {
  border-color: rgba(0, 197, 255, 0.5);
  background: linear-gradient(160deg, rgba(0, 197, 255, 0.08), var(--card-bg));
}

.pricing-featured.is-visible {
  animation: featured-glow 4s ease-in-out infinite;
}

@keyframes featured-glow {
  0%, 100% { box-shadow: 0 0 0 1px rgba(0, 197, 255, 0.25), var(--shadow); }
  50% { box-shadow: 0 0 0 1px rgba(0, 197, 255, 0.5), 0 0 40px rgba(0, 197, 255, 0.12); }
}

.pricing-featured.is-visible:hover {
  transform: translateY(-12px) scale(1.02);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.3rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, var(--sheet-1), var(--blue-azure));
  color: var(--bg-night);
  border-radius: 999px;
  animation: badge-bounce 2s ease-in-out infinite;
}

@keyframes badge-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

.pricing-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sheet-1);
}

.pricing-card h3 {
  margin: 0.35rem 0 0.25rem;
  font-size: 1.5rem;
}

.pricing-desc {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-prices {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  flex-grow: 1;
}

.pricing-prices li {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: padding-left 0.3s;
}

.pricing-card:hover .pricing-prices li {
  padding-left: 4px;
}

.pricing-prices .price {
  font-size: 1.35rem;
  font-weight: 700;
}

.pricing-prices .price-highlight {
  color: var(--sheet-1);
  font-size: 1.55rem;
  text-shadow: 0 0 24px rgba(0, 197, 255, 0.35);
}

.pricing-prices .period {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-extra {
  margin: 0 0 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.pricing-note {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Download */
.section-download {
  padding-bottom: 6rem;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.download-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, background 0.3s, box-shadow 0.35s;
}

.download-card.is-visible:hover {
  text-decoration: none;
  transform: translateY(-6px) scale(1.02);
  border-color: var(--blue-azure);
  background: rgba(27, 133, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 62, 193, 0.3);
}

.download-disabled {
  cursor: not-allowed;
}

.download-icon {
  color: var(--blue-azure);
  transition: transform 0.4s var(--ease-spring);
}

.download-card:hover .download-icon {
  transform: scale(1.15) translateY(-4px);
}

.download-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.download-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--card-border);
  background: rgba(0, 0, 0, 0.22);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-banner {
  max-width: 280px;
  height: auto;
  border-radius: 10px;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-nav a:hover {
  color: var(--sheet-1);
  text-decoration: none;
}

.footer-copy {
  width: 100%;
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px) scale(0.9);
  padding: 0.9rem 1.35rem;
  background: linear-gradient(135deg, var(--blue-royal), var(--bg-marine));
  color: var(--white);
  border: 1px solid rgba(0, 197, 255, 0.3);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  z-index: 200;
  transition: transform 0.4s var(--ease-spring), opacity 0.35s;
  opacity: 0;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0) scale(1);
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .orb,
  .sheet,
  .hero-icon-wrap,
  .logo-ring,
  .hero-badge,
  .btn-shine::after,
  .pricing-badge,
  .pricing-featured.is-visible,

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-enter {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc,
  .hero-actions {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .pricing-featured.is-visible:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    background: rgba(0, 10, 32, 0.99);
    border-bottom: 1px solid var(--card-border);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease-out), opacity 0.35s, visibility 0.35s;
  }

  .nav-links.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 0.9rem 1rem;
  }

  .nav.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

}
