:root {
    --primary-color: #4a90e2;
    --secondary-color: #764ba2;
    --light-color: #c2e9fb;
    --dark-color: #157347;
    --danger-color: #a33d3d;
    --background-gradient: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
    --navbar-gradient: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --card-background: rgba(255, 255, 255, 0.85);
    --card-shadow: 0 2px 9px #a1c4fd80;
    --btn-primary-gradient: linear-gradient(90deg, var(--primary-color), var(--light-color));
    --btn-primary-hover-gradient: linear-gradient(90deg, var(--light-color), var(--primary-color));
}

body {
    background: var(--background-gradient);
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid rgba(118, 75, 162, 0.2);
    backdrop-filter: blur(6px);
}

.site-footer .footer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus {
    color: var(--primary-color);
    text-decoration: underline;
}

.flash-toast {
    position: fixed;
    top: 12px;
    right: 24px;
    z-index: 2000;
    min-width: 260px;
    max-width: 420px;
    padding: 14px 16px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(28, 26, 44, 0.16);
    color: #fff;
    background: var(--bs-success);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.flash-toast.flash-toast-error {
    background: var(--bs-danger);
}

.flash-toast.flash-toast-show {
    opacity: 1;
    transform: translateY(0);
}

.flash-toast-content {
    font-weight: 600;
}

@media (max-width: 768px) {
    .flash-toast {
        top: 8px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .site-footer .footer-inner {
        align-items: center !important;
        text-align: center;
    }
    .site-footer .footer-links {
        justify-content: center;
    }
}

.navbar-custom {
    background: var(--navbar-gradient) !important;
    box-shadow: 0 4px 18px 0 rgba(112, 80, 180, 0.11);
}

.navbar-brand,
.nav-link,
.navbar-text {
    color: #fff !important;
}

.navbar .btn-outline-light {
    border-color: #fff;
    color: #fff;
}

.navbar .btn-outline-light:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    display: inline-block;
    width: auto;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.navbar .nav-link.active {
    /*  border-bottom: 3px solid #fff !important; */
    font-weight: bold;
    background: none !important;
    color: #fff !important;
    width: auto;
    display: inline-block;
}

.card {
    border-radius: 16px;
    border: none;
    background: var(--card-background);
    box-shadow: var(--card-shadow);
}

.card h4 {
    color: var(--primary-color);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px #a1c4fd80;
}

.btn-primary {
    background: var(--btn-primary-gradient);
    border: none;
    color: #fff;
    font-weight: bold;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--btn-primary-hover-gradient);
    color: #fff;
}

.btn-link {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline dotted;
}

#ajaxMsg.text-success {
    color: var(--dark-color) !important;
}

#ajaxMsg.text-danger {
    color: var(--danger-color) !important;
}

@media (max-width: 767px) {
    .container {
        padding-top: 30px;
    }
}

@media (max-width: 576px) {
    #audioList .list-group-item {
        flex-direction: column !important;
        text-align: left;
    }

    #audioList .btn {
        margin-top: 6px;
        width: 100%;
    }

    #reunionList .list-group-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    #reunionList .actions-reunion {
        width: 100%;
        justify-content: start !important;
        margin-top: .5rem;
    }

    #reunionList .btn {
        width: 48px;
        margin-right: .5rem;
        margin-bottom: .5rem;
        padding-left: 0;
        padding-right: 0;
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }
}

.resume-html-content {
    font-size: clamp(1.05rem, 2.5vw, 1.16rem);
    line-height: 1.7;
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
    word-break: break-word;
    overflow-x: auto;
}

@media (max-width: 600px) {

    .resume-html-content h1,
    .resume-html-content h2 {
        font-size: 1.1em;
    }

    .resume-html-content h3 {
        font-size: 1em;
    }
}

.resume-html-content ul,
.resume-html-content ol {
    padding-left: 1.2em;
}

/* Style onglets : couleur thème du titre de réunion */
.nav-tabs .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link:focus {
    color: var(--primary-color) !important;
    font-weight: bold;
    letter-spacing: 0.5px;
    /*    border-bottom: 2px solid transparent; */
}

