/* ===== PLAN FRAME — versão editorial sênior ===== */
.plan-frame {
    position: relative;
    border-radius: 6px 32px 8px 6px;
    border: 1px solid rgba(247, 208, 112, 0.22);
    background:
        linear-gradient(155deg, rgba(247, 208, 112, 0.08) 0%, transparent 38%),
        linear-gradient(180deg, rgba(20, 26, 42, 0.96) 0%, rgba(8, 11, 20, 0.99) 100%);
    box-shadow:
        0 36px 90px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(247, 208, 112, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
    isolation: isolate;
}

.plan-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(247, 208, 112, 0.4) 18%,
        rgba(247, 208, 112, 1) 50%,
        rgba(247, 208, 112, 0.4) 82%,
        transparent 100%
    );
    opacity: 0.85;
    z-index: 2;
}

.plan-frame::after {
    content: "";
    position: absolute;
    inset: auto -25% -45% auto;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(247, 208, 112, 0.1) 0%, rgba(247, 208, 112, 0) 70%);
    pointer-events: none;
    z-index: 0;
    animation: gold-glow 5s ease-in-out infinite;
}

.plan-frame-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 900px) {
    .plan-frame-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }
}

.plan-frame-header {
    position: relative;
    padding: 38px 28px 32px;
    border-bottom: 1px solid rgba(247, 208, 112, 0.12);
}

@media (min-width: 900px) {
    .plan-frame-header {
        padding: 46px 36px 42px 44px;
        border-right: 1px solid rgba(247, 208, 112, 0.12);
        border-bottom: none;
    }
}

.plan-frame-header::before {
    content: "";
    position: absolute;
    top: 38px;
    bottom: 38px;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--gold-mid), transparent);
    opacity: 0.55;
}

.plan-frame-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 0.95rem 0.42rem 0.7rem;
    border-radius: 2px;
    border: 1px solid rgba(247, 208, 112, 0.32);
    border-left: 3px solid var(--gold-mid);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        rgba(8, 10, 18, 0.55);
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(255, 244, 204, 0.95);
    margin-bottom: 1.5rem;
}

.plan-frame-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--gold-light), var(--gold-dark));
    box-shadow: 0 0 12px rgba(247, 208, 112, 0.6);
}

.plan-frame-title {
    font-family: 'Fraunces', serif;
    display: flex;
    flex-direction: column;
    line-height: 0.95;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
}

.plan-frame-title-pre {
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.85);
    margin-bottom: 0.35rem;
}

.plan-frame-title-main {
    font-size: clamp(2.2rem, 5vw, 3.1rem);
    font-weight: 600;
    font-style: italic;
    background: linear-gradient(115deg, #f7d070 0%, #fff8e7 35%, #d49c43 55%, #f7d070 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.plan-frame-subtitle {
    color: rgba(186, 199, 218, 0.92);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
    max-width: 28rem;
}

.plan-frame-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px dashed rgba(247, 208, 112, 0.18);
    list-style: none;
    margin: 0;
}

.plan-frame-pillars li {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.plan-frame-pillars .num {
    font-family: var(--mono);
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    color: rgba(247, 208, 112, 0.7);
}

.plan-frame-pillars .label {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 500;
    color: #f1f5f9;
    line-height: 1.15;
}

.plan-frame-body {
    position: relative;
    padding: 32px 28px 28px;
}

@media (min-width: 900px) {
    .plan-frame-body {
        padding: 46px 44px 36px 40px;
    }
}

.plan-frame-features-label {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(247, 208, 112, 0.78);
    margin-bottom: 1.4rem;
}

.plan-frame-features-label::before {
    content: "";
    width: 1.75rem;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-mid), rgba(247, 208, 112, 0.15));
}

.plan-frame-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.05rem;
}

