/* ==========================================================================
   SOLUTIS — CSS conforme au cahier des charges
   Couleur principale : #4738DE | Rouge labels : #EC1C24 | Font : Poppins
   ========================================================================== */

:root {
  --blue: #4738DE;
  --blue-dark: #3228b0;
  --blue-light: #ECEDFC;
  --green: #c2f66e;
  --green-hover: #aee85a;
  --red: #EC1C24;
  --bg-nav: #ECEDFC;
  --text: #1a2340;
  --text-light: #6b7280;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius: 18px;
  --radius-pill: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}
body {
  font-family: 'Poppins', -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

/* ==========================================================================
   FRONT — Masquer le titre Drupal automatique (Page title block)
   On garde les H1/H2 du contenu (hero, etc.)
   ========================================================================== */
.path-accueil .page-title,
.path-accueil .block-page-title-block,
.page-title,
h1.page-title,
.block-page-title-block,
[data-drupal-selector="page-title"],
[id^="block-"][id$="-page-title"],
[id^="block-"][id*="page-title"] {
  display: none !important;
}

/* Images et médias responsives par défaut (y compris contenus DXPR/Drupal) */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   TOPBAR — logo + Trustpilot + CTA + Espace client (fond blanc)
   ========================================================================== */
.sol-topbar {
  background: var(--white);
  padding: 0 32px;
  height: 72px;
  border-bottom: 1px solid #e8e9f5;
  position: sticky;
  top: 0;
  z-index: 90;
}

.sol-topbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo topbar */
.sol-topbar__logo {
  text-decoration: none;
  flex-shrink: 0;
}

.sol-topbar__logo-img {
  height: 65px;
  width: auto;
  display: block;
}

/* Partie droite */
.sol-topbar__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Trustpilot */
.sol-topbar__trustpilot {
  display: flex;
  align-items: center;
}

.sol-topbar__tp-stars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sol-topbar__tp-logo {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.sol-topbar__tp-boxes {
  display: flex;
  gap: 3px;
}

.sol-topbar__tp-box {
  display: block;
  width: 20px;
  height: 20px;
  background: #00b67a;
  border-radius: 3px;
  position: relative;
}

.sol-topbar__tp-box--half {
  background: linear-gradient(90deg, #00b67a 50%, #ddd 50%);
}

.sol-topbar__tp-score {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  line-height: 1;
  white-space: nowrap;
}

.sol-topbar__tp-num {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

.sol-topbar__tp-link {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: underline;
  line-height: 1;
}

/* CTA Demande de rappel */
.sol-topbar__cta {
  display: inline-block;
  text-decoration: none;
  background: var(--green);
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: background 0.2s ease;
}

.sol-topbar__cta:hover {
  background: var(--green-hover);
}

/* Espace client */
.sol-topbar__client {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.sol-topbar__client:hover {
  color: var(--blue);
}

.sol-topbar__client-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Admin fix topbar */
body.user-logged-in .sol-topbar {
  position: relative !important;
  top: auto !important;
  z-index: 0 !important;
}

/* --- Variante 2 : fond blanc pur --- */
.sol-topbar--white {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

/* --- Variante 3 : fond bleu #4738DE --- */
.sol-topbar--blue {
  background: var(--blue);
}

.sol-topbar--blue .sol-topbar__logo-img {
  filter: brightness(0) invert(1);
}

.sol-topbar--blue .sol-topbar__client {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
}

.sol-topbar--blue .sol-topbar__client:hover {
  color: #fff;
  border-color: #fff;
}

/* --- Variante 4 : fond sombre #0f1724 --- */
.sol-topbar--dark {
  background: #0f1724;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sol-topbar--dark .sol-topbar__logo-img {
  filter: brightness(0) invert(1);
}

.sol-topbar--dark .sol-topbar__client {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.3);
}

.sol-topbar--dark .sol-topbar__client:hover {
  color: #fff;
  border-color: #fff;
}

/* Espace client blanc (variantes foncées) */
.sol-topbar__client--white {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   NAVBAR — fond #4738DE, liens texte blanc (barre de liens)
   ========================================================================== */
.sol-navbar {
  background: var(--blue);
  padding: 0 32px;
  height: 52px;
  position: sticky;
  top: 72px;
  /* colle sous la topbar */
  z-index: 89;
}

.sol-navbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.sol-navbar__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  height: 100%;
}

.sol-navbar__links li {
  height: 100%;
  display: flex;
  align-items: center;
}

.sol-navbar__links a {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 28px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
  border-bottom: 3px solid transparent;
}

.sol-navbar__links a:hover,
.sol-navbar__links a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-bottom-color: var(--green);
}

/* Admin fix navbar */
body.user-logged-in .sol-navbar {
  position: relative !important;
  top: auto !important;
  z-index: 0 !important;
}

/* --- Navbar Variante 2 : fond blanc, texte foncé, hover souligné --- */
.sol-navbar--white {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.sol-navbar--white .sol-navbar__links a {
  color: var(--text);
  border-bottom: 2px solid transparent;
}

.sol-navbar--white .sol-navbar__links a:hover,
.sol-navbar--white .sol-navbar__links a.active {
  background: transparent;
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* --- Navbar Variante 4 : fond clair #ECEDFC, logo + boutons pill bleus + CTA vert --- */
.sol-navbar--light {
  background: var(--blue-light);
  height: 72px;
  padding: 0 32px;
}

.sol-navbar--light .sol-navbar__inner {
  justify-content: space-between;
}

/* Logo dans navbar */
.sol-navbar__logo-link {
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.sol-navbar__logo-img {
  height: 72px;
  width: auto;
  display: block;
}

.sol-navbar--light .sol-navbar__links {
  gap: 8px;
  flex-wrap: wrap;
  height: auto;
}

.sol-navbar--light .sol-navbar__links li {
  height: auto;
}

.sol-navbar--light .sol-navbar__links a {
  background: var(--blue);
  color: #fff;
  border-radius: 100px;
  padding: 10px 20px;
  height: auto;
  border-bottom: none;
  font-size: 0.82rem;
  font-weight: 500;
}

.sol-navbar--light .sol-navbar__links a:hover {
  background: var(--blue-dark);
  border-bottom: none;
  transform: translateY(-1px);
}

.sol-navbar--light .sol-navbar__links a.sol-navbar__pill--cta,
.sol-navbar--light .sol-navbar__pill--cta {
  background: var(--green);
  color: #1a2340;
  font-weight: 700;
}

.sol-navbar--light .sol-navbar__pill--cta:hover {
  background: var(--green-hover) !important;
}

/* Burger mobile */
.sol-navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.sol-navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background: #F9F9F9;
  padding: 25px 0 16px 0;
}

/* Vague PNG en fond */
.hero__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 55%;
  z-index: 0;
  pointer-events: none;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

/* 2 colonnes : texte et visuels avec largeur similaire */
.hero__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 2;
  padding: 40px 48px 120px;
}

/* --- Colonne gauche : texte prend toute la hauteur --- */
.hero__left {
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero__title {
  font-family: 'Manrope', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: #0f1c3f;
  line-height: 1.25;
  margin: 0 0 36px;
  /* 36px selon cahier des charges */
  letter-spacing: -0.5px;
}

.hero__accent {
  color: var(--blue);
}

.hero__desc {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.7;
}

/* --- Colonne droite --- */
.hero__right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ===================== Galerie photos interactive ===================== */
.hero__gallery {
  display: flex;
  gap: 12px;
  align-items: stretch;
  height: 420px;
}

.hero__photo {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Photo active = grande */
.hero__photo--active {
  flex: 3;
}

/* Photo inactive = petite (les 2 autres se partagent le reste) */
.hero__photo:not(.hero__photo--active) {
  flex: 1;
}

.hero__photo>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Label en bas de chaque photo */
.hero__photo-label {
  position: absolute;
  bottom: 12px;
  left: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.hero__photo-label-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  object-fit: contain;
}

.hero__photo-label-text {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===================== 6 blocs services — pleine largeur, sans bordure ===================== */
.hero__services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.hero__service-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  min-height: 64px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: none;
}

.hero__service-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero__service-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--red);
  line-height: 1.3;
}

/* ==========================================================================
   BLOC REASSURANCE 2 COLONNES (style maquetté)
   ========================================================================== */
.sol-reassure {
  padding: 80px 40px 96px;
  background: #F9F9F9;
  /* même fond que le hero / sections principales */
  position: relative;
}

.sol-reassure__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.sol-reassure__col--left .sol-reassure__title {
  margin-bottom: 36px;
  /* écart titre / bloc gauche */
}

.sol-reassure__title {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 400;
  color: #111827;
  margin: 0 0 36px;
  /* cohérent avec le H1 hero (36px) */
}

.sol-reassure__title--sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sol-reassure__card {
  background: var(--blue-light);
  /* même bleu clair que les autres blocs du site */
  border-radius: 32px;
  padding: 28px 36px;
  box-shadow: 0 20px 40px rgba(71, 56, 222, 0.14);
}

.sol-reassure__text {
  margin-top: 30px;
  /* espace entre fond violet et texte libre */
  background: transparent;
}

.sol-reassure__text .sol-reassure__paragraph:first-child {
  margin-top: 55px;
}

.sol-reassure__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 40px 0;
}

.sol-reassure__row+.sol-reassure__row {
  border-top: 1px solid rgba(71, 56, 222, 0.18);
}

.sol-reassure__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.sol-reassure__row-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--blue);
}

.sol-reassure__row-text--stacked {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sol-reassure__row-heading {
  font-weight: 700;
  font-size: 16px;
  color: var(--blue);
}

.sol-reassure__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #4b5563;
}

.sol-reassure__list li+li {
  margin-top: 2px;
}

.sol-reassure__footnote {
  margin-top: 12px;
  font-size: 11px;
  color: #6b7280;
}

.sol-reassure__paragraph {
  font-size: 13.5px;
  line-height: 1.7;
  color: #374151;
}

.sol-reassure__link {
  display: inline-block;
  margin-top: 20px;
  text-decoration: underline;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  text-transform: capitalize;
}

.sol-reassure__link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   BLOC NOTRE SERVICE PATRIMONIAL
   ========================================================================== */
.sol-patrimonial {
  position: relative;
  /* Fond identique à la maquette : haut gris clair, bande violette en bas */
  background: #F9F9F9;
  overflow: hidden;
}

.sol-patrimonial__inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.sol-patrimonial__title {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  color: #111827;
  margin: 0 0 60px;
}

.sol-patrimonial__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Colonne visuelle */
.sol-patrimonial__media {
  position: relative;
  margin: 0 auto;
  max-width: 500px;
  width: 100%;
  height: 340px;
}

.sol-patrimonial__image {
  border-radius: 20px;
  overflow: hidden;
  background-color: #e5e7eb;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.sol-patrimonial__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Image principale (Maison) */
.sol-patrimonial__image--main {
  position: absolute;
  top: 0;
  left: 0;
  width: 65%;
  height: 250px;
  z-index: 1;
}

/* Image secondaire (Personnes) — chevauchement */
.sol-patrimonial__image--secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  height: 200px;
  z-index: 2;
}

/* Colonne texte */
.sol-patrimonial__content {
  padding-left: 20px;
}

.sol-patrimonial__text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.85;
  color: #374151;
  margin: 0 0 32px;
  text-align: left;
}

.sol-patrimonial__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 999px;
  background: #4738de;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 16px rgba(71, 56, 222, 0.3);
}

