/*
Theme Name: Florian Delcourt
Theme URI: https://florian-delcourt.fr
Author: Florian Delcourt
Description: Theme editorial sur mesure pour florian-delcourt.fr — finances personnelles pour debutants. Charte cobalt/moutarde, typographie Manrope/Inter/Newsreader.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: florian-delcourt
*/

/* ============================================
   FLORIAN DELCOURT — Design System
   florian-delcourt.fr
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Primary */
  --cobalt: #1A2B3C;
  --mustard: #E3B448;
  --off-white: #FAF9F7;

  /* Secondary */
  --gray-light: #F4F3F1;
  --gray-warm: #D1CCC4;
  --sage: #6B8F71;

  /* Functional */
  --red-alert: #C0392B;
  --anthracite: #2C2C2C;
  --white: #FFFFFF;

  /* Derived */
  --mustard-hover: #CFA03E;
  --cobalt-light: rgba(26, 43, 60, 0.08);
  --cobalt-text-secondary: rgba(255, 255, 255, 0.75);

  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Newsreader', serif;

  /* Spacing */
  --section-padding: 64px;
  --container-max: 1120px;
  --container-narrow: 720px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--anthracite);
  background: var(--off-white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--cobalt);
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: text-decoration-style 0.2s;
}

a:hover {
  text-decoration-style: solid;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--cobalt);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(19px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

p + p {
  margin-top: 1em;
}

.text-accent {
  font-family: var(--font-accent);
  font-style: italic;
}

.text-muted {
  color: #787774;
}

.text-small {
  font-size: 14px;
  line-height: 1.5;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-padding) 0;
}

.section--cobalt {
  background: var(--cobalt);
  color: var(--white);
}

.section--cobalt h1,
.section--cobalt h2,
.section--cobalt h3 {
  color: var(--white);
}

.section--gray {
  background: var(--gray-light);
}

.section--white {
  background: var(--white);
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--cobalt);
  height: 64px;
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}

.nav.scrolled {
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.nav__brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--white);
}

.nav__cta {
  background: var(--mustard) !important;
  color: var(--cobalt) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.1s !important;
}

.nav__cta:hover {
  background: var(--mustard-hover) !important;
}

.nav__cta:active {
  transform: scale(0.98);
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--cobalt);
  padding: 24px;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav__mobile.open {
  display: flex;
}

.nav__mobile a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: block;
}

.nav__mobile a:last-child {
  border-bottom: none;
}

.nav__mobile a:hover {
  color: var(--white);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  text-decoration: none;
  line-height: 1;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--mustard);
  color: var(--cobalt);
  padding: 14px 28px;
}

.btn--primary:hover {
  background: var(--mustard-hover);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  color: var(--cobalt);
}

.btn--secondary {
  background: transparent;
  color: var(--cobalt);
  padding: 12px 26px;
  border: 2px solid var(--cobalt);
}

.btn--secondary:hover {
  background: var(--cobalt);
  color: var(--white);
}

.btn--secondary-light {
  background: transparent;
  color: var(--white);
  padding: 12px 26px;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--secondary-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn--full {
  width: 100%;
}

/* --- Cards --- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-warm);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card--hover:hover {
  border-color: var(--mustard);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.card__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  line-height: 1;
}

.card__badge--beginner {
  background: var(--sage);
  color: var(--white);
}

.card__badge--intermediate {
  background: var(--cobalt);
  color: var(--white);
}

.card__badge--actu {
  background: var(--mustard);
  color: var(--cobalt);
}

.card__meta {
  font-size: 13px;
  color: #787774;
  margin-top: 8px;
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--cobalt);
  margin-top: 12px;
  line-height: 1.35;
}

.card__excerpt {
  font-size: 15px;
  color: #555;
  margin-top: 8px;
  line-height: 1.55;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cobalt);
  margin-top: 16px;
  text-decoration: none;
}

.card__link::after {
  content: '\2192';
  transition: transform 0.2s;
}

.card__link:hover::after {
  transform: translateX(3px);
}

/* --- Encadré pédagogique « Conseil de Florian » --- */
.conseil {
  background: var(--off-white);
  border-left: 4px solid var(--mustard);
  border-radius: 0 8px 8px 0;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.conseil__avatar {
  width: 56px;
  min-width: 56px;
  height: 56px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 2px solid var(--gray-warm);
  flex-shrink: 0;
}

.conseil__content {
  flex: 1;
}

.conseil__label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--cobalt);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.conseil__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 16px;
  line-height: 1.6;
  color: var(--anthracite);
}

/* --- Hero --- */
.hero {
  padding: 140px 0 80px;
  background: var(--cobalt);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(227, 180, 72, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--cobalt-text-secondary);
  margin-top: 20px;
  line-height: 1.6;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__character {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero__character img {
  max-height: 420px;
  width: auto;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.3));
}

/* --- Simulator --- */
.simulator {
  background: var(--white);
  border: 1px solid var(--gray-warm);
  border-radius: 8px;
  padding: 32px;
  max-width: 640px;
  margin: 0 auto;
}

