@import "./globals.css";

/* --- Variáveis: paleta minimalista, nicho cristão (confiança, serenidade) --- */
:root {
    --cream: hsl(40, 25%, 97%);
    --cream-dark: hsl(40, 20%, 92%);
    --navy: hsl(220, 25%, 18%);
    --navy-soft: hsl(220, 18%, 28%);
    --sage: hsl(150, 18%, 38%);
    --sage-light: hsl(150, 22%, 94%);
    --gold: hsl(38, 45%, 48%);
    --gold-light: hsl(38, 35%, 92%);
    --text: hsl(220, 18%, 22%);
    --text-muted: hsl(220, 12%, 42%);
    --white: hsl(0, 0%, 100%);
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --radius: 10px;
    --radius-btn: 8px;
    --space-section: 4rem;
    --space-narrow: 2rem;
}

/* --- Top offer countdown --- */
.top-countdown {
    position: sticky;
    top: 0;
    z-index: 95;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    flex-wrap: wrap;
    padding: 0.6rem 1rem;
    background: #780606;
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}
.top-countdown-label {
    white-space: nowrap;
    color: hsl(0deg 0% 82.2%);
}
.top-countdown-timer {
    font-variant-numeric: tabular-nums;
    min-width: 3ch;
    font-weight: 600;
}

/* --- Real-time sales notifications --- */
.sales-notifications {
    position: fixed;
    top: 3rem; /* below top countdown bar */
    left: 1rem;
    right: 1rem;
    max-width: 340px;
    margin: 0 auto;
    z-index: 96; /* above top-countdown (95) so never covered */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
@media (min-width: 480px) {
    .sales-notifications {
        left: auto;
        right: 1rem;
        margin: 0;
    }
}
.sales-notification {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-left: 3px solid var(--sage);
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.sales-notification.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.sales-notification-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--sage);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}
.sales-notification-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.sales-notification-text {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.35;
}
.sales-notification-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Hero --- */
.hero {
    width: 100%;
    min-height: 100dvh;
    background: var(--cream);
    padding: var(--space-section) 0;
    display: flex;
    align-items: center;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-section);
    align-items: center;
}
@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}
.hero-logo {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 1rem;
}
.hero-text .tag {
    display: inline-block;
    background: var(--sage-light);
    color: var(--sage);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}
.hero-text h1 {
    font-size: clamp(1.625rem, 3.5vw, 2.25rem);
    font-weight: 600;
    color: var(--navy);
    line-height: 1.3;
    margin-bottom: 1rem;
}
.hero-sub {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.hero-intro {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 1.25rem;
}
.hero-bullets {
    list-style: none;
    margin-bottom: 1.5rem;
    padding: 0;
}
.hero-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 0.625rem;
}
.hero-bullets li:last-child {
    margin-bottom: 0;
}
.hero-bullets-ico {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--sage);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
}
.hero-bullets-ico::before {
    content: "✓";
}
.hero-bullets-text {
    flex: 1;
    min-width: 0;
}
.btn-primary {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--sage);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-btn);
    text-align: center;
    transition: background 0.2s, opacity 0.2s;
}
.btn-primary:hover {
    background: hsl(150, 18%, 32%);
    opacity: 0.98;
}
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--sage);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border-radius: var(--radius-btn);
    border: 1.5px solid var(--sage);
    text-align: center;
    transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover {
    background: var(--sage-light);
    color: var(--sage);
}
.hero-img-placeholder {
    aspect-ratio: 4/3;
    background: var(--cream-dark);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}
.hero-img-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
}

/* --- Seções genéricas --- */
.secao {
    padding: 3.5rem 0;
}
.titulo-secao {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* --- Problema --- */
.secao-problema {
    background: var(--white);
}
.problema-texto {
    max-width: 560px;
    margin: 0 auto 1.5rem;
    text-align: center;
}
.problema-texto p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.problema-lista {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}
.problema-lista li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 10px 16px;
    background: var(--cream);
    border-radius: var(--radius);
    text-align: center;
    min-width: 0;
    word-wrap: break-word;
}
@media (min-width: 480px) {
    .problema-lista {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 24px;
        max-width: none;
    }
    .problema-lista li {
        padding: 8px 16px;
        border-radius: 999px;
    }
}

/* --- Ponte fé --- */
.secao-ponte {
    background: var(--sage-light);
}
.ponte-texto {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.ponte-texto p {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.65;
    margin-bottom: 1rem;
}

/* --- Produto --- */
.secao-produto {
    background: var(--cream);
}
.produto-desc ul {
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
}
.produto-desc li {
    font-size: 1.1rem;
    color: var(--text);
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
}
.produto-desc li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--sage);
    font-weight: 700;
}

