/* =========================================================
   IPTV France Pro — main.css v2 2026
   Design premium inspiré référence
   ========================================================= */

/* ---------- Variables ---------- */
:root {
  --bg: #f2f4f9;
  --bg-alt: #eaecf4;
  --text: #1a1d2e;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --dark: #111827;
  --accent-pink: #f472b6;
  --green: #22c55e;
  --white: #ffffff;
  --radius: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 2px 14px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.11);
}

/* ---------- 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;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Typography ---------- */
.h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.sub { color: var(--muted); margin: .5rem 0 2.5rem; font-size: 1.05rem; }

/* ---------- Layout ---------- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 5rem 0; }
.section.alt { background: var(--bg-alt); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .9rem 0;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo { width: 38px; height: 38px; object-fit: contain; }
.menu {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}
.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: .92rem;
  transition: color .2s;
}
.menu a:hover { color: var(--primary); }
.nav-cta {
  background: var(--dark);
  color: var(--white) !important;
  padding: .6rem 1.3rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s, transform .2s;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-cta:hover { background: #2a2a3a; transform: scale(1.03); }

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

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(155deg, #e8edf8 0%, #f0f4ff 45%, #e6ebf5 100%);
  text-align: center;
  padding: 7rem 1rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

/* Floating decorators */
.hero__decor {
  position: absolute;
  border-radius: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  animation: floatBob 4s ease-in-out infinite;
  will-change: transform;
}
.hero__decor--play {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, #fb7185, #f43f5e);
  color: white;
  font-size: 1.4rem;
  border-radius: 1.1rem;
  top: 22%;
  left: 7%;
  animation-delay: 0s;
  box-shadow: 0 8px 24px rgba(244,63,94,0.35);
}
.hero__decor--sport {
  background: linear-gradient(135deg, #ec4899, #db2777);
  color: white;
  font-weight: 800;
  font-size: .82rem;
  padding: .5rem 1.1rem;
  border-radius: 2rem;
  bottom: 22%;
  left: 6%;
  animation-delay: 1.2s;
  box-shadow: 0 6px 18px rgba(219,39,119,0.3);
  letter-spacing: .05em;
}
.hero__decor--blob {
  width: 48px; height: 48px;
  background: radial-gradient(circle, rgba(167,139,250,0.75), rgba(139,92,246,0.35));
  border-radius: 50%;
  top: 13%;
  right: 28%;
  animation-delay: 0.6s;
}
.hero__decor--tv {
  width: 62px; height: 62px;
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: white;
  font-size: 1.4rem;
  border-radius: 1.1rem;
  top: 23%;
  right: 7%;
  animation-delay: 1.7s;
  box-shadow: 0 8px 24px rgba(124,58,237,0.35);
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.hero__content { position: relative; z-index: 1; }
.badge-top {
  display: inline-block;
  background: rgba(244,114,182,0.14);
  color: #be185d;
  border: 1px solid rgba(244,114,182,0.4);
  padding: .4rem 1.1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero .h1 { max-width: 820px; margin: 0 auto 1.5rem; }
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.clients { font-size: .98rem; margin-bottom: 2rem; color: var(--primary); font-weight: 600; }
.seo-intro {
  font-size: .93rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}
.cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 2.5rem;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  transition: all .25s ease;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(37,99,235,0.32);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37,99,235,0.42);
}
.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(30,41,59,0.28);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(37,99,235,0.06);
}
.btn--whatsapp {
  background: #25d366;
  color: white !important;
  box-shadow: 0 4px 18px rgba(37,211,102,0.35);
  text-decoration: none;
  display: inline-block;
}
.btn--whatsapp:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(37,211,102,0.45);
}

