/* ================================================================
 *  CROSSFIT VIRIDIUS — Theme CSS
 *  Prefix: cfv-
 *  Mega-menu layout: E (tabs horizontaux)
 *  Hero placement: after-hero (editorial block right after hero)
 *  Brand casing: A (UPPERCASE)
 * ================================================================ */

/* ===========================  VARIABLES  ========================= */
:root {
  --cfv-primary:   #ff6000;
  --cfv-primary-d: #d94f00;
  --cfv-accent:    #39b54a;
  --cfv-accent-d:  #2b9a3a;
  --cfv-text:      #1a1a1a;
  --cfv-text-soft: #5d6f6d;
  --cfv-bg:        #ffffff;
  --cfv-surface:   #fafafa;
  --cfv-line:      #e5e5e5;
  --cfv-dark:      #131313;

  --cfv-font-head: "Pacifico", "Brush Script MT", cursive;
  --cfv-font-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --cfv-radius: 12px;
  --cfv-shadow: 0 4px 18px rgba(0,0,0,.08);
  --cfv-shadow-h: 0 12px 36px rgba(0,0,0,.14);

  --cfv-container: 1200px;
  --cfv-gutter: 1.5rem;
}

/* ===========================  RESET  ============================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--cfv-font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--cfv-text);
  background: var(--cfv-bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--cfv-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cfv-primary-d); }
h1, h2, h3, h4 { color: var(--cfv-text); margin: 0 0 .6em; line-height: 1.25; }
h1 { font-size: 2.4rem; font-weight: 800; }
h2 { font-size: 1.85rem; font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1.1em; }

/* No padding/margin top on main, no gap between header and content */
main, .cfv-main { padding-top: 0 !important; margin-top: 0 !important; }

.cfv-container {
  max-width: var(--cfv-container);
  margin: 0 auto;
  padding: 0 var(--cfv-gutter);
}

/* ============================  HEADER  =========================== */
.cfv-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 3px solid var(--cfv-primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}
.cfv-header-inner {
  max-width: var(--cfv-container);
  margin: 0 auto;
  padding: .85rem var(--cfv-gutter);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: flex-start;
}
.cfv-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.cfv-brand-link {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--cfv-text);
}
.cfv-brand-logo {
  width: auto;
  display: block;
}
.cfv-brand-name {
  font-family: var(--cfv-font-head);
  font-size: 1.6rem;
  color: var(--cfv-text);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  font-weight: 400;
}

/* === Desktop nav (always visible >=1024px, hidden mobile) === */
.cfv-nav-desktop {
  display: none;
  flex: 1;
  margin: 0 1rem;
  justify-content: center;
}
.cfv-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.cfv-nav-list > li { position: relative; }
.cfv-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--cfv-text);
  font-weight: 700;
  font-size: .95rem;
  padding: .6rem .2rem;
  border-bottom: 2.5px solid transparent;
  transition: border-color .2s, color .2s;
}
.cfv-nav-list > li > a:hover,
.cfv-nav-list > li:hover > a,
.cfv-nav-list > li:focus-within > a { border-bottom-color: var(--cfv-primary); color: var(--cfv-primary); }
.cfv-nav-list .cfv-nav-icon { width: 18px; height: 18px; flex-shrink: 0; }
.cfv-nav-list .cfv-nav-icon svg { width: 100%; height: 100%; display: block; }

