/* ── FRONT PAGE CSS ──────────────────────────────────────────────────────── */

/* Hero */
.hero-wrap { background: var(--navy); padding: 0; }

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 6rem 3rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.2rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--amber);
}

.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero h1 em { font-style: normal; color: var(--amber); }

.hero-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 440px;
}

.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; }

.chip {
  font-size: .75rem;
  color: var(--muted);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50px;
  padding: .3rem .8rem;
}

/* Hero slideshow */
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-dots { display: flex; gap: .4rem; margin-top: .8rem; margin-bottom: 1.5rem; }
.hero-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.2); border: none; padding: 0; cursor: pointer; transition: background .3s; }
.hero-dot.active { background: var(--amber); width: 18px; border-radius: 3px; }

/* Mockup */
.mockup-wrap { position: relative; width: 100%; }

.mockup-desktop {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.mockup-bar {
  background: rgba(255,255,255,.06);
  padding: .5rem .9rem;
  display: flex;
  gap: .4rem;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.dot { width: 9px; height: 9px; border-radius: 50%; }
.d1 { background: #ff5f57; }
.d2 { background: #febc2e; }
.d3 { background: #28c840; }

.mockup-screen {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .5rem;
  color: rgba(255,255,255,.2);
  font-size: .75rem;
  text-align: center;
}

.mockup-ph-label {
  font-size: .7rem;
  background: rgba(245,166,35,.15);
  color: var(--amber);
  padding: .2rem .6rem;
  border-radius: 4px;
  margin-top: .3rem;
}

.mockup-mobile {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  background: rgba(7,38,56,.97);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,.5);
}

.notch { width: 36px; height: 5px; background: rgba(255,255,255,.15); border-radius: 3px; margin: 5px auto; }

.mobile-screen {
  aspect-ratio: 9/16;
  background: linear-gradient(160deg, var(--navy-light), #0f2a3d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.2);
  font-size: .6rem;
}

/* How section */
.how { background: var(--navy); }

/* Benefits section */
.benefits { background: var(--navy-mid); }

/* Features section */
.features { background: var(--navy); }

/* Access section */
.access { background: var(--navy-mid); }

/* Video section */
.video-section { background: var(--navy); padding: 4rem 3rem; }

.video-ph {
  background-color: var(--navy-mid);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  aspect-ratio: 16/6;
  max-width: 900px;
  margin: 2.5rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  cursor: pointer;
  transition: border-color .3s, transform .4s;
  position: relative;
  overflow: hidden;
}

/* Overlay sombre sur la miniature */
.video-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7,38,56,.5) 0%, rgba(7,38,56,.3) 50%, rgba(7,38,56,.6) 100%);
  transition: opacity .3s;
  border-radius: inherit;
}

.video-ph:hover { border-color: rgba(245,166,35,.5); transform: scale(1.005); }
.video-ph:hover::before { opacity: .7; }
.video-ph:hover .play-btn { transform: scale(1.12); box-shadow: 0 0 0 20px rgba(245,166,35,.18), 0 8px 32px rgba(245,166,35,.3); }

.play-btn {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(245,166,35,.92);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  box-shadow: 0 0 0 14px rgba(245,166,35,.15), 0 4px 24px rgba(0,0,0,.35);
  transition: transform .25s, box-shadow .25s;
}

.play-btn svg { margin-left: 3px; }
.video-ph p { position: relative; z-index: 1; font-size: .85rem; color: rgba(232,238,242,.8); }
.video-badge {
  position: absolute; top: 1.1rem; left: 1.1rem; z-index: 1;
  font-size: .68rem; font-weight: 700;
  background: rgba(7,38,56,.6); backdrop-filter: blur(8px);
  color: var(--amber); padding: .3rem .75rem; border-radius: 6px;
  border: 1px solid rgba(245,166,35,.25);
}

/* Profils section */
.profils-section { background: var(--navy-mid); padding: 5rem 3rem; }

/* IA Section */
.ia-section { background: var(--navy); padding: 5rem 3rem; }

.ia-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.ia-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(245,166,35,.1);
  border: 1px solid rgba(245,166,35,.25);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 1.2rem;
}

.ia-title {
  font-family: Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .8rem;
}

.ia-title em { font-style: normal; color: var(--amber); }

.ia-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.ia-features { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2rem; }

.ia-feat {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: .83rem;
  color: var(--light);
}

.ia-feat svg { color: var(--amber); flex-shrink: 0; margin-top: 2px; }
.ia-feat strong { color: var(--white); }

/* WhatsApp mockup */
.wa-mock {
  background: #ECE5DD;
  border-radius: 20px;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  max-width: 340px;
  margin: 0 auto;
}

.wa-header {
  background: #075E54;
  border-radius: 12px 12px 0 0;
  padding: .7rem 1rem;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: -1.2rem -1.2rem .4rem -1.2rem;
}

.wa-avatar { width: 34px; height: 34px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-header-info { flex: 1; }
.wa-header-name { font-size: .8rem; font-weight: 700; color: #fff; }
.wa-header-status { font-size: .65rem; color: rgba(255,255,255,.7); }
.wa-msg { max-width: 85%; padding: .55rem .8rem; border-radius: 10px; font-size: .78rem; line-height: 1.5; position: relative; }
.wa-msg.guest { background: #fff; align-self: flex-start; border-radius: 0 10px 10px 10px; color: #333; }
.wa-msg.bot { background: #DCF8C6; align-self: flex-end; border-radius: 10px 10px 0 10px; color: #333; }
.wa-time { font-size: .58rem; color: rgba(0,0,0,.4); text-align: right; margin-top: .2rem; }
.wa-typing { display: flex; align-items: center; gap: .3rem; padding: .4rem .8rem; background: #fff; border-radius: 0 10px 10px 10px; align-self: flex-start; width: 48px; }
.wa-dot { width: 7px; height: 7px; border-radius: 50%; background: #aaa; animation: waBounce 1.2s infinite; }
.wa-dot:nth-child(2) { animation-delay: .2s; }
.wa-dot:nth-child(3) { animation-delay: .4s; }
@keyframes waBounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }

/* FAQ section */
.faq-section { background: var(--navy-mid); padding: 5rem 3rem; }

/* Pricing section */
.pricing { background: var(--navy); }

/* Testimonials section */
.testimonials { background: var(--navy-mid); }

/* Light mode specific */
[data-theme="light"] .how { background: #f8fbfe !important; }
[data-theme="light"] .features { background: #f8fbfe !important; }
[data-theme="light"] .pricing { background: #f8fbfe !important; }
[data-theme="light"] .faq-section { background: #f8fbfe !important; }
[data-theme="light"] .video-section { background: var(--bg) !important; }
[data-theme="light"] .profils-section { background: #f8fbfe !important; }
[data-theme="light"] .ia-section { background: var(--bg) !important; }
[data-theme="light"] .testimonials { background: var(--bg) !important; }
[data-theme="light"] .chip { background: rgba(7,38,56,.06) !important; border-color: rgba(7,38,56,.1) !important; color: #2d4a63 !important; }
[data-theme="light"] .mockup-desktop { background: #ffffff !important; border-color: rgba(7,38,56,.12) !important; }
[data-theme="light"] .mockup-bar { background: #f0f4f8 !important; }
[data-theme="light"] .mockup-screen { background: linear-gradient(135deg,#e2eaf2,#dde8f0) !important; }

/* Responsive */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding: 5rem 1.5rem 3rem; }
  .hero-visual { display: none; }
  .ia-inner { grid-template-columns: 1fr; }
  .video-section, .profils-section, .ia-section, .faq-section { padding: 4rem 1.5rem; }
}
