/* --- INNER-PAGES.CSS (VERSION FINALE CONTACT + SERVICES) --- */

.contact-page {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 50px 100px;
}

.contact-page .page-header {
    padding-top: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    margin-top: 60px;
    align-items: stretch;
}

/* FORMULAIRE */
.main-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

/* Grille 2x2 pour Prénom, Nom, Email, Tel */
.form-grid-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Permet au textarea de s'étirer pour l'alignement vertical */
.message-group {
    flex-grow: 1;
}

.message-group textarea {
    height: 100%;
    min-height: 150px;
}

.form-group label {
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    background: #fcfcfc;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0161bb;
    background: #fff;
    box-shadow: 0 4px 15px rgba(1, 97, 187, 0.05);
}

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1a1a1a;
    color: #fff;
    padding: 18px;
    border: none;
    border-radius: 8px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #0161bb;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(1, 97, 187, 0.2);
}

/* BLOC INFOS DROITE */
.contact-infos {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    padding: 30px;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* Cette classe permet d'aligner le bouton envoyer avec le bloc du bas */
.info-fill {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card .material-symbols-outlined {
    color: #0161bb;
    font-size: 32px;
    margin-bottom: 15px;
}

.info-card h3 {
    margin: 0 0 10px 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.info-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.info-card.highlight {
    background: #f4f8ff;
    border-color: #d0e3ff;
}

.btn-mini {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: #0161bb;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* PAGE SERVICE ITEM */
.service-detail {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
}

.service-hero {
    margin-bottom: 50px;
}

.service-icon-large {
    font-size: 55px;
    color: #0161bb;
    margin-bottom: 0px;
    display: inline-block;
}

.service-hero h1 {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin: 10px 0;
    text-transform: uppercase;
}

.service-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-text {
    text-align: left;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #0161bb;
}

.service-cta {
    margin: 50px auto 0 auto;
    max-width: 600px;
    padding: 40px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-cta p {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.service-cta .btn-main-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    background: #0161bb;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 800;
    text-transform: uppercase;
    width: fit-content;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* PAGE LÉGALE (MENTIONS / CGV) */
.is-legal-page .page-header {
    padding-top: 55px;
}

.is-legal-page #headline {
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -1px;
}

.is-legal-page .page-content {
    max-width: 980px;
    padding: 10px 20px 60px;
}

.is-legal-page #content {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.is-legal-page #content h2,
.is-legal-page #content h3 {
    margin-top: 1.6em;
    margin-bottom: 0.5em;
    line-height: 1.3;
    color: #141414;
}

.is-legal-page #content p,
.is-legal-page #content li {
    color: #4b5563;
    line-height: 1.8;
    font-size: 0.98rem;
}

.is-legal-page #content ul,
.is-legal-page #content ol {
    padding-left: 1.2rem;
}

.is-legal-page #content a {
    color: #0161bb;
    text-underline-offset: 2px;
}

@media (max-width: 768px) {
    .is-legal-page #content {
        padding: 20px;
        border-radius: 14px;
    }
}