/* =============================================
   QUEBECAICO, DESIGN SYSTEM
   ============================================= */
:root {
  --navy:        #0f172a;
  --navy2:       #1e293b;
  --blue:        #2563eb;
  --blue-light:  #3b82f6;
  --green:       #10b981;
  --gold:        #f59e0b;
  --white:       #f8fafc;
  --gray:        #64748b;
  --gray-light:  #e2e8f0;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --transition:  all 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #fff;
  color: var(--navy);
  line-height: 1.6;
  font-size: 16px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---- LAYOUT ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 80px 0; }
.section-alt { background: #f8fafc; padding: 80px 0; }
.section-dark{ background: var(--navy); color: var(--white); padding: 80px 0; }

.section-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
.section-dark .section-label { color: var(--green); }
.section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 800;
  line-height: 1.15; margin-bottom: 16px;
}
.section-subtitle {
  font-size: 18px; color: var(--gray);
  max-width: 580px; margin-bottom: 48px; line-height: 1.7;
}
.section-dark .section-subtitle { color: #94a3b8; }
.section-cta { text-align: center; margin-top: 48px; }
.text-accent { color: var(--blue-light); }

/* ---- GRID ---- */
.grid   { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 8px; font-weight: 700;
  font-size: 15px; cursor: pointer; border: none;
  transition: var(--transition); white-space: nowrap; gap: 8px;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,0.3); }
.btn-green   { background: var(--green); color: #fff; }
.btn-green:hover { background: #059669; transform: translateY(-1px); }
.btn-ghost   { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn-ghost-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 17px; border-radius: 10px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-disabled { background: var(--gray-light); color: var(--gray); cursor: not-allowed; pointer-events: none; }

/* ---- NAV ---- */
.nav-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-light);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 68px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 19px; color: var(--navy);
}
.logo-icon { font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-weight: 500; color: var(--navy); font-size: 15px; transition: var(--transition); }
.nav-links a:hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }
.nav-mobile {
  display: none; flex-direction: column; gap: 0;
  padding: 8px 24px 16px; border-top: 1px solid var(--gray-light);
}
.nav-mobile a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--gray-light); }
.nav-mobile.open { display: flex; }

/* ---- HERO ---- */
.hero {
  background: var(--navy);
  background-image: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
  padding: 96px 0 80px; color: var(--white); position: relative; overflow: hidden;
}
.hero::after { content: none; }
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.35);
  color: var(--green); font-size: 13px; font-weight: 700;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px; letter-spacing: 0.04em;
}
.hero-title {
  font-size: clamp(38px, 5.5vw, 64px); font-weight: 900;
  line-height: 1.1; margin-bottom: 24px; max-width: 800px;
}
.hero-subtitle {
  font-size: 20px; color: #cbd5e1; max-width: 580px;
  margin-bottom: 40px; line-height: 1.65;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08);
}
.stat-number { display: block; font-size: 38px; font-weight: 900; color: var(--blue-light); line-height: 1; }
.stat-label  { font-size: 14px; color: #94a3b8; margin-top: 4px; }

/* ---- METRICS ---- */
.metric-card {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 160px;
}
.metric-number {
  display: block;
  color: var(--gold);
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 14px;
}
.metric-card p {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--navy2); padding: 14px 0; }
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 36px; flex-wrap: wrap; font-size: 13px; font-weight: 600; color: #94a3b8;
}

/* ---- CARDS ---- */
.card {
  background: #fff; border: 1px solid var(--gray-light);
  border-radius: var(--radius); padding: 32px;
  transition: var(--transition); position: relative;
}
.card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(37,99,235,0.1);
  transform: translateY(-4px);
}
.card-icon { font-size: 36px; margin-bottom: 16px; }
.card-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  margin: 4px 0 20px;
  border: 1px solid var(--gray-light);
}
.card h3   { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.card p    { font-size: 15px; color: var(--gray); line-height: 1.65; }
.card-badge {
  position: absolute; top: -12px; left: 24px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 100px; background: var(--green); color: #fff;
}
.badge-blue { background: var(--blue); }
.badge-gray { background: var(--gray); }
.card-price { font-size: 30px; font-weight: 900; color: var(--navy); margin: 20px 0 16px; }
.card-price span { font-size: 15px; font-weight: 500; color: var(--gray); }
.card-hero { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.12), var(--shadow); }
.card-featured { border-color: var(--green); }
.card-coming { opacity: 0.7; }
.card-list { list-style: none; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.card-list li { font-size: 14px; color: var(--navy); padding-left: 22px; position: relative; line-height: 1.5; }
.card-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* ---- BLOG CARDS ---- */
.blog-card {
  background: #fff; border: 1px solid var(--gray-light);
  border-radius: var(--radius); padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: var(--transition);
}
.blog-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(37,99,235,0.1); }
.blog-tag  { font-size: 11px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: 0.1em; }
.blog-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.blog-card p  { font-size: 14px; color: var(--gray); flex: 1; line-height: 1.6; }
.blog-read    { font-size: 14px; font-weight: 700; color: var(--blue); margin-top: 4px; }

