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

:root {
  --red:    #BA2745;
  --red-dk: #8f1c33;
  --bg:     #EEEEEE;
  --white:  #ffffff;
  --text:   #1C1C1E;
  --muted:  #8E8E93;
  --card:   #ffffff;
  --border: rgba(0,0,0,0.07);
  --radius: 18px;
  --shadow: 0 4px 24px rgba(0,0,0,0.07);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ── Decorative circles (same as SplashScreen) ─────────────────────────────── */
.glow-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(186, 39, 69, 0.07);
  pointer-events: none;
  z-index: 0;
}

/* ── Navbar ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(238,238,238,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img { height: 36px; }

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  align-items: center;
}

.nav__links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.75;
  transition: opacity .2s;
}
.nav__links a:hover { opacity: 1; text-decoration: none; }

.nav__links .btn-nav {
  background: var(--red);
  color: #fff !important;
  opacity: 1 !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  transition: background .2s, transform .15s;
}
.nav__links .btn-nav:hover { background: var(--red-dk); transform: translateY(-1px); }

.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--text); margin: 5px 0;
  border-radius: 2px; transition: .3s;
}

/* ── Sections ──────────────────────────────────────────────────────────────── */
.section { position: relative; padding: 80px 24px; overflow: hidden; }
.section--white { background: var(--white); }
.container { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero__logo {
  margin: 0 auto 40px;
  animation: fadeUp .7s ease both;
}
.hero__logo img { height: 120px; margin: 0 auto; }

.hero__title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--text);
  animation: fadeUp .7s .1s ease both;
}

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

.hero__sub {
  margin-top: 20px;
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeUp .7s .2s ease both;
}

.hero__cta {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
}

/* ── Buttons ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(186,39,69,0.30);
}
.btn--primary:hover { background: var(--red-dk); box-shadow: 0 6px 28px rgba(186,39,69,0.40); }

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(0,0,0,0.18);
}
.btn--outline:hover { border-color: var(--red); color: var(--red); }

/* ── Feature grid ──────────────────────────────────────────────────────────── */
.section__title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 12px;
}
.section__sub {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 48px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.10); }

.feature-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(186,39,69,0.08);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.feature-card__title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}
.feature-card__text { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* ── Blog grid ─────────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.blog-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,0.10); }

.blog-card__img {
  width: 100%; height: 180px;
  object-fit: cover;
  background: rgba(186,39,69,0.08);
}

.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__title { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.blog-card__excerpt { color: var(--muted); font-size: 14px; line-height: 1.6; flex: 1; }
.blog-card__link {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--red);
}
.blog-card__link::after { content: "→"; transition: transform .2s; }
.blog-card:hover .blog-card__link::after { transform: translateX(4px); }

/* ── Pricing ───────────────────────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  align-items: start;
}

.pricing-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .2s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--featured {
  background: var(--red);
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 8px 40px rgba(186,39,69,0.35);
}
.pricing-card--featured:hover { transform: scale(1.03) translateY(-4px); }

.pricing-card__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #ffcc00; color: #333;
  font-size: 11px; font-weight: 700;
  padding: 4px 14px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .5px;
  white-space: nowrap;
}

.pricing-card__name {
  font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1px;
  opacity: .65; margin-bottom: 12px;
}
.pricing-card--featured .pricing-card__name { color: rgba(255,255,255,.75); }

.pricing-card__price {
  font-size: 48px; font-weight: 700; line-height: 1;
  letter-spacing: -2px; margin-bottom: 4px;
}
.pricing-card__price sup { font-size: 24px; font-weight: 600; vertical-align: super; letter-spacing: 0; }
.pricing-card__period { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.pricing-card--featured .pricing-card__period { color: rgba(255,255,255,.65); }

.pricing-card__features { list-style: none; margin-bottom: 32px; }
.pricing-card__features li {
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.pricing-card--featured .pricing-card__features li { border-color: rgba(255,255,255,.15); }
.pricing-card__features li::before {
  content: "✓";
  color: var(--red); font-weight: 700; font-size: 13px; flex-shrink: 0;
}
.pricing-card--featured .pricing-card__features li::before { color: #fff; }
.pricing-card__features li.off { opacity: .35; }
.pricing-card__features li.off::before { content: "–"; }

.pricing-card .btn--primary { width: 100%; justify-content: center; }
.pricing-card--featured .btn--primary {
  background: #fff; color: var(--red);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.pricing-card--featured .btn--primary:hover { background: #f5f5f5; }

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

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px; font-weight: 300;
  color: var(--red); flex-shrink: 0;
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item__body {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── Article hero ──────────────────────────────────────────────────────────── */
.article-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 24px 64px;
  background: var(--bg);
  text-align: center;
}