.sol-patrimonial__cta:hover {
  background: #3228b0;
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .sol-patrimonial__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .sol-patrimonial__media {
    margin: 0 auto 40px;
    max-width: 450px;
    height: 300px;
  }

  .sol-patrimonial__image--main {
    width: 68%;
    height: 220px;
  }

  .sol-patrimonial__image--secondary {
    width: 58%;
    height: 170px;
  }

  .sol-patrimonial__content {
    padding-left: 0;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
  }

  .sol-patrimonial__text {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .sol-patrimonial {
    padding: 60px 20px 80px;
  }

  .sol-patrimonial__title {
    font-size: 26px;
    margin-bottom: 40px;
  }

  .sol-patrimonial__media {
    height: 260px;
  }

  .sol-patrimonial__image--main {
    width: 72%;
    height: 190px;
  }

  .sol-patrimonial__image--secondary {
    width: 58%;
    height: 150px;
    border-width: 5px;
  }
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM (global harmonization)
   - Keep Poppins everywhere
   - Keep body text consistent with header/footer scale
   ========================================================================== */

:root {
  --sol-font-base: 16px;
  --sol-line-base: 1.6;
  --sol-h1: clamp(32px, 3.6vw, 48px);
  --sol-h2: 48px;
  --sol-h3: clamp(22px, 2.2vw, 30px);
  --sol-h4: clamp(18px, 1.7vw, 24px);
}

html {
  font-size: var(--sol-font-base);
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: var(--sol-line-base);
}

main p,
main li,
main label,
main input,
main textarea,
main select,
main button {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  line-height: var(--sol-line-base);
}

main h1 {
  font-size: var(--sol-h1);
  line-height: 1.16;
}

main h2 {
  font-size: var(--sol-h2);
  line-height: 1.2;
}

main h3 {
  font-size: var(--sol-h3);
  line-height: 1.25;
}

main h4 {
  font-size: var(--sol-h4);
  line-height: 1.3;
}

@media (max-width: 900px) {
  :root {
    --sol-font-base: 15px;
    --sol-h1: clamp(28px, 7.2vw, 38px);
    --sol-h2: clamp(28px, 7vw, 40px);
    --sol-h3: clamp(20px, 5vw, 28px);
    --sol-h4: clamp(17px, 4.2vw, 22px);
  }
}

/* ==========================================================================
   BLOC TÉMOIGNAGES (NOUVEAU)
   ========================================================================== */
.sol-testimonials {
  padding: 80px 40px 100px;
  background: #F9F9F9;
}

.sol-testimonials__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sol-testimonials__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 70px;
  align-items: center;
}

.sol-testimonials__col-title {
  display: flex;
  align-items: center;
}

.sol-testimonials__title {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 400;
  color: #111827;
  line-height: 1.1;
}

.sol-testimonials__card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 52px;
  border: 1px solid #d9ddff;
  /* Violet très clair comme la maquette */
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.sol-testimonials__content {
  margin-bottom: 32px;
}

.sol-testimonials__subtitle {
  font-size: 15px;
  color: #111827;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.sol-testimonials__highlight {
  font-size: 14px;
  text-transform: uppercase;
  color: #111827;
}

.sol-testimonials__sub-highlight {
  font-size: 14px;
  color: #111827;
  margin-top: 18px;
}

.sol-testimonials__text {
  font-size: 13.5px;
  line-height: 1.8;
  color: #4b5563;
}

.sol-testimonials__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #e5e7eb;
  padding-top: 22px;
}