.navbar .nav-link.active {
    /*    border-bottom: 3px solid #fff !important; */
    color: #fff !important;
    font-weight: bold !important;
    background: none !important;
    width: auto;
    display: inline-block;
}

.text-theme {
    color: var(--primary-color) !important;
}

.text-theme:hover,
.text-theme:focus {
    text-decoration: underline !important;
    color: var(--light-color) !important;
}

.titre-theme {
    color: var(--primary-color) !important;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Landing page */
.landing {
    color: #1e1e1e;
}

.landing-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, #f9d9a0 0%, #f7f0df 35%, #e7f1f4 100%);
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    opacity: 0.25;
    z-index: 0;
}

.landing-hero::before {
    width: 420px;
    height: 420px;
    background: #f97316;
    top: -120px;
    right: -120px;
}

.landing-hero::after {
    width: 520px;
    height: 520px;
    background: #0ea5a4;
    bottom: -220px;
    left: -180px;
}

.landing-hero .container,
.landing-features .container,
.landing-workflow .container,
.landing-contact .container,
.landing-cta .container {
    position: relative;
    z-index: 1;
}

.eyebrow .badge {
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-weight: 600;
}

.hero-highlights {
    display: grid;
    gap: 0.75rem;
    max-width: 420px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    font-weight: 600;
    box-shadow: 0 12px 20px rgba(15, 23, 42, 0.08);
}

.highlight-item i {
    color: #0f766e;
    font-size: 1.2rem;
}

.hero-visual {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.visual-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    padding: 1.5rem;
}

.visual-card-main {
    width: 100%;
    max-width: 420px;
}

.visual-card-side {
    position: absolute;
    top: 40px;
    left: 10px;
    width: 200px;
    padding: 1.25rem;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.3);
}

.visual-header {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.visual-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.visual-body {
    display: grid;
    gap: 1rem;
}

.visual-row {
    display: flex;
    gap: 0.9rem;
    align-items: center;
}

.visual-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fef3c7;
    color: #b45309;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.visual-title {
    font-weight: 700;
}

.visual-meta {
    font-size: 0.9rem;
    color: #64748b;
}

.visual-kpi {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
}

.visual-kpi:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.kpi-label {
    font-size: 0.85rem;
    color: #cbd5f5;
}

.kpi-value {
    font-size: 1.6rem;
    font-weight: 700;
}

.visual-glow {
    position: absolute;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.35), rgba(14, 165, 233, 0));
    bottom: -40px;
    right: 60px;
    z-index: -1;
}

.landing-features {
    background: #fffaf0;
}

.section-title {
    max-width: 640px;
}

.section-title p {
    margin-bottom: 0;
    color: #475569;
}

.feature-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 14px 30px rgba(30, 41, 59, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 220px;
}

.feature-card i {
    font-size: 1.6rem;
    color: #0f766e;
    margin-bottom: 0.9rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(30, 41, 59, 0.14);
}

.landing-workflow {
    background: linear-gradient(120deg, #e3f2f2, #fdf6e8);
}

.step-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.6rem;
    border: 1px solid rgba(15, 118, 110, 0.15);
    min-height: 200px;
}