.article-hero__category {
  display: inline-block;
  background: rgba(186,39,69,.10);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.article-hero__title {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto 20px;
  color: var(--text);
}

.article-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 48px;
}
.article-hero__meta .dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--muted);
  display: inline-block;
}

.article-hero__visual {
  max-width: 820px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.10);
  background: linear-gradient(135deg, rgba(186,39,69,.10) 0%, rgba(186,39,69,.03) 100%);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
}

/* ── Article body ──────────────────────────────────────────────────────────── */
.article-body {
  padding: 72px 24px 80px;
  background: var(--white);
}

.article-content {
  max-width: 680px;
  margin: 0 auto;
}

.article-content p {
  font-size: 17px;
  line-height: 1.85;
  color: #2c2c2e;
  margin-bottom: 24px;
}

.article-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 16px;
  padding-left: 16px;
  border-left: 3px solid var(--red);
  letter-spacing: -.3px;
}

.article-content ul {
  margin: 0 0 24px 0;
  padding: 0;
  list-style: none;
}
.article-content ul li {
  font-size: 16px;
  line-height: 1.75;
  color: #2c2c2e;
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.article-content ul li:last-child { border-bottom: none; }
.article-content ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 18px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  opacity: .6;
}

.article-content strong { color: var(--text); font-weight: 600; }
.article-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }

.article-content .note {
  font-size: 13px;
  color: var(--muted);
  background: var(--bg);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 32px;
}
.article-content .note a { color: var(--red); }

/* Poème */
.poem-block {
  background: var(--bg);
  border-left: 3px solid var(--red);
  border-radius: 0 16px 16px 0;
  padding: 36px 40px;
  margin: 32px 0;
  font-style: italic;
  font-size: 16px;
  line-height: 2.1;
  color: var(--text);
}

/* ── Article CTA ───────────────────────────────────────────────────────────── */
.article-cta-block {
  max-width: 680px;
  margin: 56px auto 0;
  background: var(--bg);
  border-radius: 20px;
  padding: 40px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.article-cta-block::before {
  content: '';
  position: absolute;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(186,39,69,.06);
  top: -60px; right: -40px;
}
.article-cta-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
  position: relative;
}
.article-cta-block p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 24px;
  position: relative;
}
.article-cta-block .btn { position: relative; }

/* ── Article nav (back + related) ─────────────────────────────────────────── */
.article-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.article-nav:hover { color: var(--red); }
.article-nav::before { content: "←"; }

.related-articles {
  background: var(--bg);
  padding: 60px 24px;
}
.related-articles__title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: var(--text);
}

/* ── Prose (legacy, kept for other pages) ──────────────────────────────────── */
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -.5px; margin-bottom: 16px; }
.prose h2 { font-size: 22px; font-weight: 600; margin: 36px 0 12px; }
.prose p  { color: #3a3a3c; margin-bottom: 18px; line-height: 1.75; }
.prose ul { padding-left: 20px; margin-bottom: 18px; color: #3a3a3c; line-height: 1.75; }
.prose a  { color: var(--red); }

.article-cta {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--red);
  margin-top: 40px;
  box-shadow: var(--shadow);
}
.article-cta p { margin-bottom: 16px; color: var(--text); }

/* ── Page header ───────────────────────────────────────────────────────────── */
.page-header {
  padding: 60px 24px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 { font-size: clamp(28px, 5vw, 44px); font-weight: 700; letter-spacing: -.5px; }
.page-header p  { color: var(--muted); margin-top: 10px; font-size: 17px; }

/* ── Footer ────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 48px 24px 32px;
  text-align: center;
}

.footer__logo img { height: 48px; margin: 0 auto 20px; }

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  list-style: none;
  margin-bottom: 20px;
}
.footer__links a { color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--red); text-decoration: none; }

.footer__social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 28px;
}
.footer__social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.footer__social a:hover { background: var(--red); color: #fff; }

.footer__copy { font-size: 13px; color: var(--muted); }

/* ── CGU / Confidentialité ─────────────────────────────────────────────────── */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 18px; font-weight: 600; margin: 32px 0 10px; color: var(--text); }
.legal p, .legal li { font-size: 15px; color: #3a3a3c; line-height: 1.75; margin-bottom: 12px; }
.legal ul { padding-left: 20px; }

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

.fade-in { animation: fadeUp .6s ease both; }

/* ── Responsive ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(238,238,238,0.97);
    backdrop-filter: blur(16px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }
  .nav__burger { display: block; }
  .pricing-card--featured { transform: scale(1); }
  .section { padding: 56px 20px; }
}
