/* ========================================
   HABITATS ET JARDINS - Accueil Styles
   ======================================== */

/* ----------------------------------------
   HERO SECTION
   ---------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-16)) 0 var(--space-16);
  overflow: hidden;
  background: var(--color-cream);
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 120%;
  background: radial-gradient(
    ellipse at center,
    rgba(74, 124, 89, 0.08) 0%,
    rgba(74, 124, 89, 0.03) 40%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-background::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(
    ellipse at center,
    rgba(93, 64, 55, 0.05) 0%,
    transparent 60%
  );
  border-radius: 50%;
}

/* Decorative elements */
.hero-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-decoration--leaf-1 {
  top: 15%;
  right: 8%;
  width: 120px;
  height: 120px;
  opacity: 0.12;
  animation: floatSlow 8s ease-in-out infinite;
}

.hero-decoration--leaf-2 {
  bottom: 20%;
  left: 5%;
  width: 80px;
  height: 80px;
  opacity: 0.08;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.hero-decoration--dots {
  top: 25%;
  left: 10%;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(
    var(--color-brown-pale) 2px,
    transparent 2px
  );
  background-size: 20px 20px;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-5);
  margin-bottom: var(--space-6);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-green-dark);
  background: linear-gradient(
    135deg,
    var(--color-green-pale) 0%,
    rgba(168, 213, 186, 0.5) 100%
  );
  border-radius: var(--radius-full);
  border: 1px solid var(--color-green-light);
  opacity: 0;
  animation: slideUp 0.6s var(--ease-out) 0.1s forwards;
}

.hero-label svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-brown-dark);
  margin-bottom: var(--space-6);
  opacity: 0;
  animation: slideUp 0.6s var(--ease-out) 0.2s forwards;
}

.hero-title .highlight {
  position: relative;
  white-space: nowrap;
}

.hero-title .highlight--green {
  color: var(--color-green);
}

.hero-title .highlight--brown {
  color: var(--color-brown);
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 0.15em;
  border-radius: var(--radius-full);
  opacity: 0.3;
  z-index: -1;
}

.hero-title .highlight--green::after {
  background: var(--color-green-light);
}

.hero-title .highlight--brown::after {
  background: var(--color-accent);
}

.hero-description {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-text-medium);
  margin-bottom: var(--space-10);
  opacity: 0;
  animation: slideUp 0.6s var(--ease-out) 0.3s forwards;
}

.hero-cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  opacity: 0;
  animation: slideUp 0.6s var(--ease-out) 0.4s forwards;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.5s forwards;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-card-image {
  position: relative;
  height: 280px;
  background: linear-gradient(
    135deg,
    var(--color-green-light) 0%,
    var(--color-green-medium) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-image svg {
  width: 120px;
  height: 120px;
  color: var(--color-white);
  opacity: 0.9;
}

.hero-image-logo {
  border-radius: var(--radius-md);
}

.hero-card-content {
  padding: var(--space-8);
}

.hero-card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

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

.stars svg {
  width: 20px;
  height: 20px;
  color: #f5a623;
  fill: #f5a623;
}

.rating-text {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-brown-dark);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-brown-dark);
  margin-bottom: var(--space-2);
}

.hero-card-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

/* Badge Crédit d'impôt */
.hero-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.badge-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  background: linear-gradient(
    145deg,
    var(--color-green) 0%,
    var(--color-green-dark) 100%
  );
  border-radius: 50%;
  color: var(--color-white);
  box-shadow:
    var(--shadow-glow-green),
    inset 0 2px 10px rgba(255, 255, 255, 0.2);
  border: 4px solid var(--color-white);
}

.badge-percent {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.badge-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

/* Stats floating cards */
.hero-stat {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: float 5s ease-in-out infinite;
}

.hero-stat--left {
  left: -60px;
  bottom: 150px;
  animation-delay: -1s;
}

.hero-stat--right {
  right: -40px;
  top: 100px;
  animation-delay: -2.5s;
}

.hero-stat-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-green-pale);
  border-radius: var(--radius-lg);
  color: var(--color-green);
}

