/* Atypiclean — thème clair sur la structure atypicam, accent vert */

:root {
  --green: #5db84a;
  --green-dark: #3e8730;
  --dark: #1c1c1a;
  --light: #f0eeea;
}

html { scroll-behavior: smooth; }

a { text-decoration: none; }

/* BREADCRUMB */
.breadcrumb-container {
  background: var(--light);
  padding: 10px 0;
  border-bottom: 1px solid #e5e2dc;
}

.breadcrumb {
  background: transparent;
  margin-bottom: 0;
  padding: 0;
  font-size: 1rem;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item a {
  color: #3e8730;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600;
}

.breadcrumb-item a:hover {
  color: #5db84a;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #1c1c1a;
}

.breadcrumb-item+.breadcrumb-item::before {
  content: "/";
  color: #5db84a;
  padding: 0 8px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .breadcrumb-container { padding: 10px 0; }
  .breadcrumb { font-size: 0.85rem; padding: 0 15px; }
  .breadcrumb-item+.breadcrumb-item::before { padding: 0 5px; }
}

/* FAQ Accordéon en pur CSS */
.faq-item { transition: all 0.4s ease; }

.faq-item:hover {
  border-color: #5db84a;
  box-shadow: 0 10px 25px -5px rgba(93, 184, 74, 0.15);
  transform: translateY(-4px);
}

.faq-item[open] { border-color: #5db84a; }

.faq-item[open] .faq-icon { transform: rotate(45deg); }

.faq-question { user-select: none; }

.faq-answer { animation: fadeIn 0.5s ease-out; }

@keyframes fadeIn {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}

details > summary::-webkit-details-marker { display: none; }

/* Filet vertical vert au survol des items du dropdown */
.group > div > a {
  position: relative;
  padding-left: 12px;
}

.group > div > a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, #5db84a, #3e8730);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.group > div > a:hover::before { transform: scaleY(1); }
