/* ===== Equinox System — Agence développement web ===== */
:root {
  --bg: #06070a;
  --bg-card: #0e1014;
  --bg-elevated: #151922;
  --text: #f8fafc;
  --text-soft: #a0aec0;
  --text-muted: #718096;
  --accent: #d4af37;
  --accent-2: #8a6f1e;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --font: "Inter", system-ui, sans-serif;
  --font-title: "Manrope", "Inter", sans-serif;
  --r: 12px;
  --r-lg: 18px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 80% -10%, rgba(212, 175, 55, 0.09), transparent 45%),
    radial-gradient(circle at 10% 10%, rgba(212, 175, 55, 0.05), transparent 30%),
    var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 6rem 0;
}

.section-label {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
}

.section-intro {
  margin: 0 0 2.2rem;
  color: var(--text-soft);
  max-width: 760px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(6, 7, 10, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 64px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.logo-text { display: none; }

.nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover { color: var(--text); }
.nav-cta { color: var(--accent) !important; font-weight: 700 !important; }

.menu-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

/* Hero */
.hero {
  min-height: 100vh;
  padding: 8.5rem 0 4rem;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 60% at 50% 15%, rgba(212, 175, 55, 0.15), transparent 60%),
    linear-gradient(to bottom, transparent, rgba(6, 7, 10, 0.6));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: min(980px, 100%);
  padding-inline: 1rem;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.38rem 0.8rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(212, 175, 55, 0.08);
}

.hero-logo-wrap {
  margin: 0 0 1.4rem;
}

.hero-logo-img {
  width: min(900px, 96%);
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 0 45px rgba(212, 175, 55, 0.22));
}

.hero-tagline {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2.7vw, 2.2rem);
  font-weight: 800;
}

.hero-desc {
  margin: 0.9rem auto 2rem;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.hero-trust li::before {
  content: "•";
  margin-right: 0.45rem;
  color: var(--accent);
}

.hero-scroll {
  position: absolute;
  bottom: 1.7rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.88rem 1.4rem;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #f3d576);
  color: #151515;
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.36);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}
.btn-outline:hover {
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--accent);
}

.btn-large { padding: 1rem 1.7rem; }

/* Stats */
.stats {
  padding: 2.4rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}

.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stats-list li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.25rem 1rem;
  text-align: center;
}

.stats-value,
.stats-suffix {
  font-family: var(--font-title);
  color: var(--accent);
  font-weight: 800;
}

.stats-value { font-size: 2rem; }
.stats-suffix { font-size: 1.6rem; }
.stats-label {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-soft);
  font-size: 0.82rem;
}

/* Services / cards */
.apps { background: transparent; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.app-card {
  background: linear-gradient(160deg, var(--bg-card), var(--bg-elevated));
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.app-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.4);
}

.app-card-icon {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.app-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-family: var(--font-title);
}

.app-card p {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.app-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
}

/* Process section */
.about {
  background: rgba(255, 255, 255, 0.01);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: stretch;
}

.about-lead {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
}

.about-content p {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
}

.about-values {
  margin: 0 0 1.3rem;
  padding-left: 1.2rem;
  color: var(--text-soft);
}

.about-values li { margin-bottom: 0.45rem; }

.about-block {
  height: 100%;
  min-height: 250px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(circle at 70% 20%, rgba(212, 175, 55, 0.24), transparent 36%),
    linear-gradient(160deg, #121620, #0b0e14);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: flex;
  align-items: flex-end;
}

.about-mini-card {
  background: rgba(8, 10, 14, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 0.9rem;
}

.about-mini-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.about-mini-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

/* Advantages */
.advantages-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.advantages-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 0.9rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--border);
}

.advantage-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.85rem;
}

.advantages-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.03rem;
}

.advantages-list p {
  margin: 0;
  color: var(--text-soft);
}

/* Portfolio */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.testimonial-card {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  padding: 1.4rem;
}

.testimonial-card p {
  margin: 0 0 0.9rem;
  color: var(--text-soft);
}

.testimonial-card strong {
  color: var(--text);
}

.testimonial-card cite {
  color: var(--accent);
  font-style: normal;
  font-size: 0.86rem;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.2rem;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 0;
  padding: 0 0 1rem;
  color: var(--text-soft);
}

/* Contact */
.cta {
  text-align: center;
}

.cta-desc {
  margin: 0 auto 1.8rem;
  max-width: 720px;
  color: var(--text-soft);
}

.contact-options { margin-bottom: 1.6rem; }

.contact-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg-card);
  text-decoration: none;
  padding: 1rem 1.4rem;
}

.contact-icon { font-size: 1.3rem; }
.contact-label { color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.11em; }
.contact-value { color: var(--accent); font-weight: 700; }
.contact-note { color: var(--text-muted); font-size: 0.86rem; margin-top: 0.8rem; }

.contact-form {
  max-width: 620px;
  margin: 0 auto 1rem;
  text-align: left;
}

.form-row { margin-bottom: 1rem; }

.form-row label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--r);
  padding: 0.8rem 0.95rem;
  font-family: var(--font);
  font-size: 0.96rem;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.5);
}

.form-row textarea { min-height: 110px; resize: vertical; }

.form-disclaimer {
  margin: 0 auto;
  max-width: 620px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-brand .logo {
  display: inline-flex;
  margin-bottom: 0.6rem;
}

.footer .logo-img {
  height: 48px;
}

.footer-tagline {
  margin: 0;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  margin: 0 0 0.7rem;
  color: var(--text);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li { margin-bottom: 0.35rem; }

.footer-links a,
.footer-contact a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--accent);
}

.footer-contact a {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  text-align: center;
}

.footer-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Mobile */
@media (max-width: 960px) {
  .apps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .hero { padding-top: 7.5rem; }
  .hero-logo-img {
    width: min(620px, 95%);
    max-height: 300px;
  }
  .hero-trust {
    gap: 0.7rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    max-width: 300px;
  }
  .stats-list,
  .apps-grid,
  .about-grid,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-form { text-align: left; }
}

.nav.is-open {
  display: flex;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 1.2rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 1.5rem;
}
