/*
====================================================
Project : Société de Plomberie Ayouche
Page    : Ventilation
Author  : AI + User
Version : 2.0.0
Notes   : Original layout built for this page only — reuses the shared
          design tokens (colors, navbar, footer, buttons from style.css)
          but every section below is bespoke to Ventilation, prefixed
          `vent-`. Heading/body typography intentionally uses Manrope
          (loaded only on this page) per an explicit request, distinct
          from the Montserrat/Inter pairing used on the rest of the site.
====================================================
*/

.vent-page {
  font-family: 'Manrope', sans-serif;
}

.vent-page h1,
.vent-page h2,
.vent-page h3,
.vent-page h4 {
  font-family: 'Manrope', sans-serif;
}

/* --------------------------------------------------------------------------
   HERO — single banner (assets/back/heroVent.png), no stats bar
   -------------------------------------------------------------------------- */
.vent-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding-top: calc(var(--navbar-height) + 24px);
  padding-bottom: 120px;
  background-color: #000A17;
  background-image: url('../back/heroVent.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.vent-hero-curve {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 110px;
  display: block;
}

.vent-hero-curve-fill {
  fill: #FFFFFF;
}

.vent-hero-curve-stroke {
  stroke: var(--color-primary);
  stroke-width: 3;
  opacity: .85;
}

.vent-hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background-color: rgba(0, 10, 23, .3);
  color: #FFFFFF;
  font-size: 16px;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-base);
}

.vent-hero-scroll:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  transform: translateX(-50%) translateY(3px);
}

.vent-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 24px;
}

.vent-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 26px;
}

.vent-breadcrumb a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.vent-breadcrumb a:hover {
  color: var(--color-primary);
}

.vent-breadcrumb i {
  font-size: 9px;
  color: rgba(255, 255, 255, .3);
}

.vent-breadcrumb span[aria-current] {
  color: var(--color-primary);
}

.vent-hero-content {
  max-width: 600px;
}

.vent-hero-eyebrow {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.vent-hero-content h1 {
  font-weight: 900;
  font-size: 48px;
  line-height: 1.15;
  color: #FFFFFF;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.vent-hero-content h1 .accent {
  display: block;
  color: var(--color-primary);
}

.vent-hero-content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 36px;
}

.vent-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.vent-hero-actions .btn-pla-outline-light i {
  margin-right: 2px;
}

.vent-hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  max-width: none;
  padding: 26px 28px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  background-color: rgba(255, 255, 255, .06);
  backdrop-filter: blur(6px);
}

.vent-hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-inline: 22px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.vent-hero-feature:first-child {
  padding-left: 0;
}

.vent-hero-feature:last-child {
  border-right: none;
  padding-right: 0;
}

.vent-hero-feature-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(0, 140, 209, .5);
  color: var(--color-primary);
  font-size: 19px;
}

.vent-hero-feature h3 {
  font-weight: 700;
  font-size: 14px;
  color: #FFFFFF;
  margin: 0 0 4px;
}

.vent-hero-feature p {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, .6);
  margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION — NOTRE EXPERTISE (text left, image right, diagonal cut)
   -------------------------------------------------------------------------- */
.vent-expertise {
  background-color: var(--color-white);
}

.vent-expertise-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 40px;
  align-items: center;
}

.vent-expertise-eyebrow {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}

.vent-expertise-text h2 {
  font-weight: 800;
  font-size: 32px;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin: 0 0 20px;
}

.vent-expertise-text h2 .accent {
  color: var(--color-primary);
}

.vent-expertise-text p {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--color-text-gray);
  margin: 0 0 26px;
}

.vent-expertise-text p strong {
  color: var(--color-text-dark);
  font-weight: 700;
}

.vent-expertise-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.vent-expertise-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14.5px;
  color: var(--color-text-dark);
}

.vent-expertise-list i {
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 18px;
}

.vent-expertise-media-wrap {
  position: relative;
}

.vent-expertise-media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.vent-expertise-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3.2;
}

/* The diagonal cut on the top-left corner is faked with two stacked
   overlays instead of clip-path directly on the image, so the container's
   border-radius keeps rounding the other three corners cleanly (a plain
   polygon clip-path would otherwise force sharp corners everywhere). */
