/* Reset de base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Base */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #0b1020;
    background: #050814;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Titres génériques */
h1, h2, h3, h4 {
    color: #f5f5ff;
    font-weight: 600;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: #f5f5ff;
}

.logo img {
    width: 32px;
    height: 32px;
    border-radius: 0.9rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    font-size: 0.95rem;
}

.main-nav a {
    color: #d0d3ff;
    opacity: 0.85;
}

.main-nav a:hover,
.main-nav a.active {
    opacity: 1;
    color: #ffffff;
}

/* Boutons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #4c6fff, #b794ff);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 12px 30px rgba(76, 111, 255, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 40px rgba(76, 111, 255, 0.55);
    opacity: 0.95;
}

.btn-ghost {
    background: transparent;
    border: 1px solid rgba(188, 197, 255, 0.7);
    box-shadow: none;
    color: #d0d3ff;
}

.btn-ghost:hover {
    background: rgba(45, 55, 130, 0.6);
    box-shadow: 0 8px 24px rgba(45, 55, 130, 0.6);
}

.btn-light {
    background: #f5f5ff;
    color: #141622;
    box-shadow: 0 10px 26px rgba(255, 255, 255, 0.2);
}

.btn-small {
    padding: 0.35rem 0.95rem;
    font-size: 0.85rem;
}

/* Burger (mobile) */

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    width: 20px;
    height: 2px;
    background: #f5f5ff;
    border-radius: 999px;
}

/* HOME : Hero */

.hero {
    padding: 3.5rem 0 3rem;
    background: radial-gradient(circle at top left, #293b86 0, transparent 55%), #050814;
    color: #f5f5ff;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.1rem, 3vw, 2.8rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1rem;
    color: #d0d3ff;
    max-width: 36rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.4rem 0 1rem;
}

.hero-bullets {
    list-style: none;
    display: grid;
    gap: 0.3rem;
    font-size: 0.95rem;
    color: #c0c5ff;
}

.hero-panel {
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 55%);
    border-radius: 1.25rem;
    padding: 1.6rem 1.5rem;
    border: 1px solid rgba(188, 197, 255, 0.25);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

.hero-panel h2 {
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
}

.hero-panel p {
    font-size: 0.95rem;
    color: #d0d3ff;
    margin-bottom: 0.9rem;
}

.panel-list {
    list-style: none;
    display: grid;
    gap: 0.3rem;
    font-size: 0.9rem;
    color: #c0c5ff;
}

/* HOME : 3 colonnes */

.three-cols {
    padding: 2.5rem 0 1.5rem;
    background: #050814;
}

.three-cols-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    color: #e3e6ff;
}

.three-cols h3 {
    margin-bottom: 0.5rem;
    font-size: 1.02rem;
}

.three-cols p {
    font-size: 0.94rem;
    color: #c4c8f5;
}

/* HOME : Use cases / cartes */

.usecases {
    padding: 2.5rem 0 3rem;
    background: radial-gradient(circle at center, #11183a 0, #050814 65%);
    color: #f5f5ff;
}

.usecases h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.4rem;
}

.card {
    background: rgba(10, 13, 35, 0.9);
    border-radius: 1rem;
    padding: 1.2rem 1.1rem;
    border: 1px solid rgba(188, 197, 255, 0.18);
    font-size: 0.95rem;
}

/* CTA commune */

.cta {
    padding: 2.5rem 0;
    background: #050814;
}

.cta-inner {
    border-radius: 1.2rem;
    border: 1px solid rgba(188, 197, 255, 0.4);
    padding: 1.6rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: radial-gradient(circle at top left, rgba(76, 111, 255, 0.35), transparent 55%);
    color: #f5f5ff;
}

/* Footer */

.site-footer {
    padding: 1.8rem 0 2rem;
    background: #050814;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #9ca3d9;
    font-size: 0.88rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #cfd3ff;
}

.footer-meta {
    opacity: 0.8;
}

/* PAGES INTERNES */

.page {
    background: #050814;
    color: #f5f5ff;
    min-height: calc(100vh - 64px - 120px);
}

