@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
/* ===================================================
   contact.css — Simag Solutions Digital
   Palette harmonisée avec la page Simag Banque
   (registre comptable : encre / vert grand-livre / laiton)
   =================================================== */

:root {
    --bq-ink:     #142A2E;   /* fond sombre, encre de registre */
    --bq-ledger:  #1F5C4D;   /* vert grand-livre, accent principal */
    --bq-ledger-l:#2E7A66;
    --bq-brass:   #B08D57;   /* laiton, accent de valeur / CTA */
    --bq-brass-d: #96703E;   /* laiton foncé, hover */
    --bq-paper:   #EEEDE4;   /* papier clair */
    --bq-line:    #D8D6C9;
    --bq-slate:   #55635F;
    --bq-alert:   #A04B3C;   /* alerte / champ requis */
    --bq-white:   #FFFFFF;
}


/* SECTION GLOBALE */
.contact-section {
    background: #fff;
    padding: 60px 0;
    min-height: calc(100vh - 80px);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    max-width: 1100px;
    margin: auto;
    width: 90%;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
}

/* COLONNE GAUCHE */
.contact-left {
    background: var(--bq-paper);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
}

.contact-left h1 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-style: normal;
    color: var(--bq-ink);
    font-size: 56px;
    font-weight: 400;
    text-align: left;
    margin: 0;
}

.contact-left h3 {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 18px;
    color: var(--bq-ink);
    text-align: left;
    margin: 0;
}

.contact-left p {
    font-family: "Lato", serif;
    font-weight: 400;
    font-style: normal;
    font-size: 15px;
    color: var(--bq-slate);
    line-height: 1.8;
    text-align: justify;
    margin: 0;
}

/* COLONNE DROITE */
.contact-right {
    background: var(--bq-ink);
    padding: 2.5rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* CHAMPS */
.field-group {
    margin-bottom: 0%;
}

.field-group label {
    display: block;
    font-family: "Lato", serif;
    font-weight: bold;
    font-size: 14px;
    color: var(--bq-paper);
    margin-bottom: 5px;
}

.field-group .req {
    color: var(--bq-brass);
}

.field-group input,
.field-group textarea {
    width: 350px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(31,92,77,0.3);
    border-radius: 8px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: background .2s, border-color .2s;
}
.field-group-select {
    width: 350px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(31,92,77,0.3);
    border-radius: 8px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: background .2s, border-color .2s;
}
.select {
    width: 300px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(31,92,77,0.3);
    border-radius: 8px;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: background .2s, border-color .2s;
}
.field-group input:focus,
.field-group textarea:focus {
    background: rgba(255,255,255,0.95);
    border-color: var(--bq-ledger);
}

.field-group textarea {
    min-height: 90px;
    resize: vertical;
}


/* SECTION RDV */
.rdv-section {
    margin-bottom: 1rem;
}

.rdv-title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    color: var(--bq-brass);
    margin-bottom: 10px;
}

.calendar-mini {
    background: rgba(255,255,255,0.5);
    border-radius: 10px;
    padding: 12px;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cal-header span {
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    color: var(--bq-ink);
    font-weight: 500;
}

.cal-nav {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--bq-ledger);
    font-size: 18px;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1;
}

.cal-nav:hover {
    background: rgba(31,92,77,0.15);
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    text-align: center;
}

.cal-day-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 11px;
    color: var(--bq-ink);
    padding: 2px 0;
    opacity: .7;
}

.cal-day {
    font-family: 'Times New Roman', Times, serif;
    font-size: 12px;
    padding: 5px 2px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--bq-ink);
    transition: background .15s;
}

.cal-day:hover {
    background: rgba(31,92,77,0.2);
}

.cal-day.today {
    background: var(--bq-brass);
    color: var(--bq-ink);
}

.cal-day.selected {
    background: var(--bq-ledger);
    color: white;
}

.cal-day.empty {
    cursor: default;
}

.tz-info {
    font-family: 'Times New Roman', Times, serif;
    font-size: 12px;
    color: var(--bq-ink);
    opacity: .8;
    margin: 8px 0;
    line-height: 1.5;
}

.slots-label {
    font-family: 'Times New Roman', Times, serif;
    font-size: 13px;
    color: var(--bq-ink);
    margin-bottom: 6px;
    min-height: 18px;
}

.slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.slot {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(31,92,77,0.4);
    border-radius: 20px;
    padding: 6px 14px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12px;
    color: var(--bq-ink);
    cursor: pointer;
    transition: background .15s, color .15s;
}

.slot:hover,
.slot.active {
    background: var(--bq-ledger);
    color: white;
    border-color: var(--bq-ledger);
}

/* BOUTON ENVOYER */
.btn-envoyer {
    width: 100%;
    padding: 14px;
    background: var(--bq-brass);
    color: var(--bq-ink);
    border: none;
    border-radius: 8px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .2s;
    margin-top: 0.5rem;
}

.btn-envoyer:hover {
    background: var(--bq-brass-d);
}

/* MESSAGES SUCCESS / ERROR */
.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 1rem;
    text-align: center;
    color: var(--bq-paper);
    font-family: 'Times New Roman', Times, serif;
}

.contact-success i {
    font-size: 48px;
    color: var(--bq-brass);
}

.contact-error {
    background: rgba(255,255,255,0.9);
    border-left: 3px solid var(--bq-alert);
    color: var(--bq-alert);
    padding: 10px 14px;
    border-radius: 6px;
    font-family: 'Times New Roman', Times, serif;
    font-size: 14px;
    margin-bottom: 1rem;
}

/* NAV ACTIVE */
.nav-container a.active {
    color: var(--bq-ledger);
    font-weight: 600;
    border-bottom: 2px solid var(--bq-ledger);
    padding-bottom: 2px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-left h1 {
        font-size: 40px;
    }
}
