/*
Theme Name: C2B73 Essentiel
Theme URI: https://www.c2b73.fr/
Author: C2B73
Description: Theme WordPress autonome pour C2B73, avec menu simplifie, contenus administrables et navigation mobile.
Version: 2.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: c2b73-essentiel
*/

:root {
  --c2b-green: #2f7d32;
  --c2b-green-dark: #174d2a;
  --c2b-green-soft: #eaf5df;
  --c2b-blue: #1666a6;
  --c2b-blue-soft: #e7f1fb;
  --c2b-yellow: #ffd447;
  --c2b-ink: #172019;
  --c2b-muted: #5c695f;
  --c2b-line: #dfe7dd;
  --c2b-bg: #fbfcf7;
  --c2b-white: #ffffff;
  --c2b-radius: 8px;
  --c2b-shadow: 0 14px 40px rgba(23, 32, 25, .12);
  --c2b-max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--c2b-ink);
  background: var(--c2b-bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c2b-blue); }
a:hover { color: var(--c2b-green-dark); }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.c2b-container {
  width: min(var(--c2b-max), calc(100% - 32px));
  margin-inline: auto;
}
.c2b-section { padding: 72px 0; }
.c2b-section--white { background: var(--c2b-white); }
.c2b-section--soft { background: var(--c2b-green-soft); }
.c2b-section--blue { background: var(--c2b-blue-soft); }
.c2b-section__head {
  max-width: 760px;
  margin-bottom: 30px;
}
.c2b-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--c2b-green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.c2b-title {
  margin: 0;
  color: var(--c2b-ink);
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}
.c2b-subtitle {
  margin: 14px 0 0;
  color: var(--c2b-muted);
  font-size: 18px;
}
.c2b-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: var(--c2b-radius);
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.c2b-btn:hover { transform: translateY(-1px); }
.c2b-btn--primary {
  color: var(--c2b-white);
  background: var(--c2b-green);
}
.c2b-btn--primary:hover {
  color: var(--c2b-white);
  background: var(--c2b-green-dark);
}
.c2b-btn--light {
  color: var(--c2b-ink);
  background: var(--c2b-white);
  border-color: var(--c2b-line);
}
.c2b-btn--outline {
  color: var(--c2b-green-dark);
  background: transparent;
  border-color: var(--c2b-green);
}