/* Hero des pages internes */
.page-hero {
    padding: 3.2rem 0 2.4rem;
    background: radial-gradient(circle at top left, #293b86 0, transparent 55%), #050814;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-hero h1 {
    font-size: 2rem;
    margin-bottom: 0.6rem;
}

.page-hero .lead {
    max-width: 40rem;
    color: #d0d3ff;
}

/* Section générique interne */

.page-section {
    padding: 2.2rem 0 1.8rem;
    background: #050814;
}

.page-section-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.page-section p {
    color: #cfd3ff;
    font-size: 0.96rem;
}

/* CLIENT / ADMIN */

.client-page {
    background: #050814;
    color: #f5f5ff;
    min-height: calc(100vh - 64px - 120px);
}

.client-wrapper {
    max-width: 480px;
    margin: 2.5rem auto 2rem;
    padding: 1.8rem 1.6rem 1.4rem;
    background: rgba(10, 13, 35, 0.95);
    border-radius: 1.2rem;
    border: 1px solid rgba(188, 197, 255, 0.3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.client-wrapper h1 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.client-wrapper p {
    font-size: 0.9rem;
    color: #cfd3ff;
    margin-bottom: 1rem;
}

.client-form {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.4rem;
}

.client-form label {
    display: grid;
    gap: 0.2rem;
    font-size: 0.88rem;
}

.client-form input,
.client-form select,
.client-form textarea {
    border-radius: 0.7rem;
    border: 1px solid rgba(188, 197, 255, 0.35);
    padding: 0.6rem 0.75rem;
    background: rgba(5, 8, 20, 0.9);
    color: #f5f5ff;
    font-family: inherit;
    font-size: 0.9rem;
}

.client-form input:focus,
.client-form select:focus,
.client-form textarea:focus {
    outline: none;
    border-color: #4c6fff;
    box-shadow: 0 0 0 1px rgba(76, 111, 255, 0.4);
}

.alert {
    padding: 0.6rem 0.75rem;
    border-radius: 0.7rem;
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.6);
    color: #fecaca;
}

.alert-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #bbf7d0;
}

.client-header {
    padding: 1.2rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.client-header h1 {
    font-size: 1.3rem;
    color: #f5f5ff;
}

.client-header p {
    font-size: 0.9rem;
    color: #cfd3ff;
}

.client-main {
    padding: 1.4rem 1.5rem 2rem;
}

.client-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #cfd3ff;
    margin-bottom: 0.9rem;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    border: 1px solid rgba(188, 197, 255, 0.4);
    color: #e5e7ff;
}

.client-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #d0d3ff;
}

