/* ==================================================
   BRAND / HEADER
================================================== */
.brand-link {
    display: inline-flex;
}

.brand {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 32px;
    font-weight: 800;
}

.brand img {
    height: 40px;
}

.header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1.5px solid rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

/* Header CTA */
.header-cta {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #EDD6D6;
    color: var(--mm-pink);
    transition: background 0.2s ease, transform 0.2s ease;
}

.cta {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    background: #EDD6D6;
    color: var(--mm-pink);
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-cta:hover {
    background: #edd6d6b3;
    transform: translateY(-1px);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.language-dropdown {
    position: relative;
}

.language-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font: inherit;
}

.language-arrow {
    font-size: 12px;
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.language-option {
    width: 100%;
    text-align: left;
    padding: 10px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font: inherit;
}

.language-option:hover,
.language-option.active {
    background: #f5f5f5;
}

/* ==================================================
   EMOJI USER
================================================== */
.tap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #f3f3f3;
    font-size: 20px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: background 0.2s ease, transform 0.15s ease;
}

/* Hover desktop */
.tap:hover {
    background: rgba(241, 14, 165, 0.12);
    transform: scale(1.1) rotate(-5deg);
}

/* Active (tap mobile) */
.tap:active {
    transform: scale(0.9);
}

/* Checked state */
.tap.checked {
    background: rgba(241, 14, 165, 0.18);
    animation: emoji-pop 0.35s ease;
}

@keyframes emoji-pop {
    0% {
        transform: scale(0.8);
    }

    60% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

.benefits-interactive li.checked::after {
    content: "✨";
    margin-left: 8px;
    animation: sparkle 0.4s ease;
}

@keyframes sparkle {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==================================================
   LEGAL HEADER
================================================== */
.legal-header-soft {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-header-soft .brand {
    font-size: 26px;
}

.legal-header-soft .brand img {
    height: 34px;
}

/* ==================================================
   FOOTER (VISUEL)
================================================== */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
    color: #7a7a7a;
}

.footer a {
    color: inherit;
}

.footer a:hover {
    color: var(--mm-pink);
}

.partner-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: 16px;
    padding: 10px 16px;

    border-radius: 999px;
    border: 1.5px solid var(--mm-pink);
    background: transparent;

    font-weight: 600;
    font-size: 14px;
    color: var(--mm-pink);

    cursor: pointer;
    transition: all 0.2s ease;
}

.partner-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.partner-form label {
    font-size: 14px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.partner-form input,
.partner-form select {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.partner-form input:focus,
.partner-form select:focus {
    outline: none;
    border-color: #f10ea5;
}


.partner-form textarea {
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
    resize: vertical;
}

.partner-cta::after {
    content: "→";
    transition: transform 0.2s ease;
}

.partner-cta:hover {
    background: var(--mm-pink);
    color: #fff;
}

.partner-cta:hover::after {
    transform: translateX(4px);
}


.community h2 {
    margin-bottom: 12px;
}

.community-intro {
    max-width: 600px;
    color: #555;
    margin-bottom: 24px;
}

.community-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cta-secondary {
    background: #f3f3f3;
    color: #333;
}

.community-note {
    margin-top: 14px;
    font-size: 13px;
    color: #666;
}

.community-note a {
    color: #666;
    text-decoration: underline;
}

.community-socials {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    align-items: center;
}

/* ==================================================
   MODALS
================================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 20px;

    width: 90%;
    max-width: 520px;
    max-height: 85vh;

    padding: 28px 24px;
    overflow-y: auto;
    position: relative;

    -webkit-overflow-scrolling: touch;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
}

.modal-close {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #000;
}

/* Content animation */
.modal-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.modal-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.modal-lead {
    font-weight: 600;
    margin-bottom: 8px;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.benefits-list li {
    font-size: 14px;
    margin-bottom: 6px;
}

.modal-cta {
    width: 100%;
    margin-top: 18px;
    padding: 14px;

    border-radius: 14px;
    border: none;
    background: var(--mm-pink);
    color: #fff;

    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.modal-note {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.form-success {
    text-align: center;
    padding: 32px 16px;
}

.form-success h4 {
    margin-bottom: 8px;
    font-size: 20px;
}

.form-success p {
    font-size: 14px;
    color: #555;
}


/* ==================================================
   SOCIAL BUTTONS
================================================== */
.social-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.2s ease, background 0.2s ease;
}

.social-btn img {
    width: 20px;
    height: 20px;
    opacity: 0.55;
    filter: grayscale(100%);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-btn:hover img {
    opacity: 1;
    transform: scale(1.05);
    filter: none;
}

.social-label {
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%) translateY(4px);

    background: #222;
    color: #fff;
    font-size: 12px;
    padding: 5px 9px;
    border-radius: 6px;

    opacity: 0;
    pointer-events: none;
    white-space: nowrap;

    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-btn:hover .social-label {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.social-btn:hover {
    background: #f5f5f5;
}

/* ==================================================
   STORE BUTTONS
================================================== */
.store-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.store-btn {
    padding: 12px 18px;
    border-radius: 999px;
    background: #111;
    color: #fff;

    font-weight: 600;
    font-size: 14px;
    transition: transform 0.15s ease, background 0.15s ease;
}

.store-btn:hover {
    background: #000;
    transform: translateY(-1px);
}

.store-hint {
    font-size: 15px;
    color: #444;
    margin-bottom: 14px;
}

.store-note {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
}

/* ==================================================
   BACK TO TOP
================================================== */

.back-to-top {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    bottom: 20px;
    right: 20px;

    width: 40px;
    height: 40px;
    border-radius: 12px;

    background: rgba(58, 58, 58, 0.38);
    color: #fff;

    border: none;
    cursor: pointer;

    font-size: 18px;
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 900;
}

.back-to-top.visible {
    opacity: 0.85;
    pointer-events: auto;
}

.back-to-top:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* ==================================================
   FOOTER
================================================== */

.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.85rem;
}