/*
====================================================
Project : Société de Plomberie Ayouche
Page    : Protection Incendie
Author  : AI + User
Version : 1.0.0
Notes   : Pixel-perfect reproduction of a supplied mockup. Reuses the
          site's shared design tokens (colors, buttons, navbar, footer
          from style.css). Every class below is prefixed `inc-`.
====================================================
*/

/* --------------------------------------------------------------------------
   HERO — background: assets/back/heroinc.png
   -------------------------------------------------------------------------- */
.inc-hero {
  position: relative;
  aspect-ratio: 1945 / 809;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  background-color: #000A17;
  background-image: url('../back/heroinc.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

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

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

.inc-hero-content {
  max-width: 560px;
}

.inc-hero-content h1 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.22;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 20px;
}

.inc-hero-content h1 .accent {
  color: var(--color-primary);
}

.inc-hero-content p {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, .78);
  max-width: 460px;
  margin: 0 0 34px;
}

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

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

/* --------------------------------------------------------------------------
   SECTION 01 — NOTRE EXPERTISE
   -------------------------------------------------------------------------- */
.inc-expertise {
  background-color: var(--color-white);
  padding-top: 0;
}

.inc-expertise-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: center;
}

.inc-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.inc-eyebrow-number {
  font-weight: 800;
  color: var(--color-primary-dark);
}

.inc-expertise-text h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 27px;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin: 0 0 20px;
}

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

.inc-expertise-text p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-gray);
  margin: 0 0 26px;
  max-width: 480px;
}

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

.inc-expertise-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-dark);
}

.inc-expertise-list i {
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 16px;
  margin-top: 2px;
}

.inc-expertise-media-wrap {
  position: relative;
  margin-right: -24px;
}

@media (min-width: 1320px) {
  .inc-expertise-media-wrap {
    margin-right: calc(-24px - (100vw - var(--container-width)) / 2);
  }
}

/* incend.png is a pre-made graphic — the diagonal cut, blue border and
   dot-grid decorations are already baked into the file (with a
   transparent background around them). It must only be displayed as-is,
   never cropped or re-clipped. */
.inc-expertise-media {
  position: relative;
}

.inc-expertise-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   SECTION 02 — NOS SOLUTIONS (single row of 6 cards)
   -------------------------------------------------------------------------- */
.inc-solutions {
  background-color: var(--color-white);
}

.inc-solutions-header {
  margin-bottom: 32px;
}

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

.inc-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);
}

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

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

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

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

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

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

/* --------------------------------------------------------------------------
   SECTION 03 — POURQUOI CHOISIR PLA (dark band, background photo)
   -------------------------------------------------------------------------- */
.inc-why {
  position: relative;
  background-color: #000A17;
  background-image: url('../images/plombier.jpg');
  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

.inc-why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 10, 23, .55) 0%, rgba(0, 10, 23, .93) 42%, rgba(0, 10, 23, .97) 100%);
}

.inc-why-inner {
  position: relative;
  z-index: 1;
}

.inc-why .inc-eyebrow {
  margin-bottom: 36px;
}

.inc-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.inc-why-item {
  text-align: left;
}

.inc-why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--color-primary);
  font-size: 22px;
}

.inc-why-item h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.35;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.inc-why-item p {
  font-family: var(--font-body);
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .6);
  margin: 0;
}

/* --------------------------------------------------------------------------
   SECTION 04 — NOS DOMAINES D'APPLICATION
   -------------------------------------------------------------------------- */
.inc-domains {
  background-color: var(--color-white);
}

.inc-domains-header {
  margin-bottom: 36px;
}

.inc-domains-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.inc-domain-card {
  text-align: left;
}

.inc-domain-media {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
  margin-bottom: 26px;
}

.inc-domain-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.inc-domain-card:hover .inc-domain-media img {
  transform: scale(1.08);
}

.inc-domain-icon {
  position: absolute;
  left: 14px;
  bottom: -18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background-color: var(--color-white);
  color: var(--color-primary);
  font-size: 17px;
  box-shadow: 0 8px 18px rgba(1, 41, 99, .18);
}

