/* ===========================================
   Revopics Abonnement - Site Satellite SEO
   Feuille de style commune
   =========================================== */

:root {
  --primary: #5b3df5;
  --primary-dark: #3f25c9;
  --primary-light: #8b73ff;
  --accent: #ff7a59;
  --bg: #ffffff;
  --bg-soft: #f7f7fb;
  --bg-dark: #0e0d20;
  --text: #14132b;
  --text-soft: #4a4a68;
  --text-light: #6c6c85;
  --border: #e5e5ef;
  --success: #1ab873;
  --radius: 12px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(20, 19, 43, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 19, 43, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 19, 43, 0.12);
  --container: 1140px;
  --gradient: linear-gradient(135deg, #5b3df5 0%, #8b73ff 50%, #ff7a59 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4 { line-height: 1.2; color: var(--text); font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.015em; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: .75rem; }

p { margin-bottom: 1rem; color: var(--text-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--container); margin: 0 auto;
}
.logo {
  font-weight: 800; font-size: 1.25rem; color: var(--text);
  display: flex; align-items: center; gap: 8px;
}
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gradient); display: inline-block;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--text-soft); font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--primary); }
.nav-cta {
  background: var(--text); color: #fff !important;
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
  font-size: 0.9rem !important;
}
.nav-cta:hover { background: var(--primary) !important; color: #fff !important; }

.menu-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px auto; }

@media (max-width: 820px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .nav.open {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 24px; border-bottom: 1px solid var(--border);
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  cursor: pointer; border: 0;
}
.btn-primary {
  background: var(--gradient); color: #fff !important;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff !important; }
.btn-ghost {
  background: transparent; color: var(--text) !important;
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary) !important; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }

/* ===== Hero ===== */
.hero {
  padding: clamp(60px, 10vw, 120px) 0 clamp(50px, 8vw, 90px);
  background: radial-gradient(ellipse at top, #f0ecff 0%, #fff 60%);
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .grad {
  background: var(--gradient); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.hero-lead { font-size: 1.15rem; color: var(--text-soft); margin-bottom: 2rem; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 2.5rem; display: flex; gap: 24px; align-items: center;
  flex-wrap: wrap; color: var(--text-light); font-size: .9rem;
}
.hero-trust strong { color: var(--text); }

.hero-visual {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: var(--gradient);
  position: relative; box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual::before {
  content: ""; position: absolute; inset: 12px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.4), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.25), transparent 50%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,0));
}
.hero-visual::after {
  content: "📸"; position: absolute; inset: 0;
  display: grid; place-items: center; font-size: 6rem;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,.2));
}

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
}

/* ===== Sections ===== */
.section { padding: clamp(50px, 8vw, 90px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #cccce0; }

.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700;
  color: var(--primary); text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 1rem;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 1.1rem; }

/* ===== Cards / Features ===== */
.grid-3 {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 820px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #ede8ff, #fff0eb);
  display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 18px;
}

.section-dark .card { background: #1a1934; border-color: #2a2950; }
.section-dark .card p { color: #b3b3cc; }

/* ===== Pricing ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 40px;
}
@media (max-width: 820px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(91, 61, 245, .15);
  transform: scale(1.02);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient); color: #fff;
  padding: 6px 16px; border-radius: 999px;
  font-size: .8rem; font-weight: 700; letter-spacing: .03em;
}
.price-name { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.price-amount { font-size: 2.5rem; font-weight: 800; color: var(--text); }
.price-amount small { font-size: 1rem; color: var(--text-light); font-weight: 500; }
.price-features { list-style: none; padding: 0; margin: 16px 0; }
.price-features li {
  padding: 8px 0; color: var(--text-soft); font-size: .95rem;
  display: flex; gap: 10px; align-items: flex-start;
}
.price-features li::before {
  content: "✓"; color: var(--success); font-weight: 700;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 12px; background: #fff;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 24px; cursor: pointer;
  font-weight: 600; color: var(--text);
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.5rem; color: var(--primary);
  font-weight: 400; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--primary); }
.faq-answer { padding: 0 24px 24px; color: var(--text-soft); }
.faq-answer p { margin-bottom: .75rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--gradient); color: #fff;
  padding: 60px 40px; border-radius: var(--radius-lg);
  text-align: center; margin: 40px 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.92); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-banner .btn-primary {
  background: #fff; color: var(--primary) !important;
}
.cta-banner .btn-primary:hover { background: #fff; color: var(--primary-dark) !important; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark); color: #b3b3cc;
  padding: 60px 0 30px; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: #b3b3cc; font-size: .95rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { color: #8c8cad; font-size: .9rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid #2a2950; padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  color: #6f6f8c; font-size: .85rem;
}

/* ===== Form ===== */
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-weight: 600; margin-bottom: 6px;
  color: var(--text); font-size: .9rem;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font: inherit; color: var(--text); background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: 0; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91, 61, 245, .15);
}

/* ===== Helpers ===== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.lead { font-size: 1.15rem; color: var(--text-soft); }

/* Compare table */
.compare {
  width: 100%; border-collapse: collapse; margin-top: 32px;
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare th, .compare td {
  padding: 16px; text-align: left; border-bottom: 1px solid var(--border);
}
.compare th { background: var(--bg-soft); font-weight: 700; }
.compare td.yes { color: var(--success); font-weight: 700; }
.compare td.no { color: #d04848; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 40px 0; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { text-align: center; padding: 24px; }
.stat-num {
  font-size: 2.5rem; font-weight: 800;
  background: var(--gradient); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.stat-label { color: var(--text-light); font-size: .9rem; margin-top: 4px; }
