
.chape-maigre-calc * {
    box-sizing: border-box;
}

.chape-maigre-calc {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    padding: 20px 0;
}

.chape-calc-container {
    max-width: 1200px;
    margin: 0 auto;
}

.calculator-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 8px;
    font-size: 1em;
}

input, select {
    padding: 15px;
    border: 2px solid #ffdbcc;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-calculate {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 25px rgba(255, 107, 53, 0.4);
}

.results {
    display: none;
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #fff5eb 0%, #ffe5cc 100%);
    border-radius: 15px;
    border-left: 5px solid #ff6b35;
}

.results.show {
    display: block;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.result-label {
    font-weight: 600;
    color: #333;
}

.result-value {
    font-size: 1.3em;
    font-weight: 700;
    color: #ff6b35;
}

.info-section {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

h2 {
    color: #ff6b35;
    font-size: 2em;
    margin-bottom: 20px;
    border-bottom: 3px solid #ffdbcc;
    padding-bottom: 10px;
}

h3 {
    color: #ff8c42;
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
}

p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.formula-box {
    background: #fff5eb;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ff6b35;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.tips-list {
    background: #fff5eb;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
}

.tips-list li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
}

.warning {
    background: #fff3cd;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #ff8c42;
    margin: 20px 0;
}

.faq-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #ff6b35;
}

.faq-question {
    font-weight: 600;
    color: #ff6b35;
    margin-bottom: 10px;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8em;
    }

    .calculator-section, .info-section {
        padding: 25px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}