.simulator__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.simulator__field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--anthracite);
  margin-bottom: 6px;
}

.simulator__field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-warm);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.simulator__field input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(26, 43, 60, 0.1);
}

.simulator__result {
  margin-top: 24px;
  padding: 20px;
  background: var(--off-white);
  border-radius: 8px;
  display: none;
  align-items: center;
  gap: 16px;
}

.simulator__result.visible {
  display: flex;
}

.simulator__result-icon {
  width: 64px;
  min-width: 64px;
  height: 64px;
  object-fit: cover;
  object-position: top;
}

.simulator__result-text {
  flex: 1;
}

.simulator__result-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  color: var(--red-alert);
  line-height: 1.2;
}

.simulator__result-label {
  font-size: 14px;
  color: #787774;
  margin-top: 4px;
}

/* --- Lead magnet --- */
.lead-magnet {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.lead-magnet__form {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.lead-magnet__form input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--gray-warm);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  transition: border-color 0.2s;
}

.lead-magnet__form input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(26, 43, 60, 0.1);
}

.lead-magnet__disclaimer {
  font-size: 13px;
  color: #787774;
  margin-top: 10px;
}

/* --- Book block --- */
.book-block {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: center;
}

.book-block__cover {
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.book-block__benefits {
  list-style: none;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.book-block__benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.5;
}

.book-block__benefits li::before {
  content: '';
  display: block;
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--sage);
  position: relative;
}

.book-block__benefits li::after {
  content: '';
  position: absolute;
}

/* --- Articles grid --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- FAQ --- */
.faq__item {
  border-bottom: 1px solid var(--gray-warm);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--cobalt);
  text-align: left;
  line-height: 1.4;
}

.faq__icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--gray-warm);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq__item.open .faq__answer {
  max-height: 300px;
}

.faq__answer-inner {
  padding-bottom: 20px;
  font-size: 16px;
  line-height: 1.65;
  color: #555;
}

/* --- Footer --- */
.footer {
  background: var(--cobalt);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
}

.footer__brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__desc {
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
}

.footer__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer__affiliate {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 24px;
  max-width: 640px;
}

/* --- Page header (inner pages) --- */
.page-header {
  padding: 120px 0 48px;
  background: var(--cobalt);
  color: var(--white);
}

.page-header h1 {
  color: var(--white);
}

.page-header p {
  color: var(--cobalt-text-secondary);
  margin-top: 12px;
  max-width: 560px;
}

/* --- Scroll animations --- */
/* Elements above the fold are visible immediately (no animation) */
.hero .reveal,
.hero .reveal-stagger,
.page-header .reveal {
  opacity: 1;
  transform: none;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }

/* Reduced motion: disable all reveal animations */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- Tool cards (Outils page) --- */
.tool-card {
  background: var(--white);
  border: 1px solid var(--gray-warm);
  border-radius: 8px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tool-card:hover {
  border-color: var(--mustard);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.tool-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--cobalt);
}

.tool-card__desc {
  font-size: 15px;
  color: #555;
  margin-top: 6px;
  line-height: 1.55;
}

.tool-card__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(107, 143, 113, 0.12);
  color: var(--sage);
}

/* --- About page --- */
.about-intro {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.about-intro__photo {
  border-radius: 8px;
  border: 1px solid var(--gray-warm);
  background: var(--white);
  padding: 16px;
}

.about-intro__photo img {
  width: 100%;
}

/* --- Section titles --- */
.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title p {
  color: #787774;
  margin-top: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 8px;
}

/* --- Divider --- */
.divider {
  width: 48px;
  height: 3px;
  background: var(--mustard);
  border-radius: 2px;
  margin: 24px 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* --- Guides filter --- */
.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 16px;
  border: 1px solid var(--gray-warm);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--anthracite);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.filter-btn:hover {
  border-color: var(--cobalt);
}

.filter-btn.active {
  background: var(--cobalt);
  border-color: var(--cobalt);
  color: var(--white);
}

/* --- Checkmark for lists --- */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.5;
}

.check-list li::before {
  content: '';
  width: 22px;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

/* --- Reviews --- */
.review {
  background: var(--off-white);
  border-radius: 8px;
  padding: 24px;
  border: 1px solid var(--gray-warm);
}

.review__stars {
  color: var(--mustard);
  font-size: 16px;
  letter-spacing: 2px;
}

.review__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  margin-top: 12px;
  color: var(--anthracite);
}

