/**
 * Contact
 */

/* =============================================
   FLASH MESSAGES
   ============================================= */
.ct-flash {
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.ct-flash--success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.ct-flash--error {
    background-color: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

/* =============================================
   HERO
   ============================================= */
.ct-hero {
    margin-top: 80px;
    background-color: #571632;
    padding: 0;
    overflow: hidden;
}

.ct-hero__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: stretch;
}

.ct-hero__text {
    padding: 32px 0;
}

.ct-hero__surtitle {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
}

.ct-hero__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 52px;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 28px 0;
}

.ct-hero__intro {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 460px;
}

.ct-hero__image-col {
    overflow: hidden;
    width: 280px;
}

.ct-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* =============================================
   CONTENU
   ============================================= */
.ct-content {
    background-color: #e8e5d6;
    padding: 32px 0 60px;
}

.ct-content__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
    align-items: start;
}

/* =============================================
   INFOS (colonne gauche)
   ============================================= */
.ct-info {
    padding-top: 16px;
}

.ct-info__block {
    margin-bottom: 36px;
}

.ct-info__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    color: #3e2a2c;
    margin: 0 0 8px 0;
}

.ct-info__label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #657763;
    margin: 0 0 6px 0;
}

.ct-info__text {
    font-size: 18px;
    line-height: 1.6;
    color: #3e2a2c;
    margin: 0;
}

.ct-info__text--small {
    font-size: 16px;
    color: #666;
    margin-top: 6px;
}

.ct-info__link {
    font-size: 16px;
    color: #571632;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ct-info__link:hover {
    opacity: 0.7;
}

.ct-info__map-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.ct-info__map-sep {
    color: #999;
}

.ct-info__map-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: #571632;
    border-bottom: 1px solid #571632;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.ct-info__map-link:hover {
    opacity: 0.7;
}

.ct-info__quote {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(62, 42, 44, 0.15);
}

.ct-info__quote blockquote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    font-style: normal;
    color: #657763;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    border: none;
}

/* =============================================
   FORMULAIRE (colonne droite)
   ============================================= */
.ct-form-wrapper {
    background-color: #fff;
    padding: 48px;
    border-radius: 6px;
}

.ct-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ct-form__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ct-form__label {
    font-size: 16px;
    font-weight: 500;
    color: #3e2a2c;
}

.ct-form__required {
    color: #b6464a;
}

.ct-form__input,
.ct-form__textarea,
.ct-form__select {
    width: 100%;
    padding: 14px 16px;
    background-color: #f9f8f5;
    border: 1px solid rgba(62, 42, 44, 0.12);
    border-radius: 4px;
    font-family: 'Inter', 'DM Sans', sans-serif;
    font-size: 16px;
    color: #3e2a2c;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%233e2a2c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.ct-form__input:focus,
.ct-form__textarea:focus,
.ct-form__select:focus {
    border-color: #571632;
    box-shadow: 0 0 0 3px rgba(87, 22, 50, 0.08);
}

.ct-form__textarea {
    resize: vertical;
    min-height: 160px;
}

.ct-form__submit {
    display: inline-block;
    padding: 16px 40px;
    background-color: #571632;
    color: #fff;
    font-family: 'Inter', 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.ct-form__submit:hover {
    background-color: #3e2a2c;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .ct-content__container {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    /* Hero : compact, centré, sans photo */
    .ct-hero {
        margin-top: 64px;
    }

    .ct-hero__container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 24px;
        text-align: center;
    }

    .ct-hero__surtitle {
        margin-bottom: 12px;
    }

    .ct-hero__text {
        padding: 24px 0;
    }

    .ct-hero__title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .ct-hero__intro {
        font-size: 16px;
        max-width: 100%;
        line-height: 1.5;
    }

    .ct-hero__image-col {
        display: none;
    }

    /* Contenu : formulaire d'abord, infos ensuite */
    .ct-content {
        padding: 32px 0 48px;
    }

    .ct-content__container {
        padding: 0 16px;
    }

    .ct-form-wrapper {
        order: -1;
        padding: 24px 20px;
        border-radius: 6px;
    }

    .ct-form__row {
        grid-template-columns: 1fr;
    }

    .ct-form__submit {
        align-self: stretch;
        text-align: center;
    }

    /* Infos : compactes, centrées */
    .ct-info {
        padding-top: 0;
        text-align: center;
    }

    .ct-info__block {
        margin-bottom: 24px;
    }

    .ct-info__title {
        font-size: 28px;
    }

    .ct-info__link {
        display: inline-block;
    }

    .ct-info__map-links {
        justify-content: center;
    }

    .ct-info__quote {
        display: none;
    }
}