.inc-domain-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   SECTION 05 — NOTRE MÉTHODOLOGIE (hexagon timeline)
   -------------------------------------------------------------------------- */
.inc-method {
  background-color: #F5F8FC;
}

.inc-method-header {
  margin-bottom: 44px;
}

.inc-method-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.inc-method-timeline::before {
  content: '';
  position: absolute;
  top: 34px;
  left: calc(8.33% - 4px);
  right: calc(8.33% - 4px);
  border-top: 2px dotted var(--color-primary);
}

.inc-method-step {
  position: relative;
  text-align: center;
}

.inc-method-hex {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 78px;
  margin: 0 auto 18px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-primary);
  transition: background-color var(--transition-base), color var(--transition-base);
}

.inc-method-step:hover .inc-method-hex {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.inc-method-step h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .2px;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  margin: 0 0 8px;
}

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

/* --------------------------------------------------------------------------
   SECTION 06 — NOS RÉALISATIONS
   -------------------------------------------------------------------------- */
.inc-projects {
  background-color: #000A17;
}

.inc-projects .container-custom {
  max-width: 1600px;
}

.inc-projects-header {
  margin-bottom: 32px;
}

.inc-projects-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.inc-projects-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  background-color: transparent;
  color: var(--color-primary);
  font-size: 16px;
  transition: background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.inc-projects-arrow:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.inc-projects-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  flex: 1;
  min-width: 0;
}

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

.inc-project-card {
  position: relative;
  flex: 0 0 calc(25% - 16.5px);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
  box-shadow: 0 16px 34px rgba(1, 41, 99, .1);
}

.inc-project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inc-project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 10, 23, 0) 45%, rgba(0, 10, 23, .88) 100%);
}

.inc-project-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
}

.inc-project-caption h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13.5px;
  color: #FFFFFF;
  margin: 0 0 3px;
}

.inc-project-caption p {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: rgba(255, 255, 255, .7);
  margin: 0;
}

/* --------------------------------------------------------------------------
   CTA FINAL
   -------------------------------------------------------------------------- */
.inc-cta {
  position: relative;
  padding-block: 48px;
  background-color: #030B17;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.07' stroke-width='1.5'%3E%3Cpath d='M0 40h80V0'/%3E%3Cpath d='M120 0v60h120'/%3E%3Cpath d='M0 140h60v100'/%3E%3Cpath d='M180 240v-80h60'/%3E%3Cpath d='M60 140h100v-40'/%3E%3Ccircle cx='80' cy='40' r='4'/%3E%3Ccircle cx='240' cy='60' r='4'/%3E%3Ccircle cx='60' cy='140' r='4'/%3E%3Ccircle cx='180' cy='160' r='4'/%3E%3Ccircle cx='160' cy='100' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 240px 240px;
  background-repeat: repeat;
}

.inc-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(3, 11, 23, .88) 0%, rgba(3, 11, 23, .6) 55%, rgba(3, 11, 23, .32) 100%);
}

.inc-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.inc-cta-text {
  max-width: 560px;
}

.inc-cta-inner h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 28px;
  line-height: 1.3;
  text-transform: uppercase;
  color: #FFFFFF;
  margin: 0 0 10px;
}

.inc-cta-inner h2 .accent {
  color: var(--color-primary);
}

.inc-cta-inner p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .75);
  margin: 0;
}

.inc-cta-actions {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 16px;
}

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

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

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

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

  .inc-method-timeline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
  }

  .inc-method-timeline::before {
    display: none;
  }

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

@media (max-width: 991.98px) {
  .inc-hero {
    aspect-ratio: auto;
    min-height: 560px;
  }

  .inc-hero-content h1 {
    font-size: 30px;
  }

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

  .inc-expertise-media-wrap {
    order: -1;
    margin-right: -24px;
    margin-left: -24px;
  }

  .inc-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 767.98px) {
  .inc-hero {
    min-height: 500px;
    padding-top: calc(var(--navbar-height) + 24px);
  }

  .inc-hero-content h1 {
    font-size: 24px;
  }

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

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

  .inc-domains-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

  .inc-method-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .inc-project-card {
    flex-basis: 80%;
  }

  .inc-cta-inner h2 {
    font-size: 22px;
  }
}
