/* =====================================================
   HEBERGEPRO
   ===================================================== */

:root {
    --black: #0b0d10;
    --black-light: #12161b;

    --blue-dark: #071a2f;
    --blue: #0d2947;
    --blue-light: #153b63;

    --orange: #ff6b22;
    --orange-light: #ff8547;

    --white: #ffffff;
    --text: #dce2e8;
    --muted: #8995a3;

    --border: rgba(255, 255, 255, 0.10);

    --sidebar-width: 270px;
}


/* =====================================================
   RESET
   ===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =====================================================
   SIDEBAR
   ===================================================== */

.sidebar {
    position: fixed;

    left: 0;
    top: 0;

    width: var(--sidebar-width);
    height: 100vh;

    padding: 38px 28px;

    background:
        linear-gradient(
            160deg,
            #071a2f,
            #061425
        );

    border-right: 1px solid var(--border);

    display: flex;
    flex-direction: column;

    z-index: 100;
}


/* LOGO */

.brand {
    margin-bottom: 75px;
}

.logo-link {
    display: flex;
    align-items: center;

    gap: 13px;
}


/*
   DIMENSIONS DU LOGO
   ------------------
   Aucun besoin de modifier.
*/

.logo-box {
    width: 46px;
    height: 46px;

    min-width: 46px;

    border-radius: 9px;

    background: var(--orange);

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.logo-box img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* Nom */

.brand-name {
    display: block;

    font-size: 20px;
    font-weight: 800;
}

.brand-name span {
    color: var(--orange);
}

.brand-text small {
    display: block;

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: 1.5px;
}


/* NAVIGATION */

.navigation {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.navigation a {
    position: relative;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 14px;

    color: #8290a0;

    font-size: 13px;
    font-weight: 700;

    transition: 0.25s ease;
}

.navigation a:hover {
    color: white;

    background:
        rgba(255,255,255,0.04);
}

.navigation a.active {
    color: white;

    background:
        rgba(255,107,34,0.10);
}

.navigation a.active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 50%;

    width: 3px;
    height: 25px;

    background: var(--orange);

    transform: translateY(-50%);
}

.nav-number {
    color: #52657a;

    font-size: 10px;
}


/* BAS MENU */

.sidebar-bottom {
    margin-top: auto;
}

.sidebar-bottom p {
    margin-bottom: 20px;

    color: #758394;

    font-size: 12px;
}

.sidebar-bottom strong {
    color: white;
}

.sidebar-button {
    display: block;

    padding: 13px;

    border: 1px solid rgba(255,107,34,.45);

    color: var(--orange);

    text-align: center;

    font-size: 11px;
    font-weight: 800;

    transition: .25s;
}

.sidebar-button:hover {
    background: var(--orange);

    color: white;
}


/* =====================================================
   CONTENU PRINCIPAL
   ===================================================== */

.main-content {
    margin-left: var(--sidebar-width);

    min-height: 100vh;

    padding: 0 65px;

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(13,41,71,.60),
            transparent 30%
        ),
        var(--black);
}


/* =====================================================
   TOPBAR
   ===================================================== */

.topbar {
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    color: #778493;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 1.5px;
}

.breadcrumb span {
    margin: 0 8px;

    color: var(--orange);
}

.top-contact {
    display: flex;
    align-items: center;

    gap: 14px;

    color: #ccd2d8;

    font-size: 11px;
    font-weight: 700;
}

.top-contact span {
    color: var(--orange);

    font-size: 18px;

    transition: .25s;
}

.top-contact:hover span {
    transform: translateX(5px);
}


/* =====================================================
   HERO
   ===================================================== */

.hero {
    min-height: 620px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(350px, .95fr);

    align-items: center;

    gap: 70px;

    border-bottom: 1px solid var(--border);
}


.hero-content {
    max-width: 680px;
}


/* petit titre */

