:root {
  --ink: #1e2528;
  --muted: #62706b;
  --paper: #f8f5ee;
  --white: #ffffff;
  --navy: #132842;
  --green: #2f5d50;
  --green-dark: #23483f;
  --copper: #b77946;
  --copper-dark: #875834;
  --burgundy: #6e2f3b;
  --line: rgba(30, 37, 40, 0.14);
  --shadow: 0 20px 50px rgba(22, 29, 34, 0.16);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 245, 238, 0.92);
  border-bottom: 1px solid rgba(30, 37, 40, 0.1);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  gap: 12px;
}

.brand-mark {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
}

span.brand-mark {
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.main-nav a {
  min-height: 42px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: #33413f;
  font-size: 14px;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(47, 93, 80, 0.12);
  color: var(--green-dark);
  outline: none;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
}

.header-action:hover,
.header-action:focus-visible {
  background: var(--green-dark);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(19, 40, 66, 0.92), rgba(19, 40, 66, 0.68) 48%, rgba(19, 40, 66, 0.18)),
    linear-gradient(0deg, rgba(10, 14, 18, 0.45), rgba(10, 14, 18, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 136px 0 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 700;
}

.hero-lead {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.2;
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--copper-dark);
  outline: none;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.btn-secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--green-dark);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--green);
  outline: none;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(920px, 100%);
  margin: 70px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-proof div {
  min-height: 98px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-proof dt {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.hero-proof dd {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 700;
}

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.trust-grid p {
  margin: 0;
  min-height: 118px;
  padding: 24px;
  border-left: 1px solid var(--line);
}

.trust-grid p:last-child {
  border-right: 1px solid var(--line);
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  color: var(--navy);
  font-size: 17px;
}

.trust-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 96px 0;
}

.muted-section {
  background: #eee8dc;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
  gap: 64px;
}

.section-copy h2,
.section-heading h2 {
  margin: 0;
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.12;
  color: var(--navy);
}

.section-copy p,
.section-heading p {
  max-width: 720px;
  color: var(--muted);
}

.section-copy > p:last-child,
.section-heading > p:last-child {
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.feature-number {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: rgba(183, 121, 70, 0.16);
  color: var(--copper-dark);
  font-weight: 900;
  grid-row: 1 / span 2;
}

.feature-list h3,
.competence-card h3,
.team-card h3,
.login-panel h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.22;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.team-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.feature-list p,
.competence-card p,
.team-card p {
  margin: 0;
  color: var(--muted);
}

.feature-list h3,
.feature-list p {
  grid-column: 2;
}

.competence-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.pill {
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(47, 93, 80, 0.28);
  border-radius: var(--radius);
  background: transparent;
  color: var(--green-dark);
  font-weight: 800;
}

.pill.is-active,
.pill:hover,
.pill:focus-visible {
  background: var(--green);
  color: var(--white);
  outline: none;
}

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

.competence-card {
  display: flex;
  min-height: 312px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(30, 37, 40, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.competence-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.competence-card.is-hidden {
  display: none;
}

.card-kicker,
.role,
.panel-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.competence-card a {
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--green-dark);
  font-weight: 900;
}

.competence-card a:hover,
.competence-card a:focus-visible {
  color: var(--copper-dark);
  outline: none;
}

.client-section {
  color: var(--white);
  background: var(--navy);
}

.client-section .section-copy h2,
.client-section .section-copy p {
  color: var(--white);
}

.client-section .section-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.client-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
  align-items: center;
  gap: 72px;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.86);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--copper);
}

.login-panel,
.contact-form {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.login-panel {
  border-top: 5px solid var(--copper);
}

.demo-login,
.contact-form {
  display: grid;
  gap: 12px;
}

.conditional-field {
  display: grid;
  gap: 8px;
}

.conditional-field[hidden] {
  display: none;
}

.demo-login label,
.contact-form label {
  color: var(--navy);
  font-size: 14px;
  font-weight: 800;
}

.demo-login input,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(30, 37, 40, 0.18);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: #fbfaf7;
  color: var(--ink);
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.demo-login input:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  outline: 3px solid rgba(47, 93, 80, 0.16);
}

