:root {
  --couleur-text: #60757c;
  --couleur-titre: #393536;
  --couleur-element: #60757c;
  --couleur-element-back: #f2f4f5;
  --couleur-base-text: #24363d;
  --couleur-lien: #5d7a98;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

#block-databfc-cms-page-title {
  display: none !important;
}

.layout__region {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  padding-left: 12px;
  padding-right: 12px;
}

.layout__region > * {
  flex: 1;
  display: flex;
}

.layout__region:first-child {
  padding-left: 0;
}

.layout__region:last-child {
  padding-right: 0px;
}

.block-ideo {
  box-sizing: border-box;
  width: 100%;
  background: white;
  border: 1px solid rgba(57,53,54,0.08);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(23,49,58,0.05);
  overflow: hidden;
  padding: 22px;
  margin-bottom: 50px;
}

.block-recherche-ideo {
  box-sizing: border-box;
  width: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(248,251,252,0.96));
  border: 1px solid rgba(47,128,195,0.10);
  box-shadow: 0 10px 24px rgba(23,49,58,0.05);
  border-radius: 22px;
  padding: 42px 42px 34px;
  position: relative;
  overflow: hidden;
  margin-bottom: 50px;
}

.block-ideo h3 {
  margin: 0;
  font-size: 22px !important;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--couleur-titre);
}

.block-ideo p {
  margin: 10px 0 0;
  color: var(--couleur-text);
  line-height: 1.6;
  font-size: 15px;
}

.block-recherche-ideo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(51,181,199,0.10), transparent 24%), radial-gradient(circle at 90% 12%, rgba(183,207,57,0.14), transparent 18%), radial-gradient(circle at 75% 75%, rgba(242,155,47,0.12), transparent 20%);
  pointer-events: none;
}

.block-recherche-ideo h3 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px) !important;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--couleur-titre);
  max-width: 980px;
}

.block-recherche-ideo p {
  margin: 18px 0 0;
  max-width: 860px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--couleur-text);
}

.texte-ideo-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 18px;
  width: 100%;
}

.texte-ideo-header h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--couleur-titre); 
}

.texte-ideo-header p {
  margin: 8px 0 0;
  color: var(--couleur-text);
  max-width: 760px;
  line-height: 1.6;
}

.texte-ideo-lien {
  color: var(--couleur-lien);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
}

.texte-ideo-lien:hover {
  opacity: 0.8;
  text-decoration: none;
}

.lien-block {
  color: var(--couleur-lien) !important;
  font-weight: 800;
  text-decoration: none;
}

.lien-block:hover {
  opacity: 0.8;
  text-decoration: none;
}


.capsule {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
  text-decoration: none;
}

.capsule:hover {
  opacity: 0.8;
  text-decoration: none;
}

.liste-element {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
}

.liste-element a {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--couleur-element) !important;
  background: var(--couleur-element-back);
  text-decoration: none;
}

.liste-element a:hover {
  opacity: 0.8;
  text-decoration: none;
}

.swiper-header-block {
  height: 200px;
  border-bottom: 1px solid rgba(57,53,54,0.06);
  position: relative;
  overflow: hidden;
}

.portail-titre {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.portail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 14px 24px rgba(238,34,56,.18);
  background: linear-gradient(135deg,#f03b4d,#ee2238);
  flex: 0 0 auto;
  align-self: center;
  text-decoration: none;
}

.portail-button .plus {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  display: inline-grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
  text-decoration: none;
}

.portail-button:hover{
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
}

.stats-div-portail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
  margin-top: 24px;
}

.stat-portail {
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(57,53,54,.08);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 24px rgba(23,49,58,.05);
}

.stat-portail-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.04em;
  color: #393536;
}

.stat-portail-label {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: #60757c;
  line-height: 1.45;
}

.width-100 {
  width: 100%;
}

.swiper-header-body {
  padding: 22px;
}

.no-padding {
  padding: 0;
}

.label-observatoire {
  margin-top: 16px;
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--couleur-base-text);
}

#select-observatoire {
  width: 100%;
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(57,53,54,0.12);
  padding: 0 16px;
  font-size: 15px;
  color: var(--couleur-base-text);
  background: #fff;
}

.theme-block {
  scroll-snap-align: start;
  min-width: calc((100% - 42px) / 3);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(57,53,54,0.08);
  font-size: 15px;
  font-weight: 700;
  color: var(--couleur-text) !important;
  min-height: 86px;
  text-decoration: none;
  font-weight: 700;
  min-width: calc((100% - 42px) / 3);
}

.theme-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 22px;
  flex: 0 0 48px;
  background: #edf9fb;
}

.theme-img {
  max-width: 48px;
  max-height: 48px;
}

.recherche-wrap .search-popover__input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 16px 18px;
  font-size: 16px;
  color: var(--couleur-text);
}

.recherche-wrap .search-popover__submit {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 16px 22px;
  background: linear-gradient(135deg, #d91f34, #ee2238);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 14px 24px rgba(238,34,56,0.22);
}

.recherche-wrap {
  margin: 30px 0 0;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(47,128,195,0.14);
  box-shadow: 0 14px 30px rgba(47,128,195,0.10);
  display: flex;
  align-items: center;
  gap: 10px;
}

/*Swipper*/

.swiper-button-prev::after {
  content: '◀';
}

.swiper-button-next::after {
  content: '▶';
}

.swiper-button-next,
.swiper-button-prev {
  border: none;
  background: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  cursor: pointer;
  position: relative;
  z-index: 3;
  flex: 0 0 44px;
  color: var(--couleur-base-text) !important;
}

.swiper-navigation-icon {
  display: none;
}

.block-obs-ideo-org div div.swiper {
  height: auto !important;
}

.swiper {
  position: relative;
  height: 100%;
}

.swiper-theme {
  position: relative;
  width: 100%;
  width: 100%;
  padding-right: 6%;
  padding-left: 6%;
  overflow: hidden;
  margin-top: 30px;
  margin-bottom: 30px;
}

.swiper-theme::before,
.swiper-theme::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px; /* largeur du masque */
  height: 100%;
  z-index: 2;
  cursor: default;
}

/* gauche */
.swiper-theme::before {
  left: 0;
  background: linear-gradient(to right, #f5f7f8, transparent);
}

/* droite */
.swiper-theme::after {
  right: 0;
  background: linear-gradient(to left, #f5f7f8, transparent);
}

.swiper-pagination {
  position: absolute;
  bottom: 0; /* ou 10px pour un petit margin */
  left: 0;
  width: 100%;
  text-align: center;
}