.tag {
    display: flex;
    align-items: center;

    gap: 10px;

    color: var(--orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.tag span {
    width: 28px;
    height: 2px;

    background: var(--orange);
}


/* H1 */

.hero h1 {
    margin-top: 25px;

    font-size: clamp(48px, 6vw, 78px);

    line-height: .98;

    letter-spacing: -4px;
}

.hero h1 strong {
    display: block;

    color: #526f8e;
}


/* description */

.hero-description {
    max-width: 540px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}


/* =====================================================
   BOUTONS
   ===================================================== */

.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 35px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 15px 22px;

    border: 1px solid transparent;

    font-size: 11px;
    font-weight: 800;

    transition: .25s;
}

.button span {
    font-size: 17px;
}

.button-orange {
    background: var(--orange);

    color: white;
}

.button-orange:hover {
    background: var(--orange-light);

    transform: translateY(-2px);
}

.button-outline {
    border-color: var(--border);

    color: var(--text);
}

.button-outline:hover {
    border-color: var(--orange);

    color: var(--orange);
}


/* =====================================================
   IMAGE HERO
   ===================================================== */

.hero-visual {
    display: flex;

    justify-content: center;
}


/*
   IMAGE HERO
   ----------------------------------
   Dimension fixe.
   L'image téléchargée n'a pas besoin
   d'avoir exactement ces dimensions.
*/

.hero-image-card {
    position: relative;

    width: 100%;
    max-width: 520px;

    height: 390px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.12);

    background: var(--blue-dark);

    box-shadow:
        25px 30px 70px
        rgba(0,0,0,.45);
}


/*
   IMAGE AUTOMATIQUEMENT REDIMENSIONNEE
*/

.hero-image-card > img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    opacity: .65;
}


/* Dégradé */

.hero-image-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 25%,
            rgba(7,26,47,.95) 100%
        );
}


/* texte image */

.hero-image-overlay {
    position: absolute;

    z-index: 2;

    left: 30px;
    right: 30px;
    bottom: 30px;
}

.status-line {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 14px;

    color: #75c991;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #75c991;
}

.hero-image-overlay strong {
    display: block;

    max-width: 370px;

    font-size: 27px;

    line-height: 1.15;
}


/* =====================================================
   SERVICES PREVIEW
   ===================================================== */

.services-preview {
    padding: 100px 0;
}

.section-heading {
    display: flex;

    gap: 30px;

    margin-bottom: 55px;
}

.section-number {
    color: var(--orange);

    font-size: 11px;
    font-weight: 800;
}

.eyebrow {
    display: block;

    color: var(--orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.section-heading h2 {
    max-width: 620px;

    margin-top: 10px;

    font-size: 37px;

    line-height: 1.1;

    letter-spacing: -1.5px;
}


/* =====================================================
   CARTES SERVICES
   ===================================================== */

.service-preview-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.service-preview-card {
    position: relative;

    min-height: 330px;

    padding: 30px;

    border-right: 1px solid var(--border);

    transition: .25s;
}

.service-preview-card:last-child {
    border-right: none;
}

.service-preview-card:hover {
    background: rgba(13,41,71,.35);
}


/*
   ICONE
   ----------------------------------
   Toujours 58 x 58.
*/

.service-icon {
    width: 68px;
    height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 35px;

    background:
        rgba(255,107,34,.08);

    border:
        1px solid
        rgba(255,107,34,.25);

    border-radius: 12px;
}


/*
   DIMENSION AUTOMATIQUE DE L'ICON SVG
*/

.service-icon img {
    width: 34px;
    height: 34px;

    object-fit: contain;

    filter:
        invert(48%)
        sepia(90%)
        saturate(4000%)
        hue-rotate(345deg)
        brightness(105%);
}


/* numéro */

.service-number {
    position: absolute;

    top: 32px;
    right: 30px;

    color: #4f6072;

    font-size: 10px;
    font-weight: 800;
}


.service-preview-card h3 {
    font-size: 21px;

    line-height: 1.2;
}

.service-preview-card p {
    max-width: 270px;

    margin-top: 12px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}

.service-preview-card a {
    display: inline-flex;

    gap: 12px;

    margin-top: 25px;

    color: var(--orange);

    font-size: 10px;
    font-weight: 800;
}


/* =====================================================
   GRANDE IMAGE
   ===================================================== */

.large-image-section {
    padding-bottom: 100px;
}

.large-image {
    position: relative;

    width: 100%;
    height: 420px;

    overflow: hidden;

    background: var(--blue-dark);
}


/*
   IMAGE PRINCIPALE
   -------------------------
   100% de la largeur
   420px de hauteur
*/

.large-image > img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    opacity: .50;
}


/* dégradé */

.large-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7,26,47,.95),
            rgba(7,26,47,.25)
        );
}


