/* Orizon Quick Contact — styles isolés du thème. */
.oqc, .oqc * { box-sizing: border-box; }
.oqc { position: fixed; right: 16px; bottom: 170px; z-index: 99990; font-family: inherit; color: #202632; }
.oqc button, .oqc input, .oqc textarea { font: inherit; }
.oqc-toggle { width: 60px; height: 60px; display: grid; place-items: center; margin-left: auto; padding: 0; border: 0; border-radius: 50%; background: #172b4d; color: #fff; box-shadow: 0 8px 25px #0003; cursor: pointer; transition: transform .2s, background .2s; }
.oqc-toggle:hover { transform: translateY(-3px); background: #24456f; }
.oqc-toggle svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.oqc-tooltip { position: absolute; right: 72px; bottom: 13px; white-space: nowrap; padding: 10px 14px; border-radius: 9px; background: #fff; box-shadow: 0 4px 20px #0002; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transform: translateX(6px); transition: opacity .2s, transform .2s; }
.oqc:not(.oqc-open):focus-within .oqc-tooltip { opacity: 1; transform: none; }
.oqc:not(.oqc-open):has(.oqc-toggle:hover) .oqc-tooltip { opacity: 1; transform: none; }
.oqc-open .oqc-tooltip { display: none; }
.oqc-panel { width: min(370px, calc(100vw - 32px)); max-height: min(640px, calc(100dvh - 112px)); overflow-y: auto; margin-bottom: 14px; padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 12px 45px #0003; }
.oqc-panel[hidden] { display: none !important; }
.oqc-panel-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.oqc-panel h2 { margin: 0; color: #172b4d; font-size: 20px; line-height: 1.3; font-weight: 700; }
.oqc-close { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 6px; background: transparent; border: 0; color: #172b4d; cursor: pointer; }
.oqc-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.oqc-intro { margin: 8px 0 18px; font-size: 13px; line-height: 1.5; color: #5a6371; }
.oqc form { display: flex; flex-direction: column; gap: 7px; }
.oqc label { margin-top: 5px; font-size: 13px; font-weight: 600; }
.oqc input:not([type="hidden"]), .oqc textarea { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #cbd2dc; border-radius: 8px; background: #fff; color: #202632; font-size: 14px; line-height: 1.4; }
.oqc textarea { resize: vertical; min-height: 82px; }
.oqc input:focus-visible, .oqc textarea:focus-visible, .oqc button:focus-visible, .oqc a:focus-visible { outline: 3px solid #6b9fea; outline-offset: 2px; }
.oqc .oqc-privacy { margin: 6px 0 0; font-size: 11px; line-height: 1.5; color: #626b77; }
.oqc .oqc-privacy a { color: #172b4d; text-decoration: underline; }
.oqc .oqc-submit { width: 100%; margin-top: 8px; padding: 13px 10px; border: 0; border-radius: 9px; background: #172b4d; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.oqc .oqc-submit:hover { background: #24456f; }
.oqc .oqc-submit:disabled { opacity: .65; cursor: wait; }
.oqc .oqc-submit[hidden] { display: none; }
.oqc-feedback { font-size: 13px; line-height: 1.5; }
.oqc-feedback:empty { display: none; }
.oqc-error { color: #a51e2c; }
.oqc-success { color: #176b42; }
.oqc .oqc-hp { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
@media (max-width: 600px) { .oqc { right: 16px; bottom: 160px; } .oqc-toggle { width: 54px; height: 54px; } .oqc-panel { padding: 18px; } .oqc-tooltip { display: none; } }
@media (prefers-reduced-motion: reduce) { .oqc-toggle, .oqc-tooltip { transition: none; } }

/* V1.0.2 : écran de confirmation dédié (sans champs après envoi). */
.oqc .oqc-intro[hidden], .oqc #oqc-form[hidden], .oqc .oqc-success-screen[hidden] { display: none !important; }
.oqc-success-screen { padding: 24px 8px 10px; text-align: center; outline: none; }
.oqc-success-screen svg { width: 48px; height: 48px; padding: 10px; border-radius: 50%; background: #e6f5ed; stroke: #176b42; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.oqc-success-screen p { margin: 16px 0 8px; font-size: 15px; line-height: 1.65; color: #202632; }

/* V1.0.4 — Halo de pulsation continu autour de la bulle.
 * Deux ondes successives, visibles même après une première interaction.
 * L'animation est désactivée quand le panneau est ouvert et pour les personnes
 * qui ont activé la réduction des mouvements dans leur système.
 */
@keyframes oqc-pulse-halo {
    0% {
        transform: scale(1);
        opacity: .50;
    }
    85%, 100% {
        transform: scale(1.45);
        opacity: 0;
    }
}
.oqc .oqc-toggle {
    position: relative;
    isolation: isolate;
}
.oqc .oqc-toggle::before,
.oqc .oqc-toggle::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -2px;
    border-radius: 50%;
    background: rgba(60, 145, 235, .32);
    pointer-events: none;
    animation: oqc-pulse-halo 4.5s ease-out infinite;
}
.oqc .oqc-toggle::after {
    animation-delay: -2.25s;
}
.oqc.oqc-open .oqc-toggle::before,
.oqc.oqc-open .oqc-toggle::after {
    animation-play-state: paused;
    opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
    .oqc .oqc-toggle::before,
    .oqc .oqc-toggle::after {
        animation: none;
        opacity: 0;
    }
}
