/* =========================================================
   Mathesis — styles.css
   Site vitrine / landing page
   Objectif : clarté, conversion, accessibilité, maintenance
   ========================================================= */


/* =========================================================
   1. Design tokens
   ========================================================= */

:root {
  /* Couleurs principales */
  --blue: #002958;
  --blue-2: #073b79;
  --gold: #d4af37;
  --gold-dark: #c49b24;
  --cream: #f5e8c7;
  --paper: #faf9f6;
  --ink: #2e2e2e;
  --muted: #626262;
  --white: #ffffff;
  --footer: #1f2328;

  /* Surfaces */
  --surface-cream: #f7f1df;
  --surface-soft: #f7f4ed;
  --surface-white: rgba(255, 255, 255, .96);

  /* Bordures */
  --border: rgba(0, 41, 88, .14);
  --border-strong: rgba(0, 41, 88, .22);
  --border-light: rgba(255, 255, 255, .18);

  /* Ombres */
  --shadow: 0 18px 45px rgba(0, 41, 88, .10);
  --shadow-soft: 0 12px 32px rgba(0, 41, 88, .08);
  --shadow-strong: 0 28px 80px rgba(0, 41, 88, .22);

  /* Rayons */
  --radius-sm: .75rem;
  --radius-md: 1rem;
  --radius-lg: 1.25rem;

  /* Layout */
  --container: 1160px;

  /* Typographies */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
}


/* =========================================================
   2. Reset & base
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

p,
ul,
ol,
figure,
blockquote {
  margin-top: 0;
}

p {
  margin-bottom: 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

h1,
h2,
h3 {
  margin: 0 0 1rem;
  color: var(--blue);
  line-height: 1.12;
}

h1,
h2 {
  font-family: var(--font-display);
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.35rem);
}

h2 {
  font-size: clamp(1.85rem, 3.25vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

strong {
  font-weight: 900;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, .22);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}


/* =========================================================
   3. Utilities
   ========================================================= */

.container {
  width: min(var(--container), 92vw);
  margin-inline: auto;
}

.narrow {
  max-width: 860px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 9999;
  padding: .75rem 1rem;
  background: var(--white);
  color: var(--blue);
  border: 3px solid var(--gold);
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .85rem;
  color: #8a6d16;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--gold);
}

.section-intro,
.section-lead,
.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.section-intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
}


/* =========================================================
   4. Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .85rem 1.2rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background-color .16s ease,
    color .16s ease,
    border-color .16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #1d1d1d;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-color: rgba(0, 0, 0, .12);
  box-shadow: 0 10px 24px rgba(212, 175, 55, .25);
}

.btn-primary:hover {
  color: #1d1d1d;
  background: linear-gradient(180deg, #dfbd49, var(--gold-dark));
}

.btn-secondary {
  color: var(--blue);
  background: transparent;
  border-color: var(--blue);
}

.btn-secondary:hover {
  color: var(--white);
  background: var(--blue);
}

.btn-on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, .62);
}

.btn-on-dark:hover {
  color: var(--blue);
  background: var(--white);
}

.btn-ghost {
  color: var(--blue);
  background: var(--white);
  border-color: rgba(0, 41, 88, .18);
}

.btn-small {
  min-height: 40px;
  padding: .62rem .9rem;
  font-size: .92rem;
}

.btn-full {
  width: 100%;
}


/* =========================================================
   5. Header & navigation
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 249, 246, .96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.topline {
  color: var(--white);
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  border-bottom: 1px solid rgba(212, 175, 55, .28);
  font-size: .88rem;
}

.topline-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.topline-message {
  margin: 0;
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, .94);
  font-weight: 800;
  line-height: 1.25;
}

.topline-message span:not(.topline-badge)::before {
  content: "·";
  margin-right: .7rem;
  color: rgba(212, 175, 55, .9);
  font-weight: 900;
}

.topline-badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .62rem;
  color: #1d1d1d;
  background: var(--gold);
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.topline-link {
  flex-shrink: 0;
  color: var(--cream);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 232, 199, .7);
  white-space: nowrap;
}

.topline-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 146px;
  text-decoration: none;
}

.brand-logo {
  width: 138px;
  max-height: 54px;
  object-fit: contain;
}

.brand-text {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-nav a:not(.btn) {
  padding: .45rem .1rem;
  color: var(--blue);
  font-size: .96rem;
  font-weight: 800;
  text-decoration: none;
}

.main-nav a:not(.btn):hover,
.main-nav a[aria-current="page"] {
  color: #876914;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: .75rem;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
  border-radius: 999px;
}


/* =========================================================
   6. Hero — accueil
   ========================================================= */

