:root {
  --kl-motion: cubic-bezier(.22, 1, .36, 1);
}

/* Le header reste visible pendant toute la navigation. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .topbar {
  position: relative;
  top: auto;
}

/* Sous-rubriques du menu, lisibles sur desktop comme sur mobile. */
.site-header .nav-submenu a,
.site-header .has-submenu.is-open > .nav-submenu a {
  font-size: 14px;
  line-height: 1.45;
}

.article-hero-intro {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
}

.article-hero-intro,
.article-hero-intro * {
  text-align: left !important;
}

.article-hero-intro > :first-child {
  margin-top: 0;
}

.article-hero-intro > :last-child {
  margin-bottom: 0;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 0 42px;
  color: #6f6f6f;
  font-size: 14px;
}

.article-breadcrumb a {
  color: var(--kl-blue);
  text-decoration: none;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.pillar-breadcrumb-wrap {
  border-bottom: 1px solid #e7e7e7;
  background: #fff;
}

.pillar-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  padding: 15px 0;
  color: #72767b;
  font-size: 14px;
  line-height: 1.45;
}

.pillar-breadcrumb a {
  color: var(--kl-blue);
  font-weight: 600;
  text-decoration: none;
}

.pillar-breadcrumb a:hover {
  color: var(--kl-gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 767.98px) {
  .pillar-breadcrumb {
    gap: 5px;
    padding: 12px 0;
    font-size: 13px;
  }
}

.offense-listing {
  margin-top: 44px;
  padding-top: 0;
  background: transparent;
}

.pillar-content .offense-listing-grid {
  grid-template-columns: 1fr;
}

.offense-listing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.offense-listing-item {
  position: relative;
  padding: 24px 26px 22px;
  overflow: hidden;
  border: 1px solid #e2e5e9;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(23, 47, 82, .055);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.offense-listing-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--kl-gold);
}

.offense-listing-item:hover {
  border-color: rgba(195, 170, 61, .6);
  box-shadow: 0 10px 26px rgba(23, 47, 82, .1);
  transform: translateY(-2px);
}

.offense-listing-item h3 {
  margin: 0 0 13px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.32;
}

.offense-listing-item h3 a {
  color: var(--kl-blue);
  text-decoration: none;
}

.offense-listing-item h3 a:hover,
.offense-read-more:hover {
  color: var(--kl-gold);
}

.offense-listing-excerpt p {
  margin: 0 0 14px;
  color: #4f5358;
  font-size: 16px;
  line-height: 1.6;
  text-align: left !important;
}

.offense-listing-excerpt p:last-child {
  margin-bottom: 14px;
}

.offense-read-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--kl-blue);
  font-size: 14px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.offense-read-more::after {
  content: "→";
  color: var(--kl-gold);
  font-size: 17px;
  line-height: 1;
  transition: transform .2s ease;
}

.offense-read-more:hover::after {
  transform: translateX(3px);
}

@media (max-width: 767.98px) {
  .offense-listing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .offense-listing-item h3 {
    font-size: 20px;
  }

  .offense-listing-item {
    padding: 21px 20px 19px;
  }
}

.sidebar-title,
.article-contact-card h2,
.pillar-contact-card h2 {
  margin: 0 0 18px;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;
}

/* Ajustements de proportions juillet 2026 */
body {
  font-size: 16px;
  line-height: 1.6;
}

.container,
.topbar > .container,
.article-main .container,
.pillar-main .container,
.press-intro .container,
.press-videos .container {
  max-width: 1240px;
  padding-right: 20px;
  padding-left: 20px;
}

.topbar,
.navbar > .container {
  min-height: 80px;
}

.nav-link {
  font-size: 15px;
}

.navbar .btn-kl {
  min-width: 200px;
  min-height: 48px;
  padding: 0 24px;
  background: #50b747;
  border-color: #50b747;
  color: #fff;
  font-size: 15px;
}

.navbar .btn-kl:hover,
.navbar .btn-kl:focus-visible {
  background: #419d39;
  border-color: #419d39;
}

.hero {
  height: 52vh;
  min-height: 380px;
  max-height: 545px;
}

.hero p,
.section-copy,
.intro-text p,
.cabinet p,
.domain-card p,
.review-card p,
.timeline-content p,
.article-content p,
.article-content li,
.pillar-content p,
.pillar-content li,
.press-intro p,
.press-video figcaption,
.footer p {
  font-size: 16px;
  line-height: 1.6;
}

