/* ==========================================================
   STABY'LOW — Site stabylow.com
   Charte : marine #0e172a · rose #f46fa2 · blanc
   Typo   : Libre Franklin
   ========================================================== */

:root {
  --marine: #0e172a;
  --marine-soft: #151f38;
  --marine-light: #1d2a47;
  --rose: #f46fa2;
  --rose-soft: #ff87b6;
  --rose-dark: #d95888;
  --white: #ffffff;
  --white-dim: rgba(255, 255, 255, 0.72);
  --white-faint: rgba(255, 255, 255, 0.48);
  --white-line: rgba(255, 255, 255, 0.12);

  --maxw: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 14px 40px -12px rgba(0, 0, 0, 0.45);

  --t-fast: 180ms ease;
  --t-med: 320ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Libre Franklin", system-ui, -apple-system, sans-serif;
  background: var(--marine);
  color: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--rose); }

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

/* ---------------------------------------------------------- Typography */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
}

.lede { color: var(--white-dim); font-size: 1.1rem; max-width: 62ch; }

.section-title { text-align: center; margin-bottom: 56px; }
.section-title p { color: var(--white-dim); margin-top: 14px; max-width: 62ch; margin-inline: auto; }

/* ---------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--t-med);
  white-space: nowrap;
}
.btn--primary {
  background: var(--rose);
  color: var(--marine);
}
.btn--primary:hover {
  background: var(--rose-soft);
  color: var(--marine);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -8px rgba(244, 111, 162, 0.55);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white-line);
}
.btn--ghost:hover {
  border-color: var(--rose);
  color: var(--rose);
}
.btn--login {
  background: transparent;
  color: var(--white-dim);
  border-color: var(--white-line);
  padding: 12px 20px;
  font-size: 0.92rem;
}
.btn--login:hover {
  background: rgba(244, 111, 162, 0.08);
  border-color: var(--rose);
  color: var(--rose);
}
.btn--login svg { margin-right: -2px; }

/* ---------------------------------------------------------- Header */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 23, 42, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--white-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.brand svg { width: 30px; height: auto; }
.brand .wm-low { color: var(--rose); }

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-links a { color: var(--white-dim); }
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--rose); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger { display: none; background: transparent; border: 0; color: var(--white); cursor: pointer; padding: 8px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .nav-cta .btn--login { display: none; }
}

/* ---------------------------------------------------------- Hero (home) */
.hero {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 380px at 20% 20%, rgba(244, 111, 162, 0.22), transparent 70%),
    radial-gradient(500px 320px at 85% 75%, rgba(244, 111, 162, 0.12), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--rose); }
.hero .lede { font-size: 1.2rem; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .logo-stack {
  width: 320px;
  max-width: 100%;
  padding: 48px 36px;
  background: linear-gradient(145deg, var(--marine-soft), var(--marine-light));
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.logo-stack svg { width: 92px; margin-inline: auto; }
.logo-stack .wordmark {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 18px;
  line-height: 1;
}
.logo-stack .wordmark .wm-low { color: var(--rose); position: relative; }
.logo-stack .wordmark .wm-low::after {
  content: "";
  display: block;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--white) 0%, var(--white) 40%, var(--rose) 40%, var(--rose) 100%);
  margin-top: 4px;
  border-radius: 2px;
}
.logo-stack .desc { font-size: 0.85rem; color: var(--white); margin-top: 18px; font-weight: 500; }
.logo-stack .baseline { font-size: 0.82rem; color: var(--rose); margin-top: 10px; font-style: italic; }

