/* CABS — direction éditoriale : Comprendre / Analyser / Bâtir / Suivre.
   Couche isolée et réversible. */

/* Le hero ne porte plus de second slogan : la colonne droite accueille seulement
   quelques mouettes discrètes qui ancrent le site dans la Baie. */
.cabs-hero__inner {
  grid-template-columns: minmax(0, .98fr) minmax(19rem, .72fr);
}

.cabs-hero__copy {
  position: relative;
  z-index: 3;
}

.cabs-hero__maritime {
  position: relative;
  z-index: 1;
  align-self: stretch;
  justify-self: stretch;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 14rem;
  padding: 0 1.1rem 2.4rem 0;
  color: #356b79;
  pointer-events: none;
}

.cabs-hero__maritime svg {
  display: block;
  width: min(100%, 23rem);
  height: auto;
  overflow: visible;
}

.cabs-hero__gull {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .32;
}

/* Les quatre accès rapides deviennent quatre verbes éditoriaux. */
.cabs-value strong {
  color: #1c4758;
  font-size: .98rem;
  letter-spacing: -.012em;
}

.cabs-value > span:last-child > span {
  color: #72868b;
  font-size: .78rem;
  line-height: 1.25;
}

.cabs-value__icon {
  background: #edf5f5;
  color: #3f7a82;
}

.cabs-value:nth-child(2) .cabs-value__icon {
  background: #edf5f6;
  color: #366f82;
}

.cabs-value:nth-child(3) .cabs-value__icon {
  background: #f3f4ef;
  color: #687b64;
}

.cabs-value:nth-child(4) .cabs-value__icon {
  background: #eef2f4;
  color: #58717b;
}

.cabs-value--understand:hover,
.cabs-value--understand:focus-visible {
  background: color-mix(in srgb, var(--cabs-territoires) 6%, white);
}

.cabs-value--analyse:hover,
.cabs-value--analyse:focus-visible {
  background: color-mix(in srgb, var(--cabs-publique) 6%, white);
}

.cabs-value--build:hover,
.cabs-value--build:focus-visible {
  background: color-mix(in srgb, var(--cabs-societe) 6%, white);
}

.cabs-value--follow:hover,
.cabs-value--follow:focus-visible {
  background: color-mix(in srgb, var(--cabs-chroniques) 6%, white);
}

@media (max-width: 1050px) {
  .cabs-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, .6fr);
  }

  .cabs-hero__maritime {
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .cabs-hero__inner {
    display: block;
    min-height: 0;
    padding-bottom: 5.7rem;
  }

  .cabs-hero__copy {
    max-width: 37rem;
  }

  .cabs-hero__maritime {
    position: absolute;
    right: .9rem;
    bottom: .7rem;
    width: 12rem;
    min-height: 0;
    padding: 0;
    opacity: .82;
  }
}
