/* UnitySoftConnect — couche premium (homepage + composants partagés) */

:root {
    --usc-radius: 0.75rem;
    --usc-radius-sm: 0.5rem;
    --usc-shadow: 0 8px 24px rgba(19, 32, 51, 0.06);
    --usc-shadow-hover: 0 14px 32px rgba(19, 32, 51, 0.1);
    --usc-border: 1px solid rgba(19, 32, 51, 0.08);
    --usc-ease: 280ms ease;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -40px;
    z-index: 2000;
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 0.9rem;
    border-radius: var(--usc-radius-sm);
}
.skip-link:focus {
    top: 0.75rem;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.usc-eyebrow {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.16);
}

/* Hero */
.modern-hero {
    min-height: auto;
    padding: 8.25rem 0 5.25rem;
}
.hero-content {
    max-width: 760px;
}
.hero-kicker {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 0 1.15rem;
    padding: 0;
    list-style: none;
}
.hero-kicker li {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.16);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
}
.modern-hero .hero-cta-group {
    justify-content: center;
    gap: 0.85rem;
}
.modern-hero .btn-modern-primary,
.modern-hero .btn-modern-secondary {
    min-height: 48px;
}

/* Services */
.service-card {
    border-radius: var(--usc-radius);
    border: var(--usc-border);
    box-shadow: var(--usc-shadow);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--usc-shadow-hover);
}

/* Carrousel */
.usc-carousel {
    --usc-visible: 3;
    --usc-carousel-gap: 1.15rem;
    position: relative;
}
.usc-carousel-toolbar {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.usc-carousel-btn {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(19, 32, 51, 0.12);
    background: #fff;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background var(--usc-ease), border-color var(--usc-ease), color var(--usc-ease);
}
.usc-carousel-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.usc-carousel-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
.usc-carousel-viewport {
    overflow: hidden;
}
.usc-carousel-track {
    display: flex;
    gap: var(--usc-carousel-gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0.15rem 0.85rem;
}
.usc-carousel-track::-webkit-scrollbar { display: none; }
.usc-carousel-slide {
    flex: 0 0 calc((100% - (var(--usc-visible) - 1) * var(--usc-carousel-gap)) / var(--usc-visible));
    scroll-snap-align: start;
    min-width: 0;
    display: flex;
}
.usc-carousel-slide > * {
    width: 100%;
}
.usc-carousel-slide.is-filtered-out {
    display: none;
}
.usc-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.35rem;
    min-height: 18px;
}
.usc-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(19, 32, 51, 0.18);
}
.usc-carousel-dot.is-active {
    width: 22px;
    background: var(--primary);
}

#cours .usc-carousel-btn,
.courses-band .usc-carousel-btn {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}
#cours .usc-carousel-btn:hover:not(:disabled),
.courses-band .usc-carousel-btn:hover:not(:disabled) {
    background: #fff;
    color: #1e3a8a;
}
#cours .usc-carousel-dot,
.courses-band .usc-carousel-dot {
    background: rgba(255, 255, 255, 0.32);
}
#cours .usc-carousel-dot.is-active,
.courses-band .usc-carousel-dot.is-active {
    background: #fff;
}

@media (max-width: 991.98px) {
    .usc-carousel { --usc-visible: 2; }
}
@media (max-width: 575.98px) {
    .usc-carousel { --usc-visible: 1; }
    .usc-carousel-toolbar { justify-content: center; }
}

/* Cours — cartes modernes */
.usc-course-card {
    position: relative;
    border: 0;
    border-radius: 1.35rem;
    overflow: hidden;
    background: #fff;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.05),
        0 12px 32px rgba(15, 23, 42, 0.1);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.usc-course-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.usc-course-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 8px 16px rgba(15, 23, 42, 0.08),
        0 24px 48px rgba(37, 99, 235, 0.18);
}