@media (max-width: 900px) {
  .hero { padding: 80px 0 100px; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .logo-stack { width: 260px; padding: 36px 24px; }
  .logo-stack .wordmark { font-size: 2rem; }
}

/* ---------------------------------------------------------- Pain block */
.pain {
  padding: 100px 0;
  background: var(--marine-soft);
  border-block: 1px solid var(--white-line);
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain-card {
  padding: 32px 28px;
  background: var(--marine);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  transition: all var(--t-med);
}
.pain-card:hover { border-color: var(--rose); transform: translateY(-4px); }
.pain-card .pain-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.3;
}
.pain-card p { color: var(--white-dim); font-size: 0.96rem; }
.pain-card .quote {
  display: inline-block;
  color: var(--rose);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 8px;
  font-weight: 800;
}
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- Pôles */
.poles { padding: 120px 0; }
.poles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pole-card {
  padding: 40px 32px;
  background: linear-gradient(180deg, var(--marine-soft) 0%, var(--marine) 100%);
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  transition: all var(--t-med);
  position: relative;
  overflow: hidden;
}
.pole-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rose);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med);
}
.pole-card:hover::before { transform: scaleX(1); }
.pole-card:hover { transform: translateY(-6px); border-color: rgba(244, 111, 162, 0.4); }

.pole-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rose);
  letter-spacing: 0.18em;
  margin-bottom: 14px;
}
.pole-card h3 { margin-bottom: 12px; color: var(--white); }
.pole-card .tagline {
  color: var(--rose);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.pole-card p { color: var(--white-dim); font-size: 0.96rem; }

@media (max-width: 900px) { .poles-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- Suite outils (home) */
.suite {
  padding: 120px 0;
  background: var(--marine-soft);
  border-block: 1px solid var(--white-line);
}
.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}
.tool-card {
  padding: 28px 24px;
  background: var(--marine);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  transition: all var(--t-med);
  position: relative;
}
.tool-card:hover { transform: translateY(-4px); border-color: var(--rose); }
.tool-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.tool-name .accent { color: var(--rose); }
.tool-role {
  font-size: 0.82rem;
  color: var(--rose);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.tool-card p { color: var(--white-dim); font-size: 0.93rem; }
.suite-cta { text-align: center; }

/* ---------------------------------------------------------- Proof / Stats */
.proof { padding: 120px 0; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 28px 20px;
}
.stat .num {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--rose);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.stat .label { color: var(--white-dim); font-size: 0.95rem; }
@media (max-width: 900px) { .proof-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------- About */
.about {
  padding: 120px 0;
  background: var(--marine-soft);
  border-block: 1px solid var(--white-line);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, var(--marine-light), var(--marine));
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-faint);
  font-size: 0.88rem;
  font-style: italic;
  max-width: 340px;
}
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: var(--white-dim); font-size: 1.05rem; margin-bottom: 18px; }
.about-text strong { color: var(--white); font-weight: 600; }

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-photo { max-width: 220px; margin-inline: auto; }
}

/* ---------------------------------------------------------- CTA final + contact */
.cta-final { padding: 120px 0; }
.cta-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 48px;
  background: linear-gradient(145deg, var(--marine-soft), var(--marine-light));
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-wrap h2 { margin-bottom: 16px; }
.cta-wrap p { color: var(--white-dim); max-width: 60ch; margin: 0 auto 32px; font-size: 1.08rem; }

form.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  margin-top: 8px;
}
form.contact label { font-size: 0.82rem; font-weight: 600; color: var(--white-dim); margin-bottom: 6px; display: block; }
form.contact .field { display: flex; flex-direction: column; }
form.contact .field--full { grid-column: 1 / -1; }
form.contact input,
form.contact textarea {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 14px 16px;
  background: var(--marine);
  border: 1px solid var(--white-line);
  border-radius: 10px;
  color: var(--white);
  transition: border-color var(--t-fast);
  resize: vertical;
}
form.contact textarea { min-height: 120px; }
form.contact input:focus,
form.contact textarea:focus {
  outline: none;
  border-color: var(--rose);
}
form.contact .submit-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
form.contact .privacy { color: var(--white-faint); font-size: 0.82rem; }
@media (max-width: 640px) {
  .cta-wrap { padding: 40px 24px; }
  form.contact { grid-template-columns: 1fr; }
  form.contact .submit-row { flex-direction: column; align-items: stretch; }
}