.hero-stat-icon svg {
  width: 22px;
  height: 22px;
}

.hero-stat-content {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-brown-dark);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* ========================================
   RÉSEAUX SOCIAUX - HERO ACCUEIL (fond clair)
   ======================================== */
.hero-social {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* ← Bordure foncée */
}

.hero-social-label {
  font-size: var(--text-sm);
  color: var(--color-text-medium); /* ← Texte foncé */
  font-weight: 500;
}

.hero-social-links {
  display: flex;
  gap: var(--space-3);
}

.hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-brown-dark); /* ← Fond foncé */
  color: white;
  transition: var(--transition-fast);
}

.hero-social-link:hover {
  transform: translateY(-3px) scale(1.1);
}

.hero-social-link svg {
  width: 22px;
  height: 22px;
}

/* Couleurs au survol */
.hero-social-link[aria-label="Facebook"]:hover {
  background: #1877f2;
}

.hero-social-link[aria-label="Instagram"]:hover {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.hero-social-link--whatsapp:hover {
  background: #25d366;
}

.hero-social-link[aria-label="AlloVoisins"]:hover {
  background: #00b67a;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-social {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-light);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: fadeIn 0.6s var(--ease-out) 0.8s forwards;
}

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--color-brown-light);
  border-radius: 13px;
  position: relative;
}

.scroll-mouse::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-green);
  border-radius: var(--radius-full);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

/* ----------------------------------------
   CREDIT IMPOT SECTION
   ---------------------------------------- */
.credit-section {
  padding: var(--space-24) 0;
  background: var(--color-white);
  position: relative;
  overflow: hidden;
}

.credit-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-cream-dark),
    transparent
  );
}

.credit-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-10);
  align-items: center;
  padding: var(--space-12);
  background: linear-gradient(
    135deg,
    var(--color-cream) 0%,
    var(--color-cream-warm) 100%
  );
  border-radius: var(--radius-2xl);
  border: 1px solid var(--color-cream-dark);
  position: relative;
  overflow: hidden;
}

.credit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--color-green) 0%,
    var(--color-green-dark) 100%
  );
}

.credit-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(
    135deg,
    var(--color-green) 0%,
    var(--color-green-dark) 100%
  );
  border-radius: var(--radius-xl);
  color: var(--color-white);
  box-shadow: var(--shadow-glow-green);
}

.credit-icon-wrapper svg {
  width: 48px;
  height: 48px;
}

.credit-content h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-3);
}

.credit-content p {
  font-size: var(--text-base);
  line-height: 1.7;
  max-width: 520px;
}

.credit-content strong {
  color: var(--color-green-dark);
}

.credit-examples {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.credit-example {
  display: flex;
  flex-direction: column;
  padding: var(--space-5) var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-cream-dark);
  min-width: 220px;
}

.credit-example-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  margin-bottom: var(--space-2);
}

.credit-example-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}

.credit-example-price del {
  font-size: var(--text-base);
  color: var(--color-text-light);
}

.credit-example-price span {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-green);
}

/* ----------------------------------------
   SERVICES SECTION
   ---------------------------------------- */
.services-section {
  padding: var(--space-24) 0;
  background: var(--color-cream);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--space-10);
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition-base);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  transition: var(--transition-base);
}

.service-card--habitat::before {
  background: linear-gradient(
    90deg,
    var(--color-brown) 0%,
    var(--color-brown-light) 100%
  );
}

.service-card--jardin::before {
  background: linear-gradient(
    90deg,
    var(--color-green) 0%,
    var(--color-green-medium) 100%
  );
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
  height: 8px;
}

.service-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-xl);
  transition: var(--transition-base);
}

.service-card--habitat .service-icon {
  background: linear-gradient(
    135deg,
    var(--color-brown-pale) 0%,
    rgba(161, 136, 127, 0.3) 100%
  );
  color: var(--color-brown);
}

