
/* POLICES EXISTANTES */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* DESIGN DU DASHBOARD */
@import url("./dashboard.css");

:root {
  --bg: #090914;
  --bg-soft: #0e1020;
  --surface: #131528;
  --surface-light: #191c32;
  --border: rgba(255,255,255,.09);
  --text: #f7f7ff;
  --muted: #a1a3ba;
  --purple: #9b70ff;
  --blue: #548eff;
  --gradient: linear-gradient(110deg, #a16cff, #548eff);
  --radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(126,77,255,.14), transparent 35%),
    radial-gradient(ellipse at 90% 25%, rgba(60,112,255,.09), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

/* NAVIGATION */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 78px;
  padding: 13px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  background: rgba(9,9,20,.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.8px;
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 11px;
  color: white;
  background: var(--gradient);
  box-shadow: 0 5px 20px rgba(145,100,255,.3);
}

.brand-light {
  color: #a994ff;
  font-weight: 500;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link,
.footer-links button {
  color: var(--muted);
  background: none;
  border: none;
  transition: color .2s;
}

.nav-link {
  padding: 9px 12px;
  font-size: 14px;
}

.nav-link:hover,
.footer-links button:hover {
  color: white;
}

#languageSelect {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px;
  cursor: pointer;
}

#languageSelect option {
  background: var(--surface);
}

.mobile-menu {
  display: none;
  color: white;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 20px;
}

/* BUTTONS */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--gradient);
  box-shadow: 0 7px 24px rgba(130,91,255,.2);
}

.button-primary:hover {
  box-shadow: 0 10px 30px rgba(130,91,255,.38);
}

.button-ghost {
  color: var(--text);
  background: rgba(255,255,255,.035);
  border-color: var(--border);
}

.button-ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
}

.button-large {
  padding: 15px 22px;
  font-size: 15px;
}

.button-full {
  width: 100%;
  min-height: 49px;
}

/* VIEW NAVIGATION */

.view {
  display: none;
  animation: viewAppear .35s ease;
}

.view.active {
  display: block;
}

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

/* HERO */

.hero {
  width: min(1160px, 88%);
  min-height: 640px;
  margin: auto;
  padding: 95px 0 85px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 55px;
}

.hero-content {
  max-width: 600px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #bca8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.eyebrow {
  padding: 9px 13px;
  margin-bottom: 25px;
  border: 1px solid rgba(155,112,255,.25);
  border-radius: 50px;
  background: rgba(155,112,255,.08);
  letter-spacing: .3px;
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9c7aff;
  box-shadow: 0 0 12px #9c7aff;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.09;
  letter-spacing: -3px;
  font-weight: 700;
}

.hero h1 > span {
  display: block;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 525px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 29px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}

.hero-note span:first-child {
  color: #a98aff;
  font-weight: 800;
}

/* HERO PREVIEW */

.hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.visual-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(119,86,255,.24);
  filter: blur(100px);
}

.browser-card {
  position: relative;
  z-index: 2;
  width: min(100%, 350px);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background: #15172a;
  box-shadow: 0 30px 90px rgba(0,0,0,.5);
  transform: rotate(-2deg);
}

.browser-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 5px 14px;
}

.browser-dots {
  display: flex;
  gap: 5px;
}

.browser-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fa777e;
}

.browser-dots i:nth-child(2) {
  background: #e9c26a;
}

.browser-dots i:nth-child(3) {
  background: #69d49c;
}

.browser-address {
  flex: 1;
  padding: 5px;
  border-radius: 6px;
  background: rgba(255,255,255,.05);
  color: #9294ac;
  text-align: center;
  font-size: 10px;
}

.profile-preview {
  padding: 25px 19px 17px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(130,91,255,.19), transparent 45%),
    #0e1020;
  text-align: center;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 67px;
  height: 67px;
  margin: 0 auto 12px;
  border: 3px solid rgba(255,255,255,.17);
  border-radius: 50%;
  background: var(--gradient);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 25px;
  font-weight: 700;
}

.profile-preview h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
}

.profile-preview > p {
  margin: 4px 0 20px;
  color: var(--muted);
  font-size: 12px;
}

.preview-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 10px;
  background: rgba(255,255,255,.045);
  font-size: 12px;
  font-weight: 600;
}

.preview-link > span:first-child {
  color: #b59aff;
  font-size: 16px;
}

.preview-link .link-arrow {
  margin-left: auto;
  color: var(--muted);
}

.preview-brand {
  margin-top: 18px;
  color: #747790;
  font-size: 10px;
}

.floating-label {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #1a1c31;
  box-shadow: 0 12px 35px rgba(0,0,0,.3);
  font-size: 11px;
  font-weight: 700;
}

.floating-label-top {
  top: 65px;
  right: -12px;
}

.floating-label-bottom {
  bottom: 60px;
  left: -25px;
}

.floating-icon {
  color: #b79aff;
  font-size: 17px;
}

/* STRIP */

.trust-strip {
  padding: 23px 20px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.018);
  text-align: center;
}

.trust-strip p {
  color: #c4c5d5;
  font-size: 14px;
  font-weight: 600;
}

/* FEATURES */

.features-section {
  width: min(1100px, 88%);
  margin: auto;
  padding: 100px 0;
}

