/* =========================================================
   main.css — Abonnement Smart IPTV — 2026
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --bg: #eef0f8;
  --bg-alt: #f4f5fa;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #7c3aed;
  --accent: #f59e0b;
  --white: #ffffff;
  --dark: #111827;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- Typography ---------- */
.h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 1rem; line-height: 1.15; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 1rem; text-align: center; }
.sub { color: var(--muted); margin: .5rem auto 2.5rem; text-align: center; max-width: 600px; }

/* ---------- Layout ---------- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 5rem 0; }
.section.alt { background: var(--bg-alt); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 2rem; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1rem; color: var(--text); text-decoration: none; }
.logo { width: 40px; border-radius: .4rem; }
.menu { display: flex; gap: 1.5rem; align-items: center; }
.menu a { text-decoration: none; color: var(--text); font-weight: 500; font-size: .95rem; transition: color .2s; }
.menu a:hover { color: var(--primary); }

.nav-cta {
  background: var(--dark) !important;
  color: var(--white) !important;
  padding: .5rem 1.3rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: .88rem !important;
  transition: background .2s, transform .2s !important;
  text-decoration: none;
}
.nav-cta:hover { background: var(--primary) !important; transform: scale(1.04); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: .3rem; background: none; border: none; cursor: pointer; }
.hamburger span { width: 25px; height: 3px; background: var(--text); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, #e4eafb 0%, #ede8ff 50%, #e8f2ff 100%);
  text-align: center;
  padding: 7rem 1rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Floating decorations */
.hero-deco { position: absolute; inset: 0; pointer-events: none; }
.deco { position: absolute; border-radius: 1.2rem; }

.deco--pink {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #f9a8d4, #f472b6);
  top: 22%; left: 6%;
  border-radius: 1.4rem;
  animation: floatY 4s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(236,72,153,.35);
  display: flex; align-items: center; justify-content: center;
}
.deco--pink::after { content: "▶"; color: white; font-size: 1.4rem; position: absolute; }

.deco--purple-sm {
  width: 20px; height: 20px;
  background: #c084fc;
  border-radius: 50%;
  top: 14%; right: 28%;
  animation: floatY 3s ease-in-out infinite .5s;
}

.deco--purple-lg {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  bottom: 22%; right: 6%;
  border-radius: 1.8rem;
  animation: floatY 5s ease-in-out infinite 1s;
  box-shadow: 0 8px 24px rgba(124,58,237,.35);
  display: flex; align-items: center; justify-content: center;
}
.deco--purple-lg::after { content: "📺"; font-size: 1.8rem; position: absolute; }

.deco--sport {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  border-radius: 50%;
  bottom: 18%; left: 8%;
  animation: floatY 4.5s ease-in-out infinite 2s;
  box-shadow: 0 8px 20px rgba(239,68,68,.3);
  display: flex; align-items: center; justify-content: center;
}
.deco--sport::after { content: "⚽"; font-size: 1.2rem; position: absolute; }

.deco--blue {
  width: 28px; height: 28px;
  background: #60a5fa;
  border-radius: 50%;
  top: 38%; right: 4%;
  animation: floatY 3.5s ease-in-out infinite 1.5s;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.badge-top {
  display: inline-block;
  background: linear-gradient(135deg, #fce7f3, #fdf2f8);
  color: #be185d;
  border: 1px solid #fbcfe8;
  padding: .4rem 1.1rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero__content { position: relative; z-index: 1; }
.hero__content .h1 { color: var(--dark); }
.lead { font-size: 1.1rem; color: var(--muted); margin-bottom: 1rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.clients { font-size: 1rem; margin-bottom: 2rem; color: var(--primary); font-weight: 700; }
.seo-intro { font-size: .92rem; color: var(--muted); max-width: 680px; margin: 0 auto 2rem; line-height: 1.75; }
.cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .78rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: all .25s;
  cursor: pointer;
  border: none;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.4); }
.btn--ghost {
  background: var(--white);
  border: 2px solid #d1d5db;
  color: var(--text);
}
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Trust Bar ---------- */
.trust-bar {
  background: var(--white);
  padding: 1.2rem 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.trust-bar .container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--text);
}
.trust-icon {
  width: 20px; height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ---------- Channel Ticker ---------- */
.channels-ticker {
  background: var(--white);
  padding: .8rem 0;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.ticker-wrap { display: flex; overflow: hidden; }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  animation: tickerScroll 38s linear infinite;
  will-change: transform;
}
.ticker-track--reverse {
  animation-name: tickerScrollReverse;
  animation-duration: 42s;
}
.channels-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--bg);
  padding: .3rem .85rem;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}