.sol-testimonials__info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.sol-testimonials__index {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.sol-testimonials__meta {
  display: flex;
  flex-direction: column;
}

.sol-testimonials__author {
  font-size: 15px;
  font-weight: 700;
  color: #4738de;
  /* Nom en violet */
}

.sol-testimonials__date {
  font-size: 11px;
  color: #6b7280;
}

.sol-testimonials__nav {
  display: flex;
  gap: 10px;
}

.sol-testimonials__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccff4f;
  /* Vert fluo */
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  color: #111827;
}

.sol-testimonials__arrow:hover {
  background: #b2e63e;
  transform: translateY(-1px);
}

.sol-testimonials__arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1024px) {
  .sol-testimonials__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sol-testimonials__col-title {
    justify-content: center;
  }

  .sol-testimonials__title {
    text-align: center;
    font-size: 32px;
  }

  .sol-testimonials__card {
    padding: 36px 32px;
  }
}

@media (max-width: 640px) {
  .sol-testimonials {
    padding: 60px 20px 70px;
  }

  .sol-testimonials__card {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .sol-testimonials__footer {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .sol-testimonials__nav {
    align-self: flex-end;
  }
}

/* ==========================================================================
   BLOC PRESSE (NOUVEAU)
   ========================================================================== */
.sol-press {
  padding: 60px 20px 80px;
  background: #f9f9f9;
}

.sol-press__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sol-press__title {
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 400;
  text-align: center;
  color: #111827;
  margin: 0 0 50px;
}

.sol-press__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.sol-press__item {
  flex: 0 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-press__item img {
  max-height: 60px;
  /* Taille uniforme des logos */
  width: auto;
  object-fit: contain;
  /* Optionnel: filtre gris si l'image n'est pas déjà noir/blanc, sinon laisser normal */
  /* filter: grayscale(100%); opacity: 0.8; */
}

@media (max-width: 900px) {
  .sol-press__grid {
    justify-content: center;
    gap: 30px 50px;
  }
}

@media (max-width: 640px) {
  .sol-press__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .sol-press__item img {
    max-height: 32px;
  }
}

/* ==========================================================================
   BLOC CONTACT — "On parle ensemble !"
   ========================================================================== */
.sol-contact {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  /* même fond que le reste de la page pour un bloc “posé” */
  background: #F9F9F9;
}

/* Image de fond plein écran */
.sol-contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

.sol-contact__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 0px;
  display: flex;
  align-items: center;
}

/* Carte formulaire flottante */
.sol-contact__card {
  background: #4738de;
  border-radius: 0;
  padding: 52px 48px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
}

.sol-contact__title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 10px;
}

.sol-contact__desc {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 1);
  line-height: 1.6;
  margin: 0 0 28px;
}

