/*
Theme Name: Reporting Lab
Template: twentytwentyfive
Description: Thème enfant Reporting Lab — identité visuelle navy, or, crème.
Version: 1.5
*/

/* ─── Header fixe ─────────────────────────────────────── */
.rl-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  height: 68px;
  box-shadow: 0 2px 16px rgba(13, 27, 62, 0.18);
}

.rl-header > .wp-block-group {
  height: 68px;
  max-width: 1200px;
  margin-inline: auto;
  width: 100%;
}

/* ─── Logo & titre ────────────────────────────────────── */
.rl-site-title a,
.rl-site-title a:visited {
  color: #ffffff !important;
  text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: 0.06em;
}

.rl-logo img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
}

/* ─── Navigation ──────────────────────────────────────── */
.rl-nav .wp-block-navigation__container {
  gap: 2rem;
}

.rl-nav .wp-block-navigation-item__content,
.rl-nav .wp-block-navigation-item a {
  color: #ffffff !important;
  text-decoration: none;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0;
  transition: color 0.2s ease;
  position: relative;
}

.rl-nav .wp-block-navigation-item a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #c9a84c;
  transition: width 0.25s ease;
}

.rl-nav .wp-block-navigation-item a:hover,
.rl-nav .wp-block-navigation-item a:focus {
  color: #c9a84c !important;
}

.rl-nav .wp-block-navigation-item a:hover::after {
  width: 100%;
}

/* ─── Bouton CTA header ───────────────────────────────── */
.rl-header-cta {
  display: inline-block;
  background-color: #c9a84c;
  color: #0d1b3e !important;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.48rem 1.2rem;
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}

.rl-header-cta:hover {
  background-color: #b8943f;
  color: #0d1b3e !important;
  text-decoration: none;
}

/* ─── Sélecteur de langue ─────────────────────────────── */
.rl-lang-switcher {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid #c9a84c;
  border-radius: 3px;
  overflow: hidden;
}

.rl-lang {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  padding: 0.3rem 0.65rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.rl-lang:hover {
  background-color: rgba(201,168,76,0.2);
  color: #c9a84c;
}

.rl-lang.active {
  background-color: #c9a84c;
  color: #0d1b3e;
}

.rl-lang-sep {
  color: #c9a84c;
  font-size: 0.7rem;
  opacity: 0.4;
  padding: 0 1px;
}

/* ─── Compenser le header fixe ────────────────────────── */
.wp-site-blocks {
  padding-top: 0 !important;
}

/* ─── Admin bar ajustement ────────────────────────────── */
.admin-bar .rl-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .rl-header {
    top: 46px;
  }
}

/* ─── Hero navy ─────────────────────────────────────────── */
.rl-hero-navy h1 {
  max-width: 820px;
}

/* ─── Pills ────────────────────────────────────────────── */
.rl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.rl-pill {
  display: inline-block;
  border: 1px solid #c9a84c;
  color: #c9a84c;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  background: transparent;
}

/* ─── Carte formations (hero) ──────────────────────────── */
.rl-formation-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 0;
}

.rl-formation-list li {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #1c1c1c;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0ece5;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.rl-formation-list li:last-child {
  border-bottom: none;
}