.client-table th,
.client-table td {
    padding: 0.45rem 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.client-table th {
    font-weight: 600;
    color: #f5f5ff;
}

/* Responsive global */

@media (max-width: 800px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .three-cols-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        position: absolute;
        inset: 64px 0 auto;
        flex-direction: column;
        background: rgba(5, 8, 20, 0.98);
        padding: 0.8rem 1.5rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.18s ease, opacity 0.18s ease;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .burger {
        display: flex;
    }

    .client-wrapper {
        margin: 2rem 1.4rem;
    }
}

/* ---- TARIFS : section moderne 3 volets ---- */

.pricing-section {
    padding: 4rem 0 5rem;
    background: radial-gradient(circle at center, #11183a 0, #050814 65%);
}

.pricing-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.pricing-header h2 {
    font-size: clamp(2rem, 2.6vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.pricing-header p {
    color: #cfd3ff;
    font-size: 0.95rem;
}

/* Grille des 3 volets */
.pricing-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

/* Carte tarif */
.pricing-plan {
    background: #ffffff;
    border-radius: 1.25rem;
    border: 1px solid #e5e7eb;
    padding: 2.25rem 2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-plan:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    border-color: #c4a676;
}

.plan-header h3 {
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
    color: #111827;
}

.plan-tagline {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Prix */
.plan-price {
    margin: 1.5rem 0 1.75rem;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
}

.plan-price .amount {
    font-size: 2.1rem;
    font-weight: 700;
    color: #111827;
}

.plan-price .period {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Liste des features */
.plan-features {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    font-size: 0.95rem;
    color: #374151;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.55rem;
}

/* Petit bullet rond moderne */
.plan-features li::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: #c4a676;
}

/* Boutons tarifs */
.plan-btn-primary,
.plan-btn-outline {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-btn-primary {
    background: #111827;
    color: #ffffff;
    border: 1px solid #111827;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.plan-btn-primary:hover {
    background: #000000;
    border-color: #000000;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.35);
}

.plan-btn-outline {
    background: transparent;
    color: #111827;
    border: 1px solid #d1d5db;
}

.plan-btn-outline:hover {
    border-color: #111827;
    color: #111827;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

/* Plan mis en avant */
.pricing-plan.featured {
    border-width: 2px;
    border-color: #c4a676;
    background: radial-gradient(circle at top left, #fef3c7 0, #ffffff 50%);
    transform: translateY(-4px);
}

.pricing-plan.featured:hover {
    transform: translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 1.3rem;
    right: 1.5rem;
    background: #c4a676;
    color: #111827;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive cartes tarifs */
@media (max-width: 768px) {
    .pricing-plan {
        padding: 1.8rem 1.5rem;
    }

    .plan-price .amount {
        font-size: 1.8rem;
    }
}

/* ---- Page "Fonctionnalités" : grille 2 colonnes ---- */

.grid-2col {
    padding: 2.2rem 0 1.8rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: flex-start;
    color: #f5f5ff;
}

.grid-2col h2 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.grid-2col p {
    color: #cfd3ff;
}

/* Liste de fonctionnalités */

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.4rem;
    font-size: 0.95rem;
    color: #cfd3ff;
    margin-top: 0.4rem;
}

.feature-list li {
    position: relative;
    padding-left: 1.1rem;
}

/* Petit bullet accentué */
.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4c6fff;
}

/* Responsive grille features */

@media (max-width: 800px) {
    .grid-2col {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.8rem;
        padding: 2rem 0 1.6rem;
    }
}

/* ---- Page Contact : grille + formulaire ---- */

.contact-grid {
    padding: 2.5rem 0 2.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 2.5rem;
    color: #f5f5ff;
}

.contact-grid h2 {
    font-size: 1.35rem;
    margin-bottom: 0.6rem;
}

.contact-grid p {
    color: #cfd3ff;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.contact-grid ul {
    list-style: none;
    margin: 0.6rem 0 1.2rem;
    padding: 0;
    color: #cfd3ff;
    font-size: 0.95rem;
}

.contact-grid ul li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.3rem;
}

.contact-grid ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #4c6fff;
}

/* Formulaire de contact */

.contact-form {
    margin-top: 0.8rem;
    display: grid;
    gap: 0.7rem;
}

.contact-form label {
    display: grid;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: #e5e7ff;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    border-radius: 0.7rem;
    border: 1px solid rgba(188, 197, 255, 0.35);
    padding: 0.6rem 0.75rem;
    background: rgba(5, 8, 20, 0.9);
    color: #f5f5ff;
    font-family: inherit;
    font-size: 0.9rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6b7280;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #4c6fff;
    box-shadow: 0 0 0 1px rgba(76, 111, 255, 0.4);
}

.contact-form .btn {
    margin-top: 0.4rem;
}

.small-text {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: #9ca3d9;
}

/* Colonne latérale contact */

.contact-side {
    padding: 1.4rem 1.2rem;
    border-radius: 1.1rem;
    background: rgba(10, 13, 35, 0.95);
    border: 1px solid rgba(188, 197, 255, 0.28);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.55);
    font-size: 0.95rem;
}

.contact-side p {
    margin-bottom: 0.8rem;
}

/* Responsive contact */

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2rem;
    }

    .contact-side {
        padding: 1.2rem 1rem;
    }
}

/* ---- Bandes de contenu pour les pages internes ---- */

.section-slab {
    padding: 2.5rem 0 2.2rem;
    background: #050814;
}

.section-slab-alt {
    background: radial-gradient(circle at center, #11183a 0, #050814 65%);
}

.section-slab + .section-slab {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* ===========================
   UI DRIVE MODERNE (espace_drive.php)
   =========================== */

/* Wrapper plus large pour le Drive */
.client-wrapper-drive {
    max-width: 980px;
}

/* Grille / conteneur */

.sd-grid-wrapper {
    margin-top: 1.2rem;
}

.sd-grid-breadcrumb {
    margin-bottom: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.7rem;
    border: 1px dashed rgba(148, 163, 255, 0.4);
    background: rgba(15, 23, 42, 0.9);
    color: #e5e7ff;
    font-size: 0.85rem;
}

.sd-grid-breadcrumb a {
    color: inherit;
}

.sd-grid-empty {
    padding: 1.2rem 1rem;
    border-radius: 0.9rem;
    border: 1px dashed rgba(148, 163, 255, 0.35);
    background: rgba(15, 23, 42, 0.85);
    color: #cbd5f5;
    font-size: 0.9rem;
}

/* Grille type Finder */

.sd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.6rem;
}

/* Cartes */

.sd-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    padding: 1.2rem 1rem;
    border-radius: 1.2rem;
    background: rgba(20, 24, 40, 0.92);
    border: 1px solid rgba(150, 160, 255, 0.25);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    font-size: 0.9rem;
}

.sd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(0,0,0,0.5);
    border-color: rgba(191, 219, 254, 0.8);
}

.sd-card-folder {
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.18), rgba(10, 13, 35, 0.96));
}