/* Labels du formulaire Drupal */
.sol-contact__form .form-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.sol-contact__form .form-item label {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

/* Inputs */
.sol-contact__form input[type="text"],
.sol-contact__form input[type="email"],
.sol-contact__form input[type="tel"],
.sol-contact__form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  outline: none;
  transition: background 0.2s;
}

.sol-contact__form input::placeholder,
.sol-contact__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.sol-contact__form input:focus,
.sol-contact__form textarea:focus {
  background: rgba(255, 255, 255, 0.25);
}

.sol-contact__form textarea {
  resize: vertical;
  min-height: 90px;
}

/* Bouton Envoyez */
.sol-contact__form .form-actions {
  margin: 20px 50px 0 0;
  text-align: right;
}

.sol-contact__submit {
  display: inline-block;
  padding: 11px 34px;
  border: none;
  border-radius: 999px;
  background: #ccff4f;
  color: #111827;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.sol-contact__submit:hover {
  background: #b2e63e;
  transform: translateY(-1px);
}

/* Messages Drupal dans le form */
.sol-contact .messages {
  margin: 16px 0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .sol-contact__inner {
    padding: 48px 32px;
  }

  .sol-contact__card {
    max-width: 440px;
    padding: 40px 34px;
  }
}

@media (max-width: 768px) {
  .sol-contact {
    min-height: auto;
  }

  .sol-contact__inner {
    padding: 40px 20px;
    justify-content: center;
  }

  .sol-contact__card {
    max-width: 100%;
  }

  .sol-contact__form .form-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .sol-contact__title {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .sol-contact__card {
    padding: 32px 22px;
    border-radius: 18px;
  }
}

/* ==========================================================================
   BLOC FAQ — "Une question à propos de Solutis ?"
   ========================================================================== */
.sol-faq {
  padding: 80px 40px 96px;
  background: #F9F9FB;
}

.sol-faq__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.sol-faq__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 60px;
  align-items: flex-start;
}

