/* Page Contact : palette indigo / bleu / marron (comme le pied de page) */
:root {
    --ct-indigo-900: #16123a;
    --ct-indigo-800: #221c55;
    --ct-indigo-600: #3b2f8f;
    --ct-bleu-500: #1f6fd6;
    --ct-bleu-300: #6fb1ff;
    --ct-marron-500: #9a6434;
    --ct-marron-300: #d9a877;
    --ct-marron-100: #f6ece2;
    --ct-texte-doux: #6f6c8c;
    --ct-bord: #dcd8f0;
}

.ct-hero *,
.ct-page *,
.ct-carte * {
    box-sizing: border-box;
}

/* ---------- Bandeau ---------- */
.ct-hero {
    position: relative;
    padding: 80px 20px 150px;
    background:
        linear-gradient(120deg, rgba(22, 18, 58, .92), rgba(59, 47, 143, .80) 55%, rgba(31, 111, 214, .70)),
        url("../images/equipe.png") center 70% / cover no-repeat;
    color: #fff;
    font-family: 'Open Sans', 'Roboto', sans-serif;
    text-align: center;
}

.ct-hero-contenu {
    max-width: 720px;
    margin: 0 auto;
}

.ct-fil {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .75);
    font-size: 14px;
}

.ct-fil a {
    color: var(--ct-marron-300);
    text-decoration: none;
}

.ct-fil a:hover {
    color: #fff;
}

.ct-fil span {
    margin: 0 6px;
}

.ct-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
}

.ct-hero h1 span {
    color: var(--ct-marron-300);
}

.ct-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: 17px;
    line-height: 1.6;
}

/* ---------- Contenu principal : remonte sur le bandeau ---------- */
.ct-page {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    align-items: start;
    gap: 28px;
    max-width: 1180px;
    margin: -100px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    font-family: 'Open Sans', 'Roboto', sans-serif;
}

.ct-page h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
}

/* Carte coordonnées */
.ct-infos {
    padding: 34px 30px;
    border-radius: 20px;
    background: linear-gradient(160deg, var(--ct-indigo-800), var(--ct-indigo-900));
    color: #e6e4f5;
    box-shadow: 0 24px 50px rgba(22, 18, 58, .30);
}

.ct-infos h2 {
    color: #fff;
}

.ct-infos-intro {
    margin: 0 0 28px;
    color: #a9a5cf;
    font-size: 15px;
}

.ct-liste {
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.ct-liste li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.ct-liste li:first-child {
    padding-top: 0;
}

.ct-icone {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(154, 100, 52, .25);
    color: var(--ct-marron-300);
    font-size: 23px;
}

.ct-liste small {
    display: block;
    margin-bottom: 2px;
    color: #a9a5cf;
    font-size: 12px;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.ct-liste address,
.ct-liste a {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-style: normal;
    line-height: 1.5;
    text-decoration: none;
    word-break: break-word;
}

.ct-liste a:hover {
    color: var(--ct-bleu-300);
}

.ct-appel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    border-radius: 12px;
    background: var(--ct-marron-500);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s, transform .2s;
}

.ct-appel:hover {
    background: #83542b;
    color: #fff;
    transform: translateY(-2px);
}

.ct-appel i {
    font-size: 20px;
}

/* ---------- Formulaire ---------- */
.ct-form {
    padding: 34px 32px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(22, 18, 58, .12);
}

.ct-form h2 {
    color: var(--ct-indigo-900);
}

.ct-form-intro {
    margin: 0 0 24px;
    color: var(--ct-texte-doux);
    font-size: 14px;
}

.ct-requis {
    color: #d23f3f;
}

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

.ct-champ-large {
    grid-column: 1 / -1;
}

.ct-champ label {
    display: block;
    margin-bottom: 7px;
    color: var(--ct-indigo-900);
    font-size: 14px;
    font-weight: 600;
}

.ct-champ input,
.ct-champ select,
.ct-champ textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--ct-bord);
    border-radius: 10px;
    background: #faf9fe;
    color: var(--ct-indigo-900);
    font: inherit;
    font-size: 15px;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}

.ct-champ textarea {
    min-height: 150px;
    resize: vertical;
}

.ct-champ input::placeholder,
.ct-champ textarea::placeholder {
    color: #a4a1bf;
}

.ct-champ input:focus,
.ct-champ select:focus,
.ct-champ textarea:focus {
    outline: none;
    border-color: var(--ct-bleu-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(31, 111, 214, .15);
}

.ct-invalide input,
.ct-invalide textarea {
    border-color: #d23f3f;
    background: #fff6f6;
}

.ct-retour {
    display: none;
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
}

.ct-retour.ct-ok {
    background: #e7f6ec;
    color: #1d7a3d;
}

.ct-retour.ct-erreur {
    background: #fdecec;
    color: #b22f2f;
}

.ct-envoyer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 28px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--ct-indigo-600), var(--ct-bleu-500));
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(31, 111, 214, .30);
    transition: transform .2s, box-shadow .2s, opacity .2s;
}

.ct-envoyer:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(31, 111, 214, .40);
}

.ct-envoyer i {
    font-size: 20px;
}

.ct-envoyer:disabled {
    opacity: .7;
    cursor: wait;
}

/* Pendant l'envoi, l'avion tourne */
.ct-envoi i {
    animation: ct-envoi 1s linear infinite;
}

@keyframes ct-envoi {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Carte Google Maps ---------- */
.ct-carte {
    max-width: 1180px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.ct-carte iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(22, 18, 58, .12);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .ct-page {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .ct-hero {
        padding: 56px 16px 120px;
    }

    .ct-page {
        margin-top: -80px;
        padding: 0 16px;
        gap: 20px;
    }

    .ct-infos,
    .ct-form {
        padding: 26px 20px;
    }

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

    .ct-envoyer {
        width: 100%;
        justify-content: center;
    }

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

    .ct-carte iframe {
        height: 300px;
    }
}
