/* =========================================================
   PAGE CONTACT : design harmonisé avec l'accueil
   ========================================================= */

.ctc {
    --bleu: #2f5570;
    --bleu-clair: #52758c;
    --bleu-fonce: #243f52;
    --fond: #f7f6f3;
    --fond-beige: #eeece7;
    --bordure: #e5e2dc;
    --or: #b08d57;
    --serif: Georgia, 'Times New Roman', serif;

    background: var(--fond);
    color: #4b4b4b;
    padding: 64px 0 72px;
    line-height: 1.7;
}

.ctc *, .ctc *::before, .ctc *::after { box-sizing: border-box; }

.ctc a:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; }


/* ---------- Titre ---------- */

.ctc__hero { text-align: center; margin: 0 0 44px; }

.ctc__hero h2 {
    margin: 0 0 14px;
    color: var(--bleu);
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.2;
}

.ctc__hero h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 18px auto 0;
    background: var(--or);
}

.ctc__subtitle {
    max-width: 640px;
    margin: 18px auto 0;
    color: #666;
    font-size: 17px;
}


/* ---------- Cartes ---------- */

.ctc__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    margin: 0 0 48px;
}

.ctc__box {
    background: #fff;
    border: 1px solid var(--bordure);
    border-top: 3px solid var(--bleu);
    padding: 32px 26px 30px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease, border-top-color .25s ease;
}

.ctc__box:hover {
    transform: translateY(-3px);
    border-top-color: var(--or);
    box-shadow: 0 10px 24px rgba(36,63,82,.10);
}

.ctc__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border: 1px solid var(--bordure);
    border-radius: 50%;
    background: var(--fond);
    font-size: 23px;
    line-height: 1;
}

.ctc__box h3 {
    margin: 0 0 12px;
    color: var(--bleu);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;
}

.ctc__box p { margin: 0 0 10px; font-size: 15px; line-height: 1.7; color: #5f5f5f; }

.ctc__address {
    margin: 0 0 16px;
    font-style: normal;
    font-size: 16px;
    line-height: 1.7;
    color: #4b4b4b;
}

.ctc__links { list-style: none; margin: 0 0 20px; padding: 0; }
.ctc__links li { margin: 0 0 6px; font-size: 16px; }
.ctc__links a { color: var(--bleu); text-decoration: none; border-bottom: 1px solid var(--or); }
.ctc__links a:hover { color: var(--bleu-fonce); border-bottom-color: var(--bleu); }

.ctc__btn {
    display: inline-block;
    padding: 11px 30px;
    background: var(--bleu);
    border: 1px solid var(--bleu);
    border-radius: 2px;
    color: #fff !important;
    font-size: 15px;
    text-decoration: none !important;
    transition: background-color .2s ease;
}
.ctc__btn:hover, .ctc__btn:focus { background: var(--bleu-clair); border-color: var(--bleu-clair); }

.ctc__more { margin-top: 14px !important; }
.ctc__more a { color: var(--bleu); text-decoration: none; border-bottom: 1px solid var(--or); }
.ctc__more a:hover { color: var(--bleu-fonce); }


/* ---------- Bloc « Prendre contact » ---------- */

.ctc__call {
    margin: 0 0 56px;
    padding: 52px 30px;
    background: linear-gradient(135deg, var(--bleu) 0%, var(--bleu-fonce) 100%);
    text-align: center;
}

.ctc__call, .ctc__call p, .ctc__call strong, .ctc__call a { color: #fff !important; }

.ctc__call-title {
    margin: 0 0 14px;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    color: #fff !important;
}

.ctc__call-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin: 16px auto 0;
    background: var(--or);
}

.ctc__call-text { max-width: 560px; margin: 18px auto 24px; font-size: 17px; }

.ctc__call-btn {
    display: inline-block;
    padding: 13px 34px;
    background: #fff;
    border-radius: 2px;
    color: var(--bleu) !important;
    font-size: 19px;
    text-decoration: none !important;
    transition: background-color .2s ease;
}
.ctc__call-btn:hover, .ctc__call-btn:focus { background: #eee; color: var(--bleu-fonce) !important; }

.ctc__call-mail { margin: 18px 0 0; }
.ctc__call-mail a { text-decoration: underline; }

.ctc__call-urgence {
    max-width: 620px;
    margin: 30px auto 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.28);
    font-size: 14px;
    line-height: 1.7;
}


/* ---------- Plan d'accès ---------- */

.ctc__map { text-align: center; }

.ctc__heading {
    margin: 0 0 26px;
    color: var(--bleu);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
}

.ctc__heading::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    margin: 16px auto 0;
    background: var(--or);
}

.ctc__frame {
    padding: 8px;
    background: #fff;
    border: 1px solid var(--bordure);
    box-shadow: 0 6px 18px rgba(36,63,82,.07);
}

.ctc__frame iframe { display: block; width: 100%; height: 420px; }

.ctc__route { margin: 18px 0 0; }
.ctc__route a { color: var(--bleu); text-decoration: none; border-bottom: 1px solid var(--or); }
.ctc__route a:hover { color: var(--bleu-fonce); }


/* ---------- Tablette et mobile ---------- */

@media (max-width: 991px) {
    .ctc__grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
    .ctc { padding: 44px 0 52px; }
    .ctc__hero { margin-bottom: 30px; }
    .ctc__hero h2 { font-size: 29px; }
    .ctc__subtitle { font-size: 16px; }
    .ctc__box { padding: 26px 20px; }
    .ctc__call { padding: 40px 20px; margin-bottom: 40px; }
    .ctc__call-title, .ctc__heading { font-size: 25px; }
    .ctc__call-btn { font-size: 17px; padding: 12px 26px; }
    .ctc__frame iframe { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    .ctc__box, .ctc__btn, .ctc__call-btn { transition: none; }
    .ctc__box:hover { transform: none; }
}
