/* =========================================================
   PEPE - Site vitrine
   Charte : rose #FF2D6F -> orange #FF6A3B, Gold #E0A800
   Polices : Plus Jakarta Sans (UI), Fraunces (accroches)
   ========================================================= */

/* ---------- Polices locales ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-400.ttf') format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-500.ttf') format('truetype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-600.ttf') format('truetype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-700.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('../fonts/PlusJakartaSans-800.ttf') format('truetype');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-700.ttf') format('truetype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-700-Italic.ttf') format('truetype');
  font-weight: 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../fonts/Fraunces-500-Italic.ttf') format('truetype');
  font-weight: 500; font-style: italic; font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --rose: #FF2D6F;
  --orange: #FF6A3B;
  --gold: #E0A800;
  --brand: linear-gradient(120deg, #FF2D6F 0%, #FF6A3B 100%);
  --brand-soft: linear-gradient(120deg, rgba(255,45,111,.12) 0%, rgba(255,106,59,.12) 100%);
  --bg: #FFFFFF;
  --bg-soft: #F7F7F8;
  --ink: #111114;
  --ink-soft: #5C5C61;
  --dark: #0B0B0C;
  --line: #ECECEE;
  --radius: 26px;
  --radius-lg: 40px;
  --shadow-sm: 0 6px 20px rgba(17,17,20,.06);
  --shadow-md: 0 18px 50px rgba(17,17,20,.10);
  --shadow-brand: 0 16px 40px rgba(255,45,111,.28);
  --header-h: 76px;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --wrap: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0; }

/* ---------- Utilitaires ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
}
.gradient-text {
  background: var(--brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.02;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 48px rgba(255,45,111,.36); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 2px solid rgba(17,17,20,.16);
}
.btn-outline:hover { border-color: var(--rose); color: var(--rose); transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--rose);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: height .3s ease, background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0);
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { height: 62px; }
.site-header.scrolled::before {
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(17,17,20,.06);
}
.header-inner {
  position: relative;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; transition: width .3s ease, height .3s ease; }
.site-header.scrolled .brand img { width: 34px; height: 34px; }
.brand-name {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--ink);
}
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink-soft);
  padding: 4px 0;
  transition: color .2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: width .28s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* Hamburger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--bg-soft);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
}
.site-header.scrolled .nav-toggle { background: rgba(17,17,20,.06); }
.nav-toggle span {
  display: block; width: 24px; height: 2.4px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}

/* Menu plein écran mobile */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 22px 24px 40px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .3s ease, visibility .4s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 30px;
}
.menu-close {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: var(--ink);
  background: var(--bg-soft);
}
.mobile-links {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; flex: 1;
  text-align: center;
}
.mobile-links a {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(34px, 10vw, 48px);
  color: var(--ink);
  padding: 8px 0;
  opacity: 0;
  transform: translateY(18px);
}
.mobile-menu.open .mobile-links a { animation: menuIn .5s forwards; }
.mobile-menu.open .mobile-links a:nth-child(1) { animation-delay: .08s; }
.mobile-menu.open .mobile-links a:nth-child(2) { animation-delay: .14s; }
.mobile-menu.open .mobile-links a:nth-child(3) { animation-delay: .20s; }
.mobile-menu.open .mobile-links a:nth-child(4) { animation-delay: .26s; }
@keyframes menuIn { to { opacity: 1; transform: translateY(0); } }
.mobile-menu-actions {
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 20px;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 78% -8%, rgba(255,106,59,.16), transparent 60%),
    radial-gradient(900px 560px at 10% 108%, rgba(255,45,111,.14), transparent 60%),
    var(--bg);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 8px 16px 8px 8px;
  border-radius: 999px;
  font-weight: 600; font-size: 14px; color: var(--ink-soft);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand);
  display: inline-flex;
}
.hero h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: 24px;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.hero-sub {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust {
  display: flex; align-items: center; gap: 22px;
  flex-wrap: wrap;
  font-size: 14.5px; color: var(--ink-soft); font-weight: 600;
}
.hero-trust .item { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-soft); color: var(--rose);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800;
}

/* Visuel hero : P cœur flottant + halo */
.hero-visual {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 460px;
}
.hero-halo {
  position: absolute;
  width: 460px; height: 460px;
  max-width: 82vw; max-height: 82vw;
  border-radius: 50%;
  background: var(--brand);
  filter: blur(10px);
  opacity: .14;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: .12; }
  50% { transform: scale(1.06); opacity: .2; }
}
.hero-logo {
  position: relative;
  width: 340px; max-width: 66vw;
  filter: drop-shadow(0 30px 50px rgba(255,45,111,.28));
  animation: floaty 5.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes floaty {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-18px) rotate(1.5deg); }
}
.hero-chip {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14px;
  animation: floaty 6.5s ease-in-out infinite;
}
.hero-chip .ico {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--brand-soft); color: var(--rose);
  display: flex; align-items: center; justify-content: center;
}
.hero-chip.c1 { top: 12%; left: -6%; }
.hero-chip.c2 { bottom: 14%; right: -4%; animation-delay: 1.5s; }
.hero-chip small { display: block; font-weight: 500; color: var(--ink-soft); font-size: 12px; }

