/* =========================================================
   CDSM - STYLES
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #102e55;
  background: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
  --navy: #082f5b;
  --navy-dark: #061f3d;
  --blue: #1598e5;
  --blue-light: #38bdf8;
  --text: #102e55;
  --text-soft: #647184;
  --background-alt: #f6f9fc;
  --border: #dce5ee;
  --white: #ffffff;
  --shadow: 0 14px 38px rgba(15, 45, 85, 0.08);
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
  width: min(1120px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  z-index: 5000;

  background: transparent;

  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.header-inner {
  position: relative;

  width: 100%;
  min-height: 96px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
  position: absolute;
  top: 25px;
  left: 45px;

  display: inline-flex;
  align-items: center;

  padding: 0;
  margin: 0;

  background: transparent;
  border: 0;

  text-decoration: none;

  z-index: 5100;
}

.logo img {
  display: block;

  width: 165px;
  height: auto;

  object-fit: contain;

  filter: none;
}


/* =========================================================
   MENU HAMBURGER
   ========================================================= */

.menu-toggle {
  position: absolute;
  top: 18px;
  right: 28px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 50px;
  height: 50px;

  padding: 0;

  background: rgba(6, 31, 61, 0.72);

  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;

  cursor: pointer;

  z-index: 5200;
}

.menu-toggle span {
  display: block;

  width: 25px;
  height: 2px;

  margin: 4px 0;

  background: #ffffff;

  border-radius: 3px;

  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.main-nav {
  position: absolute;
  top: 82px;
  right: 28px;

  display: none;

  width: 300px;

  padding: 12px;

  background: rgba(255, 255, 255, 0.99);

  border: 1px solid rgba(15, 45, 85, 0.10);
  border-radius: 14px;

  box-shadow: 0 20px 50px rgba(0, 20, 45, 0.25);

  z-index: 5150;
}

.main-nav.open {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.main-nav a {
  display: block;

  width: 100%;

  padding: 12px 14px;

  color: var(--text);

  font-size: 15px;
  font-weight: 600;

  text-decoration: none;

  border-radius: 8px;

  transition:
    color 0.2s ease,
    background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: #087dcc;
  background: #edf6fd;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 46px;

  padding: 11px 20px;

  border: 1px solid transparent;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 700;

  text-decoration: none;

  cursor: pointer;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: #087dcc;
  border-color: #087dcc;
}

.btn-outline {
  color: var(--text);
  background: transparent;
  border-color: #8fa7bf;
}

.btn-outline:hover {
  color: #ffffff;
  background: var(--text);
}

.btn-light {
  color: var(--navy);
  background: #ffffff;
  border-color: #ffffff;
}

.btn-light:hover {
  background: #eaf4fb;
}


/* =========================================================
   HERO ACCUEIL
   ========================================================= */

.hero-slider {
  position: relative;

  min-height: 720px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: var(--navy-dark);
}

.hero-slides {
  position: absolute;
  inset: 0;

  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;

  background-position: center;
  background-size: cover;

  opacity: 0;

  transform: scale(1.02);

  transition:
    opacity 1.2s ease,
    transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.07);
}

.hero-overlay {
  position: absolute;
  inset: 0;

  z-index: 1;

  background:
    linear-gradient(
      90deg,
      rgba(3, 25, 52, 0.90) 0%,
      rgba(5, 42, 78, 0.72) 52%,
      rgba(5, 42, 78, 0.38) 100%
    );
}


/* Aligné avec les sections du dessous */

.hero-slider-content {
  position: relative;
  z-index: 2;

  width: min(1120px, calc(100% - 48px));

  margin-left: auto;
  margin-right: auto;

  padding-top: 150px;
  padding-bottom: 80px;
}

.hero-kicker,
.section-eyebrow {
  margin: 0 0 14px;

  color: var(--blue-light);

  font-size: 13px;
  font-weight: 800;

  letter-spacing: 2px;

  text-transform: uppercase;
}

.hero-slider h1 {
  max-width: 820px;

  margin: 0 0 24px;

  color: #ffffff;

  font-size: clamp(58px, 6vw, 82px);

  line-height: 0.98;

  letter-spacing: -3px;
}

.hero-lead {
  max-width: 690px;

  margin: 0 0 32px;

  color: rgba(255, 255, 255, 0.92);

  font-size: 18px;

  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-slider .btn-outline {
  color: #ffffff;

  border-color: rgba(255, 255, 255, 0.72);
}

.hero-slider .btn-outline:hover {
  color: var(--navy);
  background: #ffffff;
  border-color: #ffffff;
}


/* =========================================================
   HERO PAGES INTERNES
   ========================================================= */

.page-hero {
  padding: 150px 0 80px;

  color: #ffffff;

  background:
    linear-gradient(
      110deg,
      #062d59 0%,
      #0878bc 100%
    );
}

.page-hero-inner {
  max-width: 850px;
}

.page-hero h1 {
  margin: 0 0 18px;

  color: #ffffff;

  font-size: clamp(44px, 5vw, 66px);

  line-height: 1.04;

  letter-spacing: -2px;
}

.page-hero p {
  max-width: 760px;

  margin: 0;

  color: rgba(255, 255, 255, 0.90);

  font-size: 18px;
}


/* =========================================================
   HERO PHOTO PAGES INTERNES
   ========================================================= */

.page-photo-hero {
  position: relative;

  min-height: 500px;

  display: flex;
  align-items: center;

  overflow: hidden;

  background-position: center;
  background-size: cover;

  color: #ffffff;
}

.page-photo-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(3, 25, 52, 0.88) 0%,
      rgba(5, 42, 78, 0.68) 55%,
      rgba(5, 42, 78, 0.30) 100%
    );
}