/* texte */

.large-image-content {
    position: absolute;

    z-index: 2;

    left: 45px;
    bottom: 45px;
}

.large-image-content span {
    color: var(--orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.large-image-content h2 {
    margin-top: 12px;

    font-size: 40px;

    line-height: 1.05;
}

.large-image-content strong {
    color: #8fa4ba;
}


/* =====================================================
   PAGE HERO
   ===================================================== */

.page-hero {
    padding: 110px 0 80px;

    max-width: 850px;
}

.page-hero h1 {
    margin-top: 25px;

    font-size: clamp(48px,6vw,75px);

    line-height: 1;

    letter-spacing: -3px;
}

.page-hero h1 strong {
    display: block;

    color: #526f8e;
}

.page-hero p {
    max-width: 600px;

    margin-top: 28px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.8;
}


/* =====================================================
   PAGE SERVICES
   ===================================================== */

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.service-card {
    position: relative;

    min-height: 500px;

    padding: 35px;

    border-right: 1px solid var(--border);

    transition: .25s;
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    background: rgba(13,41,71,.30);
}

.service-featured {
    background:
        rgba(13,41,71,.45);
}


/*
   GRANDE ICONE SERVICES
*/

.service-icon-large {
    width: 86px;
    height: 86px;

    margin-bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        rgba(255,107,34,.08);

    border:
        1px solid
        rgba(255,107,34,.25);
}

.service-icon-large img {
    width: 45px;
    height: 45px;

    object-fit: contain;

    filter:
        invert(48%)
        sepia(90%)
        saturate(4000%)
        hue-rotate(345deg)
        brightness(105%);
}


/* numéro service */

.service-card-top {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.service-card-top span {
    color: var(--orange);

    font-size: 10px;
    font-weight: 800;
}

.service-card-top small {
    color: #536578;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}


.service-card h2 {
    margin-top: 45px;

    font-size: 25px;

    line-height: 1.15;
}

.service-card p {
    margin-top: 14px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}


/* liste */

.service-card ul {
    margin-top: 25px;

    list-style: none;
}

.service-card li {
    position: relative;

    padding-left: 17px;

    margin-bottom: 7px;

    color: #9ca7b3;

    font-size: 11px;
}

.service-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 9px;

    width: 5px;
    height: 5px;

    background: var(--orange);

    border-radius: 50%;
}


.service-card > a {
    display: inline-flex;

    gap: 12px;

    margin-top: 25px;

    color: var(--orange);

    font-size: 10px;
    font-weight: 800;
}


/* =====================================================
   BANDEAU
   ===================================================== */

.dark-panel {
    margin: 100px 0;

    padding: 55px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    background: var(--blue-dark);

    border: 1px solid var(--border);
}

.dark-panel h2 {
    max-width: 650px;

    margin-top: 10px;

    font-size: 34px;

    line-height: 1.15;
}

.dark-panel h2 strong {
    color: #526f8e;
}


/* =====================================================
   CONTACT
   ===================================================== */

.contact-grid {
    display: grid;

    grid-template-columns:
        .75fr 1.25fr;

    gap: 80px;

    padding-bottom: 100px;
}


.contact-details {
    border-top: 1px solid var(--border);
}


.contact-item {
    display: flex;

    gap: 25px;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);
}


.contact-number {
    color: var(--orange);

    font-size: 10px;
    font-weight: 800;
}

.contact-item small {
    color: #687789;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.contact-item h3 {
    margin-top: 8px;

    font-size: 16px;
}

.contact-item p {
    margin-top: 3px;

    color: var(--muted);

    font-size: 11px;
}


/* =====================================================
   FORMULAIRE
   ===================================================== */

.contact-form {
    padding: 40px;

    background: var(--blue-dark);

    border: 1px solid var(--border);
}

.form-header span {
    color: var(--orange);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;
}

.form-header h2 {
    margin-top: 8px;

    font-size: 32px;
}

.contact-form form {
    margin-top: 35px;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    color: #8b98a7;

    font-size: 9px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    padding: 14px 15px;

    background: #101c29;

    border: 1px solid var(--border);

    outline: none;

    color: white;

    font-family: inherit;

    font-size: 12px;

    transition: .25s;
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #536170;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--orange);
}

.contact-form button {
    cursor: pointer;
}


/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    display: grid;

    grid-template-columns:
        .8fr 1.2fr;

    gap: 60px;

    padding: 60px 0 45px;

    border-top: 1px solid var(--border);
}


.footer-brand strong {
    font-size: 20px;
}

.footer-brand strong span {
    color: var(--orange);
}

.footer-brand p {
    margin-top: 8px;

    color: var(--muted);

    font-size: 10px;
}


.footer-contact {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}

.footer-contact small {
    color: #596878;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 1.3px;
}

.footer-contact p {
    margin-top: 8px;

    color: #a2abb5;

    font-size: 10px;

    line-height: 1.6;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1100px) {

    :root {
        --sidebar-width: 220px;
    }

    .sidebar {
        padding: 30px 20px;
    }

    .main-content {
        padding: 0 40px;
    }

    .hero {
        gap: 35px;
    }

    .service-card {
        padding: 25px;
    }

}


@media (max-width: 850px) {

    :root {
        --sidebar-width: 0px;
    }

    .sidebar {
        position: relative;

        width: 100%;
        height: auto;

        padding: 20px;

        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .brand {
        margin-bottom: 20px;
    }

    .sidebar-bottom {
        display: none;
    }

    .navigation {
        flex-direction: row;
    }

    .navigation a {
        flex: 1;

        justify-content: center;
    }

    .main-content {
        margin-left: 0;

        padding: 0 25px;
    }

    .hero {
        grid-template-columns: 1fr;

        padding: 70px 0;
    }

    .hero-image-card {
        max-width: 100%;
    }

    .service-preview-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-preview-card,
    .service-card {
        border-right: none;

        border-bottom: 1px solid var(--border);
    }

    .service-preview-card:last-child,
    .service-card:last-child {
        border-bottom: none;
    }

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .footer {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 560px) {

    .main-content {
        padding: 0 18px;
    }

    .top-contact {
        display: none;
    }

    .navigation a {
        padding: 11px 5px;

        font-size: 10px;
    }

    .nav-number {
        display: none;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 45px;

        letter-spacing: -2px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-image-card {
        height: 300px;
    }

    .hero-image-overlay strong {
        font-size: 23px;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .large-image {
        height: 320px;
    }

    .large-image-content {
        left: 25px;
        bottom: 25px;
    }

    .large-image-content h2 {
        font-size: 29px;
    }

    .dark-panel {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px;

        margin: 60px 0;
    }

    .dark-panel h2 {
        font-size: 27px;
    }

    .contact-form {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        grid-template-columns: 1fr 1fr;
    }

}
/* =====================================================
   THEME SWITCH
   CSS ONLY
   ===================================================== */


/*
   La checkbox existe pour permettre à CSS
   de connaître l'état du bouton.
*/

.theme-checkbox {
    position: fixed;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}


/* =====================================================
   VARIABLES MODE NUIT
   ===================================================== */

body {

    --bg: #0b0d10;

    --bg-secondary: #12161b;

    --surface: #071a2f;

    --surface-light: #0d2947;

    --text: #ffffff;

    --text-secondary: #dce2e8;

    --muted: #8995a3;

    --border: rgba(255,255,255,.10);

    --orange: #ff6b22;

    --orange-light: #ff8547;

    background: var(--bg);

    color: var(--text);

    transition:
        background-color .35s ease,
        color .35s ease;
}


/* =====================================================
   SIDEBAR
   ===================================================== */

.sidebar {

    background:
        linear-gradient(
            160deg,
            #071a2f,
            #061425
        );

    transition:
        background .35s ease,
        border-color .35s ease;
}


/* =====================================================
   CONTENU
   ===================================================== */

.main-content {

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(13,41,71,.60),
            transparent 30%
        ),
        var(--bg);

    transition:
        background .35s ease;
}


/* =====================================================
   THEME BUTTON
   ===================================================== */

.theme-switcher {

    margin-top: 45px;

    padding-top: 20px;

    border-top:
        1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}


.theme-label {

    color: #637387;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


/*
   Bouton complet
*/

.theme-toggle {

    position: relative;

    width: 82px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 4px;

    border:
        1px solid
        var(--border);

    border-radius: 30px;

    background:
        rgba(255,255,255,.04);

    cursor: pointer;

    overflow: hidden;

    transition:
        background .3s ease,
        border-color .3s ease;
}


/* =====================================================
   ICÔNES
   ===================================================== */

.theme-sun,
.theme-moon {

    position: relative;

    z-index: 3;

    width: 28px;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 15px;

    transition:
        color .3s ease;
}


.theme-sun {

    color: var(--orange);
}


.theme-moon {

    color: #8392a3;
}


/* =====================================================
   CERCLE MOBILE
   ===================================================== */

.theme-track {

    position: absolute;

    top: 3px;

    left: 3px;

    width: 26px;

    height: 26px;

    border-radius: 50%;

    background: var(--orange);

    box-shadow:
        0 3px 15px
        rgba(255,107,34,.35);

    transition:
        transform .35s ease,
        background .35s ease;
}


/* =====================================================
   MODE JOUR
   ===================================================== */


/*
   Lorsque la checkbox est cochée,
   tous les éléments suivants deviennent clairs.
*/

#theme-toggle:checked ~ .sidebar {

    background:
        linear-gradient(
            160deg,
            #ffffff,
            #eaf0f6
        );

    border-color:
        rgba(7,26,47,.10);
}


#theme-toggle:checked ~ .main-content {

    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(13,41,71,.10),
            transparent 30%
        ),
        #f4f6f8;
}


/* =====================================================
   COULEURS GENERALES
   ===================================================== */

#theme-toggle:checked ~ .main-content {

    --bg: #f4f6f8;

    --bg-secondary: #ffffff;

    --surface: #e8eef5;

    --surface-light: #dce7f2;

    --text: #101820;

    --text-secondary: #273646;

    --muted: #657383;

    --border: rgba(7,26,47,.12);
}


/* =====================================================
   SIDEBAR JOUR
   ===================================================== */

#theme-toggle:checked ~ .sidebar .brand-name {

    color: #101820;
}