/* ---- RESOURCE HUB ---- */
.resource-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
  gap: 32px;
  align-items: stretch;
}
.resource-image {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
}
.resource-list {
  display: grid;
  gap: 16px;
}
.resource-card {
  display: block;
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}
.resource-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(37,99,235,0.1);
  transform: translateY(-2px);
}
.resource-kicker {
  display: block;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.resource-card strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
  margin-bottom: 8px;
}
.resource-card p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ---- ABOUT SECTION ---- */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text h2 { font-size: clamp(26px, 3.5vw, 38px); font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.about-text p  { font-size: 16px; color: #cbd5e1; margin-bottom: 14px; line-height: 1.7; }
.about-text strong { color: #fff; }
.about-text blockquote {
  border-left: 3px solid var(--blue); padding-left: 20px;
  font-style: italic; color: #94a3b8; margin: 24px 0 32px;
  font-size: 15px; line-height: 1.7;
}
.about-values { display: flex; flex-direction: column; gap: 24px; }
.value-item   { display: flex; align-items: flex-start; gap: 16px; }
.value-item span { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.value-item strong { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.value-item p { font-size: 14px; color: #94a3b8; margin: 0; line-height: 1.5; }

/* ---- FAQ ---- */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.faq-item { background: #fff; border: 1px solid var(--gray-light); border-radius: var(--radius); padding: 28px; }
.faq-item h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.4; }
.faq-item p  { font-size: 14px; color: var(--gray); line-height: 1.65; }
.faq-item a  { color: var(--blue); font-weight: 600; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-item span { font-size: 24px; }
.contact-item strong { display: block; font-weight: 700; margin-bottom: 4px; }
.contact-item a { color: var(--blue); font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--gray-light);
  border-radius: 8px; font-size: 15px; font-family: inherit;
  transition: var(--transition); background: #fff; color: var(--navy);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 12px; color: var(--gray); }
.form-note a { color: var(--blue); }

/* ---- PRODUCT PAGE ---- */
.product-hero { background: var(--navy); color: var(--white); padding: 64px 0; }
.product-hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.product-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.3);
  color: var(--green); font-size: 12px; font-weight: 700;
  padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
}
.product-title { font-size: clamp(28px, 4vw, 46px); font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.product-subtitle { font-size: 18px; color: #cbd5e1; line-height: 1.65; margin-bottom: 24px; }
.product-guarantee { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #94a3b8; margin-top: 12px; }

.checkout-box {
  background: #fff; border-radius: 16px; padding: 36px;
  color: var(--navy); box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.checkout-box .price { font-size: 42px; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.checkout-box .price-note { font-size: 13px; color: var(--gray); margin-bottom: 24px; }
.checkout-includes { list-style: none; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.checkout-includes li { font-size: 14px; color: var(--navy); padding-left: 24px; position: relative; font-weight: 500; }
.checkout-includes li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; font-size: 15px; }
.checkout-secure { font-size: 12px; color: var(--gray); text-align: center; margin-top: 12px; }

.chapters { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: chapter; }
.chapter  { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: #f8fafc; border-radius: 10px; border: 1px solid var(--gray-light); }
.chapter-num {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.chapter h4 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.chapter p  { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.5; }

/* ---- FOOTER ---- */
.footer { background: var(--navy); color: #94a3b8; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-top: 12px; max-width: 280px; }
.footer h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul li a { font-size: 14px; color: #94a3b8; transition: var(--transition); }
.footer ul li a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; }
.footer-tagline { font-size: 13px; color: #475569; font-style: italic; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .about-teaser       { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid       { grid-template-columns: 1fr; }
  .product-hero-inner { grid-template-columns: 1fr; }
  .resource-layout    { grid-template-columns: 1fr; }
  .resource-image     { min-height: 260px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links  { display: none; }
  .nav-toggle { display: block; }
  .hero-stats { gap: 28px; }
  .trust-inner{ gap: 16px; }
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