/* --- Benefícios --- */
.secao-beneficios {
    background: var(--white);
}
.beneficio-destaque {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--sage);
    text-align: center;
    margin-bottom: 1.25rem;
}
.beneficios-lista {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 520px;
    margin: 0 auto;
    padding: 0;
    border: 1px solid var(--cream-dark);
    border-radius: var(--radius);
    overflow: hidden;
}
.beneficios-lista li {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.5;
    padding: 0.875rem 1rem;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
}
.beneficios-lista li:last-child {
    border-bottom: none;
}
.beneficios-lista-ico {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
    margin-top: 1px;
    background: transparent;
    color: var(--sage);
    border: 2px solid var(--sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}
.beneficios-lista-ico::before {
    content: "✓";
}
.beneficios-lista-text {
    flex: 1;
    min-width: 0;
}
@media (min-width: 480px) {
    .beneficios-lista {
        grid-template-columns: 1fr 1fr;
        gap: 0;
        max-width: 640px;
    }
    .beneficios-lista li:nth-child(odd) {
        border-right: 1px solid var(--cream-dark);
    }
    .beneficios-lista li:nth-child(5),
    .beneficios-lista li:nth-child(6) {
        border-bottom: none;
    }
}

/* --- Gallery --- */
.secao-galeria {
    background: var(--cream);
}
.gallery-carousel {
    margin-bottom: 1rem;
    padding-bottom: 2.5rem;
    overflow: hidden;
}
.gallery-carousel .swiper-slide {
    height: auto;
}
.gallery-carousel .gallery-placeholder {
    aspect-ratio: 3/4;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.gallery-carousel .gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

..swiper-pagination {
    position: relative !important;
}

.gallery-carousel .swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.4;
    width: 8px;
    height: 8px;
}
.gallery-carousel .swiper-pagination-bullet-active {
    background: var(--sage);
    opacity: 1;
}
.gallery-carousel .swiper-button-prev,
.gallery-carousel .swiper-button-next {
    color: var(--sage);
}
.gallery-carousel .swiper-button-prev::after,
.gallery-carousel .swiper-button-next::after {
    font-size: 1.25rem;
}
.gallery-caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
}

/* --- Depoimentos --- */
.secao-depoimentos {
    background: var(--sage-light);
}
.depoimentos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .depoimentos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.depoimento {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--sombra);
    border: none;
}
.depoimento .estrelas {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}
.depoimento p {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-style: italic;
}
.depoimento-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    border: none;
}
.depoimento-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.depoimento cite {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: normal;
}

/* --- Oferta --- */
.secao-oferta {
    background: var(--white);
}
.oferta-box {
    max-width: 400px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--cream);
    border-radius: var(--radius);
    border: 1px solid var(--cream-dark);
}
.oferta-original {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.oferta-atual {
    font-size: 1.5rem;
    color: var(--text);
    margin-bottom: 1rem;
}
.oferta-atual strong {
    color: var(--sage);
}
.oferta-frase {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 1.5rem;
}
.oferta-box .btn-primary {
    width: 100%;
}

/* --- Urgency + countdown --- */
.secao-urgencia {
    background: linear-gradient(180deg, var(--sage) 0%, hsl(150, 18%, 30%) 100%);
    color: var(--white);
}
.urgencia-titulo {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}
.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    min-width: 80px;
}
.countdown-item span {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}
.countdown-item small {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 4px;
}
.urgencia-aviso {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}
.secao-urgencia .btn-primary {
    display: block;
    max-width: 280px;
    margin: 0 auto;
    background: var(--white);
    color: var(--sage);
}
.secao-urgencia .btn-primary:hover {
    background: var(--cream);
}

/* --- FAQ --- */
.secao-faq {
    background: var(--cream);
}
.faq-lista {
    max-width: 560px;
    margin: 0 auto;
}
.faq-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--cream-dark);
}
.faq-item:last-child {
    border-bottom: none;
}
.faq-item dt {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}
.faq-item dd {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --- CTA final --- */
.secao-cta-final {
    background: linear-gradient(180deg, var(--navy) 0%, hsl(220, 25%, 12%) 100%);
    color: var(--white);
    text-align: center;
}
.cta-final-headline {
    font-size: clamp(1.375rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--white);
}
.btn-grande {
    font-size: 1.1rem;
    padding: 18px 32px;
}

/* --- Download page (thank you + PDF) --- */
.download-page {
    min-height: 100dvh;
    background: var(--cream);
    padding: var(--space-section) 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.download-card {
    max-width: 420px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--cream-dark);
    text-align: center;
}
.download-logo {
    display: block;
    width: 100%;
    max-width: 180px;
    height: auto;
    margin: 0 auto 1.5rem;
}
.download-title {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.download-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.btn-download {
    display: inline-block;
    width: 100%;
    padding: 1rem 1.75rem;
    font-size: 1.0625rem;
}
.download-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1.25rem;
    line-height: 1.4;
}

/* --- Footer --- */
.footer {
    padding: var(--space-narrow) 1.5rem;
    background: var(--navy);
    color: hsl(220, 15%, 78%);
    text-align: center;
    font-size: 0.875rem;
}
