/* DESIGN SYSTEM */
:root {
  --primary: #14736A;
  --primary-light: #18a394;
  --primary-dark: #0f5449;
  --black: #111827;
  --gray-900: #1f2937;
  --gray-600: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --success: #10b981;
}

[data-theme="dark"] {
  --primary: #18a394;
  --black: #f3f4f6;
  --gray-900: #e5e7eb;
  --gray-600: #9ca3af;
  --gray-300: #374151;
  --gray-100: #1f2937;
  --white: #111827;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* TYPOGRAPHY */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
}

/* LAYOUT */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--gray-100);
  padding: 16px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-selector {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--gray-100);
  border-radius: 8px;
}

.lang-btn {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-600);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--primary);
  color: white;
}

.theme-toggle {
  padding: 8px;
  border-radius: 8px;
  background: var(--gray-100);
  font-size: 1.2rem;
  transition: background 0.2s;
}

.theme-toggle:hover {
  background: var(--gray-300);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: all 0.2s;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
  border-bottom: 2px solid var(--gray-100);
  padding: 100px 0 80px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--gray-900);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto 40px;
}

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

.hero-trust {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .hero {
    padding: 60px 0 40px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

/* SECTIONS */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--gray-900);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
}

.section-alt {
  background: var(--gray-100);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

/* Mobile: Pack 49$ apparaît en premier */
@media (max-width: 768px) {
  .pricing-card.featured {
    order: -1;
  }
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 16px;
  padding: 32px;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(20, 115, 106, 0.15);
}

.pricing-card.featured {
  border-color: var(--primary);
  border-width: 3px;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--primary);
  color: white;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-900);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.pricing-period {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 24px;
}

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

.pricing-features li {
  padding: 12px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

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

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

/* HOW IT WORKS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.step {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 12px;
  color: var(--gray-900);
}

.step p {
  color: var(--gray-600);
}

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.testimonial {
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 16px;
  padding: 32px;
}

.testimonial-quote {
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: 20px;
  line-height: 1.6;
}

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

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-name {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* TRUST BADGES */
.trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: 12px;
}

.badge-icon {
  font-size: 1.5rem;
}

.badge-text {
  font-weight: 600;
  color: var(--gray-900);
}

/* FOOTER */
footer {
  background: var(--gray-100);
  border-top: 2px solid var(--gray-300);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  margin-bottom: 16px;
  color: var(--gray-900);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-600);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact {
  color: var(--gray-600);
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--gray-300);
  text-align: center;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* SCROLL TOP */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* WHATSAPP FLOATING BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: all 0.3s ease;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.whatsapp-float:hover {
  background: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 56px;
    height: 56px;
  }
  
  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
  
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    font-size: 1.3rem;
  }
}

/* UTILITIES */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none; }