.section,
.intro-text,
.article-main,
.pillar-main,
.press-intro,
.press-videos {
  padding-top: 72px;
  padding-bottom: 72px;
}

@media (max-width: 991.98px) {
  .container,
  .topbar > .container,
  .article-main .container,
  .pillar-main .container,
  .press-intro .container,
  .press-videos .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .topbar,
  .navbar > .container {
    min-height: 60px;
  }

  .navbar-collapse.show {
    top: 60px;
  }

  .brand-logo {
    width: 40px;
  }

  .navbar .btn-kl {
    min-width: 0;
    min-height: 42px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero {
    height: auto;
    min-height: 438px;
    max-height: none;
  }

  .hero p,
  .section-copy,
  .intro-text p,
  .cabinet p,
  .domain-card p,
  .review-card p,
  .timeline-content p,
  .article-content p,
  .article-content li,
  .pillar-content p,
  .pillar-content li,
  .press-intro p,
  .press-video figcaption,
  .footer p {
    font-size: 16px;
  }

  .section,
  .intro-text,
  .article-main,
  .pillar-main,
  .press-intro,
  .press-videos {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .stat-grid {
    justify-items: center;
  }

  .stat {
    width: 100%;
    justify-content: center;
  }

  .stat > div {
    text-align: left;
  }

  .hero-actions .btn-kl,
  .cabinet .btn-kl,
  .articles > .container > .btn-kl,
  .contact-form .btn-kl,
  .article-contact-form .btn-kl,
  .pillar-contact-form .btn-kl {
    min-height: 42px;
    font-size: 15px;
  }
}

/* Le formulaire doit participer à la hauteur de sa section : une hauteur fixe
   le faisait déborder sur le footer après restauration de tous ses champs. */
.elementor .contact > .e-con-inner > .elementor-widget-shortcode,
.elementor .contact .elementor-widget-shortcode {
  height: auto !important;
  min-height: 0 !important;
}

/* Un seul chevron : celui du conteneur, stable dans tous les navigateurs. */
body .elementor .contact select.wpcf7-form-control {
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: #fff !important;
  background-image: url("../img/select-chevron.svg") !important;
  background-position: right 16px center !important;
  background-repeat: no-repeat !important;
  background-size: 12px 8px !important;
}

body .elementor .contact .contact-field.has-select::after,
body .elementor .contact .contact-field:has(select)::after {
  display: none !important;
}

.elementor .contact .contact-message,
.elementor .contact .contact-message .wpcf7-form-control-wrap {
  min-width: 0;
  max-width: 100%;
}

.elementor .contact .contact-message textarea {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  resize: none;
}

@media (min-width: 768px) {
  .elementor .contact > .e-con-inner > .elementor-widget-shortcode {
    font-size: 0;
    line-height: 0;
  }

  .elementor .contact .wpcf7-form {
    margin-top: 36px !important;
    font-size: 16px;
    line-height: 1.6;
  }

  .elementor .contact .contact-grid {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .elementor .contact .contact-column {
    display: flex;
    width: auto !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    flex-direction: column;
    gap: 8px;
  }

  .elementor .contact .contact-field {
    margin-bottom: 0 !important;
  }

  body .elementor .contact .contact-message,
  body .elementor .contact .contact-message .wpcf7-form-control-wrap,
  body .elementor .contact .contact-message textarea {
    height: 112px !important;
    min-height: 112px !important;
  }

  .elementor .contact .wpcf7-form-control:not(.wpcf7-submit) {
    font-size: 14px !important;
  }

  .elementor .contact .contact-submit {
    margin-top: 24px !important;
  }
}

/* Uniformisation des CTA et des titres sur mobile */
@media (max-width: 991.98px) {
  .hero-actions .btn-kl,
  .cabinet .btn-kl,
  .articles > .container > .btn-kl,
  .faq-section .container > .btn-kl,
  .contact-form .btn-kl,
  .article-contact-form .btn-kl,
  .pillar-contact-form .btn-kl {
    min-height: 48px;
    height: 48px;
    padding: 0 24px;
    border-radius: 7px;
    font-size: 15px;
    line-height: 1.2;
  }

  .intro-text .container {
    max-width: none;
  }

  .intro-text .section-title,
  .cabinet .section-title {
    max-width: none;
    font-size: 28px;
  }

  .intro-text .section-title .gold,
  .cabinet .section-title .gold {
    white-space: nowrap;
  }
}

body {
  zoom: 1 !important;
  font-size: 15px;
  line-height: 1.6;
}

.container {
  max-width: 1180px;
  padding-right: 28px;
  padding-left: 28px;
}

.topbar,
.navbar > .container {
  min-height: 70px;
}

.topbar {
  padding-top: 0;
  padding-bottom: 0;
}

.hero {
  height: 60vh;
  min-height: 432px;
  max-height: 620px;
}

.topbar > .container {
  max-width: 1180px;
}

.navbar-nav {
  gap: 14px;
}

.nav-link {
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .navbar-brand {
    min-width: 215px;
  }

  .brand-logo {
    width: 215px;
  }

  .navbar-nav {
    gap: 22px !important;
  }

  .navbar-nav > .nav-item > .nav-link {
    padding-right: 8px;
    padding-left: 8px;
  }
}

.hero h1 {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.18;
}

.pillar-hero h1 {
  width: min(900px, 100%);
  max-width: 900px;
  white-space: normal;
  text-wrap: balance;
}

.hero p {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.section {
  padding: 96px 0;
}

.intro-text {
  padding: 96px 0;
}

.section-title {
  font-size: 35px;
  font-weight: 600;
  line-height: 1.28;
}

.section-copy,
.intro-text p,
.cabinet p {
  max-width: 680px;
  font-size: 15px;
  line-height: 1.6;
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: .1em;
}

.section-title::after {
  margin-top: 22px;
}

.stats {
  padding: 28px 0;
}

.stat-grid {
  gap: 24px;
}

.domain-grid {
  gap: 52px 38px;
  margin-top: 64px;
}

.domain-card h3,
.article-card h3 {
  font-size: 18px;
  line-height: 1.35;
}

.domain-card p,
.review-card p {
  font-size: 14px;
  line-height: 1.55;
}

.faq-row {
  min-height: 62px;
  font-size: 15px;
}

.review-card {
  min-height: 190px;
  padding: 24px;
  border-radius: 12px;
}

.article-grid {
  gap: 32px;
  max-width: 760px;
  margin-top: 48px;
}

.article-card {
  border-radius: 12px;
}

.article-body {
  min-height: 132px;
  padding: 34px 22px 22px;
}

.contact-form {
  max-width: 820px;
  margin-top: 36px;
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 7px;
  font-size: 14px;
}

textarea.form-control {
  min-height: 124px;
}

.footer {
  padding: 58px 0;
}

/* Proportions communes aux pages éditoriales */
.article-hero {
  min-height: 432px;
  padding: 96px 0;
}

.article-hero h1 {
  max-width: 900px;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.18;
}

.article-main,
.pillar-main,
.press-intro,
.press-videos {
  padding: 58px 0 84px;
}

#contact,
.contact,
.article-sidebar,
.pillar-sidebar {
  scroll-margin-top: 104px;
}

.kl-mobile-sticky-shell,
.kl-mobile-sticky-cta {
  display: none;
}

@media (max-width: 767.98px) {
  .site-header .nav-submenu a,
  .site-header .has-submenu.is-open > .nav-submenu a {
    font-size: 14px !important;
    line-height: 1.45 !important;
  }

  .kl-mobile-sticky-shell {
    position: fixed;
    z-index: 1100;
    right: 0;
    bottom: calc(20px + var(--kl-mobile-viewport-bottom, 0px));
    left: 0;
    display: flex;
    padding: 0 5%;
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity .22s ease, transform .22s ease;
  }

  .kl-mobile-sticky-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 18px;
    border-radius: 7px;
    background: #50b747;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .24);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }

  .kl-mobile-sticky-shell.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .home #contact {
    scroll-margin-top: 72px;
  }

  .elementor .contact .contact-grid {
    --bs-gutter-y: 0;
    row-gap: 0 !important;
  }

  .elementor .contact .contact-grid > .contact-column {
    margin-top: 0 !important;
  }
}

.article-main .container,
.pillar-main .container,
.press-intro .container,
.press-videos .container {
  max-width: 1180px;
}

.article-layout,
.pillar-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 64px;
}

.article-content,
.pillar-content {
  max-width: 720px;
}

.article-content h2,
.pillar-content h2,
.pillar-cta .elementor-heading-title {
  font-size: 35px;
  font-weight: 600;
  line-height: 1.28;
}

.article-content h2:not(:first-child),
.pillar-content h2:not(:first-child) {
  margin-top: 64px;
}

.article-content p,
.article-content li,
.pillar-content p,
.pillar-content li,
.press-intro p,
.press-video figcaption {
  font-size: 15px;
  line-height: 1.6;
}

.article-contact-card,
.pillar-contact-card {
  padding: 32px;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .11);
  transition:
    box-shadow .35s var(--kl-motion),
    transform .35s var(--kl-motion);
}

.article-contact-card:hover,
.pillar-contact-card:hover {
  box-shadow: 0 20px 42px rgba(0, 0, 0, .15);
  transform: translateY(-4px);
}

.article-contact-card h2,
.pillar-contact-card h2 {
  font-size: 28px;
  line-height: 1.25;
}

.article-contact-form,
.pillar-contact-form {
  gap: 10px;
  margin-top: 26px;
}

.article-contact-form {
  display: block;
}

.article-contact-form .wpcf7-form,
.article-contact-form .contact-grid {
  display: grid;
  gap: 10px;
}

/* Les colonnes CF7 sont empilées dans les formulaires latéraux. Neutraliser
   la gouttière Bootstrap évite un espace supplémentaire entre E-mail et Situation. */
.article-contact-form .contact-grid,
.pillar-contact-form .contact-grid {
  --bs-gutter-y: 0;
  row-gap: 0 !important;
  margin-top: 0 !important;
}

.article-contact-form .contact-grid > .contact-column,
.pillar-contact-form .contact-grid > .contact-column {
  margin-top: 0 !important;
}

.article-contact-form .contact-grid {
  grid-template-columns: minmax(0, 1fr);
}

.article-contact-form .contact-field:nth-child(1) { order: 1; }
.article-contact-form .contact-field:nth-child(3) { order: 2; }
.article-contact-form .contact-field:nth-child(5) { order: 3; }
.article-contact-form .contact-field:nth-child(2) { order: 4; }
.article-contact-form .contact-field:nth-child(4) { order: 5; }

.article-contact-form .contact-message {
  grid-column: auto;
  grid-row: auto;
  height: auto;
}

.article-contact-form .contact-field p,
.article-contact-form .contact-submit p {
  width: 100%;
  max-width: none;
  margin: 0;
}

.article-contact-form .wpcf7-form-control-wrap {
  display: block;
}

.article-contact-form .wpcf7-form-control:not(.wpcf7-submit) {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background: #fff;
  color: #555;
  font-size: 16px;
  line-height: 24px;
}

.article-contact-form textarea.wpcf7-form-control:not(.wpcf7-submit) {
  height: 124px;
  min-height: 124px;
}

.article-contact-form .contact-submit {
  margin-top: 6px;
}

.article-contact-form .wpcf7-submit {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 7px;
  background: #50b747;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.article-contact-form .wpcf7-spinner {
  display: none;
}

.article-contact-form .form-control,
.article-contact-form .form-select,
.pillar-contact-form .form-control,
.pillar-contact-form .form-select {
  min-height: 52px;
  border-radius: 7px;
  font-size: 14px;
}

.article-contact-form textarea.form-control,
.pillar-contact-form textarea.form-control {
  min-height: 124px;
}

.article-contact-form .btn-kl,
.pillar-contact-form .btn-kl {
  width: 100%;
}

.pillar-cta {
  padding: 76px 28px;
}

.pillar-cta-actions {
  gap: 16px;
  margin-top: 32px;
}

.press-grid {
  gap: 32px;
}

.press-listing .editorial-listing-grid {
  max-width: 920px;
}

.press-listing .editorial-listing-grid .article-card {
  position: relative;
  min-width: 0;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
}

.press-listing .editorial-listing-grid .article-card > a {
  display: block;
  height: 100%;
  color: #252525;
  text-decoration: none;
}

.press-listing .editorial-listing-grid .article-card:not(.has-post-thumbnail) > a::before {
  content: "";
  display: block;
  width: 100%;
  height: 200px;
  background: url("../img/article-justice.png") center / cover no-repeat;
}

.press-listing .editorial-listing-grid .article-card:not(.has-post-thumbnail):nth-child(3n) > a::before {
  background-image: url("../img/article-road.png");
}

.press-listing .editorial-listing-grid .article-card img:not(.article-lock img) {
  width: 100%;
  height: 200px;
  aspect-ratio: auto;
  object-fit: cover;
}

.press-listing .editorial-listing-grid .article-body {
  min-height: 134px;
  padding: 34px 22px 20px;
}

.editorial-listing-grid .article-card h2,
.editorial-listing-grid .article-card-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.listing-pagination {
  margin-top: 40px;
  text-align: center;
}

.listing-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.listing-pagination > .navigation.pagination {
  width: 100%;
  justify-content: center;
}

.listing-pagination .page-numbers {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 7px;
  background: #fff;
}

.listing-pagination .page-numbers.current,
.listing-pagination .page-numbers:hover {
  background: var(--kl-gold);
  color: #fff;
}

.sitemap-main .article-content {
  max-width: none;
}

.sitemap-intro {
  max-width: 760px;
  margin: 0 0 48px;
  color: #565656;
  font-size: 16px;
  line-height: 1.7;
}

.kl-sitemap {
  display: grid;
  gap: 52px;
}

.kl-sitemap .kl-sitemap-group h2 {
  margin: 0 0 22px;
  color: #303030;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.25;
}

.kl-sitemap .kl-sitemap-group ul {
  columns: 2;
  column-gap: 48px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kl-sitemap .kl-sitemap-group li {
  break-inside: avoid;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid #dedede;
}

.kl-sitemap .kl-sitemap-group a {
  display: inline-block;
  color: #30343a;
  text-decoration: none;
}

.kl-sitemap .kl-sitemap-group a:hover {
  color: #9b8426;
}

@media (max-width: 767.98px) {
  .kl-sitemap {
    gap: 42px;
  }

  .kl-sitemap .kl-sitemap-group h2 {
    font-size: 27px;
  }

  .kl-sitemap .kl-sitemap-group ul {
    columns: 1;
  }
}

.judgment-files {
  display: grid;
  gap: 12px;
}

.judgment-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid var(--kl-line);
  border-radius: 7px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.judgment-file:hover {
  border-color: var(--kl-gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.judgment-file span {
  color: var(--kl-muted);
  white-space: nowrap;
}

.press-video {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .1);
  transition:
    box-shadow .35s var(--kl-motion),
    transform .35s var(--kl-motion);
}

.press-video:hover {
  box-shadow: 0 18px 38px rgba(0, 0, 0, .15);
  transform: translateY(-5px);
}

.press-video iframe {
  border-radius: 12px 12px 0 0;
}

.btn-kl {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 210px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 7px;
  font-size: 15px;
  line-height: 1.2;
  transition:
    color .2s ease,
    background-color .2s ease,
    border-color .2s ease;
}

.btn-kl::before {
  content: none;
}

.btn-kl:hover,
.btn-kl:focus-visible {
  background: var(--kl-blue-dark);
  color: #fff;
}

.btn-kl-light:hover,
.btn-kl-light:focus-visible {
  background: #f2f2f2;
  color: #252525;
}

.btn-kl-dark:hover,
.btn-kl-dark:focus-visible {
  background: #000;
  border-color: rgba(255, 255, 255, .72);
}

.btn-kl:active {
  background: var(--kl-blue);
}

.navbar .btn-kl {
  min-width: 170px;
  white-space: nowrap;
}

.hero-actions .btn-kl {
  min-width: 260px;
}

.article-card,
.review-card,
.domain-icon,
.cabinet-photo {
  transition:
    box-shadow .35s var(--kl-motion),
    transform .35s var(--kl-motion);
}

.article-card:hover,
.review-card:hover {
  box-shadow: 0 14px 30px rgba(0, 0, 0, .14);
  transform: translateY(-4px);
}

.domain-card:hover .domain-icon {
  transform: translateY(-4px) rotate(-3deg) scale(1.06);
}

.cabinet-photo:hover {
  box-shadow: 0 24px 42px rgba(0, 0, 0, .22);
  transform: scale(1.012);
}

.nav-link,
.nav-submenu a,
.domain-card a,
.footer a {
  transition: color .2s ease, opacity .2s ease;
}

.nav-parent-mobile {
  display: none;
}

@media (max-width: 991.98px) {
  .site-header .nav-toggle-desktop {
    display: none !important;
  }

  .site-header .nav-parent-mobile {
    display: flex;
    width: 100%;
    align-items: center;
  }

  .site-header .nav-parent-mobile > .nav-link {
    flex: 1 1 auto;
  }

  .site-header .nav-parent-mobile > .nav-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    flex: 0 0 44px;
  }

  .site-header .nav-link,
  .site-header .nav-toggle,
  .site-header .nav-submenu a {
    -webkit-tap-highlight-color: transparent;
  }

  .site-header .nav-link:hover,
  .site-header .nav-toggle:hover {
    color: #1f1f1f;
  }

  .site-header .nav-submenu a:hover {
    color: #656565;
  }

  .site-header .nav-item > .nav-link:hover::before,
  .site-header .nav-item > .nav-toggle:hover::before {
    transform: scaleX(0);
  }

  .site-header .nav-link:active,
  .site-header .nav-toggle:active,
  .site-header .nav-submenu a:active {
    opacity: .65;
  }
}

.nav-item > .nav-link,
.nav-item > .nav-toggle {
  position: relative;
}

.nav-item > .nav-link::before,
.nav-item > .nav-toggle::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--kl-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}

.nav-item > .nav-link:hover::before,
.nav-item > .nav-link:focus-visible::before,
.nav-item > .nav-toggle:hover::before,
.nav-item > .nav-toggle:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left;
}