.form-note {
  min-height: 28px;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.form-note--inline {
  min-height: 0;
  margin: -4px 0 4px;
}

.form-note.is-success {
  background: #e7f3ee;
  color: var(--green-dark);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
}

.form-note.is-error {
  background: #fdecec;
  color: var(--burgundy);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
}

.team-group {
  margin-top: 40px;
}

.team-group + .team-group {
  margin-top: 56px;
}

.team-subhead {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.team-subhead::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}

.team-grid {
  display: grid;
  gap: 24px;
}

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

.team-grid-soutien {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 780px;
  margin-inline: auto;
}

@media (max-width: 900px) {
  .team-grid-associes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid-soutien { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .team-grid-associes,
  .team-grid-soutien {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
    margin-inline: auto;
  }
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(19, 40, 66, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--copper);
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(19, 40, 66, 0.18);
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-photo {
  margin: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(180deg, #eef1ec 0%, #f8f5ee 100%);
}

.team-photo img.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 480ms ease;
  filter: saturate(1.02);
}

.team-card:hover .team-photo img.avatar {
  transform: scale(1.05);
}

.team-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 22px 26px;
  background: var(--white);
}

.team-card .role {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
}

.avatar {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 16px rgba(19, 40, 66, 0.12);
}

div.avatar {
  display: grid;
  place-items: center;
  background: var(--green);
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
}

.network-section {
  background: var(--white);
}

.network-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.network-list span {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(47, 93, 80, 0.2);
  border-radius: var(--radius);
  background: #f7f1e8;
  color: var(--green-dark);
  font-weight: 800;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.1fr);
  gap: 60px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid rgba(30, 37, 40, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-list summary {
  min-height: 62px;
  padding: 18px 22px;
  color: var(--navy);
  font-weight: 900;
  cursor: pointer;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(47, 93, 80, 0.11), rgba(183, 121, 70, 0.1)),
    var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 0.75fr);
  gap: 64px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  font-style: normal;
}

.contact-details a,
.contact-details span {
  color: var(--navy);
  font-weight: 800;
}

.site-footer {
  padding: 54px 0;
  background: #11191d;
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 0.5fr);
  gap: 42px;
}

.footer-brand .brand-mark {
  background: var(--copper);
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.site-footer p {
  margin: 14px 0 0;
  max-width: 560px;
}

.site-footer a:not(.brand) {
  display: block;
  width: fit-content;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--white);
  outline: none;
}

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

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

  .header-action {
    display: none;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    min-height: 46px;
    padding: 11px 12px;
  }

  .hero {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .trust-grid,
  .section-heading,
  .split,
  .client-layout,
  .faq-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid p,
  .trust-grid p:last-child {
    border-right: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .section {
    padding: 74px 0;
  }

  .section-copy h2,
  .section-heading h2 {
    font-size: 36px;
  }

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

}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 17px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 112px 0 34px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(19, 40, 66, 0.93), rgba(19, 40, 66, 0.74)),
      linear-gradient(0deg, rgba(10, 14, 18, 0.45), rgba(10, 14, 18, 0.08));
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 18px;
  }

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

  .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .hero-proof div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .section-copy h2,
  .section-heading h2 {
    font-size: 31px;
  }

  .feature-list article,
  .team-card {
    grid-template-columns: 1fr;
  }

  .feature-number,
  .feature-list h3,
  .feature-list p {
    grid-column: auto;
    grid-row: auto;
  }

  .competence-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .competence-card,
  .team-card {
    min-height: auto;
  }

  .login-panel,
  .contact-form {
    padding: 22px;
  }
}

/* ---- Pages legales (mentions, confidentialite) ---- */
.legal-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background: var(--paper);
}

