/* OptiIA — overrides couleur bleue + ajustements globaux */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #3b82f6;
}

/* Remplace le teal CBL par du bleu partout */
.text-primary { color: #2563eb !important; }
.bg-primary { background-color: #2563eb !important; }
.border-primary { border-color: #2563eb !important; }
.text-accent { color: #60a5fa !important; }
.bg-accent { background-color: #2563eb !important; }
.healing-gradient { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #1e40af 100%) !important; }
.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: 999px;
    background: #2563eb; color: #fff;
    font-weight: 600; font-size: 0.875rem; text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #1d4ed8; transform: scale(1.04); }
.bg-soft { background-color: rgba(37, 99, 235, 0.08) !important; }
.hover\:bg-soft:hover { background-color: rgba(37, 99, 235, 0.08) !important; }

/* Header pages internes */
#siteHeader { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.08); }
#siteHeader.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

/* ── Classes Tailwind absentes du fichier min ── */
.bg-gray-950  { background-color: #030712; }
.bg-gray-900  { background-color: #111827; }
.bg-white\/5  { background-color: rgba(255,255,255,0.05); }
.bg-white\/10 { background-color: rgba(255,255,255,0.10); }
.border-white\/10 { border-color: rgba(255,255,255,0.10); }
.border-white\/20 { border-color: rgba(255,255,255,0.20); }
.text-white\/90 { color: rgba(255,255,255,0.90); }
.text-white\/80 { color: rgba(255,255,255,0.80); }
.text-white\/70 { color: rgba(255,255,255,0.70); }
.text-white\/60 { color: rgba(255,255,255,0.60); }
.text-white\/55 { color: rgba(255,255,255,0.55); }
.text-white\/40 { color: rgba(255,255,255,0.40); }
.text-white\/30 { color: rgba(255,255,255,0.30); }
.placeholder-white\/30::placeholder { color: rgba(255,255,255,0.30); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops,#2563eb,#4f46e5)); }
.from-blue-600 { --tw-gradient-from: #2563eb; --tw-gradient-stops: #2563eb, transparent; }
.to-indigo-700 { --tw-gradient-to: #4338ca; --tw-gradient-stops: var(--tw-gradient-from), #4338ca; }
.bg-gradient-to-br.from-blue-600.to-indigo-700 { background-image: linear-gradient(135deg, #2563eb 0%, #4338ca 100%); }
.min-h-screen { min-height: 100vh; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-wider { letter-spacing: 0.05em; }
.resize-none { resize: none; }
.text-blue-700 { color: #1d4ed8; }
.text-blue-400 { color: #60a5fa; }
.text-indigo-700 { color: #4338ca; }
.fill-accent { fill: #60a5fa; }
.inset-0 { top:0; right:0; bottom:0; left:0; }
.opacity-20 { opacity: 0.20; }

/* ── Footer responsive ── */
@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
    .footer-main-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    .footer-info-row { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* ── story-dashes (animation OptiIA) : cachés ── */
.story-progress, .story-dashes, .story-dash { display: none !important; }
.grid-horizontal-line { display: none !important; }

/* ── Carousel OptiIA ── */
.optiia-carousel { position: relative; user-select: none; }
.optiia-carousel-track {
    display: flex;
    width: 100%; height: 100%;
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
    will-change: transform;
}
.optiia-carousel-slide {
    flex: 0 0 100%;
    width: 100%; height: 100%;
}
.optiia-carousel-slide img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
/* Dots */
.optiia-carousel-dots {
    position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
    display: flex; gap: 0.4rem; z-index: 2;
}
.optiia-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,0.4); border: none; cursor: pointer;
    transition: background 0.3s, transform 0.3s; padding: 0;
}
.optiia-dot.active { background: #fff; transform: scale(1.3); }
/* Flèches */
.optiia-carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 2; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
    color: #fff; font-size: 1.6rem; line-height: 1; width: 2.5rem; height: 2.5rem;
    border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(4px); transition: background 0.2s;
}
.optiia-carousel-btn:hover { background: rgba(255,255,255,0.3); }
.optiia-carousel-prev { left: 0.75rem; }
.optiia-carousel-next { right: 0.75rem; }

/* ── Hero overlay : disparaît après l'animation ── */
body.past-stage .optiia-hero-overlay,
body.past-stage .optiia-scroll-hint { opacity: 0 !important; pointer-events: none !important; transition: opacity 0.4s; }
