
/* =========================================================
   SMART CAR - PAGE D'ACCUEIL
   Mise à l'échelle proportionnelle PC + MOBILE
   Dimensions de référence : 1648 x 927
   ========================================================= */


/* =========================================================
   1. RESET GENERAL
   ========================================================= */

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

html,
body {
    width: 100%;
    min-height: 100%;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    position: relative;
    width: 100%;
    min-height: 100vh;

    background: black;

    overflow: hidden;
}


/* =========================================================
   2. PAGE PRINCIPALE
   ========================================================= */

.home {
    position: absolute;

    width: 1648px;
    height: 927px;

    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%)
        scale(var(--home-scale, 1));

    transform-origin: center center;

    background-image: url("../images/smart-car-home.png");

    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================================
   3. ZONES CLIQUABLES
   ========================================================= */

.zone {
    position: absolute;

    top: 42.5%;

    width: 30.5%;
    height: 40.5%;

    border-radius: 35px;

    cursor: pointer;

    display: block;

    text-decoration: none;

    transition: background 0.2s ease;
}


/* =========================================================
   4. ZONE DASHBOARD
   ========================================================= */

.zone-dashboard {
    left: 17.2%;
}


/* =========================================================
   5. ZONE GPS
   ========================================================= */

.zone-gps {
    left: 52.1%;
}


/* =========================================================
   6. EFFET AU SURVOL
   ========================================================= */

.zone:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   7. ADAPTATION RESPONSIVE
   La composition reste identique sur téléphone.
   ========================================================= */

@media screen and (max-width: 600px) {

    .zone {
        border-radius: 15px;
    }

}
