/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background-color: #1a237e;
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-overlay {
    max-width: 800px;
    margin: 0 auto;
}

.logo {
    width: 180px;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 100;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Sections générales */
section {
    padding: 5rem 2rem;
}

section h2 {
    font-size: 2.5rem;
    color: #111D57;
    text-align: center;
    margin-bottom: 3rem;
}

/* Features Section */
.features {
    background-color: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 96px;
}

.feature h3 {
    color: #111D57;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Use Cases Section */
.use-cases {
    background-color: white;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.use-case {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.use-case:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.use-case h3 {
    color: #111D57;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.use-case p {
    color: #666;
    font-size: 1.1rem;
}

/* How it Works Section */
.how-it-works {
    background-color: #f8f9fa;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    background: #111D57;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step p {
    color: #666;
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #111D57, #1a237e);
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 2rem;
    text-align: center;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: #111D57;
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #1a237e;
}

/* Boutons */
.cta-button {
    background-color: white;
    color: #111D57;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    margin: 10vh auto;
    padding: 3rem;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.modal-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a237e;
}

/* Formulaire dans le modal */
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem; /* Espacement uniforme entre les éléments */
    align-items: stretch;
}

label {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

input[type="email"], input[type="tel"] {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

input[type="email"]:focus, input[type="tel"]:focus {
    border-color: #1a237e;
    outline: none;
    box-shadow: 0 4px 10px rgba(26, 35, 126, 0.2);
}

.form-submit {
    background-color: #1a237e;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(26, 35, 126, 0.2);
}

.form-submit:hover {
    background-color: #111d57;
    box-shadow: 0 6px 15px rgba(17, 29, 87, 0.3);
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    transition: transform 0.2s ease, color 0.3s ease;
}

.close:hover {
    transform: scale(1.2);
    color: #1a237e;
}

/* Responsive styles */
@media (max-width: 768px) {
    input[type="email"], input[type="tel"] {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .form-submit {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .modal-content {
        padding: 2rem;
    }
}