.plan-frame-list li {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 14px 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-frame-list li:last-child {
    border-bottom: none;
}

.plan-frame-list .icon {
    grid-row: span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 2px 10px 2px 2px;
    border: 1px solid rgba(247, 208, 112, 0.25);
    background:
        linear-gradient(145deg, rgba(247, 208, 112, 0.1) 0%, transparent 60%),
        rgba(8, 10, 18, 0.55);
    color: var(--gold-light);
    font-size: 0.95rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.plan-frame-list .title {
    font-size: 0.98rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.3;
}

.plan-frame-list .desc {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.92);
    line-height: 1.5;
    margin-top: 0.2rem;
}

.plan-frame-footer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 22px 28px 28px;
    border-top: 1px solid rgba(247, 208, 112, 0.12);
    background:
        linear-gradient(180deg, rgba(8, 10, 18, 0.5) 0%, rgba(8, 10, 18, 0.85) 100%);
}

@media (min-width: 640px) {
    .plan-frame-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 22px 36px 28px;
        gap: 1.5rem;
    }
}

.plan-frame-footer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
}

.plan-frame-footer-meta .micro {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.78);
}

.plan-frame-footer-meta .micro::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 8px rgba(247, 208, 112, 0.6);
}

.plan-frame-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 14px 24px;
    border-radius: 10px;
    background: linear-gradient(to right, #77530a, #ffd277, #77530a, #77530a, #ffd277, #77530a);
    background-size: 250%;
    background-position: left;
    color: #ffd277;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    transition: background-position 1s ease, transform 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.plan-frame-cta::before {
    content: "";
    position: absolute;
    inset: 5% 1.5%;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.84);
    z-index: -1;
}

.plan-frame-cta:hover {
    background-position: right;
}

.plan-frame-cta:active {
    transform: scale(0.95);
}

.plan-frame-cta:focus-visible {
    outline: 2px solid rgba(247, 208, 112, 0.9);
    outline-offset: 4px;
}

@keyframes gold-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.45;
    }
    50% {
        transform: scale(1.14);
        opacity: 0.9;
    }
}

.check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #cbd5e1;
}

.check-list li i {
    color: var(--gold-light);
}

.footer-site {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, rgba(8, 11, 20, 0.4) 0%, transparent 40%);
}

.footer-contact-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 640px) {
    .footer-contact-row {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.85rem;
    }
}

.footer-contact-chip {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.25rem;
    padding: 1.1rem 1.2rem 1.15rem;
    min-width: min(100%, 220px);
    border-radius: 3px 18px 4px 3px;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        rgba(8, 10, 16, 0.75);
    box-shadow: 0 3px 0 rgba(247, 208, 112, 0.12), 0 14px 40px rgba(0, 0, 0, 0.4);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s var(--ease-out-expo), background 0.3s ease;
}

.footer-contact-chip:hover {
    border-color: rgba(247, 208, 112, 0.32);
    box-shadow: 0 5px 0 rgba(247, 208, 112, 0.2), 0 20px 48px rgba(0, 0, 0, 0.48);
    transform: translateY(-4px);
    background:
        linear-gradient(125deg, rgba(247, 208, 112, 0.08) 0%, transparent 55%),
        rgba(12, 14, 22, 0.88);
}

.footer-contact-chip:focus-visible {
    outline: 2px solid rgba(247, 208, 112, 0.65);
    outline-offset: 3px;
}

.footer-contact-chip-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.15rem;
    margin-bottom: 0.15rem;
}

.footer-contact-chip-label {
    font-family: var(--mono);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

.footer-contact-chip-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #f1f5f9;
    line-height: 1.35;
}

@media (max-width: 639px) {
    .footer-contact-chip {
        align-items: center;
        text-align: center;
    }

    .footer-contact-chip-icon {
        justify-content: center;
    }
}

.btn-whatsapp-large {
    background: linear-gradient(165deg, #f0c56a 0%, #c77d28 100%);
    color: #1a1208;
    padding: 16px 40px;
    border-radius: 999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease;
    border: 1px solid rgba(255, 248, 220, 0.85);
    text-decoration: none;
}

.btn-whatsapp-large:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 14px 40px rgba(212, 156, 67, 0.25);
}

.btn-whatsapp-large:focus-visible {
    outline: 2px solid rgba(247, 208, 112, 0.85);
    outline-offset: 4px;
}

