/* Safecheck RDC — styles fidèles à la maquette */

:root {
  --green-primary: #99c221;
  --green-dark: #7fa01a;
  --orange-active: #d48806;
  --nav-link-color: #2b2b2b;
  --navy: #1a2b48;
  --text-dark: #2b2b2b;
  --text-muted: rgb(102, 102, 102);
  --text-body: rgb(36, 49, 97);
  --font-body: "Roboto", sans-serif;
  --text-body-size: 15px;
  --text-body-line: 26px;
  --border-light: #e5e5e5;
  --white: #ffffff;
  --nav-scroll-offset: 108px;
  --page-gutter: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--nav-scroll-offset);
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background: var(--white);
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  -webkit-font-smoothing: antialiased;
}

p,
.about-text,
.service-text,
.service-detail-text,
.service-single-text,
.testimonial-text,
.footer-newsletter-text,
.saas-lead,
.tech-intro,
.tech-card-text,
.contact-intro,
.service-feature-text,
.faq-body p,
.legal-page p {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  color: var(--text-body);
}

/* Textes courants justifiés */
.about-text,
.service-text,
.service-detail-text,
.service-single-text,
.testimonial-text,
.footer-newsletter-text {
  text-align: justify;
}

.about-text strong,
.service-text strong,
.service-detail-text strong,
.service-single-text strong,
.service-feature-text strong,
.saas-lead strong,
.tech-intro strong,
.tech-card-text strong,
.contact-intro strong,
.faq-body strong,
.testimonial-text strong {
  color: var(--text-body);
  font-weight: 700;
}

.testimonial-card .testimonial-text,
.testimonial-card .testimonial-text strong {
  color: #ffffff;
}

.why-item-text strong {
  color: rgba(255, 255, 255, 0.98);
  font-weight: 700;
}

.cta-intro strong {
  color: var(--white);
  font-weight: 700;
}

.trust-subtitle strong {
  color: var(--text-body);
  font-weight: 700;
}

/* ——— En-tête supérieur ——— */
.top-header {
  background: var(--white);
  border-color: var(--border-light) !important;
  overflow: hidden;
  max-height: 4.5rem;
  opacity: 1;
  transition:
    max-height 0.35s ease,
    opacity 0.3s ease,
    border-color 0.35s ease;
}

.top-header.is-hidden {
  max-height: 0;
  opacity: 0;
  border-color: transparent !important;
  pointer-events: none;
}

.top-header.is-hidden .top-header-inner {
  padding-top: 0;
  padding-bottom: 0;
}

.top-header .container,
.main-nav .container,
.site-footer .container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.top-header-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  align-items: start;
}

@media (min-width: 768px) {
  .top-header-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 2rem;
  }

  .top-header-inner .contact-block:nth-child(1) {
    justify-self: start;
  }

  .top-header-inner .contact-block:nth-child(2) {
    justify-self: center;
  }

  .top-header-inner .contact-block:nth-child(3) {
    justify-self: end;
  }
}

@media (min-width: 1200px) {
  .top-header-inner {
    gap: 1.5rem 2.5rem;
  }
}

.contact-block {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.contact-block--link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.contact-block--link:hover .contact-value {
  color: var(--green-dark);
}

.contact-body {
  min-width: 0;
  flex: 1;
}

.top-header .contact-label {
  display: none;
}

.top-header .contact-icon-wrap {
  padding-top: 0;
  flex-shrink: 0;
}

.top-header .contact-value {
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .top-header .contact-value {
    white-space: normal;
    font-size: 13px;
  }
}

.logo-shield {
  flex-shrink: 0;
  line-height: 0;
}

.logo-svg {
  width: 46px;
  height: auto;
  display: block;
}

.site-logo {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(220px, 70vw);
  object-fit: contain;
}

.site-logo--footer {
  height: 60px;
  max-width: 260px;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  margin-right: 0.5rem;
}

.site-logo--nav {
  height: 68px;
  width: auto;
  max-width: min(300px, 58vw);
  object-fit: contain;
}

.logo-text {
  line-height: 1.05;
}

.logo-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #1a1a1a;
  padding-left: 4.55rem;
  margin-top: 1px;
}

