:root {
    --primary: #2A83C6;
    --primary-dark: #1e6aa5;
    --secondary: #4dbbd5;
    --dark: #1b2e4b;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --border: #e2e8f0;
    
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #2A83C6 0%, #4dbbd5 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

/* Hero Section */
.hero-contact {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 140px 0 80px;
}

.hero-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(42, 131, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(77, 187, 213, 0.15) 0%, transparent 50%);
}

.hero-contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #cbd5e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* Contact Info */
.contact-info {
    background: var(--gradient-2);
    color: white;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-20px, -20px) rotate(5deg); }
}

.contact-info-content {
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.info-block {
    margin-bottom: 2.5rem;
    margin-top: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.info-value {
    font-size: 1.125rem;
    color: white;
    font-weight: 500;
    line-height: 1.6;
}

.map-wrapper {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 200px;
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Contact Form */
.contact-form {
    padding: 4rem 3rem;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-form > p {
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-size: 1.0625rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg-soft);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(42, 131, 198, 0.1);
}

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

.btn-submit {
    width: 100%;
    padding: 1.125rem 2rem;
    background: var(--gradient-2);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1.0625rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(42, 131, 198, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42, 131, 198, 0.4);
}

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

/* Messages de formulaire */
.form-message {
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Quick Contact Cards */
.quick-contact {
    padding: 80px 0;
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(42, 131, 198, 0.1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.quick-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.quick-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--gradient-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.quick-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.quick-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.quick-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.quick-link:hover {
    gap: 0.75rem;
}

/* ===== RESPONSIVE ===== */

/* Tablette - 1024px */
@media (max-width: 1024px) {
    .hero-contact {
        padding: 120px 0 60px;
    }

    .container {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .contact-section {
        padding: 60px 0;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-info {
        border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    }

    .contact-form {
        border-radius: 0 0 var(--radius-xl) var(--radius-xl);
        padding: 3rem 2.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .quick-contacts {
        grid-template-columns: 1fr;
    }
}

/* Mobile - 768px */
@media (max-width: 768px) {
    .hero-contact {
        padding: 100px 0 50px;
    }

    .container {
        padding: 0 1rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .contact-section {
        padding: 50px 0;
    }

    .contact-info {
        padding: 3rem 2rem;
    }

    .contact-info h2 {
        font-size: 1.5rem;
    }

    .contact-info > div > p {
        font-size: 1rem;
    }

    .info-block {
        gap: 1rem;
    }

    .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }

    .info-value {
        font-size: 1rem;
    }

    .map-wrapper {
        height: 250px;
        margin-top: 2rem;
    }

    .contact-form {
        padding: 2.5rem 1.5rem;
    }

    .contact-form h2 {
        font-size: 1.5rem;
    }

    .contact-form > p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .form-grid {
        gap: 1rem;
    }

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

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

    .submit-btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .quick-contacts {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .quick-card {
        padding: 2rem;
    }

    .quick-card h3 {
        font-size: 1.25rem;
    }
}

/* Mobile petit - 480px */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .contact-info {
        padding: 2rem 1.5rem;
    }

    .contact-info h2 {
        font-size: 1.25rem;
    }

    .info-block {
        gap: 0.75rem;
    }

    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }

    .info-label {
        font-size: 0.75rem;
    }

    .info-value {
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 2rem 1.25rem;
    }

    .contact-form h2 {
        font-size: 1.25rem;
    }

    .contact-form > p {
        font-size: 0.95rem;
    }

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

    .submit-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .quick-card {
        padding: 1.75rem 1.5rem;
    }

    .quick-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .quick-card h3 {
        font-size: 1.125rem;
    }

    .quick-card p {
        font-size: 0.95rem;
    }
}