.article-card img {
  transition: transform .4s var(--kl-motion);
}

.article-card:hover img {
  transform: scale(1.045);
}

.domain-card a {
  text-decoration-thickness: 1px;
  transition:
    color .2s ease,
    text-underline-offset .2s ease;
}

.domain-card:hover a {
  color: var(--kl-gold-dark);
  text-underline-offset: 6px;
}

.faq-row {
  transition: color .2s ease;
}

.faq-row span:last-child {
  transition: none;
}

.faq-row:hover,
.faq-row:focus-visible {
  color: var(--kl-gold-dark);
}

.footer a:hover,
.footer a:focus-visible {
  opacity: .72;
}

.mobile-label {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 991.98px) {
  .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .topbar,
  .navbar > .container {
    min-height: 42px;
  }

  .navbar-collapse.show {
    top: 42px;
  }

  .brand-logo {
    width: 34px;
  }

  .navbar .btn-kl {
    min-width: 0;
    min-height: 28px;
    padding: 0 13px;
    border-radius: 7px;
    font-size: 11px;
  }

  .hero {
    height: auto;
    min-height: 498px;
    max-height: none;
  }

  .hero h1 {
    max-width: 340px;
    font-size: clamp(30px, 8.2vw, 32px);
    line-height: 1.25;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.6;
  }

  .section-title {
    font-size: clamp(30px, 8.5vw, 35px);
    line-height: 1.28;
  }

  .section {
    padding: 76px 0;
  }

  .intro-text {
    padding: 76px 0;
  }

  .section-copy,
  .intro-text p,
  .cabinet p {
    font-size: 15px;
    line-height: 1.6;
  }

  .domain-card h3,
  .article-card h3 {
    font-size: 18px;
  }

  .domain-card p,
  .review-card p,
  .timeline-content p {
    font-size: 14px;
    line-height: 1.55;
  }

  .domain-grid {
    gap: 52px;
    margin-top: 48px;
  }

  .stats {
    padding: 24px 0;
  }

  .review-card {
    min-height: 176px;
    padding: 22px;
  }

  .article-grid {
    gap: 22px;
    margin-top: 40px;
  }

  .article-body {
    min-height: 120px;
    padding: 32px 20px 20px;
  }

  .faq-row {
    min-height: 64px;
  }

  .form-control,
  .form-select {
    min-height: 50px;
  }

  .footer {
    padding: 52px 0;
  }

  .article-hero {
    min-height: 360px;
    padding: 76px 0;
  }

  .article-hero h1 {
    font-size: clamp(30px, 8.2vw, 32px);
    line-height: 1.25;
  }

  .article-main,
  .pillar-main,
  .press-intro,
  .press-videos {
    padding: 76px 0;
  }

  .article-layout,
  .pillar-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .article-content,
  .pillar-content {
    max-width: none;
  }

  .article-content h2,
  .pillar-content h2,
  .pillar-cta .elementor-heading-title {
    font-size: clamp(30px, 8.5vw, 35px);
  }

  .article-content h2:not(:first-child),
  .pillar-content h2:not(:first-child) {
    margin-top: 52px;
  }

  .article-contact-card,
  .pillar-contact-card {
    padding: 26px 22px;
  }

  .article-contact-card h2,
  .pillar-contact-card h2 {
    font-size: 26px;
  }

  .article-contact-form .form-control,
  .article-contact-form .form-select,
  .pillar-contact-form .form-control,
  .pillar-contact-form .form-select {
    min-height: 50px;
  }

  .pillar-cta {
    padding: 64px 20px;
  }

  .pillar-cta-actions {
    display: grid;
    gap: 12px;
  }

  .pillar-cta-actions .btn-kl {
    width: 100%;
  }

  .press-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .timeline-content h3 {
    font-size: 20px;
    line-height: 1.25;
  }

  .faq-row {
    font-size: 15px;
  }

  .hero-actions {
    width: min(280px, calc(100% - 32px));
  }

  .hero-actions .btn-kl {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 15px;
  }

  .desktop-label {
    display: none;
  }

  .mobile-label {
    display: inline;
  }
}

