/**
 * Page Nos pôles — PELYCAN
 */

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

.poles-page {
  width: 100%;
  overflow-x: clip;
}

.poles-page .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Hero */
.poles-hero {
  position: relative;
  padding: calc(var(--header-height) + var(--space-md)) 0 var(--space-xl);
  background: var(--color-white);
  overflow: hidden;
}

.poles-hero__watermark {
  position: absolute;
  top: calc(var(--header-height) + 0.5rem);
  left: clamp(0.5rem, 3vw, 2rem);
  width: clamp(140px, 16vw, 220px);
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.poles-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .poles-hero__inner {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4vw, 3.5rem);
  }
}

.poles-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  color: var(--color-blue-deep);
  margin: 0 0 var(--space-sm);
}

.poles-hero__title::after {
  content: '';
  display: block;
  width: 72px;
  height: 4px;
  margin-top: var(--space-sm);
  background: var(--color-primary);
  border-radius: var(--radius-full);
}

.poles-hero__lead {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  line-height: 1.75;
  color: var(--color-gray-600);
  max-width: 34ch;
  margin: 0;
}

.poles-hero__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.poles-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Intro */
.poles-intro {
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  background: var(--color-white);
}

.poles-intro__inner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.poles-intro__title {
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue-deep);
  margin: 0 0 var(--space-sm);
}

.poles-intro__title::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin: var(--space-sm) auto 0;
  background: var(--color-gray-200);
  border-radius: var(--radius-full);
}

.poles-intro__text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-gray-600);
  margin: var(--space-md) 0 0;
}

/* Grid */
.poles-grid-section {
  padding: 0 var(--space-md) var(--space-2xl);
  background: var(--color-white);
}

.poles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

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

@media (min-width: 1100px) {
  .poles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
  }
}

.poles-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.poles-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--space-sm);
}

.poles-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.poles-card__icon svg {
  width: 22px;
  height: 22px;
}

.poles-card__title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.poles-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-gray-600);
  margin: 0 0 var(--space-md);
  flex: 1;
}

.poles-card__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin-bottom: var(--space-md);
}

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

.poles-card:hover .poles-card__media img {
  transform: scale(1.03);
}

.poles-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.poles-card__link svg {
  width: 18px;
  height: 18px;
}

.home-pole--blue,
.poles-card.home-pole--blue .poles-card__icon { background: #E8F0F6; color: #1A4A6E; }
.poles-card.home-pole--blue .poles-card__title,
.poles-card.home-pole--blue .poles-card__link { color: #1A4A6E; }

.poles-card.home-pole--green .poles-card__icon { background: #D4F2EE; color: #2EC4B6; }
.poles-card.home-pole--green .poles-card__title,
.poles-card.home-pole--green .poles-card__link { color: #1F8F84; }

.poles-card.home-pole--yellow .poles-card__icon { background: #FDECC0; color: #E5A000; }
.poles-card.home-pole--yellow .poles-card__title,
.poles-card.home-pole--yellow .poles-card__link { color: #C58A00; }

.poles-card.home-pole--orange .poles-card__icon { background: #FAD9C6; color: #FA6E46; }
.poles-card.home-pole--orange .poles-card__title,
.poles-card.home-pole--orange .poles-card__link { color: #D85A36; }

.poles-card.home-pole--purple .poles-card__icon { background: #E5DBF2; color: #7C6BA8; }
.poles-card.home-pole--purple .poles-card__title,
.poles-card.home-pole--purple .poles-card__link { color: #6B5A94; }

.poles-card.home-pole--brown .poles-card__icon { background: #EBDCC0; color: #8B6914; }
.poles-card.home-pole--brown .poles-card__title,
.poles-card.home-pole--brown .poles-card__link { color: #7A5C12; }

/* CTA */
.poles-cta {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-gray-50);
  border-top: 1px solid var(--color-gray-200);
  overflow: hidden;
}

.poles-cta__watermark {
  position: absolute;
  left: clamp(0.5rem, 4vw, 3rem);
  bottom: 0;
  width: clamp(120px, 14vw, 180px);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
}

.poles-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}

@media (min-width: 900px) {
  .poles-cta__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: var(--space-xl);
  }
}

.poles-cta__text {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  line-height: 1.35;
  color: var(--color-blue-deep);
  margin: 0;
  max-width: 22ch;
}

@media (max-width: 899px) {
  .poles-cta__text {
    max-width: none;
    text-align: center;
    margin-inline: auto;
  }
}

.poles-cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  max-width: 340px;
}

@media (max-width: 899px) {
  .poles-cta__actions {
    margin-inline: auto;
  }
}

.poles-cta__actions .btn {
  width: 100%;
  justify-content: center;
}

.poles-cta .btn--outline {
  border-color: var(--color-blue-deep);
  color: var(--color-blue-deep);
  background: var(--color-white);
}

.poles-cta .btn--outline:hover {
  background: var(--color-blue-deep);
  color: var(--color-white);
}
