/* ==========================================================================
   Sentaria — advertorial pour Conflulangues
   Police titres : Fraunces (auto-hébergée)
   Police texte  : Work Sans (auto-hébergée)
   ========================================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin.woff2") format("woff2");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/worksans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #1c2b45;
  --navy-dark: #131d30;
  --terracotta: #c1592c;
  --terracotta-dark: #a3481f;
  --gold: #f2c14e;
  --cream: #faf6ef;
  --cream-deep: #f2ead9;
  --ink: #22242b;
  --ink-soft: #4b4f5a;
  --line: #e2dac9;
  --white: #ffffff;
  --max-width: 760px;
  --wide-width: 1080px;
  --radius: 10px;
  --shadow-soft: 0 12px 32px rgba(28, 43, 69, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p {
  margin: 0 0 1.2em;
}

ul, ol {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

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

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

/* ---------- Disclosure & utility bars ---------- */
.disclosure-bar {
  background: var(--navy-dark);
  color: var(--cream);
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  font-weight: 600;
}

.disclosure-bar strong {
  color: var(--gold);
}

.utility-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  padding: 7px 0;
}

.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

/* ---------- Masthead ---------- */
.masthead {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 22px 0 18px;
}

.masthead .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.masthead-logo {
  font-family: "Fraunces", Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-decoration: none;
}

.masthead-logo span {
  color: var(--terracotta);
}

.masthead-eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.masthead-nav {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
}

.masthead-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.masthead-nav a:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* ---------- Article header ---------- */
.article-header {
  padding: 40px 0 8px;
}

.category-tag {
  display: inline-block;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.headline {
  font-size: clamp(30px, 5vw, 46px);
  max-width: 920px;
}

.deck {
  font-family: "Work Sans", sans-serif;
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 720px;
  margin-bottom: 22px;
}

.byline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.byline strong {
  color: var(--navy);
}

.byline .dot::before {
  content: "·";
  margin: 0 6px;
}

/* ---------- Media / images ---------- */
.media {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-deep);
  margin: 0 0 10px;
}

.media--16x9 {
  padding-bottom: 56.25%;
}

.media--4x3 {
  padding-bottom: 75%;
}

.media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

p.media-caption {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  font-style: italic;
}

/* ---------- Article body ---------- */
.article-body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 20px;
  font-size: 17.5px;
}

.article-body h2 {
  font-size: clamp(23px, 3vw, 28px);
  margin-top: 1.6em;
}

.article-body h3 {
  font-size: 20px;
  margin-top: 1.4em;
  color: var(--terracotta-dark);
}

.article-body p {
  color: var(--ink);
}

.article-body p.lede {
  font-size: 1.12em;
  font-weight: 500;
  color: var(--navy);
}

/* ---------- Module list ---------- */
.module-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 28px;
  counter-reset: module;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.module-item {
  counter-increment: module;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: start;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.module-item:last-child {
  border-bottom: none;
}

.module-item::before {
  content: counter(module);
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  background: var(--navy);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.module-title {
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
  font-size: 15.5px;
}

.module-desc {
  font-size: 14px;
  color: var(--ink-soft);
}

.module-duration {
  font-size: 13px;
  color: var(--terracotta-dark);
  font-weight: 600;
  white-space: nowrap;
  align-self: center;
}

/* ---------- Specs box ---------- */
.specs-box {
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 26px 26px 20px;
  margin: 30px 0;
  box-shadow: var(--shadow-soft);
}

.specs-box h3 {
  color: var(--gold);
  margin-top: 0;
  font-size: 19px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 22px;
  margin: 14px 0 6px;
  padding: 0;
  list-style: none;
}

.specs-grid li {
  font-size: 14.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 10px;
}

.specs-grid li strong {
  display: block;
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 3px;
  color: var(--gold);
}

.specs-box p.specs-note {
  font-size: 12.5px;
  color: rgba(250, 246, 239, 0.72);
  margin-top: 14px;
  margin-bottom: 0;
}

/* ---------- Fit box ---------- */
.fit-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}

.fit-col {
  border-radius: var(--radius);
  padding: 20px 20px 6px;
  border: 1px solid var(--line);
}

.fit-col.yes {
  background: #f3f7f0;
  border-color: #cfe2c4;
}

.fit-col.no {
  background: #fbf2ee;
  border-color: #f0d3c4;
}

.fit-col h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.fit-col.yes h4 {
  color: #3c6e2e;
}

.fit-col.no h4 {
  color: var(--terracotta-dark);
}

.fit-col ul {
  padding-left: 1.1em;
  font-size: 14.5px;
  color: var(--ink);
}

.fit-col li {
  margin-bottom: 10px;
}

/* ---------- CTA ---------- */
.cta-block {
  text-align: center;
  margin: 34px 0;
  padding: 26px 20px;
  background: var(--cream-deep);
  border-radius: var(--radius);
  border: 1px dashed var(--terracotta);
}

.cta-block p {
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 14.5px;
}

.btn-cta {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  padding: 14px 30px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn-cta:hover {
  background: var(--terracotta-dark);
  transform: translateY(-1px);
}

.btn-cta-inline {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  margin: 6px 0 22px;
}

.cta-block p.cta-fineprint {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin-top: 14px;
  margin-bottom: 0;
}

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta span {
  font-size: 13.5px;
  display: none;
}

.sticky-cta .btn-cta {
  padding: 10px 22px;
  font-size: 14px;
}

@media (min-width: 560px) {
  .sticky-cta span {
    display: inline;
  }
}

/* ---------- Disclosure note within article ---------- */
.inline-disclosure {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--cream-deep);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
  margin: 18px 0 26px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(250, 246, 239, 0.78);
  margin-top: 40px;
  padding: 34px 0 90px;
  font-size: 13.5px;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo {
  font-family: "Fraunces", serif;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(250, 246, 239, 0.82);
  text-decoration: none;
}

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

.footer-disclosure {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(250, 246, 239, 0.62);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(250, 246, 239, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.footer-bottom {
  font-size: 11.5px;
  color: rgba(250, 246, 239, 0.5);
}

/* ---------- Static pages (legal / privacy / contact) ---------- */
.page-header {
  padding: 40px 0 10px;
}

.page-header h1 {
  font-size: clamp(28px, 4vw, 38px);
}

.static-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 0 40px;
  font-size: 16px;
}

.static-content h2 {
  font-size: 21px;
  margin-top: 1.6em;
}

.static-content h3 {
  font-size: 17px;
  color: var(--terracotta-dark);
}

.static-content address {
  font-style: normal;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 16px 0;
  font-size: 15px;
  line-height: 1.7;
}

.static-content ul {
  font-size: 15px;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin: 18px 0;
}

.contact-card a {
  color: var(--terracotta-dark);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 700px) {
  .fit-box {
    grid-template-columns: 1fr;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .module-item {
    grid-template-columns: 36px 1fr;
  }

  .module-duration {
    grid-column: 2;
    margin-top: 2px;
  }

  .utility-bar .container {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .masthead-logo {
    font-size: 28px;
  }

  .article-body {
    font-size: 16.5px;
  }
}
