/* RénoValo — styles spécifiques pricing.html */

/* ══════════════════════════════════════════
   HERO + CARTES — above the fold
   ══════════════════════════════════════════ */
.pricing-hero {
    position: relative;
    color: #fff;
    padding: 1.5rem 1.15rem 1.25rem;
    min-height: calc(100dvh - 84px);
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .pricing-hero {
        padding: 1.75rem 1.75rem 1.35rem;
    }
}

@media (min-width: 1024px) {
    .pricing-hero {
        padding: 1.75rem 2rem 1.25rem;
    }
}

/* Même cachet visuel que l'accueil */
.pricing-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--hero-premium-overlay), var(--hero-premium-image) var(--hero-premium-position) / cover no-repeat;
}

.pricing-hero .brand-bar-vertical {
    z-index: 1;
}

.pricing-hero-inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 72rem; /* ~1152px — occupe mieux l’écran desktop */
    margin: 0 auto;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-hero-head {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto 1.5rem;
}

.pricing-promo-block {
    margin-bottom: 0.85rem;
}

.pricing-promo-pill {
    display: inline-block;
    margin: 0 0 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #60CF86;
    background: rgba(96, 207, 134, 0.12);
    border: 1px solid rgba(96, 207, 134, 0.28);
    line-height: 1.35;
}

.pricing-promo-sub {
    margin: 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.72);
}

.pricing-promo-sub strong {
    color: #8de4ad;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.pricing-hero-title {
    font-size: clamp(1.75rem, 3.6vw, 2.85rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 0.65rem;
}

.pricing-hero-title-accent {
    color: #60CF86;
}

.pricing-hero-sub {
    font-size: 0.9375rem;
    line-height: 1.45;
    color: #cbd5e1;
    margin: 0 auto;
    max-width: 40rem;
}

@media (min-width: 1024px) {
    .pricing-hero-sub {
        font-size: 1.0625rem;
        max-width: 42rem;
    }
}

.pricing-hero-seq {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-hero-seq.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-plans-grid {
    display: grid;
    gap: 1rem;
    margin: 0 auto;
    width: 100%;
    max-width: 68rem; /* ~1088px — cartes larges, moins de vide latéral */
}

@media (min-width: 768px) {
    .pricing-plans-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.35rem;
        align-items: stretch;
    }
}

@media (min-width: 1024px) {
    .pricing-plans-grid {
        gap: 1.75rem;
        max-width: 70rem; /* ~1120px */
    }
}

/* Cartes hero — roomy, décision d'achat */
.plan-card--hero {
    padding: 1.5rem 1.4rem 1.35rem;
    border-radius: 1.1rem;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-width: 0;
}

.plan-card--hero.plan-card--compact {
    padding: 1.25rem 1.25rem 1.15rem;
    border-radius: 1rem;
}

@media (min-width: 768px) {
    .plan-card--hero.plan-card--compact {
        padding: 1.65rem 1.6rem 1.45rem;
    }
}

@media (min-width: 1024px) {
    .plan-card--hero.plan-card--compact {
        padding: 1.85rem 1.85rem 1.6rem;
        min-height: 22rem;
    }
}

.plan-card--hero.plan-card--agent {
    background: rgba(17, 42, 70, 0.38);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.plan-card--hero.plan-card--agence {
    background: rgba(17, 42, 70, 0.62);
    border: 1px solid rgba(96, 207, 134, 0.38);
    box-shadow:
        0 0 0 1px rgba(96, 207, 134, 0.12),
        0 8px 32px rgba(0, 0, 0, 0.22),
        0 0 48px rgba(96, 207, 134, 0.14);
}

@media (min-width: 768px) {
    .plan-card--hero.plan-card--featured:hover {
        transform: translateY(-4px);
    }
}

.plan-card--hero.plan-card--agent:hover {
    transform: translateY(-2px);
    border-color: rgba(148, 163, 184, 0.28);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.plan-card--hero.plan-card--agence:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 207, 134, 0.55);
    box-shadow:
        0 0 0 1px rgba(96, 207, 134, 0.2),
        0 14px 36px rgba(0, 0, 0, 0.28),
        0 0 56px rgba(96, 207, 134, 0.2);
}

.plan-card--hero.plan-card-sel.plan-card--agent {
    border-color: rgba(148, 163, 184, 0.35);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.2);
}

.plan-card--hero.plan-card-sel.plan-card--agence {
    border-color: rgba(96, 207, 134, 0.6);
    box-shadow:
        0 0 0 1px rgba(96, 207, 134, 0.25),
        0 12px 32px rgba(0, 0, 0, 0.25),
        0 0 52px rgba(96, 207, 134, 0.22);
}

.plan-recommended-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #60CF86;
    background: rgba(96, 207, 134, 0.14);
    border: 1px solid rgba(96, 207, 134, 0.32);
}

.plan-recommended-icon {
    width: 0.65rem;
    height: 0.65rem;
    fill: #60CF86;
    color: #60CF86;
}

