/* ============================================================
 * IFLISS GAMES — page Contact
 * Même thème que l'accueil : ce fichier s'ajoute à accueil.css, qui fournit les couleurs
 * (.acc / .acc-home : blanc cassé, taupe, violet, bordeaux, --strip-blue), .acc-wrap et
 * .acc-mark (trait fait main). Icônes : Bootstrap Icons. CSS simple, sans compilation.
 * ============================================================ */

/* ── Bandeau taupe ── */
.ct-hero {
    padding: 22px 0 0;
    background:
        radial-gradient(760px 460px at 82% 45%, rgb(255 250 243 / 0.45), transparent 70%),
        radial-gradient(560px 340px at 0% 100%, rgb(255 250 243 / 0.25), transparent 70%),
        linear-gradient(135deg, #ddd1c3, #cfc0ae 55%, #c3b19d);
}
.ct-fil {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    color: var(--taupe-ink);
    font-size: 0.8rem;
    font-weight: 600;
}
.ct-fil a { color: var(--taupe-ink); text-decoration: none; }
.ct-fil a:hover { color: var(--strip-blue-solid); }
.ct-fil .bi { font-size: 0.7rem; opacity: 0.7; }
.ct-hero h1 {
    position: relative;
    z-index: 0;
    max-width: 18ch;
    margin: 0 0 10px;
    color: var(--ink);
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
}
.ct-sous { max-width: 56ch; margin: 0; color: var(--taupe-ink); font-size: 0.95rem; line-height: 1.6; }

/* Illustration posée sur le bas du bandeau, à droite du texte */
.ct-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; }
.ct-hero-texte { align-self: center; padding-bottom: 30px; }
.ct-hero-visuel { display: block; width: 270px; margin-bottom: -1px; }
.ct-hero-visuel img { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 22px rgb(70 50 35 / 0.22)); }

/* ── Mise en page ── */
.ct-section { padding: 26px 0 0; }
.ct-section:last-of-type { padding-bottom: 44px; }
.ct-duo { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 20px; align-items: start; }
.ct-empile { display: grid; gap: 16px; }

/* ── Cartes ── */
.ct-carte {
    min-width: 0;
    padding: 20px;
    border: 1px solid #dccfbf;
    border-radius: 20px;
    background: var(--card);
    box-shadow: 0 18px 36px -26px rgb(70 50 35 / 0.6);
}
.ct-carte h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
}
.ct-carte h2 .bi { color: var(--bordeaux); }

/* ── Formulaire ── */
.ct-champ { margin-bottom: 14px; }
.ct-champ label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 0.86rem; font-weight: 700; }
.ct-champ label span { color: var(--ink-soft); font-size: 0.78rem; font-weight: 500; }
.ct-champ input,
.ct-champ select,
.ct-champ textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid #d9cdbf;
    border-radius: 14px;
    background: #f7f2eb;
    color: var(--ink);
    font: 500 16px 'Lexend', sans-serif;
    transition: border-color 0.18s, box-shadow 0.18s, background-color 0.18s;
}
.ct-champ select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%237c5bd8' d='M4.6 6.2 8 9.6l3.4-3.4 1.1 1.1L8 11.8 3.5 7.3z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.ct-champ textarea { min-height: 150px; line-height: 1.6; resize: vertical; }
.ct-champ input::placeholder,
.ct-champ textarea::placeholder { color: #a8998a; }
.ct-champ input:focus,
.ct-champ select:focus,
.ct-champ textarea:focus {
    outline: none;
    border-color: var(--violet-600);
    background-color: var(--card);
    box-shadow: 0 0 0 4px rgb(124 91 216 / 0.18);
}
.ct-pot-de-miel { display: none !important; }

.ct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 999px;
    background: var(--strip-blue);
    box-shadow: 0 12px 22px -14px rgb(28 25 72 / 0.9);
    color: #fff;
    font: 800 0.95rem 'Lexend', sans-serif;
    cursor: pointer;
    transition: transform 0.18s, background-color 0.18s;
}
.ct-btn:hover { background: var(--strip-blue-hover); transform: translateY(-2px); }