.step-number {
    font-size: 1rem;
    font-weight: 700;
    color: #0f766e;
    letter-spacing: 0.2rem;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.metric {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    padding: 1.2rem 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.metric-value {
    font-weight: 700;
    font-size: 1.2rem;
}

.metric-label {
    color: #475569;
    font-size: 0.95rem;
}

.landing-cta {
    background: linear-gradient(120deg, #0f172a, #1f2937);
    color: #fff;
}

.cta-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(15, 23, 42, 0.7);
    border-radius: 22px;
    padding: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-panel p {
    margin: 0;
    color: #e2e8f0;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.landing-contact {
    background: #f8fafc;
}

.contact-card,
.login-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.contact-alt {
    display: grid;
    gap: 0.5rem;
    color: #475569;
    font-weight: 600;
}

.contact-alt i {
    margin-right: 0.5rem;
    color: #0f766e;
}

.login-card .form-label,
.contact-card .form-label {
    font-weight: 600;
    color: #1e293b;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.landing-hero .container {
    animation: floatIn 0.8s ease-out both;
}

.landing-features .feature-card {
    animation: fadeUp 0.7s ease both;
}

.landing-features .feature-card:nth-child(1) { animation-delay: 0.05s; }
.landing-features .feature-card:nth-child(2) { animation-delay: 0.12s; }
.landing-features .feature-card:nth-child(3) { animation-delay: 0.18s; }
.landing-features .feature-card:nth-child(4) { animation-delay: 0.24s; }
.landing-features .feature-card:nth-child(5) { animation-delay: 0.3s; }
.landing-features .feature-card:nth-child(6) { animation-delay: 0.36s; }

@media (max-width: 991px) {
    .hero-visual {
        justify-content: center;
        margin-top: 2rem;
    }

    .visual-card-side {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 1.5rem;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .landing-hero {
        text-align: left;
    }

    .highlight-item {
        font-size: 0.95rem;
    }

    .cta-panel {
        padding: 1.8rem;
    }
}

/* Premium tech landing */
.landing-tech {
    color: #0f172a;
}

.landing-hero-tech {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(118, 75, 162, 0.22), transparent 55%),
        linear-gradient(120deg, rgba(74, 144, 226, 0.22), rgba(118, 75, 162, 0.25));
}

.hero-fireflies {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(74, 144, 226, 0.22), transparent 60%),
        linear-gradient(120deg, rgba(118, 75, 162, 0.18), rgba(74, 144, 226, 0.15));
}

.hero-fireflies::before,
.hero-fireflies::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
    background: var(--primary-color);
}

.hero-fireflies::before {
    top: -140px;
    right: -120px;
}

.hero-fireflies::after {
    bottom: -160px;
    left: -140px;
    background: var(--secondary-color);
}

.hero-fireflies .container {
    position: relative;
    z-index: 1;
}

.hero-alert {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff;
    border-radius: 999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    font-weight: 600;
    width: fit-content;
}

.hero-alert a {
    color: var(--secondary-color);
    text-decoration: none;
}

.hero-badge {
    background: var(--secondary-color);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.trust-score {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.75);
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
}

.trust-score span {
    color: #64748b;
    font-weight: 500;
}

.trust-score i {
    color: #f59e0b;
}

.trust-tags {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.trust-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    color: #475569;
}

.hero-board {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    padding: 1.6rem;
    box-shadow: 0 26px 60px rgba(30, 41, 59, 0.18);
    backdrop-filter: blur(12px);
}

.board-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.2rem;
}

.board-title {
    font-weight: 700;
}

.board-pill {
    background: rgba(74, 144, 226, 0.2);
    color: var(--secondary-color);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.board-card {
    background: #fff;
    border-radius: 16px;
    padding: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.board-card ul {
    padding-left: 1rem;
    margin: 0.4rem 0 0;
    color: #475569;
}

.board-card-wide {
    grid-column: span 2;
}

.board-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    height: 46px;
    margin-top: 0.6rem;
}

.board-bars span {
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
}

.board-bars span:nth-child(1) { height: 40%; }
.board-bars span:nth-child(2) { height: 75%; }
.board-bars span:nth-child(3) { height: 55%; }
.board-bars span:nth-child(4) { height: 90%; }

.board-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
    color: #475569;
    font-weight: 600;
}

.logo-marquee {
    display: flex;
    gap: 2rem;
    font-weight: 600;
    color: #94a3b8;
    margin-top: 2.4rem;
    overflow: hidden;
    white-space: nowrap;
}

.logo-marquee span {
    opacity: 0.85;
}

.feature-grid {
    background: #fff;
}

.feature-tile {
    background: #fff;
    border-radius: 18px;
    padding: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    height: 100%;
}

