/* ============================================================
   1. STYLE GLOBAL & ACCENTS
   ============================================================ */
.contact-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

/* Titre réduit pour ne pas être "trop gros" */
.contact-header h1,
.contact-header h2 {
    font-size: 1.6rem;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.accent-text {
    color: #0066CC;
    position: relative;
    display: inline-block;
}

.accent-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #FF9900;
}

/* ============================================================
   2. DESIGN PAGE CONTACT (4 Cartes + Bloc Bleu Ciel)
   ============================================================ */
.contact-page-container {
    display: flex;
    justify-content: center;
    padding: 80px 20px;
}

.contact-grid {
    display: flex;
    max-width: 1000px;
    width: 100%;
    align-items: center;
    position: relative;
}

/* Les 4 cartes blanches (Email, Tel, etc.) */
.info-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    flex: 1;
    z-index: 10; /* Force la superposition au-dessus du bleu */
}

.info-card {
    background: #ffffff;
    padding: 30px 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.info-card i {
    color: #0066CC;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.info-card h3 {
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
    color: #333;
}

.info-card p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Le rectangle bleu ciel qui se glisse dessous */
.form-wrapper-blue {
    background-color: #7dd3e5;
    padding: 60px 40px 60px 80px; /* Plus de padding à gauche pour laisser respirer les cartes */
    flex: 1.2;
    margin-left: -60px; /* Superposition au-dessus du rectangle bleu */
    border-radius: 4px;
    z-index: 1;
}

.form-wrapper-blue h2 {
    font-size: 2.2rem;
    color: #2c2e33;
    margin-bottom: 25px;
    font-weight: 900;
}

.form-wrapper-blue input,
.form-wrapper-blue textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: none;
    background: #ffffff;
    font-size: 0.9rem;
}

.btn-send-outline {
    background: transparent;
    border: 2px solid #2c2e33;
    padding: 12px 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send-outline:hover {
    background: #2c2e33;
    color: #fff;
}

/* ============================================================
   3. DESIGN INDEX & RESERVATION (Bloc Anthracite Adouci)
   ============================================================ */
.contact-card-container {
    max-width: 750px; /* Moins large pour être moins imposant */
    margin: 0 auto;
    background: #25282c; /* Gris foncé adouci, moins dur que le noir pur */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.contact-card-container form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-card-container .full-width {
    grid-column: span 2;
}

.contact-card-container label {
    display: block;
    color: #aaa;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-card-container input,
.contact-card-container textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.07); /* Inputs plus clairs sur fond sombre */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
}

.btn-submit {
    grid-column: span 2;
    background: #0066CC;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #FF9900;
}

/* Correction spécifique pour les calendriers sur fond sombre */
input[type="date"], input[type="time"] {
    color-scheme: dark;
}

/* ============================================================
   4. RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .contact-grid {
        flex-direction: column;
    }
    .info-cards-wrapper {
        width: 100%;
        margin-bottom: 20px;
    }
    .form-wrapper-blue {
        margin-left: 0;
        padding: 40px 30px;
        width: 100%;
    }
    .contact-card-container form {
        grid-template-columns: 1fr;
    }
    .contact-card-container .full-width, .btn-submit {
        grid-column: span 1;
    }
}