.footer-bottom-bar {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: rgba(100, 116, 139, 0.95);
}

.js-rise,
.js-pain-card {
    will-change: transform, opacity;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: rgba(247, 208, 112, 0.78);
    margin-bottom: 0.85rem;
}

.section-label::before {
    content: "";
    flex-shrink: 0;
    width: 2rem;
    height: 1px;
    background: linear-gradient(90deg, var(--gold-mid), rgba(247, 208, 112, 0.15));
}

.section-label.justify-center.flex {
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.section-label.justify-center.flex::before,
.section-label.justify-center.flex::after {
    flex: 1 1 auto;
    height: 1px;
    max-width: 6rem;
}

.section-label.justify-center.flex::before {
    background: linear-gradient(90deg, transparent, rgba(247, 208, 112, 0.55));
}

.section-label.justify-center.flex::after {
    background: linear-gradient(270deg, transparent, rgba(247, 208, 112, 0.55));
}

.solucao-slab {
    position: relative;
    border-radius: 4px 32px 6px 4px;
    border: 1px solid rgba(247, 208, 112, 0.2);
    background:
        linear-gradient(138deg, rgba(247, 208, 112, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, rgba(14, 18, 30, 0.88) 0%, rgba(6, 8, 14, 0.94) 100%);
    box-shadow: 0 26px 72px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.solucao-slab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 5%, rgba(247, 208, 112, 0.75) 50%, transparent 95%);
    opacity: 0.85;
}

.sobre-photo-marco {
    position: relative;
    border-radius: 4px 28px 8px 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 32px 88px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(247, 208, 112, 0.07);
    overflow: hidden;
    background: #090d16;
}

.sobre-photo-image {
    object-fit: cover;
    object-position: 50% 40%;
    transform: scale(1.08);
    transform-origin: center;
    filter: saturate(1.06) contrast(1.04) brightness(0.9);
}

.sobre-photo-caption {
    text-shadow: 0 8px 26px rgba(0, 0, 0, 0.75);
}

.sobre-photo-marco::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(247, 208, 112, 0.14);
    border-radius: 2px 18px 4px 2px;
    pointer-events: none;
    z-index: 2;
}

.hero-section .hero-grid > div:first-child h1 {
    text-shadow: 0 6px 60px rgba(0, 0, 0, 0.55), 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 767px) {
    :root { --nav-h: 72px; }
}