/* === Mega-menu (Layout E — Tabs horizontaux) === */
.cfv-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(960px, 92vw);
  background: #fff;
  border: 1px solid var(--cfv-line);
  border-top: 3px solid var(--cfv-primary);
  border-radius: 0 0 var(--cfv-radius) var(--cfv-radius);
  padding: 1.4rem;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .25s, visibility .2s;
  pointer-events: none;
}
.cfv-nav-list > li:hover .cfv-mega,
.cfv-nav-list > li:focus-within .cfv-mega {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.cfv-mega-tabs {
  display: flex;
  gap: .5rem;
  border-bottom: 1px solid var(--cfv-line);
  padding-bottom: .8rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.cfv-mega-tabs a {
  font-size: .9rem;
  font-weight: 700;
  padding: .35rem .8rem;
  border-radius: 99px;
  color: var(--cfv-text-soft);
  border: 1px solid var(--cfv-line);
}
.cfv-mega-tabs a.is-active { background: var(--cfv-primary); color: #fff; border-color: var(--cfv-primary); }
.cfv-mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.cfv-mega-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--cfv-text);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .25s;
}
.cfv-mega-card:hover { transform: translateY(-3px); }
.cfv-mega-card .cfv-mega-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--cfv-surface);
  object-fit: cover;
  display: block;
  border-radius: 8px;
}
.cfv-mega-card-title {
  font-size: .92rem;
  font-weight: 700;
  margin: .55rem 0 .2rem;
  color: var(--cfv-text);
  line-height: 1.3;
}
.cfv-mega-card-date {
  font-size: .78rem;
  color: var(--cfv-text-soft);
}
.cfv-mega-empty {
  font-size: .9rem;
  color: var(--cfv-text-soft);
}
.cfv-mega-see-all {
  font-weight: 700;
  color: var(--cfv-primary);
  text-decoration: underline;
}

/* === Mobile burger (visible <1024px) === */
.cfv-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.95);
  border: 1.5px solid rgba(0,0,0,.18);
  border-radius: 8px;
  color: var(--cfv-text);
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  flex-shrink: 0;
  position: relative;
  z-index: 10000;
}
.cfv-burger > span,
.cfv-burger .cfv-burger-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 24px;
  height: 16px;
}
.cfv-burger .cfv-burger-bars i {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--cfv-text);
  border-radius: 2px;
}

/* === Mobile drawer (.cfv-nav-mobile) === */
.cfv-nav-mobile { display: none; }
.cfv-nav-mobile-overlay { display: none; }
.cfv-nav-mobile.is-open .cfv-nav-mobile-overlay,
.cfv-nav-mobile-overlay.is-open { display: block; }

@media (max-width: 1023px) {
  .cfv-nav-mobile.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 86%;
    max-width: 380px;
    background: #fff;
    padding: 4.5rem 0 2rem;
    z-index: 9999;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0,0,0,.3);
  }
  .cfv-nav-mobile-overlay.is-open {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9998;
  }
  .cfv-nav-mobile-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: 0;
    font-size: 2rem;
    color: var(--cfv-text);
    cursor: pointer;
    line-height: 1;
  }
  .cfv-nav-mobile-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .cfv-nav-mobile-list li {
    border-bottom: 1px solid var(--cfv-line);
  }
  .cfv-nav-mobile-list a {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.1rem 1.5rem;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
  }
  .cfv-nav-mobile-list a:hover,
  .cfv-nav-mobile-list a:focus {
    background: var(--cfv-surface);
    color: var(--cfv-primary);
  }
  .cfv-nav-mobile-list .cfv-nav-icon {
    width: 22px;
    height: 22px;
    color: var(--cfv-primary);
  }
}

