:root {
  --ok-accent: #10b981;
  --ok-accent-soft: rgba(16, 185, 129, 0.14);
  --ok-border-soft: rgba(15, 23, 42, 0.08);
  --ok-shadow-soft: 0 14px 34px -28px rgba(15, 23, 42, 0.55);
}

body {
  text-rendering: optimizeLegibility;
}

a,
button,
summary,
[role="button"] {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ok-accent);
  outline-offset: 2px;
}

.PageHero {
  isolation: isolate;
}

main section.rounded-2xl,
main article.rounded-2xl,
main article.rounded-xl,
main div.rounded-2xl.border,
main div.rounded-xl.border {
  position: relative;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

main section.rounded-2xl:hover,
main article.rounded-2xl:hover,
main article.rounded-xl:hover,
main div.rounded-2xl.border:hover,
main div.rounded-xl.border:hover {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: var(--ok-shadow-soft);
}

main section.rounded-2xl::after,
main article.rounded-2xl::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), transparent 45%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

main section.rounded-2xl:hover::after,
main article.rounded-2xl:hover::after {
  opacity: 1;
}

.FAQAccordion details {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.FAQAccordion details[open] {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 12px 22px -20px rgba(16, 185, 129, 0.7);
}

.FAQAccordion summary {
  text-wrap: balance;
}

.CTASection {
  overflow: hidden;
}

.CTASection::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -10%;
  width: 240px;
  height: 240px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25), transparent 65%);
  pointer-events: none;
}

#notre-expertise {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.75) 0%, #ffffff 60%);
}

#notre-expertise .grid > div {
  overflow: hidden;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
}

#notre-expertise .grid > div::before {
  content: "";
  position: absolute;
  top: -34px;
  right: -34px;
  width: 96px;
  height: 96px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18), transparent 70%);
}

#notre-expertise .grid > div:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -24px rgba(16, 185, 129, 0.75);
}

@media (max-width: 768px) {
  main section.rounded-2xl:hover,
  main article.rounded-2xl:hover,
  main article.rounded-xl:hover,
  main div.rounded-2xl.border:hover,
  main div.rounded-xl.border:hover,
  #notre-expertise .grid > div:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