.page-photo-content {
  position: relative;
  z-index: 2;

  padding-top: 130px;
  padding-bottom: 70px;
}

.page-photo-content h1 {
  max-width: 800px;

  margin: 0 0 20px;

  color: #ffffff;

  font-size: clamp(46px, 5vw, 68px);

  line-height: 1.03;

  letter-spacing: -2px;
}

.page-photo-content > p:last-child {
  max-width: 700px;

  margin: 0;

  color: rgba(255, 255, 255, 0.90);

  font-size: 18px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: 82px 0;
}

.section-alt {
  background: var(--background-alt);
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading.center,
.center {
  text-align: center;
}

.section-heading h2,
.section h2 {
  margin: 0 0 16px;

  color: var(--text);

  font-size: clamp(34px, 4vw, 48px);

  line-height: 1.08;

  letter-spacing: -1.5px;
}

.section-intro {
  max-width: 760px;

  margin: 0 auto;

  color: var(--text-soft);

  font-size: 17px;

  line-height: 1.7;
}


/* =========================================================
   FEATURES - PAR DÉFAUT 4 CARTES
   ========================================================= */

.features-grid {
  display: grid;

  grid-template-columns: repeat(4, minmax(0, 1fr));

  width: 100%;

  gap: 22px;
}

.feature-card {
  width: 100%;
  min-width: 0;

  padding: 30px 26px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 16px;

  box-shadow: var(--shadow);
}

.feature-icon {
  margin-bottom: 18px;

  font-size: 30px;
}

.feature-card h3 {
  margin: 0 0 10px;

  color: var(--text);

  font-size: 20px;
}

.feature-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 15px;

  line-height: 1.65;
}


/* =========================================================
   PAGE NOS SOLUTIONS - EXACTEMENT 3 CARTES
   ========================================================= */

.features-grid.solutions-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  width: 100%;
  max-width: none;

  margin: 0;

  gap: 28px;
}

.features-grid.solutions-grid .feature-card {
  width: 100%;
  max-width: none;
  min-width: 0;

  margin: 0;
}


/* =========================================================
   TWO COLUMNS
   ========================================================= */

.two-columns {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, 1fr);

  align-items: center;

  gap: 60px;
}

.two-columns p {
  color: var(--text-soft);

  font-size: 16px;

  line-height: 1.7;
}


/* =========================================================
   HIGHLIGHT CARD
   ========================================================= */

.highlight-card {
  padding: 34px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 18px;

  box-shadow: var(--shadow);
}

.highlight-card h3 {
  margin: 0 0 20px;

  color: var(--text);

  font-size: 24px;
}

.highlight-card ul {
  margin: 0;
  padding-left: 22px;
}

.highlight-card li {
  margin-bottom: 12px;

  color: var(--text-soft);
}


/* =========================================================
   SOLUTIONS
   ========================================================= */

.solution-main-card {
  max-width: 900px;

  margin: 35px auto 0;

  padding: 42px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 20px;

  box-shadow: var(--shadow);
}

.solution-main-card h3 {
  margin: 4px 0 14px;

  color: var(--text);

  font-size: 30px;

  line-height: 1.15;
}

.solution-main-card p {
  color: var(--text-soft);

  line-height: 1.7;
}

.solution-icon {
  margin-bottom: 14px;

  font-size: 34px;
}

.solution-label {
  margin-bottom: 8px !important;

  color: var(--blue) !important;

  font-size: 12px !important;
  font-weight: 800;

  letter-spacing: 1.6px;

  text-transform: uppercase;
}

.product-link {
  display: inline-block;

  margin-top: 12px;

  color: #087dcc;

  font-weight: 700;

  text-decoration: none;
}

.product-link:hover {
  text-decoration: underline;
}

.solution-example {
  margin-top: 32px;

  padding-top: 28px;

  border-top: 1px solid var(--border);
}


/* =========================================================
   REFERENCES
   ========================================================= */

.references-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 24px;

  margin-top: 45px;
}

.reference-card {
  min-height: 255px;

  padding: 28px 24px;

  display: flex;
  flex-direction: column;
  align-items: center;

  color: inherit;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 18px;

  box-shadow:
    0 12px 35px rgba(15, 45, 85, 0.07);

  text-align: center;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.reference-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 20px 45px rgba(15, 45, 85, 0.12);
}

.reference-logo-wrap {
  width: 100%;
  height: 105px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 20px;

  padding: 5px;
}

.reference-logo {
  display: block;

  width: auto;
  height: auto;

  max-width: 190px;
  max-height: 90px;

  object-fit: contain;
}

.reference-card h3 {
  margin: 0 0 7px;

  color: var(--text);

  font-size: 19px;
}

.reference-card p {
  margin: 0;

  color: var(--text-soft);

  font-size: 14px;
}

