/* =============================================
   E2N — Styles des pages intérieures
   page.css — complément à style.css
   ============================================= */

/* =============================================
   HERO — VARIANTE PAGE INTÉRIEURE
============================================= */
.hero--page {
  min-height: 420px;
}

/* Chaque page peut définir son propre background via une classe dédiée */
.hero-bg--bureaux {
  background-image: url('../images/e2n-entreprise-nettoyage-nice-index.webp'); /* remplacer par l'image spécifique */
}

/* =============================================
   FIL D'ARIANE (BREADCRUMB)
============================================= */
.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
}

.breadcrumb ol li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb ol li::after {
  content: '›';
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb ol li:last-child::after {
  display: none;
}

.breadcrumb ol li a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.breadcrumb ol li a:hover {
  color: white;
}

.breadcrumb ol li[aria-current="page"] {
  color: rgba(255, 255, 255, 0.55);
}

/* =============================================
   SECTIONS DE PAGE
============================================= */
.page-section {
  padding: 80px 0;
}

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

.page-section--bg {
  background: var(--color-bg);
}

.page-section--primary {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.page-section--primary::before {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

/* =============================================
   ÉTIQUETTE DE SECTION (EYEBROW)
============================================= */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  /* color: var(--color-primary-light); */
  background: var(--color-accent);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 14px;
}

.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.12);
}

/* =============================================
   GRILLE CLIENTS (SECTION 1)
   2 colonnes desktop, 1 colonne mobile
============================================= */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.client-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.client-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-primary-dark); /* couleur de fond pendant le chargement */
}

.client-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.client-card:hover .client-card-img img {
  transform: scale(1.04);
}

.client-card-body {
  padding: 22px 24px 28px;
}

.client-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.client-card-body p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* =============================================
   IMAGE PLACEHOLDER
============================================= */
.img-placeholder {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.img-placeholder svg {
  color: rgba(255, 255, 255, 0.35);
  z-index: 1;
}

.img-placeholder--large {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}

.img-placeholder--medium {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* =============================================
   CONTENU DIVISÉ (image + texte)
   2 colonnes desktop, 1 colonne mobile
============================================= */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.content-split--reverse {
  direction: rtl;
}

.content-split--reverse > * {
  direction: ltr;
}

.content-split__text {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.content-split__text p strong {
  color: var(--color-text);
  font-weight: 500;
}

/* =============================================
   CHECKLIST
============================================= */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.97rem;
  color: var(--color-text);
  line-height: 1.55;
}

.checklist li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

/* =============================================
   GRILLE GARANTIES (SECTION 4)
   2 colonnes desktop, 1 colonne mobile
============================================= */
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.guarantee-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.guarantee-card-body {
  padding: 22px 24px 28px;
}

.guarantee-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.guarantee-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.65;
}

/* =============================================
   ÉTAPES (SECTION 5)
   4 colonnes desktop, 1 colonne mobile
============================================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(4px);
  transition: background var(--transition), transform var(--transition);
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
  line-height: 1.35;
}

.step-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

/* =============================================
   FAQ — ACCORDÉON
============================================= */
.faq-list {
  max-width: 820px;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  transition: color var(--transition);
}

.faq-btn:hover,
.faq-btn:focus {
  color: var(--color-primary);
  outline: none;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.faq-btn[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 4px 20px;
}

.faq-panel p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* =============================================
   RESPONSIVE — TABLETTE (max 1024px)
============================================= */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .content-split--reverse {
    direction: ltr;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (max 640px)
============================================= */
@media (max-width: 640px) {
  .page-section {
    padding: 56px 0;
  }

  .clients-grid {
    grid-template-columns: 1fr;
  }

  .guarantees-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero--page {
    min-height: 360px;
  }
}
