/* POLICE IBM PLEX MONO HÉBERGÉE LOCALEMENT */
/* latin-ext 400 */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-v20-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin 400 */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-v20-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext 500 */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-v20-latin-ext-500.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin 500 */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-v20-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext 700 */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-v20-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin 700 */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-v20-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* IBM PLEX SANS — corps de texte B2B */
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-ext-400.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* RESET & TYPO CNL — Sans pour le corps, Mono pour l'UI */
html {
    overflow-x: visible;
}
body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cnl-bg: #000000;
    --cnl-fg: #ffffff;
    --cnl-muted: #b0b0b8;
    --cnl-lime: #81EF30;
    --cnl-lime-dim: rgba(129, 239, 48, 0.25);
    --cnl-danger: #ff4d4d;
    --cnl-surface: rgba(255, 255, 255, 0.03);
    --cnl-border: rgba(255, 255, 255, 0.2);
    --cnl-radius: 8px;
    --cnl-container: 1100px;
    --cnl-font-mono: 'IBM Plex Mono', monospace;
    --cnl-font-sans: 'IBM Plex Sans', 'IBM Plex Mono', sans-serif;
    --cnl-text-body: 1.0625rem;
    --cnl-space-section: clamp(72px, 12vw, 120px);
    --cnl-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    font-family: var(--cnl-font-sans);
    background-color: var(--cnl-bg);
    color: var(--cnl-fg);
    -webkit-font-smoothing: antialiased;
    font-size: var(--cnl-text-body);
    line-height: 1.65;
}

h1, h2, h3, h4,
.navbar,
.terminal-tag,
.nav-item,
.contact-link,
.btn-hero-primary,
.btn-hero-secondary,
.btn-contact,
.btn-quote,
.format-tag,
.demo-step-badge,
.slider-badge,
.pdf-img-badge,
.roadmap-timeline,
.site-footer,
.code-line,
.cmd-modal-card,
.feature-card h3,
.compliance-badge {
    font-family: var(--cnl-font-mono);
}

/* BACKGROUND GLOW SPHERES GLOBALES */
.global-glow-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(5, 5, 7, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.no-scroll-nav {
    overflow: hidden !important;
}

.burger-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    padding: 0;
    z-index: 1100;
}

.burger-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar .logo-link {
    display: flex;
    align-items: center;
}