.sol-faq__col-left {
  padding-top: 10px;
}

.sol-faq__title {
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #111827;
  line-height: 1.4;
  letter-spacing: 0;
  margin: 0 0 28px;
}

.sol-faq__cta {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 999px;
  background: #4738de;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.sol-faq__cta:hover {
  background: #3228b0;
}

.sol-faq__col-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sol-faq__item {
  background: #e4e6ff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.sol-faq__item:hover {
  background: #E4E5FF;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transform: translateY(-1px);
}

.sol-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #111827;
  text-align: left;
}

.sol-faq__chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: #000;
}

.sol-faq__question[aria-expanded="true"] .sol-faq__chevron {
  transform: rotate(180deg);
}

.sol-faq__answer {
  padding: 0 22px 18px;
}

.sol-faq__answer p {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

@media (max-width: 1024px) {
  .sol-faq__layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .sol-faq__col-left {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .sol-faq {
    padding: 60px 20px 72px;
  }

  .sol-faq__title {
    font-size: 24px;
  }

  .sol-faq__question {
    font-size: 13px;
    padding: 14px 16px;
  }
}

/* ==========================================================================
   BLOC ACTUALITÉS
   ========================================================================== */
.sol-news {
  padding: 80px 40px 96px;
  background: #F9F9F9;
}

.sol-news__inner {
  max-width: 1160px;
  margin: 0 auto;
}

.sol-news__title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  color: #111827;
  margin: 0 0 40px;
}

/* ==========================================================================
   SECTION "LE RACHAT DE CRÉDITS, C'EST QUOI ?"
   ========================================================================== */
.rac-what {
  padding: 72px 40px 88px;
  background: #F5F5F5;
}

.rac-what__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.rac-what__content {
  max-width: 560px;
}

.rac-what__title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 24px;
}

.rac-what__title span {
  color: #EC1C24;
}

.rac-what__text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #111827;
  margin: 0 0 14px;
}

.rac-what__charts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-end;
}

.rac-what__chart {
  text-align: center;
}

.rac-what__chart img {
  display: block;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}

.rac-what__chart-label {
  margin-top: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4B5563;
}

@media (max-width: 1024px) {
  .rac-what {
    padding: 56px 24px 72px;
  }

  .rac-what__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rac-what__charts {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .rac-what {
    padding: 48px 16px 64px;
  }

  .rac-what__title {
    font-size: 24px;
  }

  .rac-what__charts {
    justify-content: center;
  }
}

.sol-news__top {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.sol-news__main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  position: relative;
}

.sol-news__main-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.sol-news__main-img {
  width: 100%;
  height: 340px;
  object-fit: none;
  display: block;
}

.sol-news__main-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 22px 22px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.0) 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sol-news__badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ec1c24;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  align-self: flex-start;
}

.sol-news__main-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.3;
}

.sol-news__main-excerpt {
  margin-top: 8px;
  font-size: 13px;
  color: #4b5563;
}