.contact-icon-wrap {
  color: var(--green-primary);
  font-size: 1.15rem;
  line-height: 1;
  padding-top: 2px;
}

.contact-icon-wrap .fa-solid,
.why-icon .fa-solid,
.service-icon.fa-solid,
.service-feature-icon.fa-solid,
.btn-search .fa-solid,
.btn-nav-toggle .fa-solid,
.footer-social-link .fa-brands,
.footer-email-btn .fa-solid {
  display: inline-block;
  line-height: 1;
}

.contact-label {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: rgb(21, 19, 18);
  margin-bottom: 2px;
}

.contact-value {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: rgb(79, 75, 73);
  text-decoration: none;
  display: block;
}

.contact-value:hover {
  color: var(--green-dark);
}

/* ——— Navigation ——— */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--white);
  border-color: var(--border-light) !important;
  min-height: 96px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.main-nav > .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-menu {
  gap: 2rem;
}

.nav-menu li {
  display: flex;
  align-items: center;
}

.nav-link-custom {
  position: relative;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 13px;
  line-height: 24px;
  color: var(--nav-link-color);
  text-decoration: none;
  padding: 0.45rem 0.15rem 0.55rem;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--green-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link-custom:hover,
.nav-link-custom:focus-visible,
.nav-link-custom[aria-current="page"] {
  color: var(--nav-link-color);
}

.nav-link-custom:hover::after,
.nav-link-custom:focus-visible::after,
.nav-link-custom[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-link-custom[aria-current="page"] {
  font-weight: 700;
}

.nav-link-custom:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn-search {
  background: none;
  border: none;
  padding: 0.35rem;
  font-size: 1.05rem;
  color: #2b2b2b;
  cursor: pointer;
  line-height: 1;
  border-radius: 6px;
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.btn-search:hover {
  color: var(--green-primary);
  background: rgba(153, 194, 33, 0.12);
  transform: scale(1.08);
}

.btn-search:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}

.search-wrap {
  position: relative;
}

.search-box {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 280px;
  z-index: 200;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.btn-connexion {
  background: var(--green-primary);
  color: var(--white) !important;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 1.35rem;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-connexion:hover {
  background: var(--green-dark);
  color: var(--white) !important;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-carousel-nav {
  display: none;
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  font-size: 1rem;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-carousel-btn:hover {
  background: var(--green-primary);
  color: var(--white);
}

.hero-carousel-btn--prev {
  left: 1rem;
}

.hero-carousel-btn--next {
  right: 1rem;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 6.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
  pointer-events: auto;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-dot.is-active,
.hero-carousel-dot:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.28) 38%,
    rgba(255, 255, 255, 0.08) 62%,
    rgba(255, 255, 255, 0.02) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 3.5rem;
  padding-bottom: 6.5rem;
}

.hero-stats {
  margin-top: 1.5rem;
  max-width: 520px;
}

.hero-stats-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-primary);
  margin-bottom: 0.65rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem 1rem;
  margin: 0;
}

@media (min-width: 576px) {
  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem 0.75rem;
  }
}

.hero-stat {
  text-align: left;
  padding: 0;
}

.hero-stat-value {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.hero-stat-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.hero-eyebrow {
  color: var(--green-primary);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero-title {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 900;
  color: rgb(255, 255, 255);
  font-size: 60px;
  line-height: 74px;
  max-width: 720px;
  margin-bottom: 1.75rem;
}

.btn-hero-cta {
  background: var(--green-primary);
  color: var(--white) !important;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.65rem 1.75rem;
  border-radius: 6px;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: background 0.2s ease;
}

.btn-hero-cta-arrow {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.btn-hero-cta-arrow i {
  font-size: 0.95em;
  animation: hero-cta-arrow-nudge 1.25s ease-in-out infinite;
}

.btn-hero-cta:hover {
  background: var(--green-dark);
  color: var(--white) !important;
}

.btn-hero-cta:hover .btn-hero-cta-arrow i {
  animation: none;
  transform: translateX(5px);
}

@keyframes hero-cta-arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(7px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-hero-cta-arrow i {
    animation: none;
  }

  .btn-hero-cta:hover .btn-hero-cta-arrow i {
    transform: none;
  }
}

/* ——— Cartes fonctionnalités ——— */
.feature-section {
  position: relative;
  z-index: 10;
  margin-top: -72px;
  padding-bottom: 2.5rem;
}

.feature-cards-row {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  background: var(--white);
  border: 2px solid var(--green-primary);
  border-radius: 10px;
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 1rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-icon-circle {
  width: 72px;
  height: 72px;
  border: 2px solid #d8d8d8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.feature-icon {
  font-size: 2rem;
  color: var(--green-primary);
  line-height: 1;
}

/* Icône casque : style outline comme sur la maquette */
.feature-card:nth-child(3) .feature-icon {
  font-size: 1.85rem;
}

/* ——— Section Nos Solutions (cartes) ——— */
.solutions-section {
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding: 4.25rem 0 5rem;
  background: var(--white);
}

.solutions-header {
  margin-bottom: 3rem;
}

.solutions-heading {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin: 0;
}

.solutions-grid {
  --bs-gutter-x: 1.75rem;
  --bs-gutter-y: 1.75rem;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(153, 194, 33, 0.55);
  border-radius: 12px;
  padding: 2.6rem 1.75rem 2.25rem;
  height: 100%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card .service-title,
.service-card .service-text {
  text-align: center;
  width: 100%;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.service-card-link {
  display: block;
  color: inherit;
}

.service-card-link:hover .service-title {
  color: var(--green-primary);
}

.service-icon-circle {
  width: 104px;
  height: 104px;
  margin: 0 auto 1.5rem;
  border: 2px solid #d5d5d5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
}

.service-icon {
  font-size: 2.85rem;
  color: var(--green-primary);
  line-height: 1;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.service-text {
  margin-bottom: 1.25rem;
  font-size: 17px;
  line-height: 1.6;
}

.service-card-more {
  display: inline-block;
  margin-top: auto;
  padding: 0.75rem 1.65rem;
  font-family: "Poppins", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  background: var(--green-primary);
  border-radius: 6px;
  line-height: 1.3;
  transition: background 0.2s ease;
}

.service-card-link:hover .service-card-more {
  background: var(--green-dark);
}

/* ——— Section À propos ——— */
.about-section {
  padding: 3rem 0 5rem;
}

.about-image-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 520px;
}

.about-image {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3.2;
}

.about-accent {
  position: absolute;
  right: -12px;
  bottom: -12px;
  width: 56px;
  height: 56px;
  background: var(--green-primary);
  border-radius: 4px;
  z-index: 2;
}

.about-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.about-text {
  margin-bottom: 1rem;
}

/* ——— Section Plateforme SaaS ——— */
.saas-section {
  padding: 4.5rem 0;
  background: #eef1f4;
}

.saas-eyebrow {
  color: var(--green-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.saas-heading {
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 800;
  color: #1e3a5f;
  line-height: 1.28;
  margin-bottom: 1.25rem;
}

.saas-lead {
  text-align: left;
  margin-bottom: 0;
}

.saas-visual {
  background: var(--white);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 14px 42px rgba(26, 43, 72, 0.09);
}

.saas-mockup {
  width: 100%;
  height: auto;
  display: block;
}

/* ——— Section Technologie & Innovation ——— */
.tech-section {
  padding: 4.5rem 0;
  background: linear-gradient(180deg, #f7f9fc 0%, var(--white) 100%);
  border-top: 1px solid var(--border-light);
}

.tech-header {
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.tech-eyebrow {
  color: var(--green-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.tech-heading {
  font-size: clamp(1.65rem, 2.6vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.28;
  margin-bottom: 1rem;
}

.tech-intro {
  text-align: center;
  margin-bottom: 0;
}

.tech-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .tech-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.tech-card {
  background: var(--white);
  border: 1px solid rgba(153, 194, 33, 0.35);
  border-radius: 12px;
  padding: 1.75rem 1.25rem 1.5rem;
  height: 100%;
  text-align: center;
  box-shadow: 0 4px 20px rgba(26, 43, 72, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--green-primary);
  box-shadow: 0 12px 28px rgba(26, 43, 72, 0.1);
}

.tech-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: rgba(153, 194, 33, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  color: var(--green-primary);
}

.tech-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.tech-card-text {
  text-align: center;
  margin-bottom: 0;
}

/* ——— Section Pourquoi nous ——— */
.why-section {
  background: #24305e;
  padding: 4.5rem 0;
  color: var(--white);
}

.why-heading-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.why-heading-line {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--white);
  flex-shrink: 0;
}

.why-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
}

.why-icon {
  flex-shrink: 0;
  width: 42px;
  font-size: 1.85rem;
  color: var(--white);
  line-height: 1;
  opacity: 0.95;
}

.why-item-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.why-item-text {
  font-size: 15px;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.why-visual {
  display: inline-flex;
  justify-content: center;
  width: 100%;
}

.why-image-ring {
  position: relative;
  width: min(320px, 85vw);
  height: min(320px, 85vw);
  margin-left: auto;
  margin-right: auto;
}

.why-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
}

.why-arc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 9px solid var(--green-primary);
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 48% 100%);
  z-index: 2;
  pointer-events: none;
}

/* ——— Section Témoignages ——— */
.testimonials-section {
  padding: 4.5rem 0 5rem;
  background: var(--white);
}

.testimonials-header {
  margin-bottom: 2.5rem;
}

.testimonials-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 0.35rem;
}

.testimonials-title-dark {
  color: rgb(21, 19, 18);
}

.testimonials-title-green {
  color: #2a345b;
}

.testimonials-subtitle {
  margin: 0;
}

.testimonial-card {
  position: relative;
  background: #2a345b;
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 28px rgba(42, 52, 91, 0.25);
  padding: 2rem 2rem 1.75rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1.15rem;
  color: var(--green-primary);
  font-size: 0.85rem;
}

.testimonial-text {
  margin-bottom: 1.75rem;
  flex-grow: 1;
  color: #ffffff;
}

.testimonial-footer {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 1;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
}

.testimonial-author-name {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: #ffffff;
}

.testimonial-author-role {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 2px;
}

.testimonial-quote {
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.5rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.18);
  opacity: 1;
  pointer-events: none;
  user-select: none;
}

/* ——— Bannière CTA ——— */
.cta-section {
  position: relative;
  background-image: url("../assets/cta.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding: 6.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 72, 0.78);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.cta-intro {
  font-size: 18px;
  line-height: 1.5;
  color: rgb(255, 255, 255);
  margin-bottom: 1.75rem;
}

.cta-title {
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2;
  color: rgb(255, 255, 255);
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: rgb(255, 255, 255) !important;
  background-color: #9aca27;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  border: none;
  transition: background-color 0.2s ease;
}

.btn-cta:hover {
  background-color: var(--green-dark);
  color: rgb(255, 255, 255) !important;
}

/* ——— Footer ——— */
.site-footer {
  margin-top: 0;
}

.footer-main {
  background: rgb(244, 244, 246);
  min-height: 280px;
  height: auto;
  padding: 3rem 0;
  display: flex;
  align-items: center;
}

.footer-main > .container {
  width: 100%;
}

.footer-main .row {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  align-items: center;
  margin: 0;
}

.footer-logo-text {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-left: 0.5rem;
}

.footer-tagline {
  font-family: "Lavishly Yours", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 27px;
  line-height: 26px;
  color: rgb(17, 17, 17);
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-2px);
}

.footer-social-link:nth-child(1) {
  color: #1877f2;
}

.footer-social-link:nth-child(2) {
  color: #1da1f2;
}

.footer-social-link:nth-child(3) {
  color: #0a66c2;
}

.footer-social-link:nth-child(4) {
  color: #25d366;
}

.footer-heading {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: rgb(21, 19, 18);
  margin-bottom: 1.15rem;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.8;
  color: rgb(79, 75, 73);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--green-primary);
}

.footer-newsletter-text {
  margin-bottom: 1rem;
}

.footer-input-group {
  display: flex;
  align-items: stretch;
  max-width: 100%;
}

.footer-email-input {
  flex: 1;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  padding: 0.65rem 1rem;
  border: 1px solid #c5c5c5;
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: var(--white);
  color: var(--text-dark);
  min-width: 0;
}

.footer-email-input::placeholder {
  color: #aaa;
}

.footer-email-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 2px rgba(26, 43, 72, 0.12);
}

.footer-email-btn {
  flex-shrink: 0;
  width: 52px;
  background: rgb(43, 56, 100);
  border: none;
  border-radius: 0 6px 6px 0;
  color: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.footer-email-btn:hover {
  background: var(--navy);
}

.footer-bottom {
  background: rgb(43, 56, 100);
  padding: 1.25rem 0;
}

.footer-copyright {
  font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: rgb(255, 255, 255);
}

/* ——— Responsive ——— */
@media (max-width: 991.98px) {
  .nav-menu {
    gap: 1.25rem;
  }

  .hero-content {
    padding-bottom: 5.5rem;
  }

  .hero-title {
    font-size: 44px;
    line-height: 54px;
  }

  .cta-title {
    font-size: 38px;
  }
}

@media (max-width: 767.98px) {
  .logo-sub {
    margin-left: 3.5rem;
  }

  .solutions-section {
    padding-top: 3.25rem;
    padding-bottom: 4rem;
  }

  .feature-card {
    min-height: 110px;
    padding: 1.25rem;
  }

  .feature-icon-circle {
    width: 60px;
    height: 60px;
  }

  .feature-icon {
    font-size: 1.6rem;
  }
}

@media (max-width: 575.98px) {
  .nav-menu {
    gap: 0.85rem;
  }

  .hero-carousel-btn {
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }

  .hero-carousel-btn--prev {
    left: 0.5rem;
  }

  .hero-carousel-btn--next {
    right: 0.5rem;
  }

  .hero-carousel-dots {
    bottom: 5rem;
  }

  .hero-stat-value {
    font-size: 1rem;
  }

  .hero-stat-label {
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 32px;
    line-height: 40px;
  }

  .service-card {
    padding: 2.15rem 1.35rem 1.9rem;
  }

  .service-icon-circle {
    width: 92px;
    height: 92px;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 1.15rem;
  }

  .service-text {
    font-size: 16px;
  }

  .about-accent {
    width: 44px;
    height: 44px;
    right: -8px;
    bottom: -8px;
  }

  .saas-section {
    padding: 3rem 0;
  }

  .tech-section {
    padding: 3rem 0;
  }

  .tech-header {
    margin-bottom: 2rem;
  }

  .tech-card {
    padding: 1.35rem 1rem 1.25rem;
  }

  .saas-visual {
    padding: 1rem;
    margin-top: 0.5rem;
  }

  .why-section {
    padding: 3rem 0;
  }

  .why-heading-wrap {
    margin-bottom: 1.75rem;
  }

  .why-list {
    gap: 1.35rem;
  }

  .why-icon {
    font-size: 1.5rem;
    width: 36px;
  }

  .why-image-ring {
    width: min(260px, 80vw);
    height: min(260px, 80vw);
  }

  .testimonials-section {
    padding: 3rem 0 4rem;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .testimonial-quote {
    font-size: 4rem;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-intro {
    font-size: 16px;
  }

  .cta-title {
    font-size: 32px;
  }

  .btn-cta {
    font-size: 15px;
    padding: 12px 28px;
  }
}

/* ——— Accessibilité ——— */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 9999;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}

.footer-social-link:focus-visible,
.search-result-item:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ——— Navigation mobile ——— */
.nav-bar {
  width: 100%;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 992px) {
  .nav-bar {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem 2rem;
  }

  .nav-menu {
    flex: 1;
    justify-content: center;
  }

  .nav-actions {
    margin-left: 0;
    flex-shrink: 0;
  }
}

.btn-nav-toggle {
  background: none;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 0.35rem 0.55rem;
  font-size: 1.35rem;
  line-height: 1;
  color: #2b2b2b;
  cursor: pointer;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease;
}

.btn-nav-toggle:hover {
  color: var(--green-primary);
  border-color: var(--green-primary);
  background: rgba(153, 194, 33, 0.1);
  transform: scale(1.05);
}

.btn-nav-toggle:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}

.search-wrap {
  position: relative;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 260px;
  max-width: 320px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 0.5rem;
  z-index: 100;
}

.search-result-item {
  display: block;
  padding: 0.5rem 0.65rem;
  color: #2b2b2b;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 4px;
}

.search-result-item:hover {
  background: rgba(153, 194, 33, 0.12);
  color: var(--green-dark);
}

.search-no-result {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.35rem 0.5rem;
}

.newsletter-feedback {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.newsletter-feedback.is-success {
  color: var(--green-dark);
  font-weight: 600;
}

.newsletter-feedback.is-error {
  color: #b42318;
  font-weight: 600;
}

/* ——— Section confiance ——— */
.trust-section {
  padding: 3.5rem 0;
  background: #f7f8fb;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.trust-heading {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.35rem;
}

.trust-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 15px;
}

.about-section,
.trust-section,
.saas-section,
.tech-section,
.why-section,
.testimonials-section,
.faq-section,
.cta-section {
  contain: layout style;
}

@supports (content-visibility: auto) {
  .about-section,
  .trust-section,
  .saas-section,
  .tech-section,
  .why-section,
  .testimonials-section,
  .faq-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 480px;
  }
}

.trust-marquee {
  overflow: hidden;
  width: 100%;
  padding: 0.5rem 0 1rem;
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 3%,
    #000 97%,
    transparent
  );
}

.trust-marquee-track {
  display: flex;
  width: max-content;
  animation: trust-marquee-scroll 45s linear infinite;
  will-change: transform;
  contain: layout style;
}

.trust-marquee-track:hover {
  animation-play-state: paused;
}

.trust-marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.trust-logos {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2.5rem 3rem;
  list-style: none;
  padding: 0 1.5rem;
  margin: 0;
}

.trust-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  min-width: 0;
  width: auto;
  height: 168px;
  list-style: none;
}

.trust-logo-item img {
  display: block;
  width: auto;
  height: 140px;
  max-width: min(420px, 44vw);
  max-height: 140px;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
}

@keyframes trust-marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }

  .trust-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .trust-marquee-group[aria-hidden="true"] {
    display: none;
  }

  .trust-logos {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ——— Pages légales ——— */
/* Champs honeypot anti-spam (masqués) */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.legal-page--narrow {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.legal-page h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2rem;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-card-link {
  text-decoration: none;
  height: 100%;
}

.service-card-link .service-card {
  height: 100%;
  cursor: pointer;
}

.service-card-link:focus-visible .service-card {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}

@media (max-width: 991.98px) {
  .main-nav {
    height: auto;
    min-height: 72px;
    padding: 0.5rem 0;
  }

  .site-logo--nav {
    height: 56px;
    max-width: min(260px, 65vw);
  }

  .nav-menu {
    display: none !important;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
    margin-top: 0.5rem;
  }

  .nav-menu.is-open {
    display: flex !important;
  }

  .nav-menu.is-open li {
    width: 100%;
  }

  .nav-menu.is-open .nav-link-custom {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 8px;
    text-align: left;
  }

  .nav-menu.is-open .nav-link-custom::after {
    display: none;
  }

  .nav-menu.is-open .nav-link-custom:hover,
  .nav-menu.is-open .nav-link-custom:focus-visible,
  .nav-menu.is-open .nav-link-custom[aria-current="page"] {
    color: var(--nav-link-color);
    background: rgba(153, 194, 33, 0.14);
    transform: translateX(4px);
  }

  .nav-menu.is-open .nav-link-custom[aria-current="page"] {
    font-weight: 700;
    border-left: 3px solid var(--green-primary);
    padding-left: calc(1rem - 3px);
  }

  .nav-bar {
    flex-wrap: wrap;
  }

  .nav-logo-link {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .btn-nav-toggle {
    order: 2;
    flex-shrink: 0;
  }

  .nav-actions {
    display: none !important;
  }

  .nav-menu {
    order: 3;
  }

  .nav-menu-cta {
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-light);
  }

  .nav-menu-cta .btn-connexion--menu {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.65rem 1.25rem;
  }
}

/* ——— Optimisations mobile ——— */
@media (max-width: 991.98px) {
  :root {
    --nav-scroll-offset: 76px;
    --page-gutter: 1.125rem;
  }

  .top-header .container,
  .main-nav .container,
  .site-footer .container {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  .main-nav {
    padding-top: max(0.5rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0.5rem;
  }

  .btn-nav-toggle {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .footer-main {
    padding: 2.5rem 0;
  }

  .footer-main .row {
    row-gap: 2rem;
  }

  .footer-tagline {
    font-size: 1.65rem;
    line-height: 1.35;
  }

  .about-text,
  .service-text,
  .service-detail-text,
  .service-single-text,
  .testimonial-text,
  .footer-newsletter-text,
  .service-feature-text {
    text-align: left;
  }

  .hero-content {
    padding-top: 2.25rem;
    padding-bottom: 5rem;
  }

  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.42) 45%,
      rgba(0, 0, 0, 0.35) 100%
    );
  }
}

@media (max-width: 767.98px) {
  :root {
    --nav-scroll-offset: 68px;
    --page-gutter: 1rem;
  }

  .top-header {
    display: none !important;
  }

  .top-header-inner {
    gap: 0.75rem;
    padding: 0.65rem 0;
  }

  .top-header .contact-value {
    font-size: 12px;
    line-height: 1.4;
    word-break: break-word;
  }

  .hero {
    min-height: min(100dvh, 920px);
  }

  .hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.75rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
  }

  .hero-eyebrow {
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
  }

  .btn-hero-cta {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    font-size: 0.95rem;
  }

  .hero-stats {
    margin-top: 1.25rem;
  }

  .hero-stat-value {
    font-size: 1.05rem;
  }

  .hero-stat-label {
    font-size: 0.85rem;
  }

  .solutions-section {
    padding-top: 2.75rem;
    padding-bottom: 3.5rem;
  }

  .service-card {
    padding: 2rem 1.35rem 1.75rem;
  }

  .service-icon-circle {
    width: 88px;
    height: 88px;
    margin-bottom: 1.25rem;
  }

  .service-icon {
    font-size: 2.35rem;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .service-text {
    font-size: 16px;
  }

  .service-card-more {
    font-size: 0.98rem;
    padding: 0.65rem 1.45rem;
  }

  .about-section {
    padding: 2.5rem 0 3.5rem;
  }

  .about-heading {
    margin-top: 1.5rem;
  }

  .saas-section .row,
  .tech-section .row {
    row-gap: 1.75rem;
  }

  .tech-intro {
    text-align: left;
  }

  .why-visual {
    margin-top: 2rem;
  }

  .cta-content {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .footer-input-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .footer-email-input {
    border-right: 1px solid #c5c5c5;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 16px;
  }

  .footer-email-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 8px;
  }

  .trust-logo-item {
    height: 128px;
  }

  .trust-logo-item img {
    height: 108px;
    max-height: 108px;
    max-width: min(340px, 62vw);
  }

  .trust-logos {
    gap: 2rem 2.5rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --nav-scroll-offset: 64px;
    --page-gutter: 0.875rem;
  }

  .top-header-inner .contact-block:nth-child(2) {
    display: none;
  }

  .site-logo--nav {
    height: 50px;
    max-width: min(220px, 52vw);
  }

  .main-nav {
    min-height: 72px;
  }

  .hero-carousel-dots {
    bottom: 4.25rem;
  }

  .hero-stats-grid {
    gap: 0.5rem 0.65rem;
  }

  .hero-stat-value {
    font-size: 0.98rem;
  }

  .hero-stat-label {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .feature-card {
    min-height: 96px;
    padding: 1rem 0.75rem;
  }

  .feature-icon-circle {
    width: 52px;
    height: 52px;
  }

  .feature-icon {
    font-size: 1.35rem;
  }

  .service-icon-circle {
    width: 88px;
    height: 88px;
  }

  .service-icon {
    font-size: 2.35rem;
  }

  .testimonials-title {
    font-size: 1.65rem;
  }

  .testimonial-quote {
    font-size: 3rem;
    right: 0.75rem;
  }

  .footer-social-link {
    width: 42px;
    height: 42px;
  }

  .footer-heading {
    font-size: 1rem;
    margin-bottom: 0.85rem;
  }

  .footer-copyright {
    font-size: 0.875rem;
    line-height: 1.45;
    padding: 0 0.5rem;
  }
}

@media (hover: none) and (pointer: coarse) {
  .nav-link-custom,
  .footer-links a,
  .search-result-item,
  .service-card-link,
  .btn-hero-cta,
  .btn-cta,
  .btn-service-more {
    -webkit-tap-highlight-color: rgba(153, 194, 33, 0.2);
  }

  .feature-card:hover,
  .service-card:hover,
  .contact-info-card:hover {
    transform: none;
  }
}

/* ——— Optimisations tablette (768px – 991px) ——— */
@media (min-width: 768px) and (max-width: 991.98px) {
  :root {
    --nav-scroll-offset: 88px;
    --page-gutter: 1.25rem;
  }

  .top-header-inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem 1rem;
    padding: 0.6rem 0;
  }

  .top-header .contact-value {
    font-size: 12px;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .main-nav {
    min-height: 80px;
  }

  .site-logo--nav {
    height: 54px;
    max-width: min(250px, 36vw);
  }

  .nav-menu.is-open {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.75rem;
    row-gap: 0.35rem;
  }

  .nav-menu.is-open .nav-menu-cta {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
  }

  .nav-menu.is-open .nav-link-custom {
    text-align: center;
    padding: 0.75rem 0.65rem;
  }

  .hero-content {
    padding-top: 2.75rem;
    padding-bottom: 5.25rem;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.18;
    max-width: 90%;
  }

  .btn-hero-cta {
    width: auto;
    min-height: 46px;
  }

  .hero-stats-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
  }

  .hero-stat-value {
    font-size: 1.1rem;
  }

  .hero-stat-label {
    font-size: 0.85rem;
  }

  .solutions-section {
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
  }

  .about-section .row > .col-lg-6,
  .saas-section .row > .col-lg-6,
  .service-detail-block .row > .col-lg-6,
  .service-single-content .row > .col-lg-6 {
    flex: 0 0 50%;
    width: 50%;
  }

  .why-section .row > .col-lg-7 {
    flex: 0 0 58.333333%;
    width: 58.333333%;
  }

  .why-section .row > .col-lg-5 {
    flex: 0 0 41.666667%;
    width: 41.666667%;
  }

  .why-visual {
    margin-top: 0;
  }

  .why-image-ring {
    width: min(240px, 38vw);
    height: min(240px, 38vw);
  }

  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .tech-grid .tech-card:last-child:nth-child(5) {
    grid-column: 1 / -1;
    width: min(100%, 420px);
    margin-left: auto;
    margin-right: auto;
  }

  .testimonials-section .row > .col-lg-4 {
    flex: 0 0 50%;
    width: 50%;
  }

  .testimonials-section .row > .col-lg-4:last-child {
    flex: 0 0 75%;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-title {
    font-size: 2.15rem;
  }

  .footer-main .row > .col-lg-4.col-md-12 {
    flex: 0 0 100%;
    width: 100%;
  }

  .footer-input-group {
    flex-direction: row;
    align-items: stretch;
  }

  .footer-email-input {
    border-right: none;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
  }

  .footer-email-btn {
    width: 52px;
    min-height: auto;
    border-radius: 0 6px 6px 0;
  }

  .trust-logo-item {
    height: 112px;
  }

  .trust-logo-item img {
    height: 96px;
    max-height: 96px;
    max-width: min(300px, 72vw);
  }

  .trust-logos {
    gap: 1.5rem 1.75rem;
  }
}
