@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Sora:wght@600;700&display=swap');

:root{
    --green:#1a6b3c;
    --green-light:#e8f5ee;
    --orange:#e07b1a;
    --dark:#0f1f14;
    --text:#2c3e35;
    --border:#cdddd4;
    --surface:#f5f9f6;
    --white:#ffffff;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'DM Sans',sans-serif;
    background:#f5f9f6;
    padding:30px 15px;
    color:var(--text);
}

.container{
    max-width:750px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 10px 40px rgba(0,0,0,.1);
}

.header{
    background:var(--green);
    color:#fff;
    padding:35px;
}

.header h1{
    font-family:'Sora',sans-serif;
    font-size:28px;
    margin-bottom:10px;
}

.header p{
    opacity:.9;
}

.header-stripe{
    display:flex;
    height:5px;
    margin-bottom:20px;
}

.s1{
    flex:1;
    background:#ff8200;
}

.s2{
    flex:1;
    background:#ffffff;
}

.s3{
    flex:1;
    background:#009e49;
}

.form-container{
    padding:30px;
}

.form-group{
    margin-bottom:20px;
}

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
}

input,
select,
textarea{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;
}

input:focus,
select:focus,
textarea:focus{
    outline:none;
    border-color:var(--green);
}

textarea{
    min-height:120px;
}

.file-upload{
    border:2px dashed #ccc;
    padding:25px;
    text-align:center;
    border-radius:12px;
    background:#fafafa;
}

.file-upload:hover{
    border-color:var(--green);
}

.montant-box{
    background:var(--green-light);
    padding:20px;
    text-align:center;
    border-radius:12px;
    margin:20px 0;
}

.montant{
    font-size:32px;
    color:var(--green);
    font-weight:bold;
}

.btn-submit{
    width:100%;
    padding:16px;
    background:var(--green);
    color:#fff;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
}

.btn-submit:hover{
    background:#238c50;
}

.success{
    background:#e8f5ee;
    color:#1a6b3c;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

.error{
    background:#fff0f0;
    color:#c0392b;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;
}

.confirmation-box{
    padding:50px;
    text-align:center;
}

.confirmation-box .icon{
    font-size:70px;
    margin-bottom:20px;
}

.btn-retour{
    display:inline-block;
    margin-top:20px;
    background:var(--green);
    color:#fff;
    padding:12px 25px;
    text-decoration:none;
    border-radius:10px;
}

.footer{
    text-align:center;
    padding:20px;
    background:#f8f8f8;
    font-size:14px;
}

.footer a{
    color:var(--green);
    text-decoration:none;
    font-weight:bold;
}

.footer a:hover{
    text-decoration:underline;
}

@media(max-width:768px){

    .header{
        padding:25px;
    }

    .header h1{
        font-size:22px;
    }

    .form-container{
        padding:20px;
    }

    .confirmation-box{
        padding:25px;
    }

    .montant{
        font-size:26px;
    }
}