/* ============================================
   FRANCE CANNABIS - Site Officiel
   Charte graphique : Bleu Marine / Rouge-Rose / Blanc
   ============================================ */

/* --- CSS Variables --- */
:root {
  --blue-dark: #1B2A4A;
  --blue-primary: #1B3A6B;
  --blue-medium: #2557A7;
  --blue-light: #3B82F6;
  --blue-pale: #EBF2FF;
  --red-primary: #E84C6A;
  --red-dark: #C73A55;
  --red-light: #FFF0F3;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-primary); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--blue-dark);
  line-height: 1.25;
  font-weight: 700;
}

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); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.1rem;
  max-width: 640px;
  margin: 0 auto 3rem;
}

/* --- Skip to content (a11y) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--blue-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 0; }

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--blue-dark);
}

.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: contain;
}

.logo img.logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: contain;
}

.logo .logo-text-france {
  color: var(--blue-primary);
  font-weight: 800;
}

.logo .logo-text-cannabis {
  color: var(--red-primary);
  font-weight: 800;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-primary);
  background: var(--blue-pale);
}

.nav-cta {
  background: var(--red-primary) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--red-dark) !important;
  color: var(--white) !important;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  margin: 6px 0;
  transition: all var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 50%, #1a3060 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 80%;
  height: 140%;
  background: radial-gradient(circle, rgba(232,76,106,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  color: rgba(255,255,255,0.9);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: var(--red-primary);
}

.hero-text {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-top: 0.35rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--red-primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,76,106,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}

.btn-blue {
  background: var(--blue-primary);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--blue-medium);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,58,107,0.35);
}

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.card-icon.blue { background: var(--blue-pale); color: var(--blue-primary); }
.card-icon.red { background: var(--red-light); color: var(--red-primary); }

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* --- Missions / Pillars Section --- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.pillar-card:hover {
  border-color: var(--blue-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.pillar-card h3 {
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: var(--gray-600);
  font-size: 0.925rem;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--blue-primary), var(--red-primary));
  transform: translateX(-50%);
  border-radius: 3px;
}

.timeline-year {
  text-align: center;
  position: relative;
  z-index: 2;
  margin: 2rem 0;
}

.timeline-year span {
  display: inline-block;
  background: var(--blue-primary);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.3rem;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 2.5rem 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
  padding-right: 3rem;
  padding-left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
  padding-left: 3rem;
  padding-right: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue-primary);
  z-index: 2;
}

.timeline-item:nth-child(odd)::before { right: -7px; }
.timeline-item:nth-child(even)::before { left: -7px; }

.timeline-item.red::before { border-color: var(--red-primary); }

.timeline-date {
  font-weight: 700;
  color: var(--blue-primary);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.timeline-item.red .timeline-date { color: var(--red-primary); }

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.timeline-item p {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  padding: 3.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-item-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* --- Lives Section --- */
.lives-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.lives-stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--blue-pale);
  border-radius: var(--radius-md);
}

.lives-stat-card .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.lives-stat-card .label {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* --- Benefits Section --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blue-primary);
}

.benefit-item:nth-child(even) {
  border-left-color: var(--red-primary);
}

/* --- Netflix-style Video Grid --- */
.netflix-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.netflix-filter {
  padding: 0.5rem 1.25rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  background: transparent;
  color: var(--gray-400);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.netflix-filter:hover {
  border-color: var(--white);
  color: var(--white);
}

.netflix-filter.active {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--white);
}

.netflix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.netflix-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-800);
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.netflix-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  z-index: 2;
}

.netflix-card.hidden {
  display: none;
}

.netflix-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.netflix-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  background: var(--gray-700);
}

/* Fallback for broken images */
.netflix-thumb img[alt]::after {
  content: '';
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gray-700);
}

.netflix-card:hover .netflix-thumb img {
  transform: scale(1.1);
}

