/* Daniel Martins - Plombier Dax | Design 2025 */

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #3B82F6;
  --green: #059669;
  --orange: #EA580C;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --gray-900: #111827;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-100);
  z-index: 1000;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 24px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
}

.logo-subtitle {
  font-size: 0.8rem;
  color: var(--gray-400);
  font-weight: 500;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--green);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 16px;
  background: rgba(5, 150, 105, 0.1);
  border-radius: 10px;
  transition: all 0.2s;
}

.btn-phone:hover {
  background: rgba(5, 150, 105, 0.2);
}

.btn-phone .icon {
  color: var(--green);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--blue);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
}

.stat {
  text-align: left;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.hero-cta {
  display: flex;
  gap: 16px;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 18px 32px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.2s;
}

.btn-hero:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 18px 32px;
  border: 2px solid var(--gray-200);
  color: var(--gray-800);
  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.hero-image {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.hero-image img {
  width: 100%;
  display: block;
}

/* Services */
.services {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--gray-500);
  font-size: 1.1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  padding: 32px;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--blue);
  box-shadow: 0 20px 40px -15px rgba(37,99,235,0.15);
}

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--blue);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon .icon {
  width: 28px;
  height: 28px;
  color: white;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.service-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.feature {
  background: var(--gray-100);
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-urgence {
  background: var(--orange);
  color: white;
}

.btn-devis {
  background: var(--blue);
  color: white;
}

.btn-projet {
  background: var(--green);
  color: white;
}

.btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* Why Me */
.why-me {
  padding: 80px 0;
  background: var(--gray-50);
}

.why-me-content {
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

.why-me-text .section-title {
  text-align: left;
}

.advantages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 40px;
}

.advantage {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--gray-100);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.advantage-icon .icon {
  width: 24px;
  height: 24px;
  color: white;
}

.advantage-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.advantage-content p {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.why-img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
}

/* Zone */
.zone {
  padding: 80px 0;
}

.zone-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.zone-tag {
  padding: 10px 20px;
  background: var(--blue);
  color: white;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
}

.zone-map {
  background: var(--gray-100);
  border-radius: 24px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
}

/* Contact */
.contact {
  padding: 80px 0;
  background: var(--gray-900);
  color: var(--white);
}

.contact .section-tag {
  background: rgba(255,255,255,0.1);
}

.contact .section-title {
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-top: 48px;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: var(--gray-200);
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 24px;
  color: var(--gray-800);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.btn-submit {
  width: 100%;
  padding: 18px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: var(--blue-dark);
}

/* Footer */
.footer {
  background: var(--gray-900);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-400);
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 20px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 10px;
}

.footer-section a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--white);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* Lucide Icons */
.icon {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

/* Mobile */
@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .btn-phone .phone-text { display: none; }
  
  .hero-content,
  .why-me-content,
  .zone-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero { padding: 120px 0 60px; }
  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 24px; }
  .hero-cta { flex-direction: column; }
  
  .services-grid,
  .advantages {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Contact icons */
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon .icon {
  width: 24px;
  height: 24px;
  color: white;
}
  flex-shrink: 0;
}

.contact-icon .icon {
  width: 24px;
  height: 24px;
  color: white;
}

.contact-details h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
  color: var(--gray-300);
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--white);
}

.contact-subtitle {
  color: var(--gray-400);
  margin-bottom: 32px;
}

/* Réalisations - Before/After Slider */
.realisations {
  padding: 80px 0;
  background: var(--gray-50);
}

.before-after-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 1408/768;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.ba-image-after {
  clip-path: inset(0 0 0 50%);
}

.ba-tag {
  position: absolute;
  bottom: 20px;
  padding: 8px 16px;
  background: rgba(0,0,0,0.7);
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
}

.ba-image-before .ba-tag {
  left: 20px;
}

.ba-image-after .ba-tag {
  right: 20px;
}

.ba-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  -webkit-appearance: none;
}

.ba-handle-visual {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: white;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  pointer-events: none;
  z-index: 5;
}

.ba-handle-visual::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.ba-handle-visual::before {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  color: var(--blue);
  z-index: 1;
}

/* Zone map */
.zone-map {
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px -10px rgba(0,0,0,0.1);
}

.zone-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero */
.hero {
  padding: 180px 0 100px;
}

.hero-title {
  font-size: 4rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-stats {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-image img {
  animation: fadeIn 1s ease-out 0.4s both;
}


  width: 24px;
  height: 24px;
}

/* Service cards stagger */
.service-card {
  opacity: 0;
  transform: translateY(20px);
}

.service-card.visible {
  animation: fadeInUp 0.5s ease-out forwards;
}

.service-card:nth-child(1).visible { animation-delay: 0s; }
.service-card:nth-child(2).visible { animation-delay: 0.1s; }
.service-card:nth-child(3).visible { animation-delay: 0.2s; }
.service-card:nth-child(4).visible { animation-delay: 0.3s; }

/* Advantages stagger */
.advantage {
  opacity: 0;
  transform: translateY(20px);
}

.advantage.visible {
  animation: fadeInUp 0.5s ease-out forwards;
}

.advantage:nth-child(1).visible { animation-delay: 0s; }
.advantage:nth-child(2).visible { animation-delay: 0.1s; }
.advantage:nth-child(3).visible { animation-delay: 0.15s; }
.advantage:nth-child(4).visible { animation-delay: 0.2s; }

/* Hover effects */
.service-card:hover {
  transform: translateY(-5px);
}

.advantage:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

.btn-hero:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(37,99,235,0.4);
}

