/* ══════════════════════════════════════════════════
   Canalius.com — Design DNA Stylesheet
   Clone of primeiptvcanada.com visual identity
   Colors: dark bg #111111, accent #046bd2, white text
   Font: Roboto, sans-serif
   ══════════════════════════════════════════════════ */

:root {
  --bg-body: #111111;
  --bg-nav: #0d0d0d;
  --bg-card: #1e293b;
  --bg-card-alt: #162033;
  --bg-section-alt: #0a0f1a;
  --bg-light: #fbfbfb;
  --accent: #046bd2;
  --accent-hover: #045cb4;
  --accent-light: rgba(4,107,210,0.12);
  --text-primary: #ffffff;
  --text-muted: #94a3b8;
  --text-dark: #111111;
  --text-dark-muted: #475569;
  --border: #334155;
  --border-light: #e2e8f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
  --max-width: 1140px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }

/* ── Container ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* ── Navigation ── */
.nav {
  background: var(--bg-nav);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 70px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(4,107,210,0.4); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }
.btn-white { background: #fff; color: var(--accent); }
.btn-white:hover { background: #f0f0f0; color: var(--accent-hover); }
.btn-sm { padding: 10px 24px; font-size: 0.9rem; }
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-block { display: block; width: 100%; }

/* ── Sections ── */
.section { padding: 80px 0; }
.section-dark { background: var(--bg-section-alt); }
.section-light { background: var(--bg-light); color: var(--text-dark); }
.section-light .text-muted { color: var(--text-dark-muted); }
.section-light h2, .section-light h3 { color: var(--text-dark); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header p { margin-top: 12px; color: var(--text-muted); max-width: 640px; margin-left: auto; margin-right: auto; }
.section-light .section-header p { color: var(--text-dark-muted); }

/* ── Hero ── */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-section-alt) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(4,107,210,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 { margin-bottom: 20px; position: relative; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 700px; margin: 0 auto 32px; position: relative; }
.hero .btn { position: relative; }
.hero-badges { display: flex; justify-content: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; position: relative; }
.hero-badge { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.9rem; }
.hero-badge svg { width: 20px; height: 20px; fill: var(--accent); }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Pricing Cards ── */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(4,107,210,0.2);
}
.pricing-card.featured::before {
  content: 'Populaire';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pricing-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text-muted); }
.pricing-price { font-size: 2.8rem; font-weight: 800; margin: 16px 0; }
.pricing-price .currency { font-size: 1.2rem; vertical-align: super; }
.pricing-price .period { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.pricing-features { text-align: left; margin: 24px 0 32px; }
.pricing-features li { padding: 8px 0; color: var(--text-muted); font-size: 0.9rem; display: flex; align-items: flex-start; gap: 10px; }
.pricing-features li::before { content: '\2713'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.pricing-card .btn { width: 100%; }

/* ── Stats ── */
.stats { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 48px 0; }
.stat { text-align: center; }
.stat-number { font-size: 2.4rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* ── Steps ── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: center; padding: 32px; }
.step-num {
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-card-alt); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--accent); transition: transform var(--transition); }
.faq-item.active .faq-question::after { content: '\2212'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 500px; padding: 0 24px 20px; }

/* ── Forms ── */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 0.95rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select option { background: var(--bg-card); color: var(--text-primary); }
.section-light .form-group input,
.section-light .form-group select,
.section-light .form-group textarea {
  background: #fff;
  border-color: var(--border-light);
  color: var(--text-dark);
}
.honeypot { position: absolute; left: -9999px; }
.form-message { padding: 12px 16px; border-radius: var(--radius-sm); margin-top: 16px; font-size: 0.9rem; }
.form-message--success { background: rgba(16,185,129,0.15); color: #10b981; }
.form-message--error { background: rgba(239,68,68,0.15); color: #ef4444; }
.form-trust { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; }
.form-trust svg { width: 16px; height: 16px; fill: var(--accent); flex-shrink: 0; }

/* ── Guarantee ── */
.guarantee {
  background: linear-gradient(135deg, rgba(4,107,210,0.1) 0%, rgba(4,107,210,0.05) 100%);
  border: 1px solid rgba(4,107,210,0.3);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.guarantee h3 { margin-bottom: 12px; }
.guarantee p { color: var(--text-muted); }

/* ── Benefits list ── */
.benefits-list { max-width: 600px; }
.benefits-list li { padding: 10px 0; font-size: 1rem; display: flex; align-items: center; gap: 12px; }
.benefits-list li::before { content: '\2713'; color: var(--accent); font-weight: 700; font-size: 1.1rem; }

/* ── Content pages ── */
.page-header { padding: 60px 0 40px; text-align: center; background: var(--bg-section-alt); border-bottom: 1px solid var(--border); }
.page-header h1 { margin-bottom: 12px; }
.page-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }
.content-section { padding: 60px 0; }
.content-section h2 { margin: 32px 0 16px; }
.content-section h3 { margin: 24px 0 12px; }
.content-section p { margin-bottom: 16px; color: var(--text-muted); }
.content-section ul, .content-section ol { margin: 16px 0; padding-left: 20px; }
.content-section li { padding: 6px 0; color: var(--text-muted); }
.content-section ol { list-style: decimal; }
.content-section ul { list-style: disc; }
.content-section strong { color: var(--text-primary); }
.content-section table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.content-section th, .content-section td { padding: 12px 16px; border: 1px solid var(--border); text-align: left; }
.content-section th { background: var(--bg-card); font-weight: 600; }
.content-section td { color: var(--text-muted); }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; gap: 8px; align-items: center; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 24px; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* ── Channels Grid ── */
.channel-category { margin-bottom: 32px; }
.channel-category h3 { margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.channel-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.channel-tag { background: var(--bg-card); border: 1px solid var(--border); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; color: var(--text-muted); }

/* ── Trial Form (index) ── */
.trial-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 500px;
  margin: 0 auto;
}
.trial-form-wrapper h3 { text-align: center; margin-bottom: 8px; }
.trial-form-wrapper .form-subtitle { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; }

/* ── Device icons ── */
.devices-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; padding: 24px 0; }
.device-item { text-align: center; min-width: 100px; }
.device-icon { font-size: 2.5rem; margin-bottom: 8px; }
.device-item span { display: block; font-size: 0.85rem; color: var(--text-muted); }

/* ── Footer ── */
.footer { background: var(--bg-nav); border-top: 1px solid var(--border); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 40px; }
.footer-col h4 { margin-bottom: 16px; font-size: 1rem; }
.footer-col p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.footer-address { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; margin-top: 8px; }

/* ── Reviews ── */
.review-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 8px; }

/* ── Image sections ── */
.content-image { border-radius: var(--radius); margin: 24px 0; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg-nav); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); z-index: 999; }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 48px; }
  .section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { gap: 24px; }
  .pricing-card { padding: 32px 24px; }
  .trial-form-wrapper { padding: 24px; }
}