@media (max-width: 768px) {
    .photographer-overlay { width: 100%; opacity: 0.12; }
    .gallery-item { flex-basis: 62vw; }
    .gallery-item:hover { transform: none; }
    .gallery-item:hover img { transform: scale(1); }
    .pain-card:hover { transform: none; }
    .hero-meta-tile:hover { transform: none; }
    .hero-section { padding-top: calc(var(--nav-h) + 1.5rem); }
    .btn-gold { padding: 10px 18px; font-size: 0.82rem; }
    .btn-outline-light { padding: 9px 16px; font-size: 0.8rem; }
    .hero-meta-grid { gap: 0.55rem; margin-top: 1rem; }
    .hero-meta-tile {
        min-width: min(100%, 170px);
        max-width: 220px;
        padding: 0.75rem 0.85rem 0.8rem 1.05rem;
    }
    .hero-meta-tile::before { top: 0.5rem; right: 0.55rem; font-size: 0.5rem; }
    .plan-frame { border-radius: 6px 18px 6px 6px; }
    .plan-frame-header { padding: 24px 16px 20px; }
    .plan-frame-body { padding: 20px 16px 18px; }
    .plan-frame-footer { padding: 14px 16px 18px; gap: 0.8rem; }
    .plan-frame-badge { font-size: 0.5rem; letter-spacing: 0.19em; margin-bottom: 0.95rem; padding: 0.34rem 0.58rem 0.34rem 0.5rem; }
    .plan-frame-title { margin-bottom: 0.7rem; line-height: 1.02; }
    .plan-frame-title-pre { font-size: 0.82rem; margin-bottom: 0.22rem; }
    .plan-frame-title-main { font-size: clamp(1.62rem, 8.4vw, 2.1rem); }
    .plan-frame-subtitle { font-size: 0.82rem; line-height: 1.45; margin-bottom: 1rem; }
    .plan-frame-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.45rem; padding-top: 0.82rem; }
    .plan-frame-pillars .num { font-size: 0.52rem; }
    .plan-frame-pillars .label { font-size: 0.78rem; line-height: 1.1; }
    .plan-frame-features-label { font-size: 0.5rem; letter-spacing: 0.19em; margin-bottom: 0.85rem; gap: 0.5rem; }
    .plan-frame-features-label::before { width: 1.1rem; }
    .plan-frame-list { gap: 0.7rem; }
    .plan-frame-list li { grid-template-columns: 30px 1fr; gap: 9px; padding: 9px 0; }
    .plan-frame-list .icon { width: 30px; height: 30px; font-size: 0.72rem; border-radius: 2px 7px 2px 2px; }
    .plan-frame-list .title { font-size: 0.8rem; line-height: 1.22; }
    .plan-frame-list .desc { font-size: 0.72rem; line-height: 1.35; margin-top: 0.14rem; }
    .plan-frame-footer-meta .micro { font-size: 0.53rem; letter-spacing: 0.12em; gap: 0.34rem; }
    .plan-frame-footer-meta .micro::before { width: 5px; height: 5px; }
    .plan-frame-cta { width: 100%; justify-content: center; padding: 10px 14px; font-size: 0.72rem; letter-spacing: 0.03em; }
    .pain-card-media { height: 132px; }
    .pain-card-body { padding: 0.8rem 0.9rem 1rem; }
    .pain-card-icon { width: 2rem; height: 2rem; }
    .sobre-photo-image {
        object-position: 54% 38%;
        transform: scale(1.12);
    }
    .sobre-photo-caption {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
    }
}

@media (max-width: 480px) {
    .btn-gold { padding: 9px 14px; font-size: 0.76rem; }
    .btn-outline-light { padding: 8px 12px; font-size: 0.74rem; }
    .gallery-track { gap: 14px; }
    .gallery-item { flex-basis: 58vw; }
    .hero-meta-grid { gap: 0.45rem; }
    .hero-meta-tile {
        min-width: min(100%, 152px);
        max-width: 190px;
        padding: 0.62rem 0.72rem 0.68rem 0.86rem;
    }
    .plan-frame-header::before { opacity: 0.35; top: 16px; bottom: 16px; }
    .plan-frame::after { opacity: 0.5; width: 250px; height: 250px; }
    .pain-card-media { height: 118px; }
    .pain-card-index { top: 0.7rem; left: 0.7rem; font-size: 0.54rem; padding: 0.28rem 0.45rem; }
    .pain-card-body { padding: 0.72rem 0.78rem 0.88rem; }
}

@media (max-height: 860px) {
    .hero-section {
        padding-top: calc(var(--nav-h) + 0.7rem);
        padding-bottom: 0.8rem;
    }

    .hero-kicker { margin-bottom: 0.85rem; }
    .hero-quote { margin-top: 0.8rem; }
    .hero-meta-grid { margin-top: 1rem; }
    .hero-scroll-hint { display: none; }
}

@media (min-width: 1280px) {
    .hero-section {
        padding-top: calc(var(--nav-h) + 1.2rem);
        padding-bottom: 1.8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .pricing-card.highlight::after { animation: none; }
    .gallery-track { animation: none; }
    .whatsapp-modal { transition: none; }
    .hero-visual:hover .hero-frame-main img { transform: scale(1.06); }
    .hero-visual:hover .hero-frame-accent img { transform: scale(1.03); }
    .hero-mesh { animation: none; }
    .hero-aurora { animation: none; }
    .hero-visual-ring { animation: none; }
    .hero-scroll-hint::after { animation: none; }
    .hero-deco-line { opacity: 0.75; transform: scaleX(1) scaleY(1); }
    .hero-editorial-frame { opacity: 0.35; }
}