#theme-toggle:checked ~ .sidebar .navigation a {

    color: #657383;
}


#theme-toggle:checked ~ .sidebar .navigation a:hover {

    color: #071a2f;

    background:
        rgba(7,26,47,.05);
}


#theme-toggle:checked ~ .sidebar .navigation a.active {

    color: #071a2f;

    background:
        rgba(255,107,34,.10);
}


#theme-toggle:checked ~ .sidebar .nav-number {

    color: #8795a4;
}


#theme-toggle:checked ~ .sidebar .sidebar-bottom p {

    color: #718092;
}


#theme-toggle:checked ~ .sidebar .sidebar-bottom strong {

    color: #071a2f;
}


/* =====================================================
   THEME SWITCH JOUR
   ===================================================== */

#theme-toggle:checked ~ .sidebar .theme-track {

    transform:
        translateX(48px);

    background:
        #ff6b22;
}


#theme-toggle:checked ~ .sidebar .theme-sun {

    color: #718092;
}


#theme-toggle:checked ~ .sidebar .theme-moon {

    color: #ffffff;
}


/* =====================================================
   TOPBAR
   ===================================================== */

#theme-toggle:checked ~ .main-content .breadcrumb {

    color: #738090;
}


#theme-toggle:checked ~ .main-content .top-contact {

    color: #263748;
}


