/* ============================================================
   Bizna201 — Landing page (page d'accueil non connecté)
   Inspiration : zomro.com — hero percutant, cartes, FAQ,
   bandeau de confiance, sections claires sur fond gris doux.
   Réutilise les variables du thème (styles.css).
   ============================================================ */

.landing {
  background: #fff;
  color: var(--ink);
  min-height: 100vh;
  font-size: 15px;
}

.landing-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==================== Barre de navigation ==================== */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.landing-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sidebar-bg);
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.landing-logo-name {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.landing-logo-name strong {
  font-weight: 800;
  color: var(--orange);
}

.landing-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.landing-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.landing-links a:hover { color: var(--orange); }

.landing-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Boutons de la landing */
.btn-outline-landing {
  background: #fff;
  color: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
}

.btn-outline-landing:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--orange-light);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15.5px;
  border-radius: 12px;
}

/* ==================== Héro ==================== */
.landing-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(255, 121, 0, 0.16), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(23, 92, 211, 0.10), transparent 60%),
    linear-gradient(180deg, #fffdf9, #fff);
}

.landing-hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 88px;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange-light);
  color: var(--orange-dark);
  border: 1px solid rgba(255, 121, 0, 0.3);
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  padding: 7px 15px;
  margin-bottom: 22px;
}

.landing-hero-text h1 {
  font-size: 44px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -1.4px;
  margin-bottom: 20px;
}

.landing-hero-text h1 .grad {
  background: linear-gradient(100deg, var(--orange), #ffb25e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero-sub {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 30px;
}

.landing-hero-sub code {
  background: var(--orange-light);
  color: var(--orange-dark);
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.landing-hero-badges {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.landing-hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Visual : téléphone en CSS */
.landing-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

.phone {
  width: 260px;
  background: #0f1524;
  border-radius: 38px;
  padding: 12px;
  box-shadow:
    0 40px 80px -20px rgba(20, 28, 43, 0.45),
    0 0 0 1px rgba(20, 28, 43, 0.12);
  transform: rotate(2deg);
}

.phone-notch {
  width: 90px;
  height: 20px;
  background: #0f1524;
  border-radius: 0 0 14px 14px;
  margin: -12px auto 0;
  position: relative;
  z-index: 2;
}

.phone-app {
  background: #f4f6fa;
  border-radius: 28px;
  overflow: hidden;
  padding-bottom: 14px;
}

.phone-app-head {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.phone-app-head img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--sidebar-bg);
  padding: 3px;
}

.phone-app-head strong { display: block; font-size: 13px; line-height: 1.15; }
.phone-app-head small { font-size: 10.5px; color: var(--muted); }
.phone-live {
  margin-left: auto;
  color: var(--green);
  font-size: 12px;
  animation: phone-pulse 1.6s ease-in-out infinite;
}
@keyframes phone-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.phone-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 13px;
}

.bubble {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 15px;
  font-size: 12px;
  line-height: 1.45;
  animation: bubble-in 0.5s ease backwards;
}
.bubble:nth-child(2) { animation-delay: 0.35s; }
.bubble:nth-child(3) { animation-delay: 0.7s; }
.bubble:nth-child(4) { animation-delay: 1.05s; }
@keyframes bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.bubble.out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--orange), #ff9a3d);
  color: #fff;
  border-bottom-right-radius: 5px;
}

.bubble.in {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 5px;
}

.bubble.small { font-size: 11px; opacity: 0.95; }

.phone-compose {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 15px;
  font-size: 11.5px;
  color: var(--muted);
}

.phone-send {
  margin-left: auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.float-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  animation: float 5s ease-in-out infinite;
}

.float-chip strong { color: var(--orange-dark); }

.float-chip-1 { top: 8%; left: 0; animation-delay: 0.8s; }
.float-chip-2 { bottom: 12%; right: 0; animation-delay: 1.6s; }

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

/* ==================== Bandeau de confiance ==================== */
.landing-trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fafbfd;
}

.landing-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 26px 24px;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}

.trust-item strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ink);
}

.trust-item span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ==================== Sections ==================== */
.landing-section {
  padding: 84px 0;
}

.landing-section-alt {
  background: #f6f8fb;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.landing-section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 46px;
}

.landing-kicker {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--orange);
  background: var(--orange-light);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 16px;
}

.landing-section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.landing-section-head p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ==================== Fonctionnalités ==================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 121, 0, 0.4);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-light), #ffe9d1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature-card h3 code {
  background: var(--orange-light);
  color: var(--orange-dark);
  border-radius: 5px;
  padding: 1px 6px;
  font-size: 14px;
}

.feature-card p {
  font-size: 13.8px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ==================== Forfaits (landing) ==================== */
.landing-packs {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  max-width: 860px;
  margin: 0 auto;
}

.landing-price-note {
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 22px;
}

.landing-price-note strong { color: var(--orange-dark); }

/* ==================== FAQ ==================== */
.landing-faq-wrap {
  max-width: 760px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-list details[open] {
  border-color: rgba(255, 121, 0, 0.45);
  box-shadow: var(--shadow-sm);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  user-select: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: '+';
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  background: var(--orange);
  color: #fff;
}

.faq-list details p {
  padding: 0 22px 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.faq-list details p code {
  background: var(--orange-light);
  color: var(--orange-dark);
  border-radius: 5px;
  padding: 1px 6px;
  font-weight: 700;
}

/* ==================== Téléchargements ==================== */
.landing-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.landing-download-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.2s ease;
}

.landing-download-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange);
}

.landing-download-card .dc-icon {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  font-size: 28px;
  background: linear-gradient(135deg, var(--orange-light), #ffe9d1);
}

.landing-download-card .dc-body strong {
  font-size: 16px;
  margin-bottom: 3px;
}

.landing-download-card .dc-body span {
  font-size: 13px;
  margin-bottom: 4px;
}

.landing-download-card .dc-body small {
  font-size: 12.5px;
  color: var(--orange-dark);
  font-weight: 700;
}

/* ==================== Pied de page ==================== */
.landing-footer {
  background: var(--sidebar-bg);
  color: var(--sidebar-ink);
  padding: 44px 0 34px;
}

.landing-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.landing-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.landing-footer-brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px;
}

.landing-footer-brand strong { display: block; color: #fff; font-size: 16px; }
.landing-footer-brand span { font-size: 12.5px; color: var(--muted); }

.landing-footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.landing-footer-links a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sidebar-ink);
  transition: color 0.15s ease;
}

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

.landing-footer-note {
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid #232f43;
  padding-top: 18px;
}

/* ==================== Lien retour (écran de connexion) ==================== */
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 16px;
  transition: color 0.15s ease;
}

.auth-back:hover { color: var(--orange); }

/* ==================== Responsive ==================== */
@media (max-width: 960px) {
  .landing-hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 64px; }
  .landing-hero-text { text-align: center; }
  .landing-hero-sub { margin-left: auto; margin-right: auto; }
  .landing-hero-actions, .landing-hero-badges { justify-content: center; }
  .landing-hero-visual { order: -1; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .landing-download-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .landing-links { display: none; }
  .landing-nav-inner { height: 60px; }
  .landing-hero-text h1 { font-size: 32px; }
  .landing-section { padding: 56px 0; }
  .landing-section-head h2 { font-size: 25px; }
  .features-grid { grid-template-columns: 1fr; }
  .landing-cta .btn-outline-landing { display: none; }
}
