/* ── 15. THEME SWATCH POLISH ── */
.theme-swatch:not(.theme-swatch-card) {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.theme-swatch:not(.theme-swatch-card):hover {
    transform: scale(1.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
.theme-swatch:not(.theme-swatch-card).active {
    transform: scale(1.05);
    box-shadow: 0 0 0 3px var(--role-brand, var(--accent-red)), 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Carte famille (picker Options) */
.theme-swatch-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
    overflow: hidden;
    background: var(--surface);
}
.theme-swatch-card:hover {
    border-color: var(--text-muted);
    box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.theme-swatch-card.active {
    border-color: var(--role-brand, var(--accent-red));
    box-shadow: 0 0 0 2px var(--role-brand, var(--accent-red));
}
.theme-swatch-preview {
    display: flex;
    height: 32px;
    width: 100%;
    flex-shrink: 0;
}
.theme-swatch-stripe {
    flex: 1;
    display: block;
}
.theme-swatch-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px 10px;
}
.theme-swatch-icon { font-size: 1em; line-height: 1; }
.theme-swatch-name {
    font-family: var(--font-ui);
    font-size: var(--text-caption);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-white);
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.theme-swatch-check {
    font-size: var(--text-caption);
    color: var(--role-brand-text, var(--role-brand, var(--accent-red)));
    opacity: 0;
    transition: opacity .15s;
}
.theme-swatch-card.active .theme-swatch-check { opacity: 1; }

/* Boutons mode clair/sombre dans la carte */
.theme-swatch-modes {
    display: flex;
    border-top: 1px solid var(--border);
}
.theme-swatch-mode-btn {
    flex: 1;
    padding: 5px 4px;
    font-family: var(--font-ui);
    font-size: var(--text-caption);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    background: none;
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-muted);
    cursor: pointer;
    transition: background .15s, color .15s;
}
.theme-swatch-mode-btn:last-child { border-right: none; }
.theme-swatch-mode-btn:hover { background: var(--bg-dark); color: var(--text-white); }
.theme-swatch-mode-btn.is-active-mode {
    background: var(--role-brand, var(--accent-red));
    color: var(--role-on-accent, var(--text-on-accent));
}

.nav-logo {
    transition: transform 0.2s ease;
}
.nav-logo:hover {
    transform: scale(1.02);
}

.form-textarea:focus,
.form-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-red) 15%, transparent);
    outline: none;
}

.hero-exclamation {
    color: var(--role-brand-text, var(--accent-red));
    font-weight: 900;
    display: inline;
    text-shadow: 0 0 12px color-mix(in srgb, var(--accent-red) 50%, transparent);
    animation: exclamationPulse 2s ease-in-out infinite;
}
@keyframes exclamationPulse {
    0%, 100% { text-shadow: 0 0 12px color-mix(in srgb, var(--accent-red) 50%, transparent); }
    50% { text-shadow: 0 0 24px color-mix(in srgb, var(--accent-red) 90%, transparent); }
}
