/*
 * MARCOS JOEL REIS - NATIVE STYLESHEET
 * Substitui o Tailwind CDN para máxima performance (PageSpeed).
 */

/* 1. VARIÁVEIS DE TEMA (O SEU BRANDING) */
:root {
  --primary: #e9c176;
  --primary-container: #c5a059;
  --on-primary: #412d00;
  --secondary: #d1c4b8;
  --on-surface: #e5e2e1;
  --background: #131313;
  --surface: #131313;
  --surface-container: #201f1f;
  --surface-container-low: #1c1b1b;
  --surface-bright: #393939;
  --outline-variant: #4e4639;
  --tertiary: #ffb598;
  --headline: 'Noto Serif', serif;
}

/* 2. PREFLIGHT E RESET DE SEGURANÇA */
*, ::before, ::after { box-sizing: border-box; border-width: 0; border-style: solid; border-color: #e5e7eb; margin: 0; padding: 0; }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body { margin: 0; line-height: inherit; font-family: 'Manrope', sans-serif; background-color: var(--background); color: var(--on-surface); overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration: inherit; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; font-weight: inherit; line-height: inherit; color: inherit; margin: 0; padding: 0; background: transparent; }
button, [type='button'], [type='reset'], [type='submit'] { -webkit-appearance: button; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; margin: 0; }

/* 3. UTILITÁRIOS NATIVOS (REPOSIÇÃO DO TAILWIND) */

/* Layout e Posição */
.flex-wrap { flex-wrap: wrap; }
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-8 { top: 2rem; }
.bottom-6 { bottom: 1.5rem; }
.left-1\/2 { left: 50%; }
.right-6 { right: 1.5rem; }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-\[60\] { z-index: 60; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* Adicione esta linha! */
.hidden { display: none; }
.block { display: block; }
.flex-col { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }

/* Alinhamento */
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-items-center { justify-items: center; }

/* Espaçamentos e Gaps */
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-20 { gap: 5rem; }
.gap-24 { gap: 6rem; }

.p-4 { padding: 1rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.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-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }
.pb-6 { padding-bottom: 1.5rem; }

.m-4 { margin: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-10 { margin-left: 2.5rem; margin-right: 2.5rem; }
.my-2 { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-20 { margin-top: 5rem; }
.mt-32 { margin-top: 8rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.ml-2 { margin-left: 0.5rem; }

/* Dimensões */
.w-2\.5 { width: 0.625rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-24 { width: 6rem; }
.w-full { width: 100%; }
.w-\[90\%\] { width: 90%; }
.w-\[95\%\] { width: 95%; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-\[120px\] { max-width: 120px; }

.h-2\.5 { height: 0.625rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-px { height: 1px; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-\[400px\] { height: 400px; }
.min-h-\[120px\] { min-height: 120px; }

/* Imagens e Aspectos */
.aspect-\[9\/16\] { aspect-ratio: 9 / 16; }
.aspect-\[4\/5\] { aspect-ratio: 4 / 5; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }

/* Cores e Backgrounds */

.bg-primary { background-color: var(--primary); }
.bg-primary\/20 { background-color: rgba(233, 193, 118, 0.2); }
.bg-surface-container { background-color: var(--surface-container); }
.bg-surface-container-low { background-color: var(--surface-container-low); }
.bg-surface-container\/80 { background-color: rgba(32, 31, 31, 0.85); }
.bg-surface-bright { background-color: var(--surface-bright); }
.bg-surface-container-highest { background-color: #2b2a2a; }
.bg-background { background-color: var(--background); }
.bg-\[\#131313\] { background-color: #131313; }
.bg-\[\#131313\]\/70 { background-color: rgba(19, 19, 19, 0.7); }
.bg-\[\#131313\]\/95 { background-color: rgba(19, 19, 19, 0.95); }
.bg-outline-variant\/30 { background-color: rgba(78, 70, 57, 0.3); }
.bg-outline-variant\/50 { background-color: rgba(78, 70, 57, 0.5); }

.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }
.from-background { --tw-gradient-from: var(--background); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(19, 19, 19, 0)); }
.via-background\/40 { --tw-gradient-stops: var(--tw-gradient-from), rgba(19, 19, 19, 0.4), var(--tw-gradient-to, rgba(19, 19, 19, 0)); }
.to-transparent { --tw-gradient-to: transparent; }
.from-surface-container-high { --tw-gradient-from: #2b2a2a; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(43, 42, 42, 0)); }
.to-surface-container-low { --tw-gradient-to: var(--surface-container-low); }

/* Bordas */
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-outline-variant { border-color: var(--outline-variant); }
.border-outline-variant\/20 { border-color: rgba(78, 70, 57, 0.2); }
.border-outline-variant\/30 { border-color: rgba(78, 70, 57, 0.3); }
.border-outline-variant\/40 { border-color: rgba(78, 70, 57, 0.4); }
.border-outline-variant\/50 { border-color: rgba(78, 70, 57, 0.5); }
.border-primary\/30 { border-color: rgba(233, 193, 118, 0.3); }

/* Novas classes de arredondamento */
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 1rem; }
.rounded-2xl { border-radius: 1.5rem; }
.rounded-3xl { border-radius: 2rem; }
.rounded-full { border-radius: 9999px; }

/* Tipografia */
.text-primary { color: var(--primary); }
.text-on-primary { color: var(--on-primary); }
.text-secondary { color: var(--secondary); }
.text-secondary\/50 { color: rgba(209, 196, 184, 0.5); }
.text-secondary\/70 { color: rgba(209, 196, 184, 0.7); }
.text-tertiary { color: var(--tertiary); }
.text-on-surface { color: var(--on-surface); }
.text-on-surface\/90 { color: rgba(229, 226, 225, 0.9); }

.text-\[10px\] { font-size: 10px; line-height: 14px; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.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; }
.text-5xl { font-size: 3rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-headline { font-family: var(--headline); }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.text-center { text-align: center; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.tracking-\[0\.4em\] { letter-spacing: 0.4em; }

/* Efeitos Visuais */
.opacity-0 { opacity: 0; }
.opacity-40 { opacity: 0.4; }
.opacity-80 { opacity: 0.8; }
.opacity-100 { opacity: 1; }

.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }

.backdrop-blur-xl { backdrop-filter: blur(24px); }
.backdrop-blur-3xl { backdrop-filter: blur(64px); }

/* Transições e Animações */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-1000 { transition-duration: 1000ms; }

.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-full { transform: translateY(-100%); }
.scale-125 { transform: scale(1.25); }
.transform-gpu { transform: translateZ(0); }

/* Interação */
.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }
.cursor-grab { cursor: grab; }
.resize-y { resize: vertical; }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.grayscale { filter: grayscale(100%); }

/* 4. ESTADOS (HOVER E FOCUS) */
.hover\:bg-primary:hover { background-color: var(--primary); }
.hover\:bg-primary-container:hover { background-color: var(--primary-container); }
.hover\:bg-surface-bright:hover { background-color: var(--surface-bright); }
.hover\:bg-outline-variant:hover { background-color: var(--outline-variant); }
.hover\:text-primary:hover { color: var(--primary); }
.hover\:text-on-primary:hover { color: var(--on-primary); }
.hover\:border-primary:hover { border-color: var(--primary); }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:grayscale-0:hover { filter: grayscale(0); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

.focus\:border-primary:focus { border-color: var(--primary); }
.focus\:ring-1:focus { box-shadow: 0 0 0 1px var(--primary); }
.focus\:ring-primary:focus { outline: 1px solid var(--primary); }

/* 5. DESIGN RESPONSIVO (MEDIA QUERIES) */
@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:text-xs { font-size: 0.75rem; line-height: 1rem; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }

  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:px-24 { padding-left: 6rem; padding-right: 6rem; }
  .md\:gap-6 { gap: 1.5rem; }

  .md\:w-auto { width: auto; }
  .md\:w-full { width: 100%; }
  .md\:min-w-\[800px\] { min-width: 800px; }

  .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

@media (min-width: 1024px) {
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
}

/* 6. ANIMAÇÕES DO SITE (CUSTOM) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--outline-variant); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Adicione isto ao final do seu style.css */

.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 1rem !important; }
.rounded-2xl { border-radius: 1.5rem !important; }
.rounded-3xl { border-radius: 2rem !important; }
.rounded-full { border-radius: 9999px !important; }

/* Garante que a imagem não "escape" das bordas redondas do contentor */
.overflow-hidden {
    overflow: hidden !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black); /* Hack para Safari/iOS */
}