/* ================================================
   PAGE CONTACT - Tony Laguette
   ================================================ */

.contact-section {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
    padding: 72px var(--fiche-gutter) 56px;
}

/* ------------------------------------------------
   Colonne gauche : présentation
   ------------------------------------------------ */
.contact-intro {
    flex: 1 1 380px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-eyebrow {
    font-family: var(--fiche-mono);
    font-size: 12px;
    color: var(--fiche-accent);
}

.contact-title {
    margin: 0;
    font-weight: 600;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.025em;
}

.contact-subtitle {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    color: var(--fiche-text-soft);
    max-width: 460px;
}

/* Fiche coordonnées */
.contact-details {
    margin: 0;
    background: var(--fiche-surface);
    border: 1px solid var(--fiche-border);
    display: grid;
    grid-template-columns: 120px 1fr;
    font-size: 15px;
}

.contact-detail-label,
.contact-detail-value {
    border-bottom: 1px solid var(--fiche-divider);
}

.contact-detail-label:nth-last-of-type(1),
.contact-detail-value:nth-last-of-type(1) {
    border-bottom: none;
}

.contact-detail-label {
    padding: 14px 20px;
    font-family: var(--fiche-mono);
    font-size: 12px;
    color: var(--fiche-text-muted);
}

.contact-detail-value {
    margin: 0;
    padding: 14px 20px 14px 0;
}

.contact-detail-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-status {
    color: var(--fiche-accent);
}

.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.contact-social a {
    text-decoration: underline;
}

/* ------------------------------------------------
   Colonne droite : formulaire
   ------------------------------------------------ */
.contact-card {
    flex: 1 1 480px;
    background: var(--fiche-surface);
    border: 1px solid var(--fiche-border);
    padding: clamp(24px, 4vw, 40px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-title {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--fiche-mono);
    font-size: 12px;
    color: var(--fiche-text-muted);
}

.contact-form-input {
    font-family: var(--fiche-font);
    background: var(--fiche-field);
    border: 1px solid var(--fiche-border);
    border-radius: 0;
    padding: 13px 14px;
    font-size: 16px;
    color: var(--fiche-text);
    outline: none;
    transition: border-color .2s ease;
}

.contact-form-input:focus {
    border-color: var(--fiche-accent);
}

.contact-form-input.is-invalid {
    border-color: var(--fiche-error);
}

.contact-form-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-form-error {
    font-family: var(--fiche-font);
    font-size: 13px;
    color: var(--fiche-error);
}

.contact-form-submit {
    background: var(--fiche-accent);
    color: #fff;
    border: none;
    padding: 16px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: opacity .2s ease;
}

.contact-form-submit:hover {
    opacity: .85;
}

.contact-alert {
    padding: 14px 16px;
    border: 1px solid var(--fiche-error);
    background: #FFF4ED;
    font-size: 15px;
    color: var(--fiche-error);
}

/* Confirmation d'envoi */
.contact-sent {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 32px 0;
}

.contact-sent-eyebrow {
    font-family: var(--fiche-mono);
    font-size: 12px;
    color: var(--fiche-accent);
}

.contact-sent-title {
    font-size: 32px;
    font-weight: 600;
}

.contact-sent-text {
    font-size: 16px;
    color: var(--fiche-text-soft);
}

.contact-sent-link {
    font-size: 15px;
    text-decoration: underline;
}