.hero {
  position: relative;
  overflow: hidden;
}

.hero-home {
  display: flex;
  align-items: center;
  min-height: 650px;
  padding: 3.7rem 0;
  color: var(--white);
  background:
    linear-gradient(
      to right,
      rgba(0, 41, 88, .68) 0%,
      rgba(0, 41, 88, .56) 34%,
      rgba(0, 41, 88, .18) 64%,
      rgba(0, 41, 88, .03) 100%
    ),
    url("../hero.png");
  background-size: cover, cover;
  background-position: left center, left center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 400px);
  gap: clamp(1.6rem, 3.6vw, 3rem);
  align-items: center;
}

.hero-copy {
  max-width: 680px;
}

.hero-home .eyebrow,
.hero-landing .eyebrow,
.final-cta .eyebrow {
  color: var(--cream);
}

.hero h1 {
  max-width: 16.5ch;
  margin-bottom: .9rem;
  color: var(--white);
  font-size: clamp(2.2rem, 3.55vw, 3.45rem);
  line-height: 1.04;
  letter-spacing: -.033em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 58ch;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, .94);
}

.hero-date {
  max-width: 620px;
  margin: 0 0 1rem;
  padding: .75rem .9rem;
  color: var(--white);
  background: rgba(212, 175, 55, .14);
  border: 1px solid rgba(212, 175, 55, .34);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 800;
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .24);
}

.hero-warning {
  max-width: 620px;
  margin: 0 0 1rem;
  padding: .85rem 1rem;
  color: var(--white);
  background: rgba(46, 46, 46, .38);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 750;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .28);
}

.hero-proof {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 1rem;
  padding: .5rem .8rem;
  color: var(--cream);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(212, 175, 55, .32);
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: .85rem;
}

.hero-actions .btn-primary {
  min-width: 250px;
}

.hero-reassurance,
.hero-urgency {
  color: rgba(255, 255, 255, .88);
}

.hero-reassurance {
  margin: .85rem 0 0;
  font-size: .94rem;
  line-height: 1.45;
}

.hero-urgency {
  margin-bottom: 1.45rem;
}


/* =========================================================
   7. Hero — landing / pages secondaires
   ========================================================= */

.page-hero {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(212, 175, 55, .12), transparent 55%),
    var(--paper);
}

.page-hero .lead {
  color: #4b5563;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-landing {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  color: var(--white);
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(212, 175, 55, .16), transparent 55%),
    linear-gradient(135deg, var(--blue), var(--blue-2));
}

.hero-grid-landing {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
}

.hero-landing .lead {
  max-width: 62ch;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-side {
  display: grid;
  gap: 1rem;
}

.profile-signal {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--ink);
  background: var(--surface-white);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.profile-signal img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 999px;
}

.profile-signal figcaption {
  display: grid;
  gap: .15rem;
}

.profile-signal figcaption strong {
  color: var(--blue);
}

.profile-signal figcaption span {
  color: var(--muted);
  font-weight: 700;
}

.profile-signal-compact img {
  width: 72px;
  height: 72px;
}


/* =========================================================
   8. Offer cards & pricing
   ========================================================= */