.sol-news__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

.sol-news__tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: #ccff4f;
  color: #4738de;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
}

.sol-news__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.sol-news__card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.sol-news__card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.sol-news__card-body {
  padding: 16px 18px 18px;
}

.sol-news__card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  margin: 10px 0 0;
}

.sol-news__card-title a {
  color: inherit;
  text-decoration: none;
}

.sol-news__card-title a:hover {
  text-decoration: underline;
}

.sol-news__card-excerpt {
  margin-top: 8px;
  font-size: 13px;
  color: #4b5563;
}

.sol-news__more {
  text-align: center;
}

.sol-news__more-btn {
  display: inline-block;
  padding: 11px 32px;
  border-radius: 999px;
  background: #4738de;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.sol-news__more-btn:hover {
  background: #3228b0;
}

@media (max-width: 1024px) {
  .sol-news__top {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .sol-news {
    padding: 64px 20px 80px;
  }

  .sol-news__grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   BLOC PARTENAIRES (slider infini)
   ========================================================================== */
.sol-partners {
  padding: 72px 40px 80px;
  background: #F9F9F9;
}

.sol-partners__inner {
  width: 100%;
  max-width: none;
  margin: 0;
}

.sol-partners__title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  color: #111827;
  margin: 0 0 36px;
}

.sol-partners__marquee {
  position: relative;
  overflow: hidden;
}

.sol-partners__track {
  display: flex;
  align-items: center;
  gap: 48px;
  animation: sol-partners-scroll 28s linear infinite;
}

.sol-partners__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.sol-partners__item img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(15, 23, 42, 0.16));
}

@keyframes sol-partners-scroll {
  0% {
    transform: translateX(0);
  }

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

@media (max-width: 1024px) {
  .sol-partners {
    padding: 56px 24px 72px;
  }

  .sol-partners__track {
    gap: 32px;
    animation-duration: 24s;
  }
}

@media (max-width: 640px) {
  .sol-partners {
    padding: 48px 16px 64px;
  }

  .sol-partners__title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .sol-partners__item img {
    max-height: 40px;
  }
}

/* ==========================================================================
   BLOC PRODUITS
   ========================================================================== */
.sol-products {
  padding: 80px 40px 96px;
  background: #F9F9F9;
}

.sol-products__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.sol-products__title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 400;
  text-align: center;
  color: #111827;
  margin: 0 0 36px;
}

.sol-products__grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---- Carte : 3 colonnes ---- */
.sol-products__card {
  display: grid;
  grid-template-columns: 50px 1fr 420px;
  /* Colonne média plus large pour l'image + bouton */
  gap: 30px;
  padding: 40px 48px;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid transparent;
  align-items: flex-start;
  /* Alignement haut pour le numéro et contenu */
}

/* TYPE 1 : Fond Violet */
.sol-products__card--primary {
  background: #4738de;
}

/* TYPE 2 : Fond Blanc + Bordure Rouge */
.sol-products__card--outline-blue {
  background: #ffffff;
  border-color: #4738de;
}

/* TYPE 3 : Fond Blanc + Bordure Bleue/Grise */
.sol-products__card--outline-blue {
  background: #ffffff;
  border-color: #e5e7eb;
  /* Bordure discrète ou bleue selon besoin */
}

/* ---- Colonne 1 : index ---- */
.sol-products__col--index {
  padding-top: 4px;
}

.sol-products__index {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  color: rgba(255, 255, 255, 1);
}

.sol-products__card--outline-red .sol-products__index,
.sol-products__card--outline-blue .sol-products__index {
  color: #000;
}