.review__author {
  font-size: 13px;
  font-weight: 600;
  color: #787774;
  margin-top: 12px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  :root {
    --section-padding: 64px;
  }

  .hero__grid {
    grid-template-columns: 1fr 280px;
    gap: 32px;
  }

  .hero__character img {
    max-height: 340px;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .about-intro {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }

  body {
    font-size: 16px;
  }

  /* Nav mobile */
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 100px 0 48px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__character {
    justify-content: center;
    margin-top: 16px;
  }

  .hero__character img {
    max-height: 280px;
  }

  /* Content grids */
  .book-block {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-block__cover {
    max-width: 200px;
    margin: 0 auto;
  }

  .book-block__benefits {
    text-align: left;
  }

  .lead-magnet {
    grid-template-columns: 1fr;
  }

  .lead-magnet__form {
    flex-direction: column;
  }

  .simulator__fields {
    grid-template-columns: 1fr;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro__photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .tool-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* CTA full width mobile */
  .btn--primary,
  .btn--secondary {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .conseil {
    flex-direction: column;
    gap: 12px;
  }

  .conseil__avatar {
    width: 48px;
    min-width: 48px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
}

/* ============================================
   CALCULATORS (outils.html)
   ============================================ */

.calc {
  max-width: 880px;
  margin: 0 auto;
}

/* --- Tab bar --- */
.calc-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--gray-warm);
  margin-bottom: 40px;
  overflow-x: auto;
  scrollbar-width: none;
}

.calc-tabs::-webkit-scrollbar {
  display: none;
}

.calc-tab {
  position: relative;
  flex: 0 0 auto;
  padding: 16px 24px;
  background: transparent;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(44, 44, 44, 0.55);
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-tab:hover {
  color: var(--anthracite);
}

.calc-tab.active {
  color: var(--cobalt);
  font-weight: 600;
}

.calc-tab.active::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 3px;
  background: var(--mustard);
  border-radius: 3px 3px 0 0;
}

/* --- Panels --- */
.calc-panel {
  background: var(--white);
  border: 1px solid var(--gray-warm);
  border-radius: 8px;
  padding: 40px;
  animation: calc-fade 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-panel[hidden] {
  display: none;
}

@keyframes calc-fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.calc-panel__intro {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 18px;
  color: rgba(44, 44, 44, 0.72);
  line-height: 1.5;
  max-width: 640px;
  margin-bottom: 32px;
}

.calc-panel h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(44, 44, 44, 0.55);
  margin-bottom: 16px;
}

.calc-btn-wrap {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.calc-btn-wrap .btn--primary {
  min-width: 240px;
}

/* --- Results: horizon cards (simulator 1) --- */
.calc-results {
  margin-top: 40px;
  display: none;
}

.calc-results.visible {
  display: block;
}

.calc-horizon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-horizon-card {
  background: var(--off-white);
  border: 1px solid var(--gray-warm);
  border-radius: 8px;
  padding: 20px 24px;
  transition: box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.calc-horizon-card:hover {
  box-shadow: 0 2px 8px rgba(26, 43, 60, 0.04);
}

.calc-horizon-card__label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(44, 44, 44, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-horizon-card__amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 30px;
  color: var(--cobalt);
  line-height: 1.15;
  margin-top: 6px;
}

.calc-horizon-card__meta {
  font-size: 13px;
  color: rgba(44, 44, 44, 0.65);
  margin-top: 6px;
}

.calc-progress-bar {
  display: flex;
  height: 6px;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 14px;
  background: var(--gray-light);
}

.calc-progress-bar__paid {
  background: var(--gray-warm);
}

.calc-progress-bar__gain {
  background: var(--mustard);
}

/* --- Compound interest chart (simulator 1) --- */
.calc-chart {
  margin-top: 32px;
  background: #FBFBFA;
  color: var(--anthracite);
  border: 1px solid var(--gray-warm);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.calc-chart__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-chart__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(44, 44, 44, 0.55);
  font-weight: 500;
}

.calc-chart__amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 44px;
  line-height: 1.05;
  color: var(--cobalt);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.calc-chart__totals {
  display: flex;
  gap: 32px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.calc-chart__totals-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-chart__totals-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(44, 44, 44, 0.6);
}

.calc-chart__totals-val {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  color: var(--anthracite);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.calc-chart__body {
  display: flex;
  gap: 12px;
  height: 280px;
}

.calc-chart__ylabels {
  position: relative;
  width: 52px;
  flex-shrink: 0;
}

.calc-chart__ylabels span {
  position: absolute;
  right: 0;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(44, 44, 44, 0.45);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.calc-chart__chart-col {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  cursor: crosshair;
}

/* Cursor line + dots (shown on hover) */
.calc-chart__cursor-line {
  stroke: var(--cobalt);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0;
  transition: opacity 0.15s ease;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.calc-chart__cursor-dot {
  opacity: 0;
  transition: opacity 0.15s ease;
  stroke: #FBFBFA;
  stroke-width: 2;
  pointer-events: none;
}

.calc-chart__cursor-dot--paid { fill: var(--cobalt); }
.calc-chart__cursor-dot--gain { fill: var(--mustard); }

.calc-chart__chart-col.is-hovering .calc-chart__cursor-line,
.calc-chart__chart-col.is-hovering .calc-chart__cursor-dot {
  opacity: 1;
}

/* Tooltip */
.calc-chart__tooltip {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 180px;
  background: var(--cobalt);
  color: var(--off-white);
  border-radius: 8px;
  padding: 12px 14px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 18px rgba(26, 43, 60, 0.18);
  z-index: 2;
}

.calc-chart__chart-col.is-hovering .calc-chart__tooltip {
  opacity: 1;
  transform: translateY(0);
}

.calc-chart__tooltip-eyebrow {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 249, 247, 0.55);
  font-weight: 500;
  margin-bottom: 8px;
}

.calc-chart__tooltip-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-chart__tooltip-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(250, 249, 247, 0.75);
}

.calc-chart__tooltip-row--total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(250, 249, 247, 0.12);
  color: var(--off-white);
}

.calc-chart__tooltip-key {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.calc-chart__tooltip-val {
  font-weight: 600;
  color: var(--off-white);
  font-variant-numeric: tabular-nums;
}

.calc-chart__tooltip .calc-chart__dot {
  width: 7px;
  height: 7px;
}

.calc-chart__svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.calc-chart__grid {
  stroke: rgba(44, 44, 44, 0.12);
  stroke-width: 1;
  stroke-dasharray: 2 6;
}

.calc-chart__area--paid {
  fill: rgba(26, 43, 60, 0.08);
}

.calc-chart__area--gain {
  fill: rgba(227, 180, 72, 0.16);
}

.calc-chart__line--paid {
  fill: none;
  stroke: var(--cobalt);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.calc-chart__line--gain {
  fill: none;
  stroke: var(--mustard);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.calc-chart__xlabels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(44, 44, 44, 0.5);
  letter-spacing: 0.04em;
  margin-top: 10px;
  margin-left: 64px; /* 52px ylabels + 12px gap */
}

@media (max-width: 640px) {
  .calc-chart__xlabels {
    margin-left: 50px; /* 42px + 8px gap */
  }
}

.calc-chart__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.calc-chart__dot--paid { background: var(--cobalt); }
.calc-chart__dot--gain { background: var(--mustard); }

.calc-chart__horizons {
  display: inline-flex;
  gap: 0;
  align-self: flex-start;
  border: 1px solid var(--gray-warm);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.calc-chart__horizon {
  background: transparent;
  border: none;
  border-right: 1px solid var(--gray-warm);
  color: rgba(44, 44, 44, 0.65);
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.calc-chart__horizon:last-child {
  border-right: none;
}

.calc-chart__horizon:hover {
  color: var(--cobalt);
  background: rgba(26, 43, 60, 0.03);
}

.calc-chart__horizon.active {
  background: var(--cobalt);
  color: var(--off-white);
}

@media (max-width: 640px) {
  .calc-chart {
    padding: 24px 20px;
    gap: 24px;
  }
  .calc-chart__amount {
    font-size: 34px;
  }
  .calc-chart__totals {
    gap: 20px;
  }
  .calc-chart__body {
    height: 220px;
    gap: 8px;
  }
  .calc-chart__ylabels {
    width: 42px;
  }
  .calc-chart__horizons {
    align-self: stretch;
  }
  .calc-chart__horizon {
    flex: 1;
    padding: 10px 8px;
  }
}

/* --- Expenses rows (simulator 2) --- */
.calc-expenses {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-expense-row {
  display: grid;
  grid-template-columns: 1fr 140px 132px;
  gap: 12px;
  align-items: center;
}

.calc-expense-row label {
  font-size: 14px;
  color: var(--anthracite);
  font-weight: 500;
}

.calc-expense-row input[type="number"] {
  width: 100%;
  padding: 10px 30px 10px 12px;
  border: 1px solid var(--gray-warm);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-expense-row input[type="number"]:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 3px rgba(26, 43, 60, 0.08);
}

.calc-expense-input {
  position: relative;
  display: block;
}

.calc-expense-input__suffix {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: var(--anthracite);
  opacity: 0.55;
  pointer-events: none;
  font-family: var(--font-body);
}

.calc-toggle {
  display: flex;
  background: var(--gray-light);
  border-radius: 6px;
  padding: 3px;
  height: 40px;
}

.calc-toggle input {
  display: none;
}

.calc-toggle label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: rgba(44, 44, 44, 0.65);
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 0;
}

.calc-toggle input:checked + label {
  background: var(--white);
  color: var(--cobalt);
  box-shadow: 0 1px 3px rgba(26, 43, 60, 0.06);
}

.calc-disclosure {
  display: inline-block;
  margin-top: 20px;
  background: transparent;
  border: none;
  color: var(--cobalt);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px dashed var(--gray-warm);
  transition: border-color 0.2s;
}

.calc-disclosure:hover {
  border-bottom-color: var(--cobalt);
}

.calc-section-divider {
  height: 1px;
  background: var(--gray-warm);
  margin: 24px 0;
}

/* --- Emergency fund result --- */
.calc-emergency-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-emergency-card {
  background: var(--off-white);
  border: 1px solid var(--gray-warm);
  border-radius: 8px;
  padding: 24px;
}

.calc-emergency-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.calc-emergency-card__badge--sage {
  background: rgba(107, 143, 113, 0.15);
  color: var(--sage);
}

.calc-emergency-card__badge--mustard {
  background: rgba(227, 180, 72, 0.18);
  color: #8a6a1c;
}

.calc-emergency-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--cobalt);
  margin-bottom: 4px;
}

.calc-emergency-card__amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 34px;
  color: var(--cobalt);
  line-height: 1.1;
  margin-top: 8px;
}

.calc-emergency-card__sub {
  font-size: 13px;
  color: rgba(44, 44, 44, 0.6);
  margin-top: 6px;
}

.calc-emergency-recap {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--gray-light);
  border-radius: 8px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 15px;
  color: var(--anthracite);
  line-height: 1.5;
}

.calc-emergency-recap strong {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  color: var(--cobalt);
}

/* --- Insurance comparator (simulator 3) --- */
.calc-contract-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.calc-contract-card {
  background: var(--off-white);
  border: 1px solid var(--gray-warm);
  border-radius: 8px;
  padding: 20px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.calc-contract-card.winner {
  border-color: var(--mustard);
  box-shadow: 0 0 0 3px rgba(227, 180, 72, 0.12);
}

.calc-contract-card input[type="text"],
.calc-contract-card input[type="number"] {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--gray-warm);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 14px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-contract-card input:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 2px rgba(26, 43, 60, 0.08);
}

.calc-contract-card__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.calc-contract-card__name input {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.calc-field-group label {
  font-size: 12px;
  color: rgba(44, 44, 44, 0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.calc-field-group label input {
  max-width: 90px;
  text-align: right;
}

.calc-verdict {
  margin-top: 32px;
  padding: 24px;
  background: var(--off-white);
  border: 1px solid var(--gray-warm);
  border-radius: 8px;
  display: none;
}

.calc-verdict.visible {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.calc-verdict__avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: cover;
  object-position: top;
}

.calc-verdict__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mustard-hover);
  margin-bottom: 6px;
}

.calc-verdict__text {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--anthracite);
}

.calc-verdict__text strong {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  color: var(--cobalt);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .calc-panel {
    padding: 28px 20px;
  }

  .calc-tab {
    padding: 14px 16px;
    font-size: 14px;
  }

  .calc-horizon-grid,
  .calc-emergency-result,
  .calc-contract-grid {
    grid-template-columns: 1fr;
  }

  .calc-expense-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-light);
  }

  .calc-expense-row label {
    margin-bottom: 2px;
  }

  .calc-horizon-card__amount,
  .calc-emergency-card__amount {
    font-size: 26px;
  }
}

/* ====== Assurance Vie comparatif — condensed list ====== */
.av-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
}

.av-item {
  background: #FDFCFA;
  border: 1px solid var(--gray-warm);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.av-item:hover {
  border-color: #B8B3AA;
}

.av-item[open] {
  border-color: var(--cobalt);
  box-shadow: 0 2px 12px rgba(26, 43, 60, 0.05);
}

.av-item--featured {
  border-color: rgba(26, 43, 60, 0.25);
}

.av-item__row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(340px, 2fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.av-item__row::-webkit-details-marker { display: none; }
.av-item__row::marker { content: ''; }

.av-item__primary {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.av-item__name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--cobalt);
  letter-spacing: -0.01em;
}

.av-item__issuer {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--anthracite);
  opacity: 0.55;
  letter-spacing: 0.01em;
}

.av-item__tags {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.av-item__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.av-item__kpi {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.av-item__kpi-label {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--anthracite);
  opacity: 0.55;
  white-space: nowrap;
}

.av-item__kpi-value {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--cobalt);
  font-variant-numeric: tabular-nums;
}

.av-item__kpi--warn .av-item__kpi-value {
  color: #B85C38;
}

.av-item__action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.av-item__action .btn {
  white-space: nowrap;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 13px;
}

.av-item__chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--anthracite);
  border-bottom: 1.5px solid var(--anthracite);
  transform: rotate(45deg);
  opacity: 0.4;
  transition: transform 0.25s ease, opacity 0.2s ease;
  margin-top: -4px;
}