.calendly-placeholder {
  margin-top: 40px;
  padding: 28px;
  background: var(--marine);
  border: 1px dashed var(--white-line);
  border-radius: var(--radius);
  color: var(--white-faint);
  font-size: 0.9rem;
  text-align: center;
}

/* ========================================================== */
/* TOOL PAGES (REVE / DIA / PILOT / TAB / CRM)                 */
/* ========================================================== */

/* Hero outil — image à droite, texte à gauche */
.tool-hero {
  position: relative;
  padding: 100px 0 80px;
  overflow: hidden;
}
.tool-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 85% 30%, rgba(244, 111, 162, 0.18), transparent 70%),
    radial-gradient(500px 320px at 10% 80%, rgba(244, 111, 162, 0.10), transparent 70%);
  pointer-events: none;
}
.tool-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.tool-hero h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  margin-bottom: 20px;
}
.tool-hero h1 .accent { color: var(--rose); }
.tool-hero .eyebrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white-faint);
  font-size: 0.85rem;
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.tool-hero .eyebrow-link:hover { color: var(--rose); }
.tool-hero .lede { font-size: 1.15rem; margin-bottom: 32px; max-width: 50ch; }
.tool-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Mockup visuel outil */
.tool-mockup {
  background: linear-gradient(145deg, var(--marine-soft), var(--marine-light));
  border: 1px solid var(--white-line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.tool-mockup::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 36px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--white-line);
}
.tool-mockup::after {
  content: "";
  position: absolute;
  top: 12px; left: 16px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 16px 0 0 rgba(255,255,255,0.3), 32px 0 0 rgba(255,255,255,0.18);
}
.tool-mockup .mockup-body {
  padding-top: 28px;
  min-height: 320px;
}
.tool-mockup svg { max-width: 100%; height: auto; }

