/* ==========================================================================
   chirurgien.css — Chirurgien
   Thème : bloc opératoire — teal/vert chirurgical profond, halo de scialytique,
           sobriété stérile, polices techniques modernes.
   ========================================================================== */

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

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.65;
    color: #e6eef0;
    background: #0a1518;
    background-image:
        radial-gradient(ellipse at 50% -10%, rgba(56, 189, 248, .18) 0%, transparent 55%),
        radial-gradient(circle at 50% 30%, rgba(20, 95, 110, .35) 0%, transparent 60%),
        linear-gradient(180deg, #0a1518 0%, #0f1f24 100%);
    min-height: 100vh;
    font-size: 17px;
    overflow-x: hidden;
}

/* Lampe scialytique — halo subtil en haut */
body::before {
    content: '';
    position: fixed;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 400px;
    background:
        radial-gradient(ellipse at center, rgba(220, 252, 231, .12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.surg-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 24px 60px;
    position: relative;
    z-index: 1;
}

.back-link {
    display: inline-block;
    margin-bottom: 22px;
    color: #5eead4;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78em;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid rgba(94, 234, 212, .4);
    padding: 4px 12px;
    background: rgba(0, 0, 0, .25);
}
.back-link:hover {
    background: #5eead4;
    color: #0a1518;
    border-color: #5eead4;
}

/* HERO ====================================================================== */
.surg-hero {
    background:
        linear-gradient(180deg, rgba(15, 31, 36, .85), rgba(20, 95, 110, .35)),
        radial-gradient(ellipse at 50% 0%, rgba(220, 252, 231, .12), transparent 60%);
    border: 1px solid rgba(94, 234, 212, .25);
    border-radius: 14px;
    padding: 60px 44px 48px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, .55),
                0 0 80px rgba(94, 234, 212, .06) inset;
}

.surg-hero::before {
    /* Anneau de scialytique LED */
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, rgba(220, 252, 231, .8) 0%, rgba(220, 252, 231, .2) 30%, transparent 60%);
    box-shadow:
        0 0 60px rgba(220, 252, 231, .35),
        inset 0 0 30px rgba(220, 252, 231, .25);
    pointer-events: none;
}

.surg-hero::after {
    /* Anneau intérieur LED, 8 segments */
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 2px solid rgba(94, 234, 212, .3);
    background:
        conic-gradient(
            rgba(220, 252, 231, .8) 0 8%, transparent 8% 12.5%,
            rgba(220, 252, 231, .8) 12.5% 20.5%, transparent 20.5% 25%,
            rgba(220, 252, 231, .8) 25% 33%, transparent 33% 37.5%,
            rgba(220, 252, 231, .8) 37.5% 45.5%, transparent 45.5% 50%,
            rgba(220, 252, 231, .8) 50% 58%, transparent 58% 62.5%,
            rgba(220, 252, 231, .8) 62.5% 70.5%, transparent 70.5% 75%,
            rgba(220, 252, 231, .8) 75% 83%, transparent 83% 87.5%,
            rgba(220, 252, 231, .8) 87.5% 95.5%, transparent 95.5% 100%
        );
    opacity: 0.55;
    pointer-events: none;
}

.surg-hero .surtitle {
    font-family: 'JetBrains Mono', monospace;
    color: #5eead4;
    font-size: 0.78em;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}

.surg-hero h1 {
    font-size: 4em;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
    text-shadow: 0 0 30px rgba(94, 234, 212, .25);
}

.surg-hero .tagline {
    font-style: italic;
    font-size: 1.15em;
    color: #b8d4d9;
    max-width: 680px;
    line-height: 1.55;
}

/* STATUS BAR (ambiance bloc) ================================================ */
.status-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 26px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78em;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.status-item {
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(94, 234, 212, .25);
    padding: 5px 12px;
    border-radius: 3px;
    color: #b8d4d9;
}
.status-item .dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: blink 2s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }
.status-item .v { color: #5eead4; font-weight: 600; }

/* SECTIONS ================================================================== */
.section {
    background: rgba(15, 31, 36, .7);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(94, 234, 212, .2);
    border-radius: 8px;
    padding: 30px 36px;
    margin-bottom: 22px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .4);
}