/* Ajustements finaux de proportions juillet 2026 */
body {
  font-size: 16px;
}

.container,
.topbar > .container,
.article-main .container,
.pillar-main .container,
.press-intro .container,
.press-videos .container {
  max-width: 1240px;
  padding-right: 20px;
  padding-left: 20px;
}

.topbar,
.navbar > .container {
  min-height: 80px;
}

.nav-link {
  font-size: 15px;
}

.navbar .btn-kl {
  min-width: 200px;
  min-height: 48px;
  padding: 0 24px;
  background: #50b747;
  border-color: #50b747;
  color: #fff;
  font-size: 15px;
}

.navbar .btn-kl:hover,
.navbar .btn-kl:focus-visible {
  background: #419d39;
  border-color: #419d39;
}

.hero {
  height: 52vh;
  min-height: 380px;
  max-height: 545px;
}

.hero p,
.section-copy,
.intro-text p,
.cabinet p,
.domain-card p,
.review-card p,
.timeline-content p,
.article-content p,
.article-content li,
.pillar-content p,
.pillar-content li,
.press-intro p,
.press-video figcaption,
.footer p {
  font-size: 16px;
  line-height: 1.6;
}

.section,
.intro-text,
.article-main,
.pillar-main,
.press-intro,
.press-videos {
  padding-top: 72px;
  padding-bottom: 72px;
}

