/* ===========================
   webcam-reunion.com
   Style: Tech minimaliste sombre
   Fonts: Syne + DM Sans
=========================== */

:root {
  --bg: #0a0c10;
  --bg2: #111318;
  --bg3: #181b22;
  --accent: #3b82f6;
  --accent2: #60a5fa;
  --text: #e8eaf0;
  --text-muted: #8892a4;
  --border: #232733;
  --card-bg: #13161d;
  --featured: #0f1829;
  --radius: 12px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--accent2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

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

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat strong {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent2);
}

.stat span {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== INTRO ===== */
.intro {
  padding: 48px 24px;
}

.intro-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.75;
}

/* ===== PRODUITS ===== */
.produits {
  padding: 40px 0 80px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  text-align: center;
}

.produit-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.produit-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.produit-card.featured {
  background: var(--featured);
  border-color: rgba(59, 130, 246, 0.35);
  grid-template-columns: 1fr 1fr;
}

.badge-coup-coeur {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  z-index: 2;
  letter-spacing: 0.03em;
}

.produit-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  height: 380px;
  overflow: hidden;
}

.produit-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-right: 1px solid var(--border);
}

.img-second {
  border-top: 1px solid var(--border) !important;
}

.produit-info {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.produit-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
}

.produit-info h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.produit-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.produit-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.produit-specs li {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.produit-specs li::first-letter { color: #22c55e; }

.btn-acheter {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  width: fit-content;
  margin-top: 8px;
  transition: background 0.2s, transform 0.15s;
}

.btn-acheter:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* ===== COMPARATIF ===== */
.comparatif {
  background: var(--bg2);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

thead tr {
  border-bottom: 2px solid var(--border);
}

th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding: 14px 16px;
  text-align: left;
}

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.highlight-row td {
  background: rgba(59, 130, 246, 0.06);
  color: var(--text);
}

tr:hover td { background: rgba(255,255,255,0.02); }

/* ===== GUIDE ===== */
.guide {
  padding: 80px 0;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.guide-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s;
}

.guide-card:hover { border-color: rgba(59, 130, 246, 0.3); }

.guide-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.guide-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.guide-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===== AVANTAGES ===== */
.avantages {
  padding: 80px 24px;
}

.av-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.av-col {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.av-col h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.av-col.pour h3 { color: #22c55e; }
.av-col.contre h3 { color: #f87171; }

.av-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.av-col li {
  font-size: 0.92rem;
  color: var(--text-muted);
  padding-left: 8px;
  border-left: 2px solid var(--border);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq {
  background: var(--bg2);
  padding: 80px 0;
  border-top: 1px solid var(--border);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

details {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

details[open] { border-color: rgba(59, 130, 246, 0.35); }

summary {
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.97rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--accent2);
  font-weight: 300;
  flex-shrink: 0;
}

details[open] summary::after { content: '−'; }

details p {
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 36px 0;
  text-align: center;
}

.footer p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.mention-legale {
  font-size: 0.78rem !important;
  color: #4a5568 !important;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

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

  .hero { padding: 70px 0 40px; }

  .hero-stats { gap: 28px; }

  .produit-card {
    grid-template-columns: 1fr;
  }

  .produit-images {
    height: 220px;
    grid-template-rows: 1fr;
  }

  .img-second { display: none; }

  .produit-images img { border-right: none !important; }

  .produit-info { padding: 24px; }

  .guide-grid { grid-template-columns: 1fr; }

  .av-grid { grid-template-columns: 1fr; }

  .hero-stats { flex-wrap: wrap; }
}