.sd-card-main {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.sd-card-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
}

.sd-card-thumb {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(30, 32, 64, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sd-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sd-card-text {
    flex: 1;
    min-width: 0;
}

.sd-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f9fafb;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    /* IMPORTANT pour éviter le fond gris du <button> */
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
}

.sd-card-title:focus {
    outline: none;
}

}

.sd-card-meta {
    font-size: 0.85rem;
    color: #9ca3d9;
    margin-top: 0.3rem;
}

.sd-card-actions {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.sd-card-actions button {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #bfc7ff;
}

/* Zone de dépôt */

.sd-dropzone {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    padding: 2rem 1rem;
    border-radius: 1.2rem;
    border: 2px dashed rgba(148, 163, 255, 0.55);
    background: rgba(15, 23, 42, 0.7);
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sd-dropzone:hover {
    background: rgba(30, 35, 75, 0.85);
    border-color: rgba(180, 200, 255, 0.9);
}

.sd-dropzone-active {
    background: rgba(55, 65, 120, 0.95) !important;
    border-color: rgba(191, 219, 254, 1) !important;
}

.sd-dropzone-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.sd-dropzone-title {
    margin: 0;
    font-size: 1.3rem;
    color: #f0f4ff;
    font-weight: 600;
}

.sd-dropzone-sub {
    margin: 0.2rem 0 0 0;
    color: #cbd5f5;
    font-size: 0.9rem;
}

/* Dossiers comme zones de drop */

.sd-card[data-drop-folder-id]:hover {
    outline: 1px dashed rgba(148, 163, 255, 0.8);
    outline-offset: 2px;
}

/* Modal de prévisualisation */

.sd-hidden {
    display: none;
}

.sd-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
}

.sd-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
}

.sd-modal-dialog {
    position: relative;
    max-width: 80vw;
    max-height: 80vh;
    margin: 5vh auto 0 auto;
    background: #050814;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 255, 0.5);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    overflow: hidden;
}

.sd-modal-close {
    position: absolute;
    top: 0.4rem;
    right: 0.7rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #f9fafb;
    cursor: pointer;
}

.sd-modal-body {
    padding: 2.2rem 1.8rem 1.6rem;
}

.sd-modal-img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
}

.sd-modal-frame {
    width: 100%;
    height: 70vh;
    border: none;
}

/* Menu contextuel */

.sd-context {
    position: absolute;
    z-index: 1000;
    background: #050814;
    border-radius: 0.7rem;
    border: 1px solid rgba(148, 163, 255, 0.4);
    box-shadow: 0 14px 28px rgba(0,0,0,0.7);
    padding: 0.3rem 0;
}

.sd-context button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.4rem 0.9rem;
    background: none;
    border: none;
    color: #e5e7ff;
    font-size: 0.9rem;
    cursor: pointer;
}

.sd-context button:hover {
    background: rgba(148, 163, 255, 0.12);
}

/* ==== PATCH DRIVE LARGE ==== */
.client-wrapper.client-wrapper-drive {
    max-width: 980px !important;
    width: 100% !important;
}