.section h2 {
    font-size: 1.7em;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
    padding-left: 16px;
    border-left: 4px solid #5eead4;
    letter-spacing: -0.4px;
}

.section h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95em;
    color: #5eead4;
    margin: 18px 0 8px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section p { margin-bottom: 12px; color: #c8d6da; }
.section ul, .section ol { margin: 10px 0 14px 26px; }
.section li { margin-bottom: 6px; color: #c8d6da; }
.section strong { color: #fff; }
.section em { color: #5eead4; font-style: italic; }

/* TIMELINE ================================================================== */
.timeline {
    border-left: 2px solid rgba(94, 234, 212, .3);
    padding-left: 22px;
    margin: 18px 0;
}
.timeline-event {
    position: relative;
    padding-bottom: 14px;
}
.timeline-event::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 8px;
    width: 12px; height: 12px;
    background: #5eead4;
    border: 3px solid #0a1518;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(94, 234, 212, .5);
}
.timeline-event .date {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(94, 234, 212, .12);
    color: #5eead4;
    padding: 1px 9px;
    margin-right: 8px;
    font-size: 0.82em;
    letter-spacing: 1px;
    border-radius: 2px;
    border: 1px solid rgba(94, 234, 212, .3);
}

/* TABLES ==================================================================== */
.section table {
    width: 100%;
    border-collapse: collapse;
    margin: 14px 0;
    font-size: 0.93em;
    background: rgba(0, 0, 0, .25);
    border-radius: 4px;
    overflow: hidden;
}
.section th {
    background: rgba(94, 234, 212, .12);
    color: #fff;
    padding: 11px 14px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.4px;
    font-size: 0.92em;
    border-bottom: 2px solid rgba(94, 234, 212, .3);
}
.section td {
    padding: 9px 14px;
    border-bottom: 1px solid rgba(94, 234, 212, .12);
}
.section tr:last-child td { border-bottom: none; }

/* PROTOCOL STEPS ============================================================ */
.protocol {
    counter-reset: step;
    margin: 18px 0;
    display: grid;
    gap: 10px;
}
.protocol-step {
    background: rgba(94, 234, 212, .06);
    border: 1px solid rgba(94, 234, 212, .2);
    border-left: 3px solid #5eead4;
    padding: 14px 18px 14px 56px;
    border-radius: 4px;
    position: relative;
    counter-increment: step;
}
.protocol-step::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 14px;
    top: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.4em;
    color: #5eead4;
    font-weight: 700;
    line-height: 1;
}
.protocol-step h4 {
    color: #fff;
    font-size: 1em;
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}
.protocol-step p { font-size: 0.92em; margin: 0; color: #b8d4d9; }

/* SPECIALTY GRID ============================================================ */
.specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 16px 0;
}
.spec {
    background: rgba(0, 0, 0, .25);
    border: 1px solid rgba(94, 234, 212, .25);
    border-top: 3px solid #5eead4;
    padding: 14px 18px;
    border-radius: 4px;
}
.spec h4 {
    color: #fff;
    font-size: 1em;
    margin-bottom: 4px;
}
.spec p { font-size: 0.88em; color: #a8bdc2; margin: 0; }

/* CALLOUT ================================================================== */
.callout {
    background: rgba(94, 234, 212, .08);
    border-left: 3px solid #5eead4;
    padding: 16px 22px;
    margin: 18px 0;
    border-radius: 0 4px 4px 0;
}
.callout strong { color: #5eead4; }

/* RESPONSIVE =============================================================== */
@media (max-width: 700px) {
    .surg-hero h1 { font-size: 2.5em; }
    .surg-hero { padding: 40px 24px 36px; }
    .surg-hero::before, .surg-hero::after { display: none; }
    .section { padding: 22px 22px; }
    .section h2 { font-size: 1.4em; }
}
