/* ============================================
   DWC — Nav pilule flottante, halos, cartes glass
   Adapté de la structure stitch (palette or/violet)
   ============================================ */

/* Glass générique */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-hover:hover {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.1);
}

/* Gradient texte DWC : doré -> violet */
.dwc-text-gradient {
    background: linear-gradient(to right, #f59e0b, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dwc-body {
    background-color: #0a0812;
    color: #f8fafc;
}

/* Halos de fond (or + violet) */
.dwc-halo-or {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.16);
    filter: blur(120px);
    pointer-events: none;
}
.dwc-halo-violet {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 9999px;
    background: rgba(168, 85, 247, 0.13);
    filter: blur(150px);
    pointer-events: none;
}

/* Nav pilule flottante */
.dwc-nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 80rem;
    padding: 0.75rem 2rem;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
    background: rgba(10, 8, 18, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.12);
}

.dwc-nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.dwc-nav-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b, #a855f7);
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: 0.9rem;
    color: #0a0812;
    flex-shrink: 0;
}

.dwc-nav-logo span.dwc-logo-text {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #f59e0b, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Space Grotesk', sans-serif;
    white-space: nowrap;
}

.dwc-nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .dwc-nav-links { display: flex; }
}

.dwc-nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
}

.dwc-nav-links a.active {
    color: #fbbf24;
    border-bottom: 2px solid #f59e0b;
    padding-bottom: 0.25rem;
}

.dwc-nav-links a:not(.active) {
    color: #9d97b2;
}

.dwc-nav-links a:not(.active):hover {
    color: #f8fafc;
}

.dwc-nav-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f59e0b, #a855f7);
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: none;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.dwc-nav-cta::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.3), transparent 40%);
    animation: nav-cta-spin 3s linear infinite;
}

@keyframes nav-cta-spin { to { transform: rotate(360deg); } }

.dwc-nav-cta span,
.dwc-nav-cta {
    position: relative;
    z-index: 1;
}

.dwc-nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.5);
    color: white;
}

.dwc-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.dwc-nav-toggle span {
    width: 22px;
    height: 2px;
    background: #f8fafc;
    border-radius: 9999px;
    transition: all 0.3s;
}

@media (max-width: 767px) {
    .dwc-nav { padding: 0.75rem 1.25rem; width: 95%; }
    .dwc-nav-toggle { display: flex; }
    .dwc-nav-cta.nav-only { display: none; }
}

/* Menu mobile */
.dwc-mobile-menu {
    display: none;
    position: fixed;
    top: 5rem;
    left: 5%;
    right: 5%;
    z-index: 49;
    background: rgba(10, 8, 18, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
}

.dwc-mobile-menu.open { display: flex; }

.dwc-mobile-menu a {
    color: #9d97b2;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
}

.dwc-mobile-menu a:hover,
.dwc-mobile-menu a.active {
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.1);
}

.dwc-mobile-menu .mobile-cta {
    background: linear-gradient(135deg, #f59e0b, #a855f7);
    color: white;
    text-align: center;
    font-weight: 700;
    border-radius: 9999px;
    padding: 0.75rem 1.5rem;
}

.dwc-mobile-menu .mobile-cta:hover {
    color: white;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
}

/* ============================================
   CARTES SERVICES « uv-card »
   (structure de carte riche : visuel, header,
   badges, tags, mini-stats)
   ============================================ */

.uv-card {
    width: 100%;
    border-radius: 20px;
    background: #120d1f;
    padding: 5px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
}

.uv-card:hover { transform: scale(1.03); border-color: rgba(255,255,255,0.15); }

.uv-top {
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 110px;
    aspect-ratio: 16/6;
}

.uv-border {
    border-bottom-right-radius: 10px;
    height: 30px;
    width: 120px;
    background: #120d1f;
    position: relative;
    transform: skew(-40deg);
    box-shadow: -10px -10px 0 0 #120d1f;
}

.uv-top::before {
    content: "";
    position: absolute;
    top: 30px; left: 0;
    background: transparent;
    height: 15px; width: 15px;
    border-top-left-radius: 15px;
    box-shadow: -5px -5px 0 2px #120d1f;
}

.uv-top-emoji {
    position: absolute;
    top: 0; right: 0;
    height: 30px;
    display: flex;
    align-items: center;
    padding-right: 10px;
    font-size: 1.05rem;
}

.uv-icons {
    position: absolute;
    top: 0; width: 100%; height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uv-logo {
    height: 100%;
    aspect-ratio: 1;
    padding: 6px 0 6px 12px;
    display: flex; align-items: center;
}

.uv-bottom {
    padding: 12px 12px 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.uv-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
}

.uv-header-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.uv-header-text { flex: 1; min-width: 0; }

.uv-title {
    display: block;
    font-size: 0.9375rem;
    font-weight: 800;
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.uv-badges {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    flex-wrap: wrap;
}

.uv-cat-badge {
    font-size: 0.5625rem;
    padding: 1px 7px;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 4px;
    color: #c084fc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.uv-pop-badge {
    font-size: 0.5625rem;
    padding: 1px 7px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: 4px;
    color: #fbbf24;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: 3px;
}

.uv-desc {
    font-size: 0.75rem;
    color: rgba(169, 164, 189, 0.9);
    line-height: 1.5;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uv-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.uv-benefits li {
    font-size: 0.6875rem;
    color: rgba(169, 164, 189, 0.85);
    padding-left: 14px;
    position: relative;
    margin-bottom: 2px;
    line-height: 1.5;
}

.uv-benefits li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-size: 0.5625rem;
    top: 3px;
}

.uv-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
    margin-top: auto;
}

.uv-tech {
    font-size: 0.5625rem;
    padding: 2px 7px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.18);
    border-radius: 4px;
    color: rgba(169, 164, 189, 0.95);
    font-weight: 500;
}

.uv-tech-more {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.18);
    color: #c084fc;
}

.uv-price {
    font-size: 0.625rem;
    font-weight: 700;
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.18);
    border-radius: 999px;
    padding: 2px 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.uv-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 10px;
    margin-top: 10px;
}

.uv-stat {
    flex: 1;
    text-align: center;
    padding: 2px 4px;
}

.uv-stat:nth-child(2) {
    border-left: 1px solid rgba(255,255,255,0.08);
    border-right: 1px solid rgba(255,255,255,0.08);
}

.uv-stat-big {
    font-size: 0.8125rem;
    font-weight: 800;
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    color: #fbbf24;
}

.uv-stat-label {
    font-size: 0.5625rem;
    color: rgba(148, 148, 168, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cartes processus / publics */
.dwc-step-card {
    position: relative;
    background: rgba(18, 13, 31, 0.6);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.4s;
}

.dwc-step-card:hover {
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.08);
    transform: translateY(-4px);
}

.dwc-step-num {
    width: 3rem; height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #0a0812;
    background: linear-gradient(135deg, #f59e0b, #a855f7);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.3);
    margin-bottom: 1.25rem;
}

/* ============================================
   SECTION HEADERS
   ============================================ */

.dwc-section-head h2 {
    font-size: clamp(1.75rem, 4vw, 3rem);
}

.dwc-underline {
    width: 6rem;
    height: 0.375rem;
    background: linear-gradient(to right, #f59e0b, #a855f7);
    border-radius: 9999px;
}

.dwc-underline-alt {
    width: 6rem;
    height: 0.375rem;
    background: linear-gradient(to right, #a855f7, #10b981);
    border-radius: 9999px;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    .dwc-mobile-menu { top: 4.5rem; }
    .uv-card:hover { transform: scale(1.0); }
}