.c2b-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--c2b-line);
  backdrop-filter: blur(12px);
}
.c2b-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}
.c2b-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c2b-ink);
  text-decoration: none;
}
.c2b-brand img { width: 64px; }
.c2b-brand strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}
.c2b-brand span {
  display: block;
  color: var(--c2b-muted);
  font-size: 12px;
}
.c2b-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c2b-line);
  border-radius: var(--c2b-radius);
  background: var(--c2b-white);
  color: var(--c2b-ink);
  font-size: 22px;
}
.c2b-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.c2b-nav a {
  display: block;
  padding: 10px 11px;
  border-radius: 7px;
  color: var(--c2b-ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.c2b-nav a:hover,
.c2b-nav .current-menu-item > a { background: var(--c2b-green-soft); }
.c2b-nav .menu-item-has-children { position: relative; }
.c2b-nav .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  min-width: 240px;
  padding: 8px;
  background: var(--c2b-white);
  border: 1px solid var(--c2b-line);
  box-shadow: var(--c2b-shadow);
}
.c2b-nav .menu-item-has-children:hover > .sub-menu,
.c2b-nav .menu-item-has-children:focus-within > .sub-menu { display: block; }
.c2b-nav .sub-menu a { white-space: nowrap; }

.c2b-hero {
  position: relative;
  overflow: hidden;
  color: var(--c2b-white);
  background: linear-gradient(90deg, rgba(12, 55, 31, .93), rgba(22, 102, 166, .78)), url("assets/img/1.webp") center/cover no-repeat;
}
.c2b-hero__inner {
  min-height: min(700px, calc(100vh - 74px));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  align-items: center;
  gap: 42px;
  padding: 72px 0 56px;
}
.c2b-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(40px, 7vw, 78px);
  line-height: .96;
}
.c2b-hero p {
  max-width: 660px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.9);
  font-size: 20px;
}
.c2b-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.c2b-hero .c2b-btn--primary { background: var(--c2b-yellow); color: var(--c2b-ink); }
.c2b-hero .c2b-btn--light { background: rgba(255,255,255,.14); color: var(--c2b-white); border-color: rgba(255,255,255,.4); }
.c2b-hero-card {
  background: rgba(255,255,255,.94);
  color: var(--c2b-ink);
  border-radius: var(--c2b-radius);
  padding: 24px;
  box-shadow: var(--c2b-shadow);
}
.c2b-hero-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}
.c2b-hero-card dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}
.c2b-hero-card dt {
  color: var(--c2b-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.c2b-hero-card dd { margin: 2px 0 0; font-weight: 800; }

.c2b-impact {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c2b-line);
  border-top: 1px solid var(--c2b-line);
  border-bottom: 1px solid var(--c2b-line);
}
.c2b-impact div {
  padding: 28px 20px;
  background: var(--c2b-white);
  text-align: center;
}
.c2b-impact strong {
  display: block;
  color: var(--c2b-green-dark);
  font-size: 32px;
  line-height: 1;
}
.c2b-impact span {
  display: block;
  margin-top: 8px;
  color: var(--c2b-muted);
  font-size: 14px;
  font-weight: 700;
}

.c2b-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.c2b-card {
  background: var(--c2b-white);
  border: 1px solid var(--c2b-line);
  border-radius: var(--c2b-radius);
  padding: 24px;
  box-shadow: 0 8px 20px rgba(23, 32, 25, .06);
}
.c2b-card h3 { margin: 0 0 10px; font-size: 23px; }
.c2b-card p { margin: 0; color: var(--c2b-muted); }
.c2b-card a { font-weight: 800; }
.c2b-step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
}
.c2b-step__num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--c2b-radius);
  color: var(--c2b-white);
  background: var(--c2b-blue);
  font-weight: 900;
}
.c2b-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}
.c2b-photo-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
}
.c2b-photo-grid img {
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: var(--c2b-radius);
}
.c2b-photo-grid img:first-child { grid-row: span 2; min-height: 452px; }
.c2b-list {
  padding-left: 20px;
  color: var(--c2b-muted);
}
.c2b-list li + li { margin-top: 8px; }
.c2b-notice {
  padding: 18px 20px;
  border-left: 5px solid var(--c2b-green);
  background: var(--c2b-green-soft);
  border-radius: 0 var(--c2b-radius) var(--c2b-radius) 0;
}
.c2b-map {
  width: 100%;
  min-height: 520px;
  border: 0;
  border-radius: var(--c2b-radius);
  box-shadow: var(--c2b-shadow);
}
.c2b-table-wrap {
  overflow-x: auto;
  background: var(--c2b-white);
  border: 1px solid var(--c2b-line);
  border-radius: var(--c2b-radius);
}
.c2b-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.c2b-table th,
.c2b-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--c2b-line);
  text-align: left;
}
.c2b-table th {
  background: var(--c2b-green-soft);
  color: var(--c2b-green-dark);
}
.c2b-form {
  display: grid;
  gap: 14px;
  max-width: 720px;
}
.c2b-form label { font-weight: 800; }
.c2b-form input,
.c2b-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--c2b-line);
  border-radius: var(--c2b-radius);
  font: inherit;
}
.c2b-form textarea { min-height: 150px; resize: vertical; }
.c2b-form .c2b-btn { cursor: pointer; }
.c2b-alert {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: var(--c2b-radius);
  background: var(--c2b-green-soft);
  color: var(--c2b-green-dark);
  font-weight: 800;
}
.c2b-alert--error {
  background: #ffe8e2;
  color: #8a2b19;
}
.c2b-page {
  padding: 58px 0 76px;
}
.c2b-page h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}
.c2b-page h2 {
  margin: 38px 0 14px;
  font-size: 30px;
}
.c2b-page p,
.c2b-page li { font-size: 17px; }
.c2b-page-content {
  max-width: 980px;
}