.plan-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-card-icon--agence {
    background: rgba(96, 207, 134, 0.16);
    color: #60CF86;
    border-color: rgba(96, 207, 134, 0.28);
}

.plan-card-icon i,
.plan-card-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.plan-card-head {
    margin-bottom: 0.75rem;
}

.plan-card--compact .plan-card-head {
    margin-bottom: 0.65rem;
}

.plan-card-star {
    color: #60CF86;
    margin-right: 0.15rem;
}

.plan-card--hero .plan-card-title {
    color: #fff;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    text-align: left;
    margin: 0 0 0.3rem;
}

.plan-card--compact .plan-card-title {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.plan-card--hero .plan-lead {
    color: rgba(255, 255, 255, 0.55);
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.4;
    margin: 0;
}

.plan-card--hero .plan-card-price {
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
}

.plan-card--compact .plan-card-price {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
}

.plan-card--hero .plan-card-from {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    letter-spacing: 0.01em;
}

.plan-card--hero .plan-card-amount {
    color: #fff;
    font-size: clamp(2rem, 3.2vw, 2.65rem);
    line-height: 1.05;
    display: inline;
}

.plan-card--hero.plan-card--agence .plan-card-amount {
    color: #60CF86;
}

.plan-card--hero .plan-card-period {
    color: rgba(255, 255, 255, 0.55);
    text-align: left;
    font-size: 0.9375rem;
    display: inline;
    margin-left: 0.2rem;
    vertical-align: baseline;
}

.plan-card--hero .plan-card-promo {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    text-align: left;
    font-size: 0.8125rem;
    margin-top: 0.3rem;
}

.plan-card-promo--highlight {
    color: rgba(141, 228, 173, 0.9) !important;
    font-weight: 600;
}

.plan-card--hero .plan-card-extra,
.plan-card--hero .plan-card-after {
    color: rgba(255, 255, 255, 0.48);
    text-align: left;
    font-size: 0.8125rem;
    line-height: 1.4;
    display: block;
    margin-top: 0.25rem;
}

.plan-card--hero .plan-card-features {
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.plan-card--compact .plan-card-features {
    gap: 0.3rem;
    margin-bottom: 0.9rem;
}

.plan-card--hero .plan-card-features .check-item {
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.875rem;
    line-height: 1.4;
    padding: 0.12rem 0;
}

.plan-card--hero .plan-card-features .check-icon {
    color: #60CF86;
    width: 0.95rem;
    height: 0.95rem;
}

.plan-card--agent .plan-card-features .check-icon {
    color: rgba(141, 228, 173, 0.85);
}

.plan-card--hero .plan-card-extra strong,
.plan-card--hero .plan-card-after strong {
    color: rgba(255, 255, 255, 0.72);
}

.plan-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 768px) {
    .plan-card-cta {
        padding: 0.9rem 1.25rem;
        font-size: 1rem;
    }
}

.plan-card-cta:active {
    transform: scale(0.98);
}

.plan-card-cta--primary {
    color: #112A46;
    background: #60CF86;
    border: none;
    box-shadow: 0 2px 10px rgba(96, 207, 134, 0.28);
}

.plan-card-cta--primary:hover {
    background: #7dd9a0;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(96, 207, 134, 0.35);
}

.plan-card-cta--outline {
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 600;
    box-shadow: none;
}

.plan-card-cta--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: none;
}

.plan-card-cta--agence {
    color: #112A46;
    background: #60CF86;
    border: none;
    font-weight: 700;
    box-shadow: 0 2px 14px rgba(96, 207, 134, 0.35);
}

.plan-card-cta--agence:hover {
    background: #7dd9a0;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(96, 207, 134, 0.45);
}

.pricing-hero-proof {
    margin: 1.15rem auto 0;
    max-width: 36rem;
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.62);
    font-style: italic;
}

@media (min-width: 1024px) {
    .pricing-hero-proof {
        margin-top: 1.25rem;
        font-size: 1rem;
    }
}

.pricing-hero-legal-bar {
    background: #0f2233;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.65rem 1rem;
}

.pricing-hero-legal-inner {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.pricing-hero-legal {
    max-width: none;
    margin: 0;
    text-align: center;
}

.pricing-hero-legal p {
    margin: 0;
    font-size: 0.6875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.38);
}

/* ── Sections sous le hero ── */
.pricing-below-section {
    padding: 3.5rem 0;
    background: #fff;
    border-top: 1px solid #e8eef4;
}

.pricing-below-section--alt {
    background: #f8fafc;
}

.pricing-below-title {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy);
    text-align: center;
    letter-spacing: -0.02em;
}

.pricing-below-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--text-muted);
    text-align: center;
}

.pricing-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e2e8f0;
}

.pricing-faq-item {
    padding: 1.15rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.pricing-faq-q {
    margin: 0 0 0.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--navy);
}

.pricing-faq-a {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--text-muted);
}

.pricing-faq-more {
    margin: 1.25rem 0 0;
    font-size: 0.75rem;
    text-align: center;
    color: #94a3b8;
}