@media (max-width: 991.98px) {
  .container,
  .topbar > .container,
  .article-main .container,
  .pillar-main .container,
  .press-intro .container,
  .press-videos .container {
    padding-right: 14px;
    padding-left: 14px;
  }

  .topbar,
  .navbar > .container {
    min-height: 60px;
  }

  .navbar-collapse.show {
    top: 60px;
  }

  .brand-logo {
    width: 40px;
  }

  .navbar .btn-kl {
    min-width: 0;
    min-height: 42px;
    padding: 0 20px;
    font-size: 14px;
  }

  .hero {
    height: auto;
    min-height: 438px;
    max-height: none;
  }

  .hero p,
  .section-copy,
  .intro-text p,
  .cabinet p,
  .domain-card p,
  .review-card p,
  .timeline-content p,
  .article-content p,
  .article-content li,
  .pillar-content p,
  .pillar-content li,
  .press-intro p,
  .press-video figcaption,
  .footer p {
    font-size: 16px;
  }

  .section,
  .intro-text,
  .article-main,
  .pillar-main,
  .press-intro,
  .press-videos {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .stat-grid {
    justify-items: center;
  }

  .stat {
    width: 100%;
    justify-content: center;
  }

  .stat > div {
    text-align: left;
  }

  .hero-actions .btn-kl,
  .cabinet .btn-kl,
  .articles > .container > .btn-kl,
  .contact-form .btn-kl,
  .article-contact-form .btn-kl,
  .pillar-contact-form .btn-kl {
    min-height: 42px;
    font-size: 15px;
  }
}

/* Correctif final CTA et titres mobiles */
@media (max-width: 991.98px) {
  .hero-actions .btn-kl,
  .cabinet .btn-kl,
  .articles > .container > .btn-kl,
  .faq-section .container > .btn-kl,
  .contact-form .btn-kl,
  .article-contact-form .btn-kl,
  .pillar-contact-form .btn-kl {
    min-height: 48px;
    height: 48px;
    padding: 0 24px;
    border-radius: 7px;
    font-size: 15px;
    line-height: 1.2;
  }

  .intro-text .container {
    max-width: none;
  }

  .intro-text .section-title,
  .cabinet .section-title {
    max-width: none;
    font-size: 28px;
  }

  .intro-text .section-title .gold,
  .cabinet .section-title .gold {
    white-space: nowrap;
  }
}

/* Échelle homogène des titres de section sur mobile */
@media (max-width: 991.98px) {
  .section-title,
  .intro-text .section-title,
  .cabinet .section-title,
  .contact .section-title {
    max-width: none;
    font-size: 28px;
    line-height: 1.25;
  }

  /* Conserver les accroches principales sur une seule ligne */
  .intro-text .section-title,
  .cabinet .section-title {
    width: calc(100% + 16px);
    margin-right: -8px;
    margin-left: -8px;
  }

  .intro-text .section-title .gold,
  .cabinet .section-title .gold {
    display: inline-block;
    white-space: nowrap;
  }

  /* Césures imposées par la maquette, uniquement sur mobile */
  .intro-text .section-title .gold,
  #domaines > .container > .section-title .gold {
    display: block;
  }

  /* Un H1 avec un <br> explicite ne doit pas cumuler une césure du span doré. */
  .elementor .intro-text .section-title h1 .gold {
    display: inline;
  }
}

