/* Páginas de conteúdo — apresentação (textos intactos) */

body.content-page {
    background:
        radial-gradient(ellipse 80% 50% at 90% -10%, rgba(225, 6, 0, 0.14), transparent 55%),
        radial-gradient(ellipse 55% 40% at 0% 20%, rgba(78, 196, 255, 0.07), transparent 50%),
        var(--bg);
}

body.content-page .cinema { display: none; }

/* Topbar unificado: estilos em styles.css (.nav / .content-nav) */

.article {
    width: 100%;
    margin: 0;
    padding: 0 0 4.5rem;
}

/* —— Hero: imagem full-bleed + texto por cima —— */
.article-hero {
    position: relative;
    margin: 0;
}

.article-hero-copy {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    width: min(720px, calc(100% - clamp(2rem, 8vw, 6rem)));
    margin: 0 auto;
    padding: 0 0 clamp(1.75rem, 4vw, 3rem);
    left: clamp(1rem, 4vw, 3.5rem);
    right: auto;
    display: grid;
    gap: 0.85rem;
    pointer-events: none;
}

.article-hero-copy > * { pointer-events: auto; }

.article-hero .kicker {
    margin: 0;
    padding: 0.4rem 0.75rem 0.4rem 0;
}

.article-hero h1 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(2rem, 5.2vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.08;
    max-width: 16ch;
    text-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
}

.article-hero .lead {
    margin: 0;
    max-width: 48ch;
    color: rgba(245, 247, 251, 0.82);
    font-size: clamp(1.02rem, 1.8vw, 1.18rem);
    line-height: 1.6;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hero-media {
    position: relative;
    margin: 0;
    width: 100%;
    min-height: clamp(320px, 52vh, 560px);
    aspect-ratio: auto;
    overflow: hidden;
    background: #0a1630;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(5, 13, 26, 0.25) 0%, rgba(5, 13, 26, 0.15) 35%, rgba(5, 13, 26, 0.92) 100%),
        linear-gradient(90deg, rgba(5, 13, 26, 0.72) 0%, rgba(5, 13, 26, 0.2) 55%, transparent 100%);
}

.hero-media img,
.hero-media video {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    display: block;
    transform: scale(1.05);
}

.hero-media img {
    animation: heroDrift 24s ease-in-out infinite alternate;
}

.hero-media video {
    filter: saturate(0.9) brightness(0.88);
}

.hero-media figcaption {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    bottom: 1rem;
    z-index: 2;
    left: auto;
    margin: 0;
    padding: 0.4rem 0.75rem;
    max-width: min(36ch, 42vw);
    border-radius: 0.5rem;
    background: rgba(5, 13, 26, 0.45);
    backdrop-filter: blur(8px);
    font-size: 0.78rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.62);
    text-align: right;
}

