/**
 * Declinaison 3 — Panorama
 * Hero asymétrique flottant · scroll horizontal · process steps · cards actus
 */
.struct-d3 .hero__inner {
  grid-template-columns: 1fr;
  position: relative;
  min-height: 420px;
}

@media (min-width: 900px) {
  .struct-d3 .hero__inner {
    grid-template-columns: 1fr;
    min-height: 480px;
  }

  .struct-d3 .hero__content {
    max-width: 55%;
    padding-bottom: var(--space-3xl);
  }

  .struct-d3 .hero__float {
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(380px, 42%);
    z-index: 3;
  }
}

.struct-d3 .hero__metrics {
  display: none;
}

.struct-d3 .hero__wave {
  opacity: 0.24;
  width: min(900px, 100%);
  right: -8%;
}

.metric-float {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  display: grid;
  gap: var(--space-md);
}

.metric-float__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-sand);
}

.metric-float__row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.metric-float__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
}

.metric-float__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Scroll horizontal services */
.scroll-section {
  overflow: hidden;
}

.scroll-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.scroll-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: var(--container-padding);
  padding-bottom: var(--space-md);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-sand) transparent;
}

.scroll-track::-webkit-scrollbar {
  height: 4px;
}

.scroll-track::-webkit-scrollbar-thumb {
  background: var(--color-sand);
  border-radius: var(--radius-pill);
}

.scroll-card {
  flex: 0 0 min(300px, 85vw);
  scroll-snap-align: start;
  padding: var(--space-xl);
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-height: 220px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.scroll-card:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
}

.scroll-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-cream);
  border-radius: var(--radius-md);
  color: var(--color-primary);
}

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

.scroll-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-primary);
}

.scroll-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  flex: 1;
}

.scroll-card__link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-link);
}

/* Process horizontal */
.process {
  display: flex;
  flex-direction: column;
  gap: var(--space-3xl);
}

.process__media {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: var(--color-sand);
}

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

.process-steps {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: var(--space-md);
  text-align: center;
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto var(--space-md);
  background: var(--color-accent);
  color: var(--color-white);
  font-size: var(--font-size-sm);
  font-weight: 700;
  border-radius: var(--radius-pill);
}

.process-step__title {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.process-step__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  max-width: 240px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  .process-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 34px;
    left: calc(50% + 24px);
    width: calc(100% - 48px);
    height: 2px;
    background: linear-gradient(90deg, var(--color-sand), var(--color-accent));
  }
}

/* Trust full + news grid 3 */
.trust-full {
  text-align: center;
  padding: var(--space-3xl) var(--container-padding);
  background: var(--color-cream);
  border-block: 1px solid var(--color-sand);
}

.trust-full__quote {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--color-primary-light);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-md);
}

.trust-full__author {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}

.news-grid-3 {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.news-tile {
  padding: var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition);
}

.news-tile:hover {
  box-shadow: var(--shadow-sm);
}

.news-tile__date {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.news-tile__title {
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
}

.news-tile__link {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-link);
}

@media (min-width: 768px) {
  .news-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA card with offices */
.cta-card {
  display: grid;
  gap: var(--space-xl);
  padding: var(--space-2xl);
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-lg);
  text-align: left;
}

.cta-card__offices {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.cta-card__offices span {
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-cream);
  border-radius: var(--radius-pill);
}

.cta-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.struct-d3 .cta {
  background: var(--color-cream);
}

.struct-d3 .cta .container {
  max-width: 800px;
}

@media (min-width: 768px) {
  .cta-card {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}