.usc-course-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a8a, #312e81);
}
.usc-course-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.usc-course-card:hover .usc-course-media img {
    transform: scale(1.1);
}
.usc-course-media-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, transparent 38%, rgba(15, 23, 42, 0.55) 100%);
}
.usc-course-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    max-width: calc(100% - 1.5rem);
}
.usc-course-media .usc-chip {
    background: rgba(255, 255, 255, 0.94);
    color: #1e3a8a;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(10px);
    letter-spacing: 0.02em;
}
.usc-course-media .usc-chip-soft {
    background: rgba(15, 23, 42, 0.62);
    color: #fff;
    box-shadow: none;
}
.usc-course-price-badge {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.78rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    white-space: nowrap;
}

.usc-course-body {
    padding: 1.05rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.usc-course-title {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
}
.usc-course-desc {
    margin-bottom: 0.55rem;
}
.usc-course-body .usc-course-note {
    margin: 0 0 0.85rem;
    text-align: left;
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
}
.usc-course-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: auto;
}
.usc-course-detail {
    width: 100%;
    border-radius: 0.8rem;
    font-weight: 700;
    color: #334155;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
}
.usc-course-detail:hover {
    color: #1e3a8a;
    background: #eef2ff;
    border-color: rgba(37, 99, 235, 0.28);
}
.usc-course-card .usc-course-enroll,
.usc-course-card .btn-primary,
.usc-course-card .btn-success {
    border: 0;
    border-radius: 0.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}
.usc-course-card .btn-success {
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 8px 18px rgba(5, 150, 105, 0.28);
}
.usc-course-card .usc-course-enroll:hover,
.usc-course-card .btn-primary:hover {
    filter: brightness(1.05);
}
.usc-course-card .btn-enroll-countdown {
    border: 0 !important;
    border-radius: 0.8rem;
    color: #fff !important;
    background: linear-gradient(135deg, #4f46e5, #2563eb) !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}
.usc-course-card .btn-enroll-countdown .enroll-countdown-label,
.usc-course-card .btn-enroll-countdown .enroll-countdown-time {
    color: #fff;
    opacity: 0.95;
}

#cours .usc-course-card,
.courses-band .usc-course-card {
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .usc-course-card:hover,
    .usc-course-card:hover .usc-course-media img {
        transform: none;
    }
}

/* Réalisations */
.portfolio-card {
    border-radius: var(--usc-radius);
    overflow: hidden;
    border: var(--usc-border);
    box-shadow: var(--usc-shadow);
    height: 100%;
    background: #fff;
    transition: transform var(--usc-ease), box-shadow var(--usc-ease);
}
.portfolio-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--usc-shadow-hover);
}
.portfolio-content {
    padding: 1.1rem 1.15rem 1.2rem;
}
.portfolio-content h3 {
    font-size: 1.05rem;
    margin: 0 0 0.2rem;
}
.btn-portfolio-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    margin-top: 0.55rem;
}

/* Stats */
.stats.usc-stats {
    background: #101826;
    padding: 4.25rem 0;
    overflow: hidden;
}
.stats.usc-stats::before,
.stats.usc-stats::after {
    display: none;
}
.usc-stats .stats-title,
.usc-stats .stats-subtitle,
.usc-stats .stat-item p,
.usc-stats .stat-number {
    color: #fff;
    background: none;
    -webkit-text-fill-color: unset;
    text-shadow: none;
    text-transform: none;
}
.usc-stats .stat-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--usc-radius);
    padding: 1.5rem 1rem;
    margin: 0;
}
.usc-stats .stat-item::before,
.usc-stats .stat-item::after {
    display: none;
}
.usc-stats .stat-item:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.07);
}
.usc-stats .stat-number {
    font-size: clamp(2rem, 4vw, 3.1rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.35rem;
}
.usc-stats .stat-item p {
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.78);
}

/* À propos */
.about-split {
    align-items: stretch;
}
.about-story {
    text-align: left;
    background: var(--surface-alt);
    border: var(--usc-border);
    border-radius: var(--usc-radius);
    padding: 1.6rem 1.5rem;
    height: 100%;
}
.about-story h3 {
    font-size: 1.02rem;
    margin: 1.1rem 0 0.35rem;
}
.about-story h3:first-child { margin-top: 0; }
.about-pillar {
    border-radius: var(--usc-radius);
}

