/* ============================================================
   PAGE CONTACT — contact.css
   Identique à page-idee.css — accent rouge #E82951
   ============================================================ */

/* ── Variables locales ── */
:root {
    --contact-red:    #E82951;
    --contact-dark:   #1a2535;
}

/* ── Reset wrapper ── */
#page-wrapper,
#content,
#page-wrapper > .row {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

/* ════════ BANNER / VISUELLE ════════ */
.idee-visual {
    position: relative;
    background: var(--contact-red);
    overflow: hidden;
    padding: 5rem 2rem 4rem;
}

.idee-visual-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.idee-visual-content {
    position: relative; z-index: 1;
}

.idee-logo {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}
.idee-logo-img {
    max-height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.idee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Raleway', sans-serif;
    font-size: 0.55rem; font-weight: 900;
    letter-spacing: 0.4em; text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
}

.idee-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.idee-title em {
    font-style: italic;
    color: rgba(255,255,255,0.7);
}

.idee-intro {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem; font-weight: 300;
    line-height: 1.85;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
}

/* ════════ COLONNE FORMULAIRE ════════ */
.idee-form-col {
    background: #fff;
    border-top: 4px solid var(--contact-red);
    padding: 5rem 2rem 6rem;
    max-width: 700px;
    margin: 0 auto;
}

/* En-tête formulaire */
.idee-form-header {
    margin-bottom: 3rem;
}
.idee-form-label {
    font-family: 'Raleway', sans-serif;
    font-size: 0.6rem; font-weight: 800;
    letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--contact-red);
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.75rem;
}
.idee-form-label::after {
    content: '';
    display: block;
    width: 30px; height: 2px;
    background: var(--contact-red);
}
.idee-form-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--contact-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.idee-form-header h2 em {
    font-style: italic;
    color: var(--contact-red);
}
.idee-form-header p {
    font-family: 'Raleway', sans-serif;
    font-size: 0.88rem; font-weight: 300;
    color: #888; line-height: 1.6;
    margin: 0;
}

/* ════════ CFORMS ════════ */
.idee-form-wrap {
    width: 100%;
}

/* Supprimer numéros de liste */
.idee-form-wrap ol,
.idee-form-wrap ul,
.idee-form-wrap li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.idee-form-wrap li::before,
.idee-form-wrap li::marker {
    content: none !important;
    display: none !important;
}

/* Labels */
.idee-form-wrap label,
.idee-form-wrap .cf-label {
    font-family: 'Raleway', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: var(--contact-dark) !important;
    margin-bottom: 0.4rem !important;
    display: block;
}

/* Inputs & textarea */
.idee-form-wrap input[type="text"],
.idee-form-wrap input[type="email"],
.idee-form-wrap input[type="tel"],
.idee-form-wrap textarea,
.idee-form-wrap select {
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    border-bottom: 1.5px solid rgba(0,0,0,0.1) !important;
    border-radius: 0 !important;
    padding: 0.65rem 0 !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 0.9rem !important;
    color: var(--contact-dark) !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color 0.25s ease !important;
}
.idee-form-wrap input[type="text"]:focus,
.idee-form-wrap input[type="email"]:focus,
.idee-form-wrap input[type="tel"]:focus,
.idee-form-wrap textarea:focus {
    border-bottom-color: var(--contact-red) !important;
    box-shadow: none !important;
}
.idee-form-wrap textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* ── Radio / Checkbox alignés ── */
.idee-form-wrap .cf-box-group {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    align-items: center !important;
    margin: 0.5rem 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.idee-form-wrap .cf-box-group li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.idee-form-wrap label.cf-group-after,
.idee-form-wrap label.cf-after {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    padding: 0.45rem 1rem !important;
    border: 1.5px solid rgba(0,0,0,0.12) !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: var(--contact-dark) !important;
    background: transparent !important;
    white-space: nowrap !important;
    margin: 0 !important;
}
.idee-form-wrap input.cf-box-b:checked + label.cf-after,
.idee-form-wrap input.cf-box-b:checked + label.cf-group-after {
    background: var(--contact-red) !important;
    border-color: var(--contact-red) !important;
    color: #fff !important;
}
.idee-form-wrap label.cf-group-after:hover,
.idee-form-wrap label.cf-after:hover {
    border-color: var(--contact-red) !important;
    color: var(--contact-red) !important;
}

/* Textes requis */
.idee-form-wrap .reqtxt,
.idee-form-wrap .emailreqtxt {
    font-family: 'Raleway', sans-serif;
    font-size: 0.62rem;
    color: var(--contact-red);
    font-style: italic;
    margin-left: 0.4rem;
}

/* ── Submit ── */
.idee-form-wrap p.cf-sb { margin: 1.5rem 0 0; }
.idee-form-wrap input.sendbutton,
.idee-form-wrap button[type="submit"],
.idee-form-wrap .sendbutton {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 220px !important;
    padding: 0.9rem 2.5rem !important;
    background: var(--contact-dark) !important;
    border: 2px solid var(--contact-dark) !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-family: 'Raleway', sans-serif !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    overflow: hidden;
    transition: color 0.35s ease, border-color 0.35s ease !important;
    z-index: 1;
}
.idee-form-wrap input.sendbutton::before,
.idee-form-wrap button[type="submit"]::before,
.idee-form-wrap .sendbutton::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--contact-red);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}
.idee-form-wrap input.sendbutton:hover,
.idee-form-wrap button[type="submit"]:hover,
.idee-form-wrap .sendbutton:hover {
    color: #fff !important;
    border-color: var(--contact-red) !important;
}
.idee-form-wrap input.sendbutton:hover::before,
.idee-form-wrap button[type="submit"]:hover::before,
.idee-form-wrap .sendbutton:hover::before {
    transform: translateY(0);
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 991px) {
    .idee-visual { padding: 5rem 2.5rem 4rem !important; }
    .idee-form-col { padding: 4rem 2rem 5rem !important; }
    .idee-form-wrap .cf-box-group {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}
@media (max-width: 580px) {
    .idee-visual { padding: 4rem 1.5rem 3rem !important; }
    .idee-form-col { padding: 3rem 1.5rem 4rem !important; }
}