.service-card--jardin .service-icon {
  background: linear-gradient(
    135deg,
    var(--color-green-pale) 0%,
    rgba(168, 213, 186, 0.5) 100%
  );
  color: var(--color-green);
}

.service-icon svg {
  width: 40px;
  height: 40px;
  transition: var(--transition-base);
}

.service-card:hover .service-icon svg {
  transform: scale(1.1);
}

.service-number {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 700;
  line-height: 1;
  opacity: 0.08;
}

.service-card h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.service-card p {
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  flex-grow: 1;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.service-tag {
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
}

.service-card--habitat .service-tag {
  background: var(--color-brown-pale);
  color: var(--color-brown-dark);
}

.service-card--jardin .service-tag {
  background: var(--color-green-pale);
  color: var(--color-green-dark);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-base);
}

.service-card--habitat .service-link {
  color: var(--color-brown);
}

.service-card--jardin .service-link {
  color: var(--color-green);
}

.service-link svg {
  width: 18px;
  height: 18px;
  transition: var(--transition-base);
}

.service-card:hover .service-link svg {
  transform: translateX(6px);
}

/* ----------------------------------------
   TESTIMONIALS SECTION
   ---------------------------------------- */
.testimonials-section {
  padding: var(--space-24) 0;
  background: linear-gradient(
    180deg,
    var(--color-white) 0%,
    var(--color-cream-warm) 100%
  );
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--color-green), transparent);
}

.rating-global {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-6);
}

.rating-global .stars {
  display: flex;
  gap: 3px;
}

.rating-global .stars svg {
  width: 22px;
  height: 22px;
  color: #f5a623;
  fill: #f5a623;
}

.rating-global-text {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-brown-dark);
}

.testimonials-carousel {
  position: relative;
  margin-top: var(--space-12);
}

.testimonials-track {
  display: flex;
  gap: var(--space-8);
  transition: transform 0.5s var(--ease-in-out);
  place-items: center;
}

.testimonial-card {
  flex: 0 0 calc(50% - var(--space-4));
  padding: var(--space-10);
  background: var(--color-white);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-base);
  height: max-content;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 1;
  color: var(--color-green);
  opacity: 0.08;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: var(--space-8);
  max-height: 120px;
  overflow: scroll;
}

.testimonial-content p::-webkit-scrollbar {
  width: 6px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.author-avatar {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--color-green) 0%,
    var(--color-green-dark) 100%
  );
  border-radius: 50%;
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-base);
  box-shadow: var(--shadow-md);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: var(--color-brown-dark);
  font-size: var(--text-base);
}

.author-service {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: var(--space-2) var(--space-4);
  background: var(--color-green-pale);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-green-dark);
}

.testimonial-badge svg {
  width: 14px;
  height: 14px;
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.carousel-btn {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 2px solid var(--color-cream-dark);
  border-radius: 50%;
  color: var(--color-brown-dark);
  transition: var(--transition-base);
}

.carousel-btn:hover:not(:disabled) {
  background: var(--color-green);
  border-color: var(--color-green);
  color: var(--color-white);
  transform: scale(1.05);
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-btn svg {
  width: 22px;
  height: 22px;
}

.carousel-dots {
  display: flex;
  gap: var(--space-3);
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background: var(--color-cream-dark);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition-base);
}

.carousel-dots .dot:hover {
  background: var(--color-brown-light);
}

.carousel-dots .dot.active {
  background: var(--color-green);
  width: 36px;
  border-radius: var(--radius-full);
}

.testimonials-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-6);
  padding: var(--space-3) var(--space-6);
  background: var(--color-green);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.testimonials-more:hover {
  background: var(--color-green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.testimonials-more-icon {
  width: 18px;
  height: 18px;
}

/* ----------------------------------------
   CTA SECTION
   ---------------------------------------- */
.cta-section {
  padding: var(--space-24) 0;
  background: linear-gradient(135deg, var(--color-brown-dark) 0%, #2a1f17 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 10c0 22.091-17.909 40-40 40' stroke='%234A7C59' stroke-opacity='0.08' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  color: var(--color-white);
  margin-bottom: var(--space-4);
}

.cta-content p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-10);
}

.cta-section .btn-primary {
  background: linear-gradient(
    135deg,
    var(--color-green) 0%,
    var(--color-green-medium) 100%
  );
  box-shadow: var(--shadow-glow-green);
}

.cta-section .btn-primary:hover {
  background: linear-gradient(
    135deg,
    var(--color-green-light) 0%,
    var(--color-green) 100%
  );
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: var(--space-10);
  margin-top: var(--space-12);
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-sm);
}