.av-item[open] .av-item__chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
  opacity: 0.8;
}

.av-item__panel {
  padding: 4px 24px 24px;
  border-top: 1px dashed var(--gray-warm);
  margin-top: 0;
}

.av-item__panel .av-card__pitch {
  margin-top: 18px;
  margin-bottom: 20px;
}

.av-item__panel .av-groups {
  margin-top: 0;
}

/* --- Responsive --- */
@media (max-width: 960px) {
  .av-item__row {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "primary chevron"
      "kpis    kpis"
      "action  action";
    row-gap: 16px;
  }
  .av-item__primary { grid-area: primary; }
  .av-item__kpis    { grid-area: kpis; }
  .av-item__action  { grid-area: action; align-items: stretch; }
  .av-item__action .btn { width: 100%; text-align: center; }
  .av-item__chevron { grid-area: chevron; margin-top: 0; align-self: start; }
}

@media (max-width: 520px) {
  .av-item__kpis {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 18px;
  }
  .av-item__row {
    padding: 16px 18px;
  }
  .av-item__panel {
    padding: 4px 18px 20px;
  }
}

/* ====== Assurance Vie comparatif cards (legacy, kept for expanded groups) ====== */
.av-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.av-card {
  background: #FBFBFA;
  border: 1px solid var(--gray-warm);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.av-card:hover {
  border-color: rgba(26, 43, 60, 0.18);
  box-shadow: 0 2px 12px rgba(26, 43, 60, 0.04);
}

.av-card--featured {
  background: var(--white);
  border-color: rgba(26, 43, 60, 0.16);
}

.av-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.av-card__tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.av-card__name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--cobalt);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.av-card__issuer {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(44, 44, 44, 0.6);
  letter-spacing: 0.01em;
}