.netflix-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(232,76,106,0.9);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.netflix-card:hover .netflix-play {
  opacity: 1;
}

.netflix-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: var(--blue-primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.netflix-info {
  padding: 0.85rem 1rem;
}

.netflix-info h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.netflix-info p {
  color: var(--gray-400);
  font-size: 0.75rem;
}

.benefit-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.benefit-content h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.benefit-content p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-primary), var(--red-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 700;
}

.team-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.team-card .role {
  color: var(--red-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-card p {
  color: var(--gray-600);
  font-size: 0.875rem;
}

/* --- Blog Cards --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--blue-pale), var(--red-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-date {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card h3 a {
  color: var(--blue-dark);
}
.blog-card h3 a:hover {
  color: var(--red-primary);
}

.blog-card p {
  color: var(--gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Pricing Card --- */
.pricing-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 3rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--blue-primary);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.pricing-price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1;
}

.pricing-price span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-500);
}

.pricing-alt {
  color: var(--gray-500);
  margin: 0.5rem 0 2rem;
}

.pricing-features {
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.pricing-features li::before {
  content: '\2713';
  color: var(--blue-primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Contact Form --- */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-800);
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(27,58,107,0.1);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* --- FAQ / Accordion --- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-body);
  transition: background var(--transition);
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--blue-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.active .faq-question::after {
  content: '\2212';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 0;
  position: relative;
}

.footer-tricolor {
  display: flex;
  height: 6px;
}

.footer-tricolor-blue {
  flex: 1;
  background: #002395;
}

.footer-tricolor-white {
  flex: 1;
  background: #FFFFFF;
}

.footer-tricolor-red {
  flex: 1;
  background: #ED2939;
}

.footer-content {
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--red-primary);
  color: var(--white);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.breadcrumbs a {
  color: var(--gray-500);
}
.breadcrumbs a:hover {
  color: var(--blue-primary);
}

.breadcrumbs span {
  margin: 0 0.5rem;
}

/* --- Page Header --- */
.page-header {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  color: rgba(255,255,255,0.8);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto;
}

/* --- Alert / Notice --- */
.notice {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
}

.notice-info {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue-primary);
  color: var(--blue-dark);
}

.notice-warning {
  background: #FFF8E1;
  border-left: 4px solid #F59E0B;
  color: #92400E;
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--red-primary);
  transform: translateY(-3px);
}

/* --- Responsive --- */

/* ---- Tablet (max-width: 1024px) ---- */
@media (max-width: 1024px) {
  .netflix-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 4rem 0; }

  /* Header */
  .header-inner { height: 64px; }
  .logo { font-size: 1.15rem; }
  .logo-icon,
  .logo img.logo-icon { width: 38px; height: 38px; }

  /* Nav */
  .nav-links a { padding: 0.5rem 0.7rem; font-size: 0.875rem; }

  /* Hero */
  .hero { min-height: 80vh; }
  .hero-text { font-size: 1.1rem; }
  .hero-stats { gap: 2rem; }
  .hero-stat-number { font-size: 1.9rem; }

  /* Grids */
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }

  /* Stats bar */
  .stat-item-number { font-size: 2.1rem; }

  /* Pricing */
  .pricing-card { padding: 2.5rem; }
  .pricing-price { font-size: 3rem; }

  /* Page header */
  .page-header { padding: 7rem 0 3rem; }
  .page-header p { font-size: 1.05rem; }

  /* Lives stats */
  .lives-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .lives-stat-card { padding: 1.5rem; }
  .lives-stat-card .number { font-size: 2rem; }
}