/* =========================================================
   SECTION TITRES
   ========================================================= */
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.04;
  margin-bottom: 18px;
}
.section-head h2 .display { display: inline; }
.section-head p { font-size: 18px; color: var(--ink-soft); }
.section-head.on-dark p { color: rgba(255,255,255,.72); }

/* =========================================================
   CARTES FEATURES
   ========================================================= */
.features { background: var(--bg-soft); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute; left: 0; top: 0; height: 4px; width: 100%;
  background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::after { transform: scaleX(1); }
.feature-ico {
  width: 62px; height: 62px; border-radius: 18px;
  background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  color: var(--rose);
}
.feature-ico svg { width: 30px; height: 30px; }
.feature-card h3 { font-size: 21px; margin-bottom: 10px; }
.feature-card p { color: var(--ink-soft); font-size: 15.5px; }

/* =========================================================
   SECTION SOMBRE (confiance)
   ========================================================= */
.dark {
  background: var(--dark);
  color: #fff;
  border-radius: 46px;
  margin: 0 16px;
  overflow: hidden;
  position: relative;
}
.dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(700px 420px at 88% 6%, rgba(255,106,59,.16), transparent 60%),
    radial-gradient(600px 400px at 4% 96%, rgba(255,45,111,.18), transparent 60%);
  pointer-events: none;
}
.dark .section-head h2 { color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 2; }
.trust-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.trust-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.trust-ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: #fff;
}
.trust-ico svg { width: 28px; height: 28px; }
.trust-card h3 { font-size: 20px; margin-bottom: 10px; }
.trust-card p { color: rgba(255,255,255,.68); font-size: 15px; }
.dark-stats {
  display: flex; flex-wrap: wrap; gap: 40px 60px;
  justify-content: center;
  margin-top: 64px;
  position: relative; z-index: 2;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-style: italic; font-weight: 700;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  background: var(--brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat .label { color: rgba(255,255,255,.66); font-size: 14.5px; font-weight: 600; margin-top: 8px; }

/* =========================================================
   ABONNEMENTS
   ========================================================= */
.plans { background: var(--bg-soft); }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.plan:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.plan-tag {
  display: inline-flex; align-items: center;
  font-weight: 800; font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
  width: fit-content;
}
.plan-plus .plan-tag { background: var(--brand-soft); color: var(--rose); }
.plan-gold { border-color: rgba(224,168,0,.5); box-shadow: 0 20px 50px rgba(224,168,0,.14); }
.plan-gold .plan-tag { background: rgba(224,168,0,.14); color: #A87c00; }
.plan-platinum { background: #101012; border-color: #101012; color: #fff; }
.plan-platinum .plan-tag { background: rgba(255,255,255,.12); color: #fff; }
.plan-featured::before {
  content: "Le plus choisi";
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: var(--shadow-brand);
  white-space: nowrap;
}
.plan h3 { font-size: 25px; margin-bottom: 6px; }
.plan .pitch { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 22px; min-height: 44px; }
.plan-platinum .pitch { color: rgba(255,255,255,.66); }
.plan .price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.plan .price .from { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.plan-platinum .price .from { color: rgba(255,255,255,.6); }
.plan .price .amount { font-size: 38px; font-weight: 800; letter-spacing: -.02em; }
.plan .price .cur { font-size: 16px; font-weight: 700; color: var(--ink-soft); }
.plan-platinum .price .cur { color: rgba(255,255,255,.7); }
.plan ul { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; font-weight: 500; }
.plan li .tick {
  flex: 0 0 auto;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--brand-soft); color: var(--rose);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; margin-top: 1px;
}
.plan-gold li .tick { background: rgba(224,168,0,.16); color: #A87c00; }
.plan-platinum li .tick { background: rgba(255,255,255,.16); color: #fff; }
.plans-note { text-align: center; margin-top: 34px; color: var(--ink-soft); font-size: 14.5px; }

/* =========================================================
   SÉCURITÉ
   ========================================================= */
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.safety-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: #fff;
  transition: transform .3s ease, box-shadow .3s ease;
}
.safety-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.safety-num {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: 30px; color: var(--rose); margin-bottom: 14px;
}
.safety-card h3 { font-size: 18px; margin-bottom: 8px; }
.safety-card p { color: var(--ink-soft); font-size: 14.5px; }

/* =========================================================
   TÉLÉCHARGEMENT FINAL
   ========================================================= */
.download-cta { padding-bottom: 110px; }
.dl-inner {
  background: var(--brand);
  border-radius: 46px;
  padding: 70px 60px;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
}
.dl-inner::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 90% 120%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(500px 360px at -6% -20%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.dl-copy { position: relative; z-index: 2; }
.dl-copy h2 {
  font-family: var(--font-display); font-style: italic; font-weight: 700;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.02; margin-bottom: 18px;
}
.dl-copy p { font-size: 18px; color: rgba(255,255,255,.9); max-width: 440px; margin-bottom: 30px; }
.dl-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.dl-meta { margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.8); font-weight: 600; display: flex; gap: 20px; flex-wrap: wrap; }
.dl-meta span { display: inline-flex; align-items: center; gap: 8px; }

/* Mockup téléphone (CSS pur, aucun visuel tiers) */
.phone-wrap { position: relative; z-index: 2; display: flex; justify-content: center; }
.phone {
  width: 290px;
  background: #0b0b0c;
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.08);
  transform: rotate(3deg);
  transition: transform .5s ease;
}
.phone:hover { transform: rotate(0deg) translateY(-6px); }
.phone-screen {
  width: 100%;
  border-radius: 34px;
  background: #0b0b0c;
  overflow: hidden;
  position: relative;
  line-height: 0;
}
.phone-shot { width: 100%; height: auto; display: block; }
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; background: #0b0b0c; border-radius: 999px; z-index: 5;
}
.pscreen-top {
  padding: 30px 16px 10px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pscreen-top img { width: 24px; height: 24px; }
.pscreen-top b { font-weight: 800; font-size: 15px; letter-spacing: .02em; }
.pcard {
  margin: 6px 14px 0;
  border-radius: 24px;
  flex: 1;
  background:
    linear-gradient(160deg, rgba(255,45,111,.9), rgba(255,106,59,.9));
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(255,45,111,.3);
}
.pcard::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120px 120px at 30% 22%, rgba(255,255,255,.35), transparent 60%),
    radial-gradient(140px 140px at 80% 40%, rgba(255,255,255,.18), transparent 60%);
}
.pcard-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92); color: var(--rose);
  font-size: 11px; font-weight: 800; letter-spacing: .02em;
  padding: 5px 11px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 5px; z-index: 3;
}
.pcard-info {
  position: absolute; left: 16px; right: 16px; bottom: 78px; color: #fff; z-index: 3;
}
.pcard-info .pname { font-weight: 800; font-size: 20px; }
.pcard-info .pmeta { font-size: 13px; opacity: .92; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.pcard-info .ptags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.pcard-info .ptags span {
  background: rgba(255,255,255,.24); backdrop-filter: blur(4px);
  padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
}
.pcard-actions {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 16px; z-index: 3;
}
.pbtn {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center;
}
.pbtn.no { color: #8a8a90; }
.pbtn.yes { width: 64px; height: 64px; background: #fff; color: var(--rose); }
.pbtn svg { width: 26px; height: 26px; }
.pbtn.yes svg { width: 32px; height: 32px; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
  overflow: hidden;
}
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 18px; font-size: 15px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s ease, transform .25s ease; color: #fff;
}
.footer-social a:hover { background: var(--brand); transform: translateY(-3px); }
.footer-col h4 {
  color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 15px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding: 28px 0 26px;
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: 14px;
}
.footer-bottom .legal-mini { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-word {
  font-family: var(--font-display);
  font-style: italic; font-weight: 700;
  text-align: center;
  font-size: clamp(80px, 22vw, 300px);
  line-height: .8;
  letter-spacing: -.03em;
  background: var(--brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .92;
  margin: 20px 0 -.12em;
  user-select: none;
  padding-bottom: 10px;
}

/* =========================================================
   PAGES LÉGALES
   ========================================================= */
.legal-page { padding: calc(var(--header-h) + 60px) 0 90px; }
.legal-hero { background: var(--bg-soft); }
.legal-content { max-width: 820px; margin: 0 auto; }
.legal-content h1 {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(34px, 5vw, 54px); margin-bottom: 12px;
}
.legal-content .updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 40px; }
.legal-content h2 { font-size: 24px; margin: 40px 0 14px; }
.legal-content p { color: #33333a; margin-bottom: 14px; }
.legal-content ul.dots { list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-content ul.dots li { margin-bottom: 8px; color: #33333a; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--rose); font-weight: 700; margin-bottom: 30px; }

/* =========================================================
   REVEAL AU SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* =========================================================
   PAYS OUVERTS
   ========================================================= */
.countries { background: var(--bg-soft); }
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.country-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.country-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.country-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.country-top h3 { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.country-dial {
  font-size: 13px; font-weight: 600; color: var(--rose);
  background: var(--brand-soft); border-radius: 999px; padding: 4px 10px; white-space: nowrap;
}
.country-cities { display: flex; flex-wrap: wrap; gap: 7px; }
.city-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 500; color: var(--ink-soft);
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px;
}
.city-chip svg { color: var(--rose); opacity: .85; flex: none; }
.city-more { color: var(--rose); font-weight: 700; background: var(--brand-soft); border-color: transparent; }
.countries-note { text-align: center; color: var(--ink-soft); font-size: 15px; max-width: 640px; margin: 40px auto 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .card-grid, .trust-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .plan-featured { order: -1; }
}
@media (max-width: 760px) {
  .country-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 10px; }
  .hero-cta, .hero-trust { justify-content: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; min-height: 320px; margin-bottom: 10px; }
  .hero-logo { width: 220px; }
  .hero-chip { display: none; }
  .hero-badge { font-size: 13px; max-width: 100%; }
  .dl-inner { grid-template-columns: 1fr; text-align: center; padding: 50px 30px; }
  .dl-copy p { margin-left: auto; margin-right: auto; }
  .dl-actions, .dl-meta { justify-content: center; }
  .phone-wrap { margin-top: 30px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .wrap { padding: 0 18px; }
  .card-grid, .trust-grid, .plan-grid, .safety-grid, .footer-top { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .country-card { padding: 18px 16px; }
  .dark { margin: 0 8px; border-radius: 32px; }
  .dark-stats { gap: 30px 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .header-actions { gap: 8px; }
  .plan-featured { order: 0; }
}

/* QA uniquement : capture pleine page (active via ?noanim) */
.qa-noanim .hero { min-height: auto; }

/* Accessibilité : mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Corrections logo transparent : proportions preservees (pas d'etirement), fond retire */
.hero-logo { height: auto; }
.brand img, .footer-brand img { object-fit: contain; }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 20px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-md); background: #fff; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { line-height: 1.35; }
.faq-ico {
  flex: none;
  display: inline-flex;
  color: var(--ink-soft);
  transition: transform .25s ease, color .2s ease;
}
.faq-item[open] .faq-ico { transform: rotate(180deg); color: var(--rose); }
.faq-a { padding: 0 0 22px; }
.faq-a p { color: var(--ink-soft); font-size: 16px; line-height: 1.65; max-width: 64ch; margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq-ico { transition: color .2s ease; } }

/* ============ GUIDE / ARTICLE ============ */
.guide-page .legal-content { max-width: 820px; }
.guide-lead { font-size: 19px; line-height: 1.6; color: var(--ink); }
.steps { margin: 0 0 8px; padding-left: 22px; }
.steps li { margin: 8px 0; line-height: 1.6; color: var(--ink-soft); }
.cmp-wrap { overflow-x: auto; margin: 18px 0 8px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.cmp th, .cmp td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--line); }
.cmp tbody th { font-weight: 600; color: var(--ink); white-space: nowrap; }
.cmp td { color: var(--ink-soft); }
.cmp td.cmp-yes { color: var(--ink); font-weight: 600; }
.guide-key { margin: 30px 0; padding: 22px 24px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; }
.guide-key h2 { margin-top: 0; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 8px; }

/* Articles and tutorials share the site's typography and spacing. */
.blog-index .wrap { max-width: 1480px; padding-inline: clamp(20px, 4vw, 64px); }
.blog-index .legal-content { max-width: none; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
@media (min-width: 1200px) { .blog-index .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.blog-card { padding: 24px; border: 1px solid rgba(128, 128, 128, .2); border-radius: 20px; min-width: 0; }
.legal-content .blog-card h2 { margin-top: 16px; font-size: 1.35rem; }
.blog-card h2 a { color: inherit; text-decoration: none; }
.blog-card-link { font-weight: 700; display: inline-block; margin-top: 12px; }
.blog-cover, .blog-article-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; }
.blog-article-cover { margin: 24px 0; }
.blog-video { aspect-ratio: 16 / 9; width: 100%; min-height: 200px; margin: 28px 0; border-radius: 16px; overflow: hidden; background: #111; }
.blog-video iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .blog-card { padding: 20px; } }

/* Local guides: readable internal links on mobile and desktop. */
.seo-guides { margin-top: 32px; }
.seo-guides h3 { margin-bottom: 16px; }
.seo-guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.seo-guide-grid a { display: block; padding: 18px 20px; border: 1px solid var(--border, #e5e5e5); border-radius: 16px; color: inherit; text-decoration: none; background: #fff; }
.seo-guide-grid a:hover, .seo-guide-grid a:focus-visible { border-color: var(--primary, #ff2d6f); text-decoration: underline; }
.plan-period { margin: 0 0 16px; font-size: 14px; }
.local-guide { margin-bottom: 32px; }