.ch-dot {
  width: 7px; height: 7px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.ch-dot--red { background: #ef4444; }
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tickerScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon { margin-bottom: 1rem; display: flex; justify-content: center; color: var(--primary); }
.card-icon { width: 44px; height: 44px; color: var(--primary); display: block; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .93rem; }


/* ---------- Steps ---------- */
.steps { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.step { flex: 1; min-width: 200px; text-align: center; }
.step__num {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  margin-bottom: .8rem;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 16px rgba(37,99,235,.3);
}
.step h3 { font-weight: 700; font-size: 1rem; }

/* ---------- Tarifs ---------- */
#tarifs { text-align: center; }
.tabs {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: .3rem;
  background: var(--white);
  padding: .4rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.tab-btn {
  background: transparent;
  border: none;
  padding: .55rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  font-size: .9rem;
  color: var(--muted);
  transition: all .2s;
}
.tab-btn.active { background: var(--primary); color: var(--white); }
.tab-content { display: none; }
.tab-content.active { display: block; }

.pricing { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(210px,1fr)); max-width: 1200px; margin: 0 auto; }
#plan1 .pricing { grid-template-columns: repeat(4, 1fr); }
.p-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .3s, box-shadow .3s;
  border: 2px solid transparent;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.p-name { font-weight: 600; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: .5rem; }
.p-price { font-size: 2.4rem; font-weight: 800; margin: .8rem 0; color: var(--dark); }
.p-feats { list-style: none; text-align: left; margin: 1rem 0 1.5rem; }
.p-feats li {
  padding: .4rem 0;
  color: var(--muted);
  font-size: .9rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  border-bottom: 1px solid #f3f4f6;
}
.p-feats li::before { content: "✓"; color: var(--primary); font-weight: 700; flex-shrink: 0; }
.p-card--recommended { border-color: var(--dark); background: var(--dark); color: var(--white); }
.p-card--recommended .p-name { color: #9ca3af; }
.p-card--recommended .p-price { color: var(--white); }
.p-card--recommended .p-feats li { color: #d1d5db; border-color: rgba(255,255,255,.1); }
.p-card--recommended .p-feats li::before { color: #60a5fa; }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  padding: .25rem .9rem;
  border-radius: 999px;
  font-size: .78rem; font-weight: 700;
  white-space: nowrap;
}

/* ---------- Stats ---------- */
.stat { text-align: center; }
.stat h3 { font-size: 2.2rem; font-weight: 800; margin-bottom: .5rem; }
.stat p { color: var(--muted); }

/* ---------- Comparatif ---------- */
.comparatif { width: 100%; border-collapse: collapse; margin-top: 2rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.comparatif th, .comparatif td { border: 1px solid #e5e7eb; padding: 1rem 1.2rem; text-align: center; }
.comparatif th { background: var(--dark); color: var(--white); font-weight: 700; }
.comparatif tr:nth-child(even) td { background: #f9fafb; }

/* ---------- Avis / Reviews Marquee ---------- */
.reviews-marquee {
  overflow-x: scroll;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  contain: layout style;
}
.reviews-marquee::-webkit-scrollbar { display: none; }
.reviews-marquee.is-dragging { cursor: grabbing; user-select: none; }
.reviews-inner {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  padding: .5rem 0;
}
.testi {
  flex-shrink: 0;
  width: 340px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
}
.testi-stars { color: #f59e0b; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: .08em; }
.testi blockquote {
  color: var(--text);
  font-size: .93rem;
  line-height: 1.72;
  flex-grow: 1;
  margin-bottom: 1.4rem;
}
.testi-author { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
  letter-spacing: .02em;
}
/* Avatar colors */
.av--blue   { background: linear-gradient(135deg,#2563eb,#1d4ed8); }
.av--pink   { background: linear-gradient(135deg,#ec4899,#db2777); }
.av--indigo { background: linear-gradient(135deg,#4f46e5,#4338ca); }
.av--red    { background: linear-gradient(135deg,#ef4444,#dc2626); }
.av--purple { background: linear-gradient(135deg,#8b5cf6,#7c3aed); }
.av--violet { background: linear-gradient(135deg,#a855f7,#9333ea); }
.av--teal   { background: linear-gradient(135deg,#14b8a6,#0d9488); }

.testi-info { display: flex; flex-direction: column; }
.testi-name { font-weight: 700; font-size: .92rem; }
.testi-verified { color: #16a34a; font-size: .78rem; margin-top: .1rem; }

/* ---------- Movie Slider ---------- */
.movies-section { background: var(--bg-alt); }
.movies-section .h2 { margin-bottom: 2rem; }
.movies-slider-wrap { position: relative; overflow: hidden; }
.movies-slider {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: .5rem .2rem 1rem;
}
.movies-slider::-webkit-scrollbar { display: none; }
.movie-card {
  flex-shrink: 0;
  width: 180px;
  border-radius: 1.1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform .3s;
  position: relative;
}
.movie-card:hover { transform: scale(1.05); }
.movie-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  display: block;
}
.movie-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  padding: 2rem .6rem .6rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---------- Garanties ---------- */
#garanties .card h3 { margin-bottom: .5rem; color: var(--primary); }

/* ---------- Revendeur teaser ---------- */
#revendeur-teaser { text-align: center; }
#revendeur-teaser p { margin: 1rem auto; color: var(--muted); max-width: 600px; }

/* ---------- SEO Block ---------- */
#seo-block p { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; }

/* ---------- FAQ ---------- */
.faq { margin-bottom: 1rem; border: 1px solid #e5e7eb; border-radius: var(--radius); padding: 1.2rem 1.5rem; background: var(--white); transition: box-shadow .2s; }
.faq:hover { box-shadow: var(--shadow); }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); font-weight: 300; }
.faq[open] summary::after { content: "−"; }
.faq p { margin-top: .8rem; color: var(--muted); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; }
.contact-list li { margin-bottom: .8rem; display: flex; align-items: center; gap: .6rem; }
.contact-list a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--white); color: var(--muted); padding: 2.5rem 0; text-align: center; border-top: 1px solid #e5e7eb; }
.footer .foot { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer nav { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.footer nav a { color: var(--muted); text-decoration: none; font-size: .88rem; transition: color .2s; }
.footer nav a:hover { color: var(--text); }
.footer p { font-size: .9rem; }

/* ---------- WhatsApp Floating ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px;
  background-color: #25d366;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 58%;
  width: 58px; height: 58px;
  border-radius: 50%;
  font-size: 0;
  box-shadow: 0 4px 20px rgba(37,211,102,.45), 0 2px 8px rgba(0,0,0,.15);
  z-index: 1000;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  display: block;
  position: fixed; bottom: 24px; right: 24px;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 28px rgba(37,211,102,.55), 0 4px 12px rgba(0,0,0,.18);
}

/* ---------- Sticky Bar ---------- */
.sticky-bar {
  display: flex;
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: var(--white); box-shadow: 0 -2px 20px rgba(0,0,0,.08);
  padding: .8rem 1.5rem;
  justify-content: space-between; align-items: center;
  z-index: 999;
}
.sticky-bar a { font-weight: 600; text-decoration: none; color: var(--text); }

/* ---------- Shimmer ---------- */
.shimmer {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  overflow: hidden;
}
.shimmer::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.45) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: shimmer-move 3s infinite;
  pointer-events: none;
}
@keyframes shimmer-move {
  0% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ---------- Popup Offre Spéciale ---------- */

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .nav-cta { display: none; }
  .menu {
    display: none; flex-direction: column; gap: 1rem;
    background: var(--white); padding: 1.2rem;
    position: absolute; top: 64px; right: 10px;
    box-shadow: var(--shadow-md); border-radius: var(--radius);
    min-width: 200px;
  }
  .menu.show { display: flex; }
  .hamburger { display: flex; }
  .hero { padding: 5rem 1rem 4rem; }
  .deco--pink { left: 2%; }
  .deco--purple-lg { right: 2%; }
  .trust-bar .container { gap: 1.5rem; }
}

@media (max-width: 480px) {
  html, body { font-size: 15px; overflow-x: hidden; }
  .hero { padding: 4rem 1rem; }
  .deco--pink { width: 50px; height: 50px; left: 2%; top: 18%; }
  .deco--pink::after { font-size: 1rem; }
  .deco--purple-lg { width: 60px; height: 60px; right: 2%; bottom: 12%; }
  .deco--purple-lg::after { font-size: 1.3rem; }
  .deco--purple-sm { width: 14px; height: 14px; }
  .deco--sport { width: 40px; height: 40px; left: 4%; }
  .deco--sport::after { font-size: .9rem; }
  .deco--blue { width: 18px; height: 18px; }
  .cta { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .grid-3 { grid-template-columns: 1fr; gap: 1.2rem; }
  .card { padding: 1.5rem; }
  .steps { flex-direction: column; }
  .comparatif { font-size: .85rem; }
  .comparatif th, .comparatif td { padding: .6rem; }
  .testi { width: 280px; }
  .reviews-inner { gap: 1rem; }
  .trust-bar .container { flex-direction: column; gap: .8rem; align-items: center; }
  .movie-card { width: 140px; }
  .movie-card img { height: 210px; }
  .sticky-bar { flex-direction: column; gap: .5rem; padding: 1rem; }
  .sticky-bar a { width: 100%; text-align: center; }
  .whatsapp-float { bottom: 85px; right: 15px; width: 48px; height: 48px; font-size: 1.3rem; }
.footer nav { flex-direction: column; gap: .5rem; }
  .tab-content.active {
    display: flex; flex-direction: column; align-items: center;
    overflow-y: auto; scroll-snap-type: y mandatory;
    max-height: 85vh; padding-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
  }
  .pricing,
  #plan1 .pricing { display: flex; flex-direction: column; align-items: center; gap: 1.3rem; grid-template-columns: unset; }
  .p-card { width: 95%; max-width: 380px; scroll-snap-align: center; scroll-snap-stop: always; }
  #tarifs .container { padding-left: 0; padding-right: 0; overflow-x: hidden; }
}

/* =========================================================
   Article Pages
   ========================================================= */

.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--muted);
  padding: 1.2rem 0 .5rem; flex-wrap: wrap;
}
.breadcrumb a { color: var(--primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

.art-page { padding: 2rem 0 4rem; }
.art-container { max-width: 820px; }

.art-header { margin-bottom: 2rem; }
.art-h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: .8rem; color: var(--dark);
}
.art-meta {
  display: flex; gap: .75rem; align-items: center;
  font-size: .85rem; color: var(--muted); margin-bottom: 1.5rem;
}

.art-img {
  width: 100%; border-radius: var(--radius-lg);
  aspect-ratio: 16/9; object-fit: cover;
  margin-bottom: 2rem; box-shadow: var(--shadow);
}

.snippet-box {
  background: #eff6ff; border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 1.25rem; margin-bottom: 2rem;
  font-size: .95rem; line-height: 1.6; color: var(--text);
}

.art-toc {
  background: var(--white); border: 1px solid #e5e7eb;
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem; box-shadow: var(--shadow);
}
.art-toc strong { display: block; font-size: 1rem; font-weight: 700; margin-bottom: .75rem; }
.art-toc ol { margin: 0; padding-left: 1.4rem; display: flex; flex-direction: column; gap: .4rem; }
.art-toc a { color: var(--primary); text-decoration: none; font-size: .92rem; }
.art-toc a:hover { text-decoration: underline; }

.art-body { line-height: 1.75; color: var(--text); }
.art-body h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 700;
  margin: 2.5rem 0 1rem; color: var(--dark); text-align: left;
  padding-top: 1rem; border-top: 1px solid #e5e7eb;
}
.art-body h3 { font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 .6rem; color: var(--dark); }
.art-body p { margin-bottom: 1.1rem; }
.art-body ul, .art-body ol { padding-left: 1.6rem; margin-bottom: 1.1rem; }
.art-body li { margin-bottom: .4rem; }
.art-body strong { font-weight: 700; color: var(--dark); }

.art-related {
  background: var(--bg-alt); border-radius: var(--radius-lg);
  padding: 1.5rem 2rem; margin-top: 3rem;
}
.art-related h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.art-related ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.art-related a { color: var(--primary); text-decoration: none; font-size: .95rem; }
.art-related a:hover { text-decoration: underline; }

.faq-art details {
  border: 1px solid #e5e7eb; border-radius: var(--radius);
  margin-bottom: .75rem; background: var(--white);
}
.faq-art summary { padding: 1rem 1.25rem; cursor: pointer; font-weight: 600; font-size: .97rem; }
.faq-art details p { padding: 0 1.25rem 1rem; margin: 0; color: var(--muted); }

@media (max-width: 768px) {
  .art-page { padding: 1.5rem 0 3rem; }
  .art-related { padding: 1.2rem; }
}

@media (min-width: 481px) and (max-width: 768px) {
  .h1 { font-size: 2.1rem; }
  .grid-3 { grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); }
  .pricing { grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); }
  .footer nav { flex-wrap: wrap; }
}

/* Fix badge position above hero title */
.hero .badge-top {
  display: block;
  width: fit-content;
  margin: 0 auto 1rem auto;
  text-align: center;
}

.hero .h1.shimmer,
.hero h1.shimmer {
  display: block;
  width: 100%;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.hero .lead,
.hero .seo-intro,
.hero .seo-intro--small {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Legal / info pages — simple page hero */
.page-hero {
  background: linear-gradient(135deg, #e4eafb 0%, #ede8ff 50%, #e8f2ff 100%);
  text-align: center;
  padding: 5rem 1rem 3.5rem;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 1.2rem;
}
.page-hero .lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}
.page-hero .seo-intro {
  font-size: .92rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.75;
}
@media (max-width: 768px) { .page-hero { padding: 3.5rem 1rem 2.5rem; } }