/* --- BOUTONS --- */
.card .btn-orange, .btn-orange {
    background-color: var(--primary-orange);
    color: var(--text-principal);
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 25px;
    padding: 11px 24px;
}

/* --- GÉNÉRAL CARTES --- */
.team-grid, .creations-grid, .services-grid {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 37px;
}

.card {
    background-color: var(--bg-card);
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 31px 1rem 1rem;
    border: 1px solid rgba(117, 117, 117, .5);
    border-radius: 0.75rem;
    box-shadow: 5px 5px 4px 2px rgba(0, 0, 0, .1);
    will-change: transform;
    cursor: pointer;
}

@media screen and (min-width: 784px) {
    .team-grid, .creations-grid, .services-grid {
        margin-top: 2rem;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        padding: 0 4.75rem;
    }
}

@media screen and (min-width: 1440px) {
    .team-grid, .creations-grid, .services-grid {
        margin-top: 3.125rem;
    }

    .team-grid {
        gap: 3.375rem;
    }

    .card {
        max-width: 650px;
    }

    .team-card {
        gap: 3.5rem;
    }
}

/* --- CARD ÉQUIPE --- */
.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-header h2 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-main);
}

.role {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-main);
}

.skills {
    font-family: "Orbit", sans-serif;
    font-weight: 400;
    color: var(--text-muted);
    padding-left: 1.5rem;
}

.skills li {
    list-style-type: disc;
}

.logo-icon {
    display: flex;
    justify-content: flex-end;
}

.logo-icon img {
    height: 69px;
}

.card-actions {
    margin-left: auto;
}

@media screen and (min-width: 1440px) {
    .team-card {
        position: relative;
        width: 650px;
        height: 400px;
        padding: 1.25rem;
    }

    .card-header h2 {
        font-size: 1.375rem;
        font-weight: 600;
    }

    .role {
        font-weight: 500;
        font-size: 1.25rem;
    }

    .skills {
        font-size: 1.25rem;
        text-transform: uppercase;
    }

    .logo-icon {
        height: 160px;
        position: absolute;
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .logo-icon img {
        height: 100%;
    }
}

/*CARD CREATION*/
.creation-card-content p {
    font-weight: 400;
    font-size: 1.25rem;
}

.card-picture-container {
    display: flex;
    justify-content: center;
}

.card-picture {
    width: 195px;
}

@media screen and (min-width: 1440px) {
    .creation-card {
        width: 500px;
        padding: 25px 20px 20px;
        gap: 1.875rem;
    }

    .card-picture {
        width: 430px;
        height: auto;
    }
}

/*CARD SERVICES*/
.service-card h3 {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-muted);
}

.service-card p {
    font-family: "Orbit", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-muted);
}

@media screen and (min-width: 1440px) {
    .service-card {
        width: 500px;
        height: 464px;
        padding: 35px 20px 24px;
        gap: 30px;
    }

    .service-card h3 {
        font-size: 1.25rem;
    }

    .service-card p {
        font-size: 1.25rem;
    }

    .service-card .card-actions {
        margin-top: auto;
    }
}

/* --- FORMULAIRE CONTACT --- */

/* --- ALERTES FORMULAIRE --- */
.form-alert {
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
    animation: fadeIn 0.3s ease;
}

.form-alert.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-alert.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

form.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0.625rem;
    margin: 1rem 1.75rem 0;
    border: 1px solid rgba(117, 117, 117, 0.5);
    border-radius: 0.75rem;
    box-shadow: 5px 5px 4px 2px rgba(0, 0, 0, .1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 1.125rem;
    font-weight: 700;
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-body);
    border: 1px solid #D9D9D9;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-family: "Orbitron", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--text-muted);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-size: 0.75rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

@media screen and (min-width: 784px) {
    form.contact-form {
        margin: 2rem 8.875rem;
        padding: 1.5rem 1.5rem 2rem;
    }
}

@media screen and (min-width: 1440px) {
    form.contact-form {
        margin-left: calc(var(--layout-gutter) + 120px);
        margin-right: calc(var(--layout-gutter) + 120px);
        padding: 1.5rem;
        gap: 1.5rem;
    }

    form.contact-form .btn-orange {
        border-radius: 20px;
    }
}