.av-card__tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(44, 44, 44, 0.06);
  color: rgba(44, 44, 44, 0.7);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.av-card__tag--primary {
  background: rgba(227, 180, 72, 0.18);
  color: #8A6B1F;
}

.av-card__tag--level {
  background: rgba(107, 143, 113, 0.18);
  color: #3F6246;
}

.av-card__tag--level-adv {
  background: rgba(26, 43, 60, 0.10);
  color: var(--cobalt);
}

.av-disclaimer {
  margin-top: 32px;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--anthracite);
  opacity: 0.7;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.av-card__pitch {
  font-size: 15px;
  color: var(--anthracite);
  line-height: 1.55;
  max-width: 720px;
  margin: 0;
}

.av-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.av-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.av-group__heading {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(44, 44, 44, 0.55);
  font-weight: 500;
  padding-left: 2px;
}

.av-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-warm);
  border: 1px solid var(--gray-warm);
  border-radius: 8px;
  overflow: hidden;
}

.av-stats--2 {
  grid-template-columns: repeat(2, 1fr);
}

.av-stat {
  background: #FBFBFA;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.av-card--featured .av-stat {
  background: var(--white);
}

.av-stat__label {
  font-size: 11px;
  color: rgba(44, 44, 44, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.av-stat__value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  color: var(--cobalt);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.av-stat--warn .av-stat__value {
  color: #9F5C2D;
}

.av-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(44, 44, 44, 0.08);
}

.av-details__col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.av-details__heading {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(44, 44, 44, 0.55);
  font-weight: 500;
  margin-bottom: 10px;
  padding-top: 12px;
}

.av-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(44, 44, 44, 0.06);
  font-size: 14px;
}

