/**
 * Homepage — PELYCAN
 * Élégant, lumineux, épuré
 */

body.pelycan-home-page #main-content,
body.home.pelycan-home-page #main-content {
  padding-top: 0;
}

.pelycan-home-page .section.page-content {
  padding: 0;
}

.pelycan-home {
  width: 100%;
  overflow-x: visible;
}

body.pelycan-home-page .section.page-content {
  overflow-x: visible;
}

/* ==========================================================================
   Section 1 — Hero splash (maquette image.png)
   ========================================================================== */
.home-hero--splash {
  position: relative;
  min-height: max(640px, calc(100vh - var(--header-height)));
  min-height: max(640px, calc(100dvh - var(--header-height)));
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-xs)) 0 var(--space-xl);
  background:
    radial-gradient(ellipse 80% 60% at 12% 18%, rgba(252, 180, 4, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 88% 78%, rgba(70, 190, 190, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, #fff8e1 0%, #ffffff 42%, #f3f9f8 100%);
  overflow: visible;
  width: 100%;
}

/* Entrée hero — séquence élégante */
.home-hero--splash .home-hero__logo,
.home-hero--splash .home-hero__title,
.home-hero--splash .home-hero__slogan,
.home-hero--splash .home-hero__mission,
.home-hero--splash .home-hero__left .btn,
.home-hero--splash .home-hero__ball,
.home-hero--splash .home-hero__discover {
  opacity: 0;
}

.home-hero--splash .home-hero__logo {
  animation: homeHeroLogoIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.home-hero--splash .home-hero__title {
  animation: homeHeroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.home-hero--splash .home-hero__slogan {
  animation: homeHeroFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.46s forwards;
}

.home-hero--splash .home-hero__mission {
  animation: homeHeroFadeLeft 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

.home-hero--splash .home-hero__left .btn {
  animation: homeHeroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.58s forwards;
}

.home-hero--splash .home-hero__ball {
  animation:
    homeHeroBallIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards,
    homeHeroBallFloat 6s ease-in-out 1.7s infinite;
}

.home-hero--splash .home-hero__discover {
  animation: homeHeroDiscoverIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
}

@keyframes homeHeroLogoIn {
  from { opacity: 0; transform: scale(0.86) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes homeHeroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes homeHeroFadeLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes homeHeroBallIn {
  from { opacity: 0; transform: translateY(-50%) translateX(72px) scale(0.9); }
  to { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}

@keyframes homeHeroBallFloat {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(calc(-50% - 10px)) translateX(0); }
}

@keyframes homeHeroDiscoverIn {
  from { opacity: 0; transform: translateY(-50%) translateX(-20px); }
  to { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero--splash .home-hero__logo,
  .home-hero--splash .home-hero__title,
  .home-hero--splash .home-hero__slogan,
  .home-hero--splash .home-hero__mission,
  .home-hero--splash .home-hero__left .btn,
  .home-hero--splash .home-hero__ball,
  .home-hero--splash .home-hero__discover {
    animation: none !important;
    opacity: 1 !important;
  }

  .home-hero__ball {
    transform: translateY(-50%) !important;
  }

  .home-hero__discover {
    transform: translateY(-50%) !important;
  }

  @media (max-width: 768px) {
    .home-hero__ball,
    .home-hero__discover {
      transform: none !important;
    }
  }
}

.home-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(240px, 380px) minmax(260px, 480px);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.home-hero__left {
  text-align: left;
  max-width: 36ch;
}

.home-hero__mission {
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  line-height: 1.75;
  color: #6B2D3C;
  margin: 0 0 var(--space-md);
}

.home-hero__center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}

.home-hero__logo {
  width: clamp(112px, 14vw, 156px);
  height: auto;
  margin: 0 auto var(--space-sm);
}

.home-hero--splash .home-hero__title {
  font-family: var(--font-sans);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 var(--space-sm);
  color: #6B2D3C;
  text-transform: uppercase;
}

.home-hero__slogan {
  font-family: var(--font-script, 'Dancing Script', cursive);
  font-size: clamp(1.375rem, 2.8vw, 2rem);
  font-weight: 500;
  line-height: 1.3;
  color: #6B2D3C;
  margin: 0;
}

.home-hero__right {
  position: relative;
  min-height: clamp(260px, 36vw, 480px);
  align-self: center;
  justify-self: end;
  width: 100%;
  max-width: 520px;
  overflow: visible;
}

.home-hero__ball {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(100%, 440px);
  pointer-events: none;
  z-index: 1;
  line-height: 0;
}

.home-hero__ball img {
  width: 100%;
  height: auto;
  display: block;
}

.home-hero__discover {
  position: absolute;
  left: clamp(-1.5rem, -4vw, -0.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  white-space: nowrap;
  background: var(--color-white);
  color: var(--color-gray-800);
  border: none;
  box-shadow: 0 6px 24px rgba(30, 50, 70, 0.12);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.home-hero__discover:hover {
  background: var(--color-white);
  color: var(--color-blue-deep);
  box-shadow: 0 8px 28px rgba(30, 50, 70, 0.16);
  transform: translateY(-50%) scale(1.02);
}

@media (max-width: 1024px) {
  .home-hero__layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "center center"
      "left right";
  }

  .home-hero__center { grid-area: center; }
  .home-hero__left {
    grid-area: left;
    max-width: none;
    padding-right: var(--space-sm);
  }
  .home-hero__right {
    grid-area: right;
    min-height: clamp(220px, 40vw, 320px);
    overflow: visible;
  }

  .home-hero__ball {
    right: 0;
    width: min(100%, 360px);
  }
}

@media (max-width: 768px) {
  .home-hero__layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "center"
      "left"
      "right";
    gap: var(--space-md);
  }

  .home-hero__left {
    text-align: center;
    padding-right: 0;
  }

  .home-hero__left .btn {
    width: 100%;
    max-width: 320px;
  }

  .home-hero__right {
    position: relative;
    min-height: auto;
    max-width: none;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-inline: var(--space-xs);
  }

  .home-hero__ball {
    display: none !important;
  }

  .home-hero__discover {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    white-space: normal;
    text-align: center;
    width: 100%;
    max-width: 320px;
  }

  .home-hero__discover:hover {
    transform: scale(1.02);
  }

  .home-hero--splash .home-hero__discover {
    animation: homeHeroDiscoverInMobileStack 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.95s forwards;
  }

  @keyframes homeHeroDiscoverInMobileStack {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }

  .home-hero--splash {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-sm));
    padding-bottom: var(--space-lg);
  }
}

@media (max-width: 480px) {
  .home-hero--splash .home-hero__title {
    font-size: clamp(1.75rem, 9vw, 2.25rem);
    letter-spacing: 0.05em;
  }

  .home-hero__slogan {
    font-size: clamp(1.125rem, 5vw, 1.5rem);
  }

  .home-hero__mission {
    font-size: 0.9375rem;
  }

  .home-hero__layout {
    gap: var(--space-sm);
  }
}

/* ==========================================================================
   Sections communes
   ========================================================================== */
.home-section {
  padding: clamp(3rem, 6vw, 5rem) var(--space-md);
}

.home-section--white {
  background: var(--color-white);
}

.home-section--gray {
  background: var(--color-gray-50);
}

.home-section--cream {
  background: linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}

.home-section--warm {
  background: linear-gradient(180deg, #fff8e1 0%, #fff3cc 100%);
}

.home-section--mist {
  background: linear-gradient(180deg, #eef2f7 0%, #e6ebf2 100%);
}

.home-section--navy {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.82);
}

.home-section--navy .home-section__title {
  color: var(--color-white);
}

.home-section--navy .home-section__header--center .home-section__title::after {
  background: rgba(255, 255, 255, 0.28);
}

.home-section--expertise {
  border-top: none;
  border-bottom: none;
  box-shadow: none;
}

.home-section--expertise .home-section__inner {
  padding: clamp(0.5rem, 2vw, 1rem) 0;
}

.home-section--navy.home-section--expertise .home-section__title {
  color: var(--color-white);
}

.home-section--navy.home-section--expertise .home-section__header--center .home-section__title::after {
  background: rgba(255, 255, 255, 0.28);
}

.home-section--navy.home-section--expertise .home-expertise__badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.home-section--navy.home-section--expertise .home-expertise__badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--color-primary-light);
  box-shadow: none;
}

.home-section--navy.home-section--expertise .home-expertise__icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-primary-light);
}

.home-section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.home-section__header {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.home-section__header--center {
  text-align: center;
}

.home-section__title {
  font-family: var(--font-sans);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 0;
  color: var(--color-blue-deep);
}

.home-section__header--center .home-section__title::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  margin: var(--space-sm) auto 0;
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Section — Qui sommes-nous
   ========================================================================== */
.home-section--about {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.home-section--navy.home-section--about .home-about__eyebrow {
  color: var(--color-primary-light);
}

.home-section--navy.home-section--about .home-about__title {
  color: var(--color-white);
}

.home-section--navy.home-section--about .home-about__text {
  color: rgba(255, 255, 255, 0.78);
}

.home-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .home-about {
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.home-about__media {
  overflow: hidden;
  box-shadow: none;
  aspect-ratio: auto;
}

.home-about__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.home-about__content {
  max-width: none;
}

@media (min-width: 900px) {
  .home-about__content {
    margin-left: 0;
  }
}

.home-about__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue-deep);
  margin: 0 0 var(--space-sm);
}

.home-about__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.2vw, 2.375rem);
  line-height: 1.2;
  color: var(--color-blue-deep);
  margin: 0 0 var(--space-md);
}

.home-about__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray-600);
  margin: 0;
}

