
:root {
  --bg: #080d1a;
  --bg-soft: #0d1526;
  --card: #111c30;
  --card-hover: #17243c;
  --blue: #5794ff;
  --violet: #9875ff;
  --text: #f3f6ff;
  --muted: #9aa8c0;
  --border: rgba(255,255,255,.09);
  --gradient: linear-gradient(120deg, #5794ff, #9875ff);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

.background-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .14;
  pointer-events: none;
  z-index: -1;
}

.glow-one {
  top: 100px;
  left: -200px;
  background: #397cff;
}

.glow-two {
  top: 600px;
  right: -200px;
  background: #8654ff;
}

.section-container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

/* NAVIGATION */

.navbar {
  width: min(1280px, calc(100% - 48px));
  margin: auto;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}

.logo {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 23px;
  letter-spacing: -1px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color .2s;
}

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

.nav-contact {
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  padding: 11px 17px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
}

.nav-contact span {
  margin-left: 8px;
  color: var(--blue);
}

.menu-toggle {
  display: none;
  background: transparent;
  color: white;
  border: 0;
  font-size: 25px;
  cursor: pointer;
}

/* HERO */

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
  padding-top: 65px;
  padding-bottom: 65px;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.035);
  padding: 8px 13px;
  border-radius: 30px;
  color: #c6d3e8;
  font-size: 12px;
  margin-bottom: 30px;
}

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

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 2.4px;
  font-weight: 800;
  margin-bottom: 14px;
}

.hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -3.5px;
  font-weight: 800;
}

.hero h1 span,
.section-heading h2 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  color: var(--muted);
  max-width: 510px;
  margin-top: 25px;
  font-size: 15px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  border: 0;
  border-radius: 9px;
  padding: 14px 21px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s, filter .2s, background .2s;
}

.button:hover {
  transform: translateY(-3px);
  filter: brightness(1.12);
}

.button-primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 8px 30px rgba(87,148,255,.18);
}

.button-secondary {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--border);
  color: white;
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 17px;
  align-items: center;
  margin-top: 45px;
  font-size: 12px;
}

.hero-socials span {
  color: var(--muted);
}

.hero-socials a {
  color: #dce5f5;
}

.hero-socials a:hover {
  color: var(--blue);
}

/* CARTE PROFIL */

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

.visual-orbit {
  position: absolute;
  border: 1px solid rgba(111,151,255,.2);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.orbit-a {
  width: 410px;
  height: 230px;
}

.orbit-b {
  width: 330px;
  height: 370px;
  transform: rotate(50deg);
}

.profile-card {
  position: relative;
  z-index: 1;
  width: min(340px, 90%);
  padding: 25px;
  background: linear-gradient(145deg, #172644, #10182b);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 19px;
  box-shadow: 0 30px 90px rgba(0,0,0,.35);
  animation: floating 5s ease-in-out infinite;
}

.profile-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
}

.profile-symbol {
  color: var(--violet);
  font-size: 24px;
}

.profile-avatar {
  margin-top: 35px;
  width: 85px;
  height: 85px;
  display: grid;
  place-items: center;
  border-radius: 23px;
  background: var(--gradient);
  font-size: 35px;
  font-weight: 800;
  font-family: "Outfit", sans-serif;
}

.profile-card h2 {
  margin-top: 25px;
  font-family: "Outfit", sans-serif;
  font-size: 25px;
}

.profile-card p {
  margin-top: 7px;
  font-size: 13px;
  color: var(--muted);
}

.profile-card-bottom {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 28px;
}

.profile-card-bottom span {
  color: #c4d4f3;
  background: rgba(255,255,255,.06);
  border-radius: 5px;
  padding: 5px 8px;
  font-size: 8px;
  letter-spacing: 1px;
  font-weight: 800;
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* STATISTIQUES */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--border);
  padding: 30px 0;
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border: 0;
}

.stat-item strong {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 29px;
}

.stat-item span {
  font-size: 11px;
  color: var(--muted);
}

/* SECTIONS */

.section {
  padding-top: 110px;
  padding-bottom: 20px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 36px;
}

.section-heading h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.section-intro {
  max-width: 370px;
  color: var(--muted);
  font-size: 13px;
}

/* PROJETS */

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

.project-card {
  padding: 27px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 13px;
  min-height: 245px;
  transition: .25s;
}

.project-card:hover,
.product-card:hover,
.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(87,148,255,.4);
  background: var(--card-hover);
}

.project-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(87,148,255,.12);
  color: #8cb6ff;
  font-size: 23px;
  margin-bottom: 24px;
}

.project-category {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: var(--blue);
  font-weight: 800;
}

.project-card h3 {
  margin-top: 9px;
  font-family: "Outfit", sans-serif;
  font-size: 21px;
}

.project-card p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 7px;
}