.offer-card,
.pricing-card,
.contact-card,
.profile-card,
.guarantee-box {
  color: var(--ink);
  background: rgba(250, 249, 246, .96);
  border: 1px solid rgba(0, 41, 88, .12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.offer-card {
  padding: 1.45rem;
  background: rgba(250, 249, 246, .97);
  border-color: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-strong);
}

.offer-label {
  display: inline-flex;
  margin: 0 0 .7rem;
  padding: .28rem .65rem;
  color: #6d5310;
  background: rgba(212, 175, 55, .18);
  border: 1px solid rgba(212, 175, 55, .38);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.offer-card h2 {
  margin-bottom: .65rem;
  color: var(--blue);
  font-size: 1.72rem;
}

.offer-card .btn {
  margin-top: .25rem;
}

.offer-benefit,
.offer-risk-reversal,
.offer-guarantee,
.offer-guarantee-compact {
  margin: 1rem 0 1.15rem;
  padding: .85rem 1rem;
  border-radius: var(--radius-sm);
  line-height: 1.45;
}

.offer-benefit {
  color: var(--blue);
  background: rgba(212, 175, 55, .14);
  border-left: 4px solid var(--gold);
  font-weight: 800;
}

.offer-risk-reversal,
.offer-guarantee,
.offer-guarantee-compact {
  color: #324052;
  background: rgba(0, 41, 88, .06);
  border: 1px solid rgba(0, 41, 88, .12);
  font-size: .92rem;
}

.offer-guarantee,
.offer-guarantee-compact {
  border-left: 4px solid var(--gold);
  font-weight: 700;
}

.offer-schedule {
  margin: 1rem 0;
  padding: .85rem 1rem;
  color: var(--blue);
  background: rgba(212, 175, 55, .12);
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: var(--radius-sm);
}

.offer-schedule p {
  margin: 0;
  line-height: 1.45;
}

.offer-schedule p + p {
  margin-top: .35rem;
}

.offer-list {
  margin-bottom: 1.25rem;
}

.price {
  margin: .5rem 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

.urgency-card {
  border-top: 5px solid var(--gold);
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pricing-card,
.contact-card,
.profile-card,
.guarantee-box {
  padding: 1.6rem;
}

.pricing-card h3,
.contact-card h2,
.profile-card h2,
.guarantee-box h3 {
  color: var(--blue);
}


/* =========================================================
   9. Sections & grids
   ========================================================= */

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.section-blue {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

.section-cream {
  background: var(--surface-cream);
}

.problem-section,
.risk-section {
  background: var(--surface-soft);
}

.fit-section {
  background: var(--paper);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 2.35rem;
  text-align: center;
}

.section-blue h2,
.section-blue h3 {
  color: var(--white);
}

.section-blue p {
  color: rgba(255, 255, 255, .9);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.split-centered {
  align-items: center;
}

.cards,
.testimonials-grid {
  display: grid;
  gap: 1.25rem;
}

.cards-3,
.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 1.55rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: .75rem;
  color: var(--blue);
  font-size: 1.28rem;
  line-height: 1.18;
}

.card p {
  margin-bottom: 0;
  color: #3f4650;
  font-size: 1.02rem;
  line-height: 1.58;
}

.small-card {
  padding: 1.35rem;
}

.section-cream .card h3 {
  font-size: 1.18rem;
}

.section-cream .card p {
  font-size: .98rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pillars article {
  padding: 1.35rem;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-md);
}

.pillars h3 {
  font-size: 1.22rem;
}

.pillars p {
  font-size: 1rem;
  line-height: 1.55;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-grid > div {
  padding: 1.3rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.metric-grid strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
  font-weight: 800;
}


/* =========================================================
   10. Lists, FAQ & program cards
   ========================================================= */

.check-list,
.fit-list,
.risk-list,
.final-cta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.fit-list li,
.risk-list li,
.final-cta-list li {
  position: relative;
  padding-left: 1.65rem;
}

.check-list li {
  margin-bottom: .55rem;
}

.check-list li::before,
.final-cta-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.check-list.light li {
  color: rgba(255, 255, 255, .92);
}

.check-panel,
.warning-box,
.strong-line {
  padding: 1.2rem 1.35rem;
  border-radius: var(--radius-md);
}

.check-panel {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.warning-box,
.strong-line {
  color: var(--blue);
  background: rgba(212, 175, 55, .13);
  border-left: 4px solid var(--gold);
  font-weight: 850;
}

.session-card {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.session-number {
  display: inline-flex;
  margin: 0 0 .8rem;
  padding: .25rem .65rem;
  color: #6d5310;
  background: rgba(212, 175, 55, .16);
  border: 1px solid rgba(212, 175, 55, .34);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.session-card h3 {
  color: var(--blue);
}

.session-card ul {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: .85rem;
  margin-top: 1.5rem;
}

.faq-list details {
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: .8rem 0 0;
  color: #3f4650;
}


/* =========================================================
   11. Fit section
   ========================================================= */

.fit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 1.4rem;
  align-items: stretch;
}

.fit-card {
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.fit-card h3 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 1.35rem;
}

.fit-card-positive {
  border-top: 5px solid var(--gold);
}

.fit-card-negative {
  background: #fbfaf7;
  border-top: 5px solid rgba(46, 46, 46, .35);
}

.fit-list li {
  padding-top: .48rem;
  padding-bottom: .48rem;
  padding-left: 1.75rem;
  line-height: 1.5;
}

.fit-list li::before {
  position: absolute;
  left: 0;
  top: .48rem;
  font-weight: 900;
}

.fit-card-positive .fit-list li::before {
  content: "✓";
  color: #8a6d16;
}

.fit-card-negative .fit-list li::before {
  content: "×";
  color: #7a2e2e;
}

.fit-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin-top: 1.4rem;
  padding: 1.2rem 1.35rem;
  background: rgba(212, 175, 55, .12);
  border: 1px solid rgba(212, 175, 55, .28);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-md);
}

.fit-note p {
  margin: 0;
  color: var(--blue);
  font-weight: 750;
}


/* =========================================================
   12. Risk section
   ========================================================= */

.risk-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.risk-card {
  padding: 1.6rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.risk-card h3 {
  margin-bottom: 1rem;
  color: var(--blue);
  font-size: 1.45rem;
}

.risk-list li {
  padding-top: .5rem;
  padding-bottom: .5rem;
  padding-left: 1.7rem;
  line-height: 1.5;
}

.risk-list li::before {
  content: "!";
  position: absolute;
  left: 0;
  top: .55rem;
  display: grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  color: #1d1d1d;
  background: var(--gold);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
}

.risk-conclusion {
  margin: 1.2rem 0 0;
  padding: .9rem 1rem;
  color: var(--blue);
  background: rgba(212, 175, 55, .13);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 850;
}


/* =========================================================
   13. Testimonials & proof blocks
   ========================================================= */

.proof-spotlight {
  background: var(--paper);
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.proof-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.testimonial {
  margin: 0;
  padding: 1.55rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.testimonial.featured,
.testimonial-large {
  border-left: 7px solid var(--gold);
}

.testimonial blockquote {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: 1.08rem;
  line-height: 1.75;
}

.testimonial figcaption {
  color: var(--blue);
  font-weight: 900;
}

.testimonial-large {
  position: relative;
  padding: 2rem 2.2rem;
  box-shadow: 0 22px 55px rgba(0, 41, 88, .12);
}

.testimonial-large::before {
  content: "“";
  position: absolute;
  top: -.35rem;
  left: 1rem;
  color: rgba(212, 175, 55, .22);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
}

.testimonial-large blockquote {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.75vw, 1.45rem);
  line-height: 1.48;
  letter-spacing: -.015em;
}

.testimonial-large figcaption {
  color: var(--ink);
}


/* =========================================================
   14. Authority section
   ========================================================= */

.authority-section {
  background:
    radial-gradient(700px 420px at 90% 10%, rgba(212, 175, 55, .14), transparent 55%),
    var(--surface-cream);
}

.authority-heading {
  max-width: 860px;
}

.authority-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  grid-template-areas:
    "main review"
    "main testimonial"
    "method testimonial";
  gap: 1.25rem;
}

.authority-main,
.authority-review,
.authority-testimonial,
.authority-method {
  background: var(--white);
  border: 1px solid rgba(0, 41, 88, .12);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.authority-main {
  grid-area: main;
  padding: clamp(1.6rem, 3vw, 2.25rem);
  border-top: 6px solid var(--gold);
}

.authority-main h3 {
  max-width: 13ch;
  margin-bottom: 1rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.65vw, 2.65rem);
  line-height: 1.07;
  letter-spacing: -.028em;
}

.authority-label {
  display: inline-flex;
  margin: 0 0 .85rem;
  padding: .28rem .65rem;
  color: #1d1d1d;
  background: rgba(212, 175, 55, .28);
  border: 1px solid rgba(212, 175, 55, .45);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.authority-list {
  display: grid;
  gap: .45rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.authority-list li {
  position: relative;
  padding-left: 1.6rem;
  color: #3f4650;
  font-weight: 700;
}

.authority-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 900;
}

.authority-review {
  grid-area: review;
  padding: 1.45rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
}

.authority-review h3 {
  margin-bottom: .6rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
}

.authority-review p {
  color: rgba(255, 255, 255, .88);
}

.authority-number {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(4rem, 7vw, 6rem);
  font-weight: 900;
  line-height: .85;
}

.authority-link {
  display: inline-flex;
  margin-top: .5rem;
  color: var(--cream);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 232, 199, .7);
}

.authority-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.authority-testimonial {
  grid-area: testimonial;
  position: relative;
  padding: 1.6rem;
  overflow: hidden;
}

.authority-testimonial::before {
  content: "“";
  position: absolute;
  top: -.45rem;
  left: .8rem;
  color: rgba(212, 175, 55, .16);
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
}

.authority-testimonial blockquote {
  position: relative;
  margin: 0 0 1rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.75vw, 1.45rem);
  line-height: 1.48;
  letter-spacing: -.015em;
}

.authority-source {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.authority-method {
  grid-area: method;
  padding: 1.45rem;
  background: #fffdf7;
}

.authority-method h3 {
  color: var(--blue);
  font-size: 1.35rem;
}

.authority-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
}

.authority-link-secondary {
  color: rgba(255, 255, 255, .82);
  border-bottom-color: rgba(255, 255, 255, .45);
}

.authority-link-secondary:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.footer-proof-link {
  margin: .75rem 0 0;
}

.footer-proof-link a {
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 232, 199, .55);
}

.footer-proof-link a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}


/* =========================================================
   15. CTA blocks
   ========================================================= */

.cta-band {
  padding: 3rem 0;
  color: var(--white);
  background: var(--blue);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, .88);
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.final-cta {
  padding: clamp(4rem, 7vw, 5.5rem) 0;
  color: var(--white);
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(212, 175, 55, .18), transparent 55%),
    linear-gradient(135deg, var(--blue), var(--blue-2));
}

.final-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.final-cta h2 {
  max-width: 12ch;
  margin-bottom: 1rem;
  color: var(--white);
}

.final-cta-copy p {
  max-width: 62ch;
  color: rgba(255, 255, 255, .9);
  font-size: 1.08rem;
}

.final-cta-list {
  display: grid;
  gap: .45rem;
  margin: 1.25rem 0 0;
}

.final-cta-list li {
  color: rgba(255, 255, 255, .92);
}

.final-cta-card {
  padding: 1.6rem;
  color: var(--ink);
  background: rgba(250, 249, 246, .97);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .22);
}

.final-cta-label {
  display: inline-flex;
  margin: 0 0 .8rem;
  padding: .25rem .65rem;
  color: #1d1d1d;
  background: var(--gold);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.final-cta-main {
  margin: 0;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
}

.final-cta-sub {
  margin: .55rem 0 1.25rem;
  color: #4b5563;
  font-weight: 750;
}

.final-cta-note {
  margin: .9rem 0 0;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}


/* =========================================================
   16. Footer
   ========================================================= */

.site-footer {
  padding: 3.5rem 0 6rem;
  color: var(--white);
  background: var(--footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr .8fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-identity {
  max-width: 360px;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo {
  width: 124px;
}

.footer-signature {
  margin: .75rem 0 .45rem;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: .6rem;
}

.site-footer a {
  color: var(--white);
}

.site-footer a:not(.btn):hover {
  color: var(--gold);
}

.site-footer address {
  font-style: normal;
}

.footer-muted {
  color: rgba(255, 255, 255, .76);
}

.footer-contact-card {
  display: grid;
  gap: .45rem;
  margin: .25rem 0 1rem;
  padding: .9rem 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
}

.footer-contact-label {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer-email {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.footer-email:hover {
  color: var(--gold);
}

.footer-socials,
.footer-social {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 1rem 0 1.1rem;
}

.footer-socials a,
.footer-social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: rgba(250, 249, 246, .25);
  border: 1px solid rgba(250, 249, 246, .25);
  border-radius: 999px;
  text-decoration: none;
  transition:
    transform .16s ease,
    background-color .16s ease,
    border-color .16s ease,
    box-shadow .16s ease;
}

.footer-socials a:hover,
.footer-social a:hover {
  background: rgba(212, 175, 55, .20);
  border-color: rgba(212, 175, 55, .65);
  box-shadow: 0 10px 24px rgba(212, 175, 55, .16);
  transform: translateY(-2px);
}

.footer-socials img,
.footer-social img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  color: rgba(255, 255, 255, .76);
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer .footer-diagnostic-btn {
  color: #1d1d1d;
  background: linear-gradient(180deg, var(--gold), var(--gold-dark));
  border-color: rgba(0, 0, 0, .12);
  box-shadow: 0 10px 24px rgba(212, 175, 55, .22);
}

.site-footer .footer-diagnostic-btn:hover,
.site-footer .footer-diagnostic-btn:focus-visible {
  color: #1d1d1d;
  background: linear-gradient(180deg, #dfbd49, var(--gold-dark));
  border-color: rgba(0, 0, 0, .16);
  box-shadow: 0 14px 32px rgba(212, 175, 55, .28);
}


/* =========================================================
   17. Cookie banner & mobile CTA
   ========================================================= */

.mobile-sticky-cta {
  display: none;
  position: fixed;
  z-index: 900;
  left: 0;
  right: 0;
  bottom: 0;
  padding: .7rem .9rem;
  background: rgba(250, 249, 246, .97);
  border-top: 1px solid var(--border);
}

.mobile-sticky-cta .btn {
  width: 100%;
}

.cookie-banner {
  position: fixed;
  z-index: 1200;
  right: 1rem;
  bottom: 1rem;
  width: min(430px, calc(100vw - 2rem));
  padding: .9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(0, 41, 88, .14);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-copy p,
.cookie-banner p {
  margin: .2rem 0;
  line-height: 1.35;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .85rem;
}

.cookie-actions .btn {
  min-height: 38px;
  padding: .55rem .8rem;
}


/* =========================================================
   18. Legal pages
   ========================================================= */

.legal-content h2 {
  margin-top: 2rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content a {
  color: var(--blue);
  font-weight: 800;
}


/* =========================================================
   19. Responsive — tablette
   ========================================================= */

@media (max-width: 980px) {
  .header-inner {
    min-height: 72px;
  }

  .brand {
    min-width: 122px;
  }

  .brand-logo {
    width: 116px;
    max-height: 48px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 35px rgba(0, 41, 88, .10);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a:not(.btn),
  .main-nav .btn {
    width: 100%;
    justify-content: flex-start;
    padding: .8rem .75rem;
  }

  .hero-home {
    position: relative;
    isolation: isolate;
    min-height: auto;
    padding: 3.25rem 0 3.75rem;
    color: var(--white);
    background:
      linear-gradient(
        90deg,
        rgba(0, 41, 88, .18) 0%,
        rgba(0, 41, 88, .42) 46%,
        rgba(0, 41, 88, .56) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 41, 88, .18) 0%,
        rgba(0, 41, 88, .42) 44%,
        rgba(0, 41, 88, .56) 100%
      ),
      url("../hero.png");
    background-size: auto 100%;
    background-position: left top;
    background-repeat: no-repeat;
  }

  .hero-grid,
  .hero-grid-landing,
  .split,
  .pricing-layout,
  .risk-grid,
  .footer-grid,
  .final-cta-inner,
  .proof-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .cards-3,
  .cards-4,
  .pillars,
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .offer-card {
    max-width: 560px;
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .authority-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "review"
      "testimonial"
      "method";
  }

  .authority-main h3,
  .final-cta h2 {
    max-width: none;
  }

  .mobile-sticky-cta {
    display: block;
  }
}

/* =========================================================
   21. Correctifs pages secondaires
   ========================================================= */

.page-hero-actions {
  margin-top: 1.4rem;
}

.page-hero-actions .btn + .btn {
  margin-left: .7rem;
}

.landing-hero {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  color: var(--white);
  background:
    radial-gradient(760px 460px at 88% 20%, rgba(212, 175, 55, .16), transparent 58%),
    linear-gradient(135deg, var(--blue), var(--blue-2));
}

.landing-hero h1 {
  color: var(--white);
  max-width: 13ch;
}

.landing-hero .eyebrow {
  color: var(--cream);
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 440px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.landing-offer {
  border-color: rgba(255, 255, 255, .55);
}

.proof-link-card {
  margin-top: 1.5rem;
  padding: 1.2rem 1.35rem;
  background: rgba(212, 175, 55, .10);
  border: 1px solid rgba(212, 175, 55, .28);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-md);
}

.proof-link-card p {
  margin-bottom: .85rem;
  color: var(--blue);
  font-weight: 800;
}

.contact-reassurance {
  margin-top: 1rem;
  padding: .9rem 1rem;
  color: var(--blue);
  background: rgba(212, 175, 55, .12);
  border: 1px solid rgba(212, 175, 55, .28);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  font-weight: 800;
}

.legal-alert {
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  color: var(--blue);
  background: rgba(212, 175, 55, .12);
  border: 1px solid rgba(212, 175, 55, .28);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-md);
  font-weight: 750;
}

.legal-content ul {
  margin-bottom: 1.2rem;
}

.legal-content li {
  margin-bottom: .4rem;
}

.thank-you-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 6px solid var(--gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.thank-you-card h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
}

.next-steps {
  display: grid;
  gap: .9rem;
  margin-top: 1.5rem;
}

.next-step {
  padding: 1rem 1.1rem;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.next-step strong {
  display: block;
  color: var(--blue);
  margin-bottom: .25rem;
}

.rate-highlight {
  color: var(--blue);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

.rate-sub {
  color: #4b5563;
  font-weight: 800;
}

@media (max-width: 980px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
  }

  .landing-offer {
    max-width: 560px;
  }
}

@media (max-width: 680px) {
  .page-hero-actions .btn {
    width: 100%;
  }

  .page-hero-actions .btn + .btn {
    margin-left: 0;
    margin-top: .7rem;
  }
}


/* =========================================================
   20. Responsive — mobile
   ========================================================= */

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

  .fit-note {
    flex-direction: column;
    align-items: flex-start;
  }

  .fit-note .btn {
    width: 100%;
  }

  .testimonial-large {
    padding: 1.5rem;
  }

  .final-cta-card {
    padding: 1.25rem;
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.6rem);
  }

  .topline {
    font-size: .8rem;
  }

  .topline-inner {
    min-height: auto;
    padding: .45rem 0;
    flex-direction: column;
    justify-content: center;
    gap: .25rem;
    text-align: center;
  }

  .topline-message {
    justify-content: center;
    gap: .35rem .55rem;
    font-size: .76rem;
    line-height: 1.3;
  }

  .topline-message span:not(.topline-badge)::before {
    margin-right: .55rem;
  }

  .topline-badge {
    font-size: .66rem;
  }

  .topline-link {
    font-size: .78rem;
  }

  .hero-home {
    position: relative;
    isolation: isolate;
    min-height: auto;
    padding: 3rem 0 3.25rem;
    color: var(--white);
    background: linear-gradient(180deg, var(--blue), var(--blue-2));
    overflow: hidden;
  }

  .hero-home::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../hero.png");
    background-repeat: no-repeat;
    background-size: auto 580px;
    background-position: left -72px top 144px;
    opacity: .55;
  }

  .hero-home::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(
        90deg,
        rgba(0, 41, 88, .18) 0%,
        rgba(0, 41, 88, .42) 46%,
        rgba(0, 41, 88, .56) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 41, 88, .02) 0%,
        rgba(0, 41, 88, .18) 36%,
        rgba(0, 41, 88, .42) 72%,
        rgba(0, 41, 88, 56) 100%
      );
  }

  .hero-copy {
    max-width: none;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8.4vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -.03em;
  }

  .hero-lead {
    font-size: 1.02rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .offer-card .btn,
  .cta-band .btn {
    width: 100%;
  }

  .hero-actions .btn-primary {
    min-width: 0;
  }

  .hero-proof {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .cards-3,
  .cards-4,
  .pillars,
  .metric-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-heading {
    margin-bottom: 1.8rem;
  }

  .profile-signal {
    align-items: flex-start;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cookie-banner {
    left: .75rem;
    right: .75rem;
    bottom: 5.7rem;
    width: auto;
  }

  .cookie-actions .btn {
    flex: 1;
  }
}
