/* Pede7 — landing pública */

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

:root body.home-body,
html[data-theme="light"] body.home-body {
    --home-ink: #14161f;
    --home-muted: #4a5266;
    --home-faint: #6b7385;
    --home-bg:
        radial-gradient(90% 70% at 50% -15%, rgba(255, 122, 47, .20) 0%, transparent 55%),
        radial-gradient(70% 50% at 100% 8%, rgba(255, 61, 94, .09) 0%, transparent 45%),
        linear-gradient(180deg, #fff8f4 0%, #f7f8fc 40%, #eef1f7 100%);
    --home-panel: #ffffff;
    --home-border: rgba(20, 22, 31, .10);
    --home-panel-hover: #ffffff;
    --home-ghost-border: rgba(20, 22, 31, .18);
    --home-ghost-color: #14161f;
    --home-avatar-bg: #f1f3f8;
    --home-shadow: 0 10px 28px rgba(20, 22, 31, .07);
    --home-accent: #e04a12;
    --home-ok: #12a150;
}

html[data-theme="dark"] body.home-body {
    --home-ink: #fff;
    --home-muted: rgba(255, 255, 255, .75);
    --home-faint: rgba(255, 255, 255, .55);
    --home-bg: radial-gradient(120% 80% at 50% 0%, #17181f 0%, #0b0b0e 60%);
    --home-panel: rgba(255, 255, 255, .05);
    --home-border: rgba(255, 255, 255, .1);
    --home-panel-hover: rgba(255, 255, 255, .08);
    --home-ghost-border: rgba(255, 255, 255, .22);
    --home-ghost-color: #fff;
    --home-avatar-bg: rgba(0, 0, 0, .35);
    --home-shadow: none;
    --home-accent: #ff8a4c;
}

body.home-body {
    margin: 0;
    font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
    background: var(--home-bg);
    color: var(--home-ink);
    min-height: 100dvh;
    padding: 28px 20px 56px;
    -webkit-font-smoothing: antialiased;
}

.home-wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

/* ---- hero ---- */
.home-hero {
    text-align: center;
    padding: 28px 0 8px;
}
.home-logo {
    display: flex;
    justify-content: center;
}
.home-logo img {
    width: auto;
    height: auto;
    max-width: min(260px, 88vw);
    max-height: 84px;
    border-radius: 14px;
    display: block;
    background: #fff;
    padding: 10px 14px;
    box-sizing: border-box;
    box-shadow: var(--home-shadow);
}
.home-logo a {
    display: block;
    line-height: 0;
    text-decoration: none;
}
.home-logo a:hover { opacity: .92; }

.home-hero h1 {
    font-size: clamp(1.85rem, 4.2vw, 3.15rem);
    line-height: 1.12;
    margin: 28px auto 14px;
    max-width: 16ch;
    font-weight: 800;
    letter-spacing: -.03em;
}
.home-hero h1 .line2 {
    display: block;
    margin-top: .08em;
}
.home-hero h1 .accent {
    background: linear-gradient(135deg, #ff9a3d, #ff3d5e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-lead {
    color: var(--home-muted);
    line-height: 1.55;
    margin: 0 auto 26px;
    max-width: 42ch;
    font-size: clamp(.98rem, 1.3vw, 1.12rem);
    font-weight: 500;
}

.home-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.home-actions a.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .18s ease, filter .18s ease;
}
.home-actions a.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}
.home-actions a.primary {
    background: linear-gradient(135deg, #ff7a2f, #ff3d5e);
    color: #fff;
}
.home-actions a.ghost {
    border: 1px solid var(--home-ghost-border);
    color: var(--home-ghost-color);
    background: transparent;
}

/* ---- sections ---- */
.home-section {
    margin-top: 56px;
    text-align: left;
}
.home-section-head {
    margin-bottom: 18px;
    text-align: center;
}
.home-section-head h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -.02em;
}
.home-section-head p {
    margin: 8px auto 0;
    max-width: 48ch;
    font-size: .92rem;
    color: var(--home-faint);
    line-height: 1.45;
}

/* ---- modules ---- */
.home-modules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.home-module {
    background: var(--home-panel);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: var(--home-shadow);
    min-width: 0;
}
.home-module .mod-label {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--home-accent);
    margin-bottom: 8px;
}
.home-module h3 {
    margin: 0 0 6px;
    font-size: 1.02rem;
    font-weight: 700;
}
.home-module p {
    margin: 0;
    font-size: .86rem;
    color: var(--home-muted);
    line-height: 1.45;
}