.rl-formation-list li::before {
  content: '—';
  color: #c9a84c;
  font-weight: 600;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.rl-formation-list li span {
  color: rgba(28,28,28,0.55);
  font-size: 0.85rem;
}

/* ─── Hero CTA hover ───────────────────────────────────── */
.rl-hero-cta .wp-block-button__link:hover {
  background-color: #b8943f !important;
  transform: translateY(-1px);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

/* ─── Stats bar ────────────────────────────────────────── */
.rl-statsbar .wp-block-columns {
  align-items: center;
}

.rl-stat {
  text-align: center;
  padding: 0.5rem 1rem;
}

.rl-stat--border {
  border-left: 1px solid rgba(13,27,62,0.2);
}

.rl-stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: #0d1b3e;
  line-height: 1.2;
}

.rl-stat-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(13,27,62,0.7);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ─── Service cards ────────────────────────────────────── */
.rl-service-card {
  transition: border-top-color 0.25s ease, box-shadow 0.25s ease;
  background-color: #faf7f2;
  box-shadow: 0 1px 4px rgba(13,27,62,0.06);
}

.rl-service-card:hover {
  border-top-color: #c9a84c !important;
  box-shadow: 0 6px 24px rgba(13,27,62,0.1);
}

.rl-link-arrow {
  color: #c9a84c;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rl-link-arrow:hover {
  color: #0d1b3e;
}

/* ─── Pourquoi cards ───────────────────────────────────── */
.rl-why-section .alignwide {
  max-width: min(1100px, 100%);
  width: 100%;
  margin-inline: auto;
}

.rl-why-card {
  background: #ffffff;
  border-radius: 3px;
  border-top: 3px solid transparent;
  padding: 2rem 2rem;
  box-shadow: 0 4px 20px rgba(13,27,62,0.09);
  height: 100%;
  transition: border-top-color 0.25s ease, box-shadow 0.25s ease;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.rl-why-card:hover {
  border-top-color: #c9a84c;
  box-shadow: 0 8px 32px rgba(13,27,62,0.13);
}

.rl-why-icon {
  font-size: 1.5rem;
  color: #c9a84c;
  margin-bottom: 1rem;
  line-height: 1;
}

.rl-why-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d1b3e;
  margin: 0 0 0.75rem 0;
}

.rl-why-text {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* ─── Références clients ───────────────────────────────── */
.rl-clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.rl-client {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  font-weight: 600;
  color: #0d1b3e;
  letter-spacing: 0.02em;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.rl-client:hover {
  opacity: 1;
}

.rl-client-sep {
  color: #c9a84c;
  font-size: 1.25rem;
  font-weight: 300;
  opacity: 0.5;
}

/* ─── Responsive ───────────────────────────────────────── */
@media (max-width: 768px) {
  .rl-hero {
    min-height: auto;
  }

  .rl-stat--border {
    border-left: none;
    border-top: 1px solid rgba(13,27,62,0.2);
  }

  /* Stats bandeau : grille 2×2 sur tablette */
  .rl-statsbar .wp-block-columns {
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .rl-statsbar .wp-block-column {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  .rl-statsbar .wp-block-column:nth-child(2) .rl-stat,
  .rl-statsbar .wp-block-column:nth-child(4) .rl-stat {
    border-left: 1px solid rgba(13,27,62,0.2);
  }
  .rl-statsbar .wp-block-column:nth-child(3) .rl-stat,
  .rl-statsbar .wp-block-column:nth-child(4) .rl-stat {
    border-top: 1px solid rgba(13,27,62,0.2);
    padding-top: 1.25rem;
    margin-top: 0.25rem;
  }

  /* CTA header masqué sur mobile (place manquante) */
  .rl-header-cta {
    display: none;
  }
}

@media (max-width: 480px) {
  /* Stats : 1 colonne sur très petit écran */
  .rl-statsbar .wp-block-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .rl-statsbar .wp-block-column:nth-child(2) .rl-stat,
  .rl-statsbar .wp-block-column:nth-child(4) .rl-stat {
    border-left: none;
  }
}

/* ─── Footer ───────────────────────────────────────────── */
.rl-footer-logo img {
  max-height: 38px;
  width: auto;
}

.rl-footer-site-title a,
.rl-footer-site-title a:visited {
  color: #ffffff !important;
  text-decoration: none;
  font-family: 'Playfair Display', Georgia, serif;
}

.rl-footer-site-title a:hover {
  color: #c9a84c !important;
}

.rl-footer-nav .wp-block-navigation-item a,
.rl-footer-nav .wp-block-navigation-item__content {
  color: rgba(255,255,255,0.6) !important;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.rl-footer-nav .wp-block-navigation-item a:hover {
  color: #c9a84c !important;
}

.rl-footer-nav .wp-block-navigation__container {
  gap: 1.75rem;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .rl-footer > .wp-block-group:first-child {
    flex-direction: column;
    gap: 2rem !important;
    align-items: flex-start;
  }

  .rl-footer-nav .wp-block-navigation__container {
    gap: 1rem;
  }
}

/* ─── Page Contact ─────────────────────────────────────── */
.rl-contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 88px;
}

.rl-contact-info .rl-contact-info-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d1b3e;
  margin: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  -webkit-hyphens: none;
}

.rl-contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rl-contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.rl-contact-item-icon {
  font-size: 1.1rem;
  color: #c9a84c;
  flex-shrink: 0;
  margin-top: 0.1em;
  width: 1.25rem;
  text-align: center;
}

.rl-contact-item-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.rl-contact-item-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13,27,62,0.45);
}

.rl-contact-item-value {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  color: #1c1c1c;
  line-height: 1.55;
}

.rl-contact-link {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  color: #c9a84c;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.rl-contact-link:hover {
  color: #0d1b3e;
}

.rl-contact-domains {
  border-top: 1px solid #e8e2d9;
  padding-top: 1.5rem;
}

.rl-contact-domains-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(13,27,62,0.45);
  margin: 0 0 0.75rem 0;
}

.rl-contact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rl-contact-tag {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: #0d1b3e;
  border: 1px solid #d4c9b4;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  background: #faf7f2;
}

/* ─── Contact Form 7 — styles ───────────────────────────── */
.rl-cf7-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.rl-cf7-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d1b3e;
}

