/*
PAGE CONTACT
*/

/*
Conteneur principal
*/
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 850px;
    margin: 2rem auto 4rem auto;
    padding: 0 1.5rem;
}

#logo-contact {
    width: 140px;
    height: auto;
    object-fit: contain;
    margin-bottom: 2.5rem;
}

/*
Bloc Unique de Contact
*/
.contact-methods {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

/*
Options Intérieures
*/
.phone,
.mail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid #f1f5f9;
}

/* 
Retrait de la ligne de séparation pour le dernier élément 
*/
.mail {
    padding-bottom: 0;
    border-bottom: none;
}

.phone img,
.mail img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-text h2 {
    font-size: 1.4rem !important;
    color: #c89a4b !important;
    margin: 0 0 0.2rem 0 !important;
}

.contact-text a {
    font-size: 1.1rem;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.contact-text a:hover {
    color: #0284c7;
}

/*
Responsive Design
*/

@media (max-width: 768px) {
    main {
        margin: 1.5rem auto 3rem auto;
        padding: 0 1rem;
    }

    #logo-contact {
        width: 110px;
        margin-bottom: 1.8rem;
    }

    .contact-methods {
        padding: 1.5rem;
        gap: 1.2rem;
    }

    .phone {
        padding-bottom: 1.2rem;
    }

    .phone img,
    .mail img {
        width: 38px;
        height: 38px;
    }

    .contact-text h2 {
        font-size: 1.25rem !important;
    }

    .contact-text a {
        font-size: 0.95rem;
    }
}