/* ==============================================================
   LANDING PAGE — TRILHA SONORA PERSONALIZADA
   CSS isolado, prefixo .trilhalp-, carregado apenas nesta página.
   ============================================================== */

/* O tema não define box-sizing:border-box global — sem isso, botões e
   cartões com padding/borda em width:100% (mobile) extrapolam o container.
   Reset local, restrito a esta página, para garantir zero overflow. */
.trilhalp-page,
.trilhalp-page *,
.trilhalp-page *::before,
.trilhalp-page *::after {
    box-sizing: border-box;
}

/* ---------- HERO ---------- */

.trilhalp-hero {
    overflow: visible;
}

.trilhalp-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
    gap: 56px;
    align-items: center;
}

.trilhalp-hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 34px;
    padding: 20px 0 40px;
}

.trilhalp-speaker {
    position: relative;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trilhalp-speaker__waves {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--color-accent);
}

.trilhalp-speaker__waves circle {
    stroke-width: 1.4;
    transform-origin: 46px 60px;
    opacity: 0;
    animation: trilhalp-wave-out 2.6s ease-out infinite;
}

.trilhalp-speaker__waves circle:nth-child(1) { animation-delay: 0s; }
.trilhalp-speaker__waves circle:nth-child(2) { animation-delay: 0.6s; }
.trilhalp-speaker__waves circle:nth-child(3) { animation-delay: 1.2s; }

@keyframes trilhalp-wave-out {
    0% { opacity: 0.55; transform: scale(0.7); }
    80% { opacity: 0; }
    100% { opacity: 0; transform: scale(1.15); }
}

.trilhalp-speaker__icon {
    position: relative;
    width: 62px;
    height: 62px;
    color: var(--color-accent);
    filter: drop-shadow(0 6px 18px rgba(184, 132, 0, 0.35));
}

.trilhalp-waveform {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 54px;
}

.trilhalp-waveform span {
    width: 5px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--color-accent), rgba(184, 132, 0, 0.35));
    animation: trilhalp-bar 1.4s ease-in-out infinite;
}

.trilhalp-waveform span:nth-child(odd) { animation-duration: 1.1s; }
.trilhalp-waveform span:nth-child(3n) { animation-duration: 1.6s; }
.trilhalp-waveform span:nth-child(1) { height: 30%; animation-delay: 0s; }
.trilhalp-waveform span:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.trilhalp-waveform span:nth-child(3) { height: 90%; animation-delay: 0.2s; }
.trilhalp-waveform span:nth-child(4) { height: 45%; animation-delay: 0.3s; }
.trilhalp-waveform span:nth-child(5) { height: 100%; animation-delay: 0.4s; }
.trilhalp-waveform span:nth-child(6) { height: 55%; animation-delay: 0.5s; }
.trilhalp-waveform span:nth-child(7) { height: 75%; animation-delay: 0.15s; }
.trilhalp-waveform span:nth-child(8) { height: 40%; animation-delay: 0.25s; }
.trilhalp-waveform span:nth-child(9) { height: 95%; animation-delay: 0.35s; }
.trilhalp-waveform span:nth-child(10) { height: 60%; animation-delay: 0.45s; }
.trilhalp-waveform span:nth-child(11) { height: 35%; animation-delay: 0.05s; }
.trilhalp-waveform span:nth-child(12) { height: 80%; animation-delay: 0.55s; }
.trilhalp-waveform span:nth-child(13) { height: 50%; animation-delay: 0.2s; }
.trilhalp-waveform span:nth-child(14) { height: 100%; animation-delay: 0.1s; }
.trilhalp-waveform span:nth-child(15) { height: 65%; animation-delay: 0.4s; }
.trilhalp-waveform span:nth-child(16) { height: 40%; animation-delay: 0.3s; }
.trilhalp-waveform span:nth-child(17) { height: 70%; animation-delay: 0.5s; }
.trilhalp-waveform span:nth-child(18) { height: 30%; animation-delay: 0.6s; }

@keyframes trilhalp-bar {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
    .trilhalp-waveform span,
    .trilhalp-speaker__waves circle {
        animation: none;
    }
}