.rl-required {
  color: #c9a84c;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  color: #1c1c1c;
  background: #faf8f4;
  border: 1px solid #ddd5c5;
  border-radius: 2px;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  appearance: none;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border-color: #c9a84c;
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  background: #ffffff;
}

.wpcf7-form textarea {
  min-height: 140px;
  resize: vertical;
}

.wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.rl-cf7-submit,
.wpcf7-submit {
  display: inline-block;
  background-color: #c9a84c;
  color: #0d1b3e;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 2px;
  padding: 0.85rem 2rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 100%;
  margin-top: 0.5rem;
}

.rl-cf7-submit:hover,
.wpcf7-submit:hover {
  background-color: #0d1b3e;
  color: #c9a84c;
}

.wpcf7-response-output {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  border: none !important;
}

.wpcf7-mail-sent-ok {
  background: #f0faf0;
  color: #1a5c2a;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background: #fff5f5;
  color: #8b1a1a;
}

/* ─── Page À propos ────────────────────────────────────── */
.rl-bio-section {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 3rem;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
}

.rl-bio-photo-col {
  flex: 0 0 40% !important;
  max-width: 40% !important;
  width: 40%;
}

.rl-bio-photo {
  display: block;
  width: 100%;
  height: 500px;
  max-height: 500px;
  object-fit: cover;
  object-position: top center;
  border-radius: 4px;
  border-bottom: 4px solid #c9a84c;
  box-shadow: 0 8px 32px rgba(13, 27, 62, 0.14);
}

.rl-bio-text-col {
  flex: 0 0 60% !important;
  max-width: 60% !important;
  min-width: 0;
  box-sizing: border-box;
}

.rl-bio-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d1b3e;
  margin: 0 0 1.5rem 0;
  line-height: 1.3;
}

.rl-bio-para {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3a3a3a;
  margin: 0 0 1.25rem 0;
}

.rl-bio-para-last {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .rl-bio-section {
    flex-direction: column;
    gap: 2rem;
  }
  .rl-bio-photo-col {
    flex: none;
    max-width: 280px;
  }
}

/* ─── Citation ─────────────────────────────────────────── */
.rl-citation {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}

.rl-citation-mark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 6rem;
  color: #c9a84c;
  line-height: 0.6;
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.rl-citation-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: #0d1b3e;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
  border: none;
  padding: 0;
}

.rl-citation-caption {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.85rem;
  color: rgba(13,27,62,0.5);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Approche ─────────────────────────────────────────── */
.rl-approche-item {
  padding: 2rem 1.75rem;
  border-top: 3px solid #c9a84c;
  background: #faf7f2;
  border-radius: 0 0 3px 3px;
}

.rl-approche-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.rl-approche-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d1b3e;
  margin: 0 0 0.75rem 0;
}

.rl-approche-text {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.93rem;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0;
}

/* ─── Page Veille & Insights ───────────────────────────── */
.rl-veille-bloc {
  transition: box-shadow 0.25s ease;
}

.rl-veille-bloc:hover {
  box-shadow: 0 8px 32px rgba(13,27,62,0.12) !important;
}

.rl-veille-inner {
  display: flex;
  flex-direction: column;
}

.rl-veille-tag {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #0d1b3e;
  padding: 0.75rem 2rem;
  border-left: 4px solid #c9a84c;
}

.rl-veille-org {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #c9a84c;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.rl-veille-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

.rl-veille-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.rl-veille-left {
  padding: 2.25rem 2rem 2.25rem 2rem;
  border-right: 1px solid #f0ece5;
}

.rl-veille-right {
  padding: 2.25rem 2rem 2.25rem 2.25rem;
}

.rl-veille-icon {
  font-size: 1.75rem;
  color: #c9a84c;
  margin-bottom: 1rem;
  line-height: 1;
}

.rl-veille-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d1b3e;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.rl-veille-desc {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #3a3a3a;
  margin: 0;
}

.rl-veille-topics-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 0.9rem 0;
}

.rl-veille-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rl-veille-list li {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  color: #3a3a3a;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.rl-veille-list li::before {
  content: '→';
  color: #c9a84c;
  font-size: 0.75rem;
  position: absolute;
  left: 0;
  top: 0.1em;
}