/* ── Messages ── */
.ct-alerte {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 16px;
    padding: 14px 16px;
    border: 1px solid;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.55;
}
.ct-alerte .bi { flex-shrink: 0; margin-top: 2px; font-size: 1.05rem; }
.ct-alerte-succes { border-color: #bfdfc6; background: #e8f3ea; color: #2f6b3c; }
.ct-alerte-erreur { border-color: #f3bcc5; background: var(--red-50); color: #a3162b; }
.ct-alerte ul { margin: 6px 0 0; padding-left: 18px; }
.ct-alerte a { color: inherit; font-weight: 700; }

/* ── Informations et réseaux ── */
.ct-liste { display: grid; gap: 14px; }
.ct-item { display: flex; gap: 12px; align-items: flex-start; }
.ct-item > .bi {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--cream, #f6efe4);
    color: var(--bordeaux);
    font-size: 1rem;
}
.ct-item-titre { margin: 0 0 2px; color: var(--ink); font-size: 0.84rem; font-weight: 800; }
.ct-item-texte { margin: 0; color: var(--ink-soft); font-size: 0.84rem; line-height: 1.5; overflow-wrap: anywhere; }
.ct-item-texte a { color: var(--violet-800); font-weight: 700; text-decoration: none; }
.ct-item-texte a:hover { text-decoration: underline; }

.ct-reseaux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ct-reseau {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 8px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.18s, transform 0.18s;
}
.ct-reseau:hover { border-color: var(--strip-blue-solid); transform: translateY(-2px); }
.ct-reseau .bi { color: var(--bordeaux); font-size: 1rem; }

.ct-delai {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--violet-100);
    border-radius: 16px;
    background: var(--violet-50);
    color: var(--ink-soft);
    font-size: 0.82rem;
    line-height: 1.45;
}
.ct-delai .bi { flex-shrink: 0; color: var(--violet-600); font-size: 1.4rem; }
.ct-delai strong { display: block; color: var(--violet-800); font-size: 1rem; }
.ct-lien-faq { margin: 0; color: var(--ink-soft); font-size: 0.82rem; line-height: 1.5; text-align: center; }
.ct-lien-faq a { color: var(--violet-800); font-weight: 700; text-decoration: none; }
.ct-lien-faq a:hover { text-decoration: underline; }

/* ── Questions fréquentes ── */
.ct-faq h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 1.15rem;
    font-weight: 900;
}
.ct-faq h2 .bi { color: var(--bordeaux); }
.ct-faq details {
    margin-bottom: 8px;
    border: 1px solid #dccfbf;
    border-radius: 16px;
    background: var(--card);
    overflow: hidden;
}
.ct-faq details[open] { border-color: var(--violet-200); }
.ct-faq summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
}
.ct-faq summary::-webkit-details-marker { display: none; }
.ct-faq summary:hover { background: var(--paper); }
.ct-faq summary .bi {
    margin-left: auto;
    color: var(--violet-600);
    font-size: 0.85rem;
    transition: transform 0.2s;
}
.ct-faq details[open] summary .bi { transform: rotate(180deg); }
.ct-faq details p {
    margin: 0;
    padding: 0 16px 16px;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.75;
}
.ct-faq details a { color: var(--violet-800); font-weight: 600; }

/* ── Écrans étroits ── */
@media (max-width: 1060px) {
    .ct-duo { grid-template-columns: 1fr; }
    .ct-hero-visuel { width: 225px; }
}
@media (max-width: 640px) {
    .ct-hero { padding: 16px 0 0; }
    .ct-hero-grille { gap: 10px; }
    .ct-hero-texte { padding-bottom: 20px; }
    .ct-hero-visuel { width: 105px; }
    .ct-section { padding-top: 18px; }
    .ct-section:last-of-type { padding-bottom: 32px; }
    .ct-carte { padding: 16px; border-radius: 18px; }
    .ct-faq summary { font-size: 0.88rem; }
}
@media (max-width: 360px) {
    .ct-reseaux { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .ct-btn, .ct-reseau, .ct-faq summary .bi { transition: none; }
}