.feature-tile i {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.feature-tile h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.summary-showcase {
    background: #f8fafc;
}

.summary-tabs {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.summary-tabs span {
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    color: #475569;
}

.summary-tabs .active {
    background: var(--secondary-color);
    color: #fff;
}

.summary-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 700;
}

.summary-pill {
    background: rgba(74, 144, 226, 0.15);
    color: var(--secondary-color);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.summary-block + .summary-block {
    margin-top: 1rem;
}

.summary-title {
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.summary-block ul {
    padding-left: 1rem;
    margin: 0;
    color: #475569;
}

.landing-hero-tech::before,
.landing-hero-tech::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
    background: var(--secondary-color);
}

.landing-hero-tech::before {
    top: -160px;
    right: -120px;
}

.landing-hero-tech::after {
    bottom: -180px;
    left: -140px;
    background: var(--primary-color);
}

.landing-hero-tech .container {
    position: relative;
    z-index: 1;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(140deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 12px 28px rgba(76, 130, 200, 0.35);
}

.brand-name {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
}

.brand-tag {
    display: block;
    font-size: 0.9rem;
    color: #475569;
}

.landing-tech .btn-outline-light {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
}

.landing-tech .btn-outline-light:hover {
    background: #fff;
    color: var(--secondary-color);
}

.hero-pillars {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-pillars span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.tech-dashboard {
    background: rgba(255, 255, 255, 0.72);
    border-radius: 22px;
    padding: 1.8rem;
    box-shadow: 0 26px 60px rgba(30, 41, 59, 0.18);
    backdrop-filter: blur(12px);
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.4rem;
    gap: 1rem;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 144, 226, 0.12);
    color: var(--secondary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 0 rgba(118, 75, 162, 0.6);
    animation: pulse 1.8s infinite;
}

.dashboard-date {
    font-size: 0.9rem;
    color: #64748b;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dash-card {
    background: #fff;
    border-radius: 16px;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 12px 24px rgba(30, 41, 59, 0.08);
}

.dash-card-wide {
    grid-column: span 2;
}

.dash-card-glass {
    background: linear-gradient(140deg, rgba(74, 144, 226, 0.12), rgba(118, 75, 162, 0.12));
}

.dash-title {
    font-weight: 600;
    color: #1e293b;
}

.dash-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 0.2rem;
}

.dash-sub {
    font-size: 0.9rem;
    color: #64748b;
}

.sparkline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: end;
    gap: 0.4rem;
    height: 60px;
    margin: 0.6rem 0;
}

.sparkline span {
    display: block;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 6px;
}

.sparkline span:nth-child(1) { height: 30%; }
.sparkline span:nth-child(2) { height: 45%; }
.sparkline span:nth-child(3) { height: 60%; }
.sparkline span:nth-child(4) { height: 40%; }
.sparkline span:nth-child(5) { height: 75%; }
.sparkline span:nth-child(6) { height: 90%; }

.dashboard-footer {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.4rem;
    color: #475569;
    font-weight: 600;
}

.dashboard-footer i {
    color: var(--secondary-color);
    margin-right: 0.4rem;
}

.kpi-strip {
    background: #f8fafc;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.4rem;
    text-align: center;
}

.kpi-strip .kpi-value {
    font-weight: 700;
    font-size: 1.4rem;
    color: #1e293b;
}

.kpi-strip .kpi-label {
    color: #64748b;
}

.feature-panels {
    background: #ffffff;
}

.panel-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
    position: relative;
    overflow: hidden;
}

.panel-card::after {
    content: "";
    position: absolute;
    inset: auto -40px -60px auto;
    width: 120px;
    height: 120px;
    background: rgba(118, 75, 162, 0.12);
    border-radius: 50%;
}

.panel-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(74, 144, 226, 0.15);
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.panel-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
}

.panel-chip {
    display: inline-flex;
    margin-top: 0.9rem;
    padding: 0.3rem 0.75rem;
    background: rgba(74, 144, 226, 0.12);
    color: var(--secondary-color);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
}

.landing-cta-tech {
    background: var(--navbar-gradient);
    color: #fff;
}

.cta-panel-tech {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    padding: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-panel-tech p {
    margin: 0;
    color: #f8fafc;
}

.landing-contact {
    background: #f8fafc;
}

.contact-card-compact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-callout {
    font-weight: 700;
    color: #1e293b;
}

.contact-mini {
    display: grid;
    gap: 0.6rem;
    color: #475569;
    font-weight: 600;
}

.contact-card-graphic {
    position: relative;
    border: 1px solid rgba(118, 75, 162, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(245, 247, 255, 0.95));
    overflow: hidden;
}

.contact-card-graphic::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -80px;
    top: -120px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.22), rgba(118, 75, 162, 0));
    pointer-events: none;
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(140deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 14px 28px rgba(76, 130, 200, 0.3);
}

