
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

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

body {
    background: #080b14;
    color: #ffffff;

    font-family: 'Inter', sans-serif;
}


/* =========================
   HEADER
========================= */

.page-header {
    padding: 160px 7% 70px;

    background: #080b14;
}

.page-header span {
    color: #ff5a36;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.page-header h1 {
    margin-top: 15px;

    font-size: clamp(50px, 7vw, 90px);

    letter-spacing: -4px;
}

.page-header p {
    margin-top: 20px;

    color: #9298a7;

    font-size: 17px;
}


/* =========================
   ROUTE
========================= */

.route {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    min-height: 600px;
}


/* =========================
   MAP
========================= */

.route-map {
    position: relative;

    min-height: 600px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #101725,
            #0b101b
        );

    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.route-map::before,
.route-map::after {
    content: "";

    position: absolute;

    width: 100%;
    height: 1px;

    background: rgba(255,255,255,0.04);

    transform: rotate(25deg);
}

.route-map::before {
    top: 30%;
}

.route-map::after {
    top: 60%;
    transform: rotate(-20deg);
}


/* =========================
   ROUTE LINE
========================= */

.map-line {
    position: absolute;

    width: 75%;
    height: 65%;

    top: 18%;
    left: 12%;

    border: 4px dashed #ff5a36;

    border-radius: 50% 40% 55% 35%;

    transform: rotate(-8deg);

    filter: drop-shadow(0 0 8px rgba(255,90,54,0.3));
}


/* =========================
   POINTS
========================= */

.point {
    position: absolute;

    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 8px;
}

.point span {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ff5a36;

    border: 4px solid #111724;

    border-radius: 50%;

    font-size: 11px;
    font-weight: 800;
}

.point strong {
    font-size: 12px;
}

.point-start {
    left: 10%;
    top: 18%;
}

.point-1 {
    right: 12%;
    top: 20%;
}

.point-2 {
    right: 17%;
    bottom: 18%;
}

.point-3 {
    left: 25%;
    bottom: 12%;
}

.point-finish {
    left: 43%;
    top: 42%;
}


/* =========================
   DETAILS
========================= */

.route-details {
    padding: 60px;

    background: #0d111c;
}

.distance {
    padding-bottom: 35px;

    border-bottom: 1px solid rgba(255,255,255,0.08);

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.distance span {
    color: #858b9a;

    font-size: 12px;
    text-transform: uppercase;
}

.distance strong {
    font-size: 48px;

    color: #ff5a36;
}


/* =========================
   DETAIL ITEMS
========================= */

.detail {
    display: flex;

    gap: 20px;

    padding: 28px 0;

    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.detail > span {
    color: #ff5a36;

    font-size: 12px;
    font-weight: 800;
}

.detail h3 {
    font-size: 16px;
}

.detail p {
    margin-top: 8px;

    color: #858b9a;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================
   RESPONSIVO
========================= */

@media (max-width: 900px) {

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

    .route-map {
        min-height: 500px;
    }

    .route-details {
        padding: 40px 7%;
    }
}

@media (max-width: 500px) {

    .page-header {
        padding-left: 5%;
        padding-right: 5%;
    }

    .route-map {
        min-height: 420px;
    }

    .point strong {
        font-size: 10px;
    }

    .map-line {
        width: 80%;
        left: 10%;
    }
}