/* ===========================
   UI DRIVE MODERNE
   =========================== */

.client-wrapper-drive {
    max-width: 980px;
    margin: 2rem auto;
}

/* Grille */

.sd-grid-wrapper {
    margin-top: 1.2rem;
}

.sd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.6rem;
}

/* Cartes génériques */

.sd-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 150px;
    padding: 1.2rem 1rem;
    border-radius: 1.2rem;
    background: rgba(20, 24, 40, 0.92);
    border: 1px solid rgba(150, 160, 255, 0.25);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    font-size: 0.9rem;
}

.sd-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(0,0,0,0.5);
    border-color: rgba(191, 219, 254, 0.8);
}

/* Carte dossier */

.sd-card-folder {
    background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.18), rgba(10, 13, 35, 0.96));
}

/* En-tête de carte */

.sd-card-main {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
}

.sd-card-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
}

.sd-card-text {
    flex: 1;
    min-width: 0;
}

/* TITRE du fichier/dossier */

.sd-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #f9fafb;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;

    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    cursor: pointer;
}

.sd-card-title:focus {
    outline: none;
}

/* Métadonnées */

.sd-card-meta {
    font-size: 0.85rem;
    color: #9ca3d9;
    margin-top: 0.3rem;
}

/* Actions */

.sd-card-actions {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.85rem;
}

.sd-card-actions button {
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #bfc7ff;
}

/* Dropzone */

.sd-dropzone {
    margin-top: 1.5rem;
    padding: 2rem 1rem;
    border-radius: 1.2rem;
    border: 2px dashed rgba(148, 163, 255, 0.55);
    background: rgba(15, 23, 42, 0.7);
    text-align: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sd-dropzone:hover {
    background: rgba(30, 35, 75, 0.85);
    border-color: rgba(180, 200, 255, 0.9);
}

.sd-dropzone-active {
    background: rgba(55, 65, 120, 0.95) !important;
    border-color: rgba(191, 219, 254, 1) !important;
}

.sd-dropzone-icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.sd-dropzone-title {
    margin: 0;
    font-size: 1.3rem;
    color: #f0f4ff;
    font-weight: 600;
}

.sd-dropzone-sub {
    margin: 0.2rem 0 0 0;
    color: #cbd5f5;
    font-size: 0.9rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    margin-left: 0.3rem;
}

.sd-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.sd-by {
    font-size: 0.75rem;
    margin-top: -2px;
    color: #7ea1ff; /* bleu discret, modifiable si tu veux */
    text-decoration: none;
}

.sd-by:hover {
    text-decoration: underline;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    margin-left: 0.3rem;
}

.sd-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.sd-by {
    font-size: 0.75rem;
    margin-top: -2px;
    color: #7ea1ff; /* bleu discret, modifiable si tu veux */
    text-decoration: none;
}

.sd-by:hover {
    text-decoration: underline;
}

.btn-return.small {
    padding: 0.25rem 0.6rem;
    margin-left: 0.5rem;
    background: #ffe2b8;
    color: #000;
    font-weight: 600;
    border-radius: 4px;
    white-space: nowrap; /* Ne passe jamais sur 2 lignes */
    display: inline-block;
    transition: 0.25s ease;
}

.btn-return.small:hover {
    background: #ffcf85;
}

/* Tableau comparatif fonctionnalités */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* colonnes bien alignées */
    font-size: 0.9rem;
}

.comparison-table col.col-critere {
    width: 28%;
}
.comparison-table col.col-email,
.comparison-table col.col-drive,
.comparison-table col.col-wt {
    width: 14%;
}
.comparison-table col.col-securedrop {
    width: 30%;
}

.comparison-table thead th {
    text-align: center;
    padding: 0.6rem 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.comparison-table tbody td {
    padding: 0.5rem 0.8rem;
    text-align: center;
    vertical-align: middle;
}

/* Première colonne : texte à gauche */
.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

/* Colonnes avec les emojis : un peu plus gros */
.comparison-table td:nth-child(2),
.comparison-table td:nth-child(3),
.comparison-table td:nth-child(4) {
    font-size: 1.1rem;
}

/* Légères bandes alternées (facultatif) */
.comparison-table tbody tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
}