.navbar .logo-img {
    height: 40px;
    /* Ajuste la hauteur selon tes besoins */
    width: auto;

    /* Conserve les pixels nets et tranchants de ton image de logo */
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.navbar nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.navbar .nav-item {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-item:hover {
    color: #81EF30;
}

.navbar .nav-safeprompt-cta {
    color: #81EF30;
    font-weight: 600;
}

.navbar .contact-link {
    color: #81EF30;
    /* Ton vert exact */
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border: 1px dashed #81EF30;
    padding: 8px 18px;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease, border-style 0.3s ease;
}

.navbar .contact-link:hover {
    background-color: #81EF30;
    color: #000000;
    border-style: solid;
}

/* Bouton d'accès admin / cadenas */
.nav-lock-link {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #a0a0a0;
    padding: 8px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nav-lock-link:hover {
    color: #81EF30;
    border-color: #81EF30;
    background-color: rgba(129, 239, 48, 0.05);
}

/* SECTION HERO (NOIR) */
.section-hero {
    min-height: 85vh;
    padding: 140px 0 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--cnl-bg);
}

.container-center {
    max-width: 950px;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.terminal-tag {
    display: inline-block;
    background-color: #111111;
    color: var(--cnl-lime);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 4px;
    border: 1px dashed var(--cnl-lime);
    margin-bottom: 30px;
    letter-spacing: 0.05em;
}

.section-hero h1 {
    font-size: clamp(1.85rem, 4.5vw, 2.85rem);
    font-weight: 700;
    margin-bottom: 22px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-hero .hero-text {
    color: var(--cnl-muted);
    font-size: 1.125rem;
    font-weight: 400;
    max-width: 640px;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: var(--cnl-font-sans);
}

.section-hero .hero-subtext {
    color: #a0a0a0;
    font-size: 16px;
    max-width: 800px;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 55px !important;
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

/* SECTION LIME (VERT ACIDE) */
.section-lime {
    background-color: var(--cnl-lime);
    color: #000000;
    padding: var(--cnl-space-section) 0;
}

.section-lime h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    line-height: 1.25;
}

.section-lime .lime-text {
    font-size: 1.125rem;
    line-height: 1.75;
    font-weight: 500;
    max-width: 720px;
    font-family: var(--cnl-font-sans);
}

.section-cards {
    background-color: #000000;
    padding: 60px 0;
}

#safeprompt-overview {
    padding-top: 60px !important;
    padding-bottom: 10px !important;
}

#services-cyber {
    padding-top: 15px !important;
    padding-bottom: 60px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-cards-title {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 0 !important;
    margin-bottom: 16px !important;
}

.section-cards-subtext {
    font-size: 16px;
    line-height: 1.7;
    color: #a0a0a0;
    max-width: 900px;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
}

.card-grid {
    display: flex;
    gap: 32px;
    justify-content: space-between;
    align-items: stretch;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.card-cta-wrapper {
    margin-top: 20px !important;
    margin-bottom: 0 !important;
}

.card {
    flex: 1;
    min-height: 320px;
    aspect-ratio: auto !important;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.card-content {
    padding: 40px 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 14px;
}

.card-content p {
    font-size: 15px;
    line-height: 1.75;
    color: #a0a0a0;
}

.card-icon-svg {
    width: 32px;
    height: 32px;
    stroke: #81EF30;
    margin-bottom: 16px;
    display: block;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.card p {
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    color: #a0a0a0;
}

/* Suppression stricte de tout soulignement ou surlignement bleu/violet sur les cartes/cubes cliquables */
a.card,
a.card:hover,
a.card:visited,
a.card:focus,
a.card:active,
a.card *,
.card,
.card *,
.card-content,
.card-content *,
.card-content h3,
.card-content p,
.feature-card,
.feature-card *,
.valeur-card-trigger,
.valeur-card-trigger * {
    text-decoration: none !important;
    -webkit-text-decoration-color: transparent !important;
    text-decoration-color: transparent !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

/* Style des blocs (carrés sombres uniformes avec bordures réactives) */
.card-glow-1, .card-glow-2, .card-glow-3 {
    background: #111111;
    border: 1px solid #222222;
}

/* Au survol (bureau uniquement), la carte s'agrandit légèrement */
@media (hover: hover) {
    .card:hover {
        transform: scale(1.04);
        border-color: #81EF30;
        box-shadow: 0 15px 30px rgba(129, 239, 48, 0.15);
        z-index: 1;
    }
}

/* SECTION WHITE */
.section-combined {
    background-color: #08080a;
    color: #ffffff;
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container.combined-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    gap: 60px;
    align-items: flex-start;
    justify-content: space-between;
}

.combined-left {
    flex: 1.25;
}

.combined-right {
    flex: 0.75;
}

.combined-left h2, .combined-right h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
    color: #ffffff;
    line-height: 1.2;
}

.row-list {
    padding-top: 20px;
}

.row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 3px solid transparent;
    transition: padding-left 0.3s ease, border-left-color 0.3s ease, background-color 0.3s ease;
}

.row-item:hover {
    padding-left: 24px;
    border-left-color: #81EF30;
    background-color: rgba(255, 255, 255, 0.02);
}

.row-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.threat-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 70%;
}

.threat-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.threat-tag {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a0a0ab;
    background-color: rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

/* Custom threat tags colors */
.row-item:nth-child(1) .threat-tag {
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.05);
}
.row-item:nth-child(2) .threat-tag {
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    background-color: rgba(245, 158, 11, 0.05);
}
.row-item:nth-child(3) .threat-tag {
    border-color: rgba(129, 239, 48, 0.3);
    color: #81EF30;
    background-color: rgba(129, 239, 48, 0.05);
}
.row-item:nth-child(4) .threat-tag {
    border-color: rgba(6, 182, 212, 0.3);
    color: #06b6d4;
    background-color: rgba(6, 182, 212, 0.05);
}

.row-item:hover .threat-tag {
    filter: brightness(1.2);
}

.threat-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.threat-desc {
    font-size: 14px;
    color: #a0a0ab;
    line-height: 1.5;
    font-weight: 500;
}

.threat-source {
    font-size: 11px;
    color: #71717a;
    margin-top: 4px;
}

.threat-source a {
    color: #81EF30;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.threat-source a:hover {
    color: #9aff54;
}

.threat-cost {
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    white-space: nowrap;
    text-align: right;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.row-item:hover .threat-cost {
    background-color: #81EF30;
    color: #000000;
    border-color: #81EF30;
}

/* SECTION CONTACT (NOIR) */
.section-contact {
    background-color: #000000;
    color: #ffffff;
    padding: 100px 0;
    border-top: 1px solid #222222;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-contact h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.contact-desc {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 40px;
}

.btn-contact {
    display: inline-block;
    background-color: #81EF30;
    color: #000000;
    padding: 16px 36px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin-bottom: 40px;
}

.btn-contact:hover {
    transform: scale(1.05);
    background-color: #9aff54;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: #8c8c8c;
    font-size: 14px;
}

.contact-info a {
    color: #81EF30;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.signal-contact-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.signal-logo-svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    display: inline-block;
}

.section-methodology {
    background-color: #000000;
    color: #ffffff;
    padding: 100px 0;
    border-top: 1px solid #222222;
}
.section-methodology h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}
.methodology-intro {
    font-size: 16px;
    color: #a0a0a0;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 60px;
}
.timeline {
    position: relative;
    padding-left: 40px;
    margin-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.timeline-item {
    position: relative;
}
.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: -41px;
    top: 42px;
    width: 2px;
    height: calc(100% - 42px + 50px);
    border-left: 2px dashed #333333;
}
.timeline-badge {
    position: absolute;
    left: -62px;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #111111;
    border: 2px solid #81EF30;
    color: #81EF30;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 14px;
}
.timeline-content {
    background-color: #0d0d0f;
    border: 1px solid #222222;
    padding: 30px;
    border-radius: 12px;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.timeline-content:hover {
    border-color: #81EF30;
    background-color: #111111;
}
.timeline-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}
.timeline-threat {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
}
.timeline-toggle-text {
    display: inline-block;
    margin-top: 16px;
    font-size: 13px;
    color: #81EF30;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}
.timeline-toggle-text:hover {
    color: #ffffff;
}
.timeline-details {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #333333;
}
.vector-section {
    margin-bottom: 20px;
}
.vector-main {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 12px;
}
.vector-others {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 1.6;
}
.vector-others ul {
    margin-top: 8px;
    margin-left: 20px;
    list-style-type: square;
}
.vector-others li {
    margin-bottom: 6px;
}
.timeline-counter {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.6;
    padding-top: 16px;
    border-top: 1px dashed #333333;
}
.highlight-lime {
    color: #81EF30;
    font-weight: 700;
}

.terminal-intro {
    font-size: 14.5px;
    color: #a0a0ab;
    line-height: 1.7;
    margin-bottom: 24px;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 15px;
    background-color: #81EF30;
    vertical-align: middle;
    margin-left: 4px;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    from, to { background-color: transparent }
    50% { background-color: #81EF30 }
}
.cyber-terminal {
    background-color: #0c0c0e;
    border: 1px solid #333333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}
.terminal-bar {
    background-color: #1a1a1c;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #28282a;
}
.terminal-dots {
    display: flex;
    gap: 8px;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #8e8e93;
    font-family: 'IBM Plex Mono', monospace;
}
.terminal-body {
    padding: 30px;
    min-height: 250px;
    text-align: left;
    font-family: 'IBM Plex Mono', monospace;
}
.terminal-line {
    margin-bottom: 16px;
    font-size: 15px;
}
.prompt {
    color: #81EF30;
    margin-right: 8px;
}
.prompt-green {
    color: #81EF30;
    font-weight: 700;
}
.typed-command {
    color: #ffffff;
}
.system-msg {
    color: #8e8e93;
    margin-bottom: 12px;
    font-size: 14px;
}
.terminal-text {
    color: #ffffff;
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}
.terminal-history-line {
    color: #a0a0a0;
    margin-bottom: 12px;
    font-size: 14px;
}

.terminal-btn-start {
    background-color: #81EF30;
    color: #000000;
    border: 1px solid #81EF30;
    padding: 12px 28px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 12px;
}
.terminal-btn-start:hover {
    background-color: #000000;
    color: #81EF30;
}

.terminal-controls {
    padding: 0 30px 30px 30px;
    display: flex;
    gap: 16px;
}
.term-action-btn {
    flex: 1;
    padding: 14px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    background-color: #111111;
    transition: border-color 0.3s ease, color 0.3s ease;
}
.btn-yes {
    border: 1px solid #27c93f;
    color: #27c93f;
}
.btn-yes:hover {
    background-color: #27c93f;
    color: #000000;
}
.btn-no {
    border: 1px solid #ff5f56;
    color: #ff5f56;
}
.btn-no:hover {
    background-color: #ff5f56;
    color: #000000;
}

.result-success {
    color: #27c93f;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}
.result-warning {
    color: #ffbd2e;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}
.result-danger {
    color: #ff5f56;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 16px;
}

.result-score-container {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 6px;
}
.score-label {
    font-size: 14px;
    color: #8e8e93;
    margin-bottom: 10px;
    font-weight: 700;
}
.score-value {
    color: #ffffff;
    font-weight: 900;
}
.score-bar-bg {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}
.score-bar-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-in-out;
}
.score-bar-success {
    background-color: #27c93f;
    box-shadow: 0 0 10px rgba(39, 201, 63, 0.5);
}
.score-bar-warning {
    background-color: #ffbd2e;
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}
.score-bar-danger {
    background-color: #ff5f56;
    box-shadow: 0 0 10px rgba(255, 95, 86, 0.5);
}

.terminal-btn-cta {
    display: inline-block;
    background-color: #ffbd2e;
    color: #000000;
    border: 1px solid #ffbd2e;
    padding: 12px 28px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 16px;
    transition: transform 0.3s ease;
}
.terminal-btn-cta:hover {
    transform: scale(1.03);
}

.terminal-btn-cta-danger {
    display: inline-block;
    background-color: #ff5f56;
    color: #ffffff;
    border: 1px solid #ff5f56;
    padding: 12px 28px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    margin-right: 16px;
    transition: transform 0.3s ease;
}
.terminal-btn-cta-danger:hover {
    transform: scale(1.03);
}

.terminal-btn-restart {
    background-color: transparent;
    color: #8e8e93;
    border: 1px solid #333333;
    padding: 12px 28px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.terminal-btn-restart:hover {
    color: #ffffff;
    border-color: #8e8e93;
}

/* SECTION SKILLS */
.section-skills {
    background-color: #0c0c0e;
    color: #ffffff;
    padding: 80px 50px;
    border-top: 1px solid #222222;
}

.section-skills .container {
    max-width: 100% !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

.skills-intro {
    font-size: 15px;
    color: #a0a0a0;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 50px;
}

/* Navigation par onglets */
.skills-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.skills-tab-btn {
    background: #111112;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b4b4b4;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.skills-tab-btn:hover {
    color: #ffffff;
    border-color: rgba(129, 239, 48, 0.5);
    background: rgba(129, 239, 48, 0.05);
}

.skills-tab-btn.active {
    background: #81EF30;
    color: #000000;
    border-color: #81EF30;
    box-shadow: 0 4px 15px rgba(129, 239, 48, 0.3);
}

.skills-columns-container {
    display: block;
    width: 100%;
}

.skills-column {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.skills-column.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    opacity: 1;
}

.skills-column-title {
    display: none;
}

.skills-column-list {
    display: contents;
}

.skill-badge {
    background-color: #111112; /* Fond sombre par défaut pour l'esthétique générale */
    border: 1px solid rgba(129, 239, 48, 0.25); /* Bordure vert acide subtile */
    border-radius: 12px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 16px;
    row-gap: 2px;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.skill-badge:hover {
    transform: translateY(-3px);
    background-color: #81EF30; /* Fond vert CNL complet au survol */
    border-color: #81EF30;
    box-shadow: 0 10px 25px rgba(129, 239, 48, 0.25);
}

/* Retour tactile instantané pour mobile (touch feedback) */
.skill-badge:active {
    transform: scale(0.97) translateY(0);
    background-color: #81EF30;
    border-color: #81EF30;
}

.badge-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 60px;
    height: 60px;
    background-color: #ffffff; /* Cercle blanc pour faire ressortir les logos */
    border-radius: 50%;
    padding: 10px;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.badge-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.badge-icon svg[fill="none"] {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.skill-badge:hover .badge-icon, .skill-badge:active .badge-icon {
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.badge-title {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff; /* Texte blanc sur fond sombre par défaut */
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
    text-align: left;
}

.skill-badge:hover .badge-title, .skill-badge:active .badge-title {
    color: #000000; /* Devient noir sur fond vert lors du survol/toucher */
}

.badge-subtitle {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    font-size: 10px;
    color: #81EF30; /* Catégorie verte sur fond sombre par défaut */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    transition: color 0.3s ease;
    text-align: left;
}

.skill-badge:hover .badge-subtitle, .skill-badge:active .badge-subtitle {
    color: #222222; /* Devient gris foncé sur fond vert lors du survol/toucher */
}

.badge-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}




/* LIGHTBOX MODAL POUR LES SKILLS */
.skills-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.skills-lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-content {
    background-color: #111111;
    border: 2px solid #81EF30;
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 50px rgba(129, 239, 48, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.skills-lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #a0a0a0;
    font-size: 32px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.2s ease;
}

.lightbox-close:hover {
    color: #81EF30;
}

.lightbox-logo-container {
    width: 140px;
    height: 140px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: #111111;
}

.lightbox-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.lightbox-logo-container svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    display: block;
}

.lightbox-logo-container svg[fill="none"] {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.lightbox-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-top: 10px;
}

.lightbox-subtitle {
    font-size: 12px;
    color: #81EF30;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.lightbox-details {
    width: 100%;
    text-align: left;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-top: 1px dashed #333333;
    padding-top: 15px;
}

.detail-section {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.detail-label {
    font-size: 10px;
    color: #81EF30; /* Vert acide CNL */
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.detail-text {
    font-size: 13px;
    color: #cccccc;
    line-height: 1.5;
    font-weight: 500;
}



/* RESPONSIVE NAVBAR ADAPTATIONS */
@media (max-width: 1200px) and (min-width: 993px) {
    .navbar {
        padding: 16px 28px;
    }

    .navbar nav {
        gap: 16px;
    }

    .navbar .nav-item {
        font-size: 14px;
    }

    .navbar .contact-link {
        font-size: 14px;
        padding: 6px 14px;
    }
}

@media (max-width: 992px) {
    .navbar {
        padding: 18px 24px;
    }

    /* Mobile Hamburger Menu */
    .burger-menu-btn {
        display: flex;
    }

    .burger-menu-btn.active .burger-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #81EF30;
    }

    .burger-menu-btn.active .burger-bar:nth-child(2) {
        opacity: 0;
    }

    .burger-menu-btn.active .burger-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #81EF30;
    }

    .navbar nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(5, 5, 7, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        z-index: 1050;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 40px;
    }

    .navbar nav.active {
        transform: translateX(0);
    }

    .navbar .nav-item {
        font-size: 20px;
        font-weight: 600;
        color: #ffffff;
        text-align: center;
    }

    .navbar .contact-link {
        font-size: 18px;
        padding: 12px 30px;
        border-radius: 6px;
        margin-top: 10px;
        border-style: solid;
    }

    .navbar .nav-lock-link {
        padding: 12px 20px;
        border-radius: 6px;
        font-size: 18px;
    }

    .section-hero {
        height: auto;
        padding: 80px 20px;
    }

    .section-hero h1 {
        font-size: 32px;
    }

    .card-grid {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    /* Correction aspect-ratio cartes sur mobile */
    .card, .card-glow-1, .card-glow-2, .card-glow-3 {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: auto;
        height: auto;
        min-height: unset;
    }

    .card:hover {
        transform: scale(1.02);
    }

    .row-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .threat-info {
        max-width: 100%;
    }

    .threat-cost {
        text-align: left;
        margin-top: 4px;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    /* Typographies et ajustements mobiles pour les pages solutions */
    .solutions-intro h1 {
        font-size: 28px !important;
    }

    .detail-hero h1 {
        font-size: 28px !important;
    }

    .detail-hero .subtitle {
        font-size: 14px !important;
    }

    .detail-body h2 {
        font-size: 18px !important;
    }

    .action-banner h3 {
        font-size: 18px !important;
    }

    .action-banner {
        padding: 30px 20px !important;
    }

    /* METHODOLOGY RESPONSIVE OVERRIDES */
    .section-methodology h2 {
        font-size: 28px;
    }

    .methodology-intro {
        margin-bottom: 40px;
    }

    .timeline {
        padding-left: 30px;
        margin-left: 10px;
        gap: 40px;
    }

    .timeline-item:not(:last-child)::before {
        left: -30px;
        top: 36px;
        height: calc(100% - 36px + 40px);
    }

    .timeline-badge {
        left: -48px;
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    /* COMBINED LAYOUT RESPONSIVE OVERRIDES */
    .combined-container {
        flex-direction: column;
        gap: 50px;
    }

    .combined-left, .combined-right {
        width: 100%;
    }

    .combined-left h2, .combined-right h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .terminal-intro {
        margin-bottom: 30px;
    }

    .terminal-body {
        padding: 20px;
        min-height: 220px;
    }

    .terminal-line {
        font-size: 14px;
    }

    .terminal-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .terminal-controls {
        padding: 0 20px 20px 20px;
        flex-direction: column;
        gap: 12px;
    }

    .term-action-btn {
        width: 100%;
        padding: 12px;
    }

    .terminal-btn-start {
        display: block;
        width: 100%;
        text-align: center;
    }

    .terminal-btn-cta, .terminal-btn-cta-danger {
        display: block;
        width: 100%;
        text-align: center;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .terminal-btn-restart {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* SKILLS RESPONSIVE OVERRIDES */
    .section-skills {
        padding: 50px 16px;
    }

    .skills-columns-container {
        display: block;
    }

    .skills-column.active {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .skill-badge {
        grid-template-columns: 50px 1fr;
        column-gap: 12px;
        padding: 12px 16px;
        border-radius: 10px;
    }

    .badge-icon {
        width: 50px;
        height: 50px;
        padding: 8px;
    }

    .badge-title {
        font-size: 13px;
        text-align: left;
    }

    .badge-subtitle {
        font-size: 9px;
        text-align: left;
    }

    /* LIGHTBOX RESPONSIVE OVERRIDES */
    .lightbox-content {
        padding: 30px 20px;
        max-width: 320px;
        gap: 16px;
    }

    .lightbox-logo-container {
        width: 100px;
        height: 100px;
        padding: 12px;
    }

    .lightbox-title {
        font-size: 18px;
    }

    .lightbox-subtitle {
        font-size: 10px;
    }

    .lightbox-details {
        margin-top: 10px;
        padding-top: 10px;
        gap: 10px;
    }

    .detail-text {
        font-size: 11px;
    }
}

/* CLASSE UTILITAIRE DE MASQUAGE POUR LA CSP STRICTE */
.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden !important;
}

/* ==============================================================================
   ANIMATIONS DE SOUMISSION ET SPINNER (CNL)
   ============================================================================== */

/* Spinner sur le bouton de soumission */
.btn-modal-submit.loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #55aa1a !important;
    cursor: not-allowed;
}

.btn-modal-submit.loading svg.spinner {
    animation: cnl-rotate 2s linear infinite;
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.btn-modal-submit.loading svg.spinner .path {
    stroke: #000000;
    stroke-linecap: round;
    animation: cnl-dash 1.5s ease-in-out infinite;
}

@keyframes cnl-rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes cnl-dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Zone d'animation de succès dans la modale */
.modal-success-anim {
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding: 20px 0;
}

.modal-success-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Cercle et coche animés en SVG */
.success-checkmark {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px auto;
}

.success-checkmark .checkmark-svg {
    width: 72px;
    height: 72px;
    display: block;
}

.success-checkmark .checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: rgba(129, 239, 48, 0.15); /* cercle vert translucide en fond */
    fill: none;
}

.success-checkmark .checkmark-circle-active {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke-miterlimit: 10;
    stroke: #81EF30; /* cercle vert actif */
    fill: none;
    animation: cnl-draw-stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark .checkmark-check {
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #81EF30; /* coche verte */
    fill: none;
    animation: cnl-draw-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes cnl-draw-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}


/* ==============================================================================
   CSS POUR LES PAGES SOLUTIONS & SAFEPROMPT (CONFORMITÉ CSP - ZAP FIX)
   ============================================================================== */

/* --- Classes Utilitaires CSP --- */
.solutions-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

.safeprompt-main {
    padding-top: 40px;
    padding-bottom: 80px;
}

.terminal-tag-small {
    display: inline-block;
    background-color: #111111;
    color: #81EF30;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px dashed #81EF30;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.back-to-solutions {
    color: #81EF30;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
}

.info-block {
    background: rgba(129, 239, 48, 0.03);
    border: 1px dashed rgba(129, 239, 48, 0.3);
    border-radius: 8px;
    padding: 24px;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-block h3 {
    color: #81EF30;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.05em;
}

.info-block svg {
    color: #81EF30;
}

.info-block p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #a0a0a0;
}

.blog-link-btn {
    color: #81EF30;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.blog-link-btn:hover {
    color: #ffffff;
}

.contact-subtext {
    font-size: 12px;
    color: #888888;
}

/* --- Styles Communs des Modales (solutions / safeprompt) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: #0d0d0f;
    border: 1px solid #1c1c22;
    width: 100%;
    max-width: 480px;
    border-radius: 12px;
    padding: 40px;
    position: relative;
}

.modal-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.modal-card h3.testing {
    color: #ff9f43;
}

.modal-card p {
    font-size: 13px;
    color: #a0a0a0;
    margin-bottom: 24px;
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #888888;
    font-size: 24px;
    cursor: pointer;
}

.modal-close:hover {
    color: #ffffff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 11px;
    color: #888888;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.form-group label.testing {
    color: #ff9f43;
}

.form-control {
    width: 100%;
    background-color: #050507;
    border: 1px solid #22222a;
    border-radius: 6px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.btn-modal-submit {
    width: 100%;
    border: none;
    border-radius: 6px;
    padding: 14px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* --- Modale SafePrompt (solution-safeprompt.php) --- */
.modal-safeprompt-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, #81EF30, #55aa1a);
    border-radius: 12px 12px 0 0;
}

.form-control-safeprompt:focus {
    border-color: #81EF30;
}

.btn-modal-safeprompt-submit {
    background-color: #81EF30;
    color: #000000;
}

.btn-modal-safeprompt-submit:hover {
    background-color: #6ac826;
}

/* --- Dynamic Success View (script.js) --- */
.modal-success-title {
    color: #81EF30;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.modal-success-text {
    font-size: 13.5px;
    color: #cccccc;
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-modal-success-ok {
    background-color: #81EF30;
    color: #000000;
    font-weight: 700;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.05em;
    transition: background-color 0.2s ease;
}

.btn-modal-success-ok:hover {
    background-color: #6ac826;
}

/* --- Page solutions.php --- */
.solutions-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.solutions-intro h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.solutions-intro p {
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.6;
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.solution-card {
    background-color: #0d0d0f;
    border: 1px solid #1c1c22;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.solution-card:hover {
    transform: translateY(-4px);
    border-color: #81EF30;
    box-shadow: 0 10px 30px rgba(129, 239, 48, 0.08);
}

.solution-img-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid #1c1c22;
    background-color: #050507;
    position: relative;
}

.solution-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.solution-card:hover .solution-img-container img {
    transform: scale(1.02);
}

.solution-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.solution-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: #81EF30;
    background-color: rgba(129, 239, 48, 0.08);
    border: 1px solid rgba(129, 239, 48, 0.2);
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    align-self: flex-start;
}

.solution-tag.testing {
    color: #ff9f43;
    background-color: rgba(255, 159, 67, 0.08);
    border-color: rgba(255, 159, 67, 0.2);
}

.solution-details h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.solution-subtitle {
    font-size: 13px;
    color: #81EF30;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.4;
}

.solution-subtitle.testing {
    color: #ff9f43;
}

.solution-details p {
    font-size: 13px;
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 20px;
}

.solution-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 24px;
    font-size: 13px;
    color: #cccccc;
}

.solution-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.solution-features li::before {
    content: "✓";
    color: #81EF30;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.solution-features.testing li::before {
    content: "➔";
    color: #ff9f43;
}

.click-indicator {
    margin-top: auto;
    font-size: 11px;
    font-weight: 700;
    color: #81EF30;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.click-indicator.testing {
    color: #ff9f43;
}

.alert-success-solutions {
    background-color: rgba(129, 239, 48, 0.05);
    border: 1px dashed #81EF30;
    color: #81EF30;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 40px;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 900px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --- Page solution-safeprompt.php --- */
.detail-hero {
    padding: 80px 0 60px 0;
    border-bottom: 1px dashed #1c1c22;
}

.detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.detail-hero h1 {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.detail-hero .subtitle {
    font-size: 16px;
    color: #81EF30;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 25px;
}

.detail-body {
    padding: 60px 0;
    font-size: 15px;
    color: #d1d1d6;
    line-height: 1.7;
}

.detail-body h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 1px dashed #222222;
    padding-bottom: 8px;
}

.detail-body p {
    margin-bottom: 20px;
}

.detail-body hr {
    border: none;
    border-top: 1px dashed #222222;
    margin: 40px 0;
}

.feature-bullets {
    list-style: none;
    padding-left: 0;
    margin: 30px 0;
}

.feature-bullets li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.feature-bullets li::before {
    content: "✓";
    color: #81EF30;
    position: absolute;
    left: 0;
    font-weight: 700;
}

.action-banner {
    background-color: #0d0d0f;
    border: 1px solid #1c1c22;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
    position: relative;
}

.action-banner.action-banner-form {
    text-align: left;
    scroll-margin-top: 96px;
}

.action-banner.action-banner-form h3,
.action-banner.action-banner-form > p {
    text-align: center;
}

.quote-form {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

.quote-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quote-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 640px) {
    .quote-form .form-row {
        grid-template-columns: 1fr;
    }
}

.action-banner h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.action-banner p {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 25px;
}

.btn-quote {
    background-color: #81EF30;
    color: #000000;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-quote:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(129, 239, 48, 0.25);
}

/* Hero Buttons - Sleek B2B Style */
.btn-hero-primary,
a.btn-hero-primary,
a.btn-hero-primary:link,
a.btn-hero-primary:visited,
a.btn-hero-primary:hover,
a.btn-hero-primary:active,
a.btn-hero-primary:focus {
    background-color: #81EF30 !important;
    background: #81EF30 !important;
    color: #050505 !important;
    -webkit-text-fill-color: #050505 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    padding: 16px 32px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: 1px solid #81EF30 !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(129, 239, 48, 0.25) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.btn-hero-secondary {
    background-color: rgba(255, 255, 255, 0.03);
    color: #e0e0e0 !important;
    text-decoration: none !important;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-hero-secondary:hover, .btn-hero-secondary:focus, .btn-hero-secondary:visited {
    color: #ffffff !important;
    text-decoration: none !important;
    border-color: #81EF30;
    background-color: rgba(129, 239, 48, 0.08);
    transform: translateY(-2px);
}

.success-card {
    background-color: rgba(129, 239, 48, 0.05);
    border: 1px dashed #81EF30;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 40px;
}

.success-card h3 {
    color: #81EF30;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.success-card p {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 25px;
    line-height: 1.6;
}

.success-contact-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.success-contact-btn {
    background-color: #111115;
    color: #ffffff;
    border: 1px solid #22222a;
    border-radius: 6px;
    padding: 12px 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.success-contact-btn:hover {
    border-color: #81EF30;
    color: #81EF30;
    background-color: rgba(129, 239, 48, 0.05);
}

/* ==============================================================================
   PAGE VALEURS
   ============================================================================== */
.valeurs-glow-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.glow-sphere {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    /* Radial gradient remplace filter:blur(140px) — même rendu, zéro coût GPU */
}

.glow-sphere-1 {
    top: 15%;
    left: -10%;
    background: radial-gradient(circle, rgba(129, 239, 48, 0.08) 0%, transparent 70%);
}

.glow-sphere-2 {
    bottom: 25%;
    right: -10%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.08) 0%, transparent 70%);
}

.valeurs-main {
    padding-top: 90px;
    padding-bottom: 120px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.valeurs-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px auto;
    position: relative;
    z-index: 1;
}

.valeurs-intro h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 60%, rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.valeurs-intro p {
    font-size: 17px;
    color: #a0a0a0;
    line-height: 1.7;
}

.valeurs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

/* VALEUR CARDS (clickable triggers) */
.valeur-card-trigger {
    background: rgba(13, 13, 16, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
    min-height: 280px;
}

.valeur-card-trigger:hover {
    border-color: rgba(129, 239, 48, 0.35);
    box-shadow: 0 10px 35px rgba(129, 239, 48, 0.08);
    transform: translateY(-6px);
}

.valeur-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

.valeur-pill-label {
    font-size: 11px;
    font-weight: 700;
    color: #81EF30;
    background: rgba(129, 239, 48, 0.08);
    border: 1px solid rgba(129, 239, 48, 0.2);
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.1em;
}

.valeur-icon-container {
    width: 54px;
    height: 54px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #81EF30;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.valeur-card-trigger:hover .valeur-icon-container {
    background-color: #81EF30;
    color: #000000;
    border-color: #81EF30;
    transform: rotate(6deg) scale(1.05);
}

.valeur-title-front {
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: auto;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: -0.03em;
}

.flip-hint {
    margin-top: auto;
    font-size: 11px;
    font-weight: 700;
    color: #81EF30;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    border-top: 1px dashed rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

/* VALEUR MODAL OVERLAY */
.valeur-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 30px;
}

.valeur-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.valeur-modal-card {
    background: rgba(13, 13, 16, 0.95);
    border: 1px solid rgba(129, 239, 48, 0.3);
    border-radius: 24px;
    padding: 50px 45px;
    max-width: 680px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: perspective(1200px) rotateY(-90deg) scale(0.8);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.15), opacity 0.5s ease;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7), 0 0 60px rgba(129, 239, 48, 0.06);
}

.valeur-modal-overlay.active .valeur-modal-card {
    transform: perspective(1200px) rotateY(0deg) scale(1);
    opacity: 1;
}

.valeur-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: #a0a0ab;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.valeur-modal-close:hover {
    border-color: #81EF30;
    color: #81EF30;
    background: rgba(129, 239, 48, 0.08);
}

.valeur-modal-card .valeur-card-header {
    margin-bottom: 20px;
}

.valeur-modal-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.3;
}

.valeur-highlight-box {
    background: rgba(255, 255, 255, 0.02);
    border-left: 3px solid #81EF30;
    padding: 18px 20px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 30px;
}

.valeur-highlight-box p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #d1d1d6;
    font-weight: 500;
    font-style: italic;
}

.valeur-modal-card .valeur-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.valeur-modal-card .valeur-bullets li {
    font-size: 14px;
    color: #b0b0b8;
    line-height: 1.65;
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.valeur-modal-card .valeur-bullets li svg {
    color: #81EF30;
    flex-shrink: 0;
    margin-top: 3px;
}

.valeur-modal-card::-webkit-scrollbar {
    width: 5px;
}
.valeur-modal-card::-webkit-scrollbar-track {
    background: transparent;
}
.valeur-modal-card::-webkit-scrollbar-thumb {
    background: rgba(129, 239, 48, 0.2);
    border-radius: 10px;
}

@media (max-width: 992px) {
    .valeurs-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .valeur-card-trigger {
        min-height: 220px;
    }
    .valeur-modal-card {
        padding: 35px 25px;
        max-height: 90vh;
    }
    .valeur-modal-card h2 {
        font-size: 22px;
    }
}

/* --- Styles pour les nouveautés de SafePrompt --- */

.safeprompt-schema-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px auto;
    max-width: 1000px;
}

.safeprompt-schema-section h3 {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 5px;
    border-bottom: 1px solid #1c1c22;
    padding-bottom: 6px;
}

.demo-video-container {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #050507;
    border: 1px solid #1c1c22;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(129, 239, 48, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.demo-video-container:hover {
    border-color: rgba(129, 239, 48, 0.4);
    box-shadow: 0 0 25px rgba(129, 239, 48, 0.1);
}

.demo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-caption {
    font-size: 12px;
    color: #8a8a8f;
    font-style: italic;
}

/* --- Schéma SVG de SafePrompt --- */
.safeprompt-schema-container {
    width: 100%;
    background-color: #050507;
    border: 1px solid #1c1c22;
    border-radius: 8px;
    padding: 20px 15px;
    box-shadow: 0 0 15px rgba(129, 239, 48, 0.03);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.safeprompt-schema-container:hover {
    border-color: rgba(129, 239, 48, 0.4);
    box-shadow: 0 0 25px rgba(129, 239, 48, 0.1);
}

.safeprompt-schema {
    width: 100%;
    height: auto;
    display: block;
}

/* Nodes SVG */
.schema-node {
    fill: #0d0d0f;
    stroke: #22222a;
    stroke-width: 1.5px;
    transition: stroke 0.3s ease, fill 0.3s ease;
}

.node-safeprompt {
    stroke: #81EF30;
    fill: rgba(129, 239, 48, 0.02);
}

.node-cloud {
    stroke: #444455;
    fill: #09090b;
}

.node-user {
    stroke: #00ccff;
    fill: rgba(0, 204, 255, 0.01);
}

.schema-title {
    fill: #ffffff;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Inter', system-ui, sans-serif;
    text-anchor: middle;
}

.title-highlight {
    fill: #81EF30;
}

.schema-text {
    fill: #8e8e93;
    font-size: 11px;
    font-family: 'Inter', system-ui, sans-serif;
    text-anchor: middle;
}

.schema-code {
    fill: #ff9f0a;
    font-size: 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    text-anchor: middle;
}

.schema-badge {
    fill: #81EF30;
    font-size: 10px;
    font-family: 'Inter', system-ui, sans-serif;
    text-anchor: middle;
    font-weight: 600;
}

/* Edges (Arrows) SVG */
@keyframes flow-dash {
    to {
        stroke-dashoffset: -20;
    }
}

.schema-edge {
    stroke: #81EF30;
    stroke-width: 1.5;
    stroke-dasharray: 4, 4;
    animation: flow-dash 1.2s linear infinite;
}

.schema-label-edge {
    fill: #81EF30;
    font-size: 9px;
    font-weight: 600;
    font-family: 'Inter', system-ui, sans-serif;
    text-anchor: middle;
}

/* --- Section Conformité RGPD --- */
.safeprompt-compliance-section {
    margin-top: 60px;
    border-top: 1px dashed #1c1c22;
    padding-top: 50px;
}

.compliance-intro {
    font-size: 15px;
    color: #a0a0a0;
    margin-bottom: 35px;
    max-width: 750px;
    line-height: 1.6;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.compliance-card {
    background-color: #0d0d0f;
    border: 1px solid #1c1c22;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.compliance-card:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 239, 48, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(129, 239, 48, 0.05);
}

.compliance-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.compliance-icon {
    font-size: 20px;
}

.compliance-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.compliance-card p {
    font-size: 13px;
    color: #8a8a8f;
    line-height: 1.6;
    margin: 0;
}

/* --- Features Grid SafePrompt --- */
.safeprompt-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

@media (max-width: 900px) {
    .safeprompt-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.feature-card {
    background-color: #0d0d0f;
    border: 1px solid #1c1c22;
    border-radius: 8px;
    padding: 25px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(129, 239, 48, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(129, 239, 48, 0.05);
}

.feature-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    stroke: #81EF30;
    fill: none;
    flex-shrink: 0;
}

.feature-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.feature-card p {
    font-size: 13px;
    color: #8a8a8f;
    line-height: 1.6;
    margin: 0;
}

/* SVG Compliance Icons */
.compliance-icon-svg {
    width: 20px;
    height: 20px;
    stroke: #81EF30;
    fill: none;
    flex-shrink: 0;
}

/* --- Terminal Simulator Widget --- */
.terminal-widget {
    margin: 30px 0;
    background-color: #050507;
    border: 1px solid #1c1c22;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background-color: #0f0f14;
    border-bottom: 1px solid #1c1c22;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dot.red { background-color: #ff5f56; }
.terminal-dot.yellow { background-color: #ffbd2e; }
.terminal-dot.green { background-color: #27c93f; }

.terminal-title {
    font-size: 11px;
    color: #8a8a8f;
    margin-left: 8px;
    font-family: 'IBM Plex Mono', monospace;
}

.terminal-body {
    padding: 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    line-height: 1.6;
    color: #d1d1d6;
}

.term-line {
    margin: 4px 0;
}

.term-line.green-text {
    color: #81EF30;
}

.term-line.bold {
    font-weight: 700;
}

/* Section Simulateur SafePrompt */
.safeprompt-simulator-section {
    background: #09090b;
    border: 1px solid #1c1c22;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.safeprompt-simulator-section h3 {
    color: #81EF30;
    font-size: 20px;
    margin-bottom: 8px;
    font-family: 'Inter', system-ui, sans-serif;
}

.simulator-desc {
    color: #8e8e93;
    font-size: 14px;
    margin-bottom: 25px;
}

/* Layout */
.simulator-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 25px;
}

@media (max-width: 900px) {
    .simulator-layout {
        grid-template-columns: 1fr;
    }
}

/* Colonne library */
.simulator-library {
    background: #0d0d0f;
    border: 1.5px solid #22222a;
    border-radius: 8px;
    padding: 20px;
}

.simulator-library h4 {
    color: #ffffff;
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 15px;
    font-family: 'Inter', system-ui, sans-serif;
}

.library-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.library-item {
    background: #141419;
    border: 1px solid #22222a;
    border-radius: 6px;
    padding: 12px;
    cursor: grab;
    transition: all 0.25s ease;
    user-select: none;
}

.library-item:hover {
    border-color: #00ccff;
    background: rgba(0, 204, 255, 0.02);
}

.library-item.dragging {
    opacity: 0.5;
    border-style: dashed;
}

.item-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.item-badge {
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.text-badge {
    background: rgba(255, 159, 10, 0.1);
    color: #ff9f0a;
}

.code-badge {
    background: rgba(179, 115, 255, 0.1);
    color: #b373ff;
}

.file-badge {
    background: rgba(0, 204, 255, 0.1);
    color: #00ccff;
}

.library-item strong {
    color: #ffffff;
    font-size: 12.5px;
}

.item-preview {
    color: #8e8e93;
    font-size: 11px;
    font-family: 'IBM Plex Mono', monospace;
    margin: 4px 0;
    word-break: break-all;
}

.drag-handle {
    font-size: 9.5px;
    color: #444455;
    text-align: right;
    margin-top: 5px;
}

/* Colonne Chat mock */
.simulator-mock-chat {
    background: #0c0c0e;
    border: 1.5px solid #22222a;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 620px;
    position: relative;
    overflow: hidden;
}

.chat-header {
    background: #141419;
    border-bottom: 1px solid #22222a;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-indicator-green {
    width: 8px;
    height: 8px;
    background: #81EF30;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px #81EF30;
}

.chat-title strong {
    color: #ffffff;
    font-size: 13px;
}

.shield-badge {
    font-size: 9.5px;
    background: rgba(129, 239, 48, 0.1);
    color: #81EF30;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-clear-chat {
    background: none;
    border: none;
    color: #8e8e93;
    font-size: 11px;
    cursor: pointer;
}

.btn-clear-chat:hover {
    color: #ffffff;
}

/* Chat Messages history */
.chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-bubble {
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 12px;
    max-width: 85%;
    line-height: 1.4;
}

.system-bubble {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed #22222a;
    color: #8e8e93;
    align-self: center;
    width: 100%;
    text-align: center;
}

.user-bubble {
    background: rgba(0, 204, 255, 0.08);
    border: 1px solid rgba(0, 204, 255, 0.2);
    color: #ffffff;
    align-self: flex-end;
}

.ai-bubble {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #22222a;
    color: #d1d1d6;
    align-self: flex-start;
}

/* Notification Overlay (SafePrompt Pop) */
.safeprompt-notification {
    position: absolute;
    top: 50px;
    left: 15px;
    right: 15px;
    background: #141419;
    border: 1.5px solid #81EF30;
    border-radius: 6px;
    padding: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.6);
    z-index: 10;
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
}

.safeprompt-notification.active {
    transform: translateY(0);
    opacity: 1;
}

.addon-pop-header {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    margin-bottom: 8px;
    border-bottom: 1px solid #22222a;
    padding-bottom: 4px;
}

.addon-pop-header strong {
    color: #81EF30;
}

.addon-pop-action {
    color: #8e8e93;
}

.addon-pop-row {
    font-size: 10.5px;
    margin: 4px 0;
    display: flex;
    gap: 8px;
}

.addon-label {
    color: #8e8e93;
    font-family: 'Inter', system-ui, sans-serif;
}

.addon-value {
    font-family: 'IBM Plex Mono', monospace;
}

.addon-value.red-text {
    color: #ff9f0a;
}

.addon-value.green-text {
    color: #81EF30;
}

.addon-pop-status {
    font-size: 9.5px;
    color: #81EF30;
    margin-top: 8px;
    font-weight: 600;
}

/* Chat Input Area */
.chat-input-area {
    background: #141419;
    border-top: 1px solid #22222a;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-input-area.dragover {
    border-color: #00ccff;
    background: rgba(0, 204, 255, 0.05);
}

.chat-input-area textarea {
    background: transparent;
    border: none;
    resize: none;
    color: #ffffff;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    outline: none;
    height: 45px;
    padding: 4px;
}

.input-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drop-hint-text {
    font-size: 10px;
    color: #444455;
}

.btn-send-sim {
    background: #81EF30;
    color: #0d0d0f;
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-send-sim:hover {
    background: #9cfc52;
    box-shadow: 0 0 10px rgba(129, 239, 48, 0.4);
}

.contact-email-text {
    margin-top: 15px;
}

/* Aperçu de la pièce jointe */
.file-attachment-preview {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 204, 255, 0.06);
    border: 1px solid rgba(0, 204, 255, 0.2);
    border-radius: 6px;
    padding: 6px 12px;
    margin-bottom: 6px;
    align-self: flex-start;
}

.file-preview-icon {
    font-size: 14px;
}

.file-preview-name {
    color: #00ccff;
    font-size: 11px;
    font-family: 'IBM Plex Mono', monospace;
}

.btn-remove-attachment {
    background: none;
    border: none;
    color: #ff3b30;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 4px;
}

.btn-remove-attachment:hover {
    color: #ff453a;
}

/* Bulle de pièce jointe dans le chat */
.file-attachment-bubble {
    background: rgba(0, 204, 255, 0.1);
    border: 1px solid rgba(0, 204, 255, 0.3);
    border-radius: 6px;
    padding: 8px 12px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    color: #00ccff;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

/* Modal d'Alerte DLP (Simulé) */
.dlp-alert-modal {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 9, 11, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 15;
    padding: 20px;
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.dlp-alert-modal.active {
    display: flex;
}

.dlp-modal-content {
    background: #f4f3eb;
    border: 2px solid #555555;
    border-radius: 4px;
    width: 100%;
    max-width: 580px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    color: #333333;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.dlp-header {
    color: #005596;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.dlp-subtitle {
    color: #555555;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 20px;
}

/* Vue 1: Anonymisation Interactive (Textes) */
.dlp-anonymize-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.dlp-anonymize-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #dcdbd3;
    padding: 8px 12px;
    border-radius: 4px;
}

.dlp-orig-badge {
    background: #fef2d0;
    border: 1.5px solid #fcd49b;
    color: #a75d00;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dlp-arrow {
    color: #777777;
    font-weight: bold;
}

.dlp-mask-input {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid #cccccc;
    border-radius: 4px;
    padding: 5px 10px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11.5px;
    color: #333333;
    outline: none;
}

.dlp-mask-input:focus {
    border-color: #005596;
}

/* Vue 2: Rapport Analyse (Fichiers) */
.dlp-file-card-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.dlp-file-card {
    background: #e9e8e2;
    border: 1.5px solid #ff453a;
    border-radius: 4px;
    width: 140px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.dlp-file-card-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.dlp-file-name-text {
    font-size: 10px;
    font-weight: bold;
    font-family: 'IBM Plex Mono', monospace;
    color: #333333;
    margin-bottom: 8px;
    word-break: break-all;
    max-height: 28px;
    overflow: hidden;
}

.dlp-file-card-badge {
    font-size: 9px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.dlp-file-card-badge.status-blocked {
    background: #ffe5e5;
    border: 1px solid #ff453a;
    color: #ff3b30;
}

.dlp-file-card-badge.status-validated {
    background: #e2fde2;
    border: 1px solid #30d158;
    color: #34c759;
}

/* Détails du document */
.dlp-file-details-box {
    background: #ffffff;
    border: 1.5px solid #dcdbd3;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.dlp-details-title {
    font-size: 11px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    color: #333333;
    border-bottom: 1px dashed #dcdbd3;
    padding-bottom: 6px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.dlp-triggered-rules {
    font-size: 11px;
    color: #333333;
    margin-bottom: 8px;
}

.rules-highlight {
    color: #ff3b30;
    font-weight: bold;
}

.dlp-identified-section {
    font-size: 11px;
    margin-bottom: 12px;
}

.dlp-identified-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.dlp-badge-item {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    background: rgba(255, 59, 48, 0.06);
    border: 1px dotted #ff3b30;
    color: #ff3b30;
    padding: 2px 6px;
    border-radius: 3px;
}

.dlp-badge-item .badge-value {
    font-weight: bold;
}

.dlp-preview-section {
    font-size: 11px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dlp-document-text-preview {
    background: #fafafa;
    border: 1.5px solid #dcdbd3;
    border-radius: 4px;
    padding: 10px;
    max-height: 140px;
    overflow-y: auto;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    line-height: 1.5;
    color: #333333;
    text-align: left;
    white-space: pre-wrap;
}

.dlp-text-match-highlight {
    background: #fef2d0;
    border: 1px dotted #ff9f0a;
    padding: 1px 3px;
    border-radius: 2px;
    color: #ff3b30;
    font-weight: bold;
}

.dlp-file-options-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    margin-bottom: 20px;
    color: #333333;
}

.dlp-select-field {
    background: #ffffff;
    border: 1.5px solid #cccccc;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    outline: none;
    color: #333333;
}

/* Footer Buttons */
.dlp-footer-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid #dcdbd3;
    padding-top: 15px;
}

.btn-dlp-action {
    padding: 8px 16px;
    font-size: 11.5px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: all 0.15s ease;
}

.btn-dlp-cancel {
    background: #dcdbd3;
    border: 1.5px solid #9c9b93;
    color: #333333;
}

.btn-dlp-cancel:hover {
    background: #cfcece;
}

.btn-dlp-submit {
    background: #005596;
    border: none;
    color: #ffffff;
}

.btn-dlp-submit:hover {
    background: #004478;
    box-shadow: 0 0 10px rgba(0, 85, 150, 0.2);
}

.btn-dlp-bypass-orange {
    background: #c45a00;
    border: none;
    color: #ffffff;
}

.btn-dlp-bypass-orange:hover {
    background: #a84d00;
    box-shadow: 0 0 10px rgba(196, 90, 0, 0.2);
}

.safeprompt-main {
    max-width: 1400px !important;
    width: 100%;
}

/* CTA Promo Sandbox */
.safeprompt-cta-sandbox-box {
    background: linear-gradient(135deg, #0d1e0a 0%, #07090b 100%);
    border: 2px solid #81EF30;
    border-radius: 12px;
    padding: 35px;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(129, 239, 48, 0.08);
    position: relative;
    overflow: hidden;
}

.safeprompt-cta-sandbox-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(129, 239, 48, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-sandbox-content h3 {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-sandbox-content p {
    font-size: 15px;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cta-sandbox-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.cta-sandbox-benefits li {
    font-size: 14px;
    color: #d1d1d6;
    margin-bottom: 12px;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.cta-sandbox-benefits li::before {
    content: "•";
    color: #81EF30;
    font-weight: bold;
    font-size: 18px;
    position: absolute;
    left: 0;
    top: -2px;
}

.cta-sandbox-button-wrapper {
    margin-top: 25px;
}

.btn-cta-sandbox-link {
    display: inline-block;
    background: #81EF30;
    color: #000000 !important;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(129, 239, 48, 0.3);
}

.btn-cta-sandbox-link:hover {
    background: #ffffff;
    color: #000000 !important;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* GSM Responsive Overrides */
@media (max-width: 480px) {
    .dlp-alert-modal {
        padding: 10px;
        align-items: flex-start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .dlp-modal-content {
        padding: 15px;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        margin: 12px 0;
    }
    .dlp-file-details-box {
        padding: 10px;
    }
    .dlp-document-text-preview {
        max-height: 120px;
        overflow-y: auto;
    }
    .dlp-footer-buttons {
        flex-direction: column;
        gap: 10px;
        position: sticky;
        bottom: 0;
        background: inherit;
        padding-top: 8px;
    }
    .dlp-footer-buttons button {
        width: 100%;
        text-align: center;
        min-height: 44px;
    }
    .safeprompt-cta-sandbox-box {
        padding: 20px;
    }
    .btn-cta-sandbox-link {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Fullscreen Sandbox Layout - Style ChatGPT Reel */
.safeprompt-fullscreen-sandbox {
    display: flex;
    flex-direction: row;
    height: calc(100vh - 85px);
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
    background: #212121;
}

/* Sidebar de gauche style ChatGPT */
.ai-sidebar {
    width: 260px;
    background: #171717;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    box-sizing: border-box;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    color: #ececf1;
    font-family: 'Inter', system-ui, sans-serif;
    flex-shrink: 0;
}

.sidebar-new-chat-btn {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 20px;
    transition: background 0.2s;
    font-weight: 500;
    font-size: 14px;
}

.sidebar-new-chat-btn:hover {
    background: #212121;
}

.sidebar-icon-plus {
    margin-right: 12px;
    font-size: 18px;
}

.sidebar-menu-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 4px;
    color: #b4b4b4;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.sidebar-menu-item:hover {
    background: #212121;
    color: #ffffff;
}

.sidebar-menu-icon {
    margin-right: 12px;
    opacity: 0.7;
    width: 16px;
    text-align: center;
}

.sidebar-login-box {
    background: #212121;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    margin-top: 15px;
}

.sidebar-login-box strong {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
    color: #ffffff;
}

.sidebar-login-box p {
    font-size: 12px;
    color: #b4b4b4;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.btn-sidebar-login {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 100px;
    padding: 8px 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 13px;
    transition: opacity 0.2s;
}

.btn-sidebar-login:hover {
    opacity: 0.9;
}

/* Viewport Principal de l'IA à droite */
.ai-main-viewport {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #212121;
    height: 100%;
    min-width: 0;
    position: relative;
}

.ai-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: #212121;
    box-sizing: border-box;
}

.ai-top-left {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.ai-top-title {
    font-weight: 600;
    font-size: 16px;
    font-family: 'Inter', system-ui, sans-serif;
}

.ai-top-arrow {
    font-size: 10px;
    color: #b4b4b4;
}

.ai-top-right {
    display: flex;
    gap: 10px;
}

.btn-ai-login {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 100px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-ai-login:hover {
    opacity: 0.9;
}

.btn-ai-signup {
    background: transparent;
    color: #ffffff;
    border: 1px solid #565656;
    border-radius: 100px;
    padding: 6px 14px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-ai-signup:hover {
    background: rgba(255, 255, 255, 0.05);
}

.ai-chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 40px 20px 20px 20px;
    box-sizing: border-box;
}

/* Saisie / Input container style ChatGPT */
.ai-input-container {
    padding: 0 20px 20px 20px;
    box-sizing: border-box;
    background: #212121;
}

.ai-input-container .chat-input-area {
    max-width: 768px;
    margin: 0 auto;
    background: #2f2f2f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 10px 14px;
    position: relative;
    box-sizing: border-box;
}

.pill-input-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.btn-input-attach {
    background: transparent;
    border: none;
    color: #b4b4b4;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 2px; /* Decale legerement pour s'aligner sur la baseline */
}

.btn-input-attach:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.ai-input-container textarea {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    resize: none;
    height: 24px;
    max-height: 200px;
    overflow-y: auto;
    font-size: 15px;
    line-height: 24px;
    font-family: inherit;
    box-sizing: border-box;
    padding: 0;
}

.btn-send-sim {
    background: #ffffff;
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.btn-send-sim:hover {
    opacity: 0.9;
}

.ai-disclaimer {
    text-align: center;
    font-size: 11px;
    color: #888888;
    margin-top: 12px;
    line-height: 1.4;
    font-family: 'Inter', system-ui, sans-serif;
}

.dlp-view-hidden {
    display: none;
}

/* Visibility classes */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: flex !important;
}

span.desktop-only {
    display: inline-block !important;
}

.btn-send-sim svg {
    width: 16px;
    height: 16px;
}

/* Suggestion Card Layout Overhaul for SVGs */
.suggestion-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #81EF30;
    flex-shrink: 0;
    margin-top: 4px;
}

.suggestion-icon {
    width: 18px;
    height: 18px;
}

.suggestion-content-box {
    flex: 1;
    min-width: 0;
}

/* Ecran d'accueil initial Sandbox style ChatGPT */
.sandbox-welcome-screen {
    max-width: 800px;
    margin: 120px auto 40px auto;
    text-align: center;
    color: #ffffff;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    padding: 0 20px;
}

.sandbox-welcome-screen h2 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 30px;
    color: #ffffff;
}

.welcome-subtitle {
    display: none; /* Cache le sous-titre pour ressembler exactement à la capture d'écran */
}

.sandbox-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
    text-align: left;
}

.suggestion-card {
    background: transparent;
    border: 1px solid #3e3e3e;
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
}

.suggestion-card:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: #565656;
}

.suggestion-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}

.suggestion-badge {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.badge-text {
    background: rgba(255, 159, 10, 0.15);
    color: #ff9f0a;
}

.badge-code {
    background: rgba(191, 90, 242, 0.15);
    color: #bf5af2;
}

.badge-file {
    background: rgba(10, 132, 255, 0.15);
    color: #0a84ff;
}

.suggestion-card strong {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.suggestion-preview {
    font-size: 12px;
    color: #8e8e93;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* GSM / Responsive Layout */
@media (max-width: 900px) {
    .mobile-only {
        display: flex !important;
    }
    
    .desktop-only {
        display: none !important;
    }

    body.page-safeprompt-demo {
        overflow: hidden !important;
        height: 100vh;
        height: 100dvh;
    }

    body.page-safeprompt-demo .navbar {
        display: none !important;
    }

    body.page-safeprompt-demo .safeprompt-fullscreen-sandbox {
        height: 100vh;
        height: 100dvh;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .safeprompt-fullscreen-sandbox {
        flex-direction: row;
        height: 100vh;
        height: 100dvh;
    }

    /* Fixed drawer sidebar on mobile */
    .ai-sidebar {
        display: flex !important; /* Force sidebar to show when active */
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        z-index: 2000;
        transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.6);
    }

    .ai-sidebar.open {
        left: 0;
    }

    /* Backdrop overlay for mobile drawer */
    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1999;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .sidebar-overlay.active {
        display: block;
        opacity: 1;
    }

    .ai-main-viewport {
        height: 100%;
        width: 100%;
        background: #000000;
    }

    .ai-chat-area {
        height: 0;
        flex: 1;
        overflow-y: auto;
        padding: 20px 15px;
    }

    /* ChatGPT mobile top bar styling */
    .ai-top-bar {
        background: #000000;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 10px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        height: 56px;
    }

    .mobile-menu-toggle, .mobile-chat-history-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #ffffff;
        cursor: pointer;
        padding: 0;
        text-decoration: none;
        box-sizing: border-box;
        transition: background 0.2s, border-color 0.2s, color 0.2s;
    }

    .mobile-menu-toggle svg, .mobile-chat-history-toggle svg {
        width: 18px;
        height: 18px;
    }

    .mobile-top-right {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .mobile-exit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background-color: #81EF30 !important;
        color: #000000 !important;
        font-weight: 700;
        font-size: 11.5px;
        padding: 6px 14px;
        border-radius: 20px;
        text-decoration: none;
        border: none;
        white-space: nowrap;
        height: 32px;
        box-sizing: border-box;
        transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
        box-shadow: 0 2px 8px rgba(129, 239, 48, 0.3);
    }

    .mobile-exit-btn:hover, .mobile-exit-btn:active {
        background-color: #9cf557 !important;
        transform: translateY(-1.5px);
        color: #000000 !important;
        box-shadow: 0 4px 12px rgba(129, 239, 48, 0.4);
    }

    .mobile-top-center {
        display: none !important; /* Hide central upgrade button on mobile */
    }

    .btn-obtain-plus {
        display: none !important;
    }

    /* Welcome screen structure */
    .sandbox-welcome-screen {
        margin: 30px auto;
        display: flex;
        flex-direction: column;
        min-height: calc(100% - 20px);
        box-sizing: border-box;
    }

    .sandbox-welcome-screen h2 {
        font-size: 24px;
        font-weight: 400;
        margin-bottom: auto;
        color: #ffffff;
        padding-top: 40px;
    }

    /* Suggestion cards stack list for mobile */
    .sandbox-suggestions-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: auto;
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .suggestion-card {
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        padding: 12px 16px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        background: transparent;
        margin: 0;
    }

    .suggestion-icon-wrapper {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 0;
        color: #ffffff;
    }

    .suggestion-icon {
        width: 15px;
        height: 15px;
    }

    .suggestion-header {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        margin-bottom: 0;
        width: 100%;
    }

    .suggestion-badge {
        order: 2;
        margin-left: auto;
        font-size: 9px;
        padding: 2px 6px;
    }

    .suggestion-card strong {
        order: 1;
        font-size: 13.5px;
        font-weight: 400;
        color: #ececf1;
    }

    .suggestion-preview {
        display: none !important;
    }

    /* Mobile Pill Input */
    .ai-input-container {
        padding: 10px 15px 20px 15px;
        background: #000000;
        box-sizing: border-box;
    }

    .ai-input-container .chat-input-area {
        background: #171717;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 28px;
        padding: 6px 10px;
    }

    .pill-input-row {
        gap: 8px;
        align-items: center;
    }

    .btn-input-attach {
        width: 32px;
        height: 32px;
        font-size: 20px;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        border-radius: 50%;
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ai-input-container textarea {
        font-size: 15px;
        line-height: 20px;
        height: 20px;
        color: #ffffff;
        padding: 2px 4px;
    }

    .btn-input-mic {
        background: transparent;
        border: none;
        color: #b4b4b4;
        cursor: pointer;
        padding: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-input-mic svg {
        width: 18px;
        height: 18px;
    }

    .btn-input-voice {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .purple-voice-circle {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #ffffff;
        box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
    }

    .purple-voice-circle svg {
        width: 15px;
        height: 15px;
    }

    .drop-hint-text {
        display: none !important;
    }

    /* Send button toggling styles */
    .pill-input-row .btn-send-sim {
        display: none;
        background: #ffffff;
        color: #000000;
        border-radius: 50%;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
    }

    .pill-input-row .btn-send-sim svg {
        width: 16px;
        height: 16px;
    }

    .pill-input-row.has-text .btn-send-sim {
        display: flex;
    }

    .pill-input-row.has-text .btn-input-mic,
    .pill-input-row.has-text .btn-input-voice {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .sandbox-suggestions-grid {
        grid-template-columns: 1fr;
    }
    .sandbox-welcome-screen {
        margin: 20px auto;
    }
    .sandbox-welcome-screen h2 {
        font-size: 24px;
    }
}

/* Bulles de suggestion de fin de test */
.next-suggestions-bubble {
    margin-top: 15px !important;
    border: 1px dashed #22c55e !important;
    background: rgba(34, 197, 94, 0.03) !important;
}

.next-suggestions-title {
    margin: 0 0 10px 0;
    color: #22c55e;
    font-weight: 600;
    font-size: 13px;
}

.next-suggestions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.next-suggestion-btn {
    background: #141419;
    border: 1px solid #22222a;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.next-suggestion-btn:hover {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.2);
}

.next-suggestion-btn-primary {
    background: #81EF30;
    border-color: #81EF30;
    color: #0a0a0c;
    font-weight: 700;
}

.next-suggestion-btn-primary:hover {
    background: #9af54f;
    border-color: #9af54f;
    color: #0a0a0c;
    box-shadow: 0 4px 14px rgba(129, 239, 48, 0.35);
}

.sandbox-after-cta .next-suggestions-title {
    margin-bottom: 12px;
    font-weight: 600;
}

/* STICKY NAVBAR — Fond opaque performant (pas de backdrop-filter, zéro coût GPU sur iOS) */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(5, 5, 7, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

html {
    scroll-behavior: smooth;
}


/* Page spécifique : Sandbox SafePrompt sans défilement de fond parasite */
body.page-safeprompt-demo {
    overflow: hidden !important;
    height: 100vh;
}
body.page-safeprompt-demo .safeprompt-fullscreen-sandbox {
    height: calc(100vh - 80px);
}

/* CYBER GRID BACKGROUND PATTERN */
.cyber-grid {
    background-image: 
        linear-gradient(rgba(129, 239, 48, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(129, 239, 48, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

/* VALEURS MODAL STYLING (CSP COMPLIANT) */
.valeur-icon-container-modal {
    background-color: #81EF30 !important;
    color: #000000 !important;
    border-color: #81EF30 !important;
}

/* VALEURS CTA BLOCK */
.valeurs-cta-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.valeurs-cta-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.valeurs-cta-card h2 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 12px;
    font-weight: 700;
}

.valeurs-cta-card p {
    color: #a0a0a0;
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-valeurs-cta {
    display: inline-block;
    background: #81EF30;
    color: #000000;
    padding: 12px 32px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(129, 239, 48, 0.2);
}

.btn-valeurs-cta:hover {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    color: #000000;
    transform: translateY(-2px);
}

/* DIAGNOSTIC RESULTS OVERHAUL */
.result-score-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.score-label {
    font-size: 15px;
    font-weight: 600;
    color: #cccccc;
    margin-bottom: 10px;
}

.score-value {
    font-size: 32px;
    font-weight: 800;
    font-family: monospace;
    margin-left: 8px;
}

.score-value.score-success { color: #81EF30; }
.score-value.score-warning { color: #FFA500; }
.score-value.score-danger { color: #FF4D4D; }

.score-bar-bg {
    background: #222225;
    border-radius: 6px;
    height: 10px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.score-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 6px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.score-bar-fill.score-bar-success { background: #81EF30; box-shadow: 0 0 10px rgba(129, 239, 48, 0.5); }
.score-bar-fill.score-bar-warning { background: #FFA500; box-shadow: 0 0 10px rgba(255, 165, 0, 0.5); }
.score-bar-fill.score-bar-danger { background: #FF4D4D; box-shadow: 0 0 10px rgba(255, 77, 77, 0.5); }

/* Liste de recommandations */
.diagnostic-recs {
    text-align: left;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 16px;
    border-left: 3px solid #81EF30;
}

.diagnostic-recs.recs-warning { border-left-color: #FFA500; }
.diagnostic-recs.recs-danger { border-left-color: #FF4D4D; }

.diagnostic-recs-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 12px;
}

.diagnostic-rec-item {
    font-size: 13px;
    color: #cccccc;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.diagnostic-rec-item:last-child {
    margin-bottom: 0;
}

.rec-icon {
    color: #FF4D4D;
    font-weight: bold;
}
.recs-warning .rec-icon { color: #FFA500; }
.recs-success .rec-icon { color: #81EF30; }

.diagnostic-cta-btn {
    display: inline-block;
    background: #81EF30;
    color: #000000;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 15px;
    margin-right: 12px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.diagnostic-cta-btn:hover {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.diagnostic-restart-btn {
    display: inline-block;
    background: transparent;
    color: #b4b4b4;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.diagnostic-restart-btn:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* ==============================================================================
   SAFARI iOS (WEBKIT) HARDWARE ACCELERATION & LATENCY OPTIMIZATIONS
   ============================================================================== */

/* Hardware acceleration on body and key scroll sections */
html, body {
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Eliminate 300ms touch delay and speed up tap responsiveness on iOS */
a, button, .card, .skill-badge, .skills-tab-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* iOS & Tablet Performance Overrides — Étendu à 1024px pour couvrir iPads */
@media (max-width: 1024px) {
    /* Disable heavy backdrop-filter blurs on iOS/tablet to prevent GPU scroll lag */
    .navbar,
    .navbar nav,
    .card,
    .modal-card,
    .modal-overlay,
    .solution-card,
    .diagnostic-terminal,
    .skills-lightbox,
    .valeur-card-trigger,
    .valeur-modal-overlay {
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
    }

    /* Provide solid, crisp background fallbacks for mobile header and overlays */
    .navbar {
        background-color: #050507 !important;
    }
    .navbar nav {
        background-color: #08080a !important;
    }

    /* Masquer les glow spheres GPU-coûteuses sur mobile/tablette */
    .glow-sphere {
        display: none !important;
    }

    /* Promote hero and card layers to dedicated GPU composite layers */
    .section-hero,
    .card,
    .btn-hero-primary,
    .container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }

    /* Lighten heavy box-shadow glows on mobile screens to maintain 60fps scrolling */
    .card-glow-1,
    .card-glow-2,
    .card-glow-3,
    .btn-hero-primary {
        box-shadow: 0 4px 12px rgba(129, 239, 48, 0.15) !important;
    }
}

/* ==============================================================================
   TYPOGRAPHIE FLUIDE (CLAMP) POUR ADAPTATION UNIVERSELLE
   ============================================================================== */
h1 {
    font-size: clamp(26px, 4vw + 1rem, 46px) !important;
}
h2 {
    font-size: clamp(22px, 3vw + 0.8rem, 36px) !important;
}
.hero-text {
    font-size: clamp(16px, 2vw + 0.5rem, 20px) !important;
}

/* ==============================================================================
   COMMAND PALETTE (CTRL + K) STYLES
   ============================================================================== */
.header-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cmd-palette-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cccccc;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cmd-palette-btn:hover {
    border-color: #81EF30;
    color: #ffffff;
    background: rgba(129, 239, 48, 0.1);
}

.cmd-key-badge {
    background: rgba(255, 255, 255, 0.1);
    color: #81EF30;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(129, 239, 48, 0.2);
}

.cmd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cmd-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cmd-modal-card {
    background: #0f0f13;
    border: 1px solid rgba(129, 239, 48, 0.3);
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(129, 239, 48, 0.1);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.cmd-modal-overlay.active .cmd-modal-card {
    transform: translateY(0);
}

.cmd-modal-input-wrapper {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 12px;
}

.cmd-search-icon {
    stroke: #81EF30;
}

.cmd-modal-input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
}

.cmd-esc-tag {
    font-size: 11px;
    color: #777;
    border: 1px solid #333;
    padding: 2px 6px;
    border-radius: 4px;
}

.cmd-results-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 10px;
}

.cmd-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    color: #cccccc;
    transition: background-color 0.2s ease;
}

.cmd-item:hover {
    background-color: rgba(129, 239, 48, 0.1);
    color: #ffffff;
}

.cmd-item-icon {
    font-size: 20px;
}

.cmd-item-info {
    display: flex;
    flex-direction: column;
}

.cmd-item-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}

.cmd-item-desc {
    font-size: 12px;
    color: #888888;
}

/* ==============================================================================
   COMPARATEUR SLIDER (AVANT / APRÈS SAFEPROMPT) STYLES
   ============================================================================== */
.section-slider-demo {
    padding: 80px 0;
    background-color: #050507;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.slider-demo-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.slider-demo-subtext {
    font-size: 16px;
    color: #a0a0a0;
    margin-top: 12px;
    line-height: 1.6;
}

.slider-comparison-box {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 280px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    user-select: none;
    -webkit-user-select: none;
}

.slider-panel {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    box-sizing: border-box;
}

.slider-before {
    width: 100%;
    background-color: #0d090a;
    color: #ffffff;
    z-index: 1;
}

.slider-after {
    background-color: #091209;
    color: #ffffff;
    z-index: 2;
    width: 0%; /* Début à 0%, se dévoile au scroll */
    overflow: hidden;
    border-right: 2px solid #81EF30;
    transition: width 0.05s linear;
}

.slider-inner-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.slider-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
    width: fit-content;
    white-space: nowrap;
}

.slider-badge-danger {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border: 1px solid rgba(255, 77, 77, 0.3);
}

.slider-badge-success {
    background: rgba(129, 239, 48, 0.15);
    color: #81EF30;
    border: 1px solid rgba(129, 239, 48, 0.3);
}

.slider-code-content {
    font-family: 'IBM Plex Mono', monospace;
    font-size: clamp(11px, 1.1vw, 13.5px);
    line-height: 1.7;
    color: #dddddd;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

.code-line {
    display: block;
}

.highlight-red {
    background-color: rgba(255, 77, 77, 0.25);
    color: #ff6666;
    padding: 2px 6px;
    border-radius: 4px;
}

.highlight-lime {
    background-color: rgba(129, 239, 48, 0.2);
    color: #81EF30;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 0%; /* Aligné sur slider-after */
    height: 100%;
    z-index: 10;
    transform: translateX(-50%);
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.05s linear;
}

.slider-handle-line {
    width: 2px;
    height: 100%;
    background-color: #81EF30;
    box-shadow: 0 0 10px #81EF30;
}

.slider-handle-button {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #81EF30;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(129, 239, 48, 0.4);
    touch-action: none;
}

@media (max-width: 768px) {
    .cmd-key-badge {
        display: none !important;
    }
    .slider-comparison-box {
        height: 320px;
    }
    .slider-inner-container {
        width: calc(100vw - 48px);
        padding: 20px 16px;
    }
    .slider-code-content {
        font-size: 11.5px;
        white-space: normal;
    }
    .code-line {
        margin-bottom: 6px;
    }
}

/* ==============================================================================
   SECTION DEMO CAVARDAGE PDF AU SCROLL (SAFEPROMPT DLP)
   ============================================================================== */
.section-pdf-demo {
    padding: 80px 0;
    background-color: #08080a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pdf-demo-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.pdf-demo-subtext {
    font-size: 16px;
    color: #a0a0a0;
    margin-top: 12px;
    line-height: 1.6;
}

.pdf-viewer-box {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    background-color: #121215;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.pdf-viewer-bar {
    background-color: #1a1a1e;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pdf-viewer-dots {
    display: flex;
    gap: 8px;
}

.pdf-viewer-title {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: #a0a0ab;
}

/* ==============================================================================
   SECTION COMPARATEUR D'IMAGES PDF (REDACTED VS UNREDACTED)
   ============================================================================== */
.pdf-img-slider-box {
    position: relative;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    background-color: #121215;
}

.pdf-img-layer {
    position: relative;
    width: 100%;
}

.pdf-img-layer img {
    width: 100%;
    height: auto;
    display: block;
}

.pdf-img-before {
    z-index: 1;
}

.pdf-img-after {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    z-index: 2;
    overflow: hidden;
    border-right: 2px solid #81EF30;
    box-shadow: 0 0 15px rgba(129, 239, 48, 0.4);
}

.pdf-img-after-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.pdf-img-after-inner img {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
}

.pdf-img-badge {
    position: absolute;
    top: 20px;
    padding: 6px 14px;
    border-radius: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    z-index: 5;
    white-space: nowrap;
}

.pdf-img-before .pdf-img-badge {
    left: 20px;
    background: rgba(255, 77, 77, 0.9);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.pdf-img-after .pdf-img-badge {
    left: 20px;
    background: rgba(129, 239, 48, 0.9);
    color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.pdf-img-handle {
    position: absolute;
    top: 0;
    left: 0%;
    height: 100%;
    z-index: 10;
    transform: translateX(-50%);
    cursor: ew-resize;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pdf-img-handle-line {
    width: 2px;
    height: 100%;
    background-color: #81EF30;
    box-shadow: 0 0 10px #81EF30;
}

.pdf-img-handle-button {
    position: absolute;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #81EF30;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(129, 239, 48, 0.4);
    touch-action: none;
}

/* ==============================================================================
   GRILLE CÔTE À CÔTE DES 2 DÉMONSTRATIONS & BANDEAU MULTI-FORMATS
   ============================================================================== */
.demos-dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

.demo-grid-col {
    background-color: #0d0d11;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.demo-col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-step-badge {
    background-color: rgba(129, 239, 48, 0.15);
    color: #81EF30;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(129, 239, 48, 0.3);
}

.demo-col-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.multi-format-support-banner {
    background: linear-gradient(135deg, rgba(18, 18, 22, 0.95), rgba(10, 10, 12, 0.98));
    border: 1px solid rgba(129, 239, 48, 0.3);
    border-radius: 12px;
    padding: 30px 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(129, 239, 48, 0.08);
    margin-top: 20px;
    margin-bottom: 60px !important;
}

.demo-single-cta-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-top: 60px !important;
    margin-bottom: 40px !important;
    padding-top: 20px !important;
    clear: both !important;
}

.format-banner-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.format-banner-text p {
    font-size: 14px;
    color: #b0b0b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.format-badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.format-tag {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #16161a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e0e0e0;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12.5px;
    font-weight: 600;
    gap: 8px !important;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.format-tag svg {
    margin-right: 6px !important;
    flex-shrink: 0 !important;
}

.format-tag:hover {
    border-color: #81EF30;
    color: #81EF30;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .demos-dual-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .demo-grid-col {
        padding: 16px;
    }
    .multi-format-support-banner {
        padding: 24px 18px;
    }
    .format-badges-grid {
        gap: 8px;
    }
    .format-tag {
        font-size: 11.5px;
        padding: 6px 12px;
    }
}












/* --- Pivot SafePrompt : CTA dual + roadmap --- */
.demo-dual-cta-wrapper {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-top: 60px !important;
    margin-bottom: 40px !important;
}

.demo-dual-cta-wrapper .btn-hero-primary,
.demo-dual-cta-wrapper .btn-hero-secondary {
    min-width: 200px;
}

.roadmap-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    align-items: center;
}

#roadmap.section-lime h2 {
    margin-bottom: 16px;
}

.dlp-redacted-block {
    display: inline-block;
    background: #111;
    color: transparent;
    border-radius: 2px;
    padding: 0 6px;
    letter-spacing: 0.05em;
    user-select: none;
    border: 1px solid #333;
}

.dlp-redacted-block::before {
    content: attr(data-label);
    color: #666;
    font-size: 0.85em;
}

@media (max-width: 600px) {
    .demo-dual-cta-wrapper .btn-hero-primary,
    .demo-dual-cta-wrapper .btn-hero-secondary {
        width: 100%;
        min-width: 0;
    }
    .roadmap-cta-row {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================================================
   POLISH DESIGN PRO — ADN CNL (v2.50)
   ========================================================================== */

.hero-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.hero-wordmark-text {
    font-family: var(--cnl-font-mono);
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 700;
    color: var(--cnl-lime);
    letter-spacing: -0.03em;
}

.hero-stack .hero-actions {
    margin-top: 36px !important;
}

.section-lime-refined .lime-prose {
    max-width: 760px;
    border-left: 3px solid rgba(0, 0, 0, 0.35);
    padding-left: 28px;
}

.terminal-tag-on-lime {
    background: rgba(0, 0, 0, 0.12);
    color: #000;
    border-color: rgba(0, 0, 0, 0.45);
    margin-bottom: 20px;
}

.roadmap-timeline {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.roadmap-timeline li {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.roadmap-timeline a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.roadmap-timeline a:hover {
    opacity: 0.85;
}

.roadmap-tag {
    display: inline-block;
    min-width: 4.5rem;
    font-weight: 700;
    margin-right: 10px;
}

.btn-on-lime {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
    border-color: rgba(0, 0, 0, 0.35) !important;
}

.btn-on-lime-primary {
    background: #000 !important;
    color: var(--cnl-lime) !important;
    -webkit-text-fill-color: var(--cnl-lime) !important;
    border-color: #000 !important;
    box-shadow: none !important;
}

.demo-cta-secondary-row {
    margin-top: 40px !important;
    margin-bottom: 20px !important;
}

.section-contact-tight {
    padding-top: 80px;
    padding-bottom: 60px;
}

.section-contact-tight .contact-info {
    margin-top: 28px;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(129, 239, 48, 0.35);
    background: #050505;
    padding: 36px 24px 48px;
    position: relative;
    z-index: 2;
}

.site-footer-inner {
    max-width: var(--cnl-container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 28px;
    align-items: start;
}

.site-footer-brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.site-footer-brand strong {
    color: var(--cnl-lime);
    font-size: 14px;
}

.site-footer-brand span {
    color: var(--cnl-muted);
}

.site-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.site-footer-nav a {
    color: #d0d0d4;
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer-nav a:hover {
    color: var(--cnl-lime);
    border-bottom-color: var(--cnl-lime);
}

.site-footer-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #777;
    text-align: right;
}

body.page-safeprompt-demo .site-footer {
    display: none;
}

/* Product page polish */
.product-hero-polish h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--cnl-lime);
    margin-bottom: 16px;
}

.product-hero-polish .subtitle {
    font-family: var(--cnl-font-sans);
    font-size: 1.125rem;
    color: var(--cnl-muted);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.55;
}

.product-hero-actions {
    margin-top: 0 !important;
    margin-bottom: 28px;
}

.product-hero-actions .btn-hero-secondary {
    font-family: var(--cnl-font-mono);
    cursor: pointer;
}

.product-anchors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    margin-top: 8px;
}

.product-anchors a {
    font-family: var(--cnl-font-mono);
    font-size: 12px;
    color: var(--cnl-lime);
    text-decoration: none;
    opacity: 0.85;
}

.product-anchors a:hover {
    opacity: 1;
    text-decoration: underline;
}

.feature-card p {
    font-family: var(--cnl-font-sans);
    font-size: 0.95rem;
    color: var(--cnl-muted);
    line-height: 1.55;
}

.compliance-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.compliance-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(129, 239, 48, 0.4);
    border-radius: 4px;
    color: var(--cnl-lime);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(129, 239, 48, 0.06);
}

/* --- Motion 1: Reveal sections --- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s var(--cnl-ease), transform 0.4s var(--cnl-ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.reveal.is-visible > .container > *:nth-child(1),
.reveal.is-visible > .container-center > *:nth-child(1),
.reveal.is-visible .lime-prose > *:nth-child(1) { transition-delay: 0ms; }
.reveal.is-visible > .container > *:nth-child(2),
.reveal.is-visible > .container-center > *:nth-child(2),
.reveal.is-visible .lime-prose > *:nth-child(2) { transition-delay: 80ms; }
.reveal.is-visible > .container > *:nth-child(3),
.reveal.is-visible > .container-center > *:nth-child(3),
.reveal.is-visible .lime-prose > *:nth-child(3) { transition-delay: 120ms; }

/* --- Motion 2: Hero one-shot --- */
.hero-anim {
    opacity: 0;
    transform: translateY(16px);
}

.section-hero.hero-ready .hero-anim {
    animation: heroFadeUp 0.5s var(--cnl-ease) forwards;
}

.section-hero.hero-ready .hero-anim-1 { animation-delay: 0.05s; }
.section-hero.hero-ready .hero-anim-2 { animation-delay: 0.12s; }
.section-hero.hero-ready .hero-anim-3 { animation-delay: 0.2s; }
.section-hero.hero-ready .hero-anim-4 { animation-delay: 0.28s; }
.section-hero.hero-ready .hero-anim-5 { animation-delay: 0.36s; }

@keyframes heroFadeUp {
    to {
        opacity: 1;
        transform: none;
    }
}

/* --- Motion 3: Slider handle pulse --- */
@keyframes handlePulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 15px rgba(129, 239, 48, 0.4); }
    50% { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(129, 239, 48, 0); }
}

.slider-handle-button.pulse-hint,
.pdf-img-handle-button.pulse-hint {
    animation: handlePulse 0.4s ease 3;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-anim {
        opacity: 1;
        transform: none;
        animation: none !important;
    }
    .slider-handle-button.pulse-hint,
    .pdf-img-handle-button.pulse-hint {
        animation: none !important;
    }
}

@media (max-width: 768px) {
    .site-footer-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
    .site-footer-meta {
        text-align: left;
    }
    .hero-actions {
        width: 100%;
        flex-direction: column;
    }
    .hero-actions .btn-hero-primary,
    .hero-actions .btn-hero-secondary {
        width: 100%;
    }
    .section-lime-refined .lime-prose {
        padding-left: 18px;
    }
    .product-anchors {
        justify-content: flex-start;
    }
}

/* Option navigateur — domaines malveillants / Shadow SaaS */
.browser-guard-section {
    margin: 56px 0 40px;
    padding: 36px 28px;
    border: 1px solid rgba(129, 239, 48, 0.35);
    border-radius: var(--cnl-radius);
    background: rgba(129, 239, 48, 0.04);
}

.browser-guard-section h2 {
    margin: 16px 0 14px;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.browser-guard-intro {
    font-family: var(--cnl-font-sans);
    color: var(--cnl-muted);
    max-width: 720px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.browser-guard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.browser-guard-card {
    padding: 22px 20px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.browser-guard-card h3 {
    color: var(--cnl-lime);
    font-size: 1rem;
    margin-bottom: 14px;
}

.browser-guard-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.browser-guard-card li {
    font-family: var(--cnl-font-sans);
    font-size: 0.95rem;
    color: #d0d0d4;
    padding-left: 18px;
    position: relative;
    line-height: 1.45;
}

.browser-guard-card li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--cnl-lime);
    font-family: var(--cnl-font-mono);
    font-weight: 700;
}

@media (max-width: 768px) {
    .browser-guard-grid {
        grid-template-columns: 1fr;
    }
    .browser-guard-section {
        padding: 24px 18px;
    }
}

.soc-ops-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.soc-ops-list li {
    font-family: var(--cnl-font-sans);
    color: #d0d0d4;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
    font-size: 0.98rem;
}

.soc-ops-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--cnl-lime);
    font-family: var(--cnl-font-mono);
    font-weight: 700;
}

.soc-modes-title {
    font-family: var(--cnl-font-mono);
    font-size: 1.05rem;
    color: var(--cnl-lime);
    margin: 28px 0 12px;
}

.soc-modes-grid {
    margin-bottom: 28px;
}

.soc-report-grid {
    margin-top: 8px;
    margin-bottom: 20px;
}

/* --- FAQ + ressources SEO SafePrompt --- */
.seo-faq-section {
    margin-top: 48px;
}

.seo-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.seo-faq-item {
    background: #0d0d0f;
    border: 1px solid #1c1c22;
    border-radius: 8px;
    padding: 0;
}

.seo-faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 18px;
    font-family: var(--cnl-font-mono, "IBM Plex Mono", monospace);
    font-size: 14px;
    font-weight: 600;
    color: #f2f2f2;
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.seo-faq-item summary::after {
    content: "+";
    float: right;
    color: var(--cnl-lime, #81EF30);
    font-weight: 700;
}

.seo-faq-item[open] summary::after {
    content: "–";
}

.seo-faq-item p {
    margin: 0;
    padding: 0 18px 16px;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.65;
}

.seo-faq-item a {
    color: var(--cnl-lime, #81EF30);
}

.seo-blog-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.seo-blog-links .blog-link-btn {
    display: inline-flex;
}

@media (max-width: 700px) {
    .seo-blog-links .blog-link-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   PREMIUM POLISH + ANIMATIONS (v2.51) — pas de mock SOC
   ========================================================================== */

.section-hero {
    position: relative;
}

.section-hero::before {
    content: "";
    position: absolute;
    top: 35%;
    left: 50%;
    width: min(720px, 90vw);
    height: 320px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(129, 239, 48, 0.09) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.section-hero .hero-stack {
    position: relative;
    z-index: 1;
}

.hero-wordmark-text {
    letter-spacing: -0.06em;
    font-size: clamp(2rem, 5vw, 2.85rem);
}

.hero-trust-band {
    margin-top: 28px;
    font-family: var(--cnl-font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: var(--cnl-muted);
    text-transform: uppercase;
}

.section-divider {
    height: 1px;
    max-width: var(--cnl-container);
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, rgba(129, 239, 48, 0.35), transparent);
}

.section-airy {
    padding-top: clamp(72px, 10vw, 110px);
    padding-bottom: clamp(72px, 10vw, 110px);
}

.section-lime-refined {
    position: relative;
    overflow: hidden;
}

/* Browser chrome around demos */
.browser-chrome {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: #0a0a0c;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.browser-chrome-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 14px;
    background: #141418;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.browser-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.browser-dot-r { background: #ff5f57; }
.browser-dot-y { background: #febc2e; }
.browser-dot-g { background: #28c840; }

.browser-chrome-title {
    margin-left: 10px;
    font-family: var(--cnl-font-mono);
    font-size: 11px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.browser-chrome-body {
    position: relative;
}

.browser-chrome .slider-comparison-box,
.browser-chrome .pdf-img-slider-box {
    border-radius: 0;
    border: none;
    margin: 0;
}

/* Tag cursor blink (2-3 times then stop via animation-iteration) */
.tag-cursor {
    display: inline-block;
    margin-left: 2px;
    color: var(--cnl-lime);
    opacity: 1;
}

.section-hero.hero-ready .tag-cursor {
    animation: tagCursorBlink 0.45s steps(1, end) 3;
}

@keyframes tagCursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* Lime scanline — once when section visible */
.section-lime-scan {
    position: relative;
}

.lime-scanline {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.45), transparent);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
}

.section-lime-scan.is-visible .lime-scanline {
    animation: limeScanOnce 0.9s var(--cnl-ease) 0.15s forwards;
}

@keyframes limeScanOnce {
    0% { opacity: 0; top: 8%; }
    15% { opacity: 1; }
    100% { opacity: 0; top: 92%; }
}

/* CTA primary hover glow (not looping) */
.btn-hero-glow {
    transition: transform 0.25s var(--cnl-ease), box-shadow 0.25s var(--cnl-ease) !important;
}

.btn-hero-glow:hover,
.btn-hero-glow:focus {
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 8px 28px rgba(129, 239, 48, 0.4) !important;
}

.btn-hero-secondary:hover,
.btn-hero-secondary:focus {
    border-color: var(--cnl-lime) !important;
    color: var(--cnl-lime) !important;
    -webkit-text-fill-color: var(--cnl-lime) !important;
}

@media (prefers-reduced-motion: reduce) {
    .tag-cursor {
        animation: none !important;
        opacity: 1;
    }
    .section-lime-scan.is-visible .lime-scanline {
        animation: none !important;
        opacity: 0;
    }
    .btn-hero-glow:hover,
    .btn-hero-glow:focus {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    .browser-chrome-title {
        max-width: 55vw;
    }
    .hero-trust-band {
        font-size: 10px;
        letter-spacing: 0.04em;
        line-height: 1.6;
        padding: 0 8px;
    }
}

/* --- Cookie consent banner --- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 14px;
    background: rgba(8, 8, 10, 0.96);
    border-top: 1px solid #1c1c22;
    backdrop-filter: blur(10px);
}

.cookie-banner[hidden] {
    display: none !important;
}

.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1 1 280px;
    color: #c8c8c8;
    font-size: 13px;
    line-height: 1.55;
}

.cookie-banner-text strong {
    display: block;
    color: #fff;
    margin-bottom: 4px;
    font-family: var(--cnl-font-mono, "IBM Plex Mono", monospace);
}

.cookie-banner-text a {
    color: var(--cnl-lime, #81EF30);
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cookie-banner-actions .btn-hero-primary,
.cookie-banner-actions .btn-hero-secondary {
    padding: 10px 16px;
    font-size: 12px;
}

.site-footer-meta a {
    color: #8a8a8f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 8px;
    font-family: var(--cnl-font-mono, "IBM Plex Mono", monospace);
    font-size: 11px;
    letter-spacing: 0.06em;
}

.lang-link {
    color: #8a8a8f;
    text-decoration: none;
    padding: 4px 2px;
}

.lang-link.active,
.lang-link:hover {
    color: var(--cnl-lime, #81EF30);
}

.lang-sep {
    color: #3a3a40;
}

/* —— Autres services —— */
.services-main {
    padding-top: 90px;
    padding-bottom: 80px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.services-intro h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 16px 0 20px;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #ffffff 60%, rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-intro p {
    font-size: 17px;
    color: #a0a0a0;
    line-height: 1.7;
}

.services-list {
    display: grid;
    gap: 28px;
    margin-bottom: 64px;
}

.service-block {
    background: rgba(13, 13, 16, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 36px 32px;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-block:hover {
    border-color: rgba(129, 239, 48, 0.28);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.service-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: #81EF30;
    background: rgba(129, 239, 48, 0.08);
    border: 1px solid rgba(129, 239, 48, 0.2);
}

.service-block h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.service-lead {
    color: #a0a0a0;
    line-height: 1.65;
    margin: 0 0 20px;
    font-size: 15.5px;
}

.service-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.service-bullets li {
    position: relative;
    padding-left: 22px;
    color: #c8c8cc;
    font-size: 15px;
    line-height: 1.5;
}

.service-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: #81EF30;
    box-shadow: 0 0 8px rgba(129, 239, 48, 0.45);
}

@media (max-width: 640px) {
    .services-main {
        padding-top: 76px;
        padding-bottom: 48px;
    }

    .service-block {
        padding: 28px 20px;
    }
}

/* Blog home : section sombre (évite 2 bandeaux lime collés) */
.section-ink {
    background: transparent;
    position: relative;
}

.ink-prose {
    max-width: 720px;
    margin: 0 auto;
}

.ink-prose h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.15rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 14px 0 12px;
}

.ink-prose > p {
    color: #a0a0a0;
    line-height: 1.65;
    margin: 0 0 28px;
    font-size: 16px;
}

.ink-read-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ink-read-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ink-read-list a {
    display: grid;
    grid-template-columns: 2.5rem 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 4px;
    color: #e8e8ea;
    text-decoration: none;
    transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
}

.ink-read-list a:hover {
    color: #81EF30;
    background: rgba(129, 239, 48, 0.04);
    padding-left: 10px;
}

.ink-read-index {
    font-family: var(--cnl-font-mono, monospace);
    font-size: 12px;
    font-weight: 700;
    color: #81EF30;
    letter-spacing: 0.06em;
}

.ink-read-title {
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.4;
}

.ink-read-arrow {
    color: #4a4a50;
    font-size: 1.1rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.ink-read-list a:hover .ink-read-arrow {
    color: #81EF30;
    transform: translateX(4px);
}

/* —— Skip link & focus —— */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10001;
    padding: 10px 16px;
    background: #81EF30;
    color: #000;
    font-family: var(--cnl-font-mono);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
    outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 2px solid #81EF30;
    outline-offset: 2px;
}

/* —— Social proof strip —— */
.proof-strip {
    margin-top: 14px;
    font-family: var(--cnl-font-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

/* —— Services meta pills —— */
.service-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}

.service-meta-pill {
    display: inline-block;
    padding: 5px 12px;
    font-family: var(--cnl-font-mono);
    font-size: 11px;
    color: #81EF30;
    background: rgba(129, 239, 48, 0.06);
    border: 1px solid rgba(129, 239, 48, 0.22);
    border-radius: 4px;
    line-height: 1.4;
}

/* —— SafePrompt flow diagram —— */
.sp-flow {
    margin: 36px 0;
    padding: 28px 24px;
    border: 1px solid rgba(129, 239, 48, 0.15);
    border-radius: 12px;
    background: rgba(13, 13, 16, 0.5);
}

.sp-flow-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px;
    text-align: center;
}

.sp-flow-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
}

.sp-flow-step {
    flex: 1;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.25);
}

.sp-flow-num {
    display: inline-block;
    font-family: var(--cnl-font-mono);
    font-size: 11px;
    font-weight: 700;
    color: #81EF30;
    margin-bottom: 8px;
}

.sp-flow-step h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.sp-flow-step p {
    font-family: var(--cnl-font-sans);
    font-size: 0.85rem;
    color: #a0a0a0;
    line-height: 1.5;
    margin: 0;
}

.sp-flow-arrow {
    display: flex;
    align-items: center;
    color: #81EF30;
    font-size: 1.25rem;
    opacity: 0.6;
    flex-shrink: 0;
}

.usecases-teaser .btn-hero-secondary {
    margin-top: 16px;
    display: inline-flex;
}

/* —— Cas d'usage page —— */
.usecases-main {
    padding-top: 90px;
    padding-bottom: 80px;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.usecases-intro {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.usecases-intro h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin: 16px 0 20px;
    letter-spacing: -0.04em;
}

.usecases-intro p {
    font-size: 17px;
    color: #a0a0a0;
    line-height: 1.7;
}

.usecases-list {
    display: grid;
    gap: 28px;
    margin-bottom: 64px;
}

.usecase-block {
    background: rgba(13, 13, 16, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 36px 32px;
}

.usecase-block h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
}

.usecase-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.usecase-bullets li {
    position: relative;
    padding-left: 22px;
    color: #c8c8cc;
    font-size: 15px;
    line-height: 1.5;
}

.usecase-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 7px;
    height: 7px;
    border-radius: 1px;
    background: #81EF30;
    box-shadow: 0 0 8px rgba(129, 239, 48, 0.45);
}

@media (max-width: 768px) {
    .sp-flow-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .sp-flow-arrow {
        justify-content: center;
        transform: rotate(90deg);
    }

    .usecases-main {
        padding-top: 76px;
        padding-bottom: 48px;
    }

    .usecase-block {
        padding: 28px 20px;
    }
}
