:root {
  --cl-orange: #ff9857;
  --cl-gray: #d8d8d4;
  --cl-dark: #2d2d2d;
}

/* Page Conseils et ressources */
.resources-hero h1 {
  font-size: clamp(3.4rem, 5vw, 5.8rem);
  line-height: .9;
}

.resources-intro {
  max-width: 710px;
  margin: 0;
  color: #545451;
  font-size: 19px;
  line-height: 1.7;
}

.resources-section {
  padding-bottom: 110px;
}

.resources-heading {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 45px;
}

.resources-heading h2 {
  font-size: clamp(3rem, 5vw, 5.5rem);
  line-height: .9;
}

.resource-featured {
  position: relative;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(310px, 38%);
  min-height: 390px;
  margin-bottom: 28px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--cl-dark);
  color: #fff;
}

.resource-featured-number {
  padding: 50px 0 0 50px;
  color: var(--cl-orange);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .18em;
}

.resource-featured-content {
  align-self: center;
  max-width: 720px;
  padding: 55px 30px;
}

.resource-category {
  display: block;
  margin-bottom: 22px;
  color: var(--cl-orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.resource-featured h3 {
  max-width: 760px;
  margin-bottom: 22px;
  color: #fff;
  font-size: clamp(2.45rem, 4vw, 4.5rem);
  line-height: .98;
  letter-spacing: -2px;
}

.resource-featured p {
  max-width: 660px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .72);
  font-size: 18px;
  line-height: 1.6;
}

.resource-featured-visual {
  height: 100%;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
}

.resource-featured-visual img,
.resource-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.resource-featured-visual img {
  object-position: center;
}

.resource-status {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-size: 15px;
  font-weight: 600;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(45, 45, 45, .24);
  border-left: 1px solid rgba(45, 45, 45, .24);
}

.resource-card {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 0 48px 45px;
  border-right: 1px solid rgba(45, 45, 45, .24);
  border-bottom: 1px solid rgba(45, 45, 45, .24);
  transition: background-color .3s ease, transform .3s ease;
}

.resource-card-visual {
  height: 240px;
  margin: 0 -48px 38px;
  overflow: hidden;
  background: var(--cl-gray);
}

.resource-card-visual img {
  transition: transform .55s ease;
}

.resource-card:hover .resource-card-visual img {
  transform: scale(1.035);
}

.resource-card:hover {
  background: rgba(255, 255, 255, .42);
}

.resource-number {
  margin-bottom: 36px;
  color: var(--cl-orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
}

.resource-card h3 {
  margin-bottom: 20px;
  color: var(--cl-dark);
  font-size: clamp(1.85rem, 2.5vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -1.2px;
}

.resource-card p {
  margin-bottom: 28px;
  font-size: 17px;
  line-height: 1.55;
}

.resource-card .resource-status {
  width: max-content;
  margin-top: auto;
  color: var(--cl-dark);
}

.resources-cta {
  padding: 90px 0;
  background: rgba(255, 255, 255, .44);
}

.resources-cta h2 {
  max-width: 820px;
  margin-top: 18px;
  font-size: clamp(2.6rem, 4vw, 4.8rem);
  line-height: 1;
}

@media (max-width: 991px) {
  .resources-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .resource-featured {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .resource-featured-number {
    padding-left: 30px;
  }

  .resource-featured-visual {
    grid-column: 1 / -1;
    height: 300px;
    min-height: 0;
  }

  .resources-cta {
    padding: 70px 0;
  }
}

@media (max-width: 767px) {
  .resources-hero h1 {
    font-size: 3.35rem;
  }

  .resources-section {
    padding-bottom: 70px;
  }

  .resource-featured {
    display: block;
    min-height: 0;
  }

  .resource-featured-number {
    padding: 32px 28px 0;
  }

  .resource-featured-content {
    padding: 28px 28px 38px;
  }

  .resource-featured-visual {
    height: 240px;
    min-height: 0;
  }

  .resource-featured h3 {
    font-size: 2.7rem;
    letter-spacing: -1px;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 0;
    padding: 0 28px 34px;
  }

  .resource-card-visual {
    height: 210px;
    margin: 0 -28px 30px;
  }

  .resource-number {
    margin-bottom: 25px;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  color: #545451;
}

.context-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 28px;
}

.context-links a,
.text-link-context {
  color: var(--cl-dark);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--cl-orange);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color .25s ease;
}

.context-links a:hover,
.text-link-context:hover,
.contextual-title:hover {
  color: var(--cl-orange);
}

.context-links span {
  color: var(--cl-orange);
}

.related-pages-section h2 {
  margin-top: 16px;
}

.brand-mark {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--cl-dark);
  white-space: nowrap;
}

.brand-mark strong {
  font-family: var(--alt-font);
  font-size: 27px;
  line-height: 1;
  letter-spacing: .5px;
}

.brand-mark small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.navbar .navbar-nav .nav-link.active {
  color: var(--base-color);
}

@media (min-width: 992px) and (max-width: 1300px) {
  .navbar .navbar-nav .nav-link {
    padding-right: 13px;
    padding-left: 13px;
    font-size: 14px;
  }
}

.hero-feather {
  position: absolute;
  z-index: 3;
  display: block;
  pointer-events: none;
  user-select: none;
  max-width: none;
  filter: drop-shadow(0 12px 18px rgba(45, 45, 45, .08));
  will-change: transform;
}

.hero-home {
  isolation: isolate;
}

.hero-home .container {
  z-index: 2;
}

.hero-stage {
  z-index: 6;
  opacity: 1;
}

.hero-title {
  z-index: 8;
  opacity: 1;
  color: var(--cl-dark);
  visibility: visible;
}

.hero-title-solid {
  color: var(--cl-dark);
  -webkit-text-fill-color: var(--cl-dark);
}

.hero-hatch {
  display: inline-block;
  background-image: linear-gradient(135deg, transparent 45%, #fff 45%, #fff 55%, transparent 0);
  background-size: 4px 4px;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-hatch-dark {
  background-color: var(--cl-dark);
}

.hero-hatch-orange {
  background-color: var(--cl-orange);
}

.hero-feather-white {
  z-index: 7;
  width: 175px;
  top: -85px;
  left: 47%;
  filter: drop-shadow(0 10px 18px rgba(45, 45, 45, .14)) drop-shadow(0 0 12px rgba(255, 255, 255, .9));
  animation: feather-white-float 6.5s ease-in-out infinite alternate;
}

.hero-feather-black {
  width: 340px;
  top: 44%;
  left: -105px;
  animation: feather-black-float 7.5s ease-in-out -2s infinite alternate;
}

.hero-feather-orange {
  width: 500px;
  top: -140px;
  right: -150px;
  animation: feather-orange-float 8.5s ease-in-out -4s infinite alternate;
}

.hero-bubbles {
  position: absolute;
  z-index: 5;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bubbles span {
  position: absolute;
  left: var(--bubble-x);
  top: var(--bubble-y);
  width: var(--bubble-size);
  height: var(--bubble-size);
  border-radius: 50%;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 0 22px rgba(255, 255, 255, .85);
  animation: bubble-drift var(--bubble-time) ease-in-out var(--bubble-delay) infinite alternate;
}

@keyframes feather-white-float {
  from { transform: translate3d(-10px, 0, 0) rotate(-18deg); }
  to { transform: translate3d(16px, 25px, 0) rotate(-5deg); }
}

@keyframes feather-black-float {
  from { transform: translate3d(0, 0, 0) rotate(-18deg); }
  to { transform: translate3d(28px, -22px, 0) rotate(-10deg); }
}

@keyframes feather-orange-float {
  from { transform: translate3d(0, 0, 0) rotate(8deg); }
  to { transform: translate3d(-35px, 28px, 0) rotate(15deg); }
}

@keyframes bubble-drift {
  0% { opacity: .35; transform: translate3d(-12px, 18px, 0) scale(.75); }
  45% { opacity: 1; }
  100% { opacity: .55; transform: translate3d(42px, -65px, 0) scale(1.15); }
}

.hero-title {
  font-size: clamp(5.6rem, 13vw, 12.5rem);
  line-height: .8;
}

.hero-copy {
  font-size: 18px;
  line-height: 1.75;
}

.section-kicker {
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.project-menu {
  min-height: auto;
}

.project-menu .menu-item {
  margin-bottom: 22px;
}

.project-menu .menu-item-text {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font-size: clamp(2.6rem, 5.25vw, 5.25rem);
  line-height: .92;
  cursor: pointer;
}

.project-menu .hover-reveal,
.project-menu .hover-reveal__inner,
.project-menu .hover-reveal__img {
  background: var(--cl-dark);
}

.project-menu .hover-reveal__img {
  position: relative;
  overflow: hidden;
}

.project-menu .hover-reveal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transform: scale(1.08);
  filter: saturate(.88) contrast(1.04);
  transition: opacity .55s ease, filter .55s ease;
  will-change: transform, object-position, opacity;
}

.project-menu .menu-item:hover .hover-reveal__img img {
  animation: project-homepage-pan 5.5s ease-in-out infinite alternate;
  opacity: .7;
  filter: saturate(.82) contrast(1.06) brightness(.76);
  transition-delay: 1.15s;
}

.project-hover-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px;
  color: #fff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .35s ease, transform .35s ease;
}

.project-menu .menu-item:hover .project-hover-copy {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.35s;
}

.project-hover-copy strong {
  margin-bottom: 12px;
  font-family: var(--alt-font);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.project-hover-copy p {
  margin: 0 0 18px;
  color: #fff;
  font-size: 15px;
  line-height: 1.45;
}

.project-hover-copy span {
  color: var(--base-color);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

@keyframes project-homepage-pan {
  from { transform: scale(1.08) translateY(0); }
  to { transform: scale(1.14) translateY(-4%); }
}

.service-card {
  min-height: 315px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(255, 120, 55, .55);
  border-radius: 50%;
  color: var(--base-color, #ff9857);
  font-size: 34px;
  line-height: 1;
}

.service-icon svg {
  display: block;
  flex: 0 0 auto;
  transition: transform .35s ease;
}

.service-card:hover .service-icon svg {
  transform: scale(1.12) rotate(-4deg);
}

.client-trust-section .client-logo {
  min-height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-trust-section .client-logo img {
  width: 100%;
  max-width: 220px !important;
  height: 82px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .35s ease, opacity .35s ease, transform .35s ease;
}

.client-trust-section .client-logo:hover {
  opacity: 1 !important;
}

.client-trust-section .client-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.04);
}

.value-rule {
  border-top: 1px solid rgba(45, 45, 45, .38);
}

.contact-link {
  color: var(--cl-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.contact-link:hover {
  color: var(--base-color);
}

.cl-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--cl-dark);
  font-weight: 700;
}

.cl-form input,
.cl-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(45, 45, 45, .5);
  border-radius: 0;
  background: transparent;
  color: var(--cl-dark);
  font-size: 17px;
  padding: 12px 0;
}

.cl-form textarea {
  min-height: 150px;
  resize: vertical;
}

.cl-form input:focus,
.cl-form textarea:focus {
  outline: 2px solid var(--base-color);
  outline-offset: 4px;
}

.cl-dialog {
  width: min(680px, calc(100% - 32px));
  border: 0;
  padding: 0;
  background: var(--cl-gray);
  color: var(--cl-dark);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .25);
}

.cl-dialog::backdrop {
  background: rgba(35, 35, 35, .68);
  backdrop-filter: blur(4px);
}

.dialog-inner {
  padding: clamp(28px, 6vw, 58px);
  position: relative;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--cl-dark);
  border-radius: 50%;
  background: transparent;
  color: var(--cl-dark);
  font-size: 22px;
  cursor: pointer;
}

.cookie-panel {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 10020;
  width: min(470px, calc(100% - 44px));
  padding: 24px;
  background: #f3f3f3;
  color: #464646;
  box-shadow: 0 16px 55px rgba(0, 0, 0, .2);
}

.cookie-panel[hidden],
.cookie-manage[hidden] {
  display: none !important;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.cookie-actions button {
  border: 1px solid #464646;
  background: transparent;
  color: #464646;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-actions .cookie-accept {
  border-color: var(--base-color);
  background: var(--base-color);
  color: var(--cl-dark);
}

.cookie-manage {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 10010;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--cl-dark);
  color: var(--cl-gray);
  font-size: 21px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.cookie-choice {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(70, 70, 70, .24);
}

.cookie-choice h3 {
  margin: 0 0 4px;
  font-family: var(--primary-font);
  font-size: 17px;
  line-height: 1.35;
}

.cookie-choice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.cookie-choice input {
  width: 22px;
  height: 22px;
  accent-color: var(--base-color);
}

.privacy-copy h2 {
  margin-top: 45px;
  color: var(--cl-dark);
}

@media (max-width: 991px) {
  .navbar .navbar-brand {
    padding: 22px 0;
  }

  .hero-title {
    font-size: clamp(4.7rem, 18vw, 8rem);
    line-height: .86;
  }

  .hero-feather-white {
    width: 105px;
    top: -80px;
  }

  .hero-feather-black {
    width: 230px;
    left: -115px;
  }

  .hero-feather-orange {
    width: 335px;
    top: -100px;
    right: -150px;
  }

  .project-menu .menu-item {
    width: 100%;
    padding-right: 0 !important;
  }

  .project-menu .menu-item-text {
    font-size: clamp(2.25rem, 7.5vw, 4.2rem);
  }
}

@media (max-width: 575px) {
  .brand-mark small {
    display: none;
  }

  .hero-feather-white {
    width: 75px;
    top: -55px;
    left: 44%;
  }

  .hero-feather-black {
    width: 175px;
    top: 56%;
    left: -95px;
  }

  .hero-feather-orange {
    width: 235px;
    top: -65px;
    right: -125px;
  }

  .hero-bubbles span:nth-child(even) {
    display: none;
  }

  .cookie-panel {
    left: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}
