/* ========================================
 *  MAISONTEMPERA CALCULATOR V1
 *  Palette du site
 * ======================================== */

:root{
    --mt-primary:#ff6900;
    --mt-secondary:#fcb900;
    --mt-light:#ffb08e;
    --mt-text:#6b6b6b;
    --mt-heading:#3d2b1f;
    --mt-eco:#22a05c;
    --mt-eco-light:#e3f7ec;
}

.mt-card{
    max-width:900px;
    width:100%;
    flex:1 1 100%;
    align-self:stretch;
    margin:40px auto;
    padding:40px;
    background:#ffffff;
    border-radius:24px;
    box-shadow:0 20px 60px rgba(255,105,0,.08);
    border:1px solid rgba(255,105,0,.08);
}

.mt-header{
    text-align:center;
    margin-bottom:35px;
}

.mt-header h2{
    margin:0 0 15px;
    font-size:38px;
    line-height:1.2;
    font-weight:800;
    color:var(--mt-heading);
}

.mt-subtitle{
    margin:0;
    font-size:17px;
    line-height:1.7;
    color:var(--mt-text);
}

/* ========================================
 *  FORMULAIRE
 * ======================================== */

#chauffage-form{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}

.mt-field{
    display:flex;
    flex-direction:column;
}

.mt-field label{
    margin-bottom:8px;
    font-size:14px;
    font-weight:600;
    color:var(--mt-heading);
}

.mt-icon{
    display:inline-block;
    margin-right:8px;
}

.mt-field input,
.mt-field select{
    width:100%;
    height:56px;
    padding:0 16px;
    border:1px solid #f0ddca;
    border-radius:14px;
    background:#fff;
    font-size:16px;
    color:var(--mt-heading);
    transition:.25s ease;
    box-sizing:border-box;
}

.mt-field input:focus,
.mt-field select:focus{
    outline:none;
    border-color:var(--mt-primary);
    box-shadow:0 0 0 4px rgba(255,105,0,.15);
}

.mt-btn{
    grid-column:1 / -1;
    height:60px;
    border:2px solid var(--mt-primary);
    border-radius:16px;
    background:#fff;
    color:var(--mt-primary);
    font-size:17px;
    font-weight:700;
    cursor:pointer;
    transition:.25s ease;
}

.mt-btn:hover{
    background:var(--mt-primary);
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(255,105,0,.3);
}

/* ========================================
 *  RESULTATS
 * ======================================== */

.mt-result{
    margin-top:35px;
    padding:35px;
    border-radius:22px;
    background:#fffaf5;
    border:1px solid #f5e3d3;
    animation:fadeUp .4s ease;
}

.mt-result-title{
    margin:0 0 25px;
    text-align:center;
    font-size:28px;
    font-weight:800;
    color:var(--mt-heading);
}

.mt-stats{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    margin-bottom:25px;
}

.mt-stat-card{
    padding:25px;
    border-radius:18px;
    background:linear-gradient(135deg,#fff4ea,#ffe9d6);
    border:1px solid #ffd9b3;
    text-align:center;
}

.mt-stat-card .label{
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:.8px;
    color:var(--mt-text);
    margin-bottom:10px;
}

.mt-stat-card .value{
    font-size:36px;
    font-weight:800;
    color:var(--mt-primary);
}

/* ========================================
 *  BADGES
 * ======================================== */

.mt-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:10px 18px;
    margin-bottom:20px;
    border-radius:999px;
    font-weight:700;
    font-size:14px;
}

.badge-appoint{
    background:#fff4d6;
    color:#b8860b;
}

.badge-inertie{
    background:#ffe4d1;
    color:var(--mt-primary);
}

.badge-electrique{
    background:#ffe9de;
    color:#c9581a;
}

.badge-basse-consommation{
    background:var(--mt-eco-light);
    color:var(--mt-eco);
}

/* ========================================
 *  DESCRIPTION / PRODUITS
 * ======================================== */

.mt-description{
    font-size:16px;
    line-height:1.8;
    color:var(--mt-text);
    margin-bottom:25px;
}

.mt-products{
    padding:25px;
    background:#ffffff;
    border:1px solid #f5e3d3;
    border-radius:18px;
    margin-bottom:25px;
}

.mt-products h3{
    margin-top:0;
    margin-bottom:15px;
    font-size:20px;
    color:var(--mt-heading);
}

.mt-products ul{
    margin:0;
    padding-left:20px;
}

.mt-products li{
    margin-bottom:10px;
    color:var(--mt-text);
    font-weight:500;
}

/* ========================================
 *  CTA
 * ======================================== */

.mt-link{
    display:inline-block;
    padding:15px 24px;
    border-radius:14px;
    background:var(--mt-primary);
    color:#fff !important;
    text-decoration:none !important;
    font-weight:700;
    transition:.25s ease;
}

.mt-link:hover{
    background:#e05e00;
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(255,105,0,.3);
}

/* ========================================
 *  ANIMATION
 * ======================================== */

@keyframes fadeUp{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* ========================================
 *  MOBILE
 * ======================================== */

@media (max-width:768px){

    .mt-card{
        padding:25px;
        border-radius:18px;
    }

    .mt-header h2{
        font-size:30px;
    }

    #chauffage-form{
    grid-template-columns:1fr;
    }

    .mt-stat-card .value{
        font-size:30px;
    }

    .mt-btn{
        width:100%;
    }

}