/* =====================================================
   HERO
   ===================================================== */

#theme-toggle:checked ~ .main-content .hero h1 {

    color: #101820;
}


#theme-toggle:checked ~ .main-content .hero h1 strong {

    color: #315574;
}


#theme-toggle:checked ~ .main-content .hero-description {

    color: #647384;
}


/* =====================================================
   SECTION
   ===================================================== */

#theme-toggle:checked ~ .main-content .section-heading h2 {

    color: #101820;
}


#theme-toggle:checked ~ .main-content .service-preview-card h3 {

    color: #101820;
}


#theme-toggle:checked ~ .main-content .service-preview-card p {

    color: #657383;
}


#theme-toggle:checked ~ .main-content .service-number {

    color: #82909f;
}


/* =====================================================
   CARTES
   ===================================================== */

#theme-toggle:checked ~ .main-content .service-preview-card:hover {

    background:
        rgba(13,41,71,.05);
}


#theme-toggle:checked ~ .main-content .service-preview-card.featured {

    background:
        rgba(13,41,71,.06);
}


/* =====================================================
   GRANDE IMAGE
   ===================================================== */

#theme-toggle:checked ~ .main-content .large-image::after {

    background:
        linear-gradient(
            90deg,
            rgba(7,26,47,.90),
            rgba(7,26,47,.20)
        );
}


