/* ============================================
   LANDING PAGES — Link TI Design System
   Shared CSS for all service landing pages
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- Reset & Variables --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: hsl(0, 84%, 40%);
  --primary-hover: hsl(0, 84%, 33%);
  --primary-light: hsl(0, 80%, 96%);
  --whatsapp: hsl(142, 70%, 49%);
  --whatsapp-hover: hsl(142, 70%, 42%);
  --foreground: hsl(222, 47%, 11%);
  --muted: hsl(220, 14%, 96%);
  --muted-fg: hsl(215, 16%, 47%);
  --border: hsl(214, 32%, 91%);
  --bg: #ffffff;
  --card-bg: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 14px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --radius: .75rem;
  --max-w: 1140px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--foreground); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }

/* --- Utilities --- */
.container-lp { max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }

/* --- Animations --- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeUp .6s ease-out both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* --- Navbar --- */
.lp-navbar { background: var(--bg); border-bottom: 1px solid var(--border); padding: .875rem 0; position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-sm); }
.lp-navbar .container-lp { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lp-navbar .logo-link { display: flex; align-items: center; gap: .75rem; }
.lp-navbar .logo-link img { height: 36px; width: auto; }
.lp-navbar .nav-cta { display: inline-flex; align-items: center; gap: .5rem; background: var(--whatsapp); color: #fff !important; padding: .625rem 1.25rem; border-radius: .5rem; font-weight: 600; font-size: .9rem; transition: all .2s; white-space: nowrap; }
.lp-navbar .nav-cta:hover { background: var(--whatsapp-hover); transform: translateY(-1px); }
.logo-group { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.lp-navbar .nav-tagline { font-size: .8rem; color: var(--muted-fg); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- Breadcrumb --- */
.breadcrumb { padding: .75rem 0; font-size: .85rem; color: var(--muted-fg); }
.breadcrumb a { color: var(--muted-fg); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 .4rem; }

/* --- AASP Badge --- */
.aasp-badge { display: inline-flex; align-items: center; gap: .5rem; background: var(--primary-light); color: var(--primary); font-size: .8rem; font-weight: 600; padding: .4rem 1rem; border-radius: 2rem; border: 1px solid hsl(0, 60%, 90%); margin-bottom: 1.25rem; letter-spacing: .01em; }
.aasp-badge svg { width: 16px; height: 16px; flex-shrink: 0; }

/* --- Hero --- */
.lp-hero { padding: 3.5rem 0 4rem; background: linear-gradient(170deg, var(--primary-light) 0%, var(--bg) 60%); position: relative; overflow: hidden; }
.lp-hero::after { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; background: radial-gradient(circle, hsla(0,84%,40%,.04) 0%, transparent 70%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-text h1 { font-size: 2.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 1rem; color: var(--foreground); }
.hero-text h1 span { color: var(--primary); }
.hero-text .lead { font-size: 1.125rem; color: var(--muted-fg); margin-bottom: 2rem; line-height: 1.7; }
.hero-img { text-align: center; }
.hero-img img { max-width: 380px; margin: 0 auto; border-radius: var(--radius); }

/* --- Buttons --- */
.btn-lp { display: inline-flex; align-items: center; gap: .5rem; padding: .875rem 1.75rem; border-radius: .5rem; font-weight: 600; font-size: 1rem; border: none; cursor: pointer; transition: all .2s ease; text-decoration: none; }
.btn-lp svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-whatsapp-lp { background: var(--whatsapp); color: #fff !important; box-shadow: 0 3px 12px rgba(37,211,102,.3); }
.btn-whatsapp-lp:hover { background: var(--whatsapp-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,.35); color: #fff !important; }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.cta-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Sections --- */
.lp-section { padding: 4.5rem 0; }
.lp-section.alt-bg { background: var(--muted); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2rem; font-weight: 700; margin-bottom: .75rem; }
.section-header p { font-size: 1.1rem; color: var(--muted-fg); max-width: 600px; margin: 0 auto; }

/* --- Pricing Cards --- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pricing-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; transition: all .3s ease; position: relative; }
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.pricing-card.featured::before { content: 'Mais procurado'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .75rem; font-weight: 600; padding: .25rem .875rem; border-radius: 2rem; white-space: nowrap; }
.pricing-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: .5rem; }
.pricing-card .price { font-size: 2rem; font-weight: 800; color: var(--primary); margin: 1rem 0 .5rem; }
.pricing-card .price small { font-size: .85rem; font-weight: 500; color: var(--muted-fg); display: block; margin-top: .25rem; }
.pricing-card .card-note { font-size: .85rem; color: var(--muted-fg); margin-bottom: 1.25rem; }
.pricing-card .btn-lp { width: 100%; justify-content: center; }
.pricing-disclaimer { text-align: center; font-size: .8rem; color: var(--muted-fg); margin-top: 1.5rem; padding: 0 1rem; line-height: 1.6; }

/* --- Process Steps --- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step-card { text-align: center; padding: 1.5rem 1rem; position: relative; }
.step-card::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 1.25rem; margin: 0 auto 1rem; }
.step-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.step-card p { font-size: .9rem; color: var(--muted-fg); }

/* --- Benefits / Features --- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.benefit-card { padding: 1.75rem; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); transition: all .3s; }
.benefit-card:hover { border-color: var(--primary); box-shadow: 0 4px 12px rgba(204,39,39,.08); }
.benefit-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; color: var(--primary); }
.benefit-icon svg { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; }
.benefit-card p { font-size: .9rem; color: var(--muted-fg); line-height: 1.6; }

/* --- Info Box (What Apple Replaces) --- */
.info-box { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.info-box h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
.info-box p { color: var(--muted-fg); margin-bottom: 1rem; line-height: 1.7; }
.info-list { list-style: none; }
.info-list li { padding: .5rem 0; padding-left: 1.75rem; position: relative; color: var(--muted-fg); font-size: .95rem; }
.info-list li::before { content: '✓'; position: absolute; left: 0; color: var(--whatsapp); font-weight: 700; }

/* --- FAQ Accordion (CSS-only) --- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-toggle { display: none; }
.faq-label { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 0; cursor: pointer; font-weight: 600; font-size: 1rem; color: var(--foreground); transition: color .2s; user-select: none; }
.faq-label:hover { color: var(--primary); }
.faq-label::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--muted-fg); transition: transform .3s; flex-shrink: 0; margin-left: 1rem; }
.faq-toggle:checked + .faq-label::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; }
.faq-answer-inner { padding: 0 0 1.25rem; color: var(--muted-fg); line-height: 1.7; font-size: .95rem; }
.faq-toggle:checked ~ .faq-answer { max-height: 300px; }

/* --- Reviews --- */
.reviews-grid-lp { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.review-card-lp { background: var(--card-bg); padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.review-stars { color: #f59e0b; font-size: 1.15rem; margin-bottom: .75rem; letter-spacing: 2px; }
.review-text { font-size: .95rem; color: var(--muted-fg); line-height: 1.6; margin-bottom: .75rem; }
.review-author { font-size: .85rem; font-weight: 600; color: var(--foreground); }

/* --- CTA Final --- */
.cta-final { background: var(--foreground); color: #fff; padding: 4rem 0; text-align: center; }
.cta-final h2 { font-size: 2rem; font-weight: 700; margin-bottom: .75rem; color: #fff; }
.cta-final p { color: hsla(0,0%,100%,.7); font-size: 1.1rem; margin-bottom: 2rem; }

/* --- Footer --- */
.lp-footer { background: var(--foreground); border-top: 1px solid hsla(0,0%,100%,.1); color: hsla(0,0%,100%,.6); padding: 1.5rem 0; text-align: center; font-size: .85rem; }
.lp-footer a { color: hsla(0,0%,100%,.8); text-decoration: underline; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-img { order: -1; }
  .hero-img img { max-width: 260px; }
  .hero-text h1 { font-size: 2rem; }
  .cta-group { justify-content: center; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .pricing-grid.cols-4 { grid-template-columns: 1fr 1fr; max-width: 100%; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .info-box { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .lp-hero { padding: 2.5rem 0 3rem; }
  .hero-text h1 { font-size: 1.65rem; }
  .hero-text .lead { font-size: 1rem; }
  .lp-section { padding: 3rem 0; }
  .section-header h2 { font-size: 1.5rem; }
  .steps-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .cta-group { flex-direction: column; }
  .btn-lp { width: 100%; justify-content: center; }
  .lp-navbar .nav-cta span { display: none; }
  .lp-navbar .nav-tagline { display: none; }
}
