/**
 * Armando Castanheira - Formulaire de devis
 * Styles minimalistes correspondant à la maquette
 */

/* Container principal */
.armando-devis-container {
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
}

/* Messages de notification */
.armando-devis-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
}

.armando-devis-message--success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.armando-devis-message--error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Formulaire */
.armando-devis-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Sections */
.armando-devis-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.armando-devis-section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 5px 0;
    padding: 0;
}

/* Lignes de champs */
.armando-devis-row {
    display: flex;
    gap: 20px;
}

/* Champs */
.armando-devis-field {
    flex: 1;
}

/* Inputs et Textarea */
.armando-devis-form input[type="text"],
.armando-devis-form input[type="email"],
.armando-devis-form input[type="tel"],
.armando-devis-form textarea {
    width: 100%;
    padding: 18px 20px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.armando-devis-form input[type="text"]:focus,
.armando-devis-form input[type="email"]:focus,
.armando-devis-form input[type="tel"]:focus,
.armando-devis-form textarea:focus {
    outline: none;
    border-color: #999;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.armando-devis-form input::placeholder,
.armando-devis-form textarea::placeholder {
    color: #999;
}

/* Textarea */
.armando-devis-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer du formulaire */
.armando-devis-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.armando-devis-required-note {
    font-size: 13px;
    color: #888;
    margin: 0;
}

/* Bouton de soumission */
.armando-devis-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    color: #fff;
    background-color: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.armando-devis-submit:hover {
    background-color: #333;
}

.armando-devis-submit:active {
    transform: scale(0.98);
}

.armando-devis-submit svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .armando-devis-row {
        flex-direction: column;
        gap: 15px;
    }

    .armando-devis-footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .armando-devis-submit {
        width: 100%;
    }

    .armando-devis-required-note {
        order: 2;
        margin-top: 10px;
    }
}
