/*
 * tailwind-custom.css  —  v2.0 (rewrite limpo)
 * Substituto do Tailwind CDN (~350KB).
 * Contém APENAS as classes realmente usadas no index.html.
 * Auditado manualmente secção a secção.
 * Sem duplicados. Sem classes não usadas.
 */

/* ═══════════════════════════════════════════════════
   1. DISPLAY
═══════════════════════════════════════════════════ */
.flex          { display: flex; }
.inline-flex   { display: inline-flex; }
.grid          { display: grid; }
.block         { display: block; }
.hidden        { display: none !important; }

/* ═══════════════════════════════════════════════════
   2. FLEX
═══════════════════════════════════════════════════ */
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.flex-1         { flex: 1 1 0%; }
.shrink-0       { flex-shrink: 0; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.items-end      { align-items: flex-end; }
.self-start     { align-self: flex-start; }
.justify-center  { justify-content: center; }
.justify-between { justify-content: space-between; }
.ml-auto        { margin-left: auto; }

/* ═══════════════════════════════════════════════════
   3. GRID
═══════════════════════════════════════════════════ */
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.col-span-2  { grid-column: span 2 / span 2; }

/* ═══════════════════════════════════════════════════
   4. GAP
═══════════════════════════════════════════════════ */
.gap-1    { gap: 0.25rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-2    { gap: 0.5rem; }
.gap-2\.5 { gap: 0.625rem; }
.gap-3    { gap: 0.75rem; }
.gap-4    { gap: 1rem; }
.gap-5    { gap: 1.25rem; }
.gap-6    { gap: 1.5rem; }
.gap-7    { gap: 1.75rem; }
.gap-8    { gap: 2rem; }
.gap-10   { gap: 2.5rem; }
.gap-12   { gap: 3rem; }
.gap-16   { gap: 4rem; }
.gap-\[7px\] { gap: 7px; }

/* ═══════════════════════════════════════════════════
   5. PADDING
═══════════════════════════════════════════════════ */
.p-2    { padding: 0.5rem; }
.px-2   { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3   { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4   { padding-left: 1rem; padding-right: 1rem; }
.px-5   { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6   { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8   { padding-left: 2rem; padding-right: 2rem; }
.py-1   { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2   { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3   { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4   { padding-top: 1rem; padding-bottom: 1rem; }
.py-8   { padding-top: 2rem; padding-bottom: 2rem; }
.py-10  { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-14  { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16  { padding-top: 4rem; padding-bottom: 4rem; }
.py-20  { padding-top: 5rem; padding-bottom: 5rem; }
.py-24  { padding-top: 6rem; padding-bottom: 6rem; }
.py-32  { padding-top: 8rem; padding-bottom: 8rem; }
.pt-6   { padding-top: 1.5rem; }
.pb-10  { padding-bottom: 2.5rem; }

/* ═══════════════════════════════════════════════════
   6. MARGIN
═══════════════════════════════════════════════════ */
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-5  { margin-bottom: 1.25rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-7  { margin-bottom: 1.75rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-14 { margin-bottom: 3.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-0  { margin-top: 0; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1  { margin-top: 0.25rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-3  { margin-top: 0.75rem; }
.mt-4  { margin-top: 1rem; }
.mt-5  { margin-top: 1.25rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.ml-1  { margin-left: 0.25rem; }
.ml-2  { margin-left: 0.5rem; }
.ml-3  { margin-left: 0.75rem; }
.ml-4  { margin-left: 1rem; }
.mr-1  { margin-right: 0.25rem; }
.mr-1\.5 { margin-right: 0.375rem; }
.mr-2  { margin-right: 0.5rem; }

/* space-y-* */
.space-y-2 > * + *   { margin-top: 0.5rem; }
.space-y-2\.5 > * + * { margin-top: 0.625rem; }

/* ═══════════════════════════════════════════════════
   7. SIZING
═══════════════════════════════════════════════════ */
.w-auto { width: auto; }
.w-full { width: 100%; }
.w-2  { width: 0.5rem; }
.w-4  { width: 1rem; }
.w-5  { width: 1.25rem; }
.w-6  { width: 1.5rem; }
.w-8  { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-96 { width: 24rem; }
.h-1  { height: 0.25rem; }
.h-2  { height: 0.5rem; }
.h-4  { height: 1rem; }
.h-5  { height: 1.25rem; }
.h-6  { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-96 { height: 24rem; }

/* max-width */
.max-w-xs    { max-width: 20rem; }
.max-w-2xl   { max-width: 42rem; }
.max-w-3xl   { max-width: 48rem; }
.max-w-5xl   { max-width: 64rem; }
.max-w-7xl   { max-width: 80rem; }
.max-w-\[480px\] { max-width: 480px; }
.max-w-\[540px\] { max-width: 540px; }
.max-w-\[560px\] { max-width: 560px; }
.max-w-\[600px\] { max-width: 600px; }

/* ═══════════════════════════════════════════════════
   8. POSITION
═══════════════════════════════════════════════════ */
.static   { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }
.inset-0  { inset: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0    { top: 0; }
.-top-32  { top: -8rem; }
.-right-32 { right: -8rem; }

/* z-index */
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* ═══════════════════════════════════════════════════
   9. OVERFLOW
═══════════════════════════════════════════════════ */
.overflow-hidden   { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* ═══════════════════════════════════════════════════
   10. TYPOGRAPHY
═══════════════════════════════════════════════════ */
.font-sans      { font-family: 'Nunito', system-ui, sans-serif; }
.antialiased    { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* font-size */
.text-\[10px\] { font-size: 10px; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[17px\] { font-size: 17px; }
.text-xs   { font-size: 0.75rem; line-height: 1rem; }
.text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl   { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl  { font-size: 1.5rem; line-height: 2rem; }
.text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl  { font-size: 2.25rem; line-height: 2.5rem; }

/* font-weight */
.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }
.font-extrabold { font-weight: 800; }
/* Custom numeric weights */
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }
.font-900 { font-weight: 900; }

/* line-height */
.leading-none      { line-height: 1; }
.leading-tight     { line-height: 1.25; }
.leading-\[1\.1\]  { line-height: 1.1; }
.leading-\[1\.8\]  { line-height: 1.8; }
.leading-relaxed   { line-height: 1.625; }

/* letter-spacing */
.tracking-tight   { letter-spacing: -0.025em; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-widest  { letter-spacing: 0.1em; }

/* text-align */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

/* text-transform */
.uppercase { text-transform: uppercase; }

/* font-style */
.italic     { font-style: italic; }
.not-italic { font-style: normal; }

/* text-decoration */
.underline    { text-decoration: underline; }
.line-through { text-decoration: line-through; }

/* white-space */
.whitespace-nowrap { white-space: nowrap; }

/* truncate */
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

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

/* ═══════════════════════════════════════════════════
   11. COLORS — Text
═══════════════════════════════════════════════════ */
.text-white        { color: #ffffff; }
.text-white\/20    { color: rgba(255,255,255,.20); }
.text-white\/25    { color: rgba(255,255,255,.25); }
.text-white\/30    { color: rgba(255,255,255,.30); }
.text-white\/35    { color: rgba(255,255,255,.35); }
.text-white\/40    { color: rgba(255,255,255,.40); }
.text-white\/50    { color: rgba(255,255,255,.50); }
.text-white\/55    { color: rgba(255,255,255,.55); }
.text-white\/65    { color: rgba(255,255,255,.65); }
.text-white\/80    { color: rgba(255,255,255,.80); }
.text-black        { color: #000; }
.text-inherit      { color: inherit; }
.text-gray-300     { color: #D1D5DB; }
.text-gray-400     { color: #9CA3AF; }
.text-gray-500     { color: #6B7280; }
.text-gray-600     { color: #4B5563; }
.text-red-300      { color: #FCA5A5; }
.text-yellow-400   { color: #FACC15; }

/* Brand text colors */
.text-brand-green       { color: #005640; }
.text-brand-green-l     { color: #006e52; }
.text-brand-green-d     { color: #003d2e; }
.text-brand-gold        { color: #84754E; }
.text-brand-gold-l      { color: #9d8c63; }
.text-brand-gold-d      { color: #6b5e3e; }
.text-brand-gold\/50    { color: rgba(132,117,78,.50); }
.text-brand-gold\/60    { color: rgba(132,117,78,.60); }
.text-brand-gold\/70    { color: rgba(132,117,78,.70); }

/* Arbitrary */
.text-\[\#111827\] { color: #111827; }
.text-\[\#374151\] { color: #374151; }
.text-\[\#005640\] { color: #005640; }

/* ═══════════════════════════════════════════════════
   12. COLORS — Background
═══════════════════════════════════════════════════ */
.bg-white          { background-color: #ffffff; }
.bg-white\/10      { background-color: rgba(255,255,255,.10); }
.bg-white\/95      { background-color: rgba(255,255,255,.95); }
.bg-black          { background-color: #000; }
.bg-transparent    { background-color: transparent; }
.bg-gray-50        { background-color: #F9FAFB; }
.bg-emerald-500    { background-color: #10b981; }
.bg-\[\#F8F9FA\]   { background-color: #F8F9FA; }
.bg-\[\#0d0d0d\]   { background-color: #0d0d0d; }

/* Brand backgrounds */
.bg-brand-green     { background-color: #005640; }
.bg-brand-green-l   { background-color: #006e52; }
.bg-brand-green-d   { background-color: #003d2e; }
.bg-brand-green-xs  { background-color: #e6f2ee; }
.bg-brand-gold      { background-color: #84754E; }
.bg-brand-gold-l    { background-color: #9d8c63; }
.bg-brand-gold-xs   { background-color: #f5f0e8; }
.bg-brand-gold\/10  { background-color: rgba(132,117,78,.10); }
.bg-brand-gold\/20  { background-color: rgba(132,117,78,.20); }

/* Gradient backgrounds */
.bg-green-grad {
  background-image: linear-gradient(135deg, #005640 0%, #003d2e 100%);
}
.bg-gold-grad {
  background-image: linear-gradient(90deg, #84754E, #9d8c63);
}
.bg-hero-grid {
  background-image:
    linear-gradient(rgba(0,86,64,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,86,64,.04) 1px, transparent 1px);
}
.bg-\[size\:48px_48px\] { background-size: 48px 48px; }

/* ═══════════════════════════════════════════════════
   13. BORDERS
═══════════════════════════════════════════════════ */
.border    { border-width: 1px; border-style: solid; }
.border-2  { border-width: 2px; border-style: solid; }
.border-t  { border-top-width: 1px; border-top-style: solid; }
.border-b  { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l  { border-left-width: 1px; border-left-style: solid; }

/* border colors */
.border-gray-100        { border-color: #F3F4F6; }
.border-gray-200        { border-color: #E5E7EB; }
.border-white\/8        { border-color: rgba(255,255,255,.08); }
.border-white\/20       { border-color: rgba(255,255,255,.20); }
.border-brand-green     { border-color: #005640; }
.border-brand-gold      { border-color: #84754E; }
.border-brand-gold\/20  { border-color: rgba(132,117,78,.20); }
.border-brand-gold\/30  { border-color: rgba(132,117,78,.30); }

/* ═══════════════════════════════════════════════════
   14. BORDER-RADIUS
═══════════════════════════════════════════════════ */
.rounded          { border-radius: 0.25rem; }
.rounded-md       { border-radius: 0.375rem; }
.rounded-lg       { border-radius: 0.5rem; }
.rounded-xl       { border-radius: 0.75rem; }
.rounded-2xl      { border-radius: 1rem; }
.rounded-3xl      { border-radius: 1.5rem; }
.rounded-full     { border-radius: 9999px; }
.rounded-\[3px\]  { border-radius: 3px; }
.rounded-t-\[3px\] { border-top-left-radius: 3px; border-top-right-radius: 3px; }

/* ═══════════════════════════════════════════════════
   15. SHADOWS
═══════════════════════════════════════════════════ */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,.05); }

/* ═══════════════════════════════════════════════════
   16. OPACITY
═══════════════════════════════════════════════════ */
.opacity-50          { opacity: 0.5; }
.opacity-60          { opacity: 0.6; }
.opacity-75          { opacity: 0.75; }
.opacity-\[0\.04\]   { opacity: 0.04; }

/* ═══════════════════════════════════════════════════
   17. FILTERS
═══════════════════════════════════════════════════ */
.blur-3xl { filter: blur(64px); }

/* ═══════════════════════════════════════════════════
   18. BACKDROP
═══════════════════════════════════════════════════ */
.backdrop-blur {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ═══════════════════════════════════════════════════
   19. TRANSITIONS
═══════════════════════════════════════════════════ */
.transition-all       { transition-property: all; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-colors    { transition-property: color,background-color,border-color; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(.4,0,.2,1); transition-duration: 150ms; }
.duration-300         { transition-duration: 300ms; }

/* ═══════════════════════════════════════════════════
   20. TRANSFORMS / ANIMATIONS
═══════════════════════════════════════════════════ */
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping {
  animation: ping 1s cubic-bezier(0,0,.2,1) infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUp .65s cubic-bezier(.4,0,.2,1) both;
}

/* Scroll reveal (fallback — definido também em style.css) */
.scroll-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1), transform .65s cubic-bezier(.4,0,.2,1);
}
.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   21. CURSOR / POINTER
═══════════════════════════════════════════════════ */
.cursor-pointer     { cursor: pointer; }
.cursor-default     { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.pointer-events-none { pointer-events: none; }
.select-none        { user-select: none; }

/* ═══════════════════════════════════════════════════
   22. MISC
═══════════════════════════════════════════════════ */
.list-none { list-style: none; }

/* ═══════════════════════════════════════════════════
   23. HOVER STATES
═══════════════════════════════════════════════════ */
.hover\:text-white:hover        { color: #fff; }
.hover\:text-white\/50:hover    { color: rgba(255,255,255,.50); }
.hover\:text-white\/65:hover    { color: rgba(255,255,255,.65); }
.hover\:text-brand-green-l:hover { color: #006e52; }
.hover\:text-brand-gold-l:hover { color: #9d8c63; }
.hover\:text-brand-gold:hover   { color: #84754E; }
.hover\:underline:hover         { text-decoration: underline; }

/* ═══════════════════════════════════════════════════
   24. DISABLED STATES
═══════════════════════════════════════════════════ */
.disabled\:opacity-50:disabled { opacity: 0.5; }

/* ═══════════════════════════════════════════════════
   25. GROUP HOVER
═══════════════════════════════════════════════════ */
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

/* ═══════════════════════════════════════════════════
   26. RESPONSIVE — sm: (≥640px)
═══════════════════════════════════════════════════ */
@media (min-width: 640px) {
  .sm\:flex-row      { flex-direction: row !important; }
  .sm\:grid-cols-2   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm\:grid-cols-3   { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sm\:px-8          { padding-left: 2rem; padding-right: 2rem; }
  .sm\:text-3xl      { font-size: 1.875rem; line-height: 2.25rem; }
}

/* ═══════════════════════════════════════════════════
   27. RESPONSIVE — md: (≥768px)
═══════════════════════════════════════════════════ */
@media (min-width: 768px) {
  .md\:flex          { display: flex !important; }
  .md\:inline-flex   { display: inline-flex !important; }
  .md\:hidden        { display: none !important; }
  .md\:flex-row      { flex-direction: row; }
  .md\:w-auto        { width: auto; }
  .md\:mt-0          { margin-top: 0; }
  .md\:mb-0          { margin-bottom: 0; }
  .md\:px-8          { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-24         { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:text-xl       { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-4xl      { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:grid-cols-2   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .md\:grid-cols-3   { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .md\:grid-cols-4   { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .md\:col-span-1    { grid-column: span 1 / span 1; }
  .md\:col-span-2    { grid-column: span 2 / span 2; }
}

/* ═══════════════════════════════════════════════════
   28. RESPONSIVE — lg: (≥1024px)
═══════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .lg\:flex-row      { flex-direction: row; }
  .lg\:items-center  { align-items: center; }
  .lg\:text-left     { text-align: left; }
  .lg\:mx-0          { margin-left: 0; margin-right: 0; }
  .lg\:gap-16        { gap: 4rem; }
  .lg\:grid-cols-2   { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .lg\:grid-cols-3   { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .lg\:grid-cols-4   { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .lg\:col-span-1    { grid-column: span 1 / span 1; }
  .lg\:col-span-2    { grid-column: span 2 / span 2; }
}

/* ═══════════════════════════════════════════════════
   29. RESPONSIVE — xl: (≥1280px)
═══════════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .xl\:gap-24        { gap: 6rem; }
  .xl\:grid-cols-4   { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