/* ---- channels ---- */
.home-channels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.home-channel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--home-panel);
    border: 1px solid var(--home-border);
    box-shadow: var(--home-shadow);
    font-size: .82rem;
    font-weight: 600;
}
.home-channel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex: 0 0 auto;
}

/* ---- steps ---- */
.home-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    counter-reset: step;
}
.home-step {
    background: var(--home-panel);
    border: 1px solid var(--home-border);
    border-radius: 16px;
    padding: 20px 16px;
    box-shadow: var(--home-shadow);
    counter-increment: step;
}
.home-step::before {
    content: counter(step);
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    margin-bottom: 12px;
    font-weight: 800;
    font-size: .9rem;
    color: #fff;
    background: linear-gradient(135deg, #ff7a2f, #ff3d5e);
}
.home-step h3 {
    margin: 0 0 6px;
    font-size: 1rem;
}
.home-step p {
    margin: 0;
    font-size: .86rem;
    color: var(--home-muted);
    line-height: 1.45;
}

/* ---- plans (public) ---- */
.home-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
    align-items: stretch;
}
.home-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--home-panel);
    border: 1px solid var(--home-border);
    border-radius: 18px;
    padding: 22px 18px 18px;
    box-shadow: var(--home-shadow);
    min-width: 0;
    text-align: left;
}
.home-plan.featured {
    border-color: color-mix(in srgb, #ff5a1f 50%, var(--home-border));
    box-shadow: 0 12px 32px rgba(255, 90, 31, .14);
}
.home-plan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ff7a2f, #ff3d5e);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
}
.home-plan h3 {
    margin: 0;
    font-size: 1.08rem;
    padding-right: 70px;
}
.home-plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.home-plan-price strong {
    font-size: 1.65rem;
    letter-spacing: -.02em;
}
.home-plan-price span {
    color: var(--home-faint);
    font-size: .85rem;
}
.home-plan-year {
    font-size: .78rem;
    color: var(--home-faint);
    margin-top: -6px;
}
.home-plan-desc {
    margin: 0;
    font-size: .84rem;
    color: var(--home-muted);
    line-height: 1.45;
}
.home-plan-limits {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
}
.home-plan-limits li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .8rem;
    padding: 6px 0;
    border-bottom: 1px dashed var(--home-border);
}
.home-plan-limits li span { color: var(--home-faint); }
.home-plan-features {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
    flex: 1;
}
.home-plan-features li {
    position: relative;
    padding-left: 18px;
    font-size: .8rem;
    line-height: 1.35;
    color: var(--home-muted);
}
.home-plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--home-ok);
    font-weight: 700;
}
.home-plan-extras {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.home-plan-extras span {
    font-size: .7rem;
    font-weight: 600;
    background: color-mix(in srgb, #ff5a1f 12%, transparent);
    color: var(--home-accent);
    border-radius: 999px;
    padding: 3px 8px;
}
.home-plan-cta {
    margin-top: 8px;
    display: block;
    text-align: center;
    padding: 11px 14px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 700;
    font-size: .88rem;
    background: linear-gradient(135deg, #ff7a2f, #ff3d5e);
    color: #fff;
}
.home-plan:not(.featured) .home-plan-cta {
    background: transparent;
    color: var(--home-ink);
    border: 1px solid var(--home-ghost-border);
}

/* ---- showcase ---- */
.home-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.home-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 16px;
    background: var(--home-panel);
    border: 1px solid var(--home-border);
    text-decoration: none;
    color: inherit;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
    min-height: 100%;
    box-shadow: var(--home-shadow);
}
.home-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 122, 47, .45);
    background: var(--home-panel-hover);
}
.home-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}
.home-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    background: var(--home-avatar-bg);
}
.home-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.home-avatar-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ff7a2f, #ff3d5e);
    color: #fff;
}
.home-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}
.home-card .seg {
    margin: 3px 0 0;
    font-size: .78rem;
    color: var(--home-muted);
}
.home-card .meta {
    margin-top: auto;
    font-size: .75rem;
    color: var(--home-faint);
}
.home-card .cta {
    font-size: .8rem;
    font-weight: 700;
    color: var(--home-accent);
}

.home-empty {
    text-align: center;
    color: var(--home-faint);
    padding: 24px;
    border: 1px dashed var(--home-border);
    border-radius: 14px;
}