.section-heading {
  max-width: 650px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-heading h2,
.bottom-cta h2 {
  margin-top: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: -1.4px;
}

.section-heading p,
.bottom-cta p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 14px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.feature-card {
  min-height: 205px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: linear-gradient(145deg, #17192d, #101221);
  transition: transform .25s, border-color .25s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(155,112,255,.5);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(155,112,255,.25);
  border-radius: 12px;
  background: rgba(155,112,255,.12);
  color: #c4aaff;
  font-size: 21px;
}

.feature-card h3 {
  margin-top: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
}

.feature-card p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* BOTTOM CTA */

.bottom-cta {
  width: min(1100px, 88%);
  margin: 0 auto 100px;
  padding: 65px 25px;
  border: 1px solid rgba(155,112,255,.22);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(137,93,255,.2), transparent 65%),
    #121426;
  text-align: center;
}

.bottom-cta .button {
  margin-top: 25px;
}

/* AUTH PAGES */

.auth-layout {
  width: min(1000px, 90%);
  min-height: 680px;
  margin: auto;
  padding: 70px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 65px;
}

.auth-aside {
  position: relative;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.auth-aside h1 {
  max-width: 450px;
  margin-top: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(35px, 4vw, 51px);
  line-height: 1.12;
  letter-spacing: -2px;
}

.auth-aside p {
  max-width: 400px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 15px;
}

.aside-decoration {
  position: absolute;
  right: 15px;
  bottom: -100px;
  color: rgba(155,112,255,.07);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 260px;
  font-weight: 700;
  pointer-events: none;
}

.auth-card {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: linear-gradient(145deg, #17192e, #101221);
  box-shadow: 0 25px 80px rgba(0,0,0,.28);
}

.back-link {
  margin-bottom: 25px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
}

.back-link:hover {
  color: white;
}

.auth-card h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 29px;
  letter-spacing: -.8px;
}

.auth-card > p:not(.auth-switch) {
  margin: 7px 0 25px;
  color: var(--muted);
  font-size: 13px;
}

.auth-switch {
  margin-top: 22px;
  color: var(--muted);
  text-align: center;
  font-size: 12px;
}

.auth-switch button {
  margin-left: 4px;
  border: 0;
  background: none;
  color: #bba3ff;
  font-weight: 700;
}

/* FORMS */

.form-group {
  margin-bottom: 17px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #e6e6f2;
  font-size: 12px;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  outline: none;
  background: #0b0d19;
  color: white;
  font-size: 13px;
  transition: border-color .2s, box-shadow .2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #696c85;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(155,112,255,.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-message {
  min-height: 20px;
  margin-top: 12px;
  color: #c4aaff;
  font-size: 12px;
}

/* CONTENT PAGES */

.content-page {
  width: min(850px, 88%);
  margin: auto;
  padding: 90px 0 110px;
}

.content-page h1 {
  margin-top: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(35px, 5vw, 52px);
  line-height: 1.15;
  letter-spacing: -1.8px;
}

.page-lead {
  max-width: 720px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.content-block {
  margin-top: 38px;
  padding-top: 27px;
  border-top: 1px solid var(--border);
}

.content-block h2 {
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
}

.content-block p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.content-page > .button {
  margin-top: 35px;
}

.legal-notice {
  margin-top: 25px;
  padding: 15px 17px;
  border: 1px solid rgba(245,190,90,.25);
  border-radius: 10px;
  background: rgba(245,190,90,.06);
  color: #eacb91;
  font-size: 12px;
}

.narrow-page {
  max-width: 650px;
}

.contact-form {
  margin-top: 35px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
}

/* FOOTER */

.footer {
  padding: 42px 6% 22px;
  border-top: 1px solid var(--border);
  background: rgba(6,7,15,.75);
}

.footer-inner {
  width: min(1100px, 100%);
  margin: auto;
}

.footer-brand {
  margin-bottom: 12px;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 25px;
}

.footer-links button {
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: #777990;
  font-size: 11px;
}

/* MOBILE */

@media (max-width: 900px) {
  .navbar {
    padding-left: 4%;
    padding-right: 4%;
    gap: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    width: 90%;
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: 75px;
  }

  .hero-content {
    max-width: 680px;
    margin: auto;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-note {
    justify-content: center;
  }

  .hero-visual {
    min-height: 440px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    max-width: 520px;
    gap: 30px;
  }

  .auth-aside {
    min-height: auto;
    text-align: center;
    align-items: center;
  }

  .aside-decoration {
    display: none;
  }
}

@media (max-width: 600px) {
  .navbar {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 18px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-actions .button {
    padding: 9px 11px;
    font-size: 11px;
  }

  #languageSelect {
    padding: 8px 5px;
    font-size: 11px;
  }

  .mobile-menu {
    display: none;
  }

  .hero {
    padding-top: 65px;
    padding-bottom: 55px;
  }

  .hero h1 {
    font-size: clamp(39px, 11vw, 53px);
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 400px;
  }

  .browser-card {
    width: min(100%, 320px);
  }

  .floating-label-top {
    right: -3px;
    top: 30px;
  }

  .floating-label-bottom {
    left: -5px;
    bottom: 30px;
  }

  .features-section {
    width: 90%;
    padding: 70px 0;
  }

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

  .feature-card {
    min-height: 170px;
  }

  .bottom-cta {
    width: 90%;
    margin-bottom: 65px;
    padding: 45px 20px;
  }

  .auth-layout {
    width: 90%;
    padding: 45px 0;
  }

  .auth-aside h1 {
    font-size: 36px;
  }

  .auth-card {
    padding: 25px 19px;
  }

  .content-page {
    width: 90%;
    padding: 65px 0 80px;
  }

  .contact-form {
    padding: 20px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    gap: 15px;
  }
}

@media (max-width: 370px) {
  .nav-actions .button-ghost {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 37px;
  }

  .floating-label {
    font-size: 9px;
    padding: 8px;
  }
}
