* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: linear-gradient(135deg, #f0f7f8 0%, #f7fafc 60%, #e8f4f6 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ─── HEADER ─── */
.header {
    background: rgba(247, 250, 252, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.25rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e2e8f0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
    border-radius: 8px;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #033744;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover { color: #011418; }

.back-link svg {
    width: 16px;
    height: 16px;
}

.back-text { display: inline; }

/* ─── PANNEAU "BIENTÔT DISPONIBLE" ─── */
.dev-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.2);
    position: fixed;
    top: 140px;
    left: 50%;
    transform: translateX(-50%) translateY(-200%);
    max-width: 800px;
    width: calc(100% - 4rem);
    z-index: 999;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
}

.dev-banner.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.dev-banner-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(120, 53, 15, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #92400e;
    font-size: 1.25rem;
    font-weight: bold;
    transition: all 0.2s;
    line-height: 1;
    padding: 0;
}

.dev-banner-close:hover {
    background: rgba(120, 53, 15, 0.2);
    transform: scale(1.1);
}

.dev-icon { font-size: 2rem; flex-shrink: 0; }

.dev-content h3 {
    font-size: 1.125rem;
    color: #92400e;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.dev-content p {
    color: #78350f;
    font-size: 0.9375rem;
    line-height: 1.6;
}

.dev-content p a {
    color: #92400e;
    font-weight: 700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .dev-banner {
        padding: 1.25rem 1.5rem;
        flex-direction: column;
        text-align: center;
        top: 120px;
        width: calc(100% - 2.5rem);
    }
    .dev-banner-close { top: 0.75rem; right: 0.75rem; width: 28px; height: 28px; font-size: 1.125rem; }
    .dev-icon { font-size: 2.5rem; }
    .dev-content h3 { font-size: 1rem; }
    .dev-content p  { font-size: 0.875rem; }
}

@media (max-width: 480px) {
    .dev-banner { padding: 1rem 1.25rem; border-radius: 12px; top: 110px; width: calc(100% - 2rem); }
    .dev-banner-close { top: 0.5rem; right: 0.5rem; width: 26px; height: 26px; font-size: 1rem; }
}

/* ─── MAIN ─── */
.main-content {
    flex: 1;
    padding: 120px 2rem 60px;
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

/* ─── HERO ─── */
.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    animation: fadeInUp 0.6s ease-out;
}

.hero-section h1 {
    font-size: 3rem;
    color: #011418;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-section p {
    font-size: 1.25rem;
    color: #4a5568;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── CONTACT GRID ─── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

/* ─── FORM SECTION ─── */
.contact-form-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.section-title {
    font-size: 1.75rem;
    color: #011418;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.success-message {
    background: #f0fdf4;
    color: #166534;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    border: 1px solid #86efac;
    display: none;
}

.success-message.show { display: block; }

.error-message {
    background: #fff1f2;
    color: #be123c;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    border: 1px solid #fecdd3;
    display: none;
}

.error-message.show { display: block; }

.btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255,255,255,0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #1a202c;
    font-weight: 500;
    font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s;
    font-family: inherit;
    background: #f8fafc;
    color: #1a202c;
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #033744;
    box-shadow: 0 0 0 3px rgba(3, 55, 68, 0.1);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #033744, #011418);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 0.2px;
}

.btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(3, 55, 68, 0.3);
}

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

/* ─── INFO SECTION ─── */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.info-card h3 {
    font-size: 1.5rem;
    color: #011418;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem;
    background: #f7fafc;
    border-radius: 8px;
    transition: all 0.2s;
}

.info-item:hover {
    background: #e8f4f6;
    transform: translateX(4px);
}

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

.info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.info-content h4 {
    font-size: 1rem;
    color: #011418;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-content p { color: #4a5568; font-size: 0.9375rem; }

.info-content a {
    color: #033744;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.info-content a:hover {
    color: #011418;
    text-decoration: underline;
}

/* ─── SOCIAL ─── */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.2s;
    text-decoration: none;
    border: 2px solid transparent;
}

.social-link:hover {
    background: #033744;
    border-color: #033744;
    transform: translateY(-2px);
}

/* ─── FAQ ─── */
.faq-section {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 10px 25px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #033744;
}

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

.faq-question {
    font-size: 1.125rem;
    color: #011418;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #4a5568;
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ─── FOOTER ─── */
.footer {
    background: #011418;
    color: #ffffff;
    padding: 2.5rem 2rem 1.75rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0 0.5rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: #ffffff; }

.footer p {
    color: rgba(255,255,255,0.35);
    font-size: 0.8125rem;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header { padding: 1rem 1.25rem; }
    .back-text { display: none; }
    .main-content { padding: 100px 1.25rem 40px; }

    .hero-section { margin-bottom: 2rem; padding: 1rem 0; }
    .hero-section h1 { font-size: 2rem; }
    .hero-section p  { font-size: 1.0625rem; }

    .contact-form-section,
    .info-card,
    .faq-section { padding: 2rem 1.5rem; }

    .section-title { font-size: 1.5rem; }
    .contact-grid  { gap: 2rem; margin-bottom: 2rem; }
    .info-card h3  { font-size: 1.25rem; }

    .social-links { justify-content: center; }

    .footer { padding: 1.5rem 1.25rem 1rem; }
    .footer-links { gap: 1rem; }
    .footer p { font-size: 0.75rem; line-height: 1.5; }
}

@media (max-width: 480px) {
    .header { padding: 0.875rem 1rem; }
    .main-content { padding: 90px 1rem 30px; }

    .hero-section { margin-bottom: 1.5rem; }
    .hero-section h1 { font-size: 1.75rem; }
    .hero-section p  { font-size: 0.9375rem; }

    .contact-form-section,
    .info-card,
    .faq-section { padding: 1.75rem 1.25rem; border-radius: 12px; }

    .section-title { font-size: 1.375rem; margin-bottom: 1.25rem; }
    .form-group { margin-bottom: 1.25rem; }

    .form-group input,
    .form-group textarea,
    .form-group select { padding: 0.75rem 0.875rem; font-size: 0.9375rem; }

    .form-group textarea { min-height: 120px; }
    .btn-submit { padding: 0.875rem; font-size: 0.9375rem; }

    .info-item { padding: 0.875rem; }
    .info-icon  { font-size: 1.25rem; }
    .info-content h4 { font-size: 0.9375rem; }
    .info-content p  { font-size: 0.875rem; }

    .social-link { width: 44px; height: 44px; font-size: 1.125rem; }

    .faq-item { padding: 1.25rem; }
    .faq-question { font-size: 1rem; }
    .faq-answer   { font-size: 0.875rem; }

    .footer-links { flex-direction: column; gap: 0.625rem; }
    .footer-links a { font-size: 0.8125rem; padding: 0; }
}

@media (max-width: 360px) {
    .hero-section h1 { font-size: 1.5rem; }
    .contact-form-section,
    .info-card,
    .faq-section { padding: 1.5rem 1rem; }
    .section-title { font-size: 1.25rem; }
}

/* ── Fix débordement à toutes tailles ── */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

.content-wrapper,
.contact-grid,
.contact-form-section,
.contact-info-section,
.info-card,
.faq-section {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .main-content {
        padding-left: 1rem;
        padding-right: 1rem;
        box-sizing: border-box;
        overflow: hidden;
    }

    .content-wrapper {
        padding: 0;
        overflow: hidden;
        width: 100%;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 1.5rem;
    }

    .contact-form-section,
    .info-card,
    .faq-section {
        width: 100%;
        overflow: hidden;
    }

    .contact-info-section {
        width: 100%;
        overflow: hidden;
    }
}