@media (max-width: 768px) {
  .rl-veille-content {
    grid-template-columns: 1fr;
  }

  .rl-veille-left {
    border-right: none;
    border-bottom: 1px solid #f0ece5;
    padding-bottom: 1.5rem;
  }

  .rl-veille-right {
    padding-top: 1.5rem;
  }
}

/* ─── Page Formations — cartes ─────────────────────────── */
.rl-formation-card {
  background: #ffffff;
  border-radius: 3px;
  border-top: 4px solid #c9a84c;
  box-shadow: 0 2px 12px rgba(13,27,62,0.07);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  overflow: hidden;
}

.rl-formation-card:hover {
  box-shadow: 0 8px 32px rgba(13,27,62,0.13);
  transform: translateY(-2px);
}

.rl-fc-header {
  background-color: #0d1b3e;
  padding: 1.75rem 2rem 1.5rem;
  position: relative;
}

.rl-fc-badge {
  display: inline-block;
  background-color: #c9a84c;
  color: #0d1b3e;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.9rem;
}

.rl-fc-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

.rl-fc-subtitle {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.5;
}

.rl-fc-body {
  padding: 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.rl-fc-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.rl-fc-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rl-fc-meta-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a84c;
}

.rl-fc-meta-value {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.9rem;
  color: #3a3a3a;
  line-height: 1.55;
}

.rl-fc-themes {
  border-top: 1px solid #f0ece5;
  padding-top: 1.25rem;
}

.rl-fc-themes-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a84c;
  margin: 0 0 0.75rem 0;
}

.rl-fc-themes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rl-fc-themes-list li {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  color: #3a3a3a;
  line-height: 1.5;
  padding-left: 1rem;
  position: relative;
}

.rl-fc-themes-list li::before {
  content: '—';
  color: #c9a84c;
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  top: 0.05em;
}

.rl-fc-footer {
  padding: 0 2rem 1.75rem;
}

.rl-fc-btn {
  display: inline-block;
  background-color: #c9a84c;
  color: #0d1b3e;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
}

.rl-fc-btn:hover {
  background-color: #0d1b3e;
  color: #c9a84c;
}

/* ─── Page Conseil ─────────────────────────────────────── */
.rl-conseil-bloc {
  transition: box-shadow 0.25s ease;
}

.rl-conseil-bloc:hover {
  box-shadow: 0 6px 28px rgba(13,27,62,0.09);
}

.rl-conseil-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.rl-conseil-list li {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.92rem;
  color: #3a3a3a;
  line-height: 1.5;
  padding-left: 1.1rem;
  position: relative;
}

.rl-conseil-list li::before {
  content: '→';
  color: #c9a84c;
  font-weight: 600;
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 640px) {
  .rl-conseil-list {
    grid-template-columns: 1fr;
  }
}

/* ─── Agrandissement textes page d'accueil ─────────────── */

/* Hero : titre plus grand */
.rl-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem) !important;
  line-height: 1.12 !important;
}

/* Hero : sous-titre */
.rl-hero > .wp-block-group > .wp-block-columns > .wp-block-column:first-child p {
  font-size: 1.2rem !important;
  line-height: 1.8 !important;
}

/* Sections : titres h2 */
.wp-block-group h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
}

/* Services : texte des cartes */
.rl-service-card p {
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
}

/* Pourquoi : texte */
.rl-why-text {
  font-size: 1.05rem !important;
  line-height: 1.75 !important;
}

/* Pourquoi : titre de carte */
.rl-why-title {
  font-size: 1.2rem !important;
}

/* Stats : label */
.rl-stat-label {
  font-size: 0.88rem !important;
}

/* Stats : chiffre */
.rl-stat-number {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem) !important;
}

/* Formations liste (carte hero) */
.rl-formation-list li {
  font-size: 0.98rem !important;
  padding: 0.7rem 0 !important;
}

/* CTA final */
.wp-block-group[style*="background-color:#0d1b3e"] h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem) !important;
}
.wp-block-group[style*="background-color:#0d1b3e"] p {
  font-size: 1.1rem !important;
}

/* Clients */
.rl-client {
  font-size: clamp(1rem, 1.8vw, 1.3rem) !important;
}

/* ═══════════════════════════════════════════════════════
   VEILLE & INSIGHTS — BLOG LISTING
   ═══════════════════════════════════════════════════════ */

/* Utility: hidden by JS filter */
.rl-hidden { display: none !important; }

