/* Bandeau de consentement cookies – EpilD'or */
.footer-legal a { color: rgba(255,255,255,0.45); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold, #C9A96E); }

.cc-banner { position: fixed; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; z-index: 10000; max-width: 560px; background: #FDFAF6; color: #3A2820; border: 1px solid rgba(201,169,110,0.35); box-shadow: 0 20px 60px rgba(44,24,16,0.25); padding: 1.6rem 1.6rem 1.4rem; font-family: 'DM Sans', sans-serif; transform: translateY(20px); opacity: 0; transition: transform 0.35s ease, opacity 0.35s ease; }
.cc-banner.cc-show { transform: none; opacity: 1; }
.cc-banner h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: #2C1810; margin: 0 0 0.5rem; line-height: 1.2; }
.cc-banner p { font-size: 0.85rem; line-height: 1.6; color: #6B4C3B; margin: 0 0 1rem; }
.cc-banner a { color: #2C1810; text-decoration: underline; text-underline-offset: 2px; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cc-btn { flex: 1 1 auto; padding: 0.75rem 1.1rem; font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; border: 1px solid #2C1810; background: #2C1810; color: #fff; transition: background 0.2s, color 0.2s; }
.cc-btn:hover { background: #6B4C3B; border-color: #6B4C3B; }
.cc-btn-link { background: transparent; color: #2C1810; border-color: rgba(44,24,16,0.35); }
.cc-btn-link:hover { background: #F0E6D6; color: #2C1810; border-color: #2C1810; }
.cc-btn:focus-visible, .cc-switch input:focus-visible + span { outline: 2px solid #C9A96E; outline-offset: 2px; }

.cc-prefs { display: none; margin: 0 0 1rem; border-top: 1px solid rgba(201,169,110,0.3); }
.cc-banner.cc-expanded .cc-prefs { display: block; }
.cc-cat { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: 0.9rem 0; border-bottom: 1px solid rgba(201,169,110,0.3); }
.cc-cat strong { display: block; font-size: 0.85rem; font-weight: 500; color: #2C1810; margin-bottom: 0.2rem; }
.cc-cat span.cc-desc { display: block; font-size: 0.78rem; line-height: 1.5; color: #8A7068; }
.cc-switch { position: relative; flex: 0 0 auto; width: 42px; height: 24px; margin-top: 2px; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.cc-switch span { position: absolute; inset: 0; background: #E8D5C4; border-radius: 24px; transition: background 0.2s; }
.cc-switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.cc-switch input:checked + span { background: #C9A96E; }
.cc-switch input:checked + span::after { transform: translateX(18px); }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-switch input:disabled + span { opacity: 0.6; }

@media (min-width: 640px) { .cc-banner { left: 1.5rem; right: auto; bottom: 1.5rem; } }
@media (prefers-reduced-motion: reduce) { .cc-banner { transition: none; } }