@media (max-width: 900px) {
  .tool-hero { padding: 60px 0; }
  .tool-hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

/* Problème résolu — 3 cards */
.tool-problem {
  padding: 100px 0;
  background: var(--marine-soft);
  border-block: 1px solid var(--white-line);
}

/* Features grid */
.tool-features { padding: 120px 0; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.feature-card {
  padding: 32px 28px;
  background: var(--marine-soft);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  transition: all var(--t-med);
}
.feature-card:hover {
  border-color: var(--rose);
  transform: translateY(-4px);
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(244, 111, 162, 0.12);
  color: var(--rose);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}
.feature-card p {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Bénéfices (tags + description) */
.tool-benefits {
  padding: 120px 0;
  background: var(--marine-soft);
  border-block: 1px solid var(--white-line);
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.benefit-card {
  padding: 28px 24px;
  background: var(--marine);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
}
.benefit-card .benefit-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(244, 111, 162, 0.12);
  color: var(--rose);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.benefit-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--white);
}
.benefit-card p { color: var(--white-dim); font-size: 0.94rem; }

/* Related tools (cross-sell) */
.tool-related {
  padding: 100px 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.related-card {
  padding: 24px;
  background: var(--marine-soft);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  transition: all var(--t-med);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-card:hover {
  border-color: var(--rose);
  transform: translateY(-3px);
}

/* Tool final CTA */
.tool-cta {
  padding: 100px 0;
  background: var(--marine-soft);
  border-top: 1px solid var(--white-line);
}

/* ========================================================== */
/* RESSOURCES — liste + article                                */
/* ========================================================== */

.resources-hero { padding: 100px 0 60px; }
.resources-list { padding: 20px 0 120px; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.article-card {
  background: var(--marine-soft);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--t-med);
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.article-card:hover {
  border-color: var(--rose);
  transform: translateY(-4px);
  color: inherit;
}
.article-card-visual {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--marine-light), var(--marine-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.article-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px 200px at 70% 30%, rgba(244, 111, 162, 0.18), transparent 70%);
}
.article-card-visual .visual-label {
  position: relative;
  color: rgba(255, 255, 255, 0.24);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.article-card-body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.article-meta {
  font-size: 0.78rem;
  color: var(--white-faint);
  margin-bottom: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.article-meta .dot { opacity: 0.4; }
.article-cat {
  color: var(--rose);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.article-card h3 {
  font-size: 1.22rem;
  margin-bottom: 12px;
  color: var(--white);
  line-height: 1.3;
}
.article-card p {
  color: var(--white-dim);
  font-size: 0.95rem;
  margin-bottom: 18px;
  flex: 1;
}
.article-card .read-more {
  color: var(--rose);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Article single page */
.article-hero {
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 20% 20%, rgba(244, 111, 162, 0.15), transparent 70%);
  pointer-events: none;
}
.article-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}
.article-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
  line-height: 1.15;
}
.article-hero .article-meta { margin-bottom: 20px; }
.article-hero .lede {
  font-size: 1.2rem;
  color: var(--white-dim);
  line-height: 1.6;
}

.article-body { padding: 20px 0 100px; }
.article-body-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--white-dim);
}
.article-body-inner h2 {
  color: var(--white);
  margin-top: 52px;
  margin-bottom: 18px;
  font-size: 1.6rem;
  letter-spacing: -0.01em;
}
.article-body-inner h3 {
  color: var(--white);
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 1.18rem;
}
.article-body-inner p { margin-bottom: 18px; }
.article-body-inner strong { color: var(--white); font-weight: 600; }
.article-body-inner em { color: var(--white); font-style: italic; }
.article-body-inner blockquote {
  margin: 32px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--rose);
  background: rgba(244, 111, 162, 0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--white);
  font-style: italic;
  font-size: 1.08rem;
}
.article-body-inner ul,
.article-body-inner ol {
  margin: 18px 0;
  padding-left: 28px;
}
.article-body-inner li { margin-bottom: 10px; }
.article-body-inner a {
  color: var(--rose);
  text-decoration: underline;
  text-decoration-color: rgba(244, 111, 162, 0.35);
}
.article-body-inner a:hover { text-decoration-color: var(--rose); }
.article-body-inner hr {
  border: 0;
  border-top: 1px solid var(--white-line);
  margin: 40px 0;
}

.article-author {
  max-width: 720px;
  margin: 40px auto 0;
  padding: 24px 28px;
  background: var(--marine-soft);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  display: flex;
  gap: 20px;
  align-items: center;
}
.article-author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), var(--rose-dark));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--marine);
  font-size: 1.2rem;
}
.article-author-body p:first-child { color: var(--white); font-weight: 600; margin-bottom: 2px; }
.article-author-body p:last-child { color: var(--white-dim); font-size: 0.9rem; }

@media (max-width: 640px) {
  .article-author { flex-direction: column; text-align: center; }
}

/* ---------------------------------------------------------- Footer */
footer.site {
  padding: 80px 0 40px;
  background: var(--marine);
  border-top: 1px solid var(--white-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer-brand .brand { margin-bottom: 20px; }
.footer-brand p { color: var(--white-dim); font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--white-dim); font-size: 0.92rem; }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--white-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--white-faint);
  font-size: 0.85rem;
}
.footer-bottom .legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------------------------------------------------------- Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 620px;
  margin-inline: auto;
  background: var(--marine-light);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  z-index: 100;
  animation: slideUp 420ms cubic-bezier(0.22, 0.61, 0.36, 1) 600ms both;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p { color: var(--white-dim); flex: 1; }
.cookie-banner p a { color: var(--rose); text-decoration: underline; }
.cookie-banner .actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner .btn { padding: 10px 18px; font-size: 0.88rem; }
.cookie-banner.hidden { display: none; }
@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner .actions { justify-content: center; }
}

/* ---------------------------------------------------------- Animations on scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------- Accessibility */
:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 3px;
  border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