/* ─── Section wrapper ──────────────────────────────── */
.rl-blog-section {
  background: #f9f5ee;
}

/* ─── Filter bar ───────────────────────────────────── */
.rl-blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.rl-blog-filter-btn {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 0.45rem 1.1rem;
  border: 1.5px solid #c9a84c;
  border-radius: 2px;
  background: transparent;
  color: #0d1b3e;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.rl-blog-filter-btn:hover,
.rl-blog-filter-btn.active {
  background: #c9a84c;
  color: #0d1b3e;
}

/* ─── Shared tag ───────────────────────────────────── */
.rl-article-tag {
  display: inline-block;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fdf5e0;
  color: #a07825;
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 0.85rem;
}

.rl-tag-sm {
  font-size: 0.68rem;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0;
  margin-right: 0.5rem;
}

/* ─── Featured article (navy) ──────────────────────── */
.rl-featured-article {
  background: #0d1b3e;
  border-radius: 3px;
  padding: 0;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.rl-featured-inner {
  padding: 2.5rem 3rem;
  max-width: 780px;
}

.rl-featured-article .rl-article-tag {
  background: rgba(201,168,76,0.18);
  color: #c9a84c;
}

.rl-featured-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.rl-featured-date {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

.rl-featured-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 1rem;
}

.rl-featured-title a {
  color: inherit;
  text-decoration: none;
}

.rl-featured-title a:hover { color: #c9a84c; }

.rl-featured-excerpt {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin: 0 0 1.75rem;
}

.rl-featured-link {
  display: inline-block;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: #c9a84c;
  text-decoration: none;
  border-bottom: 1px solid rgba(201,168,76,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.rl-featured-link:hover { border-color: #c9a84c; }

/* ─── Article grid (2×2) ───────────────────────────── */
.rl-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.rl-article-card {
  background: #ffffff;
  border: 1px solid #e8e2d9;
  border-top: 2px solid #c9a84c;
  border-radius: 3px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.rl-article-card:hover {
  box-shadow: 0 6px 24px rgba(13,27,62,0.1);
  transform: translateY(-2px);
}

.rl-article-card-inner {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.rl-article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0d1b3e;
  margin: 0 0 0.75rem;
  flex-grow: 1;
}

.rl-article-title a {
  color: inherit;
  text-decoration: none;
}

.rl-article-title a:hover { color: #c9a84c; }

.rl-article-excerpt {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.7;
  color: #666;
  margin: 0 0 1.25rem;
}

.rl-article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f0ebe3;
}

.rl-article-date {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.75rem;
  color: #999;
  letter-spacing: 0.03em;
}

.rl-article-readmore {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c9a84c;
  text-decoration: none;
  transition: color 0.2s;
}

.rl-article-readmore:hover { color: #0d1b3e; }

/* ─── Older articles list ──────────────────────────── */
.rl-article-list {
  border-top: 2px solid #0d1b3e;
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.rl-article-list-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0d1b3e;
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.rl-article-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e8e2d9;
}

.rl-list-number {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: #c9a84c;
  min-width: 2rem;
  line-height: 1.4;
}

.rl-list-content { flex: 1; }

.rl-list-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: #0d1b3e;
  margin: 0 0 0.4rem;
}

.rl-list-title a {
  color: inherit;
  text-decoration: none;
}

.rl-list-title a:hover { color: #c9a84c; }

.rl-list-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ─── No posts message ─────────────────────────────── */
.rl-no-posts {
  text-align: center;
  color: #888;
  font-style: italic;
  padding: 3rem 0;
}

/* ─── Responsive ───────────────────────────────────── */
@media (max-width: 640px) {
  .rl-featured-inner { padding: 2rem 1.5rem; }
  .rl-article-grid { grid-template-columns: 1fr; }
  .rl-blog-filters { gap: 0.4rem; }
}

/* ─── Masquer le titre de page sur toutes les pages statiques ── */
.home .wp-block-post-title,
.page .wp-block-post-title,
.wp-block-post-title,
.page-title,
h1.entry-title {
  display: none !important;
}

/* ─── Anti-césure : stats + titres Elementor ─────────── */
.rl-stat-number,
.rl-stat-label {
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
}

.elementor-widget-heading .elementor-heading-title {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  word-break: keep-all !important;
}

/* ─── Site title : texte visible mais non cliquable ────── */
.rl-site-title a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

/* ─── Grille formations : auto-fill, min 360 px par carte ─ */
.rl-formations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
  align-items: start;
}

.rl-formations-grid .rl-formation-card {
  height: 100%;
}

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