/* ElixorIPTV — Thème Bleu Marine & Blanc (SEO Multi-Pages) */
:root {
  --navy-950: #07142b;
  --navy-900: #0b1d3a;
  --navy-800: #122b54;
  --navy-700: #1b3b70;
  --blue-600: #1d4ed8;
  --blue-500: #2563eb;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --white: #ffffff;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --whatsapp: #16a34a;
  --whatsapp-dark: #15803d;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11, 29, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 29, 58, 0.09);
  --shadow-lg: 0 20px 50px rgba(11, 29, 58, 0.14);
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.7;
}

body {
  background-color: var(--white);
  color: var(--slate-900);
  overflow-x: hidden;
}

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--navy-900); color: var(--white);
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-weight: 600; z-index: 9999; text-decoration: none;
}
.skip-link:focus { top: 16px; }

a { color: inherit; }

.inline-link {
  color: var(--blue-600);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(29, 78, 216, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.inline-link:hover {
  color: var(--navy-900);
  text-decoration-color: var(--navy-900);
}

.brand-inline {
  color: var(--navy-900);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--blue-500);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}
.brand-inline:hover {
  color: var(--blue-600);
  border-bottom-color: var(--navy-900);
}

.on-dark .brand-inline,
.on-dark .inline-link {
  color: #93c5fd;
  border-bottom-color: #60a5fa;
  text-decoration-color: rgba(147, 197, 253, 0.5);
}
.on-dark .brand-inline:hover,
.on-dark .inline-link:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section-alt { background-color: var(--slate-50); }
.section-navy {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--white);
}

.section-header { max-width: 780px; margin: 0 auto 48px; text-align: center; }
.section-eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--blue-600); background: var(--blue-50);
  border: 1px solid var(--blue-100); padding: 6px 14px;
  border-radius: 999px; margin-bottom: 14px;
}
.section-navy .section-eyebrow,
.page-banner .section-eyebrow {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  color: #bfdbfe;
}
.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800; color: var(--navy-900);
  line-height: 1.2; margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-navy .section-header h2 { color: var(--white); }
.section-header p { font-size: 1.04rem; color: var(--slate-600); }
.section-navy .section-header p { color: #cbd5e1; }

/* Header */
header {
  position: sticky; top: 0; z-index: 1000;
  height: var(--header-height);
  background: rgba(11, 29, 58, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(7, 20, 43, 0.18);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), #60a5fa);
  display: grid; place-items: center; color: var(--white);
  font-weight: 800; font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.logo span.accent { color: #60a5fa; }

.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  display: inline-block; padding: 10px 16px; border-radius: var(--radius-sm);
  color: #e2e8f0; text-decoration: none; font-size: 0.95rem; font-weight: 600;
  transition: all 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255, 255, 255, 0.14); }
.nav-links a.nav-cta { background: var(--white); color: var(--navy-900); margin-left: 6px; }
.nav-links a.nav-cta:hover, .nav-links a.nav-cta.active { background: #dbeafe; color: var(--navy-950); }

.mobile-toggle {
  display: none; background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2); color: var(--white);
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  cursor: pointer; align-items: center; justify-content: center; font-size: 1.4rem;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 10px; font-weight: 700; font-size: 0.98rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: all 0.2s ease; font-family: inherit;
}
.btn-primary { background: var(--navy-900); color: var(--white); box-shadow: 0 8px 20px rgba(11, 29, 58, 0.2); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--navy-900); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.btn-white:hover { background: var(--blue-50); transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.35); }
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--white); }
.btn-outline-navy { background: var(--white); color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); transform: translateY(-2px); }