/* ---- Colonne 2 : texte ---- */
.sol-products__col--content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.sol-products__heading {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

/* Couleurs titres */
.sol-products__card--primary .sol-products__heading {
  color: #ccff4f !important;
}

/* Vert fluo */
.sol-products__card--outline-red .sol-products__heading {
  color: #ec1c24 !important;
}

/* Rouge */
.sol-products__card--outline-blue .sol-products__heading {
  color: #4738de !important;
}

/* Bleu */

.sol-products__text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.sol-products__card--outline-red .sol-products__text,
.sol-products__card--outline-blue .sol-products__text {
  color: #4b5563;
}

/* Liste liens */
.sol-products__links {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.sol-products__links li {
  position: relative;
  padding-left: 14px;
  margin-top: 8px;
  line-height: 1.4;
}

.sol-products__links li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  /* Puces vertes sur fond violet */
}

/* Puces sur fond blanc */
.sol-products__card--outline-red .sol-products__links li::before,
.sol-products__card--outline-blue .sol-products__links li::before {
  color: #4738de;
  /* Puces bleues par défaut sur fond blanc */
}

.sol-products__links a {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.2s;
}

.sol-products__links a:hover {
  opacity: 0.8;
}

.sol-products__card--outline-red .sol-products__links a,
.sol-products__card--outline-blue .sol-products__links a {
  color: #1f2937;
}


/* ---- Colonne 3 : Média (Image + Bouton DESSOUS) ---- */
.sol-products__col--media {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Centre le bouton sous l'image */
  gap: 40px;
  /* Espace entre image et bouton */
}

/* Image normale dans le flux */
.sol-products__col--media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 260px;
  /* Limite hauteur */
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Bouton CTA */
.sol-products__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  /* Pill */
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  transition: transform 0.2s, box-shadow 0.2s;
  width: 100%;
  /* Bouton prend toute la largeur ou auto ? Maquette: semble large mais pas full */
  max-width: 320px;
  /* Limite largeur bouton */
}

.sol-products__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Couleurs CTA */
.sol-products__cta--green {
  background: #ccff4f;
  /* Vert fluo */
  color: var(--gin-color-primary);
  /* Texte foncé */
}

.sol-products__cta--red {
  background: #ec1c24;
  /* Rouge */
  color: #ffffff;
  /* Texte blanc */
}


/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .sol-products__card {
    grid-template-columns: 40px 1fr 340px;
    /* Réduit colonne image */
    padding: 36px 32px;
    gap: 24px;
  }
}

@media (max-width: 900px) {

  /* Passage en mode vertical tablette/mobile */
  .sol-products__card {
    display: flex;
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
  }

  .sol-products__col--index {
    width: 100%;
    margin-bottom: -10px;
    /* Remonte un peu */
  }

  .sol-products__col--content {
    width: 100%;
  }

  .sol-products__col--media {
    width: 100%;
    margin-top: 10px;
    align-items: stretch;
    /* Bouton pleine largeur mobile */
  }

  .sol-products__col--media img {
    max-height: 220px;
    width: 100%;
  }

  .sol-products__cta {
    max-width: none;
    /* Pleine largeur sur mobile */
  }
}

@media (max-width: 640px) {
  .sol-products {
    padding: 48px 16px 64px;
  }

  .sol-products__card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .sol-products__heading {
    font-size: 20px;
  }

  .sol-products__text {
    font-size: 13.5px;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- Tablette large (≤ 1280px) --- */
@media (max-width: 1280px) {
  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .hero__title {
    font-size: 42px;
  }

  .hero__gallery {
    height: 400px;
  }

  .sol-navbar--light {
    padding: 0 20px;
  }

  .sol-navbar--light .sol-navbar__links a {
    padding: 8px 14px;
    font-size: 0.78rem;
  }
}

/* --- Tablette (≤ 1024px) --- */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 32px 160px;
  }

  .hero__left {
    padding-top: 0;
  }

  .hero__title {
    font-size: 38px;
  }

  .hero__desc {
    max-width: 600px;
  }

  .hero__gallery {
    height: 360px;
  }

  .sol-navbar--light .sol-navbar__links {
    gap: 5px;
    flex-wrap: wrap;
  }

  .sol-navbar--light .sol-navbar__links a {
    padding: 7px 12px;
    font-size: 0.74rem;
  }

  .sol-topbar__inner {
    padding: 0 24px;
  }
}

/* --- Tablette portrait (≤ 900px) : menu burger --- */
@media (max-width: 900px) {
  .sol-navbar__burger {
    display: flex;
  }

  .sol-navbar--light .sol-navbar__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--blue-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    flex-wrap: nowrap;
  }

  .sol-navbar--light.is-open .sol-navbar__links {
    display: flex;
  }

  .sol-navbar--light .sol-navbar__links li {
    width: 100%;
  }

  .sol-navbar--light .sol-navbar__links a {
    width: 100%;
    justify-content: flex-start;
  }

  .sol-topbar__trustpilot {
    display: none;
  }

  .sol-topbar__inner {
    padding: 0 20px;
    gap: 12px;
  }

  .hero__inner {
    padding: 32px 24px 120px;
  }

  .hero__title {
    font-size: 34px;
  }

  .hero__gallery {
    height: 320px;
  }
}

