/* ===== SOORDER DESIGN SYSTEM ===== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --bg:         #080c0a;
  --bg2:        #0d1410;
  --bg3:        #111a14;
  --accent:     #2ecc71;
  --accent-d:   #1a7a4a;
  --accent-glow:rgba(46,204,113,0.18);
  --border:     rgba(46,204,113,0.12);
  --border-h:   rgba(46,204,113,0.35);
  --text:       #ffffff;
  --text-m:     #a0b4a8;
  --text-s:     #5a7060;
  --radius:     20px;
  --radius-sm:  12px;
  --radius-lg:  28px;
  --nav-h:      72px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

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

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 5%;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: rgba(8,12,10,0.72);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--accent);
  letter-spacing: -0.03em;
  margin-right: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-m);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }

#lang-switcher {
  margin-left: 2rem;
  flex-shrink: 0;
}

.nav-cta {
  margin-left: 1.5rem;
  background: var(--accent);
  color: #000 !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-weight: 600 !important;
  font-size: 0.86rem !important;
  transition: opacity 0.2s, transform 0.2s !important;
}
.nav-cta:hover { opacity: 0.88; transform: scale(1.04); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: 1.5rem;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== MOBILE NAV ===== */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(8,12,10,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 5% 2rem;
  z-index: 99;
  flex-direction: column;
  gap: 1.2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-m);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile .nav-cta {
  margin-left: 0;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.95rem !important;
}

/* ===== LAYOUT ===== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5%;
}

section { padding: 100px 0; }

.pt-nav { padding-top: calc(var(--nav-h) + 2rem); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, opacity 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: scale(1.04); }

.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 28px rgba(46,204,113,0.3);
}
.btn-primary:hover { box-shadow: 0 0 40px rgba(46,204,113,0.45); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-h);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

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

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-glow);
  border: 1px solid var(--border-h);
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ===== CARDS ===== */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px var(--border-h);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header .badge { margin-bottom: 1.2rem; }
.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-m);
  max-width: 560px;
  margin: 0 auto;
}

/* ===== BENTO GRID ===== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.2rem;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 140px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(46,204,113,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { text-align: center; max-width: 780px; margin: 0 auto; }

.hero-eyebrow {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.hero-title {
  font-size: 86px;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-title .accent { color: var(--accent); }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-m);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

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

.store-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.4rem;
  transition: border-color 0.2s, transform 0.2s;
}
.store-btn:hover { border-color: var(--accent); transform: translateY(-2px); }
.store-btn-icon { font-size: 1.6rem; }
.store-btn-text { display: flex; flex-direction: column; }
.store-btn-small { font-size: 0.65rem; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.05em; }
.store-btn-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.95rem; }

/* ===== STATS BAR ===== */
.stats-bar {
  display: flex;
  gap: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 5rem;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 1.8rem 1rem;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-label { font-size: 0.82rem; color: var(--text-m); margin-top: 0.2rem; }

/* ===== FEATURES ===== */
.feat-icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card p { font-size: 0.9rem; color: var(--text-m); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.2rem;
}

.testi-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.testi-stars { color: var(--accent); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 2px; }

.testi-text {
  font-size: 0.95rem;
  color: var(--text-m);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--border-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}
.testi-name { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.78rem; color: var(--text-s); }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.pricing-card:hover { border-color: var(--border-h); transform: translateY(-6px); }
.pricing-card.featured {
  background: linear-gradient(135deg, #0d2018 0%, #0a1a10 100%);
  border-color: var(--accent);
  position: relative;
}
.pricing-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-plan { font-size: 0.8rem; font-weight: 600; color: var(--text-s); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.pricing-price { font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 0.3rem; }
.pricing-price span { font-size: 1rem; font-weight: 400; color: var(--text-m); vertical-align: super; font-family: 'DM Sans', sans-serif; }
.pricing-period { font-size: 0.82rem; color: var(--text-s); margin-bottom: 1.8rem; }
.pricing-desc { font-size: 0.9rem; color: var(--text-m); margin-bottom: 2rem; line-height: 1.6; }

.pricing-features { list-style: none; margin-bottom: 2rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.88rem; color: var(--text-m); }
.pricing-features li::before { content: '\2713'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.8rem; }

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--border-h); }

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.97rem;
  gap: 1rem;
}
.faq-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-glow);
  border: 1px solid var(--border-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 1.5rem 1.3rem;
  font-size: 0.9rem;
  color: var(--text-m);
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--accent-glow);
  border: 1px solid var(--border-h);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-text strong { font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 0.2rem; }