/* Hero */
.hero {
  background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.28), transparent 50%),
              linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white); padding: 92px 0 84px;
}
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #dbeafe; padding: 7px 16px; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 16px; }
.hero-subtitle { font-size: 1.18rem; font-weight: 700; color: #93c5fd; margin-bottom: 12px; }
.hero p { font-size: 1.06rem; color: #e2e8f0; margin-bottom: 28px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-card {
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg); padding: 28px; backdrop-filter: blur(10px);
}
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-box {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md); padding: 20px 14px; text-align: center;
}
.stat-box strong { display: block; font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.stat-box span { font-size: 0.85rem; color: #bfdbfe; font-weight: 500; }

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-100); }
.card-clickable { text-decoration: none; display: flex; flex-direction: column; cursor: pointer; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue-50); color: var(--navy-900);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 800;
  margin-bottom: 16px; border: 1px solid var(--blue-100);
}
.card h3 { font-size: 1.12rem; font-weight: 700; color: var(--navy-900); margin-bottom: 10px; line-height: 1.32; }
.card p { font-size: 0.95rem; color: var(--slate-600); }
.card-link-hint { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; font-size: 0.88rem; font-weight: 700; color: var(--blue-600); }

/* Feature Split */
.feature-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.check-list { list-style: none; display: grid; gap: 14px; margin-top: 20px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; font-weight: 500; }
.check-dot {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--blue-600); color: var(--white); display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 800; margin-top: 2px;
}
.section-navy .check-dot { background: var(--white); color: var(--navy-900); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.pricing-card {
  background: var(--white); border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 32px 24px;
  display: flex; flex-direction: column; position: relative;
  box-shadow: var(--shadow-sm); transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.popular {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white); border-color: var(--navy-900);
  box-shadow: var(--shadow-lg); transform: scale(1.03); z-index: 2;
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-6px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--blue-500); color: var(--white); font-size: 0.78rem; font-weight: 800;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.plan-name { font-size: 1.24rem; font-weight: 800; color: var(--navy-900); margin-bottom: 10px; }
.pricing-card.popular .plan-name { color: var(--white); }
.plan-price { font-size: 2.7rem; font-weight: 800; color: var(--navy-900); line-height: 1.1; letter-spacing: -0.03em; }
.pricing-card.popular .plan-price { color: var(--white); }
.plan-meta { font-size: 0.92rem; color: var(--slate-500); font-weight: 600; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--slate-200); }
.pricing-card.popular .plan-meta { color: #bfdbfe; border-bottom-color: rgba(255, 255, 255, 0.16); }
.plan-features { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; flex-grow: 1; }
.plan-features li { font-size: 0.92rem; display: flex; align-items: center; gap: 10px; color: var(--slate-700); }
.pricing-card.popular .plan-features li { color: #e2e8f0; }
.plan-features li::before { content: "✓"; font-weight: 800; color: var(--blue-600); }
.pricing-card.popular .plan-features li::before { color: #60a5fa; }

.step-badge { display: inline-block; font-size: 0.78rem; font-weight: 800; color: var(--white); background: var(--navy-900); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

/* Reviews & CTA */
.stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 12px; }
.review-quote { font-size: 0.97rem; color: var(--slate-700); font-style: italic; margin-bottom: 16px; }
.review-author { font-weight: 800; color: var(--navy-900); font-size: 0.95rem; }
.review-meta { font-size: 0.84rem; color: var(--slate-500); }

.cta-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  color: var(--white); border-radius: var(--radius-lg); padding: 52px 38px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.cta-banner h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 14px; color: var(--white); }
.cta-banner p { max-width: 660px; margin: 0 auto 26px; color: #dbeafe; font-size: 1.03rem; }

/* Accordion */
.accordion-list { max-width: 900px; margin: 0 auto; display: grid; gap: 14px; }
.accordion-item { background: var(--white); border: 1.5px solid var(--slate-200); border-radius: var(--radius-md); overflow: hidden; }
.accordion-item.open { border-color: var(--navy-900); box-shadow: var(--shadow-sm); }
.accordion-btn {
  width: 100%; background: none; border: none; padding: 19px 22px; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer; font-family: inherit; font-size: 1.03rem; font-weight: 700; color: var(--navy-900);
}
.accordion-icon {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-50); color: var(--navy-900); display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 700; transition: transform 0.25s ease, background 0.25s ease;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); background: var(--navy-900); color: var(--white); }
.accordion-body { display: none; padding: 16px 22px 20px; color: var(--slate-600); font-size: 0.96rem; border-top: 1px solid var(--slate-100); }
.accordion-item.open .accordion-body { display: block; }
.accordion-body ul, .accordion-body ol { margin: 10px 0 10px 22px; display: grid; gap: 6px; }

/* Page Banner & Breadcrumbs */
.page-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--white); padding: 62px 0 52px;
}
.page-banner h1 { font-size: clamp(1.85rem, 3.6vw, 2.75rem); font-weight: 800; line-height: 1.18; margin-bottom: 14px; }
.page-banner p { font-size: 1.06rem; color: #dbeafe; max-width: 780px; }

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 0.88rem; color: #93c5fd; margin-bottom: 18px;
}
.breadcrumb a { color: #bfdbfe; text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb span.sep { color: #64748b; }

.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 18px; font-size: 0.92rem; color: #cbd5e1;
}
.article-meta .meta-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 5px 13px; border-radius: 999px; font-weight: 600; color: var(--white);
}

