/* ============================================================
   PAGE « CONTACT » — /contact.php
   Reprend la mise en page de Solen (hero violet, colonne d'infos
   en repères, carte de formulaire) : tout vient de pilier-detail.css
   et solen.css. Ne reste ici que ce que Solen n'a pas : les champs
   liste/zone de texte et les boutons de réseaux sociaux.
   ============================================================ */

.solen-row select,
.solen-row textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    font-family: inherit;
    font-size: 17.5px;
    color: var(--text-primary);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.solen-row select {
    min-height: 50px;
}

.solen-row textarea {
    resize: vertical;
    line-height: 1.6;
}

.solen-row select:focus,
.solen-row textarea:focus {
    outline: none;
    border-color: var(--accent-600);
    box-shadow: 0 0 0 3px rgba(76, 68, 148, 0.16);
}

.solen-row textarea::placeholder {
    color: #b4b2a9;
}

/* --- Réseaux sociaux --- */

.contact-socials {
    margin-top: 32px;
}

.contact-socials h3 {
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-600);
    margin: 0 0 14px;
}

.contact-socials-list {
    display: flex;
    gap: 10px;
}

.contact-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent-50);
    color: var(--accent-600);
    transition: background 0.15s, color 0.15s, transform 0.15s;
}

.contact-social-btn:hover {
    background: var(--accent-600);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================================
   REFONTE — page Contact (toutes les règles sont préfixées .contact-page)
   ============================================================ */

/* --- Hero --- */
.contact-page .pilier-detail-hero h1 { font-size: clamp(34px, 4.8vw, 54px); max-width: 18ch; }
.contact-page .pilier-detail-lead {
    font-size: clamp(19px, 2vw, 22px);
    line-height: 1.65;
    max-width: 700px;
    font-weight: 500;
}
.contact-page .eyebrow { font-size: clamp(26px, 3vw, 32px); }

/* --- Disposition : coordonnées à gauche, formulaire à droite --- */
.contact-page .solen-layout {
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.5fr);
    gap: clamp(24px, 3.5vw, 48px);
}

/* --- Colonne des coordonnées : panneau indigo --- */
.contact-aside {
    padding: clamp(26px, 3vw, 38px) clamp(22px, 2.6vw, 32px);
    color: #ffffff;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 100% 0, rgba(165, 102, 179, 0.4) 0, transparent 55%),
        linear-gradient(160deg, var(--accent-800) 0%, var(--accent-600) 100%);
    box-shadow: var(--shadow-md);
}

.contact-aside .eyebrow { color: #ffffff; font-size: 26px; }
.contact-aside .eyebrow::after { background: var(--brand-300); }

.contact-page .contact-aside .solen-aside-intro {
    font-size: 17.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.contact-aside .fact-list { gap: 20px; }

.contact-aside .fact-item {
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    align-items: center;
}

.contact-aside .fact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}
.contact-aside .fact-icon svg { width: 24px; height: 24px; }

.contact-aside .fact-item h3 { font-size: 16px; color: rgba(255, 255, 255, 0.78); font-weight: 600; margin-bottom: 2px; }
.contact-aside .fact-item p  { font-size: 17.5px; line-height: 1.5; color: #ffffff; font-weight: 600; }
.contact-aside .fact-item a  { color: #ffffff; word-break: break-word; text-decoration: underline; text-underline-offset: 3px; }

.contact-aside .contact-socials { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.24); }
.contact-aside .contact-socials h3 { color: rgba(255, 255, 255, 0.82); font-size: 14.5px; }
.contact-aside .contact-social-btn { width: 46px; height: 46px; background: rgba(255, 255, 255, 0.16); color: #ffffff; }
.contact-aside .contact-social-btn:hover { background: #ffffff; color: var(--accent-600); }
.contact-aside .contact-social-btn svg { width: 20px; height: 20px; }

/* --- Carte du formulaire --- */
.contact-form-card {
    padding: clamp(26px, 3.6vw, 44px);
    border-radius: var(--radius-lg);
    border-top: 4px solid var(--accent-600);
}

.contact-form-card .solen-form-intro { font-size: 15.5px; margin-bottom: 26px; }

.contact-form .solen-grid { gap: 22px 18px; }
.contact-form .solen-row label { font-size: 15.5px; font-weight: 600; }
.contact-form .solen-row small { font-size: 14px; font-style: normal; }

.contact-form .solen-row input[type="text"],
.contact-form .solen-row input[type="email"],
.contact-form .solen-row select,
.contact-form .solen-row textarea {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px;
    border: 1.5px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 17px;
    line-height: 1.4;
}

.contact-form .solen-row select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 46px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b695f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.contact-form .solen-row textarea { min-height: 180px; }

.contact-form .solen-row input:hover,
.contact-form .solen-row select:hover,
.contact-form .solen-row textarea:hover { border-color: var(--accent-400); }

.contact-form .solen-row input:focus,
.contact-form .solen-row select:focus,
.contact-form .solen-row textarea:focus {
    border-color: var(--accent-600);
    box-shadow: 0 0 0 4px rgba(76, 68, 148, 0.16);
}

.contact-form .solen-form-footer {
    margin-top: 28px;
    padding-top: 24px;
    flex-direction: column-reverse;
    align-items: center;
    gap: 14px;
    text-align: center;
}
.contact-form .solen-form-note { justify-content: center; font-size: 15px; }
.contact-form .solen-form-footer .btn {
    min-width: 280px;
    min-height: 58px;
    gap: 10px;
    font-size: 17.5px;
    background: var(--accent-600);
    border-color: var(--accent-600);
    color: #ffffff;
}
.contact-form .solen-form-footer .btn:hover { background: var(--accent-700); border-color: var(--accent-700); }
.contact-form .solen-form-footer .btn:focus-visible { outline: 3px solid var(--accent-200); outline-offset: 3px; }

/* --- Bandeau d'urgence --- */
.contact-urgence { text-align: center; }
.contact-urgence-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}
.contact-urgence-icon svg { width: 36px; height: 36px; }
.contact-urgence h2 { font-size: clamp(26px, 3.2vw, 36px); }
.contact-urgence p { font-size: 19px; line-height: 1.7; }
.contact-urgence .btn { min-height: 54px; font-size: 17px; }
.contact-urgence .pilier-detail-cta-buttons { justify-content: center; }

@media (max-width: 960px) {
    .contact-page .solen-layout { grid-template-columns: 1fr; }
    .contact-aside { position: static; }
}

@media (max-width: 700px) {
    .contact-form .solen-grid { grid-template-columns: 1fr; }
    .contact-form .solen-form-footer .btn { width: 100%; min-width: 0; }
}