.pricing-faq-more a {
    color: var(--brand-dark);
    font-weight: 600;
    text-decoration: none;
}

.pricing-faq-more a:hover {
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .pricing-hero-seq {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .plan-card--hero:hover,
    .plan-card--hero.plan-card--featured:hover {
        transform: none;
    }
}

.tactical-card {
    background: var(--surface);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(33, 58, 83, 0.08);
}

.tactical-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(33, 58, 83, 0.12);
}

.tactical-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        linear-gradient(var(--brand), var(--brand)) left 12px top 12px/16px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) left 12px top 12px/2px 16px no-repeat,
        linear-gradient(var(--brand), var(--brand)) right 12px top 12px/16px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) right 12px top 12px/2px 16px no-repeat,
        linear-gradient(var(--brand), var(--brand)) left 12px bottom 12px/16px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) left 12px bottom 12px/2px 16px no-repeat,
        linear-gradient(var(--brand), var(--brand)) right 12px bottom 12px/16px 2px no-repeat,
        linear-gradient(var(--brand), var(--brand)) right 12px bottom 12px/2px 16px no-repeat;
    opacity: 0;
    transition: opacity 0.3s;
}

.tactical-card:hover::after { opacity: 0.2; }

.features-scroll-wrapper {
    position: relative;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 3rem;
    mask-image: linear-gradient(to bottom, black calc(100% - 40px), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 40px), transparent 100%);
}

.promo-badge {
    background: linear-gradient(135deg, #60CF86, #4db870);
    color: var(--navy-deep);
    font-size: 0.65rem;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 4px 12px rgba(96, 207, 134, 0.3);
}

.plan-sel-badge { display: none; }
.plan-card-sel .plan-sel-badge { display: flex; }

/* Hero premium — pas e-commerce */
.pricing-hero-kicker {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(141, 228, 173, 0.9);
}

.pricing-pioneer-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
}

.pricing-pioneer-code {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.pricing-pioneer-code strong {
    color: rgba(141, 228, 173, 0.95);
    font-weight: 600;
}

/* Cartes tarifaires — fond clair, lisibilité premium */
.plan-card.tactical-card {
    padding: 1.5rem 1.35rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(33, 58, 83, 0.07);
    cursor: pointer;
}

.plan-card.tactical-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(33, 58, 83, 0.1);
    border-color: rgba(96, 207, 134, 0.35);
}

.plan-card--agent.tactical-card {
    border-top: 3px solid #213A53;
}

.plan-card--agence.tactical-card {
    border-top: 3px solid #60CF86;
    border-color: rgba(96, 207, 134, 0.45);
    background: linear-gradient(180deg, #f8fdf9 0%, #fff 28%);
}

.plan-card.tactical-card.plan-card-sel,
.plan-card-sel.plan-card.tactical-card {
    border-color: rgba(96, 207, 134, 0.65);
    box-shadow: 0 0 0 2px rgba(96, 207, 134, 0.2), 0 12px 36px rgba(33, 58, 83, 0.1);
}

.plan-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #213A53;
    text-align: center;
    margin: 0 0 0.35rem;
    letter-spacing: -0.02em;
}

.plan-lead {
    font-size: 0.84rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 1.25rem;
    padding: 0 0.25rem;
    text-align: center;
}

.plan-card-price {
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8eef4;
}

.plan-card-from {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.15rem;
}

.plan-card-amount {
    display: block;
    font-size: 2.35rem;
    font-weight: 900;
    color: #213A53;
    font-family: 'Montserrat', system-ui, sans-serif;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.plan-card--agence .plan-card-amount {
    color: #2d7a4a;
}

.plan-card-period {
    display: block;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.35rem;
}

.plan-card-extra {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.plan-card-extra strong {
    color: #2d7a4a;
    font-weight: 700;
}

.plan-card-after {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.35rem;
}

.plan-card-after strong {
    color: #475569;
    font-weight: 600;
}

.plan-card-promo {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.plan-card-promo strong {
    color: #213A53;
    font-weight: 700;
}

.plan-card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    flex: 1;
}

.plan-card-features .check-item {
    color: #475569;
    padding: 0.35rem 0;
}

.plan-card-features .check-icon {
    color: #60CF86;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.15rem;
}

.plan-card--agent .plan-card-features .check-icon {
    color: #213A53;
}

.plan-card-note {
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.plan-card-note p {
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #475569;
    text-align: center;
    font-style: italic;
}

.plan-card-note--agence {
    background: rgba(96, 207, 134, 0.08);
    border-color: rgba(96, 207, 134, 0.25);
}

.plan-card-note--agence p {
    font-style: normal;
}

/* Désactiver les coins décoratifs sur les cartes tarifs */
.plan-card.tactical-card::after {
    display: none;
}

.plan-card.tactical-card:hover::after {
    display: none;
}

/* Pourquoi abonnement */
.pricing-moments {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-moments li {
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 0.88rem;
    font-weight: 600;
    color: #213A53;
    text-align: center;
}

.pricing-faq-technical {
    opacity: 0.92;
}