.contact-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(74, 144, 226, 0.12);
    color: #1e293b;
    font-weight: 600;
}

.contact-surface {
    background: #fff;
    border-radius: 18px;
    padding: 1.4rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.contact-form .input-group-text {
    background: rgba(74, 144, 226, 0.12);
    border: none;
    color: var(--secondary-color);
}

.contact-form .form-control {
    border: 1px solid rgba(148, 163, 184, 0.4);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.18);
}

/* Admin dashboard */
.admin-dashboard .kpi-card {
    background: #fff;
    border-radius: 18px;
    padding: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.admin-dashboard .kpi-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.admin-dashboard .kpi-label {
    color: #64748b;
    font-weight: 600;
}

.admin-dashboard .kpi-value {
    font-size: 1.6rem;
    font-weight: 700;
}

.admin-dashboard .chart-card,
.admin-dashboard .table-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

.admin-dashboard canvas {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.admin-dashboard .chart-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.admin-dashboard .chart-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.admin-dashboard .chart-header span {
    color: #94a3b8;
    font-size: 0.85rem;
}

.admin-dashboard .legend-list {
    display: grid;
    gap: 0.4rem;
    margin-top: 1rem;
    color: #475569;
    font-weight: 600;
}

.admin-dashboard .chart-legend {
    display: flex;
    gap: 1rem;
    margin-top: 0.9rem;
    color: #475569;
    font-weight: 600;
}

.admin-dashboard .legend-line {
    display: inline-block;
    width: 20px;
    height: 4px;
    border-radius: 999px;
    margin-right: 0.4rem;
    vertical-align: middle;
}

.admin-dashboard .legend-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.4rem;
    background: var(--secondary-color);
}

@media (max-width: 767px) {
    .admin-dashboard .chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

.login-card-tech {
    border: 1px solid rgba(148, 163, 184, 0.2);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(118, 75, 162, 0.6); }
    70% { box-shadow: 0 0 0 8px rgba(118, 75, 162, 0); }
    100% { box-shadow: 0 0 0 0 rgba(118, 75, 162, 0); }
}

@media (max-width: 991px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dash-card-wide {
        grid-column: span 1;
    }
}

@media (max-width: 767px) {
    .brand-lockup {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-pillars {
        gap: 0.5rem;
    }

    .cta-panel-tech {
        padding: 1.8rem;
    }

    .hero-alert {
        width: auto;
        border-radius: 16px;
        flex-direction: column;
        align-items: flex-start;
    }

    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-card-wide {
        grid-column: span 1;
    }
}

#timer {
    color: var(--primary-color) !important;
    font-weight: bold;
    font-size: 2em;
    margin-top: 20px;
}

.disabled-link {
    pointer-events: none;
    opacity: 0.6;
    text-decoration: none !important;
    color: #888 !important;
}

/* Largeur stricte pour les petits selects icône/couleur */
.fa-select,
.color-select {
    width: 2.3em !important;
    min-width: 2.3em;
    max-width: 2.3em;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
    font-family: "Font Awesome 6 Free", "FontAwesome", Arial, sans-serif;
    font-size: 1.3em;
}

.fa-select option,
.color-select option {
    text-align: center;
}

/* Hauteur uniforme pour tous les champs "sm" */
.form-control-sm,
.form-select-sm,
.select2-selection--single {
    height: 2.1em !important;
    min-height: 2.1em !important;
    min-width: 3em !important;
    padding-top: 0.25em !important;
    padding-bottom: 0.25em !important;
    font-size: 1em;
    line-height: 1.25;
    border-radius: 0.375rem;
}

/* Alignement vertical centré pour select2 en Bootstrap */
.select2-container--bootstrap5 .select2-selection--single {
    height: 2.1em !important;
    display: flex;
    align-items: center;
}

.select2-selection__rendered {
    display: flex !important;
    align-items: center;
}

.btn-outline-primary.no-border {
  border: none !important;
}

.btn-outline-info.no-border {
  border: none !important;
}

.btn-outline-warning.no-border {
  border: none !important;
}
