/* ==========================================================================
   IBE Construction - Styles dédiés aux Pages Piliers & Services SEO
   ========================================================================== */

/* Navbar cohérente avec le site principal (Verre givré clair luxueux) */
.nav-glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(27, 38, 59, 0.08) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.nav-glass.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
}

.nav-container {
  max-width: var(--container-max, 1280px);
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-image {
  height: 65px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #1a2f4b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #cc9461;
}

.page-header-seo {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, rgba(26, 47, 75, 0.97) 0%, rgba(15, 23, 42, 0.98) 100%),
              url('images/hero-bg-1.png') center/cover no-repeat;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-header-seo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #cc9461, #e0b084, #cc9461);
}

.breadcrumb-nav {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-nav a {
  color: #cc9461;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
  color: #ffffff;
}

.seo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(204, 148, 97, 0.15);
  border: 1px solid rgba(204, 148, 97, 0.4);
  color: #e0b084;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.page-header-seo h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  max-width: 900px;
  color: #ffffff;
}

.page-header-seo .hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 820px;
  margin-bottom: 35px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary-ibe {
  background: #cc9461;
  color: #0f172a !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(204, 148, 97, 0.3);
}

.btn-primary-ibe:hover {
  background: #e0b084;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204, 148, 97, 0.4);
}

.btn-secondary-ibe {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.btn-secondary-ibe:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff !important;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp-ibe {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-ibe:hover {
  background: #20ba5a;
  transform: translateY(-2px);
}

/* Sections & Contenu */
.content-section {
  padding: 90px 0;
  background: #ffffff;
}

.content-section.alt-bg {
  background: #f8fafc;
}

.section-head-seo {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-head-seo h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: #1a2f4b;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-head-seo p {
  font-size: 1.1rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Grille Caractéristiques */
.features-grid-seo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.feature-box-seo {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 35px 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
}

.feature-box-seo:hover {
  transform: translateY(-5px);
  border-color: #cc9461;
  box-shadow: 0 12px 30px rgba(204, 148, 97, 0.12);
}

.feature-icon-seo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(204, 148, 97, 0.12);
  color: #cc9461;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
}

.feature-box-seo h3 {
  font-size: 1.3rem;
  color: #1a2f4b;
  font-weight: 700;
  margin-bottom: 14px;
}

.feature-box-seo p {
  color: #4b5563;
  line-height: 1.6;
  font-size: 0.98rem;
  margin-bottom: 16px;
}

.feature-box-seo ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-box-seo ul li {
  font-size: 0.92rem;
  color: #374151;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-box-seo ul li i {
  color: #cc9461;
  font-size: 0.85rem;
}

/* Étapes Processus */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.step-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 24px;
  border-top: 4px solid #cc9461;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(204, 148, 97, 0.3);
  position: absolute;
  top: 15px;
  right: 20px;
}

.step-card h4 {
  font-size: 1.15rem;
  color: #1a2f4b;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-seo-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item-seo {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin-bottom: 16px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-question-seo {
  padding: 22px 26px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #1a2f4b;
  font-size: 1.05rem;
  user-select: none;
}

.faq-question-seo:hover {
  background: #fdfaf6;
  color: #cc9461;
}

.faq-question-seo i {
  transition: transform 0.3s ease;
}

.faq-answer-seo {
  display: none;
  padding: 0 26px 22px;
  color: #4b5563;
  line-height: 1.65;
  font-size: 0.98rem;
}

.faq-item-seo.active .faq-answer-seo {
  display: block;
}

/* Maillage Interne */
.other-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.other-service-link {
  display: block;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.other-service-link:hover {
  border-color: #cc9461;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.other-service-link h4 {
  color: #1a2f4b;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.other-service-link h4 i {
  color: #cc9461;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.other-service-link:hover h4 i {
  transform: translateX(4px);
}

.other-service-link p {
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

/* Bannière Appel à l'action */
.service-cta-banner {
  background: linear-gradient(135deg, #1a2f4b 0%, #0f172a 100%);
  border-radius: 16px;
  padding: 50px 40px;
  color: #ffffff;
  text-align: center;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(204, 148, 97, 0.3);
}

.service-cta-banner h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.service-cta-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Mobile & Responsive */
@media (max-width: 1024px) {
  .logo-image {
    height: 50px;
  }
  .nav-links {
    position: fixed;
    top: 75px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 75px);
    background: #ffffff;
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
    transition: left 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }
  .nav-links.active {
    left: 0;
  }
  .page-header-seo {
    padding: 130px 0 50px;
  }
  .features-grid-seo {
    grid-template-columns: 1fr;
  }
  .service-cta-banner {
    padding: 35px 20px;
  }
}