.av-row:last-child {
  border-bottom: none;
}

.av-row dt {
  color: rgba(44, 44, 44, 0.65);
}

.av-row dd {
  margin: 0;
  color: var(--anthracite);
  font-weight: 500;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.av-card__footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(44, 44, 44, 0.08);
  margin-top: 4px;
}

.av-card__footer .btn {
  margin-top: 8px;
}

.av-card__affiliate {
  font-size: 12px;
  color: rgba(44, 44, 44, 0.55);
  letter-spacing: 0.02em;
}

.btn--ghost {
  background: var(--white);
  color: var(--anthracite);
  border: 1px solid var(--gray-warm);
  padding: 11px 22px;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn--ghost:hover {
  border-color: var(--cobalt);
  color: var(--cobalt);
  background: var(--white);
  box-shadow: none;
}

@media (max-width: 768px) {
  .av-card {
    padding: 24px 20px;
    gap: 20px;
  }
  .av-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .av-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .av-card__name {
    font-size: 20px;
  }
  .av-stat__value {
    font-size: 19px;
  }
}


/* ====== Article page — minimalist editorial ====== */
.article {
  background: var(--white);
}

.article__header {
  background: var(--off-white);
  padding: 128px 0 64px;
  border-bottom: 1px solid var(--gray-warm);
  position: relative;
}

.article__header::before {
  content: '';
  position: absolute;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 2px;
  background: var(--mustard);
  max-width: calc(var(--container-narrow) - 48px);
}

.article__header .container {
  position: relative;
}

.article__meta {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--anthracite);
  opacity: 0.55;
  margin-bottom: 32px;
}

.article__meta a {
  color: var(--cobalt);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, opacity 0.2s;
}

.article__meta a:hover {
  border-bottom-color: var(--cobalt);
}

.article__category {
  color: var(--cobalt);
  font-weight: 600;
}

.article__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--cobalt);
  margin: 0 0 28px;
  max-width: 760px;
  text-wrap: balance;
}

.article__lede {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(19px, 1.9vw, 23px);
  line-height: 1.5;
  color: var(--anthracite);
  opacity: 0.78;
  max-width: 640px;
  margin: 0;
}

/* --- Body --- */
.article__body {
  padding-top: 64px;
  padding-bottom: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.78;
  color: var(--anthracite);
  max-width: 660px;
  margin: 0 auto;
}

.article__body > * {
  max-width: 100%;
}

/* Drop cap on first paragraph */
.article__body > p:first-of-type::first-letter {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 500;
  font-style: normal;
  float: left;
  font-size: 64px;
  line-height: 0.9;
  padding: 6px 12px 0 0;
  color: var(--cobalt);
}

.article__body h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--cobalt);
  margin: 64px 0 20px;
  position: relative;
  padding-top: 16px;
}

.article__body h2::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--mustard);
  margin-bottom: 18px;
}

.article__body p {
  margin: 0 0 24px;
}