/* === CTA drawer mobile (bas du drawer) === */
.cfv-drawer-cta {
  display: none;
}
@media (max-width: 1023px) {
  .cfv-drawer-cta {
    display: block !important;
    margin: 2rem 1.5rem 1.5rem !important;
    padding: 1rem 1.5rem !important;
    text-align: center !important;
    background: var(--cfv-primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
  }
}

@media (min-width: 1024px) {
  .cfv-nav-desktop { display: flex; }
  .cfv-burger, .cfv-burger-wrap { display: none !important; }
  .cfv-nav-mobile, .cfv-drawer-cta { display: none !important; }
}

/* ============================  HERO  ============================= */
.cfv-hero {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.cfv-hero--has-video { color: #fff; }
.cfv-hero-video-wrap { position: absolute; inset: 0; pointer-events: none; }
.cfv-hero-video {
  position: absolute;
  top: 50%; left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.cfv-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.72) 100%);
}
.cfv-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cfv-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--cfv-container);
  margin: 0 auto;
  padding: 5rem var(--cfv-gutter);
  width: 100%;
}
.cfv-hero-eyebrow {
  display: inline-block;
  font-family: var(--cfv-font-body);
  background: var(--cfv-primary);
  color: #fff;
  padding: .35rem 1rem;
  border-radius: 99px;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1.2rem;
}
.cfv-hero--has-video .cfv-hero-title,
.cfv-hero--has-video .cfv-hero-subtitle { color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.55); }
.cfv-hero-title {
  font-family: var(--cfv-font-head);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 1.2rem;
  max-width: 800px;
}
.cfv-hero-subtitle {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 500;
  margin: 0 0 1.8rem;
  max-width: 700px;
  line-height: 1.5;
}
.cfv-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.cfv-btn {
  display: inline-block;
  padding: .95rem 1.8rem;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: transform .2s, background .2s, color .2s;
  border: 0;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.cfv-btn--primary {
  background: var(--cfv-primary);
  color: #fff;
}
.cfv-btn--primary:hover { background: var(--cfv-primary-d); color: #fff; transform: translateY(-2px); }
.cfv-btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 2px solid #fff;
}
.cfv-btn--ghost:hover { background: #fff; color: var(--cfv-text); }
.cfv-btn--accent {
  background: var(--cfv-accent);
  color: #fff;
}
.cfv-btn--accent:hover { background: var(--cfv-accent-d); color: #fff; transform: translateY(-2px); }

/* ============  EDITORIAL BLOCK (400-700 mots, after hero) ===== */
.cfv-editorial {
  background: var(--cfv-bg);
  padding: 4.5rem var(--cfv-gutter);
}
.cfv-editorial-inner {
  max-width: 920px;
  margin: 0 auto;
}
.cfv-editorial h2 {
  font-family: var(--cfv-font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--cfv-primary);
  font-weight: 400;
  margin: 0 0 1rem;
}
.cfv-editorial h3 {
  font-size: 1.35rem;
  margin: 2rem 0 .6rem;
  color: var(--cfv-text);
}
.cfv-editorial p {
  font-size: 1.07rem;
  line-height: 1.75;
  color: var(--cfv-text);
}
.cfv-editorial-callout {
  background: var(--cfv-surface);
  border-left: 5px solid var(--cfv-accent);
  padding: 1.5rem 1.8rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}
.cfv-editorial-callout h4 {
  color: var(--cfv-accent-d);
  font-size: 1.05rem;
  margin: 0 0 .5rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.cfv-editorial-callout p { margin-bottom: 0; }
.cfv-editorial-lead {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--cfv-text);
  font-weight: 500;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--cfv-primary);
  padding-left: 1.2rem;
}

/* ============  SECTION CATEGORIE BLOCK (by-category mode) ===== */
.cfv-cat-block {
  padding: 3.5rem var(--cfv-gutter);
  border-bottom: 1px solid var(--cfv-line);
}
.cfv-cat-block:nth-child(even) { background: var(--cfv-surface); }
.cfv-cat-block-inner { max-width: var(--cfv-container); margin: 0 auto; }
.cfv-cat-block-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.cfv-cat-block-head h2 {
  font-family: var(--cfv-font-head);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 400;
  color: var(--cfv-primary);
  margin: 0;
}
.cfv-cat-block-head h2 a {
  color: inherit;
  text-decoration: none;
}
.cfv-cat-block-head h2 a:hover { color: var(--cfv-primary-d); }
.cfv-cat-block-see {
  color: var(--cfv-accent-d);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
}
.cfv-cat-block-see:hover { text-decoration: underline; color: var(--cfv-accent-d); }
.cfv-cat-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.cfv-cat-post {
  background: #fff;
  border-radius: var(--cfv-radius);
  overflow: hidden;
  box-shadow: var(--cfv-shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.cfv-cat-post:hover {
  transform: translateY(-4px);
  box-shadow: var(--cfv-shadow-h);
}
.cfv-cat-post-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--cfv-surface);
}
.cfv-cat-post-body { padding: 1.2rem 1.3rem 1.5rem; }
.cfv-cat-post-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 .6rem;
}
.cfv-cat-post-title a {
  color: var(--cfv-text);
  text-decoration: none;
}
.cfv-cat-post-title a:hover { color: var(--cfv-primary); }
.cfv-cat-post-date {
  font-size: .82rem;
  color: var(--cfv-text-soft);
  font-weight: 600;
}
.cfv-cat-empty {
  background: #fff;
  border: 1px dashed var(--cfv-line);
  border-radius: var(--cfv-radius);
  padding: 1.8rem;
  text-align: center;
  color: var(--cfv-text-soft);
  font-size: .98rem;
}
.cfv-cat-empty a {
  color: var(--cfv-primary);
  font-weight: 700;
}

/* ============  METRICS / LIENS UTILES ============== */
.cfv-metrics {
  padding: 3rem var(--cfv-gutter);
  background: var(--cfv-dark);
  color: #fff;
}
.cfv-metrics-inner {
  max-width: var(--cfv-container);
  margin: 0 auto;
  text-align: center;
}
.cfv-metrics h2 {
  font-family: var(--cfv-font-head);
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
}
.cfv-metrics-grid {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1.5rem;
}
.cfv-metrics-grid a {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  padding: .7rem 1.4rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 700;
  transition: background .2s;
}
.cfv-metrics-grid a:hover { background: var(--cfv-primary); color: #fff; }

/* ============  FOOTER  ============================= */
.cfv-footer {
  background: var(--cfv-dark);
  color: #ffffff;
  padding: 4rem var(--cfv-gutter) 1.5rem;
  margin-top: 0;
}
.cfv-footer p,
.cfv-footer span,
.cfv-footer li,
.cfv-footer a { color: #ffffff; }
.cfv-footer-inner {
  max-width: var(--cfv-container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
.cfv-footer-col h3 {
  font-family: var(--cfv-font-head);
  color: #ffffff;
  font-size: 1.4rem;
  margin: 0 0 1.1rem;
  font-weight: 400;
}
.cfv-footer-logo {
  display: block;
  margin-bottom: 1.2rem;
  height: auto;
  max-width: 160px;
}
.cfv-footer-brand-pitch {
  color: #ffffff;
  font-size: .95rem;
  line-height: 1.65;
  margin: 0 0 1.2rem;
}
.cfv-footer-brand-cta {
  display: inline-block;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  padding: .55rem 1rem;
  border: 2px solid #ffffff;
  border-radius: 8px;
  font-size: .92rem;
  transition: background .2s, color .2s;
}
.cfv-footer-brand-cta:hover {
  background: var(--cfv-primary);
  color: #ffffff;
  border-color: var(--cfv-primary);
}
.cfv-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cfv-footer-links li { padding: .35rem 0; }
.cfv-footer-links a {
  color: #ffffff;
  text-decoration: underline;
  font-size: .95rem;
}
.cfv-footer-links a:hover { color: #ffffff; opacity: .8; }
.cfv-footer-social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.cfv-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  color: #fff;
}
.cfv-footer-social a:hover { background: var(--cfv-primary); }
.cfv-footer-bottom {
  max-width: var(--cfv-container);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.25);
  text-align: center;
  font-size: .85rem;
  color: #ffffff;
}
.cfv-footer-bottom a { color: #ffffff; text-decoration: underline; }

/* ============  CATEGORY PAGE  ===================== */
.cfv-cat-hero {
  position: relative;
  height: 320px;
  max-height: 350px;
  overflow: hidden;
}
.cfv-cat-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}
.cfv-cat-hero-overlay {
  position: relative;
  z-index: 2;
  max-width: var(--cfv-container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--cfv-gutter) 2rem;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75) 100%);
}
.cfv-cat-hero h1 {
  font-family: var(--cfv-font-head);
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
}
.cfv-cat-intro {
  padding: 2.5rem var(--cfv-gutter);
  background: var(--cfv-bg);
}
.cfv-cat-intro-inner {
  max-width: 920px;
  margin: 0 auto;
  font-size: 1.07rem;
  line-height: 1.75;
}
.cfv-cat-archive {
  padding: 2rem var(--cfv-gutter) 4rem;
  background: var(--cfv-surface);
}
.cfv-cat-archive-inner {
  max-width: var(--cfv-container);
  margin: 0 auto;
}
.cfv-cat-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.8rem;
}

/* ============  PERSONA PHOTO  =================== */
.cfv-persona-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--cfv-shadow);
  margin: 0 auto 1.5rem;
  display: block;
}