.vent-expertise-cut-blue,
.vent-expertise-cut-white {
  position: absolute;
  inset: 0;
  border-top-left-radius: 22px;
}

.vent-expertise-cut-blue {
  background-color: var(--color-primary);
  clip-path: polygon(0 0, calc(30% + 14px) 0, 0 100%);
}

.vent-expertise-cut-white {
  background-color: var(--color-white);
  clip-path: polygon(0 0, 30% 0, 0 100%);
}

.vent-expertise-dots {
  position: absolute;
  left: -18px;
  bottom: -18px;
  width: 130px;
  height: 90px;
  background-image: radial-gradient(rgba(0, 140, 209, .5) 2px, transparent 2px);
  background-size: 14px 14px;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   SECTION — NOS SOLUTIONS (6 premium cards)
   -------------------------------------------------------------------------- */
.vent-solutions {
  background-color: var(--color-white);
}

.vent-solutions-header {
  position: relative;
  text-align: center;
  margin: 0 0 44px;
}

.vent-solutions-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  border-top: 1px dashed var(--color-border);
}

.vent-solutions-eyebrow {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding-inline: 22px;
  background-color: var(--color-white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
}

.vent-solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.vent-solution-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  transition: border-color var(--transition-fast), box-shadow var(--transition-base);
}

.vent-solution-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 16px 34px rgba(1, 41, 99, .1);
}

.vent-solution-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--color-primary);
  font-size: 44px;
  line-height: 1;
}

.vent-solution-card h3 {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
  color: var(--color-primary-dark);
  margin: 0 0 10px;
}

.vent-solution-card p {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-text-gray);
  margin: 0 0 14px;
}

.vent-solution-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 16px;
  transition: transform var(--transition-base);
}

.vent-solution-card:hover .vent-solution-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   SECTION — POURQUOI CHOISIR PLA (navy, photo + 2x2 grid)
   -------------------------------------------------------------------------- */
.vent-why {
  background-color: #000A17;
  padding-block: 28px;
}

.vent-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.vent-why-media {
  border-radius: 14px;
  overflow: hidden;
}

.vent-why-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 21 / 9;
}

.vent-why-content {
  min-width: 0;
}

.vent-why-eyebrow {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.vent-why-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.vent-why-item {
  padding-inline: 20px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.vent-why-item:first-child {
  padding-left: 0;
}

.vent-why-item:last-child {
  border-right: none;
  padding-right: 0;
}

.vent-why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(0, 140, 209, .5);
  font-size: 18px;
  color: var(--color-primary);
}

.vent-why-item h3 {
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
  color: #FFFFFF;
  margin: 0 0 8px;
}

.vent-why-item p {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .58);
  margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION — DOMAINES / PROCESSUS / CTA (combined band)
   -------------------------------------------------------------------------- */
.vent-band {
  background-color: var(--color-bg-light);
  padding-block: 28px;
}

.vent-band-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.55fr 1fr;
  gap: 40px;
  align-items: start;
}

.vent-band-eyebrow {
  position: relative;
  display: block;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  padding-bottom: 12px;
}

.vent-band-eyebrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background-color: var(--color-primary);
}

/* Domaines d'application — hexagon icon grid */
.vent-sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 14px;
}

.vent-sector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.vent-sector-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 66px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background-color: rgba(0, 140, 209, .08);
  color: var(--color-primary);
  font-size: 20px;
  transition: background-color var(--transition-fast), transform var(--transition-base);
}

.vent-sector:hover .vent-sector-icon {
  background-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.vent-sector-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

/* Notre processus — horizontal timeline */
.vent-process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.vent-process-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  left: calc(10% - 4px);
  right: calc(10% - 4px);
  border-top: 2px dotted var(--color-primary);
}

.vent-process-step {
  position: relative;
  text-align: center;
}

.vent-process-number {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  color: #FFFFFF;
}

.vent-process-icon {
  display: block;
  font-size: 19px;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.vent-process-step h3 {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--color-primary-dark);
  margin: 0 0 6px;
}