/* --- Mobile (≤ 640px) --- */
@media (max-width: 640px) {

  /* On masque la vague en mobile pour plus de lisibilité */
  .hero__bg {
    display: none;
  }

  .sol-topbar__cta {
    display: none;
  }

  .sol-topbar__inner {
    gap: 8px;
  }

  .hero__inner {
    padding: 24px 16px 80px;
  }

  .hero__title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .hero__desc {
    font-size: 0.88rem;
  }

  .hero__gallery {
    height: 260px;
    gap: 8px;
  }

  .hero__photo-label {
    padding: 6px 10px;
    bottom: 8px;
    left: 6px;
    right: 6px;
  }

  .hero__photo-label-text {
    font-size: 11px;
  }

  .hero__services {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__service-text {
    font-size: 14px;
  }

  .sol-navbar--light {
    height: 60px;
  }

  .sol-navbar__logo-img {
    height: 34px;
  }

  .sol-navbar--light .sol-navbar__links {
    top: 60px;
  }
}


/* === Styles RAC spécifiques (solutis_drupal/global.css) === */
/*
 * Styles globaux pour le thème Solutis Drupal.
 * Section ""Pourquoi faire confiance à Solutis ?"" (page RAC).
 */

.rac-why {
  padding: 72px 0 88px;
  background-color: #6B7280;
}

.rac-why__container {
  max-width: 1160px;
  margin: 0 auto;
}

/* Fil d'Ariane */
.rac-breadcrumb {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: #6B7280;
}

.rac-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.rac-breadcrumb__item a {
  color: #6B7280;
  text-decoration: none;
}

.rac-breadcrumb__item a:hover {
  text-decoration: underline;
}

.rac-breadcrumb__item--current {
  color: #111827;
  font-weight: 500;
}

.rac-breadcrumb__separator {
  color: #9CA3AF;
}

/* Titre principal */
.rac-why__header {
  text-align: center;
  margin-bottom: 40px;
}

.rac-why__title {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #111827;
  margin: 0;
}

.rac-why__title span {
  color: #EC1C24;
}

/* Cartes */
.rac-why__grid {
  row-gap: 24px;
}

.rac-why__card {
  margin-bottom: 0;
}

.rac-why__card-inner {
  background-color: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #E5E7EB;
  padding: 32px 26px 28px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .rac-why__card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.rac-why__icon img {
  width: 72px;
  height: auto;
  display: block;
}

.rac-why__card-title {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #EC1C24;
  margin: 0;
}

.rac-why__card-text {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  color: #4B5563;
  margin: 0;
}

@media (max-width: 991px) {
  .rac-why {
    padding: 56px 0 72px;
  }

  .rac-why__container {
    padding: 0 24px;
  }

  .rac-why__title {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .rac-why__container {
    padding: 0 16px;
  }

  .rac-why__title {
    font-size: 24px;
  }
}

/* ==========================================================================
 * SECTION "LE RACHAT DE CRÉDITS, C'EST QUOI ?"
 * ========================================================================== */
.rac-what {
  padding: 72px 40px 88px;
  background: #F5F5F5;
}

.rac-what__inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.rac-what__content {
  max-width: 560px;
}

.rac-what__title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 24px;
}

.rac-what__title span {
  color: #9C0418 ;
}

.rac-what__text {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #111827;
  margin: 0 0 14px;
}

.rac-what__charts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: flex-end;
}

.rac-what__chart {
  text-align: center;
}

.rac-what__chart img {
  display: block;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}

.rac-what__chart-label {
  margin-top: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4B5563;
}

@media (max-width: 1024px) {
  .rac-what {
    padding: 56px 24px 72px;
  }

  .rac-what__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .rac-what__charts {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .rac-what {
    padding: 48px 16px 64px;
  }

  .rac-what__title {
    font-size: 24px;
  }

  .rac-what__charts {
    justify-content: center;
  }
}

/* ==========================================================================
   CTA BANNER (Bandeau bleu avec bouton rouge)
   ========================================================================== */
.sol-cta-banner {
  padding: 40px 20px;
  background: transparent;
}

.sol-cta-banner__inner {
  max-width: 1160px;
  margin: 0 auto;
  background: #4738DE;
  border-radius: 32px;
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  box-shadow: 0 20px 40px rgba(71, 56, 222, 0.2);
}

.sol-cta-banner__title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 500;
  margin: 0;
  color: #ffffff;
}

.sol-cta-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.sol-cta-banner__button {
  display: inline-block;
  background: #EC1C24;
  color: #ffffff;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sol-cta-banner__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.sol-cta-banner__footnote {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

@media (max-width: 768px) {
  .sol-cta-banner__inner {
    padding: 48px 24px;
    border-radius: 24px;
  }

  .sol-cta-banner__title {
    font-size: 24px;
  }
}