.apollo-web {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.apollo-web-inner {
    display: grid;
    grid-template-columns: minmax(340px, .8fr) minmax(620px, 1.2fr);
    gap: clamp(60px, 6vw, 110px);
    align-items: center;
}

.apollo-web-copy h2 {
    max-width: 650px;
    margin-bottom: 30px;
    color: #fff;
    font-size: clamp(60px, 5.2vw, 96px);
    line-height: .96;
    letter-spacing: -.04em;
}

.apollo-web-copy p {
    max-width: 600px;
    color: var(--apollo-muted);
    font-size: clamp(18px, 1.35vw, 24px);
    line-height: 1.55;
}

.apollo-web-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.apollo-web-tags span {
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    color: #a1a1ab;
    font-size: 13px;
}

.apollo-web-stage {
    position: relative;
    height: 620px;
}

.apollo-project-window {
    position: absolute;
    top: 30px;
    right: 0;
    width: 92%;
    height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 22px;
    background: #101010;
    box-shadow: 0 40px 120px rgba(0,0,0,.58);
    opacity: 0;
    transform: translateY(70px) scale(.95);
}

.apollo-browser-bar {
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 17px;
    position: relative;
    background: #151515;
    border-bottom: 1px solid rgba(255,255,255,.09);
}

.apollo-browser-dots {
    display: flex;
    gap: 7px;
}

.apollo-browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.25);
}

.apollo-browser-address {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    color: rgba(255,255,255,.42);
    font-size: 11px;
}

.apollo-project-screen {
    position: absolute;
    inset: 50px 0 0;
    overflow: hidden;
    background: #090909;
}

.apollo-project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.apollo-project-caption {
    position: absolute;
    right: 22px;
    bottom: 20px;
    padding: 10px 13px;
    border-radius: 9px;
    background: rgba(10,10,10,.72);
    backdrop-filter: blur(12px);
}

.apollo-project-caption span,
.apollo-project-caption strong {
    display: block;
}

.apollo-project-caption span {
    color: #8f8f99;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.apollo-project-caption strong {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.apollo-code-window {
    position: absolute;
    left: 0;
    top: 390px;
    width: 58%;
    max-width: 600px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 15px;
    background: #0d1117;
    box-shadow: 0 35px 100px rgba(0,0,0,.72);
    opacity: 0;
    transform: translateY(75px) scale(.96);
    z-index: 8;
}

.apollo-code-tabs {
    height: 47px;
    display: flex;
    align-items: flex-end;
    padding: 0 12px;
    background: #161b22;
    border-bottom: 1px solid #30363d;
}

.apollo-code-tabs span {
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    color: #7d8590;
    font-family: ui-monospace, monospace;
    font-size: 10.5px;
}

.apollo-code-tabs .is-active {
    color: #fff;
    background: #0d1117;
    border: 1px solid #30363d;
    border-bottom-color: #0d1117;
    border-radius: 7px 7px 0 0;
}

.apollo-code-editor {
    padding: 16px 14px 18px;
}

.apollo-code-row {
    display: flex;
    min-height: 22px;
    white-space: nowrap;
    font-family: ui-monospace, monospace;
    font-size: 10.5px;
    line-height: 1.65;
}

.apollo-code-number {
    flex: 0 0 30px;
    padding-right: 10px;
    color: #484f58;
    text-align: right;
}

.apollo-code-content {
    display: inline-block;
    overflow: hidden;
    opacity: .12;
    clip-path: inset(0 100% 0 0);
}

.code-tag { color: #7ee787; }
.code-attr { color: #d2a8ff; }
.code-string { color: #a5d6ff; }
.code-text { color: #e6edf3; }
.code-comment { color: #6e7681; font-style: italic; }

.apollo-code-terminal {
    background: #161b22;
    border-top: 1px solid #30363d;
}

.apollo-terminal-tabs {
    height: 39px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 14px;
    color: #7d8590;
    font-size: 9.5px;
}

.apollo-terminal-tabs strong {
    color: #fff;
    font-weight: 500;
}

.apollo-terminal-body {
    padding: 9px 14px 13px;
    color: #8b949e;
    font-family: ui-monospace, monospace;
    font-size: 8.8px;
    line-height: 1.7;
}

.terminal-command { color: #58a6ff; }
.terminal-success { color: var(--apollo-3); }

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

    .apollo-web-stage {
        height: 650px;
        margin-top: 50px;
    }

    .apollo-project-window {
        width: 100%;
    }

    .apollo-code-window {
        width: 92%;
        left: 4%;
    }
}

/* =========================================================
   CENTRAGE VERTICAL SECTION WEB
   ========================================================= */

.apollo-web {
    min-height: 100vh;
    height: 100vh;
    box-sizing: border-box;
    display: flex;
    align-items: center;
}

/* Ajustement final centrage section Web */
.apollo-web-stage {
    height: 680px;
}


/* Ajustement centrage section Web */
/* Ajustement centrage section Web */
/* Ajustement centrage section Web */



/* =========================================================
   V4 - TRANSITION HERO > WEB
   Rapproche visuellement les deux premieres sections
   sans modifier leur geometrie 100vh
   ========================================================= */

@media (min-width: 992px) {

    .apollo-web-inner {
        transform: translateY(-60px);
    }

}

/* =========================================================
   APOLLO HOME V4 - WEB MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .apollo-web {
        height: auto !important;
        min-height: auto !important;
        align-items: flex-start !important;
        padding-top: 55px !important;
    }

}

/* =========================================================
   APOLLO HOME V4 - WEB MOBILE AJUSTEMENTS
   ========================================================= */

@media (max-width: 767px) {

    .apollo-web {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .apollo-web-copy h2 {
        font-size: clamp(42px, 11vw, 54px) !important;
        line-height: .98 !important;
        margin-bottom: 24px !important;
        max-width: 100% !important;
    }

    .apollo-web-copy p {
        font-size: 15px !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
    }

    .apollo-web-tags {
        gap: 7px !important;
        margin-top: 28px !important;
    }

    .apollo-web-tags span {
        padding: 7px 11px !important;
        font-size: 11px !important;
    }

    .apollo-web-stage {
        margin-top: 10px !important;
    }

}

@media (max-width: 767px) {

    .apollo-web-inner {
        gap: 20px !important;
    }

    .apollo-web-stage {
        margin-top: 0 !important;
    }

}