.quick-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pill-link {
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white); padding: 8px 15px; border-radius: 999px; font-size: 0.88rem;
  font-weight: 600; text-decoration: none; transition: all 0.2s; cursor: pointer;
}
.pill-link:hover { background: var(--white); color: var(--navy-900); }

/* Guide & Article Content */
.guide-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 30px; margin-bottom: 24px;
  box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-height) + 20px);
}
.guide-card h2 { font-size: 1.38rem; font-weight: 800; color: var(--navy-900); margin-bottom: 10px; }
.guide-intro { color: var(--slate-600); margin-bottom: 18px; }

.step-list { list-style: none; counter-reset: step-counter; display: grid; gap: 12px; margin: 16px 0; }
.step-list li {
  counter-increment: step-counter; display: flex; gap: 14px; align-items: flex-start;
  background: var(--slate-50); border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm); padding: 14px 16px; color: var(--slate-700);
}
.step-list li::before {
  content: counter(step-counter); flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--navy-900); color: var(--white);
  display: grid; place-items: center; font-weight: 800; font-size: 0.86rem;
}

.tip-box {
  background: var(--blue-50); border-left: 4px solid var(--navy-900);
  padding: 16px 20px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.96rem; color: var(--navy-900); margin: 20px 0;
}

.summary-box {
  background: var(--blue-50); border: 1.5px solid var(--blue-100);
  border-left: 5px solid var(--navy-900); border-radius: var(--radius-md);
  padding: 22px 24px; margin-bottom: 32px; color: var(--slate-800);
}
.summary-box strong { color: var(--navy-900); }

.article-body h2 {
  font-size: 1.5rem; font-weight: 800; color: var(--navy-900);
  margin: 38px 0 14px; line-height: 1.28; letter-spacing: -0.015em;
  padding-bottom: 8px; border-bottom: 2px solid var(--slate-100);
}
.article-body p { margin-bottom: 16px; color: var(--slate-700); font-size: 1.02rem; }
.article-body ul.article-ul { margin: 14px 0 20px 22px; display: grid; gap: 9px; color: var(--slate-700); }
.article-body pre.code-block {
  background: var(--navy-950); color: #e2e8f0; padding: 18px 20px;
  border-radius: var(--radius-sm); overflow-x: auto; font-size: 0.88rem;
  line-height: 1.55; margin: 18px 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Tables */
.table-wrap { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--slate-200); background: var(--white); margin: 20px 0 24px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { background: var(--navy-900); color: var(--white); padding: 14px 18px; font-size: 0.9rem; font-weight: 700; }
td { padding: 13px 18px; border-bottom: 1px solid var(--slate-200); font-size: 0.94rem; color: var(--slate-700); vertical-align: top; }
tr:nth-child(even) td { background: var(--slate-50); }
tr:last-child td { border-bottom: none; }

/* Blog Index Filters & Cards */
.blog-controls {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  align-items: center; margin-bottom: 34px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  background: var(--white); border: 1.5px solid var(--slate-200); color: var(--navy-900);
  padding: 8px 16px; border-radius: 999px; font-family: inherit; font-size: 0.88rem;
  font-weight: 700; cursor: pointer; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.blog-search {
  padding: 10px 16px; border: 1.5px solid var(--slate-300); border-radius: 10px;
  font-family: inherit; font-size: 0.94rem; min-width: 260px; color: var(--slate-900);
}
.blog-search:focus { outline: none; border-color: var(--navy-900); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--white); border: 1px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 26px; display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm); text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--blue-500); }
.blog-tag {
  display: inline-block; align-self: flex-start; background: var(--blue-50);
  color: var(--navy-900); font-size: 0.76rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; margin-bottom: 12px;
}
.blog-card h2 { font-size: 1.16rem; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; line-height: 1.32; }
.blog-card-meta { font-size: 0.82rem; color: var(--slate-500); font-weight: 600; margin-bottom: 12px; }
.blog-card p { color: var(--slate-600); font-size: 0.93rem; margin-bottom: 16px; flex-grow: 1; }
.blog-read-more { font-size: 0.9rem; font-weight: 700; color: var(--blue-600); display: inline-flex; align-items: center; gap: 6px; }