/* À propos — version moderne */
.usc-about {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(99, 102, 241, 0.08), transparent 55%),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(14, 165, 233, 0.07), transparent 50%),
        #fff;
}
.usc-about-glow {
    position: absolute;
    inset: auto -8% -20% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.12);
    filter: blur(40px);
    pointer-events: none;
}
.usc-about-intro { margin-bottom: 2.25rem; }
.usc-about-eyebrow,
.usc-partners-section .usc-about-eyebrow {
    display: inline-block;
    margin: 0 0 0.55rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4f46e5;
}
.usc-about-rule {
    display: block;
    width: 72px;
    height: 4px;
    margin: 0.85rem auto 1rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #4f46e5, #22c55e);
}
.usc-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.usc-about-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1.25rem;
    padding: 1.45rem 1.35rem 1.35rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.usc-about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
}
.usc-about-index {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(79, 70, 229, 0.35);
}
.usc-about-icon {
    width: 44px;
    height: 44px;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.25);
}
.usc-about-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin: 0 0 0.45rem;
    color: #0f172a;
}
.usc-about-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
    font-size: 0.95rem;
}
.usc-about-bottom {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 1rem;
    margin-top: 1.15rem;
}
.usc-about-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}
.usc-about-fact {
    background: #0f172a;
    color: #fff;
    border-radius: 1.15rem;
    padding: 1.1rem 0.9rem;
    text-align: center;
}
.usc-about-fact i {
    color: #818cf8;
    margin-bottom: 0.45rem;
    display: block;
}
.usc-about-fact strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.usc-about-fact span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #cbd5e1;
}
.usc-about-values {
    background: linear-gradient(180deg, #eef2ff, #fff);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: 1.2rem;
    padding: 1.2rem 1.25rem 1.25rem;
}
.usc-about-values-label {
    margin: 0 0 0.65rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #4f46e5;
}
.usc-about-values ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}
.usc-about-values li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.28rem 0;
    font-weight: 600;
    color: #334155;
}
.usc-about-values li i { color: #059669; }
.usc-about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

/* Partenaires — version moderne */
.usc-partners-section {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(99, 102, 241, 0.08), transparent 60%),
        #f8fafc;
}
.usc-partners-intro { margin-bottom: 2rem; }
.usc-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}
.usc-partner {
    min-height: 148px;
    border-radius: 1.2rem;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 1.2rem 0.9rem 1.1rem;
    text-align: center;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.usc-partner:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
    border-color: rgba(79, 70, 229, 0.28);
    color: inherit;
}
.usc-partner-logo {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.usc-partner img {
    max-height: 44px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.82;
    transition: filter 0.25s ease, opacity 0.25s ease;
}
.usc-partner:hover img {
    filter: grayscale(0);
    opacity: 1;
}
.usc-partner-mark {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #4338ca;
    background: #eef2ff;
}
.usc-partner.is-placeholder {
    background: linear-gradient(180deg, #fff, #f8fafc);
    border-style: dashed;
    color: #64748b;
}
.usc-partner-name {
    font-size: 0.86rem;
    font-weight: 800;
    margin: 0;
    color: #0f172a;
}
.usc-partner-note {
    font-size: 0.72rem;
    margin: 0;
    color: #94a3b8;
    font-weight: 600;
}
.usc-partners-cta {
    margin-top: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
}
.usc-partners-cta p {
    margin: 0;
    color: #475569;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .usc-about-grid,
    .usc-about-bottom,
    .usc-about-facts { grid-template-columns: 1fr 1fr; }
    .usc-partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .usc-about-grid,
    .usc-about-bottom { grid-template-columns: 1fr; }
    .usc-about-facts { grid-template-columns: 1fr 1fr; }
    .usc-partners-grid { grid-template-columns: 1fr 1fr; }
    .usc-about-actions .btn { width: 100%; }
}

[data-theme="dark"] .usc-about {
    background:
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(99, 102, 241, 0.18), transparent 55%),
        #0f172a;
}
[data-theme="dark"] .usc-about-card,
[data-theme="dark"] .usc-partner,
[data-theme="dark"] .usc-about-values {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.12);
}
[data-theme="dark"] .usc-about-card h3,
[data-theme="dark"] .usc-partner-name { color: #f8fafc; }
[data-theme="dark"] .usc-about-card p,
[data-theme="dark"] .usc-about-values li,
[data-theme="dark"] .usc-partners-cta p { color: #cbd5e1; }
[data-theme="dark"] .usc-partners-section {
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(99, 102, 241, 0.16), transparent 60%),
        #111827;
}
[data-theme="dark"] .usc-partner.is-placeholder { background: rgba(255, 255, 255, 0.03); }
[data-theme="dark"] .usc-partner-mark { background: rgba(99, 102, 241, 0.2); color: #c7d2fe; }

/* Person cards */
.usc-person-card {
    background: #fff;
    border: var(--usc-border);
    border-radius: var(--usc-radius);
    box-shadow: var(--usc-shadow);
    padding: 1.45rem 1.2rem 1.3rem;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform var(--usc-ease), box-shadow var(--usc-ease);
}
.usc-person-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--usc-shadow-hover);
}
.usc-person-photo-wrap {
    width: 132px;
    height: 132px;
    margin: 0 auto 1rem;
    border-radius: 1rem;
    overflow: hidden;
    background: var(--gray-100);
}
.usc-person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}
.usc-person-name {
    font-size: 1.12rem;
    margin: 0 0 0.2rem;
}
.usc-person-role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.92rem;
    margin: 0 0 0.75rem;
}
.usc-person-skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    list-style: none;
    padding: 0;
    margin: 0 0 0.85rem;
}
.usc-person-skills li {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    padding: 0.18rem 0.5rem;
}
.usc-person-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}
.usc-person-social {
    display: flex;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.9rem;
}
.usc-person-social a {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--gray-200);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.usc-founders-section {
    background: #fff;
    overflow: visible;
}
.usc-founders-intro {
    max-width: 38rem;
    margin: 0 auto 0.5rem;
}
.usc-founders-title {
    font-size: clamp(1.7rem, 3.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111827;
    margin: 0;
}
.usc-founders-rule {
    display: block;
    width: 76px;
    height: 4px;
    margin: 0.85rem auto 1.1rem;
    border-radius: 99px;
    background: linear-gradient(90deg, #2563eb 0 50%, #22c55e 50% 100%);
}
.usc-founders-intro .lead {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.7;
}
.usc-founders-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
    max-width: 1040px;
    margin: 2.75rem auto 0;
    padding: 3.4rem 0.5rem 2.2rem;
    overflow: visible;
}
.usc-founder-frame {
    position: relative;
    isolation: isolate;
    padding: 0.35rem 0.2rem 0.85rem;
}
.usc-founder-frame::before,
.usc-founder-frame::after {
    content: "";
    position: absolute;
    z-index: 0;
    border-radius: 1.65rem;
    width: 86%;
    height: 72%;
    left: 7%;
    top: 18%;
}
.usc-founder-frame::before {
    transform: rotate(-16deg) translate(-10px, 8px);
}
.usc-founder-frame::after {
    transform: rotate(12deg) translate(12px, -6px);
    opacity: 0.9;
}
.usc-founder-frame--1::before { background: #60a5fa; }
.usc-founder-frame--1::after { background: #1d4ed8; }
.usc-founder-frame--2::before { background: #bef264; }
.usc-founder-frame--2::after { background: #65a30d; }
.usc-founder-frame--3::before { background: #5eead4; }
.usc-founder-frame--3::after { background: #0f766e; }

.usc-person-card--founders {
    position: relative;
    z-index: 1;
    overflow: visible;
    padding: 4.6rem 1.35rem 1.7rem;
    border-radius: 1.5rem;
    border: 0;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}
.usc-person-card--founders:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
}
.usc-person-card--founders .usc-person-photo-wrap {
    position: absolute;
    left: 50%;
    top: 0;
    width: 108px;
    height: 108px;
    margin: 0;
    padding: 5px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 6px #fff;
}
.usc-person-card--founders .usc-person-photo {
    border-radius: 50%;
}
.usc-person-card--founders .usc-person-name {
    font-size: 1.18rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.25rem;
}
.usc-person-role--italic {
    font-style: italic;
    font-weight: 500;
    color: #9ca3af;
    font-size: 0.92rem;
    margin: 0 0 0.85rem;
}
.usc-person-card--founders .usc-person-desc {
    color: #6b7280;
    font-size: 0.88rem;
    line-height: 1.65;
    margin: 0;
}
.usc-founder-star {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #facc15;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    transform: translate(-50%, 50%);
    font-size: 0.95rem;
}

@media (max-width: 991.98px) {
    .usc-founders-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        gap: 3.5rem;
        padding-top: 3.2rem;
    }
}

[data-theme="dark"] .usc-founders-section {
    background: var(--surface);
}
[data-theme="dark"] .usc-founders-title {
    color: var(--text-primary);
}
[data-theme="dark"] .usc-person-card--founders {
    background: var(--surface-alt);
}
[data-theme="dark"] .usc-person-card--founders .usc-person-photo-wrap {
    background: var(--surface-alt);
    box-shadow: 0 0 0 6px var(--surface-alt);
}
[data-theme="dark"] .usc-founder-star {
    background: var(--surface-alt);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .usc-person-card--founders .usc-person-name {
    color: var(--text-primary);
}

.usc-team-section {
    background: #fff;
    overflow: visible;
}
.usc-team-intro {
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}
.usc-team-section .section-title {
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #111827;
}
.usc-team-section .lead {
    color: #6b7280;
    font-size: 1.02rem;
    line-height: 1.7;
}
.usc-team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4.75rem 1.5rem;
    max-width: 1080px;
    margin: 3.25rem auto 0;
    padding-top: 3.5rem;
}
.usc-person-card--overlap {
    position: relative;
    overflow: visible;
    padding: 4.85rem 1.55rem 1.55rem;
    border-radius: 1.35rem;
    border: 1px solid #eef1f4;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    background: #fff;
}
.usc-person-card--overlap:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.usc-person-card--overlap .usc-person-photo-wrap {
    position: absolute;
    left: 50%;
    top: 0;
    width: 112px;
    height: 112px;
    margin: 0;
    padding: 6px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 6px #fff;
}
.usc-person-card--overlap .usc-person-photo {
    border-radius: 50%;
}
.usc-person-card--overlap .usc-person-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
    margin: 0 0 0.7rem;
}
.usc-person-card--overlap .usc-person-desc {
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0 0 1.25rem;
    flex: 1;
}
.usc-person-card--overlap .usc-person-social {
    margin-top: auto;
    gap: 0.7rem;
}
.usc-person-card--overlap .usc-person-social a,
.usc-person-card--overlap .usc-person-social span {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #6366f1;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    text-decoration: none;
}
.usc-person-card--overlap .usc-person-social a:hover {
    background: #4f46e5;
    color: #fff;
}

@media (max-width: 991.98px) {
    .usc-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4.5rem 1.15rem;
    }
}
@media (max-width: 575.98px) {
    .usc-team-grid {
        grid-template-columns: 1fr;
        max-width: 340px;
        gap: 4.25rem;
    }
}

.usc-team-fallback {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto;
}
.usc-team-avatars {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
    margin: 1.25rem 0 1.4rem;
    flex-wrap: wrap;
}
.usc-team-avatars a {
    display: block;
    width: 72px;
    height: 72px;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: var(--usc-shadow);
}
.usc-team-avatars img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Témoignages */
.usc-testimonial-card {
    background: #fff;
    border: var(--usc-border);
    border-radius: var(--usc-radius);
    box-shadow: var(--usc-shadow);
    padding: 1.35rem 1.2rem;
    height: 100%;
}
.usc-testimonial-empty {
    text-align: center;
    color: var(--text-secondary);
    max-width: 36rem;
    margin: 0 auto 1.5rem;
}

/* CTA bande */
.usc-cta-band {
    background: var(--surface-alt);
    padding: 4rem 0;
}
.usc-cta-panel {
    background: #101826;
    color: #fff;
    border-radius: var(--usc-radius);
    padding: 2.4rem 1.75rem;
    text-align: center;
}
.usc-cta-panel h2 {
    color: #fff;
    margin-bottom: 0.6rem;
}
.usc-cta-panel p {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.4rem;
}
.usc-cta-panel .btn-modern-primary {
    background: #fff;
    color: #101826;
}
.usc-cta-panel .btn-modern-secondary {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

/* Contact */
.contact-info-card {
    border-radius: var(--usc-radius) !important;
}
.contact-info-card:hover {
    transform: none;
}

/* Témoignage form */
.testimonial-card {
    border-radius: var(--usc-radius);
    box-shadow: var(--usc-shadow);
}
.testimonial-card:hover {
    transform: translateY(-3px);
}

[data-theme="dark"] .usc-person-card,
[data-theme="dark"] .usc-partner,
[data-theme="dark"] .usc-testimonial-card,
[data-theme="dark"] .portfolio-card,
[data-theme="dark"] .usc-carousel-btn {
    background: var(--surface-alt);
    color: var(--text-primary);
}
[data-theme="dark"] .usc-team-section {
    background: var(--surface);
}
[data-theme="dark"] .usc-team-section .section-title {
    color: var(--text-primary);
}
[data-theme="dark"] .usc-person-card--overlap .usc-person-photo-wrap {
    background: var(--surface-alt);
    box-shadow: 0 0 0 6px var(--surface-alt);
}
[data-theme="dark"] .usc-person-card--overlap .usc-person-name {
    color: var(--text-primary);
}
[data-theme="dark"] .usc-partner.is-placeholder {
    background: rgba(255, 255, 255, 0.03);
}
[data-theme="dark"] .about-story {
    background: var(--surface-alt);
}

@media (min-width: 1200px) {
    .navbar-expand-xl .modern-toggler {
        display: none;
    }
}

@media (max-width: 1199.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-lg);
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: var(--shadow-xl);
    }
    .modern-nav-link {
        padding: 0.75rem 1rem !important;
        margin: 0.25rem 0;
    }
    .btn-modern-cta {
        margin-top: 0.75rem;
        width: 100%;
        justify-content: center;
    }
    [data-theme="dark"] .navbar-collapse {
        background: rgba(15, 23, 42, 0.98);
    }
}

@media (max-width: 575.98px) {
    .modern-hero {
        padding: 7.25rem 0 3.5rem;
    }
    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
    .section-block {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }
}

/* Partage social */
.usc-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
}
.usc-share-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
}
.usc-share-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}
.usc-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.usc-share-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}
.usc-share-facebook { background: #1877f2; }
.usc-share-twitter { background: #0f172a; }
.usc-share-linkedin { background: #0a66c2; }
.usc-share-whatsapp { background: #25d366; }
.usc-share-telegram { background: #229ed9; }
.usc-share-email { background: #4f46e5; }
.usc-share-copy,
.usc-share-native { background: #334155; }
.usc-share-copy.is-copied { background: #059669; }
.usc-share--stacked {
    flex-direction: column;
    align-items: flex-start;
}
.usc-share--course {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.usc-share--card {
    margin-top: 0.75rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.usc-share--card .usc-share-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.usc-share--card .usc-share-btn {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
}

/* Page détail cours */
.usc-cd {
    background:
        radial-gradient(ellipse 70% 40% at 8% 0%, rgba(99, 102, 241, 0.08), transparent 55%),
        #f8fafc;
}
.usc-cd-top {
    padding: 7rem 0 3.5rem;
}
.usc-cd-crumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    font-size: 0.86rem;
    color: #64748b;
}
.usc-cd-crumb a {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
}
.usc-cd-crumb a:hover { text-decoration: underline; }
.usc-cd-hero {
    position: relative;
    border-radius: 1.35rem;
    overflow: hidden;
    min-height: 280px;
    background: linear-gradient(135deg, #1e3a8a, #312e81);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}
.usc-cd-hero img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.usc-cd-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.4rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 20%, rgba(15, 23, 42, 0.78) 100%);
    color: #fff;
}
.usc-cd-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.7rem;
}
.usc-cd-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}
.usc-cd-badges .is-hot { background: rgba(245, 158, 11, 0.92); border-color: transparent; color: #111827; }
.usc-cd-hero h1 {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
}
.usc-cd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1.1rem;
    margin: 1.1rem 0 1.25rem;
    color: #475569;
    font-size: 0.88rem;
    font-weight: 600;
}
.usc-cd-meta i { color: #4f46e5; margin-right: 0.4rem; }
.usc-cd-block {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 1.2rem;
    padding: 1.3rem 1.4rem 1.35rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.usc-cd-block h2 {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}
.usc-cd-block h2 i { color: #4f46e5; font-size: 0.92rem; }
.usc-cd-block p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}
.usc-cd-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}
.usc-cd-list li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    color: #334155;
    line-height: 1.5;
}
.usc-cd-list i {
    margin-top: 0.2rem;
    color: #059669;
}
.usc-cd-list--soft i { color: #4f46e5; }
.usc-cd-curriculum {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: usc-mod;
    display: grid;
    gap: 0.55rem;
}
.usc-cd-curriculum li {
    counter-increment: usc-mod;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 0.7rem 0.8rem;
    border-radius: 0.85rem;
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
}
.usc-cd-curriculum li::before {
    content: counter(usc-mod, decimal-leading-zero);
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.78rem;
    font-weight: 800;
}
.usc-cd-teacher-row {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.usc-cd-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5, #2563eb);
}
.usc-cd-teacher-name { margin: 0; font-weight: 800; color: #0f172a; }
.usc-cd-teacher-role { margin: 0.15rem 0 0; font-size: 0.82rem; color: #64748b; }
.usc-cd-panel {
    position: sticky;
    top: 96px;
    background: #fff;
    border-radius: 1.35rem;
    padding: 1.45rem 1.4rem 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(15, 23, 42, 0.06);
}
.usc-cd-kicker {
    margin: 0 0 0.2rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6366f1;
}
.usc-cd-price {
    margin: 0 0 1rem;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #312e81;
}
.usc-cd-panel-list {
    list-style: none;
    margin: 0 0 1.15rem;
    padding: 0;
    color: #475569;
    font-size: 0.9rem;
}
.usc-cd-panel-list li {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    padding: 0.35rem 0;
}
.usc-cd-panel-list i { width: 1.1rem; color: #4f46e5; }
.usc-cd-panel .usc-cd-cta,
.usc-cd-panel .btn-enroll-countdown {
    width: 100%;
    border: 0;
    border-radius: 0.9rem;
    font-weight: 800;
    color: #fff !important;
    background: linear-gradient(135deg, #4f46e5, #2563eb) !important;
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.28);
    padding: 0.8rem 1rem;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.usc-cd-back {
    display: block;
    text-align: center;
    margin: 0.75rem 0 0;
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
}
.usc-cd-back:hover { color: #4f46e5; }
.usc-cd-note {
    margin: 0.9rem 0 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.5;
}
.usc-cd-related {
    padding: 0 0 4.5rem;
}
.usc-cd-related-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 1.25rem;
    color: #0f172a;
}
[data-theme="dark"] .usc-cd {
    background:
        radial-gradient(ellipse 70% 40% at 8% 0%, rgba(99, 102, 241, 0.16), transparent 55%),
        #0f172a;
}
[data-theme="dark"] .usc-cd-block,
[data-theme="dark"] .usc-cd-panel {
    background: #1e293b;
    border-color: rgba(148, 163, 184, 0.12);
}
[data-theme="dark"] .usc-cd-block h2,
[data-theme="dark"] .usc-cd-teacher-name,
[data-theme="dark"] .usc-cd-related-title,
[data-theme="dark"] .usc-cd-price { color: #f8fafc; }
[data-theme="dark"] .usc-cd-block p,
[data-theme="dark"] .usc-cd-list li,
[data-theme="dark"] .usc-cd-curriculum li,
[data-theme="dark"] .usc-cd-panel-list,
[data-theme="dark"] .usc-cd-meta,
[data-theme="dark"] .usc-cd-note,
[data-theme="dark"] .usc-cd-teacher-role { color: #cbd5e1; }
[data-theme="dark"] .usc-cd-curriculum li { background: #0f172a; }
[data-theme="dark"] .usc-cd-crumb { color: #94a3b8; }

@media (max-width: 991.98px) {
    .usc-cd-panel { position: static; }
    .usc-cd-hero img { height: 240px; }
}