/* --- FAQ section (h2 "FAQ" + h3 questions) --- */
.article__body .article__faq-title {
  margin-top: 80px;
  padding-top: 0;
  font-size: clamp(20px, 2.4vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
}

.article__body .article__faq-title::before {
  width: 40px;
}

.article__body h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--cobalt);
  margin: 36px 0 12px;
  padding-left: 36px;
  position: relative;
}

.article__body h3::before {
  content: 'Q.';
  position: absolute;
  left: 0;
  top: 1px;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--mustard);
  letter-spacing: 0;
}

.article__body h3 + p {
  padding-left: 36px;
  position: relative;
  color: var(--anthracite);
  margin-bottom: 32px;
}

.article__body h3 + p::before {
  content: 'R.';
  position: absolute;
  left: 0;
  top: 1px;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--cobalt);
  opacity: 0.55;
}

.article__body h3 + p + p {
  padding-left: 36px;
  margin-bottom: 32px;
}

@media (max-width: 720px) {
  .article__body h3 {
    padding-left: 28px;
    font-size: 18px;
  }
  .article__body h3 + p,
  .article__body h3 + p + p {
    padding-left: 28px;
  }
  .article__body h3::before,
  .article__body h3 + p::before {
    font-size: 16px;
  }
}

.article__body strong {
  color: var(--cobalt);
  font-weight: 600;
  background-image: linear-gradient(to top, rgba(227,180,72,0.22) 0%, rgba(227,180,72,0.22) 32%, transparent 32%);
  padding: 0 2px;
  border-radius: 1px;
}

.article__body em {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 1.05em;
  color: var(--cobalt);
}

.article__body ul,
.article__body ol {
  margin: 0 0 28px;
  padding-left: 0;
  list-style: none;
}

.article__body ul li,
.article__body ol li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.article__body ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mustard);
}

.article__body ol {
  counter-reset: ol-counter;
}

.article__body ol li {
  counter-increment: ol-counter;
}

.article__body ol li::before {
  content: counter(ol-counter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--mustard);
  letter-spacing: 0.04em;
}

.article__body blockquote {
  margin: 40px 0;
  padding: 0 0 0 32px;
  border-left: 3px solid var(--mustard);
  background: transparent;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.5;
  color: var(--cobalt);
  border-radius: 0;
}

.article__body blockquote p {
  margin: 0;
}

.article__sep {
  border: none;
  height: 24px;
  margin: 48px auto;
  width: 100%;
  max-width: 200px;
  position: relative;
  background: none;
}

.article__sep::before {
  content: '· · ·';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-size: 18px;
  letter-spacing: 0.6em;
  color: var(--gray-warm);
  padding-left: 0.6em; /* compensate spacing */
}

/* End-of-article book CTA — compact editorial */
.article__cta {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 64px 0 0;
  padding: 24px 28px 24px 24px;
  background: var(--off-white);
  border: 1px solid var(--gray-warm);
  border-left: 2px solid var(--mustard);
  border-radius: 8px;
  max-width: 100%;
}

.article__cta-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  margin-top: 2px;
}

.article__cta-body {
  flex: 1;
  min-width: 0;
}

.article__cta-eyebrow {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--anthracite);
  opacity: 0.65;
  margin: 0 0 2px !important;
  padding: 0 !important;
}

.article__cta-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--cobalt);
  margin: 0 0 10px !important;
  padding: 0 !important;
}

.article__cta-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--anthracite);
  margin: 0 0 8px !important;
  padding: 0 !important;
  max-width: 100% !important;
}

.article__cta-text em {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  color: var(--cobalt);
}

.article__cta-pricing {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--anthracite);
  opacity: 0.6;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

.article__cta-btn {
  padding: 9px 18px;
  font-size: 13.5px;
}

@media (max-width: 560px) {
  .article__cta {
    flex-direction: column;
    gap: 14px;
    padding: 20px;
  }
  .article__cta-avatar {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 720px) {
  .article__header {
    padding: 96px 0 44px;
  }
  .article__header::before {
    top: 72px;
    width: 28px;
  }
  .article__body {
    font-size: 17px;
    line-height: 1.72;
    padding-top: 44px;
  }
  .article__body > p:first-of-type::first-letter {
    font-size: 52px;
  }
  .article__body h2 {
    margin: 44px 0 16px;
  }
  .article__body blockquote {
    padding-left: 22px;
    font-size: 19px;
  }
  .article .conseil {
    padding: 24px;
  }
}

/* ====== Guides — featured + archive minimalist ====== */
.articles-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mustard);
  margin: 40px 0 18px;
}

.articles-eyebrow--spaced {
  margin-top: 64px;
}

.articles-feature-wrap {
  margin-bottom: 8px;
}

.article-feature {
  display: block;
  padding: 36px 40px;
  background: var(--off-white);
  border: 1px solid var(--gray-warm);
  border-left: 2px solid var(--mustard);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.article-feature:hover {
  border-color: var(--cobalt);
  box-shadow: 0 2px 16px rgba(26, 43, 60, 0.06);
}

.article-feature__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.article-feature__date {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--anthracite);
  opacity: 0.65;
  letter-spacing: 0.01em;
}