/* ---- Mobile Landscape (max-width: 768px) ---- */
@media (max-width: 768px) {
  .netflix-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .netflix-info { padding: 0.6rem 0.75rem; }
  .netflix-info h4 { font-size: 0.8rem; }
  .netflix-play { width: 40px; height: 40px; font-size: 1rem; }
  .section { padding: 3rem 0; }
  .container { padding: 0 1.25rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }

  /* Header compact */
  .header-inner { height: 60px; padding: 0 1rem; }
  .logo { font-size: 1.05rem; gap: 0.5rem; }
  .logo-icon,
  .logo img.logo-icon { width: 34px; height: 34px; }

  /* Mobile navigation — simple show/hide approach,
     avoids transform bugs with backdrop-filter containing block */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    max-height: calc(100vh - 60px);
    max-height: calc(100dvh - 60px);
    background: var(--white);
    flex-direction: column;
    padding: 1.25rem;
    gap: 0.25rem;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-top: 1px solid var(--gray-200);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 0.875rem 1.25rem;
    font-size: 1.05rem;
    width: 100%;
    text-align: left;
    border-radius: var(--radius-sm);
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-cta {
    margin-top: 0.75rem;
    justify-content: center !important;
    min-height: 48px !important;
    text-align: center !important;
  }
  .menu-toggle {
    display: block;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 6rem 0 3.5rem;
  }
  .hero-content { max-width: 100%; }
  .hero-badge { font-size: 0.8rem; padding: 0.35rem 0.85rem; margin-bottom: 1.25rem; }
  .hero h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); margin-bottom: 1.25rem; }
  .hero-text { font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; max-width: 100%; }
  .hero-buttons { flex-direction: column; gap: 0.75rem; }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 1rem;
  }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
  }
  .hero-stat { text-align: left; flex: 1 1 120px; }
  .hero-stat-number { font-size: 1.7rem; }
  .hero-stat-label { font-size: 0.8rem; }

  /* Buttons - touch targets */
  .btn {
    min-height: 48px;
    padding: 0.8rem 1.75rem;
    font-size: 0.95rem;
  }

  /* All grids to single column */
  .grid-2,
  .grid-3,
  .grid-4,
  .pillars-grid,
  .team-grid,
  .benefits-grid { grid-template-columns: 1fr; }

  /* Blog grid to single column */
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-img { height: 180px; }

  /* Lives stats - 1 col */
  .lives-stats { grid-template-columns: 1fr; gap: 1rem; }
  .lives-stat-card { padding: 1.5rem; }
  .lives-stat-card .number { font-size: 2rem; }

  /* Cards */
  .card { padding: 1.5rem; }
  .card:hover { transform: none; }
  .pillar-card { padding: 1.75rem 1.25rem; }
  .pillar-card:hover { transform: none; }
  .pillar-icon { width: 56px; height: 56px; font-size: 1.5rem; }

  /* Stats bar */
  .stats-bar { padding: 2.5rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .stat-item-number { font-size: 1.8rem; }
  .stat-item-label { font-size: 0.85rem; }

  /* Benefits */
  .benefit-item { padding: 1.25rem; }
  .benefit-icon { width: 42px; height: 42px; font-size: 1.1rem; }

  /* Team */
  .team-card { padding: 1.5rem 1.25rem; }
  .team-card:hover { transform: none; }
  .team-avatar { width: 68px; height: 68px; font-size: 1.5rem; }

  /* Timeline mobile */
  .timeline { padding: 1.5rem 0; }
  .timeline::before { left: 16px; }
  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left !important;
    padding-left: 2.75rem !important;
    padding-right: 0 !important;
  }
  .timeline-item::before {
    left: 10px !important;
    right: auto !important;
    width: 12px;
    height: 12px;
  }
  .timeline-year { text-align: left; padding-left: 0; }
  .timeline-year span { font-size: 1.1rem; padding: 0.4rem 1.2rem; }
  .timeline-item h4 { font-size: 0.95rem; }
  .timeline-item p { font-size: 0.85rem; }

  /* Pricing card */
  .pricing-card { padding: 2rem 1.5rem; max-width: 100%; }
  .pricing-price { font-size: 2.8rem; }
  .pricing-price span { font-size: 1rem; }
  .pricing-features li { font-size: 0.9rem; padding: 0.5rem 0; }

  /* Form elements full-width */
  .form-row { grid-template-columns: 1fr; }
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    min-height: 48px;
  }
  .faq-question { padding: 1rem 1.25rem; font-size: 0.95rem; }
  .faq-answer-inner { padding: 0 1.25rem 1rem; font-size: 0.9rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-content { padding: 3rem 0 0; }
  .footer-brand p { font-size: 0.875rem; }
  .footer h4 { margin-bottom: 1rem; }
  .social-links { margin-top: 1rem; }
  .social-link { width: 44px; height: 44px; }
  .footer-bottom { font-size: 0.8rem; padding: 1.25rem 0; }

  /* Page header */
  .page-header { padding: 6rem 0 2.5rem; }
  .page-header h1 { font-size: clamp(1.5rem, 5.5vw, 2rem); }
  .page-header p { font-size: 0.95rem; padding: 0 0.5rem; }

  /* CTA section */
  .cta-section { padding: 3rem 0; }
  .cta-section p { font-size: 1rem; margin-bottom: 1.5rem; }

  /* Back to top */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 1.25rem;
    right: 1.25rem;
    font-size: 1.1rem;
  }

  /* Breadcrumbs */
  .breadcrumbs { font-size: 0.8rem; padding: 0.75rem 0; }

  /* Notice */
  .notice { padding: 0.875rem 1.25rem; font-size: 0.875rem; }
}

