/* Styles des pages compte et tarifs, avec les surcharges responsive finales. */

.account-page {
    max-width: 600px;
    min-height: calc(100vh - 86px);
    margin: auto;
    padding: 34px 28px;
    background: #f3f5f7;
}

.account-intro {
    text-align: center;
    max-width: 980px;
    margin: 0 auto 24px;
}

.account-intro h1 {
    margin: 0 0 8px;
    font-size: 1.7rem;
}

.account-intro p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.account-grid {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.account-panel {
    min-height: 100%;
    padding: 22px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.account-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 28px;
}

.account-toggle-button {
    min-width: 110px;
    min-height: 54px;
    border: 1px solid #cfd4dc;
    border-radius: 7px;
    color: #5f6875;
    background: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.account-toggle-button.active,
.account-toggle-button:active {
    border-color: #c8cbd1;
    background: #e5e5e5;
    color: #2d333b;
    box-shadow: inset 0 0 0 4px rgba(0, 0, 0, 0.04);
}

.account-panel-title {
    margin: 0 0 14px;
    font-size: 1.1rem;
}

.account-panel-copy {
    margin: 0 0 16px;
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.45;
}

.account-feedback {
    min-height: 22px;
    color: #b42318;
    font-size: 0.82rem;
}

.account-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.account-logout-button {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 0.78rem;
    font-weight: 700;
}

.account-contact-links {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.account-contact-icon {
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #d0d5dd;
    border-radius: 7px;
    color: #344054;
    text-decoration: none;
    background: #fff;
}

.account-contact-icon:hover,
.account-contact-icon:focus {
    color: var(--accent);
    border-color: #f0a0a5;
    background: #fff7f7;
}

.account-contact-email-icon {
    width: 15px;
    height: 11px;
    position: relative;
    display: inline-block;
    border: 2px solid currentColor;
    border-radius: 2px;
}

.account-contact-email-icon::before,
.account-contact-email-icon::after {
    content: "";
    position: absolute;
    top: 3px;
    width: 9px;
    height: 2px;
    background: currentColor;
}

.account-contact-email-icon::before {
    left: -1px;
    transform: rotate(31deg);
}

.account-contact-email-icon::after {
    right: -1px;
    transform: rotate(-31deg);
}

.account-contact-linkedin-icon {
    width: 16px;
    height: 16px;
    display: inline-grid;
    place-items: center;
    border-radius: 3px;
    background: currentColor;
}

.account-contact-linkedin-icon::before {
    content: "in";
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    line-height: 1;
}

.account-map-return-link {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    color: #2563eb;
    font-size: 0.82rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
}

.account-map-return-link:hover,
.account-map-return-link:focus {
    color: #1d4ed8;
    text-decoration: underline;
}

.account-summary-grid,
.account-profile-complete {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.account-summary-grid span,
.account-profile-complete span {
    color: var(--muted);
}

.account-profile-warning {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 1px solid #fedf89;
    border-radius: 7px;
    background: #fffbeb;
    color: #92400e;
    font-size: 0.86rem;
}

.pricing-page {
    max-width: 1180px;
    min-height: calc(100vh - 86px);
    margin: auto;
    padding: 48px 28px;
    background: var(--surface);
}

.pricing-intro {
    max-width: 700px;
    margin: 0 auto 32px;
    text-align: center;
}

.pricing-intro h1 {
    margin: 8px 0 10px;
    font-size: 1.9rem;
}

.pricing-intro-copy {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    align-items: start;
    gap: 18px;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.pricing-card--featured {
    border-color: var(--accent);
    box-shadow: var(--shadow);
}

.pricing-card--future {
    background: #f8fafc;
}

.pricing-badge {
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff1f2;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pricing-card--future .pricing-badge {
    background: #eaf0f6;
    color: #475467;
}

.pricing-card-title {
    margin: 0 0 8px;
    font-size: 1.4rem;
}

.pricing-card-description {
    min-height: 66px;
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.5;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 4px;
    color: var(--ink);
    font-size: 1.7rem;
    font-weight: 800;
}

.pricing-price-current {
    white-space: nowrap;
}

.pricing-previous-price {
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 650;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.pricing-billing-note {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.88rem;
}

.pricing-feature-list {
    display: grid;
    gap: 12px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.pricing-feature {
    display: flex;
    gap: 9px;
    color: #344054;
    font-size: 0.9rem;
    line-height: 1.4;
}

.pricing-feature::before {
    content: "✓";
    color: #0f766e;
    font-weight: 800;
}

.pricing-feature--soon {
    color: var(--muted);
}

.pricing-feature--soon::before {
    content: "○";
    color: #98a2b3;
}

.pricing-cta {
    min-height: 42px;
    font-weight: 700;
}

.pricing-cta:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.pricing-note {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
    text-align: center;
}

.pricing-launch-note {
    max-width: 640px;
    margin: 20px auto 0;
    padding: 11px 14px;
    border: 1px solid #fed7da;
    border-radius: 8px;
    background: #fff8f8;
    color: #9b1c23;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.45;
    text-align: center;
}

.pricing-demo-modal {
    --pricing-demo-accent: #d9363e;
    --pricing-demo-ink: #17202a;
    --pricing-demo-muted: #667085;
    --pricing-demo-line: #e7eaee;
    --pricing-demo-surface: #fcfdff;
}

.pricing-demo-modal .modal-dialog {
    max-width: 520px;
}

.pricing-demo-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: var(--pricing-demo-surface);
    box-shadow: 0 24px 64px rgba(17, 24, 39, 0.24);
}

.pricing-demo-modal .modal-header {
    align-items: flex-start;
    padding: 26px 28px 18px;
    border: 0;
}

.pricing-demo-modal .modal-title {
    max-width: 390px;
    color: var(--pricing-demo-ink);
    font-size: 1.38rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.pricing-demo-modal .btn-close {
    margin: 2px 0 0;
    opacity: 0.5;
}

.pricing-demo-modal .modal-body {
    padding: 0 28px 22px;
}

.pricing-demo-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--pricing-demo-accent);
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.pricing-demo-copy {
    margin: 0 0 12px;
    color: var(--pricing-demo-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.pricing-demo-identity {
    margin: 0 0 26px;
    color: #475467;
    font-size: 0.79rem;
    font-weight: 650;
}

.pricing-demo-availability-label {
    margin-bottom: 8px;
    color: var(--pricing-demo-ink);
    font-size: 0.93rem;
    font-weight: 750;
}

.pricing-demo-availability {
    min-height: 82px;
    border-color: #d0d5dd;
    border-radius: 9px;
    box-shadow: none;
}

.pricing-demo-availability:focus {
    border-color: var(--pricing-demo-accent);
    box-shadow: 0 0 0 3px rgba(217, 54, 62, 0.12);
}

.pricing-demo-message-toggle {
    margin: 14px 0 0;
    padding: 0;
    color: var(--pricing-demo-muted);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.pricing-demo-message-toggle:hover,
.pricing-demo-message-toggle:focus {
    color: var(--pricing-demo-accent);
    text-decoration: none;
}

.pricing-demo-message-section {
    margin-top: 18px;
}

.pricing-demo-message-section label {
    margin-bottom: 8px;
    color: var(--pricing-demo-ink);
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-demo-message-section textarea {
    min-height: 90px;
    border-radius: 9px;
}

.pricing-demo-feedback {
    min-height: 20px;
    margin-top: 16px;
    color: #b42318;
    font-size: 0.84rem;
}

.pricing-demo-modal .modal-footer {
    display: block;
    padding: 0 28px 26px;
    border: 0;
}

.pricing-demo-actions {
    text-align: center;
}

.pricing-demo-submit-button {
    width: 100%;
    min-height: 46px;
    border: 0;
    border-radius: 9px;
    background: var(--pricing-demo-accent);
    font-weight: 750;
}

.pricing-demo-submit-button:hover,
.pricing-demo-submit-button:focus {
    background: #bc2931;
    box-shadow: 0 8px 20px rgba(217, 54, 62, 0.2);
}

.pricing-demo-reassurance {
    margin: 10px 0 0;
    color: var(--pricing-demo-muted);
    font-size: 0.76rem;
}

.pricing-demo-success {
    min-height: 22px;
    margin: 20px auto 0;
    color: #0f766e;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 900px) {
    .app-header {
        min-height: auto;
        align-items: flex-start;
    }

    .app-main {
        height: auto;
        min-height: calc(100vh - 86px);
        grid-template-columns: 1fr;
        grid-template-rows: 68vh auto;
    }

    .details-panel {
        border-top: 1px solid var(--line);
        border-left: 0;
        min-height: 32vh;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
    }
}

@media (max-width: 760px) {
    .parcel-modal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 980px) {
    .header-actions {
        gap: 12px;
    }
}

@media (max-width: 560px) {
    .launch-offer-banner {
        gap: 6px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .launch-offer-banner-link {
        padding: 4px 8px;
        font-size: 0.72rem;
    }

    .app-header {
        padding: 14px 16px;
        gap: 12px;
    }

    .brand {
        gap: 0;
    }

    .header-actions {
        gap: 8px;
    }

    .account-link {
        padding: 8px;
    }

    #account-link-label,
    .brand-title-link {
        display: none;
    }

    .pricing-page {
        padding: 32px 16px;
    }

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

    .pricing-card-description {
        min-height: 0;
    }

    .brand p {
        display: none;
    }

    .brand h1 {
        font-size: 1.05rem;
    }

    .address-search {
        top: 12px;
        left: 52px;
        width: calc(100% - 64px);
    }

    .map-legend-tools {
        left: 10px;
        bottom: 18px;
        gap: 6px;
    }

    .map-legend {
        width: 205px;
    }

    .map-note {
        display: none;
    }
}