.trilhalp-hero__badge {
    display: inline-block;
    max-width: 320px;
    text-align: center;
    padding: 12px 22px;
    background: rgba(184, 132, 0, 0.12);
    border: 1px solid rgba(184, 132, 0, 0.4);
    color: var(--color-accent);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    border-radius: 14px;
}

/* ---------- SEÇÃO GENÉRICA ---------- */

.trilhalp-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
}

.trilhalp-section-title {
    font-size: clamp(28px, 3vw, 44px);
    color: var(--color-primary);
    letter-spacing: -1.5px;
    margin-bottom: 14px;
}

.trilhalp-section-sub {
    font-size: 17px;
    color: #666;
    line-height: 1.7;
}

/* ---------- PREÇOS ---------- */

.trilhalp-pricing {
    background: var(--color-white);
    padding: 100px 0;
}

.trilhalp-pricing__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 640px;
    margin: 0 auto 40px;
}

.trilhalp-pricing__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 34px 24px;
    background: var(--color-bg);
    border: 1px solid rgba(33, 58, 40, 0.08);
    border-radius: 18px;
}

.trilhalp-pricing__card--principal {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-color: transparent;
}

.trilhalp-pricing__card--principal .trilhalp-pricing__label,
.trilhalp-pricing__card--principal .trilhalp-pricing__valor {
    color: var(--color-white);
}

.trilhalp-pricing__label {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.trilhalp-pricing__valor {
    font-size: 38px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.trilhalp-pricing__obs {
    font-size: 12.5px;
    color: var(--color-accent);
    font-weight: 700;
}

.trilhalp-pricing__examples {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    max-width: 780px;
    margin: 0 auto 30px;
}

.trilhalp-pricing__examples div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 10px;
    background: var(--color-bg);
    border-radius: 14px;
    text-align: center;
}

.trilhalp-pricing__examples span {
    font-size: 12.5px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.trilhalp-pricing__examples strong {
    font-size: 19px;
    color: var(--color-primary);
    font-weight: 800;
}

.trilhalp-pricing__note {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    font-style: italic;
}

.trilhalp-pricing__prazos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.trilhalp-prazo {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px 22px;
    border-left: 4px solid var(--color-accent);
    background: var(--color-bg);
    border-radius: 0 14px 14px 0;
}

.trilhalp-prazo strong {
    color: var(--color-primary);
    font-size: 17px;
}

.trilhalp-prazo span {
    color: #666;
    font-size: 13.5px;
    line-height: 1.55;
}

/* ---------- FAQ ---------- */

.trilhalp-faq {
    background: var(--color-bg);
    padding: 100px 0;
}

.trilhalp-faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trilhalp-faq-item {
    background: var(--color-white);
    border: 1px solid rgba(33, 58, 40, 0.08);
    border-radius: 14px;
    padding: 6px 26px;
}

.trilhalp-faq-item summary {
    padding: 20px 0;
    cursor: pointer;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 16px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.trilhalp-faq-item summary::-webkit-details-marker {
    display: none;
}

.trilhalp-faq-item summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 400;
    color: var(--color-accent);
    transition: transform 0.25s ease;
}

.trilhalp-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.trilhalp-faq-item p {
    padding-bottom: 22px;
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* ==============================================================
   RESPONSIVO
   ============================================================== */

@media (max-width: 960px) {
    .trilhalp-hero__grid {
        grid-template-columns: 1fr;
    }

    .trilhalp-hero__visual {
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .trilhalp-pricing__grid {
        grid-template-columns: 1fr;
    }

    .trilhalp-pricing__examples {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trilhalp-pricing__prazos {
        grid-template-columns: 1fr;
    }

    section.trilhalp-pricing,
    section.trilhalp-faq {
        padding: 64px 0;
    }
}

@media (max-width: 420px) {
    .trilhalp-speaker {
        width: 120px;
        height: 120px;
    }

    .trilhalp-speaker__icon {
        width: 50px;
        height: 50px;
    }
}
