/*
 * individuel.css — Page demande voyage sur mesure
 * ✅ .card-header et .form-control retirés (hérités de main.css)
 * Harmonisé avec main.css et trips.css
 */

/* ═══════════════════════════════════════════
   HERO IMAGE
═══════════════════════════════════════════ */
.hero-image-container {
    position: relative;
    max-height: 500px;
    overflow: hidden;
}

.hero-image {
    object-fit: cover;
    height: 500px;
    width: 100%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,22,40,.30) 0%,
        rgba(13,59,140,.55) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
    margin-bottom: .5rem;
}

.hero-sub {
    font-size: 1.05rem;
    opacity: .85;
    text-shadow: 0 1px 4px rgba(0,0,0,.25);
}

/* ═══════════════════════════════════════════
   CARTE FORMULAIRE
   ✅ CORRIGÉ : .card Bootstrap → .individuel-card dédié
═══════════════════════════════════════════ */
/* .individuel-card structure, .individuel-card-header gradient : voir main.css */
.individuel-card-header {
    padding: 1.3rem 1.8rem;
}

.individuel-card-header h2 {
    font-size: 1.1rem;
}

.individuel-card-body {
    padding: 2rem;
}

/* ═══════════════════════════════════════════
   SECTIONS DE FORMULAIRE
═══════════════════════════════════════════ */
.form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.form-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.form-section-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--blue-900);
    padding-bottom: .6rem;
    border-bottom: 2px solid var(--blue-100);
    margin-bottom: 1.2rem;
}

/* ═══════════════════════════════════════════
   CHAMPS
═══════════════════════════════════════════ */
.individuel-card-body .form-label {
    font-size: .88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: .35rem;
}

.individuel-card-body .form-control,
.individuel-card-body .form-select {
    border-radius: var(--radius-md) !important;
    border: 1.5px solid var(--border);
    padding: .6rem .9rem;
    font-family: var(--font-body);
    font-size: .92rem;
    transition: border-color .2s, box-shadow .2s;
}

/* .form-control:focus, .form-select:focus : voir main.css */

.individuel-card-body textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.individuel-card-body .form-text {
    font-size: .78rem;
    color: var(--text-soft);
}

/* Checkboxes et radios */
.individuel-card-body .form-check {
    margin-bottom: .5rem;
}

.individuel-card-body .form-check-input:checked {
    background-color: var(--blue-500);
    border-color: var(--blue-500);
}

.individuel-card-body .form-check-label {
    font-size: .9rem;
    color: var(--text-mid);
}

/* ═══════════════════════════════════════════
   BOUTON ENVOI
═══════════════════════════════════════════ */
/* ═══════════════════════════════════════════
   BOUTON ENVOI — socle dans main.css
═══════════════════════════════════════════ */
.btn-individuel {
    width: 100%;
    height: 52px;
    font-size: 1.05rem;
    margin-top: .5rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero-image,
    .hero-image-container {
        height: 300px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .individuel-card-body {
        padding: 1.3rem;
    }
}
