.bail-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--mc-red-light);
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-left: 10px;
}

.guarantee-note {
  background: #fef2f2;
  border-left: 4px solid var(--mc-red-light);
  padding: 15px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

.bail-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.bail-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(5px);
}

.bail-feature i {
  color: #f87171;
  font-size: 1.2rem;
}

.type-bail {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-top: 4px solid var(--mc-red-light);
  transition: transform 0.3s ease;
  text-align: center;
  height: 100%;
}

.type-bail:hover {
  transform: translateY(-5px);
}

.bail-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--mc-red-light), #f87171);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 1.5rem;
}

.service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px;
  color: white;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(26, 54, 93, 0.92), rgba(26, 54, 93, 0.88));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-feature i {
  font-size: 1.2rem;
  color: #ef4444;
}

.description-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

.description-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.description-image:hover img {
  transform: scale(1.05);
}

.guarantee-item {
  border-left: 4px solid var(--mc-red-light);
  padding-left: 15px;
  margin: 15px 0;
}

.guarantee-item h3 {
  color: var(--mc-red-light);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  text-align: center;
  gap: 20px;
  justify-content: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-features {
    gap: 20px;
  }

  .hero-feature {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }
}

.hero-bg-image {
  filter: brightness(0.5);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.service-hero:hover .hero-bg-image {
  transform: scale(1.02);
  filter: brightness(0.55);
}

.hero-title {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: #e6eefb;
  max-width: 700px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 12px;
  align-items: start;
}

.client-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.client-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.10);
}

.client-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--gray-100), #eef2ff);
  color: #1e3a8a;
  font-size: 24px;
  margin-bottom: 6px;
}

.client-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #0f172a;
}

.client-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

.client-tag {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--gray-600);
  background: rgba(15, 23, 42, 0.03);
  padding: 4px 8px;
  border-radius: 999px;
  margin-top: 6px;
}

@media (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .hero-title {
    font-size: 1.8rem;
  }
}

.included-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.included-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eef2ff;
  color: #1e40af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.client-thumb img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}

.client-card {
  padding: 18px;
}

.section-title {
  margin-bottom: 14px;
}

@media (max-width: 620px) {
  .client-thumb img {
    height: 110px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .client-card {
    padding: 14px;
  }
}

.studio-badge {
  background: rgba(220, 38, 38, 0.1);
  color: var(--mc-red-light);
}

.apartment-badge {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.house-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #1a365d;
}

/* Section statistiques caution */
.caution-stats {
  background: linear-gradient(135deg, var(--mc-red-light), #ef4444);
  color: white;
  border-radius: 12px;
  padding: 40px;
  margin: 40px 0;
  text-align: center;
}

.stats-title {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Checklist détaillée */
.checklist-detailed {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  margin: 30px 0;
}

.checklist-category {
  margin-bottom: 30px;
}

.checklist-category h4 {
  color: var(--mc-red-light);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gray-100);
}

.checklist-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.checklist-item-detailed {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  background: var(--light);
  border-radius: 6px;
}

.checklist-item-detailed i {
  color: #1a365d;
  font-size: 0.9rem;
}

/* Témoignages */
.testimonials {
  background: var(--light);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.testimonial-card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

.testimonial-card:before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 15px;
  font-size: 3rem;
  color: var(--gray-100);
  font-family: serif;
}

.testimonial-text {
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.testimonial-author i {
  color: var(--mc-red-light);
}

/* Tableau comparatif agences */
.agency-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  margin: 30px 0;
}

.table-row-header {
  background: linear-gradient(135deg, var(--mc-red-light), #ef4444);
  color: white;
  padding: 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  font-weight: bold;
}

.table-row {
  padding: 15px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}

.table-row:last-child {
  border-bottom: none;
}

.agency-approved {
  color: #1a365d;
  font-weight: bold;
}

.agency-not-approved {
  color: #ef4444;
  font-weight: bold;
}

.toast-notification {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--primary);
  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 350px;
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notification.success {
  background: var(--mc-red-light);
}

.toast-notification.info {
  background: #2563eb;
}

.toast-notification i {
  font-size: 1.2rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.description-content,
.caution-stats,
.clients-grid,
.checklist-detailed,
.agency-table,
.testimonials,
.included-grid,
.faq-list,
.cta-box {
  animation: fadeIn 0.8s ease-out;
}

/* Animation pour les cartes témoignages */
.testimonial-card.animate-in {
  animation: slideIn 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation statistiques */
.stat-item {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

/* Badge garantie animé */
.bail-badge {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse 2s infinite;
}

.bail-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(220, 38, 38, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
  }
}

/* Animation checklist */
.checklist-item-detailed {
  transition: transform 0.2s ease;
}

.checklist-item-detailed:hover {
  transform: translateX(5px);
}

/* Animation tableau agences */
.table-row {
  transition: background-color 0.2s ease;
}

.table-row:hover {
  background-color: var(--light);
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.faq-item:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 8px rgba(26, 54, 93, 0.1);
}
.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: white;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.faq-question:hover {
  background: var(--gray-100);
}
.faq-question::after {
  content: '▼';
  font-size: 0.9rem;
  color: var(--primary);
  transition: transform 0.3s ease;
  margin-left: 1rem;
}
.faq-item.is-open .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}
.faq-item.is-open .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}