@keyframes heroDrift {
    from { transform: scale(1.05) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-media img { animation: none; }
}

/* —— Corpo —— */
.prose {
    display: grid;
    gap: 1.05rem;
    width: min(680px, calc(100% - clamp(2rem, 8vw, 6rem)));
    margin: 2.5rem auto 0;
}

.prose h2 {
    margin: 2.25rem 0 0;
    padding-top: 0.35rem;
    font-family: var(--display);
    font-size: clamp(1.4rem, 2.6vw, 1.75rem);
    letter-spacing: -0.03em;
    line-height: 1.25;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.prose h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.prose h3 {
    margin: 1rem 0 0;
    font-family: var(--display);
    font-size: 1.15rem;
}

.prose p,
.prose li {
    margin: 0;
    color: var(--mute);
    font-size: 1.06rem;
    line-height: 1.75;
}

.prose ul,
.prose ol {
    margin: 0.15rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.prose ul li {
    position: relative;
    padding: 0.85rem 1rem 0.85rem 1.15rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    border-left: 3px solid rgba(225, 6, 0, 0.65);
}

.prose strong { color: #fff; font-weight: 700; }

.prose a {
    color: #ffb2ae;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    margin: 0;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.stat {
    padding: 1.5rem clamp(1rem, 3vw, 2rem);
    border: 0;
    border-radius: 0;
    background: transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat:last-child { border-right: 0; }

.stat b {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    letter-spacing: -0.03em;
    color: #fff;
}

.stat span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.92rem;
    color: var(--mute);
    line-height: 1.4;
    max-width: 22ch;
}

.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    width: 100%;
    margin: 3rem 0;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}

.split-block.reverse { direction: rtl; }
.split-block.reverse > * { direction: ltr; }

.split-block .prose {
    width: auto;
    max-width: none;
    margin: 0;
    padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem);
    align-content: center;
}

.split-block .prose h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.split-block img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.chart {
    width: min(720px, calc(100% - clamp(2rem, 8vw, 6rem)));
    margin: 2.5rem auto;
    padding: 1.5rem 1.35rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background:
        linear-gradient(160deg, rgba(225, 6, 0, 0.08), transparent 50%),
        rgba(0, 0, 0, 0.28);
}

.chart-title {
    margin: 0 0 1.1rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.chart-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    align-items: end;
    height: 150px;
}

.chart-bars i {
    display: block;
    height: var(--h);
    border-radius: 0.55rem 0.55rem 0.2rem 0.2rem;
    background: linear-gradient(180deg, var(--red-2), var(--cyan));
    opacity: 0.88;
}

.chart-labels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.cta-band {
    width: min(920px, calc(100% - clamp(2rem, 8vw, 6rem)));
    margin: 3rem auto 1rem;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    border-radius: 1.35rem;
    border: 1px solid rgba(225, 6, 0, 0.4);
    background:
        radial-gradient(ellipse 80% 120% at 100% 0%, rgba(225, 6, 0, 0.28), transparent 55%),
        linear-gradient(135deg, rgba(10, 22, 48, 0.85), rgba(5, 13, 26, 0.9));
    display: grid;
    gap: 0.9rem;
    justify-items: start;
}

.cta-band h2 {
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    letter-spacing: -0.03em;
}

.cta-band p {
    margin: 0;
    color: var(--mute);
    max-width: 46ch;
    line-height: 1.55;
}

.related {
    width: min(920px, calc(100% - clamp(2rem, 8vw, 6rem)));
    margin: 2.5rem auto 0;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related h2 {
    margin: 0 0 1rem;
    font-family: var(--display);
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.related ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.related a {
    display: block;
    padding: 1rem 1.1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    font-weight: 600;
    font-size: 0.95rem;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.related a:hover {
    border-color: rgba(225, 6, 0, 0.45);
    background: rgba(225, 6, 0, 0.08);
    transform: translateY(-1px);
}

/* —— Contato —— */
.contact-wrap {
    width: min(960px, calc(100% - clamp(2rem, 8vw, 6rem)));
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}

.contact-aside h2 {
    margin: 0 0 0.85rem;
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.5vw, 1.7rem);
    letter-spacing: -0.03em;
}

.contact-aside p {
    margin: 0 0 1rem;
    color: var(--mute);
    line-height: 1.65;
    font-size: 1.05rem;
}

.contact-mail a {
    color: #ffb2ae;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.contact-form .hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.contact-form .field {
    display: grid;
    gap: 0.4rem;
}

.contact-form label {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(245, 247, 251, 0.88);
}

.contact-form .opt {
    font-weight: 500;
    color: rgba(245, 247, 251, 0.45);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    margin: 0;
    padding: 0.8rem 0.95rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(5, 13, 26, 0.55);
    color: #f5f7fb;
    font: inherit;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(245, 247, 251, 0.35);
}

.contact-form select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.45) 50%),
        linear-gradient(135deg, rgba(255,255,255,.45) 50%, transparent 50%);
    background-position: calc(100% - 1.15rem) 1.15rem, calc(100% - 0.85rem) 1.15rem;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(225, 6, 0, 0.55);
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.18);
}