.cta-feature svg {
  width: 20px;
  height: 20px;
  color: var(--color-green-light);
}

/* ----------------------------------------
   ANIMATIONS
   ---------------------------------------- */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes floatSlow {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.3;
    transform: translateX(-50%) translateY(6px);
  }
}

/* ----------------------------------------
   RESPONSIVE
   ---------------------------------------- */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }

  .hero-text {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-stat--left,
  .hero-stat--right {
    display: none;
  }

  .hero-badge {
    top: -10px;
    right: -10px;
  }

  .badge-circle {
    width: 110px;
    height: 110px;
  }

  .badge-percent {
    font-size: 2rem;
  }
}

@media (max-width: 900px) {
  .credit-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }

  .credit-card::before {
    width: 100%;
    height: 6px;
    top: 0;
    left: 0;
  }

  .credit-icon-wrapper {
    margin: 0 auto;
  }

  .credit-content p {
    max-width: 100%;
  }

  .credit-examples {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

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

  .testimonial-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: calc(70px + var(--space-12)) 0 var(--space-12);
  }

  .hero-scroll {
    display: none;
  }

  .hero-card {
    max-width: 100%;
  }

  .hero-badge {
    position: relative;
    top: auto;
    right: auto;
    margin: var(--space-6) auto 0;
  }

  .badge-circle {
    width: 100px;
    height: 100px;
  }

  .badge-percent {
    font-size: 1.8rem;
  }

  .credit-examples {
    flex-direction: column;
    align-items: center;
  }

  .credit-example {
    width: 100%;
    max-width: 280px;
  }

  .cta-features {
    flex-direction: column;
    gap: var(--space-4);
  }

  .carousel-controls {
    gap: var(--space-4);
  }

  .carousel-btn {
    width: 44px;
    height: 44px;
  }
}

/* ========================================
   ZONE D'INTERVENTION SECTION
   ======================================== */

.zone-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8faf8 0%, #f0f4f0 100%);
}

.zone-content {
  max-width: 900px;
  margin: 0 auto;
}

.zone-main {
  margin-bottom: 40px;
}

.zone-main h3,
.zone-secondary h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-gray-800);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.zone-main h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--color-green);
  border-radius: 2px;
}

.zone-secondary h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--color-brown);
  border-radius: 2px;
}

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zone-tags--main {
  gap: 12px;
}

.zone-tag {
  display: inline-block;
  padding: 8px 16px;
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: 25px;
  font-size: 0.9rem;
  color: var(--color-gray-700);
  transition: all 0.2s ease;
}

.zone-tag:hover {
  border-color: var(--color-green);
  color: var(--color-green);
}

.zone-tag--main {
  background: var(--color-green);
  border-color: var(--color-green);
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  font-size: 1rem;
}

.zone-tag--main:hover {
  background: var(--color-green-dark);
  border-color: var(--color-green-dark);
  color: white;
}

.zone-secondary {
  margin-bottom: 30px;
}

.zone-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: white;
  border-radius: 10px;
  border-left: 4px solid var(--color-green);
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

.zone-note svg {
  width: 20px;
  height: 20px;
  color: var(--color-green);
  flex-shrink: 0;
}

.zone-note a {
  color: var(--color-green);
  font-weight: 600;
  text-decoration: none;
}

.zone-note a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .zone-section {
    padding: 60px 0;
  }

  .zone-tags {
    gap: 8px;
  }

  .zone-tag {
    padding: 6px 12px;
    font-size: 0.85rem;
  }

  .zone-tag--main {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .zone-note {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