/* Related Articles (5 at end of every article) */
.related-section {
  margin-top: 56px; padding-top: 44px; border-top: 2px solid var(--slate-200);
}
.related-section h2 { font-size: 1.6rem; font-weight: 800; color: var(--navy-900); margin-bottom: 24px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.related-card {
  background: var(--slate-50); border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 20px; text-decoration: none;
  display: flex; flex-direction: column; transition: all 0.2s ease;
}
.related-card:hover { background: var(--white); border-color: var(--navy-900); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related-card .rel-cat { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; color: var(--blue-600); margin-bottom: 6px; }
.related-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy-900); line-height: 1.35; margin-bottom: 8px; }
.related-card span.rel-link { margin-top: auto; font-size: 0.85rem; font-weight: 700; color: var(--blue-600); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: start; }
.contact-channel {
  background: var(--white); border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-md); padding: 26px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.contact-channel h3 { font-size: 1.18rem; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; }
.contact-channel p { color: var(--slate-600); font-size: 0.95rem; margin-bottom: 14px; }
.contact-value {
  display: inline-block; font-weight: 700; color: var(--navy-900);
  background: var(--slate-100); padding: 6px 12px; border-radius: 6px;
  margin-bottom: 16px; font-size: 0.95rem;
}
.contact-form-card {
  background: var(--white); border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md);
}
.contact-form-card h2 { font-size: 1.5rem; font-weight: 800; color: var(--navy-900); margin-bottom: 8px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 700; color: var(--navy-900); margin-bottom: 6px; }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--slate-300);
  border-radius: var(--radius-sm); font-family: inherit; font-size: 0.96rem; color: var(--slate-900);
}
.form-control:focus { outline: none; border-color: var(--navy-900); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Footer */
footer { background: var(--navy-950); color: #cbd5e1; padding: 60px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 38px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-desc { margin-top: 14px; font-size: 0.93rem; color: #94a3b8; max-width: 340px; }
.footer-col h4 { color: var(--white); font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #cbd5e1; text-decoration: none; font-size: 0.92rem; transition: color 0.2s; cursor: pointer; }
.footer-col a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.88rem; color: #94a3b8; }

/* Modal */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(7, 20, 43, 0.72); z-index: 2000; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--radius-lg); max-width: 640px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 32px; box-shadow: var(--shadow-lg); position: relative; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--slate-100); color: var(--navy-900); font-size: 1.25rem; font-weight: 700; cursor: pointer; }
.modal-box h3 { color: var(--navy-900); font-size: 1.38rem; margin-bottom: 14px; padding-right: 36px; }
.modal-box p { color: var(--slate-600); margin-bottom: 12px; font-size: 0.95rem; }

#tarifs, #faq { scroll-margin-top: calc(var(--header-height) + 12px); }

@media (max-width: 1024px) {
  .pricing-grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-6px); }
  .hero-grid, .feature-split, .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .mobile-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--navy-900); flex-direction: column; align-items: stretch;
    padding: 16px 24px 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a.nav-cta { margin-left: 0; text-align: center; }
  .grid-3, .grid-2, .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .pricing-grid, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 20px; }
  .guide-card, .contact-form-card { padding: 22px; }
}
