/* ─── Variables ─────────────────────────────────────────── */
:root {
  --bg-deep:    #0a0a0a;
  --bg-mid:     #111111;
  --bg-card:    #161624;
  --bg-nav:     #0d0d1a;
  --accent:     #10b981;
  --accent-dim: rgba(16, 185, 129, 0.15);
  --danger:     #dc2626;
  --text-1:     #f0f0ff;
  --text-2:     #9ca3af;
  --text-3:     #6b7280;
  --border:     #1f2937;
  --font:       'Inter', sans-serif;
  --max-w:      1100px;
  --radius:     8px;
}

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Utilitaires ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--bg-mid);
}

.label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-2);
  max-width: 600px;
  margin-bottom: 48px;
}

/* ─── Boutons ────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.85; }

.btn--primary {
  background: var(--accent);
  color: var(--bg-deep);
  border: none;
}

.btn--ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}

/* ─── Navigation ─────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 60px;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-1);
  letter-spacing: 1px;
}

/* Placeholder logo visible */
.nav__logo::after {
  content: '◆ Conseil';
  color: var(--accent);
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav__links a {
  font-size: 13px;
  color: var(--text-2);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--text-1); }

.nav__contact {
  color: var(--accent) !important;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* ─── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--bg-deep) 0%, #1a1a2e 100%);
  padding-top: 60px; /* hauteur nav */
}

.hero__content {
  max-width: 680px;
}

.hero__title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero__accent {
  color: var(--accent);
}

.hero__subtitle {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Pain Points ────────────────────────────────────────── */
.pain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}

.pain-item {
  padding: 20px 24px;
  border-left: 3px solid var(--danger);
  background: rgba(220, 38, 38, 0.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

.pain-item strong {
  display: block;
  color: var(--text-1);
  margin-bottom: 6px;
  font-weight: 600;
}

/* ─── Pillars grid ───────────────────────────────────────── */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s;
}

.pillar:hover { border-color: var(--accent); }

.pillar__icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 12px;
}

.pillar__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pillar__text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

/* ─── Phases M06 ─────────────────────────────────────────── */
.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.phase {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  position: relative;
}

.phase:last-child { border-right: none; }

.phase__num {
  font-size: 40px;
  font-weight: 800;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.phase__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.phase__text {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 16px;
}

.phase__duration {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ─── Accordéons ─────────────────────────────────────────── */
.accordions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accordion {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.accordion[open] {
  border-color: var(--accent);
}

.accordion__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  gap: 16px;
}

.accordion__header::-webkit-details-marker { display: none; }

.accordion__header::after {
  content: '+';
  color: var(--accent);
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.accordion[open] .accordion__header::after {
  transform: rotate(45deg);
}

.accordion__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
}

.accordion__meta {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  white-space: nowrap;
}

.accordion__body {
  padding: 0 24px 20px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ─── Packages ───────────────────────────────────────────── */
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: start;
}

.package {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
}

.package--featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(16,185,129,0.05) 100%);
}

.package__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.package__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.package__price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.package__duration {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 24px;
}

.package__items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.package__items li {
  font-size: 14px;
  color: var(--text-2);
  padding-left: 20px;
  position: relative;
}

.package__items li::before {
  content: '✓';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.package__roi {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ─── Stats profil ───────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.stat__value {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat__label {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
}

/* ─── CTA Final ──────────────────────────────────────────── */
.cta-final {
  background: linear-gradient(135deg, #0a2a1a 0%, #0d1a2e 100%);
  padding: 80px 0;
  border-top: 1px solid rgba(16,185,129,0.2);
}

.cta-final__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cta-final__title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
}

.cta-final__sub {
  color: var(--text-2);
  font-size: 15px;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 24px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-3);
}

.footer__contact {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {

  .nav__links {
    gap: 16px;
  }

  .nav__links li:not(:last-child) {
    display: none; /* Garder seulement "Contact" sur mobile */
  }

  .hero__title {
    font-size: 32px;
  }

  .hero__ctas {
    flex-direction: column;
  }

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

  .phase {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .phase:last-child { border-bottom: none; }

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

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

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

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .stats { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .phases { grid-template-columns: 1fr; }
}