.c2b-cta {
  color: var(--c2b-white);
  background: var(--c2b-green-dark);
  padding: 58px 0;
}
.c2b-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.c2b-cta h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.c2b-site-footer {
  padding: 42px 0 26px;
  background: #101812;
  color: rgba(255,255,255,.78);
}
.c2b-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
.c2b-site-footer h2,
.c2b-site-footer h3 {
  margin: 0 0 12px;
  color: var(--c2b-white);
}
.c2b-site-footer a { color: var(--c2b-white); }
.c2b-credit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.c2b-email a {
  font-weight: 800;
}
.c2b-footer-bottom {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: 13px;
}

@media (max-width: 980px) {
  .c2b-menu-toggle { display: inline-grid; place-items: center; }
  .c2b-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 74px;
    display: none;
    background: var(--c2b-white);
    border-bottom: 1px solid var(--c2b-line);
  }
  .c2b-nav.is-open { display: block; }
  .c2b-nav ul {
    display: block;
    width: min(var(--c2b-max), calc(100% - 32px));
    margin: 0 auto;
    padding: 10px 0 18px;
  }
  .c2b-nav .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 0 14px;
    border: 0;
    box-shadow: none;
  }
  .c2b-hero__inner,
  .c2b-split,
  .c2b-footer-grid { grid-template-columns: 1fr; }
  .c2b-impact { grid-template-columns: repeat(2, 1fr); }
  .c2b-grid-3 { grid-template-columns: 1fr; }
  .c2b-cta__inner { display: block; }
  .c2b-cta .c2b-btn { margin-top: 18px; }
}

@media (max-width: 640px) {
  .c2b-brand img { width: 52px; }
  .c2b-brand strong { font-size: 18px; }
  .c2b-brand span { display: none; }
  .c2b-section { padding: 52px 0; }
  .c2b-hero__inner { min-height: auto; padding: 54px 0 34px; }
  .c2b-hero p { font-size: 17px; }
  .c2b-impact { grid-template-columns: 1fr; }
  .c2b-photo-grid { grid-template-columns: 1fr; }
  .c2b-photo-grid img:first-child { grid-row: auto; min-height: 260px; }
  .c2b-btn { width: 100%; }
  .c2b-map { min-height: 430px; }
}


