/* ============================================================
   CSS PAGE ACCUEIL — hero + bandeau clients
   Réutilise les variables définies dans app.css (--cpw-*, etc.)
   ============================================================ */

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }

/* ================================================
   HERO
   ================================================ */
.hero-section {
    position: relative;
    padding-top: 11rem;
    padding-bottom: 6rem;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(100px); }

.hero-orb-1 {
    width: 55vw; height: 55vw; max-width: 700px; max-height: 700px;
    top: -20%; left: 50%; transform: translateX(-50%);
    background: radial-gradient(circle, rgba(26,111,255,0.09) 0%, transparent 70%);
}
.hero-orb-2 {
    width: 40vw; height: 40vw; max-width: 500px; max-height: 500px;
    top: 5%; right: -10%;
    background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, transparent 70%);
}
.hero-orb-3 {
    width: 35vw; height: 35vw; max-width: 420px; max-height: 420px;
    bottom: 0; left: -8%;
    background: radial-gradient(circle, rgba(6,182,212,0.05) 0%, transparent 70%);
}

.hero-container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.625rem;
    padding: 0.45rem 1.125rem; border-radius: var(--radius-full);
    background-color: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(26,111,255,0.14);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.25rem;
}

.badge-pulse {
    display: block; width: 0.5rem; height: 0.5rem; border-radius: 50%;
    background-color: var(--cpw-primary);
    box-shadow: 0 0 0 0 rgba(26,111,255,0.5);
    animation: hero-badge-pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes hero-badge-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(26,111,255,0.5); }
    60%  { box-shadow: 0 0 0 6px rgba(26,111,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(26,111,255,0); }
}

.hero-badge .badge-text { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cpw-text); }

.hero-title {
    font-family: var(--font-display); font-weight: 400; font-size: 2.5rem;
    line-height: 1.12; letter-spacing: -0.015em; color: var(--cpw-text);
    margin-bottom: 1.75rem; max-width: 800px;
}

.hero-title-em {
    font-style: italic;
    background: linear-gradient(135deg, var(--cpw-primary) 0%, #60a5fa 60%, var(--cpw-accent) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle { font-size: 1.125rem; color: var(--cpw-text); opacity: 0.72; line-height: 1.82; max-width: 44rem; margin: 0 auto 3.25rem; }

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-bottom: 4rem; }

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 0;
    background: linear-gradient(135deg, var(--cpw-primary), var(--cpw-primary-dark));
    color: #fff !important; padding: 1rem 1.25rem 1rem 2rem; border-radius: var(--radius-full);
    font-weight: 700; font-size: 1.0625rem; text-decoration: none;
    box-shadow: 0 10px 28px -4px rgba(26,111,255,0.44), inset 0 1px 0 rgba(255,255,255,0.22);
    transition: all 0.38s var(--transition-smooth);
    position: relative; overflow: hidden;
}
.btn-hero-primary::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.18) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.38s ease;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -4px rgba(26,111,255,0.54), inset 0 1px 0 rgba(255,255,255,0.28); color: #fff !important; }
.btn-hero-primary:hover::before { opacity: 1; }

.btn-hero-arrow {
    display: flex; align-items: center; justify-content: center;
    width: 2.375rem; height: 2.375rem; border-radius: 50%;
    background-color: rgba(255,255,255,0.18); margin-left: 1rem; font-size: 0.8125rem;
    transition: transform 0.38s var(--transition-spring), background-color 0.3s ease;
    flex-shrink: 0;
}
.btn-hero-primary:hover .btn-hero-arrow { transform: translateX(4px); background-color: rgba(255,255,255,0.28); }

.btn-hero-secondary {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2rem; border-radius: var(--radius-full);
    font-weight: 700; font-size: 1.0625rem; color: var(--cpw-text);
    background-color: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: all 0.35s var(--transition-smooth);
}
.btn-hero-secondary:hover { background-color: rgba(26,111,255,0.05); border-color: rgba(26,111,255,0.22); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.hero-trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.75rem 2rem; margin-bottom: 3.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 600; color: var(--cpw-text); opacity: 0.7; }
.trust-icon {
    width: 1.75rem; height: 1.75rem; border-radius: 0.5rem;
    background-color: rgba(26,111,255,0.08); border: 1px solid rgba(26,111,255,0.14);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; color: var(--cpw-primary); flex-shrink: 0;
}
.trust-icon-gold  { background-color: rgba(201,168,76,0.10); border-color: rgba(201,168,76,0.20); color: var(--cpw-gold); }
.trust-icon-green { background-color: rgba(34,197,94,0.10);  border-color: rgba(34,197,94,0.18);  color: #16a34a; }
.trust-sep { width: 1px; height: 1rem; background-color: var(--border-light); }

/* ================================================
   BANDEAU CLIENTS
   ================================================ */
.clients-band { display: block; padding: 2.25rem 0; border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); background-color: var(--hover-bg); }
.clients-band-label { text-align: center; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cpw-muted); margin: 0 0 1.75rem; }
.clients-logos { display: grid; grid-template-columns: repeat(2, 1fr); align-items: center; justify-items: center; gap: 1.75rem 1rem; }
.clients-logo { width: 100%; max-width: 150px; height: 44px; object-fit: contain; opacity: .85; transition: opacity .3s ease, transform .3s ease; }
.clients-logo:hover { opacity: 1; transform: scale(1.06); }

.logo-theme-dark { display: none; }
[data-theme="dark"] .logo-theme-light { display: none; }
[data-theme="dark"] .logo-theme-dark { display: block; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (min-width: 480px) { .hero-actions { flex-direction: row; justify-content: center; } }

@media (min-width: 768px) {
    .hero-title { font-size: 3.5rem; }
    .hero-subtitle { font-size: 1.25rem; }
    .clients-logos { grid-template-columns: repeat(4, 1fr); gap: 2rem 2.5rem; }
}

@media (min-width: 1024px) {
    .hero-section { padding-top: 13rem; padding-bottom: 8rem; }
    .hero-title { font-size: 4.25rem; }
    .clients-band { padding: 2.75rem 0; }
    .clients-logo { height: 46px; }
}