/* ---------- Trust Strip ---------- */
.trust-strip {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 1.3rem 0;
}
.trust-strip__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  white-space: nowrap;
}
.trust-icon { font-size: 1.1rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.card.card--dark {
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(17,24,39,0.25);
}
.card .icon {
  width: 54px; height: 54px;
  border-radius: .85rem;
  background: rgba(37,99,235,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1.2rem;
}
.card.card--dark .icon { background: rgba(255,255,255,0.12); }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; }
.card p { font-size: .92rem; color: var(--muted); line-height: 1.65; }
.card.card--dark p { color: rgba(255,255,255,0.65); }
.card.card--dark h3 { color: var(--white); }

/* ---------- Grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 1.5rem; }

/* ---------- Features section ---------- */
#features .h2, #why .h2 { text-align: center; }
#features .sub, #why .sub { text-align: center; }

/* 3 colonnes fixes pour "Pourquoi nous choisir" (6 cartes = 2 lignes × 3) */
@media (min-width: 769px) {
  #why .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 481px) and (max-width: 768px) {
  #why .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Channels Slider ---------- */
.channels-slider {
  background: var(--white);
  padding: 2.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.channels-slider__title {
  text-align: center;
  font-size: .82rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.5rem;
}
.channels-track-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.channels-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: scrollLeft 32s linear infinite;
}
.channels-track:hover { animation-play-state: paused; }
.channel-badge {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 2rem;
  padding: .48rem 1.1rem;
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
  color: var(--text);
  user-select: none;
}
.ch-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(34,197,94,0.25);
}
@keyframes scrollLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Movie Slider ---------- */
.movies-section { padding: 4.5rem 0; overflow: hidden; }
.movies-section .section-header { margin-bottom: 2rem; }
.movies-section .section-header h2 { font-size: 1.6rem; font-weight: 800; }
.movies-track-wrapper {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  cursor: grab;
}
.movies-track-wrapper:active { cursor: grabbing; }
.movies-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: scrollLeft 40s linear infinite;
  padding: .5rem 0 1rem;
}
.movies-track:hover { animation-play-state: paused; }
.movie-card {
  width: 156px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
  flex-shrink: 0;
  position: relative;
}
.movie-card:hover {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}
.movie-card img {
  width: 100%;
  height: 232px;
  object-fit: cover;
  display: block;
}
.movie-card__name {
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  text-align: center;
  padding: 1.5rem .5rem .5rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

/* ---------- Testimonials ---------- */
#avis { padding: 5rem 0; }
#avis .h2 { text-align: center; }
#avis .sub { text-align: center; }
.testis-wrapper {
  position: relative;
}
.testis {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scrollbar-width: none;
}
.testis::-webkit-scrollbar { display: none; }
.testi {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  flex: 0 0 310px;
  scroll-snap-align: start;
}
.testi .stars { color: #f59e0b; font-size: 1.05rem; margin-bottom: 1rem; letter-spacing: .05em; }
.testi blockquote {
  font-style: italic;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.3rem;
  font-size: .93rem;
}
.testi-author { display: flex; align-items: center; gap: .8rem; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  flex-shrink: 0;
}
.testi figcaption { font-weight: 700; font-size: .9rem; line-height: 1.3; }
.testi-verified { font-size: .78rem; color: var(--green); font-weight: 600; display: block; margin-top: .15rem; }

/* ---------- Tarifs ---------- */
#tarifs { text-align: center; }
.tabs {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 2.5rem;
  gap: .3rem;
  background: rgba(0,0,0,0.06);
  border-radius: 2rem;
  padding: .3rem;
}
.tab-btn {
  background: transparent;
  border: none;
  padding: .6rem 1.5rem;
  border-radius: 1.5rem;
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  transition: all .25s;
  color: var(--muted);
}
.tab-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

.pricing {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  max-width: 1060px;
  margin: 0 auto;
}
.p-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: left;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease;
  border: 1.5px solid rgba(0,0,0,0.04);
}
.p-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.p-card--recommended {
  background: var(--dark);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 10px 40px rgba(17,24,39,0.3);
}
.p-tier {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
  display: block;
}
.p-card--recommended .p-tier { color: rgba(255,255,255,0.5); }
.p-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  display: block;
  margin-bottom: .3rem;
}
.p-card--recommended .p-name { color: var(--white); }
.p-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--text);
  margin: .8rem 0 .2rem;
  display: block;
  letter-spacing: -0.02em;
}
.p-card--recommended .p-price { color: var(--white); }
.p-tagline {
  font-size: .88rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  display: block;
}
.p-card--recommended .p-tagline { color: rgba(255,255,255,0.55); }
.p-card .btn--primary {
  display: block;
  text-align: center;
  margin-bottom: .6rem;
  width: 100%;
}
.p-card--recommended .btn--primary {
  background: var(--white);
  color: var(--dark);
  box-shadow: none;
}
.p-card--recommended .btn--primary:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-1px);
}
.p-guarantee {
  font-size: .78rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.5rem;
  display: block;
}
.p-card--recommended .p-guarantee { color: rgba(255,255,255,0.4); }
.p-feats {
  list-style: none;
  color: var(--muted);
}
.p-feats li {
  padding: .55rem 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  font-size: .88rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  line-height: 1.45;
}
.p-feats li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: .05rem;
}
.p-card--recommended .p-feats { color: rgba(255,255,255,0.65); }
.p-card--recommended .p-feats li { border-color: rgba(255,255,255,0.1); }
.p-card--recommended .p-feats li::before { color: #93c5fd; }
.badge {
  position: absolute;
  top: -13px;
  right: 18px;
  background: var(--primary);
  color: var(--white);
  padding: .3rem .9rem;
  border-radius: 2rem;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- Stats ---------- */
#stats .container { text-align: center; }
.stat { text-align: center; padding: 1rem; }
.stat h3 { font-size: 2.4rem; font-weight: 900; margin-bottom: .4rem; }
.stat p { color: var(--muted); font-size: .92rem; }

/* ---------- 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: none;
  padding: 1rem 1.3rem;
  text-align: center;
}
.comparatif th { background: var(--primary); color: var(--white); font-weight: 700; }
.comparatif tr:nth-child(even) td { background: rgba(0,0,0,0.03); }
.comparatif td:first-child { text-align: left; font-weight: 500; }
.comparatif tr:hover td { background: rgba(37,99,235,0.05); }

/* ---------- FAQ ---------- */
.faq {
  margin-bottom: .75rem;
  border: 1.5px solid rgba(0,0,0,0.07);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq:hover { box-shadow: var(--shadow); }
.faq summary {
  font-weight: 600;
  cursor: pointer;
  padding: 1.2rem 1.5rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .97rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 1.5rem 1.3rem; color: var(--muted); font-size: .92rem; line-height: 1.75; }

/* ---------- WhatsApp CTA Block ---------- */
.whatsapp-cta-section { padding: 3rem 0; }
.whatsapp-cta {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}
.whatsapp-cta__left { display: flex; align-items: center; gap: 1.5rem; flex: 1; min-width: 200px; }
.whatsapp-cta__icon { font-size: 3rem; flex-shrink: 0; }
.whatsapp-cta__text h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .3rem; }
.whatsapp-cta__text p { color: var(--muted); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact h2 { margin-bottom: 1.5rem; }
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 1rem; font-size: 1rem; }
.contact-list a { color: var(--primary); font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-alt);
  color: var(--muted);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 2.5rem 0;
  text-align: center;
}
.foot { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.footer p { font-size: .88rem; color: var(--muted); }
.footer nav {
  margin-top: .5rem;
  display: flex;
  gap: 1.8rem;
  justify-content: center;
  flex-wrap: wrap;
}
.footer nav a {
  color: var(--muted);
  font-size: .83rem;
  text-decoration: none;
  transition: color .2s;
}
.footer nav a:hover { color: var(--text); }

/* ---------- WhatsApp Floating ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #25d366;
  color: var(--white);
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 1000;
  text-decoration: none;
  transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

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

/* ---------- Shimmer / Gradient Text ---------- */
.shimmer {
  background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h1.shimmer, .h2.shimmer {
  display: block;
  width: 100%;
  text-align: center;
}
span.shimmer { display: inline; }

/* ---------- Popup Offre Spéciale ---------- */
.promo-popup {
  position: fixed;
  bottom: 25px; right: 25px;
  background: var(--white);
  border: 2px solid #7c3aed;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  padding: 1.5rem;
  width: 300px; max-width: 92%;
  z-index: 3000;
  display: none;
  animation: popupBounce .9s ease forwards;
  transform-origin: bottom right;
}
.promo-popup::after {
  content: "";
  position: absolute;
  inset: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.2) 0%, transparent 70%);
  z-index: -1;
  animation: haloPulse 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes haloPulse {
  0%,100% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}
.promo-content { text-align: center; color: var(--text); }
.promo-popup h3 { font-size: 1.2rem; color: #7c3aed; margin-bottom: .5rem; font-weight: 800; }
.promo-popup p { font-size: .94rem; line-height: 1.55; margin: .4rem 0 1rem; }
.promo-popup .price { color: #f59e0b; font-weight: 800; }
.promo-popup .btn.violet {
  display: inline-block;
  background: linear-gradient(90deg, #7c3aed, #9333ea);
  color: white;
  font-weight: 700;
  padding: .7rem 1.5rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: .9rem;
  transition: transform .2s, box-shadow .2s;
}
.promo-popup .btn.violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(124,58,237,0.4);
}
.close-btn {
  position: absolute; top: 8px; right: 10px;
  background: none; border: none;
  font-size: 1.3rem; cursor: pointer;
  color: var(--muted);
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: .5rem;
  transition: background .2s;
}
.close-btn:hover { background: var(--bg); color: var(--text); }
@keyframes popupBounce {
  0%   { opacity: 0; transform: scale(0.65) translateY(40px); }
  65%  { opacity: 1; transform: scale(1.04) translateY(-4px); }
  80%  { transform: scale(0.97) translateY(2px); }
  100% { transform: scale(1) translateY(0); }
}

/* ---------- Revendeur Teaser ---------- */
#revendeur-teaser { text-align: center; }
#revendeur-teaser p { margin: 1rem 0 1.5rem; color: var(--muted); font-size: 1rem; }

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

/* ---------- SEO Content ---------- */
#seo-content p {
  color: var(--muted);
  line-height: 1.85;
  max-width: 820px;
  font-size: .95rem;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    background: var(--white);
    padding: 1.5rem;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    box-shadow: var(--shadow-md);
    z-index: 999;
    gap: 1rem;
  }
  .menu.show { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .hero { padding: 4.5rem 1rem 3.5rem; }
  .hero__decor { display: none; }

  .trust-strip__inner { gap: 1.2rem; }
  .trust-item { font-size: .82rem; }

  .whatsapp-cta { flex-direction: column; text-align: center; }
  .whatsapp-cta__left { flex-direction: column; }

  .footer nav { gap: 1.2rem; }

  .sticky-bar {
    flex-direction: column;
    gap: .5rem;
    padding: .9rem 1rem;
    text-align: center;
  }
  .sticky-bar a { width: 100%; text-align: center; }
}

/* Mobile */
@media (max-width: 480px) {
  html, body { font-size: 15px; overflow-x: hidden; }

  .hero { padding: 3.5rem 1rem 2.5rem; min-height: unset; }
  .h1 { font-size: 1.85rem; }
  .h2 { font-size: 1.55rem; }

  .cta { flex-direction: column; align-items: center; }
  .cta .btn { width: 90%; max-width: 320px; text-align: center; }

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

  .card { padding: 1.4rem; }

  .steps { flex-direction: column; gap: 1.5rem; }

  .comparatif { font-size: .82rem; }
  .comparatif th, .comparatif td { padding: .6rem .7rem; }

  .testis { flex-wrap: nowrap; }
  .testi { flex: 0 0 270px; }

  .movie-card { width: 130px; }
  .movie-card img { height: 192px; }

  /* Scroll snap tarifs mobile */
  .tab-content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.2rem;
  }
  .p-card {
    width: 95%;
    max-width: 360px;
    padding: 1.8rem 1.4rem;
  }
  .p-price { font-size: 2.1rem; }

  .promo-popup { width: 230px; bottom: 10px; right: 10px; }
  .footer nav { flex-direction: column; gap: .5rem; }

  .tabs { width: 100%; justify-content: stretch; }
  .tab-btn { flex: 1; font-size: .82rem; padding: .55rem .7rem; }
}

/* Medium screens */
@media (min-width: 481px) and (max-width: 768px) {
  .hero { padding: 5rem 1.5rem; }
  .pricing { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }
  .promo-popup { width: 255px; }
}

/* Badge top fix (hero) */
.hero .badge-top {
  display: inline-flex;
  width: fit-content;
  margin: 0 auto 1.4rem auto;
  justify-content: center;
}
