@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --black: #0D0D0D;
  --white: #FFFFFF;
  --green: #00A878;
  --green-dark: #008F66;
  --grey-light: #F7F7F7;
  --grey-mid: #E8E8E8;
  --grey-text: #6B6B6B;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-mid);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--black);
  text-decoration: none;
}

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

.nav-cta {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-cta:hover { background: #2a2a2a; }

/* SECTIONS */
section { padding: 100px 5%; }

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

/* HERO */
#hero {
  padding: 120px 5% 100px;
  text-align: center;
  background: var(--white);
}

.hero-badge {
  display: inline-block;
  background: #E6F7F2;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

#hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

#hero h1 em {
  font-style: italic;
  color: var(--green);
}

#hero p {
  font-size: 1.2rem;
  color: var(--grey-text);
  max-width: 560px;
  margin: 0 auto 48px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 72px;
}

.btn-primary {
  background: var(--green);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  display: inline-block;
}

.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--black);
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--grey-mid);
  transition: border-color 0.2s;
  display: inline-block;
}

.btn-secondary:hover { border-color: var(--black); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--black);
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--grey-text);
  font-weight: 400;
}

/* PROBLEME */
#probleme { background: var(--black); color: var(--white); }

#probleme .section-label {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#probleme h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 60px;
  max-width: 700px;
  line-height: 1.15;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.problem-card {
  background: #1A1A1A;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius);
  padding: 36px 32px;
}

.problem-card .number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -1px;
  margin-bottom: 12px;
  display: block;
}

.problem-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.6;
}

/* SERVICES */
#services { background: var(--grey-light); }

.section-label {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#services h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 60px;
  max-width: 600px;
  line-height: 1.15;
}

.services-list { display: flex; flex-direction: column; gap: 0; }

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--grey-mid);
}

.service-item:last-child { border-bottom: none; }

.service-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  min-width: 32px;
  padding-top: 4px;
}

.service-content { flex: 1; }

.service-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.service-content p {
  font-size: 0.95rem;
  color: var(--grey-text);
  max-width: 620px;
}

.service-tag {
  background: #E6F7F2;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
  align-self: center;
}

/* PRIX */
#prix { background: var(--white); }

#prix h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

#prix .subtitle {
  color: var(--grey-text);
  margin-bottom: 60px;
  font-size: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.pricing-card {
  border: 1.5px solid var(--grey-mid);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--green);
  background: #F0FBF7;
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--grey-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-setup {
  font-size: 0.85rem;
  color: var(--grey-text);
  margin-bottom: 4px;
}

.price-monthly {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--black);
  margin-bottom: 4px;
}

.price-monthly span { font-size: 1rem; font-weight: 500; letter-spacing: 0; }

.price-commit {
  font-size: 0.8rem;
  color: var(--grey-text);
  margin-bottom: 28px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 0.9rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li:last-child { border-bottom: none; }

.pricing-features li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.btn-pricing {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-pricing.dark {
  background: var(--black);
  color: var(--white);
}

.btn-pricing.dark:hover { background: #2a2a2a; }

.btn-pricing.outline {
  border: 1.5px solid var(--black);
  color: var(--black);
}

.btn-pricing.outline:hover { background: var(--black); color: var(--white); }

/* TÉMOIGNAGES */
#temoignages { background: var(--grey-light); }

#temoignages h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 60px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--grey-mid);
}

.testimonial-stars {
  color: #F5A623;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.author-name { font-weight: 700; font-size: 0.9rem; }
.author-role { font-size: 0.8rem; color: var(--grey-text); }

/* FAQ */
#faq { background: var(--white); }

#faq h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 60px;
}

.faq-list { max-width: 780px; }

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

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: var(--black);
  font-family: 'Inter', sans-serif;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--green);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--grey-text);
  line-height: 1.7;
  padding-bottom: 24px;
}

/* CTA FINAL */
#contact {
  background: var(--black);
  color: var(--white);
  text-align: center;
}

#contact h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 16px;
  line-height: 1.05;
}

#contact h2 em { color: var(--green); font-style: italic; }

#contact p {
  color: #999;
  font-size: 1.1rem;
  margin-bottom: 48px;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form input,
.contact-form select {
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid #333;
  background: #1a1a1a;
  color: var(--white);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input::placeholder { color: #666; }
.contact-form input:focus,
.contact-form select:focus { border-color: var(--green); }

.contact-form select { color: #666; }
.contact-form select option { color: var(--white); }

.form-note {
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  margin-top: 8px;
}

/* FOOTER */
footer {
  background: var(--black);
  border-top: 1px solid #1a1a1a;
  padding: 32px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
}

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

.footer-copy {
  font-size: 0.8rem;
  color: #555;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  section { padding: 72px 24px; }
  #hero { padding: 80px 24px 72px; }

  .hero-stats { gap: 36px; }
  .stat-number { font-size: 2rem; }

  .service-item { flex-wrap: wrap; gap: 12px; }
  .service-tag { font-size: 0.7rem; }

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

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