/* Les césures de la maquette sont réservées aux téléphones. */
@media (min-width: 601px) and (max-width: 991.98px) {
  .intro-text .section-title .gold,
  #domaines > .container > .section-title .gold {
    display: inline;
  }
}

/* Le menu complet ne tient pas encore proprement sur les tablettes paysage. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-expand-lg > .container {
    flex-wrap: wrap;
  }

  .navbar-expand-lg .d-lg-none {
    display: inline-flex !important;
  }

  .navbar-expand-lg .d-lg-inline-flex {
    display: none !important;
  }

  .navbar-expand-lg .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 28px;
    padding: 0;
    border: 0;
  }

  .navbar-expand-lg .navbar-collapse {
    display: none !important;
    flex-basis: 100%;
  }

  .navbar-expand-lg .navbar-collapse.show {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    display: block !important;
    padding: 18px 28px 22px;
    border-top: 1px solid #eee;
    background: #fff;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .12);
  }

  .navbar-expand-lg .navbar-collapse.show .navbar-nav {
    display: grid;
    gap: 0;
    align-items: stretch;
  }

  .navbar-expand-lg .navbar-collapse.show .nav-item {
    border-bottom: 1px solid #ededed;
  }

  .navbar-expand-lg .navbar-collapse.show .nav-link {
    display: block;
    padding: 14px 0;
  }

  .navbar-expand-lg .navbar-collapse.show .nav-submenu {
    display: grid;
    position: static;
    min-width: 0;
    gap: 0;
    padding: 0 0 12px 14px;
    border: 0;
    box-shadow: none;
  }
}

.review-grid > .elementor-widget-shortcode {
  grid-column: 1 / -1;
  width: 100%;
  max-width: none;
}

.kl-dynamic-review-grid {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.kl-reviews-carousel {
  overflow: hidden;
  width: 100%;
  margin-top: 0;
  margin-bottom: -40px;
  padding-top: 24px;
  padding-bottom: 40px;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.kl-reviews-carousel.is-dragging {
  cursor: grabbing;
}

.kl-reviews-carousel img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.kl-review-slide {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

.kl-dynamic-review-grid .review-card {
  width: 100%;
  height: 100%;
}

.kl-dynamic-review-grid .review-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

@media (max-width: 767.98px) {
  .kl-dynamic-review-grid {
    gap: 18px;
  }

  .kl-review-slide {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kl-reviews-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .kl-dynamic-review-grid {
    transition: none;
  }

  .kl-review-slide {
    scroll-snap-align: start;
  }
}
/* Prevent Elementor article content from forcing the mobile grid wider than the viewport. */
@media (max-width: 991.98px) {
  .article-layout,
  .article-content,
  .article-sidebar,
  .article-content .elementor,
  .article-content .e-con {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  .article-content img,
  .article-content iframe,
  .article-content table {
    max-width: 100%;
  }
}

/* Espacement harmonisé entre le bandeau hero et le contenu éditorial. */
@media (max-width: 991.98px) {
  .article-page .article-main,
  .pillar-page .pillar-main,
  .press-page .press-intro,
  .press-page .press-listing {
    padding-top: 16px !important;
  }

  .home .intro-text {
    padding-top: 24px !important;
  }

  .pillar-page .pillar-content > .elementor > .kl-article-elementor-content {
    padding-top: 0 !important;
  }

  .pillar-page .kl-article-elementor-content > .elementor-widget-text-editor:first-child > :first-child,
  .pillar-page .kl-article-elementor-content > .elementor-widget-text-editor:first-child > .elementor-widget-container > :first-child {
    margin-top: 0 !important;
  }
}
