/* ========== GOUTTIÈRES PAGE STYLES ========== */

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--green);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span:last-child {
  color: var(--white);
  font-weight: 500;
}

/* Hero Gouttières */
.hero-gouttieres {
  position: relative;
  padding-top: 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-gouttieres .hero-bg {
  position: absolute;
  inset: 0;
}

.hero-gouttieres .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gouttieres .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(26, 35, 50, 0.7) 100%);
}

.hero-gouttieres .hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1rem;
  width: 100%;
}

.hero-gouttieres .hero-text {
  max-width: 800px;
}

.hero-gouttieres h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(46, 125, 50, 0.2);
  border: 1px solid rgba(46, 125, 50, 0.3);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
}

.hero-badge svg {
  color: var(--green);
}

/* Introduction Section */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-top: 0.75rem;
}

.intro-lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: 1.5rem;
}

.intro-content > p:last-of-type {
  color: var(--gray-500);
  line-height: 1.7;
  margin-top: 1rem;
}

.intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.intro-stat {
  padding: 1.5rem;
  background: var(--green-light);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(46, 125, 50, 0.1);
}

.intro-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.intro-stat-text {
  display: block;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

.intro-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

@media (max-width: 1023px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .intro-image {
    order: -1;
  }
}

/* Services Detail Grid */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-detail-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: var(--transition);
}

.service-detail-card:hover {
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-detail-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-detail-card:hover .service-detail-image img {
  transform: scale(1.05);
}

.service-detail-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.service-detail-content {
  padding: 2rem;
}

.service-detail-content h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.service-detail-content > p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.service-features svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

@media (max-width: 1023px) {
  .services-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Advantages Grid */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.advantage-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
}

.advantage-card:hover {
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: var(--shadow-lg);
}

.advantage-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.advantage-icon svg {
  color: var(--green);
}

.advantage-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.advantage-card > p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.advantage-highlight {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  display: inline-block;
}

@media (max-width: 1023px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .advantages-grid {
    grid-template-columns: 1fr;
  }
}

/* Materials Section */
.bg-dark {
  background: var(--dark);
}

.section-header-light h2 {
  color: var(--white);
}

.section-desc-light {
  color: rgba(255, 255, 255, 0.7);
}

.section-label-dark {
  background: rgba(46, 125, 50, 0.2);
  color: var(--green);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.material-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.material-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.material-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  background: var(--green);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
}

.material-content {
  padding: 2rem;
}

.material-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.material-tagline {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1rem;
}

.material-desc {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.material-durability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--green-light);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.durability-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

.durability-value {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--green);
}

.material-section {
  margin-bottom: 1.5rem;
}

.material-section h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.material-pros li,
.material-cons li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.375rem 0;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.material-pros li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 0.375rem;
}

.material-cons li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
  flex-shrink: 0;
  margin-top: 0.375rem;
}

.material-recommendation {
  padding: 1rem;
  background: var(--off-white);
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--gray-600);
  border-left: 3px solid var(--green);
}

.material-recommendation strong {
  color: var(--dark);
}

.material-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.material-cta p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

@media (max-width: 1023px) {
  .materials-grid {
    grid-template-columns: 1fr;
  }
}

/* Why Us Section */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.why-us-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.25;
  margin-top: 0.75rem;
}

.why-us-content > p {
  margin-top: 1.5rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.why-us-features {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.why-us-feature {
  display: flex;
  gap: 1rem;
}

.why-us-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-us-icon svg {
  color: var(--green);
}

.why-us-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.why-us-feature p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
}

.why-us-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.why-us-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.why-us-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(26, 35, 50, 0.9);
  backdrop-filter: blur(8px);
}

.why-us-stat {
  padding: 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.why-us-stat:last-child {
  border-right: none;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

@media (max-width: 1023px) {
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .why-us-image {
    order: -1;
  }
}

/* FAQ Section */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(46, 125, 50, 0.3);
}

.faq-item.active {
  border-color: var(--green);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}

.faq-question svg {
  color: var(--gray-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--green);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* CTA Banner */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Service Card Link */
.service-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card-link:hover {
  text-decoration: none;
}

/* ========== Footer Fixes for Service Pages ========== */
.footer {
  background: var(--dark);
  padding: 4rem 0 0;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

a.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

a.footer-logo img {
  height: 40px !important;
  width: auto !important;
  max-width: 40px !important;
  filter: brightness(0) invert(1);
  object-fit: contain;
}

a.footer-logo div {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--white);
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: var(--green);
}

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--green);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
