/* ============================================
   RESET & BASE
   ============================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f5f5f7;
    color: #1a1a1a;
    line-height: 1.6;
}

/* ============================================
   HEADER — logo + CTA uniquement, transparence au scroll
   ============================================ */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    height: 56px;
    display: flex;
    align-items: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

header.nav-transparent {
    background: rgba(255,255,255,0.88);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

header.nav-transparent .logo-text { color: #1a1a1a; }
header.nav-transparent .nav-cta {
    background: linear-gradient(135deg, rgba(90,60,220,0.9), rgba(120,80,240,0.9));
    color: white;
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link { text-decoration: none; }

.logo-text {
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a1a1a;
    transition: color 0.3s;
}

.logo-m {
    color: rgba(110,70,230,0.9);
    text-shadow: 0 0 8px rgba(100,60,220,0.55), 0 0 20px rgba(100,60,220,0.25);
    font-weight: 500;
}

.nav-cta {
    background: linear-gradient(135deg, rgba(90,60,220,0.9), rgba(120,80,240,0.9));
    color: white;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(90,60,220,0.25);
}

.nav-cta:hover {
    opacity: 0.88;
    box-shadow: 0 4px 14px rgba(90,60,220,0.35);
}

/* ============================================
   PAGE HERO — bandeau compact sans image
   ============================================ */
.page-hero {
    background: white;
    padding: 80px 2rem 52px;
    text-align: center;
    margin-top: 56px;
    border-bottom: 1px solid #f0f0ee;
}

.page-hero-inner {
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.page-hero-title em {
    font-style: normal;
    color: rgba(110,70,230,0.9);
}

.page-hero-sub {
    font-size: 13px;
    color: #888;
    font-weight: 400;
}

/* ============================================
   LABELS & TITRES COMMUNS
   ============================================ */
.section-label {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(110,70,230,0.8);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.contact-main {
    max-width: 860px;
    margin: 0 auto;
    padding: 56px 2rem 80px;
}

.block-header {
    margin-bottom: 28px;
}

.block-title {
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
}

.block-title em {
    font-style: normal;
    color: rgba(110,70,230,0.9);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 64px;
}

.faq-item {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(90,60,220,0.08);
    transition: box-shadow 0.2s;
}

.faq-item:hover { box-shadow: 0 4px 14px rgba(90,60,220,0.15); }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: inherit;
    transition: color 0.2s;
}

.faq-question:hover { color: rgba(90,60,220,0.9); }

.faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1a1a1a;
    color: white;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s, background 0.2s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: rgba(90,60,220,0.85);
}

.faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    border-top: 1px solid #f2f2f0;
}

.faq-item.open .faq-answer { display: block; }

/* ============================================
   FORMULAIRE
   ============================================ */
.form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 14px rgba(90,60,220,0.10);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full { grid-column: 1 / -1; }

.form-group label {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    border: 1.5px solid #ebebeb;
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    font-family: inherit;
    color: #1a1a1a;
    background: #fafafa;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(90,60,220,0.5);
    box-shadow: 0 0 0 3px rgba(90,60,220,0.08);
    background: white;
}

.form-group textarea {
    resize: none;
    min-height: 130px;
    overflow: hidden;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 14px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 4px;
    box-shadow: 0 4px 14px rgba(90,60,220,0.22);
}

.submit-btn:hover { opacity: 0.85; box-shadow: 0 6px 20px rgba(90,60,220,0.35); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.form-note {
    text-align: center;
    margin-top: 12px;
    font-size: 11px;
    color: #aaa;
}

/* Message succès */
.success-msg {
    display: none;
    text-align: center;
    padding: 32px 20px;
}

.success-icon {
    width: 52px;
    height: 52px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 4px 14px rgba(90,60,220,0.22);
}

.success-msg h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 7px;
    color: #1a1a1a;
}

.success-msg p { font-size: 13px; color: #888; }

/* ============================================
   FOOTER — identique homepage
   ============================================ */
.footer { background: #0f0f0f; color: white; }

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2.5rem 0;
}

.footer-top {
    display: flex;
    gap: 2rem;
    padding-bottom: 2.5rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1.4;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-logo-text {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-logo-m {
    color: rgba(110,70,230,0.9);
    text-shadow: 0 0 8px rgba(100,60,220,0.55), 0 0 20px rgba(100,60,220,0.25);
    font-weight: 400;
}

.footer-logo-rest { color: rgba(255,255,255,0.85); }

.footer-tagline {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    line-height: 1.7;
    max-width: 220px;
}

.footer-stripe { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-stripe strong { color: rgba(255,255,255,0.55); font-weight: 500; }

.footer-col {
    flex: 1;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col-title {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 4px;
}

.footer-link {
    font-size: 12px;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1;
}

.footer-link:hover { color: rgba(255,255,255,0.75); }

.footer-divider-wrap { position: relative; height: 1px; }

.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.06); }

.footer-divider-glow {
    position: absolute;
    top: 0; left: 62%;
    width: 30%; height: 1px;
    background: rgba(100,60,220,0.4);
    box-shadow: 0 0 6px 2px rgba(100,60,220,0.35), 0 0 16px 4px rgba(100,60,220,0.15);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy { font-size: 11px; color: rgba(255,255,255,0.18); }

.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-bottom-link {
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    text-decoration: none;
    transition: color 0.15s;
}

.footer-bottom-link:hover { color: rgba(255,255,255,0.5); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    nav { display: none; }
    .page-hero { padding: 80px 1.5rem 48px; }
    .contact-main { padding: 40px 1.25rem 60px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 28px 20px; border-radius: 16px; }
    .footer-top { flex-direction: column; gap: 1.5rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }
    .footer-container { padding: 2rem 1.5rem 0; }
}

@media (max-width: 480px) {
    .page-hero-title { font-size: 22px; }
    .header-container { padding: 0 1.25rem; }
}