.contact-info-text span { font-size: 0.88rem; color: var(--text-m); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-m); text-transform: uppercase; letter-spacing: 0.05em; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

input, textarea, select {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  padding: 0.85rem 1.1rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46,204,113,0.12);
}
textarea { resize: vertical; min-height: 130px; }
::placeholder { color: var(--text-s); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, #0d2018 0%, #080c0a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; margin-bottom: 1rem; }
.cta-section p { color: var(--text-m); max-width: 480px; margin: 0 auto 2.5rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.88rem; color: var(--text-m); margin: 1rem 0 1.5rem; max-width: 280px; line-height: 1.7; }
.footer-logo { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--accent); letter-spacing: -0.03em; }
.footer-col h4 { font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-s); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a { font-size: 0.88rem; color: var(--text-m); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-s); }
.footer-social { display: flex; gap: 0.8rem; }
.social-btn {
  width: 36px; height: 36px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}
.social-btn:hover { border-color: var(--accent); background: var(--accent-glow); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(46,204,113,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero .badge { margin-bottom: 1.5rem; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; margin-bottom: 1.2rem; }
.page-hero p { font-size: 1.1rem; color: var(--text-m); max-width: 560px; margin: 0 auto 2rem; line-height: 1.7; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(46,204,113,0.2); }
  50% { box-shadow: 0 0 40px rgba(46,204,113,0.5); }
}

.animate { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.animate.visible { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.hero-content .btn-primary { animation: pulse-glow 3s ease-in-out infinite; }

/* ===== DIVIDER ===== */
.divider { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); margin: 0; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, #2ecc71 0%, #7bed9f 50%, #2ecc71 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== RESPONSIVE — 768px ===== */
@media (max-width: 768px) {

  /* Base */
  body { font-size: 15px; }
  section { padding: 60px 0; }
  .container { padding: 0 20px; }

  /* ── Nav ── */
  .nav-links,
  .nav > .nav-cta { display: none !important; }
  .nav-burger { display: flex; }

  /* ── Hero ── */
  .hero { min-height: auto; padding-top: 120px; padding-bottom: 3rem; }
  .hero-title { font-size: 58px; line-height: 1.1; }
  .hero-subtitle { font-size: 0.93rem; margin-bottom: 2rem; }
  .hero-eyebrow { margin-bottom: 1.2rem; }

  /* ── Hero actions → colonne ── */
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }

  /* ── Store buttons ── */
  .store-btns { gap: 0.5rem; justify-content: center; }
  .store-btns a svg { width: 140px !important; height: 47px !important; }

  /* ── Page hero ── */
  .page-hero {
    padding-top: calc(var(--nav-h) + 2rem);
    padding-bottom: 2.5rem;
  }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p { font-size: 0.95rem; }
  .page-hero .hero-actions { flex-direction: column; align-items: center; }
  .page-hero .hero-actions .btn { max-width: 340px; width: 100%; justify-content: center; }

  /* ── Stats bar ── */
  .stats-bar { flex-direction: column; margin-top: 3rem; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }

  /* ── Bento grid → 1 colonne ── */
  .bento { grid-template-columns: 1fr !important; }
  .bento > * { grid-column: 1 !important; grid-row: auto !important; }

  /* ── Pricing → 1 colonne, featured sans scale ── */
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured::before { display: none; }
  .pricing-card:hover { transform: none; }

  /* ── Testimonials → 1 colonne ── */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* ── Section header ── */
  .section-header h2 { font-size: 1.8rem; }
  .section-header p { font-size: 0.93rem; }
  .section-header { margin-bottom: 2.5rem; }

  /* ── CTA section ── */
  .cta-section h2 { font-size: 1.8rem; }
  .cta-section p { font-size: 0.93rem; margin-bottom: 2rem; }
  .cta-section .hero-actions { flex-direction: column; align-items: center; }
  .cta-section .hero-actions .btn { max-width: 340px; width: 100%; }

  /* ── Footer → 1 colonne centré ── */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-brand { text-align: center; }
  .footer-brand p { max-width: 100%; margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-col ul { align-items: center; }
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  /* ── Contact ── */
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }

  /* ── FAQ ── */
  .faq-q { font-size: 0.9rem; padding: 1.1rem 1.2rem; }
  .faq-a { padding: 0 1.2rem 1.1rem; }
}