.home-about__text + .home-about__text {
  margin-top: var(--space-md);
}

/* ==========================================================================
   Section — Pôles
   ========================================================================== */
.home-poles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .home-poles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .home-poles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .home-poles {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.875rem;
  }
}

.home-pole {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1rem, 2vw, 1.375rem) clamp(0.875rem, 1.5vw, 1rem);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  min-height: 100%;
  transition: transform var(--transition), box-shadow var(--transition);
}

.home-pole:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.home-pole__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.home-pole__icon svg {
  width: 28px;
  height: 28px;
}

.home-pole__title {
  font-family: var(--font-sans);
  font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 var(--space-sm);
}

.home-pole__desc {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--color-gray-600);
  margin: 0 0 var(--space-md);
  flex: 1;
}

.home-pole__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-white);
  transition: opacity var(--transition), transform var(--transition);
}

.home-pole__btn:hover {
  color: var(--color-white);
  opacity: 0.92;
  transform: translateY(-1px);
}

.home-pole--blue { background: #EEF4FA; }
.home-pole--blue .home-pole__icon { background: #D7E6F2; color: #1A4A6E; }
.home-pole--blue .home-pole__title { color: #1A4A6E; }
.home-pole--blue .home-pole__btn { background: #1A4A6E; }

.home-pole--green { background: #ECFAF8; }
.home-pole--green .home-pole__icon { background: #D4F2EE; color: #2EC4B6; }
.home-pole--green .home-pole__title { color: #1F8F84; }
.home-pole--green .home-pole__btn { background: #2EC4B6; }

.home-pole--yellow { background: #FFF8E8; }
.home-pole--yellow .home-pole__icon { background: #FDECC0; color: #E5A000; }
.home-pole--yellow .home-pole__title { color: #C58A00; }
.home-pole--yellow .home-pole__btn { background: #FCB404; color: var(--color-gray-800); }

.home-pole--orange { background: #FEF2EA; }
.home-pole--orange .home-pole__icon { background: #FAD9C6; color: #FA6E46; }
.home-pole--orange .home-pole__title { color: #D85A36; }
.home-pole--orange .home-pole__btn { background: #FA9654; }

.home-pole--purple { background: #F4F0FA; }
.home-pole--purple .home-pole__icon { background: #E5DBF2; color: #7C6BA8; }
.home-pole--purple .home-pole__title { color: #6B5A94; }
.home-pole--purple .home-pole__btn { background: #7C6BA8; }

.home-pole--brown { background: #F7F2E8; }
.home-pole--brown .home-pole__icon { background: #EBDCC0; color: #8B6914; }
.home-pole--brown .home-pole__title { color: #7A5C12; }
.home-pole--brown .home-pole__btn { background: #8B6914; }

/* ==========================================================================
   Section — Expertise
   ========================================================================== */
.home-expertise {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .home-expertise {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .home-expertise {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .home-expertise {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.home-expertise__badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 52px;
  padding: 0.625rem 0.875rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-blue-deep);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.home-expertise__badge:hover {
  border-color: var(--color-turquoise);
  box-shadow: var(--shadow-sm);
}

.home-expertise__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-turquoise-pale);
  color: var(--color-turquoise);
}

.home-expertise__icon svg {
  width: 16px;
  height: 16px;
}

.home-expertise__label {
  line-height: 1.35;
}

/* ==========================================================================
   Section — Actualités (défilement horizontal pleine largeur)
   ========================================================================== */
.home-section--news {
  padding-inline: 0;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow-x: clip;
}

.home-section__inner--news-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding-inline: var(--space-md);
}

.home-section__inner--news-header .home-section__header {
  margin-bottom: 0;
}

.home-news-carousel {
  --home-news-card-width: clamp(280px, 28vw, 400px);
  --home-news-duration: calc(var(--home-news-count, 3) * 14s);
  position: relative;
  width: 100%;
  max-width: none;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

.home-news-carousel::before,
.home-news-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(1.5rem, 4vw, 3rem);
  z-index: 2;
  pointer-events: none;
}

.home-news-carousel::before {
  left: 0;
  background: linear-gradient(to right, #eef2f7 15%, transparent);
}

.home-news-carousel::after {
  right: 0;
  background: linear-gradient(to left, #e6ebf2 15%, transparent);
}

.home-news__viewport {
  overflow: hidden;
  outline: none;
}

.home-news__viewport:focus-visible {
  box-shadow: 0 0 0 2px var(--color-primary, #fcb404);
  border-radius: var(--radius-lg);
}

.home-news__track {
  display: flex;
  gap: var(--space-md);
  width: max-content;
  will-change: transform;
  animation: home-news-marquee var(--home-news-duration, 42s) linear infinite;
}

.home-news-carousel:hover .home-news__track,
.home-news-carousel:focus-within .home-news__track {
  animation-play-state: paused;
}

@keyframes home-news-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - (var(--space-md) / 2)));
  }
}

.home-news--single {
  display: grid;
  grid-template-columns: minmax(0, 420px);
  justify-content: center;
}

.home-news__card {
  flex: 0 0 var(--home-news-card-width);
  width: var(--home-news-card-width);
  max-width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.home-news__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.home-news__visual {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-gray-100);
}

.home-news__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.home-news__visual--contain {
  background: var(--color-white);
}

.home-news__visual--contain img {
  object-fit: contain;
  padding: var(--space-xs);
  box-sizing: border-box;
}

.home-news__visual-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
  background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-gray-50) 100%);
}

.home-news__card:hover .home-news__visual img {
  transform: scale(1.04);
}

.home-news__body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.home-news__title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.35;
  margin: 0 0 var(--space-xs);
}

.home-news__title a {
  color: var(--color-blue-deep);
}

.home-news__title a:hover {
  color: var(--color-turquoise);
}

.home-news__excerpt {
  font-size: 0.875rem;
  color: var(--color-gray-600);
  line-height: 1.6;
  margin: 0 0 var(--space-sm);
  flex: 1;
}

.home-news__link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-blue);
}

.home-news__link:hover {
  color: var(--color-turquoise);
}

.home-news__empty {
  text-align: center;
  color: var(--color-gray-600);
  margin: 0;
}

@media (max-width: 767px) {
  .home-section__inner--news-header {
    padding-inline: var(--space-sm);
    margin-bottom: var(--space-md);
  }

  .home-section--news .home-section__title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .home-news-carousel {
    --home-news-card-width: min(85vw, 340px);
    padding-inline: var(--space-sm);
  }

  .home-news-carousel::before,
  .home-news-carousel::after {
    width: 0.75rem;
  }

  .home-news__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--space-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-news__viewport::-webkit-scrollbar {
    display: none;
  }

  .home-news__track {
    animation: none;
    gap: var(--space-sm);
  }

  .home-news__card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .home-news__card--duplicate {
    display: none;
  }

  .home-news__body {
    padding: var(--space-sm) var(--space-md) var(--space-md);
  }

  .home-news__title {
    font-size: 1rem;
  }

  .home-news__excerpt {
    font-size: 0.8125rem;
    line-height: 1.55;
  }

  .home-news--single {
    grid-template-columns: 1fr;
    padding-inline: var(--space-sm);
  }

  .home-news--single .home-news__card {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 479px) {
  .home-news-carousel {
    --home-news-card-width: calc(100vw - 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-news__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    padding-bottom: var(--space-xs);
  }

  .home-news__track {
    animation: none;
  }

  .home-news__card {
    scroll-snap-align: start;
  }

  .home-news__card--duplicate {
    display: none;
  }

  .home-news-carousel::before,
  .home-news-carousel::after {
    display: none;
  }
}

/* ==========================================================================
   Section — Partenaires
   ========================================================================== */
.home-section--partners {
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  background: transparent;
}

.home-partners__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
}

.home-partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  transition: opacity var(--transition), transform var(--transition);
}

.home-partners__item:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.home-partners__item img {
  display: block;
  width: auto;
  max-width: min(160px, 52vw);
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.home-partners__logo {
  min-width: 120px;
  max-width: 180px;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--color-gray-600);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
}

.home-section--navy .home-partners__logo {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.pelycan-home .alignfull {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.pelycan-home-page .pelycan-home .home-about__title,
.pelycan-home-page .pelycan-home .home-about__text,
.pelycan-home-page .pelycan-home .home-section__header,
.pelycan-home-page .pelycan-home .home-poles,
.pelycan-home-page .pelycan-home .home-expertise,
.pelycan-home-page .pelycan-home .home-news,
.pelycan-home-page .pelycan-home .home-news-carousel,
.pelycan-home-page .pelycan-home .home-partners__grid {
  max-width: none;
}