/* ============  CONTACT FORM  ==================== */
.ae8-contact-form {
  max-width: 900px;
  margin: 2rem auto 3rem;
  background: var(--cfv-surface);
  border-radius: var(--cfv-radius);
  padding: 1.5rem;
  border: 1px solid var(--cfv-line);
}
.ae8-contact-form iframe {
  border-radius: 8px;
  background: #fff;
}

/* ============  PAGE GENERIC  ==================== */
.cfv-page {
  padding: 3rem var(--cfv-gutter) 4rem;
  background: var(--cfv-bg);
}
.cfv-page-inner {
  max-width: 920px;
  margin: 0 auto;
}
.cfv-page h1 {
  font-family: var(--cfv-font-head);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: var(--cfv-primary);
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.cfv-page h2 {
  margin-top: 2.5rem;
  font-size: 1.55rem;
}
.cfv-page p, .cfv-page ul, .cfv-page ol {
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ============  TOOL PAGE  ====================== */
.cfv-tool-page {
  padding: 3rem var(--cfv-gutter) 4rem;
  background: var(--cfv-bg);
}
.cfv-tool-inner {
  max-width: 920px;
  margin: 0 auto;
}
.cfv-tool-intro {
  margin-bottom: 2rem;
  font-size: 1.07rem;
  line-height: 1.75;
}
.cfv-tool-faq {
  margin-top: 3rem;
  background: var(--cfv-surface);
  padding: 2rem;
  border-radius: var(--cfv-radius);
  border: 1px solid var(--cfv-line);
}
.cfv-tool-faq h2 {
  font-family: var(--cfv-font-head);
  color: var(--cfv-primary);
  font-weight: 400;
  font-size: 1.8rem;
}
.cfv-tool-faq details {
  border-bottom: 1px solid var(--cfv-line);
  padding: 1rem 0;
}
.cfv-tool-faq summary {
  font-weight: 700;
  cursor: pointer;
  padding: .3rem 0;
}
.cfv-tool-faq details[open] summary { color: var(--cfv-primary); }

/* ============  SINGLE ARTICLE  ================== */
.cfv-single {
  padding: 3rem var(--cfv-gutter) 4rem;
  max-width: 860px;
  margin: 0 auto;
}
.cfv-single h1 {
  font-family: var(--cfv-font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cfv-text);
  font-weight: 400;
  line-height: 1.15;
}
.cfv-single-meta {
  color: var(--cfv-text-soft);
  font-size: .9rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}
.cfv-single-thumb {
  width: 100%;
  border-radius: var(--cfv-radius);
  margin-bottom: 2rem;
}

/* =========  RESPONSIVE  ====================== */
@media (max-width: 1023px) {
  .cfv-footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .cfv-hero { min-height: 65vh; }
  .cfv-hero-inner { padding: 4rem 1.2rem; }
  .cfv-footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .cfv-editorial { padding: 3rem 1.2rem; }
  .cfv-cat-block { padding: 2.5rem 1.2rem; }
  .cfv-page h1 { font-size: 2rem; }
}

/* =========  ANIMATIONS (CTA / CTR / CTO)  ====== */
@keyframes cfv-cta-underline {
  0% { background-size: 0% 2px; }
  100% { background-size: 100% 2px; }
}
.cfv-btn--cta {
  position: relative;
  display: inline-block;
  color: var(--cfv-primary);
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(to right, var(--cfv-primary), var(--cfv-primary));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size .35s ease-out;
  padding: .35rem 0;
}
.cfv-btn--cta:hover { background-size: 100% 2px; }

@keyframes cfv-ctr-slide-in {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes cfv-cto-fade-in {
  0% { opacity: 0; transform: scale(.96); }
  100% { opacity: 1; transform: scale(1); }
}

/* =========  UTILITIES  ====================== */
.cfv-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;
}
