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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8f5 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Header */
header {
    background: white;
    color: #333;
    text-align: center;
    padding: 40px 20px;
    border-bottom: 1px solid #eee;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.logo {
    height: 60px;
    max-width: 200px;
    object-fit: contain;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Main content */
main {
    padding: 40px;
}

section {
    margin-bottom: 40px;
}

h2 {
    color: #ff7424;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff7424;
}

h3 {
    color: #ce0379;
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 10px;
}

p {
    margin-bottom: 15px;
    text-align: justify;
    color: #555;
}

ul {
    margin-left: 25px;
    margin-bottom: 15px;
}

ul li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.8;
}

ul li strong {
    color: #ff7424;
}

/* Intro section */
.intro {
    background: #fff8f5;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ff7424;
}

/* Newsletter info section */
.newsletter-info {
    background: #fff0f7;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ce0379;
}

/* Rights section */
.rights {
    background: #f0fff4;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
}

/* Data security section */
.data-security {
    background: #fffaf0;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #ed8936;
}

/* Unsubscribe section */
.unsubscribe {
    background: #f7fafc;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    margin-top: 50px;
}

.unsubscribe h2 {
    border-bottom: none;
    margin-bottom: 15px;
}

.important-notice {
    background: linear-gradient(135deg, rgba(255, 116, 36, 0.1) 0%, rgba(206, 3, 121, 0.1) 100%);
    border-left: 4px solid #ff7424;
    border-right: 4px solid #ce0379;
    padding: 15px 20px;
    margin: 20px auto;
    border-radius: 8px;
    font-size: 1.05rem;
    max-width: 600px;
}

.important-notice strong {
    color: #ff7424;
}

.form-container {
    margin-top: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.unsubscribe-iframe {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    min-height: 400px;
    height: auto;
    border-radius: 8px;
}

/* Contact section */
.contact {
    text-align: center;
    padding: 20px;
    background: #edf2f7;
    border-radius: 8px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.contact-link {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    color: white;
    font-size: 1.1rem;
}

.contact-link.emassage {
    background: #ff7424;
}

.contact-link.emassage:hover {
    background: #e66115;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 116, 36, 0.3);
}

.contact-link.oxygeme {
    background: #ce0379;
}

.contact-link.oxygeme:hover {
    background: #a8025f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(206, 3, 121, 0.3);
}

/* Footer */
footer {
    background: #2d3748;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

footer p {
    margin-bottom: 10px;
    color: #e2e8f0;
    text-align: center;
}

.legal {
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .logos {
        gap: 20px;
    }

    .logo {
        height: 50px;
        max-width: 150px;
    }

    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    main {
        padding: 20px;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .unsubscribe-iframe {
        width: 100% !important;
        min-height: 450px !important;
    }

    .contact-links {
        flex-direction: column;
        gap: 15px;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
        max-width: 120px;
    }

    header h1 {
        font-size: 1.6rem;
    }

    main {
        padding: 15px;
    }

    .intro,
    .newsletter-info,
    .rights,
    .data-security,
    .contact {
        padding: 15px;
    }

    .unsubscribe {
        padding: 20px;
    }

    .contact-link {
        font-size: 1rem;
        padding: 10px 25px;
    }
}