/* ---- bottom CTA ---- */
.home-cta-band {
    margin-top: 56px;
    padding: 28px 22px;
    border-radius: 20px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(255, 122, 47, .12), rgba(255, 61, 94, .08)),
        var(--home-panel);
    border: 1px solid var(--home-border);
    box-shadow: var(--home-shadow);
}
.home-cta-band h2 {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
}
.home-cta-band p {
    margin: 0 auto 18px;
    max-width: 40ch;
    color: var(--home-muted);
    font-size: .92rem;
}

/* ---- footer ---- */
.home-footer {
    margin-top: 40px;
    font-size: .88rem;
    color: var(--home-faint);
    text-align: center;
    display: grid;
    gap: 4px;
    justify-items: center;
}
.home-footer a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(20, 22, 31, .22);
}
html[data-theme="dark"] .home-footer a {
    border-bottom-color: rgba(255, 255, 255, .25);
}
.home-footer a:hover { opacity: .9; }

@media (max-width: 900px) {
    .home-modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-steps { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body.home-body { padding: 22px 14px 40px; }
    .home-hero { padding-top: 18px; }
    .home-hero h1 { max-width: 14ch; }
    .home-modules { grid-template-columns: 1fr; }
    .home-section { margin-top: 42px; }
}

/* ---- WhatsApp float (estilo Local7) ---- */
.wa-chat {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    font-family: "Outfit", "Segoe UI", system-ui, sans-serif;
}
.wa-chat__fab {
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45);
    transition: transform .18s ease, filter .18s ease;
}
.wa-chat__fab:hover {
    transform: translateY(-2px) scale(1.04);
    filter: brightness(1.05);
}
.wa-chat__fab svg { display: block; }

.wa-chat__teaser {
    width: min(280px, calc(100vw - 88px));
    background: #fff;
    color: #14161f;
    border-radius: 16px;
    padding: 12px 14px 14px;
    box-shadow: 0 14px 40px rgba(16, 18, 26, .18);
    border: 1px solid rgba(20, 22, 31, .08);
    cursor: pointer;
    position: relative;
    animation: wa-teaser-in .35s ease both;
}
.wa-chat__teaser[hidden] { display: none !important; }
.wa-chat__teaser-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #8b93a7;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 6px;
}
.wa-chat__teaser-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-right: 18px;
}
.wa-chat__teaser-head strong { font-size: .9rem; }
.wa-chat__teaser-text {
    margin: 0;
    font-size: .84rem;
    line-height: 1.4;
    color: #4a5266;
}

.wa-chat__panel {
    width: min(340px, calc(100vw - 32px));
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(16, 18, 26, .22);
    border: 1px solid rgba(20, 22, 31, .08);
    animation: wa-panel-in .22s ease both;
}
.wa-chat__panel[hidden] { display: none !important; }

.wa-chat__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 12px;
    background: #1f2c34;
    color: #fff;
}
.wa-chat__header-info {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 2px;
}
.wa-chat__header-info strong {
    font-size: .95rem;
    line-height: 1.2;
}
.wa-chat__header-info span {
    font-size: .75rem;
    color: rgba(255, 255, 255, .72);
}
.wa-chat__panel-close {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 6px;
    opacity: .85;
}
.wa-chat__panel-close:hover { opacity: 1; }

.wa-chat__avatar {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: visible;
    flex: 0 0 auto;
    background: #fff;
    display: grid;
    place-items: center;
}
.wa-chat__avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    box-sizing: border-box;
}
.wa-chat__avatar--sm {
    width: 28px;
    height: 28px;
}
.wa-chat__online {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #25d366;
    border: 2px solid #1f2c34;
}

.wa-chat__body {
    padding: 16px 14px;
    min-height: 140px;
    background:
        radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .06) 1px, transparent 0) 0 0 / 14px 14px,
        #ece5dd;
    display: grid;
    gap: 10px;
    align-content: start;
}
.wa-chat__bubble {
    justify-self: start;
    max-width: 92%;
    background: #fff;
    color: #14161f;
    border-radius: 12px;
    border-top-left-radius: 4px;
    padding: 10px 12px;
    font-size: .88rem;
    line-height: 1.45;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.wa-chat__footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #fff;
}
.wa-chat__send {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: .9rem;
    transition: filter .15s ease;
}
.wa-chat__send:hover { filter: brightness(1.06); }
.wa-chat__footer-logo {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3f5fa;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.wa-chat__footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
    box-sizing: border-box;
}

@keyframes wa-teaser-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
@keyframes wa-panel-in {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 520px) {
    .wa-chat__teaser { width: min(260px, calc(100vw - 80px)); }
    .wa-chat__fab { width: 56px; height: 56px; }
}