.vent-process-step p {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--color-text-gray);
  margin: 0;
}

/* Embedded CTA card */
.vent-band-cta {
  background: linear-gradient(150deg, var(--color-primary-dark) 0%, #012f63 100%);
  border-radius: 18px;
  padding: 32px 28px;
  color: #FFFFFF;
}

.vent-band-cta h3 {
  font-weight: 800;
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 14px;
}

.vent-band-cta p {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
  margin: 0 0 24px;
}

.vent-band-cta-actions {
  display: grid;
  gap: 12px;
}

.vent-band-cta .btn-pla {
  width: 100%;
}

.vent-band-cta .btn-pla-primary {
  background-color: #FFFFFF;
  color: var(--color-primary-dark);
  box-shadow: none;
}

.vent-band-cta .btn-pla-primary:hover,
.vent-band-cta .btn-pla-primary:focus-visible {
  background-color: var(--color-bg-light);
  color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   SECTION — NOS RÉALISATIONS (slider)
   -------------------------------------------------------------------------- */
.vent-projects {
  background-color: var(--color-white);
  padding-block: 28px;
}

.vent-projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.vent-projects-eyebrow {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.vent-projects-nav {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.vent-projects-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 15px;
  transition: background-color var(--transition-fast);
}

.vent-projects-arrow:hover {
  background-color: var(--color-primary-dark);
}

.vent-projects-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.vent-projects-track::-webkit-scrollbar {
  display: none;
}

.vent-project-card {
  flex: 0 0 calc(30% - 15.4px);
  transition: transform var(--transition-base);
}

.vent-project-card:hover {
  transform: translateY(-8px);
}

.vent-project-card-media {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
}

.vent-project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.vent-project-card:hover img {
  transform: scale(1.08);
}

.vent-project-caption h3 {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--color-primary-dark);
  margin: 0 0 3px;
}

.vent-project-caption p {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--color-text-gray);
  margin: 0;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .vent-expertise-grid {
    gap: 48px;
  }

  .vent-band-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vent-solutions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .vent-project-card {
    flex-basis: calc(33.33% - 14.7px);
  }
}

@media (max-width: 991.98px) {
  .vent-hero-content h1 {
    font-size: 36px;
  }

  .vent-hero-features {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }

  .vent-hero-feature {
    border-right: none;
    padding-right: 0;
  }

  .vent-hero-feature:nth-child(odd) {
    padding-left: 0;
  }

  .vent-expertise-grid {
    grid-template-columns: 1fr;
  }

  .vent-expertise-media-wrap {
    order: -1;
  }

  .vent-solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vent-why-grid {
    grid-template-columns: 1fr;
  }

  .vent-why-media {
    order: -1;
  }

  .vent-why-list {
    grid-template-columns: 1fr 1fr;
    row-gap: 28px;
  }

  .vent-why-item {
    border-right: none;
    padding-right: 0;
  }

  .vent-why-item:nth-child(odd) {
    padding-left: 0;
  }

  .vent-sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vent-project-card {
    flex-basis: calc(50% - 11px);
  }
}

@media (max-width: 767.98px) {
  .vent-hero {
    min-height: 0;
    padding-top: calc(var(--navbar-height) + 32px);
    padding-bottom: 60px;
  }

  .vent-hero-content h1 {
    font-size: 28px;
  }

  .vent-hero-features {
    grid-template-columns: 1fr;
    row-gap: 22px;
    margin-top: 36px;
    padding: 22px;
  }

  .vent-hero-feature {
    padding-inline: 0;
  }

  .vent-hero-curve {
    height: 36px;
  }

  .vent-expertise-list {
    grid-template-columns: 1fr;
  }

  .vent-solutions-grid {
    grid-template-columns: 1fr;
  }

  .vent-why-list {
    grid-template-columns: 1fr;
  }

  .vent-why-item {
    padding-left: 0;
  }

  .vent-sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vent-process-timeline {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }

  .vent-process-timeline::before {
    display: none;
  }

  .vent-projects-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .vent-project-card {
    flex-basis: 78%;
  }
}