.contact-form input:user-invalid,
.contact-form select:user-invalid,
.contact-form textarea:user-invalid {
    border-color: rgba(225, 6, 0, 0.65);
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.2);
}

.contact-form input:user-valid,
.contact-form textarea:user-valid {
    border-color: rgba(52, 211, 153, 0.45);
}

.contact-form .field-error {
    display: none;
    margin: 0;
    font-size: 0.82rem;
    line-height: 1.35;
    color: #ffb2ae;
}

.contact-form .field:has(:user-invalid) .field-error {
    display: block;
}

.contact-form textarea {
    resize: vertical;
    min-height: 8.5rem;
}

.contact-note {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(245, 247, 251, 0.45);
    line-height: 1.5;
}

.contact-note a {
    color: #ffb2ae;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.contact-actions .btn:disabled {
    opacity: 0.65;
    cursor: wait;
    transform: none;
}

.contact-feedback {
    margin: 0;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.contact-feedback.is-ok {
    border: 1px solid rgba(52, 211, 153, 0.35);
    background: rgba(52, 211, 153, 0.1);
    color: #a7f3d0;
}

.contact-feedback.is-err {
    border: 1px solid rgba(225, 6, 0, 0.4);
    background: rgba(225, 6, 0, 0.12);
    color: #ffb2ae;
}

@media (max-width: 820px) {
    .contact-wrap { grid-template-columns: 1fr; }
}

.content-footer {
    width: min(920px, calc(100% - clamp(2rem, 8vw, 6rem)));
    margin: 0 auto 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.content-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.content-footer a { color: rgba(255, 255, 255, 0.55); }
.content-footer a:hover { color: #fff; }

.content-page .channels {
    width: min(680px, calc(100% - clamp(2rem, 8vw, 6rem)));
    margin: 2.25rem auto;
    border: 0;
    padding: 0;
}

.content-page .channels ul { justify-content: flex-start; }

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    width: 100%;
    margin: 3rem 0 0;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-strip img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    filter: saturate(0.92) brightness(0.92);
    transition: filter .25s ease, transform .35s ease;
}

.gallery-strip img:hover {
    filter: saturate(1.05) brightness(1);
    transform: scale(1.02);
    z-index: 1;
}

@media (max-width: 960px) {
    .related ul { grid-template-columns: 1fr; }
    .gallery-strip { grid-template-columns: repeat(3, 1fr); }
    .gallery-strip img:nth-child(n+4) { display: none; }
    .hero-media figcaption {
        max-width: none;
        left: clamp(1rem, 4vw, 2rem);
        right: clamp(1rem, 4vw, 2rem);
        text-align: left;
        bottom: auto;
        top: 1rem;
    }
}

@media (max-width: 720px) {
    .article-hero-copy {
        position: relative;
        inset: auto;
        width: min(100%, calc(100% - 2rem));
        margin: 1.5rem auto 1.25rem;
        left: auto;
        padding: 0;
    }

    .article-hero h1 {
        max-width: none;
        text-shadow: none;
    }

    .article-hero .lead {
        color: var(--mute);
        text-shadow: none;
    }

    .hero-media {
        min-height: 220px;
        aspect-ratio: 16 / 10;
        order: -1;
    }

    .article-hero {
        display: flex;
        flex-direction: column;
    }

    .hero-media::after {
        background: linear-gradient(180deg, transparent 40%, rgba(5, 13, 26, 0.55) 100%);
    }

    .hero-media figcaption {
        position: absolute;
        top: auto;
        bottom: 0.75rem;
        left: 0.75rem;
        right: 0.75rem;
    }

    .split-block,
    .split-block.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .split-block img { min-height: 220px; aspect-ratio: 16 / 10; }

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

    .stat {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .stat:last-child { border-bottom: 0; }

    .gallery-strip { grid-template-columns: repeat(2, 1fr); }
    .gallery-strip img:nth-child(n+3) { display: none; }

    .plans-cards { grid-template-columns: 1fr; }
    .plans-hero { padding-inline: 1.25rem; }
}

/* —— Planos (página dinâmica Laravel) —— */
.plans-page {
    width: min(1120px, calc(100% - clamp(2rem, 6vw, 4rem)));
    margin: 0 auto;
    padding: 2.5rem 0 4rem;
}

.plans-hero {
    margin-bottom: 2.5rem;
    max-width: 40rem;
}

.plans-hero .kicker {
    margin: 0 0 0.65rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffb2ae;
}

.plans-hero h1 {
    margin: 0 0 0.85rem;
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 3rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.plans-hero .lead {
    margin: 0;
    color: var(--mute);
    font-size: 1.1rem;
    line-height: 1.6;
}

.plans-empty {
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: var(--mute);
}

.plans-empty a { color: #ffb2ae; font-weight: 700; }

.plans-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.15rem;
    margin-bottom: 3.5rem;
}

.plan-card {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.4rem 1.35rem 1.5rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.plan-card.is-featured {
    border-color: rgba(225, 6, 0, 0.45);
    background:
        linear-gradient(165deg, rgba(225, 6, 0, 0.14), transparent 55%),
        rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 40px rgba(225, 6, 0, 0.12);
}

.plan-badge {
    margin: 0;
    align-self: flex-start;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.plan-card h2 {
    margin: 0;
    font-family: var(--display);
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.plan-tagline {
    margin: 0;
    color: var(--mute);
    font-size: 0.92rem;
    line-height: 1.45;
}

.plan-price {
    margin: 0.35rem 0 0;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.plan-price-value {
    font-family: var(--display);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.plan-price-cycle {
    color: rgba(245, 247, 251, 0.5);
    font-size: 0.95rem;
    font-weight: 600;
}

.plan-price-alt {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(245, 247, 251, 0.45);
}

.plan-desc {
    margin: 0;
    font-size: 0.9rem;
    color: var(--mute);
    line-height: 1.5;
}

.plan-highlights {
    margin: 0.25rem 0 0.5rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
    flex: 1;
}

.plan-highlights li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: rgba(245, 247, 251, 0.82);
    line-height: 1.4;
}

.plan-highlights li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.2);
}

.plan-card .btn { margin-top: auto; width: 100%; }

.plans-compare {
    margin-bottom: 3rem;
}

.plans-compare h2 {
    margin: 0 0 0.5rem;
    font-family: var(--display);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    letter-spacing: -0.03em;
}

.plans-compare-lead {
    margin: 0 0 1.25rem;
    color: var(--mute);
}

.plans-table-wrap {
    overflow-x: auto;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    -webkit-overflow-scrolling: touch;
}

.plans-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
    font-size: 0.92rem;
}

.plans-table th,
.plans-table td {
    padding: 0.85rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    vertical-align: middle;
}

.plans-table thead th {
    font-family: var(--display);
    font-size: 0.95rem;
    font-weight: 700;
    background: rgba(232, 238, 246, 0.06);
    color: #f5f7fb;
}

.plans-table thead th.is-featured { color: #ffb2ae; }

.plans-table tbody th {
    font-weight: 600;
    color: rgba(245, 247, 251, 0.78);
    white-space: nowrap;
}

.plans-table tbody td {
    color: rgba(245, 247, 251, 0.88);
}

.plans-table tbody tr:last-child th,
.plans-table tbody tr:last-child td { border-bottom: 0; }

.plan-yes {
    color: #6ee7b7;
    font-weight: 700;
}

.plan-no {
    color: rgba(245, 247, 251, 0.35);
    font-weight: 600;
}

.plans-cta {
    display: grid;
    gap: 1rem;
    padding: 1.75rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    text-align: center;
}

.plans-cta p {
    margin: 0;
    color: var(--mute);
    font-size: 1.05rem;
}

.plans-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.plans-cta .btn.ghost {
    border-color: rgba(255, 255, 255, 0.22);
    color: #f5f7fb;
}

.plans-cta .btn.ghost:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
}
