/* Styles limites a la navigation publique et au sous-menu des prestations. */
header { --site-dropdown-panel-bg: color-mix(in srgb, #fff 60%, var(--background-light) 40%); }
.dark header { --site-dropdown-panel-bg: #1c1917; }
header .site-dropdown-panel { background: var(--site-dropdown-panel-bg); }
#site-mobile-navigation { max-height: calc(100vh - 7rem); max-height: calc(100dvh - 7rem); overflow-y: auto; overscroll-behavior: contain; }
/* La feuille Tailwind existante ne contient pas cette variante deja presente dans le menu. */
.dark header [class~="dark:text-stone-200"] { color: #e7e5e4; }
.dark header [class~="dark:text-stone-200"]:hover { color: #b5d1ad; }
header nav[aria-label="Navigation principale"] { column-gap: 2.25rem; white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1199px) { header nav[aria-label="Navigation principale"] { column-gap: 1.25rem; } }
.site-services { position: relative; color: var(--text-main, #344e41); }
.site-services > summary { display: flex; align-items: center; gap: 12px; min-height: 44px; padding-block: .5rem; font-size: .875rem; font-weight: 600; line-height: 1.5; list-style: none; cursor: pointer; border-radius: .5rem; text-decoration: none; }
.site-services > summary::-webkit-details-marker { display: none; }
.site-services-chevron { flex: 0 0 7px; width: 7px; height: 7px; margin-right: 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.site-services[open] > summary .site-services-chevron { transform: translateY(2px) rotate(225deg); }
.site-services[data-active="true"] > summary, .site-services[open] > summary, .site-services > summary:hover { color: var(--primary-dark, #263c2a); }
.site-services[data-active="true"] > summary, .site-services[open] > summary { font-weight: 700; }
.site-services-links { position: absolute; top: calc(100% + .75rem); left: 0; z-index: 80; width: 19rem; max-width: calc(100vw - 2rem); margin: 0; list-style: none; border: 1px solid #e7e5e4; }
.site-services-links a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: .75rem; color: #292524; font-size: .875rem; font-weight: 600; line-height: 1.5; text-decoration: none; }
.site-services-copy { min-width: 0; white-space: normal; }
.site-services-title, .site-services-subtitle { display: block; }
.site-services-title { font-size: .875rem; font-weight: 700; color: inherit; }
.site-services-subtitle { margin-top: .125rem; color: #57534e; font-size: .75rem; font-weight: 400; line-height: 1.5; }
.site-services-icon { display: flex; align-items: center; justify-content: center; flex: 0 0 32px; width: 32px; height: 32px; }
.site-services-icon--amber { background: #fef3c7; color: #b45309; }
.site-services-icon--indigo { background: #e0e7ff; color: #4338ca; }
.site-services-icon--sage { background: #e6e9df; color: #3a5a40; }
.site-services--mobile > summary { justify-content: space-between; width: 100%; padding-block: .5rem; font-size: 1rem; }
.site-services--mobile .site-services-links { position: static; width: auto; min-width: 0; max-width: none; margin-top: .5rem; box-shadow: none; }
.dark .site-services { color: #e7e5e4; }
.dark .site-services[data-active="true"] > summary, .dark .site-services[open] > summary, .dark .site-services > summary:hover { color: #b5d1ad; }
.dark .site-services-links { border-color: #44403c; }
.dark .site-services-links a { color: #f5f5f4; }
.dark .site-services-subtitle { color: #a8a29e; }
.dark .site-services-icon--amber { background: #4b3516; color: #fcd34d; }
.dark .site-services-icon--indigo { background: #29264e; color: #a5b4fc; }
.dark .site-services-icon--sage { background: #303b31; color: #b5d1ad; }
/* Meme selection pour les deux menus et les deux themes, avec les couleurs de styles.css. */
header a.site-dropdown-link:hover { background: #fafaf9; }
.dark header a.site-dropdown-link:hover { background: #292524; }
header a.site-dropdown-link[aria-current="page"], .dark header a.site-dropdown-link[aria-current="page"] {
    background: var(--background-light);
    color: var(--primary-dark);
    border-radius: 1.5rem;
    box-shadow: inset 3px 0 var(--primary);
}
header a.site-dropdown-link[aria-current="page"] .site-dropdown-title { color: inherit; }
header a.site-dropdown-link[aria-current="page"] .site-dropdown-subtitle,
.dark header a.site-dropdown-link[aria-current="page"] .site-dropdown-subtitle { color: #57534e; }
header .site-dropdown-toggle[data-active="true"], header .site-dropdown-toggle[aria-expanded="true"] { color: var(--primary-dark); font-weight: 700; }
.dark header .site-dropdown-toggle[data-active="true"], .dark header .site-dropdown-toggle[aria-expanded="true"] { color: #b5d1ad; }
header :is(.site-dropdown-toggle, .site-dropdown-link):focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; }
.dark header :is(.site-dropdown-toggle, .site-dropdown-link):focus-visible { outline-color: #b5d1ad; }
