/* MAIN SECTION */
.contact-section { padding: 5rem 0; background: #1a0505; }

/* FORM CARD */
.form-card {
    background: linear-gradient(135deg, #2d0a0a, #3d1010);
    border: 1px solid rgba(231,76,60,0.4);
    border-radius: 18px;
    padding: 2.8rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.form-card h2 {
    color: var(--or);
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.form-card .subtitle {
    color: #c08080;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.form-label { color: #f0d0d0; font-weight: bold; font-size: 0.92rem; margin-bottom: 0.4rem; }
.form-control, .form-select {
    background: rgba(255,255,255,0.07) !important;
    border: 1px solid rgba(231,76,60,0.3) !important;
    color: #fff !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.form-control::placeholder { color: rgba(255,255,255,0.3) !important; }

.form-control:focus, .form-select:focus {
    border-color: var(--rouge-vif) !important;
    box-shadow: 0 0 12px rgba(231,76,60,0.25) !important;
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
}

.form-select option { background: #2d0a0a; color: white; }

/* Input icons wrapper */
.input-icon { position: relative; }
.input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--rouge-vif);
    font-size: 0.9rem;
    pointer-events: none;
}
.input-icon .form-control,
.input-icon .form-select { padding-left: 2.5rem; }
.input-icon.textarea-icon i { top: 18px; transform: none; }

/* Character counter */
.char-counter { text-align: right; color: #a06060; font-size: 0.8rem; margin-top: 0.3rem; }

/* Raison badges */
.raison-preview {
    display: inline-block;
    margin-top: 0.6rem;
    background: rgba(231,76,60,0.15);
    border: 1px solid var(--rouge-vif);
    color: #f0a0a0;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    display: none;
}

/* SUBMIT */
.btn-submit {
    background: linear-gradient(135deg, var(--rouge), var(--violet));
    color: white;
    border: none;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192,57,43,0.5);
    color: white;
}

.btn-submit:active { transform: translateY(0); }

/* SUCCESS */
.success-box {
    display: none;
    background: linear-gradient(135deg, #1a3d1a, #0d2b0d);
    border: 1px solid #4caf50;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: #a8e6a8;
    margin-top: 1.5rem;
}
.success-box i { font-size: 2.5rem; color: #4caf50; margin-bottom: 0.8rem; display: block; }

/* SIDEBAR INFO */
.info-card {
    background: linear-gradient(135deg, #2d0a0a, #3d1010);
    border: 1px solid rgba(231,76,60,0.35);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.info-card:hover { transform: translateY(-4px); }

.info-card h5 {
    color: var(--or);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px solid rgba(231,76,60,0.25);
    padding-bottom: 0.7rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: #e8c8c8;
    font-size: 0.95rem;
}

.contact-item:last-child { margin-bottom: 0; }

.contact-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rouge-fonce), var(--rouge));
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: 0 3px 10px rgba(192,57,43,0.3);
}

.contact-label { color: #a06060; font-size: 0.8rem; margin-bottom: 0.1rem; }
.contact-value { color: #f0d0d0; }

/* HORAIRES */
.horaire-item {
    display: flex;
    justify-content: space-between;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.9rem;
    color: #e8c8c8;
}

.horaire-item:last-child { border-bottom: none; }
.horaire-item .jour { color: #f0d0d0; }
.horaire-item .heure { color: var(--or); }
.horaire-item .ferme { color: #a06060; }

/* SOCIAL */
.social-row { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 0.5rem; }

.social-btn {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.3s;
    flex: 1; min-width: 110px; justify-content: center;
}

.social-btn:hover { transform: translateY(-2px); }
.social-btn.fb  { background: #1877f2; color: white; }
.social-btn.ig  { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: white; }
.social-btn.yt  { background: #ff0000; color: white; }
.social-btn.tt  { background: #010101; color: white; border: 1px solid #333; }

/* MAP PLACEHOLDER */
.map-placeholder {
    background: linear-gradient(135deg, #2d0a0a, #1a0505);
    border: 1px solid rgba(231,76,60,0.3);
    border-radius: 12px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #a06060;
    font-size: 0.95rem;
    gap: 0.7rem;
}

.map-placeholder i { font-size: 2.5rem; color: var(--rouge-vif); }

/* SECTION TITLE */
.section-divider {
    display: flex; align-items: center; gap: 1rem;
}
.section-divider h6 {
    color: var(--or); white-space: nowrap;
    font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px;
}
.section-divider hr {
    flex: 1; border-color: rgba(231,76,60,0.3);
}

.merci-section {
    flex: 1;
    background: url('/sites/elara/img/bg_milkyway.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
    padding: 5rem 2rem;
}

/* CARD PRINCIPALE */
.merci-card {
    background: linear-gradient(135deg, rgba(45,10,10,0.95), rgba(61,16,16,0.95));
    border: 1px solid rgba(231,76,60,0.45);
    border-radius: 20px;
    padding: 3.5rem;
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 60px rgba(192,57,43,0.15);
    position: relative;
    overflow: hidden;
}

.merci-card::before {
    content: '';
    position: absolute;
    top: -2px; left: 10%;
    width: 80%; height: 3px;
    background: linear-gradient(90deg, transparent, var(--or), transparent);
    border-radius: 3px;
}

/* ICONE ANIMÉE */
.merci-icon-wrap {
    width: 110px; height: 110px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rouge-fonce), var(--rouge));
    border: 3px solid var(--or);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 0 30px rgba(241,196,15,0.3), 0 0 60px rgba(192,57,43,0.2);
    animation: pulse 2.5s ease-in-out infinite;
}

.merci-icon-wrap i { font-size: 3rem; color: var(--or); }

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 30px rgba(241,196,15,0.3), 0 0 60px rgba(192,57,43,0.2); }
    50%       { box-shadow: 0 0 50px rgba(241,196,15,0.6), 0 0 90px rgba(192,57,43,0.35); }
}

/* ÉTOILES ANIMÉES */
.stars-anim {
    font-size: 1.3rem;
    letter-spacing: 0.4rem;
    margin-bottom: 1rem;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}

/* TEXTES */
.merci-card h1 {
    font-size: 2.6rem;
    color: var(--or);
    text-shadow: 0 0 20px rgba(241,196,15,0.4);
    margin-bottom: 0.5rem;
}

.merci-card .prenom-highlight {
    color: var(--rouge-vif);
    font-style: italic;
}

.merci-card .sous-titre {
    color: #f0d0d0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* RECAP BOX */
.recap-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(231,76,60,0.3);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.recap-box h6 {
    color: var(--or);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.recap-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.92rem;
    color: #e8c8c8;
}

.recap-item:last-child { border-bottom: none; }
.recap-item i { color: var(--rouge-vif); width: 16px; flex-shrink: 0; margin-top: 2px; }
.recap-item span { color: #a06060; min-width: 80px; }
.recap-item strong { color: #f0d0d0; }

/* ÉTAPES */
.steps-row {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.step-item {
    flex: 1; min-width: 140px; max-width: 180px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(231,76,60,0.25);
    border-radius: 12px;
    padding: 1.2rem 1rem;
    text-align: center;
}

.step-num {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rouge-fonce), var(--rouge));
    color: var(--or);
    font-weight: bold;
    font-size: 1rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.7rem;
}

.step-item p {
    color: #e8c8c8;
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
}

/* CITATION */
.citation-box {
    background: linear-gradient(135deg, rgba(123,26,26,0.4), rgba(90,16,64,0.3));
    border-left: 4px solid var(--or);
    border-radius: 0 10px 10px 0;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2.5rem;
    text-align: left;
    font-style: italic;
    color: #f9e47e;
    font-size: 1.05rem;
    line-height: 1.7;
}

.citation-box small { display: block; color: #c08080; margin-top: 0.5rem; font-style: normal; font-size: 0.85rem; }

/* BOUTONS */
.btn-or {
    background: linear-gradient(135deg, var(--rouge), var(--violet));
    color: white;
    border: none;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    margin: 0.4rem;
}

.btn-or:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(192,57,43,0.5);
    color: white;
}

.btn-outline-or {
    background: transparent;
    border: 2px solid var(--or);
    color: var(--or);
    padding: 0.85rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    margin: 0.4rem;
}

.btn-outline-or:hover {
    background: var(--or);
    color: #1a0505;
    transform: translateY(-3px);
}

/* CONFETTIS / particules décoratives */
.deco-stars {
    position: absolute;
    font-size: 1.2rem;
    opacity: 0.15;
    pointer-events: none;
}
.deco-stars.s1 { top: 15px; left: 20px; animation: float 6s ease-in-out infinite; }
.deco-stars.s2 { top: 30px; right: 25px; animation: float 8s ease-in-out infinite 1s; }
.deco-stars.s3 { bottom: 20px; left: 30px; animation: float 7s ease-in-out infinite 0.5s; }
.deco-stars.s4 { bottom: 15px; right: 20px; animation: float 5s ease-in-out infinite 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-12px) rotate(15deg); }
}