.project-link {
  display: inline-block;
  margin-top: 18px;
  color: #a8c7ff;
  font-size: 11px;
  font-weight: 700;
}

/* BOUTIQUE */

.product-grid,
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card,
.review-card {
  border: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: 13px;
  overflow: hidden;
  transition: .25s;
}

.product-image {
  width: 100%;
  height: 185px;
  object-fit: cover;
  background: #17243c;
  display: block;
}

.product-content,
.review-content {
  padding: 21px;
}

.product-content h3 {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
}

.product-content p,
.review-content p {
  color: var(--muted);
  font-size: 13px;
  margin-top: 9px;
}

.product-price {
  color: #a8c7ff;
  font-weight: 800;
  font-size: 19px;
  margin-top: 15px;
}

.product-content .button {
  width: 100%;
  margin-top: 17px;
}

.loading-state {
  color: var(--muted);
  padding: 25px;
  text-align: center;
  border: 1px dashed var(--border);
  border-radius: 12px;
  grid-column: 1 / -1;
}

/* AVIS */

.review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 13px;
  margin-bottom: 20px;
}

.review-score {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 12px;
}

.review-score strong {
  font-family: "Outfit", sans-serif;
  font-size: 40px;
}

.review-score .stars {
  color: #ffc86a;
  letter-spacing: 2px;
}

.review-score p {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.review-note {
  color: var(--muted);
  font-size: 12px;
}

.verified-icon {
  display: inline-grid;
  place-items: center;
  background: rgba(98,214,163,.13);
  color: #62d6a3;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  margin-right: 7px;
}

.review-card {
  padding: 22px;
}

.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-pseudonym {
  font-weight: 800;
}

.review-stars {
  color: #ffc86a;
  letter-spacing: 2px;
  font-size: 13px;
}

.review-owner-reply {
  border-left: 2px solid var(--blue);
  padding-left: 12px;
  margin-top: 17px;
  color: #c8d8f3;
  font-size: 12px;
}

/* FORMULAIRES */

.form-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 30px;
  margin-top: 25px;
}

.review-form-card {
  max-width: 760px;
  margin-inline: auto;
}

.form-heading {
  margin-bottom: 25px;
}

.form-heading h3,
.contact-information h3 {
  font-family: "Outfit", sans-serif;
  font-size: 27px;
}

.form-heading p:last-child {
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: #080f1e;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: white;
  padding: 13px 14px;
  outline: none;
  font-size: 13px;
  transition: border .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
}

.form-group select option {
  background: #111c30;
}

.form-message {
  margin-top: 15px;
  font-size: 13px;
  color: #9dc1ff;
}

/* CONTACT */

.contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 35px;
  align-items: start;
}

.contact-information {
  padding-top: 20px;
}

.contact-information h3 {
  font-size: 30px;
}

.contact-information > p {
  color: var(--muted);
  margin-top: 13px;
  max-width: 350px;
  font-size: 14px;
}

.contact-detail {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 30px;
}

.contact-detail-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  background: rgba(87,148,255,.12);
  border-radius: 10px;
  color: #8cb6ff;
}

.contact-detail strong {
  font-size: 13px;
}

.contact-detail p {
  color: var(--muted);
  font-size: 11px;
}

/* FOOTER */

.footer {
  width: min(1160px, calc(100% - 48px));
  margin: 110px auto 0;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0;
}

.footer-top p,
.footer-bottom {
  color: var(--muted);
  font-size: 12px;
}

.back-top {
  font-size: 12px;
  color: #a8c7ff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

/* RESPONSIVE */

@media (max-width: 850px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    padding: 20px;
    background: #111c30;
    border: 1px solid var(--border);
    border-radius: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .nav-contact {
    margin-left: auto;
    margin-right: 17px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 65px;
  }

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

  .project-grid,
  .product-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .section-container,
  .navbar,
  .footer {
    width: calc(100% - 32px);
  }

  .navbar {
    height: 72px;
  }

  .logo {
    font-size: 19px;
  }

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

  .hero {
    padding-top: 45px;
    gap: 20px;
  }

  .hero h1 {
    font-size: 49px;
    letter-spacing: -2.5px;
  }

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

  .hero-socials {
    margin-top: 28px;
  }

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

  .orbit-a {
    width: 300px;
  }

  .orbit-b {
    width: 260px;
    height: 300px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 25px;
  }

  .stat-item:nth-child(2) {
    border: 0;
  }

  .stat-item strong {
    font-size: 24px;
  }

  .section {
    padding-top: 75px;
  }

  .section-heading {
    display: block;
  }

  .section-intro {
    margin-top: 13px;
  }

  .project-grid,
  .product-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .review-summary {
    display: block;
  }

  .review-note {
    margin-top: 15px;
  }

  .form-card {
    padding: 20px;
  }

  .footer-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom {
    gap: 10px;
    flex-direction: column;
  }
}
