/* ==========================================================================
   LEVLI Agência — Página Gestão de Tráfego Pago e Anúncios
   Carregar DEPOIS de styles.css e servico.css. Só componentes específicos desta página;
   usa os mesmos tokens e reaproveita .svc, .icard, .tl, .faq, .final, .front__list.
   Movimento: sempre discreto e desligado com prefers-reduced-motion.
   ========================================================================== */

/* Abertura: composição de anúncios --------------------------------------- */
.hero__lead + .hero__lead { margin-top: -.5rem; }
.hero__art { display: grid; gap: .75rem; }
.hero__cap { font-size: var(--fs-small); color: rgba(246, 240, 233, .72); text-align: center; }

/* Plataformas ------------------------------------------------------------ */
.plats { display: grid; gap: 1rem; }
.plat {
  background: var(--offwhite); border: 1px solid var(--linha); border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2rem); display: grid; gap: 1rem; align-content: start; min-width: 0;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.plat:hover, .plat:focus-within { border-color: var(--cereja); transform: translateY(-3px); box-shadow: 0 12px 28px -18px rgba(101, 21, 47, .55); }
.plat__top { display: grid; grid-template-columns: 3.5rem 1fr; gap: 1rem; align-items: center; }
.plat__ic { width: 3.5rem; height: 3.5rem; color: var(--cereja); }
.plat__tag { font-size: var(--fs-label); font-weight: 600; letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--cereja); }
.plat h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; }
.plat__desc { color: var(--texto-suave); }
.plat .front__list { grid-template-columns: 1fr; gap: .5rem; font-size: .95rem; }
.plat .front__list li::before { background: var(--cereja); }
.plat--outras { background: transparent; border: 1.5px dashed var(--cereja); }
.plats__note { margin-top: 1.5rem; max-width: 46rem; font-size: .92rem; color: var(--texto-suave); }

/* Soluções (fundo rosa suave, cards claros) ------------------------------ */
.sols { display: grid; gap: 1rem; }
.sol {
  background: var(--offwhite); border: 1px solid var(--linha); border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2rem); display: grid; gap: .9rem; align-content: start; min-width: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sol:hover, .sol:focus-within { transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(101, 21, 47, .6); }
.sol__top { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; align-items: center; }
.sol__ic { width: 3.25rem; height: 3.25rem; color: var(--cereja); transition: color .25s ease, transform .35s ease; }
.sol:hover .sol__ic { color: var(--vinho); transform: rotate(-6deg); }
.sol h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.005em; }
.sol__lead { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1.1rem; line-height: 1.4; color: var(--cereja); }
.sol .front__list { grid-template-columns: 1fr; gap: .45rem; font-size: .94rem; }
.sol .front__list li::before { background: var(--cereja); }
.sol__note { font-size: var(--fs-small); color: var(--texto-suave); padding-top: .9rem; border-top: 1px solid var(--linha); }
.sols__note { margin-top: 1.5rem; max-width: 46rem; font-size: .92rem; color: var(--texto-suave); }

/* Linha do tempo: o fio acende conforme a etapa aparece ----------------- */
.has-reveal .tl__item::before { transition: background-color .6s ease, opacity .6s ease; }
.has-reveal .tl__item.is-in::before { background: var(--cereja); opacity: .8; }

/* Investimento em mídia (fundo vinho) ------------------------------------ */
.invest { display: grid; gap: 1rem; justify-items: center; }
.invest__who { background: var(--offwhite); color: var(--vinho); font-weight: 600; font-size: var(--fs-ui); letter-spacing: .01em; padding: .7rem 1.6rem; border-radius: var(--radius); }
.invest__lines { display: none; width: min(100%, 38rem); height: 2.5rem; color: var(--rosa); }
.invest__cols { display: grid; gap: 1rem; width: 100%; max-width: 46rem; }
.invest__c { border-radius: 10px; padding: clamp(1.5rem, 3vw, 2rem); display: grid; gap: .75rem; align-content: start; min-width: 0; }
.invest__c--l { background: var(--rosa); color: var(--grafite); }
.invest__c--m { border: 1.5px dashed var(--rosa); color: var(--offwhite); }
.invest__tag { justify-self: start; font-size: var(--fs-label); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: .2rem .8rem; border-radius: var(--radius); }
.invest__c--l .invest__tag { background: var(--vinho); color: var(--offwhite); }
.invest__c--m .invest__tag { border: 1px solid var(--rosa); color: var(--rosa); }
.invest__c h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; }
.invest__cap { font-size: var(--fs-small); color: rgba(246, 240, 233, .75); text-align: center; max-width: 36rem; }
.invest__rules { margin-top: clamp(2rem, 5vw, 3rem); display: grid; gap: .9rem 3rem; max-width: 52rem; margin-inline: auto; }
.invest__rules li { display: grid; grid-template-columns: 1.75rem 1fr; gap: .8rem; align-items: start; padding-top: .9rem; border-top: 1px solid var(--linha-escura); color: var(--offwhite); }
.invest__rules svg { width: 1.75rem; height: 1.75rem; color: var(--rosa); }
.svc--dark .invest__intro { max-width: 40rem; display: grid; gap: 1rem; color: rgba(246, 240, 233, .88); }