.article-feature__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--cobalt);
  margin: 0 0 14px;
  max-width: 760px;
  text-wrap: balance;
}

.article-feature__excerpt {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--anthracite);
  opacity: 0.8;
  margin: 0 0 18px;
  max-width: 680px;
}

.article-feature__link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cobalt);
  text-decoration: none;
  letter-spacing: 0.01em;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.article-feature:hover .article-feature__link {
  border-bottom-color: var(--cobalt);
}

/* Archive (collapsed list) */
.article-archive {
  margin-top: 56px;
  border-top: 1px solid var(--gray-warm);
  padding-top: 4px;
}

.article-archive__toggle {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--cobalt);
  user-select: none;
}

.article-archive__toggle::-webkit-details-marker { display: none; }
.article-archive__toggle::marker { content: ''; }

.article-archive__toggle:hover {
  color: var(--mustard);
}

.article-archive__chevron {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -3px;
}

.article-archive[open] .article-archive__chevron {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.article-archive__list {
  padding: 8px 0 24px;
}

.article-archive__year-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--mustard);
  margin: 24px 0 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--gray-warm);
}

.article-archive__year-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-archive__group {
  display: flex;
  flex-direction: column;
}

.article-archive__row {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--gray-warm);
  text-decoration: none;
  color: var(--anthracite);
  transition: background 0.15s, color 0.15s;
}

.article-archive__row:last-child {
  border-bottom: none;
}

.article-archive__row:hover {
  background: var(--off-white);
  color: var(--cobalt);
}

.article-archive__date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--anthracite);
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.article-archive__row:hover .article-archive__date {
  opacity: 0.8;
}

.article-archive__title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.4;
  color: var(--cobalt);
  letter-spacing: -0.005em;
}

.article-archive__row .card__badge {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .article-feature {
    padding: 28px 24px;
  }
  .article-archive__row {
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    padding: 16px 4px;
  }
  .article-archive__date {
    grid-column: 1 / 3;
    margin-bottom: 2px;
  }
  .article-archive__title {
    grid-column: 1;
  }
  .article-archive__row .card__badge {
    grid-column: 2;
    grid-row: 2;
  }
}

/* Utilitaire : une seule ligne sur desktop, retour a la ligne en mobile */
.nowrap-desktop {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .nowrap-desktop {
    white-space: normal;
  }
}

.av-card__tag--offer {
  background: var(--mustard);
  color: var(--cobalt);
  font-weight: 700;
}

/* ====== Encart offre (parrainage / lien partenaire) ====== */
.offer-note {
  padding: 14px 16px;
  background: rgba(227, 180, 72, 0.10);
  border: 1px solid rgba(227, 180, 72, 0.38);
  border-radius: 8px;
}
.av-item__panel .offer-note {
  margin-top: 18px;
  margin-bottom: 20px;
}
.offer-note__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8A6B1F;
  margin-bottom: 6px;
}
.offer-note__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--anthracite);
}
.offer-note__text a {
  color: #8A6B1F;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.offer-note__text a:hover {
  color: var(--mustard-hover);
}
.offer-code {
  display: inline-block;
  font-family: 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--cobalt);
  background: var(--white);
  border: 1px solid rgba(227, 180, 72, 0.55);
  border-radius: 4px;
  padding: 1px 8px;
  white-space: nowrap;
}

/* ====== Articles lies (maillage interne) ====== */
.article__updated {
  margin: 0 0 28px;
  padding: 12px 16px;
  border-left: 3px solid var(--cobalt);
  background: var(--gray-warm);
  border-radius: 0 6px 6px 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--anthracite);
}
.article__updated strong {
  color: var(--cobalt);
}

.article-related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-warm);
}
.article-related__title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--cobalt);
  margin-bottom: 24px;
}
.article__disclaimer {
  max-width: 660px;
  margin: 40px auto 0;
}
.article__disclaimer p {
  margin: 0;
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.65;
  color: var(--anthracite);
  opacity: 0.75;
}
/* ====== Cartes entierement cliquables (lien etire) ====== */
.card {
  position: relative;
}
.card--hover {
  cursor: pointer;
}
.card__link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.article-feature {
  position: relative;
  cursor: pointer;
}
.article-feature__link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Separateurs points masques : la barre jaune des h2 suffit */
.article__sep {
  display: none;
}
/* ====== Formulaire lead (simulateur Excel) ====== */
.fd-lead-form {
  flex-wrap: wrap;
}
.fd-lead-form .fd-lead-prenom,
.fd-lead-form .fd-lead-email {
  flex: 1 1 180px;
}
.fd-lead-form button {
  flex: 0 0 auto;
}
.fd-lead-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden;
}
.lead-magnet__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: #787774;
  cursor: pointer;
}
.lead-magnet__consent input {
  margin-top: 3px;
  flex: 0 0 auto;
}
.lead-magnet__consent a {
  color: var(--cobalt);
  text-decoration: underline;
}
.fd-lead-success {
  margin-top: 18px;
}
.fd-lead-success__msg {
  font-weight: 600;
  color: var(--cobalt);
  margin: 0 0 12px;
}