/* ---- Mobile Portrait (max-width: 480px) ---- */
@media (max-width: 480px) {
  .netflix-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .netflix-info { padding: 0.5rem; }
  .netflix-info h4 { font-size: 0.75rem; }
  .netflix-info p { font-size: 0.65rem; }
  .netflix-filter { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
  html { font-size: 15px; }
  .section { padding: 2.5rem 0; }
  .container { padding: 0 1rem; }
  .section-subtitle { font-size: 0.925rem; margin-bottom: 1.75rem; }

  /* Header ultra-compact */
  .header-inner { height: 56px; padding: 0 0.75rem; }
  .logo { font-size: 0.95rem; gap: 0.4rem; }
  .logo-icon,
  .logo img.logo-icon { width: 30px; height: 30px; }

  /* Nav adjustments */
  .nav-links { max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); padding: 0.75rem; }
  .nav-links a { padding: 0.75rem 1rem; font-size: 1rem; }

  /* Hero tighter */
  .hero { padding: 5rem 0 2.5rem; }
  .hero-badge { font-size: 0.75rem; padding: 0.3rem 0.75rem; margin-bottom: 1rem; }
  .hero h1 { font-size: clamp(1.5rem, 7vw, 2rem); margin-bottom: 1rem; line-height: 1.3; }
  .hero-text { font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.5rem; }
  .hero-buttons .btn { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
  .hero-stats { gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; }
  .hero-stat { flex: 1 1 100px; }
  .hero-stat-number { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.75rem; }

  /* Stats bar */
  .stats-bar { padding: 2rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-item-number { font-size: 1.5rem; }
  .stat-item-label { font-size: 0.8rem; }

  /* Cards tighter */
  .card { padding: 1.25rem; }
  .card-icon { width: 48px; height: 48px; font-size: 1.25rem; margin-bottom: 1rem; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: 0.9rem; }

  /* Pillar cards */
  .pillar-card { padding: 1.5rem 1rem; }
  .pillar-icon { width: 48px; height: 48px; font-size: 1.35rem; margin-bottom: 1rem; }

  /* Benefits */
  .benefit-item { padding: 1rem; gap: 0.75rem; }
  .benefit-icon { width: 38px; height: 38px; font-size: 1rem; }
  .benefit-content h4 { font-size: 0.95rem; }
  .benefit-content p { font-size: 0.85rem; }

  /* Lives stats */
  .lives-stat-card { padding: 1.25rem; }
  .lives-stat-card .number { font-size: 1.75rem; }
  .lives-stat-card .label { font-size: 0.875rem; }

  /* Team cards */
  .team-card { padding: 1.25rem 1rem; }
  .team-avatar { width: 60px; height: 60px; font-size: 1.35rem; margin-bottom: 0.75rem; }
  .team-card h4 { font-size: 1rem; }
  .team-card .role { font-size: 0.8rem; }
  .team-card p { font-size: 0.85rem; }

  /* Blog cards */
  .blog-card-img { height: 160px; font-size: 2.5rem; }
  .blog-card-body { padding: 1.25rem; }
  .blog-card h3 { font-size: 1rem; }
  .blog-card p { font-size: 0.85rem; }

  /* Pricing */
  .pricing-card { padding: 1.5rem 1.25rem; border-radius: var(--radius-md); }
  .pricing-price { font-size: 2.4rem; }
  .pricing-price span { font-size: 0.9rem; }
  .pricing-alt { font-size: 0.9rem; margin: 0.5rem 0 1.5rem; }
  .pricing-features li { font-size: 0.875rem; gap: 0.5rem; }

  /* Timeline */
  .timeline::before { left: 12px; }
  .timeline-item { padding-left: 2.25rem !important; }
  .timeline-item::before { left: 6px !important; width: 12px; height: 12px; }
  .timeline-year span { font-size: 1rem; padding: 0.35rem 1rem; }

  /* Forms */
  .form-group label { font-size: 0.85rem; }
  .form-group input,
  .form-group textarea,
  .form-group select { padding: 0.85rem 0.9rem; font-size: 1rem; }
  .form-group textarea { min-height: 120px; }

  /* FAQ */
  .faq-question { padding: 0.9rem 1rem; font-size: 0.9rem; min-height: 48px; }
  .faq-question::after { font-size: 1.25rem; margin-left: 0.5rem; }
  .faq-answer-inner { padding: 0 1rem 1rem; font-size: 0.875rem; }

  /* Page header */
  .page-header { padding: 5rem 0 2rem; }
  .page-header h1 { font-size: clamp(1.35rem, 7vw, 1.75rem); line-height: 1.3; }
  .page-header p { font-size: 0.9rem; line-height: 1.6; }

  /* CTA */
  .cta-section { padding: 2.5rem 0; }
  .cta-section h2 { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .cta-section p { font-size: 0.925rem; }

  /* Footer */
  .footer-grid { gap: 1.5rem; }
  .footer-content { padding: 2.5rem 0 0; }
  .footer h4 { font-size: 0.875rem; margin-bottom: 0.75rem; }
  .footer-links a { font-size: 0.85rem; }
  .footer-brand p { font-size: 0.85rem; }
  .footer-bottom { padding: 1rem 0; font-size: 0.78rem; }

  /* Back to top smaller */
  .back-to-top {
    width: 36px;
    height: 36px;
    bottom: 1rem;
    right: 1rem;
    font-size: 1rem;
  }

  /* Buttons touch-friendly */
  .btn {
    min-height: 46px;
    padding: 0.75rem 1.5rem;
    font-size: 0.925rem;
  }

  /* Breadcrumbs */
  .breadcrumbs { font-size: 0.75rem; }
  .breadcrumbs span { margin: 0 0.35rem; }

  /* Notice */
  .notice { padding: 0.75rem 1rem; font-size: 0.85rem; }
}

/* --- Print --- */
@media print {
  .header, .footer, .back-to-top, .menu-toggle, .cta-section { display: none; }
  body { font-size: 12pt; }
  .hero { min-height: auto; padding: 2rem 0; background: none; }
  .hero h1, .hero-text { color: #000; }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: reduced motion users see everything immediately */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* No-JS fallback */
.no-js .animate-on-scroll {
  opacity: 1;
  transform: none;
}