/* Visual proposal only: no content, navigation or section changes. */
:root {
  --c2b-green: #23704b;
  --c2b-green-dark: #194c37;
  --c2b-green-soft: #f0f6f2;
  --c2b-blue: #2146cd;
  --c2b-blue-soft: #f1f4fa;
  --c2b-yellow: #ffe172;
  --c2b-ink: #22282c;
  --c2b-muted: #54616a;
  --c2b-line: #dce3e6;
  --c2b-bg: #ffffff;
  --c2b-shadow: 0 12px 32px rgba(24, 40, 48, .08);
}
body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, li, dd { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
a { text-underline-offset: 4px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid #2146cd;
  outline-offset: 4px;
}
.c2b-site-header {
  background: #ffffff;
  box-shadow: 0 3px 16px rgba(24, 40, 48, .04);
}
.c2b-header-inner { min-height: 84px; }
.c2b-brand { flex-shrink: 0; }
.c2b-brand img { width: 62px; }
.c2b-brand strong { font-size: 21px; font-weight: 700; }
.c2b-brand span { color: #54616a; }
.c2b-nav a { font-weight: 600; border-radius: 4px; padding: 10px; }
.c2b-nav a:hover, .c2b-nav .current-menu-item > a {
  color: #2146cd;
  background: #f1f4fa;
}
.c2b-nav .sub-menu { border-radius: 6px; padding: 8px; }
.c2b-eyebrow { font-size: 12px; letter-spacing: 0; font-weight: 700; }
.c2b-title { font-size: 38px; line-height: 1.18; font-weight: 650; }
.c2b-subtitle { font-size: 18px; line-height: 1.75; }
.c2b-section__head { margin-bottom: 34px; }
.c2b-hero {
  background-image: linear-gradient(90deg, rgba(15, 36, 34, .92), rgba(15, 36, 34, .66)),
    url("assets/img/1.webp");
}
.c2b-hero__inner {
  min-height: 620px;
  padding: 64px 0;
  gap: 48px;
}
.c2b-hero h1 { font-size: 54px; line-height: 1.1; font-weight: 650; }
.c2b-hero .c2b-eyebrow { color: #ffe172; }
.c2b-hero p { color: #ffffff; font-size: 18px; line-height: 1.75; }
.c2b-btn {
  min-height: 48px;
  padding: 13px 20px;
  border-width: 1px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.c2b-btn:hover { transform: none; box-shadow: 0 4px 12px rgba(24, 40, 48, .1); }
.c2b-btn--primary { background: #2146cd; }
.c2b-btn--primary:hover { background: #1937a3; }
.c2b-btn--outline { color: #2146cd; border-color: #2146cd; background: transparent; }
.c2b-btn--outline:hover { color: #1937a3; background: #eef2ff; }
.c2b-hero .c2b-btn--primary:hover { background: #ffda4a; color: #22282c; }
.c2b-hero .c2b-btn--light { background: transparent; border-color: rgba(255,255,255,.75); }
.c2b-hero .c2b-btn--light:hover { background: rgba(255,255,255,.12); color: #fff; }
.c2b-hero-card {
  padding: 30px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-top: 4px solid #ffe172;
  box-shadow: 0 16px 44px rgba(0,0,0,.16);
}
.c2b-hero-card h2 { font-size: 25px; font-weight: 650; }
.c2b-hero-card dl { gap: 18px; }
.c2b-hero-card dl > div + div { border-top: 1px solid #e5eaed; padding-top: 16px; }
.c2b-hero-card dt { letter-spacing: 0; font-weight: 600; }
.c2b-hero-card dd { font-size: 16px; font-weight: 600; }
.c2b-impact div { padding: 30px 20px; }
.c2b-impact strong { color: #2146cd; font-size: 32px; font-weight: 650; }
.c2b-impact span { font-weight: 500; }
.c2b-card { padding: 26px; box-shadow: none; border-color: #dce3e6; }
.c2b-card h3 { font-size: 22px; font-weight: 650; line-height: 1.3; }
.c2b-card p { line-height: 1.75; }
.c2b-step { grid-template-columns: 42px minmax(0, 1fr); gap: 16px; }
.c2b-step__num {
  width: 42px;
  height: 42px;
  color: #2146cd;
  background: #edf1ff;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 650;
}
.c2b-photo-grid { gap: 14px; }
.c2b-photo-grid img { border-radius: 6px; }
.c2b-list { line-height: 1.8; }
.c2b-list li::marker { color: #23704b; }
.c2b-list li + li { margin-top: 12px; }
.c2b-map { border: 1px solid #dce3e6; border-radius: 6px; box-shadow: none; }
.c2b-page h1 { font-size: 46px; line-height: 1.15; font-weight: 650; }
.c2b-page h2 { font-size: 30px; line-height: 1.3; font-weight: 650; }
.c2b-page p, .c2b-page li { line-height: 1.8; }
.c2b-notice { border-left-width: 3px; }
.c2b-table th { background: #f1f4fa; color: #22282c; font-weight: 650; }
.c2b-table tbody tr:nth-child(even) { background: #f8fafb; }
.c2b-form label { font-weight: 600; }
.c2b-form input, .c2b-form textarea { background: #fbfcfd; }
.c2b-cta { background: #194c37; }
.c2b-cta h2 { font-size: 34px; line-height: 1.25; font-weight: 600; }
.c2b-site-footer { background: #20282c; color: #d2dadd; padding-top: 48px; }
.c2b-site-footer h2, .c2b-site-footer h3 { font-weight: 600; }
.c2b-footer-bottom { color: #d2dadd; }
.c2b-credit { flex-wrap: wrap; }
@media (max-width: 980px) {
  .c2b-nav { top: 100%; max-height: calc(100dvh - 84px); overflow-y: auto; }
  .c2b-nav .sub-menu { width: 100%; }
  .c2b-nav .sub-menu a { white-space: normal; }
  .c2b-hero__inner { min-height: auto; padding: 56px 0; gap: 32px; }
  .c2b-hero h1 { font-size: 46px; }
}
@media (max-width: 640px) {
  .c2b-header-inner { min-height: 74px; }
  .c2b-brand img { width: 52px; }
  .c2b-nav { max-height: calc(100dvh - 74px); }
  .c2b-hero__inner { padding: 42px 0; gap: 28px; }
  .c2b-hero h1 { font-size: 34px; line-height: 1.15; }
  .c2b-hero p { font-size: 17px; }
  .c2b-hero-card { padding: 24px; }
  .c2b-title { font-size: 29px; line-height: 1.2; }
  .c2b-page h1 { font-size: 34px; }
  .c2b-page h2 { font-size: 26px; }
  .c2b-cta h2 { font-size: 28px; }
  .c2b-card { padding: 22px; }
  .c2b-impact div { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .c2b-btn { transition: none; }
}

.page-id-14 .c2b-grid-3 .c2b-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-id-14 .c2b-grid-3 .c2b-card > p:last-child {
  margin-top: auto;
  padding-top: 20px;
}

/* Fluid desktop layout; reading measures stay independent of page width. */
body { font-size: 18px; line-height: 1.65; }
.c2b-container { width: calc(100% - 80px); max-width: none; }
.c2b-page-content { max-width: none; }
.c2b-page-content > p,
.c2b-section p,
.c2b-list { max-width: 72ch; }
.c2b-section__head { max-width: 76ch; }
.c2b-section { padding: 76px 0; }
.c2b-section p, .c2b-card p, .c2b-subtitle,
.c2b-page p, .c2b-page li { font-size: 18px; line-height: 1.65; }
.c2b-hero__inner { min-height: 580px; gap: 48px; }
.c2b-hero h1 { max-width: 24ch; font-size: 48px; line-height: 1.15; font-weight: 600; }
.c2b-hero p { max-width: 68ch; font-size: 18px; line-height: 1.65; }
.c2b-hero-card { width: 100%; max-width: 460px; justify-self: end; }
.c2b-hero-card dd { font-size: 17px; }
.c2b-page h1 { font-size: 48px; line-height: 1.15; font-weight: 600; }
.c2b-title, .c2b-page h2 { font-size: 34px; line-height: 1.25; font-weight: 600; }
.c2b-card h3 { font-size: 22px; font-weight: 600; }
.c2b-grid-3 { gap: 24px; }
.c2b-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.c2b-grid-3 > *, .c2b-split > *, .c2b-footer-grid > * { min-width: 0; }
.c2b-btn { font-size: 16px; font-weight: 600; }
.c2b-nav a { font-size: 15px; }
.c2b-table td { font-size: 17px; }
.page-id-9 .c2b-aides-table td { font-size: 18px; line-height: 1.65; }
.c2b-form label { font-size: 17px; }
.c2b-site-footer { font-size: 16px; line-height: 1.65; }
.c2b-footer-bottom { font-size: 13px; }
.c2b-cta h2 { max-width: 36ch; line-height: 1.25; }

@media (min-width: 981px) {
  .c2b-hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); }
}

@media (min-width: 981px) and (max-width: 1199px) {
  .c2b-header-inner { gap: 16px; }
  .c2b-brand img { width: 54px; }
  .c2b-brand > span > span { max-width: 140px; font-size: 11px; }
  .c2b-nav a { padding: 10px 7px; font-size: 14px; }
  .c2b-hero__inner, .c2b-split { gap: 28px; }
}

@media (max-width: 980px) {
  .c2b-container { width: calc(100% - 48px); }
  .c2b-nav > ul { width: calc(100% - 48px); }
  .c2b-split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .c2b-grid-3 { gap: 18px; }
  .c2b-hero__inner { min-height: auto; padding: 48px 0; gap: 28px; }
  .c2b-hero h1 { max-width: 22ch; font-size: 40px; }
  .c2b-hero-card { max-width: none; justify-self: stretch; }
  .c2b-section { padding: 56px 0; }
}

@media (max-width: 640px) {
  body { font-size: 17px; line-height: 1.6; }
  .c2b-container, .c2b-nav > ul { width: calc(100% - 32px); }
  .c2b-section { padding: 40px 0; }
  .c2b-section__head { margin-bottom: 24px; }
  .c2b-page { padding: 36px 0 48px; }
  .c2b-hero__inner { padding: 36px 0 32px; }
  .c2b-hero h1, .c2b-page h1 { font-size: 32px; line-height: 1.2; }
  .c2b-title, .c2b-page h2 { font-size: 26px; line-height: 1.3; }
  .c2b-page h2 { margin-top: 28px; }
  .c2b-card h3 { font-size: 21px; }
  .c2b-section p, .c2b-card p, .c2b-subtitle,
  .c2b-page p, .c2b-page li, .c2b-hero p { font-size: 17px; line-height: 1.6; }
  .c2b-hero-card dd { font-size: 16px; }
  .c2b-grid-3 { gap: 16px; }
  .c2b-btn { width: 100%; min-height: 48px; font-size: 16px; }
  .page-id-14 .c2b-grid-3 .c2b-card > p:last-child { width: 100%; }
  .c2b-cta { padding: 40px 0; }
  .c2b-cta h2 { font-size: 26px; line-height: 1.3; }
  .c2b-site-footer { padding-top: 36px; }
  .page-id-9 .c2b-aides-table td { font-size: 17px; line-height: 1.6; }
}

.c2b-header-inner > .c2b-nav { margin-left: auto; }
.c2b-header-social {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.c2b-header-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  transition: background-color .18s ease;
}
.c2b-header-social img { width: 22px; height: 22px; }
.c2b-header-social a:hover { background: var(--c2b-blue-soft); }
.c2b-header-social a:focus-visible {
  outline: 2px solid var(--c2b-blue);
  outline-offset: 2px;
}
@media (max-width: 980px) {
  .c2b-header-inner > .c2b-brand { order: 1; }
  .c2b-header-social { order: 2; margin-left: auto; }
  .c2b-header-inner > .c2b-menu-toggle { order: 3; flex-shrink: 0; }
  .c2b-header-inner > .c2b-nav { order: 4; margin-left: 0; }
}
@media (max-width: 640px) {
  .c2b-header-inner { gap: 8px; }
}
.c2b-facebook-section { border-top: 1px solid var(--c2b-line); }
.c2b-facebook-feed { width: 100%; min-width: 0; }
.c2b-facebook-feed img { max-width: 100%; }
.c2b-facebook-section__link { margin: 28px 0 0; }
.c2b-facebook-section__link a { max-width: 100%; text-align: center; white-space: normal; }
@media (max-width: 640px) {
  .c2b-facebook-section__link a { width: 100%; }
}
.c2b-footer-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.c2b-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
.c2b-footer-links a:hover { color: var(--c2b-yellow, #ffdf00); }
.c2b-footer-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.c2b-legal { font-size: 16px; line-height: 1.7; }
.c2b-legal strong { font-weight: 600; }
@media (min-width: 981px) {
  .c2b-page-content > .c2b-subtitle,
  .c2b-page-content > h1 + p {
    max-width: 68ch;
    margin-top: 18px;
    color: var(--c2b-ink);
    font-size: 22px;
    line-height: 1.6;
    font-weight: 400;
  }
}