.legal-container {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  max-width: 880px;
}

.legal-container h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 38px;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.2;
}

.legal-container h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  font-size: 22px;
  margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.legal-container h3 {
  color: var(--green-dark);
  font-size: 17px;
  margin: 24px 0 8px;
}

.legal-container p,
.legal-container li {
  color: var(--ink);
  line-height: 1.7;
}

.legal-container ul {
  padding-left: 22px;
  margin: 12px 0;
}

.legal-container li {
  margin-bottom: 6px;
}

.legal-container a {
  color: var(--green-dark);
  text-decoration: underline;
}

.legal-container a:hover {
  color: var(--copper-dark);
}

.legal-container code {
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--burgundy);
}

.legal-updated {
  color: var(--muted);
  font-style: italic;
  margin: 0 0 24px;
  font-size: 14px;
}

.legal-todo {
  background: #fff4e0;
  border-left: 4px solid var(--copper);
  padding: 14px 18px;
  border-radius: 4px;
  color: var(--ink);
}

.legal-back {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 700px) {
  .legal-container {
    padding: 28px 20px;
  }
  .legal-container h1 {
    font-size: 28px;
  }
  .legal-container h2 {
    font-size: 19px;
  }
}


/* ---- Footer social (icône LinkedIn) ---- */
.footer-social {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.footer-social:hover,
.footer-social:focus-visible {
  background: #0a66c2;
  color: var(--white);
  outline: none;
  transform: translateY(-1px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-social span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------ */
/* Blog                                                           */
/* ------------------------------------------------------------ */

.breadcrumb-nav {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumb-nav a {
  color: var(--muted);
  text-decoration: underline;
}

.breadcrumb-nav a:hover,
.breadcrumb-nav a:focus-visible {
  color: var(--green-dark);
}

.breadcrumb-nav [aria-current="page"] {
  color: var(--navy);
  font-weight: 700;
}

.blog-hero {
  padding-bottom: 24px;
}

.blog-hero + .section {
  padding-top: 32px;
}

.blog-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  line-height: 1.12;
  color: var(--navy);
}

.section-lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.blog-empty {
  color: var(--muted);
  padding: 24px 0;
}

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

.blog-grid-related {
  margin-top: 24px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(30, 37, 40, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.blog-card-cover {
  display: block;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--navy), var(--green-dark));
}

.blog-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.5);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 2px;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.blog-card-date {
  color: var(--copper);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-card-body h2 {
  margin: 8px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.25;
  color: var(--navy);
}

.blog-card-body h2 a {
  color: inherit;
}

.blog-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.blog-card-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--green-dark);
  font-weight: 900;
  width: fit-content;
}

.blog-card-link:hover,
.blog-card-link:focus-visible {
  color: var(--copper-dark);
}

.blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
}

.blog-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  font-weight: 700;
}

.blog-pagination a:hover,
.blog-pagination a:focus-visible,
.blog-pagination a.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.article-container {
  max-width: 760px;
}

.article-page h1 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  line-height: 1.15;
  color: var(--navy);
}

.article-meta {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.article-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.article-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}

.article-body h2 {
  margin: 40px 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: var(--navy);
}

.article-body h3 {
  margin: 32px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  color: var(--navy);
}

.article-body p {
  margin: 0 0 20px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--copper);
  background: var(--paper);
  color: var(--muted);
  font-style: italic;
}

.article-body img {
  border-radius: var(--radius);
  margin: 24px 0;
}

.article-body a {
  color: var(--green-dark);
  text-decoration: underline;
}

.article-cta {
  margin-top: 48px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
}

.article-cta p {
  margin: 0 0 16px;
  color: var(--navy);
  font-weight: 700;
  font-size: 18px;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-hero h1 {
    font-size: 32px;
  }
  .article-page h1 {
    font-size: 30px;
  }
  .article-body {
    font-size: 17px;
  }
}
