/*
 * tailwind-purged.css
 * CSS GERADO MANUALMENTE para substituir o Tailwind CDN (~400KB → ~4KB)
 * Contém APENAS as 45 classes Tailwind efetivamente usadas na LP.
 *
 * COMO USAR:
 * 1. Salve este arquivo em: lpdomain/static/lpdomain/css/tailwind-purged.css
 * 2. No base.html, REMOVA: <script src="https://cdn.tailwindcss.com"></script>
 * 3. No base.html, REMOVA o bloco <script>tailwind.config = {...}</script>
 * 4. No base.html, ADICIONE antes do </head>:
 *    <link rel="stylesheet" href="{% static 'lpdomain/css/tailwind-purged.css' %}">
 *
 * Isso elimina ~400KB de JS render-blocking e reduz o TBT em ~1.5s no mobile.
 */

/* ── Reset base (apenas o necessário) ── */
*,
::before,
::after {
  box-sizing: border-box;
}

/* ── Layout ── */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.inline {
  display: inline;
}

.inline-flex {
  display: inline-flex;
}

/* ── Grid ── */
/* grid-4 NÃO redefinido aqui — já está em style.css com breakpoints corretos */
@media (min-width: 768px) {
  .md\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .md\:col-span-7 {
    grid-column: span 7 / span 7;
  }

  .md\:col-span-5 {
    grid-column: span 5 / span 5;
  }

  .md\:gap-12 {
    gap: 3rem;
  }

  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .lg\:col-span-6 {
    grid-column: span 6 / span 6;
  }
}

/* ── Gap / Spacing ── */
.gap-8 {
  gap: 2rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.ml-4 {
  margin-left: 1rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.p-6 {
  padding: 1.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ── Sizing ── */
.w-full {
  width: 100%;
}

.max-w-3xl {
  max-width: 48rem;
}

/* ── Flexbox ── */
.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

/* ── Typography ── */
.font-sans {
  font-family: Lato, sans-serif;
}

.font-bold {
  font-weight: 700;
}

.font-sans {
  font-family: Lato, ui-sans-serif, system-ui, sans-serif;
}

.text-center {
  text-align: center;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-primary {
  color: #1a5f7a;
}

/* ── Colors ── */
.bg-cinza-geada {
  background-color: #F0F2F5;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-white {
  background-color: #ffffff;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-800 {
  color: #1f2937;
}

.text-gray-900 {
  color: #111827;
}

/* ── Borders ── */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.border-primary {
  border-color: #1a5f7a;
}

.border-t-4 {
  border-top-width: 4px;
  border-top-style: solid;
}

.rounded-lg {
  border-radius: 0.5rem;
}

/* ── Shadows ── */
.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
}

/* ── Transitions ── */
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Interactivity ── */
.cursor-pointer {
  cursor: pointer;
}

.hover\:border-primary:hover {
  border-color: #1a5f7a;
}

/* ── Scroll ── */
.scroll-smooth {
  scroll-behavior: smooth;
}

/* ── Fade-in animation (movido do base.html inline para cá) ── */
.section-hidden {
  opacity: 0;
  transform: translateY(38px);
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .section-hidden {
    transition: none !important;
  }
}