/* ============================================================
   WISEGEN SOCIAL — landing.css
   Styles spécifiques à la page d'accueil (index.html)
   ============================================================ */

/* ── NAV ── */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(239, 239, 239, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0 40px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: box-shadow 0.3s;
}
nav.site-nav.scrolled {
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.09);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: var(--dark);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--dark); }

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

.btn-nav-ghost {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-nav-ghost:hover {
  border-color: rgba(51, 85, 255, 0.4);
  color: var(--blue);
}

.btn-nav-primary {
  padding: 9px 22px;
  border-radius: 50px;
  background: var(--blue);
  border: none;
  font-size: 13px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: var(--shadow-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-nav-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(.4, 0, .2, 1);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer mobile */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 310;
  width: min(320px, 86vw);
  background: var(--white);
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 48px rgba(0, 0, 0, 0.15);
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-body { flex: 1; overflow-y: auto; padding: 12px; }
.drawer-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: background 0.2s;
}
.drawer-nav-item a:hover { background: var(--bg); }
.drawer-footer {
  padding: 20px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
}
.drawer-footer a {
  width: 100%;
  text-align: center;
  padding: 14px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  justify-content: center;
}

/* ── SECTIONS ── */
section { padding: 96px 40px; }
.section-inner { max-width: 1160px; margin: 0 auto; }
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: var(--dark);
  line-height: 1.08;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 52px;
}
.bg-white { background: var(--white); }

/* ── HERO ── */
.hero-section {
  min-height: 100vh;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: var(--bg);
}

.hero-img-zone {
  position: absolute;
  top: var(--nav-h);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-img-zone img {
  height: 90%;
  width: auto;
  display: block;
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 80px 40px;
  width: 100%;
}
.hero-inner { max-width: 520px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 50px;
  padding: 6px 16px 6px 8px;
  border: 1.5px solid var(--border);
  margin-bottom: 24px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.badge-pill {
  background: var(--blue);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 50px;
}
.badge-text {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.hero-title {
  font-size: clamp(36px, 4.8vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2.5px;
  color: var(--dark);
  margin-bottom: 20px;
}
.hero-accent-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--blue);
  border-radius: 12px;
  vertical-align: middle;
  margin: 0 4px;
  position: relative;
  top: -4px;
  animation: floatBox 3.5s ease-in-out infinite;
}

.hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 460px;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 28px;
}
.btn-talk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  color: var(--dark);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
  background: none;
  border: none;
  font-family: inherit;
}
.btn-talk:hover { color: var(--blue); }
.btn-talk:hover svg { transform: translateX(3px); }
.btn-talk svg { transition: transform 0.2s; }

/* Scrolling logos */
.hero-scroll-logos { width: 100%; }
.scroll-logos-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray2);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}
.scroll-logos-outer {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.scroll-logos-outer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(to right, #EFEFEF, transparent);
  z-index: 2;
  pointer-events: none;
}
.scroll-logos-outer::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 60px;
  background: linear-gradient(to left, #EFEFEF, transparent);
  z-index: 2;
  pointer-events: none;
}
.scroll-logos-track {
  display: flex;
  align-items: center;
  gap: 36px;
  animation: scrollLogos 22s linear infinite;
  width: max-content;
}
.scroll-logos-track:hover { animation-play-state: paused; }
.scroll-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: opacity 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.scroll-logo-item:hover { opacity: 0.85; }
.scroll-logo-item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

/* ── FEATURES ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.fcard {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  border: 1.5px solid var(--border);
  transition: all 0.3s ease;
}
.fcard:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(51, 85, 255, 0.25);
}
.fcard-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-soft);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.fcard-title { font-size: 16px; font-weight: 800; margin-bottom: 8px; color: var(--dark); }
.fcard-desc  { font-size: 14px; color: var(--gray); line-height: 1.58; }

/* ── HOW IT WORKS ── */
.how-wrap {
  background: var(--dark2);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s;
}
.step-card:hover {
  background: rgba(51, 85, 255, 0.14);
  border-color: rgba(51, 85, 255, 0.35);
}
.step-num   { font-size: 11px; font-weight: 800; color: var(--blue); letter-spacing: 1px; margin-bottom: 14px; text-transform: uppercase; }
.step-title { font-size: 18px; font-weight: 800; margin-bottom: 9px; color: white; }
.step-desc  { font-size: 14px; color: rgba(255, 255, 255, 0.55); line-height: 1.6; }

/* ── PLATFORMS ── */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.pcard {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 26px 24px;
  transition: all 0.3s;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(51, 85, 255, 0.2);
}
.pcard-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pcard-name { font-size: 17px; font-weight: 800; margin-bottom: 7px; color: var(--dark); }
.pcard-desc { font-size: 13px; color: var(--gray); line-height: 1.55; margin-bottom: 12px; }

.tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag {
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  border: 1px solid rgba(51, 85, 255, 0.15);
}

/* ── TESTIMONIALS ── */
.tgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tcard {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  border: 1.5px solid var(--border);
  transition: all 0.3s;
}
.tcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tcard-stars  { font-size: 13px; color: #FBBF24; margin-bottom: 10px; }
.tcard-text   { font-size: 14px; color: var(--dark); line-height: 1.6; margin-bottom: 18px; }
.tcard-author { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.tcard-name { font-size: 13px; font-weight: 700; color: var(--dark); }
.tcard-role { font-size: 12px; color: var(--gray2); margin-top: 1px; }

/* ── PRICING ── */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 44px;
}
.tlabel { font-size: 14px; font-weight: 600; color: var(--gray); }
.ttrack {
  width: 50px;
  height: 26px;
  background: var(--blue);
  border-radius: 50px;
  position: relative;
  cursor: pointer;
}
.tthumb {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}
.tthumb.left { right: auto; left: 3px; }
.save-tag {
  background: #D1FAE5;
  color: #065F46;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 50px;
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pricingcard {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  position: relative;
  transition: all 0.3s;
}
.pricingcard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricingcard.feat {
  background: var(--dark);
  border-color: rgba(51, 85, 255, 0.5);
  box-shadow: var(--shadow-blue);
}
.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}
.p-name     { font-size: 15px; font-weight: 800; margin-bottom: 6px; color: var(--dark); }
.p-desc     { font-size: 13px; color: var(--gray); margin-bottom: 22px; }
.p-price    { font-size: 44px; font-weight: 900; letter-spacing: -2px; color: var(--dark); line-height: 1; }
.p-per      { font-size: 13px; color: var(--gray2); margin-bottom: 28px; margin-top: 4px; }
.pricingcard.feat .p-name  { color: white; }
.pricingcard.feat .p-desc  { color: rgba(255,255,255,0.55); }
.pricingcard.feat .p-price { color: white; }
.pricingcard.feat .p-per   { color: rgba(255,255,255,0.4); }

.p-features { list-style: none; margin-bottom: 28px; }
.p-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.pricingcard.feat .p-features li { color: rgba(255,255,255,0.8); }
.p-check { color: var(--blue); font-weight: 900; font-size: 14px; flex-shrink: 0; margin-top: 1px; }

.pbtn-outline {
  width: 100%; padding: 13px; border-radius: 50px;
  background: transparent; border: 2px solid var(--border);
  color: var(--dark); font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.pbtn-outline:hover { border-color: var(--blue); color: var(--blue); }

.pbtn-solid {
  width: 100%; padding: 13px; border-radius: 50px;
  background: var(--blue); color: white;
  border: none; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: all 0.2s;
  box-shadow: var(--shadow-blue);
}
.pbtn-solid:hover { background: var(--blue-dark); }

.pbtn-white {
  width: 100%; padding: 13px; border-radius: 50px;
  background: white; color: var(--dark);
  border: none; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.pbtn-white:hover { background: #f0f0f0; }

/* ── FAQ ── */
.faq-wrap { max-width: 700px; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  gap: 20px;
}
.faq-ico {
  width: 26px;
  height: 26px;
  background: var(--blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  color: var(--blue);
}
.faq-a {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
  padding: 0 0 20px;
  display: none;
  animation: fadeIn 0.2s ease;
}
.faq-item.open .faq-a   { display: block; }
.faq-item.open .faq-ico { background: var(--blue); color: white; transform: rotate(45deg); }

/* ── CTA ── */
.cta-wrap {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(51,85,255,0.45) 0%, transparent 60%);
  pointer-events: none;
}
.cta-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  color: white;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 16px;
  position: relative;
}
.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 36px;
  position: relative;
}
.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 40px 36px;
}
.footer-inner { max-width: 1160px; margin: 0 auto; }
.ftop {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  color: white;
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-tagline { font-size: 13px; line-height: 1.6; margin-bottom: 22px; }
.fsocials { display: flex; gap: 9px; }
.fsocial {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}
.fsocial:hover { background: var(--blue); border-color: var(--blue); }
.fcol h4 { color: white; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.fcol ul li { margin-bottom: 11px; }
.fcol ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.fcol ul li a:hover { color: white; }
.fbot {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.fcopy { font-size: 12px; }
.flinks { display: flex; gap: 20px; }
.flinks a {
  color: rgba(255,255,255,0.35);
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}
.flinks a:hover { color: white; }

/* ── FAB mobile ── */
.fab {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
  text-decoration: none;
  animation: fabFloat 3s ease-in-out infinite;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav.site-nav { padding: 0 20px; }
  .nav-links, .nav-actions .btn-nav-ghost { display: none; }
  .hamburger { display: flex; }
  .fab { display: flex; }
}

@media (max-width: 960px) {
  .hero-img-zone { display: none; }
  .hero-content  { padding: 60px 20px 60px; }
  .hero-inner    { max-width: 100%; }
  .hero-title    { font-size: clamp(32px, 9vw, 50px); letter-spacing: -1.8px; }
  .hero-cta      { flex-wrap: wrap; }
  .hero-cta .btn-lg { width: 100%; text-align: center; justify-content: center; }
}

@media (max-width: 768px) {
  section { padding: 64px 20px; }
  .section-title { font-size: clamp(24px, 7vw, 36px); }
  .section-desc  { margin-bottom: 36px; }
  .how-wrap  { padding: 48px 24px; border-radius: var(--radius-lg); }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .tgrid     { grid-template-columns: 1fr; }
  .pgrid     { grid-template-columns: 1fr; max-width: 440px; }
  .cta-wrap  { padding: 56px 24px; border-radius: var(--radius-lg); }
  .ftop      { grid-template-columns: 1fr 1fr; gap: 36px; }
  footer     { padding: 56px 20px 28px; }
}

@media (max-width: 640px) {
  .platforms-grid { grid-template-columns: 1fr; }
  .cta-btns { flex-direction: column; }
}

@media (max-width: 520px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-talk { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .ftop { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .tgrid         { grid-template-columns: repeat(2, 1fr); }
}