/* =====================================================
   BOUTON OUTLINE
   ===================================================== */

#theme-toggle:checked ~ .main-content .button-outline {

    border-color:
        rgba(7,26,47,.15);

    color: #17324d;
}


#theme-toggle:checked ~ .main-content .button-outline:hover {

    border-color:
        var(--orange);

    color:
        var(--orange);
}


/* =====================================================
   TRANSITION
   ===================================================== */

.sidebar,
.main-content,
.service-preview-card,
.service-card,
.dark-panel,
.contact-form,
.topbar,
.footer {

    transition:
        background .35s ease,
        background-color .35s ease,
        color .35s ease,
        border-color .35s ease;
}
/* =====================================================
   PAGES D'ERREUR
   ===================================================== */

.error-page {

    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;

    background:
        radial-gradient(
            circle at 50% 30%,
            rgba(13, 41, 71, .65),
            transparent 45%
        ),
        #080b0f;
}


.error-container {

    width: min(700px, 100%);

    text-align: center;
}


.error-code {

    font-size: clamp(100px, 18vw, 190px);

    line-height: .8;

    font-weight: 900;

    letter-spacing: -10px;

    color: transparent;

    -webkit-text-stroke:
        1px rgba(255,255,255,.18);

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #ff6b22
        );

    -webkit-background-clip: text;
    background-clip: text;
}


.error-line {

    width: 70px;
    height: 3px;

    margin: 40px auto;

    background: #ff6b22;
}


.error-container h1 {

    margin: 15px 0 20px;

    color: #ffffff;

    font-size: clamp(30px, 5vw, 55px);

    line-height: 1.05;

    letter-spacing: -2px;
}


.error-container p {

    max-width: 570px;

    margin: 0 auto;

    color: #8995a3;

    font-size: 16px;

    line-height: 1.8;
}


.error-actions {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 35px;
}


.error-page .eyebrow {

    color: #ff6b22;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 600px) {

    .error-page {
        padding: 25px;
    }

    .error-code {
        letter-spacing: -5px;
    }

    .error-container h1 {
        font-size: 34px;
    }

}