/* Serviços personalizados ------------------------------------------------ */
.opts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.opt { display: inline-flex; align-items: center; gap: .6rem; background: var(--offwhite); border: 1px solid var(--linha); border-radius: var(--radius); padding: .5rem 1.1rem .5rem .5rem; font-size: .92rem; font-weight: 500; line-height: 1.3; transition: border-color .25s ease, transform .25s ease; }
.opt:hover { border-color: var(--cereja); transform: translateY(-2px); }
.opt svg { width: 1.9rem; height: 1.9rem; color: var(--cereja); flex: none; }
.pers-t__text { display: grid; gap: 1.25rem; max-width: 40rem; color: var(--texto-suave); }
.pers-t__close { color: var(--grafite); font-weight: 500; }
.pers-t__cta { justify-self: start; margin-top: .75rem; }

/* Informações importantes (discretas) ------------------------------------ */
.info { display: grid; gap: 0 3rem; max-width: 62rem; }
.info li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; padding-block: .85rem; border-top: 1px solid var(--linha); color: var(--texto-suave); font-size: .96rem; }
.info li:last-child { border-bottom: 1px solid var(--linha); }
.info svg { width: 1.5rem; height: 1.5rem; color: var(--cereja); margin-top: .1rem; }

@media (min-width: 700px) {
  .plats { grid-template-columns: repeat(2, 1fr); }
  .sols { grid-template-columns: repeat(2, 1fr); }
  .invest__cols { grid-template-columns: 1fr 1fr; }
  .invest__lines { display: block; }
  .invest__rules, .info { grid-template-columns: 1fr 1fr; }
  .info li:nth-last-child(2) { border-bottom: 1px solid var(--linha); }
}
@media (min-width: 1000px) {
  .plats { grid-template-columns: repeat(3, 1fr); }
}

/* Movimento discreto na ilustração da abertura -------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .ad-bar { transform-box: fill-box; transform-origin: 50% 100%; animation: ad-grow .9s cubic-bezier(.2, .7, .2, 1) both; }
  .ad-bar:nth-child(2) { animation-delay: .1s; } .ad-bar:nth-child(3) { animation-delay: .2s; }
  .ad-bar:nth-child(4) { animation-delay: .3s; } .ad-bar:nth-child(5) { animation-delay: .4s; }
  .ad-float { animation: ad-float 7s ease-in-out infinite alternate; }
  .ad-flow { stroke-dasharray: 3 7; animation: ad-flow 2.4s linear infinite; }
  .ad-in { animation: ad-in .8s ease both; }
  .invest__lines path { stroke-dasharray: 4 6; animation: ad-flow 3s linear infinite; }
}
@keyframes ad-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ad-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
@keyframes ad-flow { to { stroke-dashoffset: -20; } }
@keyframes ad-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .plat, .sol, .sol__ic, .opt { transition: none; } .plat:hover, .sol:hover, .opt:hover { transform: none; } }

/* Para quem: cards com estado interativo ---------------------------------- */
.para .icard { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.para .icard:hover { border-color: var(--cereja); transform: translateY(-3px); box-shadow: 0 12px 28px -20px rgba(101, 21, 47, .55); }
@media (prefers-reduced-motion: reduce) { .para .icard { transition: none; } .para .icard:hover { transform: none; } }