.reference-link {
  margin-top: 14px;

  color: #1685db;

  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
   FOND RÉFÉRENCES
   ========================================================= */

.references-background {
  position: relative;

  background:
    linear-gradient(
      rgba(241, 246, 251, 0.55),
      rgba(241, 246, 251, 0.55)
    ),
    url("/images/pages/references.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.references-background .section-heading,
.references-background .references-grid {
  position: relative;
  z-index: 1;
}

.references-background .reference-card {
  background: rgba(255, 255, 255, 0.94);

  border: 1px solid rgba(255, 255, 255, 0.75);

  box-shadow:
    0 14px 35px rgba(7, 35, 67, 0.13);

  backdrop-filter: blur(3px);
}


/* =========================================================
   CONTACT CTA
   ========================================================= */

.contact-cta {
  color: #ffffff;

  background:
    linear-gradient(
      110deg,
      #062d59 0%,
      #0878bc 100%
    );
}

.contact-cta .section-eyebrow {
  color: #65d0ff;
}

.contact-cta h2 {
  color: #ffffff;
}

.contact-cta p {
  color: rgba(255, 255, 255, 0.90);
}

.contact-cta-inner {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 40px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-layout {
  display: grid;

  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(0, 1.2fr);

  gap: 60px;

  align-items: start;
}

.contact-content {
  padding-top: 10px;
}

.contact-form-card {
  padding: 38px;

  background: #ffffff;

  border: 1px solid var(--border);
  border-radius: 18px;

  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;

  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: var(--text);

  font-size: 14px;
  font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;

  padding: 13px 14px;

  color: var(--text);

  background: #ffffff;

  border: 1px solid #cfdbe7;
  border-radius: 9px;

  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);

  box-shadow:
    0 0 0 3px rgba(21, 152, 229, 0.10);
}

.form-group textarea {
  min-height: 150px;

  resize: vertical;
}


/* =========================================================
   FOND CONTACT
   ========================================================= */

.contact-background {
  position: relative;

  background:
    linear-gradient(
      rgba(241, 246, 251, 0.62),
      rgba(241, 246, 251, 0.62)
    ),
    url("/images/pages/contact.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.contact-background .container {
  position: relative;
  z-index: 1;
}

.contact-background .contact-content {
  padding: 40px;

  background: rgba(255, 255, 255, 0.88);

  border-radius: 20px;

  backdrop-filter: blur(3px);
}

.contact-background .contact-form-card {
  background: rgba(255, 255, 255, 0.95);

  backdrop-filter: blur(4px);

  box-shadow:
    0 18px 45px rgba(7, 35, 67, 0.16);
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  padding: 55px 0 0;

  color: #ffffff;

  background: #061f3d;
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1.4fr 1fr 1fr 0.8fr;

  gap: 55px;
}

.footer-brand p {
  max-width: 330px;

  margin: 0 0 10px;

  color: rgba(255, 255, 255, 0.84);

  font-size: 14px;

  line-height: 1.7;
}

.footer-brand-name {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 18px;
}

.footer-brand-name strong {
  color: #ffffff;

  font-size: 26px;
  font-weight: 800;
}

.footer-diamond {
  display: block;

  width: 18px;
  height: 18px;

  background: var(--blue);

  transform: rotate(45deg);
}

.footer-column {
  display: flex;
  flex-direction: column;

  align-items: flex-start;
}

.footer-column h3 {
  margin: 0 0 18px;

  color: #ffffff;

  font-size: 15px;
}

.footer-column a {
  display: block;

  margin-bottom: 10px;

  color: rgba(255, 255, 255, 0.88);

  font-size: 14px;

  text-decoration: none;
}

.footer-column a:hover {
  color: #38bdf8;
}

.footer-bottom {
  margin-top: 48px;

  padding: 20px 0;

  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom p {
  margin: 0;

  color: rgba(255, 255, 255, 0.80);

  font-size: 13px;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1000px) {

  .features-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  /*
   La page Solutions reste sur 3 colonnes
   tant qu'elle dispose de suffisamment de place.
  */

  .features-grid.solutions-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .references-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* =========================================================
   SOLUTIONS - TABLETTE ÉTROITE
   ========================================================= */

@media (max-width: 850px) {

  .features-grid.solutions-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .container {
    width: min(100% - 32px, 1120px);
  }

  .header-inner {
    min-height: 76px;
  }

  .logo {
    top: 20px;
    left: 20px;
  }

  .logo img {
    width: 125px;
  }

  .menu-toggle {
    top: 15px;
    right: 14px;

    width: 42px;
    height: 42px;
  }

  .main-nav {
    top: 68px;
    right: 14px;

    width: min(300px, calc(100vw - 28px));
  }


  /* HERO ACCUEIL */

  .hero-slider {
    min-height: 620px;
  }

  .hero-slider-content {
    width: min(100% - 32px, 1120px);

    margin-left: auto;
    margin-right: auto;

    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero-slider h1 {
    max-width: 100%;

    font-size: 44px;

    line-height: 1.03;

    letter-spacing: -1.5px;
  }

  .hero-kicker {
    font-size: 11px;

    line-height: 1.5;
  }

  .hero-lead {
    max-width: 100%;

    font-size: 16px;
  }

  .hero-overlay {
    background: rgba(4, 28, 57, 0.78);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }


  /* HERO PAGES */

  .page-hero {
    padding: 120px 0 58px;
  }

  .page-hero h1 {
    font-size: 38px;

    letter-spacing: -1px;
  }

  .page-photo-hero {
    min-height: 470px;
  }

  .page-photo-content {
    padding-top: 115px;
    padding-bottom: 55px;
  }

  .page-photo-content h1 {
    font-size: 40px;

    letter-spacing: -1px;
  }


  /* SECTIONS */

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .section h2 {
    font-size: 32px;

    line-height: 1.12;
  }


  /* GRILLES */

  .features-grid,
  .features-grid.solutions-grid,
  .references-grid,
  .two-columns,
  .contact-layout,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .two-columns,
  .contact-layout {
    gap: 32px;
  }

  .solution-main-card {
    padding: 28px 20px;
  }

  .reference-card {
    min-height: 220px;
  }

  .contact-form-card {
    padding: 26px 20px;
  }

  .contact-background,
  .references-background {
    background-attachment: scroll;
  }

  .contact-background .contact-content {
    padding: 25px;
  }

  .contact-cta-inner {
    flex-direction: column;

    align-items: flex-start;

    gap: 24px;
  }

  .footer-grid {
    gap: 34px;
  }
}


/* =========================================================
   TRÈS PETITS ÉCRANS
   ========================================================= */

@media (max-width: 360px) {

  .container {
    width: calc(100% - 28px);
  }

  .logo {
    top: 18px;
    left: 14px;
  }

  .logo img {
    width: 110px;
  }

  .menu-toggle {
    right: 10px;
  }

  .main-nav {
    right: 10px;

    width: calc(100vw - 20px);
  }

  .hero-slider h1 {
    font-size: 38px;
  }

  .page-hero h1 {
    font-size: 34px;
  }
}/* =========================================================
   ESPACEMENTS PAGE SOLUTIONS
   ========================================================= */

/* Section des 3 expertises */
.section:has(.solutions-grid) {
  padding-top: 55px;
  padding-bottom: 45px;
}

/* Bloc Redyce juste après */
.section.section-alt {
  padding-top: 55px;
  padding-bottom: 55px;
}

/* Cartes un peu plus compactes */
.solutions-grid .feature-card {
  padding: 24px 22px;
  min-height: 0;
}

/* Réduire l'espace entre le texte d'intro et les cartes */
.solutions-grid {
  margin-top: 28px;
}

/* Réduire la marge du bloc Redyce */
.solution-main-card {
  margin-top: 10px;
}/* =========================================================
   CTA CONTACT - CORRECTION
   ========================================================= */

.contact-cta {
  padding: 65px 0;

  color: #ffffff;

  background: linear-gradient(
    110deg,
    #062d59 0%,
    #0878bc 100%
  );
}

.contact-cta .contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 50px;
}

/* Annule tout style de carte hérité */
.contact-cta .contact-cta-text,
.contact-cta .contact-cta-action {
  width: auto;
  height: auto;
  min-height: 0;

  margin: 0;
  padding: 0;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.contact-cta .contact-cta-text {
  flex: 1;
}

.contact-cta .section-eyebrow {
  margin: 0 0 10px;

  color: #55c7ff;
}

.contact-cta h2 {
  margin: 0 0 12px;

  color: #ffffff;

  font-size: clamp(32px, 4vw, 46px);
}

.contact-cta .contact-cta-text > p:last-child {
  max-width: 650px;

  margin: 0;

  color: rgba(255, 255, 255, 0.9);

  font-size: 17px;
}

.contact-cta .contact-cta-action {
  flex: 0 0 auto;
}

.contact-cta .btn-light {
  min-width: 150px;

  color: #082f5b;
  background: #ffffff;

  border: 1px solid #ffffff;
}


/* MOBILE */

@media (max-width: 700px) {

  .contact-cta {
    padding: 50px 0;
  }

  .contact-cta .contact-cta-inner {
    flex-direction: column;
    align-items: flex-start;

    gap: 25px;
  }

}
/* =========================================================
   REFERENCES - VERSION FINALE COMPACTE
   ========================================================= */

.references-background {
  padding: 28px 0 18px;
  background-position: center;
  background-size: cover;
}

.references-background .container {
  max-width: 1320px;
}

/* Titre */

.references-background .section-heading {
  margin-bottom: 16px;
}

.references-background .section-heading h2 {
  margin-bottom: 6px;
}

.references-background .section-intro {
  margin-bottom: 0;
}


/* GRILLE */

.references-grid {
  display: grid;

  grid-template-columns: repeat(6, minmax(0, 1fr));

  gap: 16px;

  margin-top: 16px;
}


/* CARTES */

.references-grid .reference-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;
  min-height: 0;
  height: 185px;

  padding: 18px 14px;

  text-align: center;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.95);

  border: 1px solid rgba(220, 230, 240, 0.9);
  border-radius: 14px;

  box-shadow: 0 10px 25px rgba(5, 35, 70, 0.08);
}


/* LOGOS */

.references-grid .reference-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 65px;
  min-height: 65px;

  margin: 0 0 8px;
}

.references-grid .reference-logo {
  display: block;

  width: auto;
  height: auto;

  max-width: 150px;
  max-height: 55px;

  object-fit: contain;
}


/* TITRES */

.references-grid .reference-card h3 {
  margin: 2px 0 6px;

  color: #082f5b;

  font-size: 14px;
  line-height: 1.25;
}


/* CATÉGORIE */

.references-grid .reference-card p {
  margin: 0 0 7px;

  color: #64748b;

  font-size: 13px;
  line-height: 1.3;
}


/* LIEN */

.references-grid .reference-link {
  margin-top: auto;

  color: #0798e8;

  font-size: 13px;
  font-weight: 700;
}


/* SURVOL */

.references-grid .reference-card:hover {
  transform: translateY(-3px);

  box-shadow: 0 14px 30px rgba(5, 35, 70, 0.14);
}


/* =========================================================
   CTA JUSTE SOUS LES REFERENCES
   ========================================================= */

.references-background + .contact-cta {
  margin-top: 0;
}

.contact-cta {
  padding: 28px 0 32px;
}

.contact-cta .contact-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 40px;
}

.contact-cta .contact-cta-text {
  flex: 1;

  margin: 0;
  padding: 0;

  background: transparent;
}

.contact-cta .section-eyebrow {
  margin-bottom: 8px;
}

.contact-cta h2 {
  margin: 0 0 8px;

  font-size: clamp(30px, 3vw, 42px);
}

.contact-cta .contact-cta-text > p:last-child {
  margin: 0;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1100px) {

  .references-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}


/* =========================================================
   PETITE TABLETTE
   ========================================================= */

@media (max-width: 800px) {

  .references-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {

  .references-background {
    padding: 30px 0 20px;
  }

  .references-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .references-grid .reference-card {
    height: auto;
    min-height: 175px;
  }

  .contact-cta {
    padding: 35px 0;
  }

  .contact-cta .contact-cta-inner {
    flex-direction: column;
    align-items: flex-start;

    gap: 20px;
  }

}/* =========================================================
   ACCUEIL - TITRES HOMOGÉNÉISÉS
   CDSM / NOTRE MÉTIER / NOTRE APPROCHE
   ========================================================= */

.home-uniform-section .section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.home-uniform-section .section-eyebrow {
  display: block;

  margin: 0 0 14px;

  color: var(--blue-light);

  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;

  letter-spacing: 2px;
  text-transform: uppercase;

  text-align: center;
}

.home-uniform-section .section-heading h2 {
  max-width: 900px;

  margin: 0 auto 16px;

  color: var(--text);

  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;

  letter-spacing: -1.5px;

  text-align: center;
}

.home-uniform-section .section-intro {
  max-width: 760px;

  margin: 0 auto;

  color: var(--text-soft);

  font-size: 17px;
  line-height: 1.7;

  text-align: center;
}/* =========================================================
   QUI SOMMES-NOUS - TITRES HOMOGENES ET CENTRES
   ========================================================= */

body .section .section-heading.center {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body .section .section-heading.center .section-eyebrow {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  text-align: center;
  color: #38bdf8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

body .section .section-heading.center h2 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body .section .section-heading.center .section-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}/* =========================================================
   ACCUEIL - NOTRE MÉTIER - 3 CARTES CENTRÉES
   ========================================================= */

#solutions .features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 28px;
}

#solutions .feature-card {
  width: 100%;
  max-width: none;
}


/* TABLETTE */

@media (max-width: 900px) {

  #solutions .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}


/* MOBILE */

@media (max-width: 700px) {

  #solutions .features-grid {
    grid-template-columns: 1fr;
  }

}/* =========================================================
   REDYCE SHOWCASE
   ========================================================= */

.redyce-showcase {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;

  max-width: 1080px;
  margin: 0 auto;

  overflow: hidden;

  background: #ffffff;
  border: 1px solid #d8e4ef;
  border-radius: 22px;

  box-shadow: 0 18px 45px rgba(6, 47, 91, 0.08);
}


/* GAUCHE */

.redyce-showcase-content {
  padding: 48px 52px;
}

.redyce-robot {
  margin-bottom: 22px;

  font-size: 34px;
  line-height: 1;
}

.redyce-label {
  margin: 0 0 16px;

  color: #0798e7;

  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.redyce-showcase-content h3 {
  max-width: 500px;

  margin: 0;

  color: #062f5b;

  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -1px;
}

.redyce-line {
  width: 70px;
  height: 4px;

  margin: 24px 0;

  background: #14a8eb;
  border-radius: 10px;
}

.redyce-showcase-content > p:not(.redyce-label) {
  max-width: 560px;

  margin: 0 0 17px;

  color: #53657a;

  font-size: 16px;
  line-height: 1.7;
}

.redyce-button {
  display: inline-flex;
  align-items: center;

  margin-top: 12px;
  padding: 14px 22px;

  color: #ffffff;
  background: #0798e7;

  border-radius: 9px;

  font-weight: 700;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.redyce-button:hover {
  color: #ffffff;
  background: #087dc4;

  transform: translateY(-2px);
}


/* DROITE */

.redyce-showcase-visual {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 520px;
  padding: 45px 35px 55px;

  overflow: hidden;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(0, 177, 255, 0.35),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      #063c78 0%,
      #0878c5 60%,
      #0798e7 100%
    );
}

.redyce-showcase-visual h3 {
  position: relative;
  z-index: 2;

  margin: 28px 0 12px;

  color: #ffffff;

  font-size: 28px;
  line-height: 1.25;
  letter-spacing: 0.5px;
  text-align: center;
}

.redyce-showcase-visual > p {
  position: relative;
  z-index: 2;

  margin: 0;

  color: rgba(255, 255, 255, 0.92);

  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.redyce-visual-line {
  position: relative;
  z-index: 2;

  width: 55px;
  height: 3px;

  margin: 0 0 17px;

  background: #23c3ff;
  border-radius: 10px;
}


/* RÉSEAU */

.redyce-network {
  position: relative;

  width: 270px;
  height: 190px;

  border: 1px solid rgba(70, 203, 255, 0.22);
  border-radius: 50%;
}

.redyce-network::before,
.redyce-network::after {
  content: "";

  position: absolute;
  inset: 30px;

  border: 1px dashed rgba(75, 207, 255, 0.32);
  border-radius: 50%;
}

.redyce-network::after {
  inset: 62px;
}

.redyce-network-center,
.redyce-network-icon {
  position: absolute;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid rgba(55, 203, 255, 0.75);
  border-radius: 50%;

  background: rgba(4, 57, 113, 0.72);

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.redyce-network-center {
  top: 50%;
  left: 50%;

  width: 86px;
  height: 86px;

  font-size: 45px;

  transform: translate(-50%, -50%);
}

.redyce-network-icon {
  width: 54px;
  height: 54px;

  font-size: 24px;
}

.redyce-icon-top-left {
  top: -8px;
  left: 20px;
}

.redyce-icon-top-right {
  top: -8px;
  right: 20px;
}

.redyce-icon-bottom-left {
  bottom: -8px;
  left: 20px;
}

.redyce-icon-bottom-right {
  right: 20px;
  bottom: -8px;
}


/* SILHOUETTE BAS DU VISUEL */

.redyce-city {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;

  overflow: hidden;

  color: rgba(2, 54, 110, 0.48);

  font-size: 76px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -7px;
  text-align: center;

  pointer-events: none;
}


/* =========================================================
   RESPONSIVE REDYCE
   ========================================================= */

@media (max-width: 900px) {

  .redyce-showcase {
    grid-template-columns: 1fr;
  }

  .redyce-showcase-content {
    padding: 38px 32px;
  }

  .redyce-showcase-visual {
    min-height: 440px;
  }

}


@media (max-width: 600px) {

  .redyce-showcase {
    border-radius: 16px;
  }

  .redyce-showcase-content {
    padding: 30px 24px;
  }

  .redyce-showcase-content h3 {
    font-size: 34px;
  }

  .redyce-showcase-visual {
    min-height: 410px;
    padding: 38px 20px 50px;
  }

  .redyce-network {
    width: 230px;
    height: 170px;
  }

  .redyce-showcase-visual h3 {
    font-size: 25px;
  }

}/* =========================================================
   APPLICATIONS METIER SUR MESURE
   ========================================================= */

.apps-showcase {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;

  max-width: 1120px;
  margin: 0 auto;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #d7e4ef;
  border-radius: 22px;

  box-shadow:
    0 18px 45px rgba(6, 47, 91, 0.08);
}


/* =========================================================
   GAUCHE
   ========================================================= */

.apps-showcase-left {
  position: relative;
  z-index: 2;

  padding: 45px 45px 40px;

  background: #ffffff;
}

.apps-main-icon {
  margin-bottom: 10px;

  font-size: 34px;
}

.apps-kicker {
  margin: 0 0 10px !important;

  color: #08a1eb !important;

  font-size: 13px !important;
  font-weight: 800;

  letter-spacing: 2px;
}

.apps-showcase-left > h3 {
  margin: 0;

  color: #062f5b;

  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.06;

  letter-spacing: -1.5px;
}

.apps-blue-line {
  width: 75px;
  height: 4px;

  margin: 22px 0;

  background: #09a5eb;

  border-radius: 10px;
}

.apps-showcase-left > p:not(.apps-kicker) {
  margin: 0 0 17px;

  color: #53657a;

  font-size: 16px;
  line-height: 1.65;
}


/* =========================================================
   RENOV'IA
   ========================================================= */

.apps-renovia {
  display: grid;
  grid-template-columns: 125px 1fr;

  align-items: center;

  gap: 20px;

  margin-top: 30px;
  padding: 18px;

  background:
    linear-gradient(
      135deg,
      #f3f9fe 0%,
      #e8f4fd 100%
    );

  border: 1px solid #d8e8f5;
  border-radius: 18px;
}

.apps-renovia-phone {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 170px;

  font-size: 72px;

  background: #ffffff;

  border: 1px solid #d8e4ef;
  border-radius: 22px;

  box-shadow:
    0 12px 30px rgba(6, 47, 91, 0.10);
}

.apps-renovia-content h3 {
  margin: 2px 0 10px;

  color: #062f5b;

  font-size: 28px;
}

.apps-renovia-content p:not(.solution-label) {
  margin: 0 0 12px;

  color: #53657a;

  font-size: 14px;
  line-height: 1.55;
}

.apps-renovia-button {
  display: inline-flex;

  padding: 10px 16px;

  color: #062f5b;
  background: #ffffff;

  border: 1px solid #168edf;
  border-radius: 7px;

  font-size: 13px;
  font-weight: 700;

  text-decoration: none;
}

.apps-renovia-button:hover {
  color: #ffffff;
  background: #168edf;
}


/* =========================================================
   DROITE
   ========================================================= */

.apps-showcase-right {
  position: relative;

  min-height: 650px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 55% 38%,
      rgba(16, 181, 255, 0.38),
      transparent 35%
    ),
    linear-gradient(
      145deg,
      #063d7e 0%,
      #0879c7 55%,
      #08a5ed 100%
    );
}


/* forme oblique */

.apps-showcase-right::before {
  content: "";

  position: absolute;
  top: 0;
  bottom: 0;
  left: -85px;

  width: 145px;

  background: #ffffff;

  transform: skewX(-17deg);

  transform-origin: bottom;
}


/* =========================================================
   FONCTIONS
   ========================================================= */

.apps-function {
  position: absolute;
  z-index: 3;

  width: 120px;
  min-height: 84px;

  padding: 13px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #ffffff;

  background:
    linear-gradient(
      145deg,
      rgba(8, 98, 184, 0.95),
      rgba(4, 167, 235, 0.95)
    );

  border: 1px solid rgba(94, 213, 255, 0.45);
  border-radius: 17px;

  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;

  text-align: center;

  box-shadow:
    0 12px 28px rgba(0, 25, 65, 0.16);
}

.apps-function span {
  margin-bottom: 5px;

  font-size: 28px;
}

.apps-function-doc {
  top: 110px;
  left: 55px;
}

.apps-function-auto {
  top: 55px;
  left: 210px;
}

.apps-function-collab {
  top: 95px;
  right: 25px;
}

.apps-function-security {
  top: 225px;
  right: 30px;
}


/* =========================================================
   FAUX LAPTOP / DASHBOARD
   ========================================================= */

.apps-dashboard {
  position: absolute;

  right: 75px;
  bottom: 155px;

  width: 385px;

  overflow: hidden;

  background: #ffffff;

  border: 10px solid #12263c;
  border-radius: 14px;

  transform:
    perspective(950px)
    rotateX(2deg)
    rotateY(-4deg);

  box-shadow:
    0 25px 55px rgba(0, 20, 60, 0.30);
}

.apps-dashboard-bar {
  padding: 10px 14px;

  color: #ffffff;
  background: #082f5b;

  font-size: 12px;
  font-weight: 800;
}

.apps-dashboard-body {
  display: grid;
  grid-template-columns: 90px 1fr;

  min-height: 225px;
}

.apps-dashboard-menu {
  display: flex;
  flex-direction: column;

  gap: 11px;

  padding: 15px 10px;

  color: #d6e7fa;
  background: #092a4f;

  font-size: 8px;
}

.apps-dashboard-content {
  padding: 15px;

  color: #062f5b;
}

.apps-dashboard-content h4 {
  margin: 0 0 15px;

  font-size: 15px;
}

.apps-dashboard-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 7px;
}

.apps-dashboard-cards div {
  padding: 9px;

  background: #f1f6fa;

  border-radius: 7px;
}

.apps-dashboard-cards strong {
  display: block;

  font-size: 16px;
}

.apps-dashboard-cards small {
  font-size: 7px;
}


/* graphique */

.apps-chart {
  height: 90px;

  display: flex;
  align-items: flex-end;

  gap: 8px;

  margin-top: 20px;
  padding: 12px;

  background: #f5f9fc;

  border-radius: 8px;
}

.apps-chart span {
  flex: 1;

  display: block;

  background:
    linear-gradient(
      #07a4eb,
      #0877c3
    );

  border-radius: 3px 3px 0 0;
}


/* =========================================================
   BENEFICES
   ========================================================= */

.apps-benefits {
  position: absolute;

  right: 80px;
  bottom: 35px;

  z-index: 3;
}

.apps-benefits p {
  display: flex;
  align-items: center;

  gap: 10px;

  margin: 9px 0;

  color: #ffffff;

  font-size: 15px;
  font-weight: 600;
}

.apps-benefits span {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 26px;
  height: 26px;

  color: #ffffff;
  background: #0cbcff;

  border-radius: 50%;

  font-size: 15px;
  font-weight: 800;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 950px) {

  .apps-showcase {
    grid-template-columns: 1fr;
  }

  .apps-showcase-right {
    min-height: 620px;
  }

  .apps-showcase-right::before {
    display: none;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .apps-showcase-left {
    padding: 32px 22px;
  }

  .apps-renovia {
    grid-template-columns: 1fr;
  }

  .apps-renovia-phone {
    height: 130px;
  }

  .apps-showcase-right {
    min-height: 600px;
  }

  .apps-function {
    width: 100px;

    font-size: 11px;
  }

  .apps-function-doc {
    left: 15px;
  }

  .apps-function-auto {
    left: 50%;
    transform: translateX(-50%);
  }

  .apps-function-collab {
    right: 15px;
  }

  .apps-function-security {
    right: 15px;
  }

  .apps-dashboard {
    right: 50%;
    bottom: 155px;

    width: 88%;

    transform: translateX(50%);
  }

  .apps-benefits {
    right: 20px;
    bottom: 25px;
    left: 20px;
  }

}/* =========================================================
   REFERENCES - NOUVELLE PRESENTATION
   ========================================================= */

.references-page-section {
  padding: 58px 0 42px;
}

.references-page-section + .references-page-section {
  border-top: 1px solid #e4edf5;
}


/* =========================================================
   TITRES DE RUBRIQUES
   ========================================================= */

.reference-category-header {
  display: flex;
  align-items: center;
  gap: 28px;

  margin-bottom: 30px;
}

.reference-category-icon {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 92px;
  height: 92px;

  color: #0755c7;
  background: #eef5ff;

  border-radius: 50%;

  font-size: 42px;
}

.reference-category-content {
  flex: 1;
}

.reference-category-content h2 {
  margin: 0 0 10px;

  color: #0755c7;

  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.05;

  letter-spacing: -1.2px;

  text-transform: uppercase;
}

.reference-category-content p {
  max-width: 700px;

  margin: 0;

  color: #53657a;

  font-size: 17px;
  line-height: 1.55;
}


/* =========================================================
   GRILLES REFERENCES
   ========================================================= */

.references-category-grid {
  display: grid;

  grid-template-columns: repeat(6, minmax(0, 1fr));

  gap: 16px;

  width: 100%;
}


/* =========================================================
   CARTES
   ========================================================= */

.references-category-grid .reference-card {
  display: flex;
  flex-direction: column;
  align-items: center;

  min-width: 0;
  min-height: 225px;

  padding: 22px 14px 18px;

  color: #062f5b;
  background: #ffffff;

  border: 1px solid #dbe7f1;
  border-radius: 14px;

  box-shadow:
    0 8px 24px rgba(6, 47, 91, 0.06);

  text-align: center;
  text-decoration: none;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.references-category-grid .reference-card:hover {
  transform: translateY(-4px);

  border-color: #b8d9f0;

  box-shadow:
    0 14px 30px rgba(6, 47, 91, 0.12);
}


/* =========================================================
   LOGOS
   ========================================================= */

.references-category-grid .reference-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 82px;
  min-height: 82px;

  margin-bottom: 13px;
}

.references-category-grid .reference-logo {
  display: block;

  max-width: 150px;
  max-height: 68px;

  width: auto;
  height: auto;

  object-fit: contain;
}


/* =========================================================
   NOM / TYPE / LIEN
   ========================================================= */

.references-category-grid .reference-card h3 {
  margin: 0 0 7px;

  color: #072f69;

  font-size: 14px;
  line-height: 1.3;

  text-transform: uppercase;
}

.references-category-grid .reference-card p {
  margin: 0 0 10px;

  color: #66778a;

  font-size: 13px;
  line-height: 1.35;
}

.references-category-grid .reference-link {
  margin-top: auto;

  color: #078ee5;

  font-size: 13px;
  font-weight: 700;
}


/* =========================================================
   EXPERTISE COMMERCIALE - 4 CARTES
   ========================================================= */

.references-category-grid.references-grid-commercial {
  grid-template-columns: repeat(4, minmax(0, 1fr));

  max-width: 760px;
}


/* =========================================================
   HERO REFERENCES
   ========================================================= */

.references-hero {
  position: relative;

  overflow: hidden;

  padding: 65px 0 70px;

  background:
    linear-gradient(
      135deg,
      #f7faff 0%,
      #ffffff 55%,
      #eef5ff 100%
    );
}

.references-hero::before,
.references-hero::after {
  content: "";

  position: absolute;

  width: 190px;
  height: 190px;

  background: rgba(9, 105, 217, 0.05);

  transform: rotate(45deg);
}

.references-hero::before {
  top: -70px;
  right: 65px;
}

.references-hero::after {
  right: -30px;
  bottom: -100px;
}

.references-hero .container {
  position: relative;
  z-index: 2;
}

.references-hero .section-eyebrow {
  text-align: center;
}

.references-hero h1 {
  margin: 0 0 20px;

  color: #062f5b;

  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.02;

  text-align: center;

  letter-spacing: -2px;
}

.references-hero p:last-child {
  max-width: 760px;

  margin: 0 auto;

  color: #53657a;

  font-size: 18px;
  line-height: 1.6;

  text-align: center;
}


/* =========================================================
   CTA REFERENCES
   ========================================================= */

.references-cta {
  padding: 25px 0 40px;
}

.references-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;

  padding: 28px 34px;

  background:
    linear-gradient(
      100deg,
      #f1f7ff 0%,
      #e8f2ff 100%
    );

  border-radius: 18px;
}

.references-cta-text {
  display: flex;
  align-items: center;

  gap: 22px;
}

.references-cta-icon {
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 72px;
  height: 72px;

  color: #0755c7;
  background: #ffffff;

  border-radius: 50%;

  font-size: 30px;

  box-shadow:
    0 8px 20px rgba(6, 47, 91, 0.08);
}

.references-cta-copy h2 {
  margin: 0 0 5px;

  color: #062f5b;

  font-size: 28px;
}

.references-cta-copy p {
  margin: 0;

  color: #53657a;

  font-size: 15px;
}

.references-cta .btn {
  flex: 0 0 auto;
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1100px) {

  .references-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .references-category-grid.references-grid-commercial {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    max-width: none;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .references-page-section {
    padding: 40px 0 30px;
  }

  .reference-category-header {
    flex-direction: column;
    align-items: flex-start;

    gap: 16px;
  }

  .reference-category-icon {
    width: 72px;
    height: 72px;

    font-size: 34px;
  }

  .reference-category-content h2 {
    font-size: 31px;
  }

  .reference-category-content p {
    font-size: 16px;
  }

  .references-category-grid,
  .references-category-grid.references-grid-commercial {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 12px;
  }

  .references-category-grid .reference-card {
    min-height: 215px;

    padding: 18px 10px 16px;
  }

  .references-category-grid .reference-logo-wrap {
    height: 70px;
    min-height: 70px;
  }

  .references-category-grid .reference-logo {
    max-width: 125px;
    max-height: 58px;
  }

  .references-hero {
    padding: 45px 0 50px;
  }

  .references-hero h1 {
    font-size: 42px;
  }

  .references-hero p:last-child {
    font-size: 16px;
  }

  .references-cta-inner {
    flex-direction: column;
    align-items: flex-start;

    padding: 24px;
  }

  .references-cta-text {
    align-items: flex-start;
  }

}


/* =========================================================
   PETIT MOBILE
   ========================================================= */

@media (max-width: 480px) {

  .references-category-grid,
  .references-category-grid.references-grid-commercial {
    grid-template-columns: 1fr;
  }

}.references-category-grid.references-grid-commercial {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
  width: 100%;
}/* =========================================================
   FIX DEFINITIF - GRILLE EXPERTISE COMMERCIALE
========================================================= */

.references-page-section .commercial-grid-fix {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;

  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;
}

.references-page-section .commercial-grid-fix::before,
.references-page-section .commercial-grid-fix::after {
  display: none !important;
  content: none !important;
}

.references-page-section .commercial-grid-fix > .reference-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;

  margin: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
}


/* TABLETTE */

@media (max-width: 900px) {

  .references-page-section .commercial-grid-fix {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}


/* MOBILE */

@media (max-width: 600px) {

  .references-page-section .commercial-grid-fix {
    grid-template-columns: 1fr !important;
  }

}