/* Section titles animation */
.section-title {
  opacity: 0;
  transform: translateY(20px);
}

.section-title.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }
  .hero-title {
    font-size: 2.5rem;
  }
    display: none;
  }
}

/* Hero rating with stars */
.hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.stars {
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 20px;
  height: 20px;
  color: #FBBF24;
  fill: #FBBF24;
}

.star-icon.half {
  fill: url(#star-gradient);
}

.rating-score {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-900);
}

.rating-text {
  color: var(--gray-500);
  font-size: 0.95rem;
}

/* Testimonials section */
.testimonials {
  padding: 80px 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--gray-50);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--gray-100);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 16px;
}

.testimonial-stars .star-icon {
  width: 18px;
  height: 18px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--gray-900);
}

.testimonial-source {
  font-size: 0.85rem;
  color: var(--gray-400);
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Testimonials links */
.testimonials-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.review-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.review-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.review-link .icon-sm {
  width: 16px;
  height: 16px;
}


/* Clean footer - no extra space */

/* ========== MOBILE FIXES ========== */
@media (max-width: 768px) {
  /* Header mobile */
  .header-content {
    padding: 12px 0;
  }
  
  .logo h1 {
    font-size: 1.1rem;
    white-space: nowrap;
  }
  
  .logo-subtitle {
    font-size: 0.7rem;
  }
  
  .btn-phone {
    padding: 8px 10px;
    font-size: 0;
  }
  
  .btn-phone .icon {
    margin: 0;
  }
  
  .btn-primary {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  
  /* Hero mobile */
  .hero {
    padding: 120px 0 40px;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-image {
    margin-top: 20px;
    order: -1;
  }
  
  .hero-image img {
    width: 100%;
    border-radius: 16px;
    max-height: 200px;
    object-fit: cover;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
  }
  
  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }
  
  .btn-hero, .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
  
  /* Sections mobile */
  .services, .why-me, .realisations, .testimonials, .zone, .contact {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
  }
  
  /* Before/After mobile */
  .before-after-container {
    aspect-ratio: 4/3;
  }
  
  /* Cards mobile */
  .service-card, .testimonial-card, .advantage {
    padding: 20px;
  }
  
  /* Contact mobile */
  .contact-grid {
    gap: 40px;
  }
  
  .contact-form {
    padding: 24px;
  }
  
  /* Footer mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .logo h1 {
    font-size: 1rem;
  }
}

/* Mobile menu open state */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px;
  }
  
  .nav.active {
    display: block;
  }
  
  .nav-list {
    flex-direction: column;
    gap: 0;
  }
  
  .nav-link {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
  }
  
  .header {
    position: relative;
  }
  
  .header-content {
    position: relative;
  }
}

/* Mobile card highlight on scroll */
@media (max-width: 768px) {
  .service-card.card-active,
  .advantage.card-active,
  .testimonial-card.card-active {
    border-color: var(--blue);
    box-shadow: 0 10px 30px -10px rgba(37,99,235,0.2);
    transform: scale(1.02);
    transition: all 0.3s ease;
  }
  
  .service-card,
  .advantage,
  .testimonial-card {
    transition: all 0.3s ease;
  }
}

/* Service chips */
.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 18px;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: all 0.2s;
}

.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.chip.selected {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

/* Hide hero CTA on desktop (already in header) */
@media (min-width: 769px) {
  .hero-cta {
    display: none;
  }
  
  /* Add margin between rating and content below */
  .hero-rating {
    margin-bottom: 0;
  }
}

/* Show hero CTA only on mobile */
@media (max-width: 768px) {
  .hero-cta {
    display: flex;
    margin-top: 24px;
  }
}

/* Space below before/after slider */
.before-after-container {
  margin-bottom: 40px;
}

.realisations {
  padding-bottom: 60px;
}

/* Mobile header: hide phone and devis buttons (CTA in hero instead) */
@media (max-width: 768px) {
  .btn-phone,
  .header-actions .btn-primary {
    display: none;
  }
  
  /* Reduce space between header and hero image */
  .hero {
    padding-top: 20px;
  }
  
  .hero-image {
    margin-top: 0;
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--blue);
  animation: bounce 2s infinite;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-indicator svg {
  width: 32px;
  height: 32px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Hide on mobile */
@media (max-width: 768px) {
  .scroll-indicator {
    display: none;
  }
}
