/* ===== RESET & BASE ===== */
/* Même charte que maxime.cailleteau.fr */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0e17;
  --bg2:       #0f1623;
  --bg3:       #161d2e;
  --accent:    #00e5a0;
  --accent2:   #00997a;
  --text:      #e8edf5;
  --text-muted:#7a8aa0;
  --border:    rgba(255,255,255,0.07);
  --radius:    12px;
  --font-body: 'Inter', sans-serif;
  --font-head: 'Space Grotesk', sans-serif;
  --nav-h:     68px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  height: var(--nav-h);
  background: rgba(10,14,23,0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo noir sur fond transparent → inversé en blanc */
.nav-logo img,
.footer-logo {
  display: block;
  height: auto;
  filter: invert(1);
}
.nav-logo img { width: 130px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links .nav-cta {
  color: var(--accent);
  border: 1px solid rgba(0,229,160,0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
}
.nav-links .nav-cta:hover { background: rgba(0,229,160,0.08); color: var(--accent); }

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(rgba(0,229,160,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,14,23,0.92) 0%,
    rgba(0,153,122,0.12) 50%,
    rgba(10,14,23,0.97) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 860px;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(0,229,160,0.3);
  border-radius: 100px;
  padding: 0.35rem 1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.4rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.hero-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #0a0e17;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 30px rgba(0,229,160,0.25);
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(0,229,160,0.4); }

.hero-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.hero-link:hover { color: var(--text); border-color: var(--accent); }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.7); }
}

/* ===== SECTION SHARED ===== */
section { padding: 7rem 0; }

.section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.section-title.centered { text-align: center; }

.section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 3.5rem;
}
.section-sub.centered { text-align: center; }

.tag {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  background: rgba(0,229,160,0.07);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  letter-spacing: 0.03em;
}

/* ===== OFFRES ===== */
.offers { background: var(--bg2); }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.offer-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.offer-card:hover {
  border-color: rgba(0,229,160,0.2);
  box-shadow: 0 8px 30px rgba(0,229,160,0.06);
  transform: translateY(-2px);
}

.offer-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(0,229,160,0.07);
  border: 1px solid rgba(0,229,160,0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}
.offer-icon svg { width: 22px; height: 22px; }

.offer-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.offer-lead {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.offer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.offer-list li {
  font-size: 0.86rem;
  color: var(--text);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
}
.offer-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===== MÉTHODE ===== */
.method { background: var(--bg); }

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  counter-reset: none;
}

.step {
  position: relative;
  padding: 1.5rem 1.4rem;
  border-top: 2px solid rgba(0,229,160,0.25);
}
.step:first-child { border-top-color: var(--accent); }

.step-num {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.step-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== STATS ===== */
.stats {
  padding: 4rem 0;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== RÉFÉRENCES ===== */
.cases { background: var(--bg2); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.case-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: box-shadow 0.2s;
}
.case-card:hover { box-shadow: 0 8px 30px rgba(0,229,160,0.06); }

.case-client {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.case-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.8rem;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== PRODUITS ===== */
.project { background: var(--bg3); }

.project-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 680px;
  margin: 0 auto;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.project-card:hover {
  border-color: rgba(0,229,160,0.2);
  box-shadow: 0 8px 40px rgba(0,229,160,0.07);
}

.project-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.project-logo {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.project-logo-fallback {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.project-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.project-owner {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.project-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.project-link-web,
.project-store {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.project-link-web {
  color: var(--accent);
  background: rgba(0,229,160,0.07);
  border: 1px solid rgba(0,229,160,0.2);
}
.project-link-web:hover { background: rgba(0,229,160,0.14); border-color: rgba(0,229,160,0.4); }
.project-store {
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}
.project-store:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--text); }
.project-link-web svg,
.project-store svg { width: 14px; height: 14px; }

/* ===== FONDATEUR ===== */
.founder { background: var(--bg2); }

.founder-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: center;
}

.founder-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}
.founder-text strong { color: var(--text); font-weight: 600; }

.doc-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.doc-card:hover {
  border-color: rgba(0,229,160,0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,229,160,0.08);
}

.doc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.doc-icon svg { width: 22px; height: 22px; }
.doc-icon.accent {
  background: rgba(0,229,160,0.07);
  border: 1px solid rgba(0,229,160,0.2);
  color: var(--accent);
}

.doc-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.doc-type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.doc-name { font-size: 0.95rem; font-weight: 500; }

.doc-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}
.doc-arrow svg { width: 18px; height: 18px; }
.doc-card:hover .doc-arrow { color: var(--accent); transform: translate(2px, -2px); }

/* ===== CONTACT ===== */
.contact {
  background: var(--bg);
  background-image: radial-gradient(rgba(0,229,160,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 100px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.contact-btn svg { width: 18px; height: 18px; }
.contact-btn--primary {
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  color: #0a0e17;
  box-shadow: 0 0 30px rgba(0,229,160,0.25);
}
.contact-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 0 50px rgba(0,229,160,0.4); }
.contact-btn--ghost {
  color: var(--accent);
  border: 1px solid rgba(0,229,160,0.3);
}
.contact-btn--ghost:hover { background: rgba(0,229,160,0.08); }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  text-align: center;
}
.footer-logo { width: 120px; margin: 0 auto 0.3rem; }
.footer-title {
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-contacts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-contact {
  font-size: 0.88rem;
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-contact:hover { opacity: 0.75; }
.footer-contact-sep { color: var(--border); }
.footer-icon {
  color: var(--accent);
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.footer-icon:hover { opacity: 0.75; }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); }
.footer-copy a:hover { color: var(--text); }

/* ===== PAGE SIMPLE (mentions légales) ===== */
.page {
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  background: var(--bg2);
  min-height: 70vh;
}
.page h1 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 2rem; }
.page h2 { font-family: var(--font-head); font-size: 1.15rem; margin: 2rem 0 0.5rem; }
.page p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: 1fr; }
  .founder-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 5rem 0; }
  .nav-links a:not(.nav-cta) { display: none; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 1.4rem; }
  .stat-item:last-child { border-bottom: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .nav-logo img { width: 110px; }
  .steps { grid-template-columns: 1fr; }
  .footer-contacts { flex-direction: column; gap: 0.4rem; }
  .footer-contact-sep { display: none; }
  .stat-num { font-size: 2.2rem; }
}
