/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Public Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* === Header === */
.header {
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #ddd;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 101;
}

.logo img {
    height: 40px;
    width: 40px;
    border-radius: 5px;
}

.logo h2 {
    font-size: 1.2rem;
    margin: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00a896;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 28px;
    z-index: 101;
}

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Section Hero === */
.contact-hero {
    background: linear-gradient(135deg, #00a896 0%, #028f80 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
}

/* === Section informations de contact === */
.contact-info {
    padding: 60px 20px;
    background-color: #fff;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.info-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #00a896;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.info-icon svg {
    width: 30px;
    height: 30px;
}

.info-title {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.info-text {
    font-size: 15px;
    color: #5a6c7d;
    line-height: 1.8;
}

/* === Section formulaire === */
.contact-form-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.form-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-heading {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 40px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f5f6f7;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #333;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #00a896;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 168, 150, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #00a896;
    flex-shrink: 0;
}

.checkbox-label {
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.6;
    cursor: pointer;
}

.submit-button {
    background: #00a896;
    color: white;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-button:hover {
    background: #028f80;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 150, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-top: 10px;
}

/* === Footer === */
.footer {
    background-color: #1a2332;
    color: #ffffff;
    padding-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.logo-wrapper {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ffffff;
}

.footer-description {
    font-size: 0.95rem;
    color: #a8b3c1;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #0d9d6e;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #a8b3c1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #0d9d6e;
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #a8b3c1;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: #0d9d6e;
}

.newsletter {
    margin-top: 24px;
}

.newsletter-title {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input::placeholder {
    color: #7d8a9a;
}

.newsletter-input:focus {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #0d9d6e;
}

.newsletter-btn {
    padding: 12px 24px;
    background-color: #0d9d6e;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #0a7a56;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: #7d8a9a;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #7d8a9a;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #0d9d6e;
}

/* ========================================= */
/* === RESPONSIVE MEDIA QUERIES === */
/* ========================================= */

/* Tablets et petits écrans (992px et moins) */
@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
    }

    .contact-hero {
        padding: 60px 20px;
    }

    .contact-info {
        padding: 50px 20px;
    }

    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 25px;
    }

    .contact-form-section {
        padding: 60px 20px;
    }

    .form-wrapper {
        padding: 40px 30px;
    }

    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 35px;
    }
}

/* Mobile (768px et moins) */
@media (max-width: 768px) {
    .nav-container {
        padding: 12px 15px;
    }

    .logo h2 {
        font-size: 1rem;
    }

    .contact-hero {
        padding: 50px 20px;
    }

    .contact-info {
        padding: 40px 15px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .info-card {
        padding: 25px 20px;
    }

    .contact-form-section {
        padding: 40px 15px;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .form-heading {
        margin-bottom: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form {
        gap: 20px;
    }

    .submit-button {
        width: 100%;
        padding: 14px 32px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-btn {
        width: 100%;
    }
}

/* Très petits mobiles (480px et moins) */
@media (max-width: 480px) {
    .logo img {
        height: 35px;
        width: 35px;
    }

    .logo h2 {
        font-size: 0.95rem;
    }

    .contact-hero {
        padding: 40px 15px;
    }

    .contact-info {
        padding: 35px 12px;
    }

    .info-card {
        padding: 20px 15px;
    }

    .info-icon {
        width: 50px;
        height: 50px;
    }

    .info-icon svg {
        width: 25px;
        height: 25px;
    }

    .contact-form-section {
        padding: 35px 12px;
    }

    .form-wrapper {
        padding: 25px 15px;
        border-radius: 12px;
    }

    .form-heading {
        margin-bottom: 25px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 14px;
        font-size: 14px;
    }

    .form-label {
        font-size: 14px;
    }

    .checkbox-label {
        font-size: 13px;
    }

    .submit-button {
        padding: 12px 28px;
        font-size: 15px;
    }

    .footer {
        padding-top: 40px;
    }

    .footer-container {
        gap: 30px;
    }
}