/* styles.css */

/* 1. Reset Básico & Variáveis (Base Tailwind) */
:root {
  --brand-50: #fdf2f8;
  --brand-100: #fce7f3;
  --brand-200: #fbcfe8; /* Adicionado para seleção */
  --brand-300: #f9a8d4; /* Adicionado para ícone quote */
  --brand-400: #f472b6;
  --brand-500: #ec4899;
  --brand-600: #db2777;
  --brand-700: #be185d;
  --brand-900: #831843;
}

*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: 'Inter', sans-serif; /* Padrão definido no config */
}

body {
  margin: 0;
  line-height: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, [role="button"] {
  cursor: pointer;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

/* 2. Classes Utilitárias Extraídas do HTML */

/* Layout & Posicionamento */
.absolute { position: absolute; }
.relative { position: relative; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.-bottom-4 { bottom: -1rem; }
.-right-4 { right: -1rem; }
.left-1\/2 { left: 50%; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

.container, .max-w-5xl { max-width: 64rem; } /* 5xl */
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-\[200px\] { max-width: 200px; }
.max-w-none { max-width: none; }
.w-full { width: 100%; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; } /* md:w-40 */
.h-32 { height: 8rem; }
.h-40 { height: 10rem; } /* md:h-40 */
.h-full { height: 100%; }
.h-1 { height: 0.25rem; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.w-14 { width: 3.5rem; }
.h-14 { height: 3.5rem; }
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.w-10 { width: 2.5rem; }
.h-10 { height: 2.5rem; }
.w-8 { width: 2rem; }
.h-8 { height: 2rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.min-h-screen { min-height: 100vh; }
.min-h-\[3\.5rem\] { min-height: 3.5rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.my-10 { margin-top: 2.5rem; margin-bottom: 2.5rem; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }
.mt-0\.5 { margin-top: 0.125rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-20 { margin-top: 5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.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; }
.-space-x-2 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; margin-right: calc(-0.5rem * var(--tw-space-x-reverse)); margin-left: calc(-0.5rem * (1 - var(--tw-space-x-reverse))); }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(0.75rem * (1 - var(--tw-space-y-reverse))); margin-bottom: calc(0.75rem * var(--tw-space-y-reverse)); }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(1rem * (1 - var(--tw-space-y-reverse))); margin-bottom: calc(1rem * var(--tw-space-y-reverse)); }

.p-1 { padding: 0.25rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.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-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.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-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-4 { padding-top: 1rem; }
.pt-32 { padding-top: 8rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-16 { padding-bottom: 4rem; }
.pl-3 { padding-left: 0.75rem; }

/* Flexbox & Grid */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.block { display: block; }
.hidden { display: none; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.flex-col { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.flex-1 { flex: 1 1 0%; }

.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Tipografia */
.font-sans { font-family: 'Inter', sans-serif; }
.font-serif { font-family: 'Playfair Display', serif; }

.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; }
.text-5xl { font-size: 3rem; line-height: 1; }

.font-light { font-weight: 300; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.underline { text-decoration-line: underline; }
.line-through { text-decoration-line: line-through; }
.whitespace-nowrap { white-space: nowrap; }

/* Cores (Texto) */
.text-white { color: #ffffff; }
.text-stone-300 { color: #d6d3d1; }
.text-stone-400 { color: #a8a29e; }
.text-stone-500 { color: #78716c; }
.text-stone-600 { color: #57534e; }
.text-stone-700 { color: #44403c; }
.text-stone-800 { color: #292524; }
.text-stone-900 { color: #1c1917; }

.text-red-600 { color: #dc2626; }
.text-green-600 { color: #16a34a; }
.text-yellow-400 { color: #facc15; }

.text-brand-100 { color: var(--brand-100); }
.text-brand-200 { color: var(--brand-200); }
.text-brand-300 { color: var(--brand-300); }
.text-brand-400 { color: var(--brand-400); }
.text-brand-500 { color: var(--brand-500); }
.text-brand-600 { color: var(--brand-600); }
.text-brand-700 { color: var(--brand-700); }
.text-brand-900 { color: var(--brand-900); }

/* Cores (Fundo) */
.bg-white { background-color: #ffffff; }
.bg-white\/90 { background-color: rgb(255 255 255 / 0.9); }
.bg-stone-50 { background-color: #fafaf9; }
.bg-stone-200 { background-color: #e7e5e4; }
.bg-stone-800 { background-color: #292524; }
.bg-stone-800\/50 { background-color: rgb(41 37 36 / 0.5); }
.bg-stone-900 { background-color: #1c1917; }
.bg-gray-300 { background-color: #d1d5db; }

.bg-red-50 { background-color: #fef2f2; }
.bg-green-50 { background-color: #f0fdf4; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-600 { background-color: #16a34a; }

.bg-brand-50 { background-color: var(--brand-50); }
.bg-brand-50\/50 { background-color: rgb(253 242 248 / 0.5); } /* Aproximação do brand-50 */
.bg-brand-200 { background-color: var(--brand-200); }
.bg-brand-600 { background-color: var(--brand-600); }

.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.from-brand-500 { --tw-gradient-from: var(--brand-500); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to); }
.to-green-500 { --tw-gradient-to: #22c55e; }

/* Selection */
::selection {
  background-color: var(--brand-200);
}

/* Bordas & Efeitos */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-l-4 { border-left-width: 4px; }
.border-y { border-top-width: 1px; border-bottom-width: 1px; }

.border-white { border-color: #ffffff; }
.border-stone-100 { border-color: #f5f5f4; }
.border-stone-200 { border-color: #e7e5e4; }
.border-stone-300 { border-color: #d6d3d1; }
.border-stone-600 { border-color: #57534e; }
.border-stone-700 { border-color: #44403c; }
.border-red-100 { border-color: #fee2e2; }
.border-green-500 { border-color: #22c55e; }
.border-brand-200 { border-color: var(--brand-200); }
.border-brand-400 { border-color: var(--brand-400); }
.border-brand-500 { border-color: var(--brand-500); }

.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-r-lg { border-top-right-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }
.rounded-bl-lg { border-bottom-left-radius: 0.5rem; }

.shadow-sm { box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.shadow-stone-200\/50 { --tw-shadow-color: rgb(231 229 228 / 0.5); box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color); }
.shadow-\[0_-4px_6px_-1px_rgba\(0\,0\,0\,0\.1\)\] { box-shadow: 0 -4px 6px -1px rgba(0,0,0,0.1); }

.opacity-40 { opacity: 0.4; }
.backdrop-blur-md { backdrop-filter: blur(12px); }
.overflow-hidden { overflow: hidden; }

/* 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-transform { transition-property: transform; 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; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.rotate-1 { --tw-rotate: 1deg; transform: rotate(1deg); }
.-rotate-1 { --tw-rotate: -1deg; transform: rotate(-1deg); }
.-rotate-2 { --tw-rotate: -2deg; transform: rotate(-2deg); }
.rotate-3 { --tw-rotate: 3deg; transform: rotate(3deg); }
.-rotate-3 { --tw-rotate: -3deg; transform: rotate(-3deg); }
.rotate-180 { --tw-rotate: 180deg; transform: rotate(180deg); }
.-translate-x-1\/2 { --tw-translate-x: -50%; transform: translate(-50%, var(--tw-translate-y)); }
.-translate-y-1 { --tw-translate-y: -0.25rem; transform: translate(var(--tw-translate-x), -0.25rem); }
.-translate-y-1\/2 { --tw-translate-y: -50%; transform: translate(var(--tw-translate-x), -50%); }

@keyframes pulse {
  50% { opacity: .5; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* Interações (Hover/Focus) */
.hover\:bg-stone-200:hover { background-color: #e7e5e4; }
.hover\:bg-green-700:hover { background-color: #15803d; }
.hover\:bg-brand-700:hover { background-color: var(--brand-700); }
.hover\:text-stone-300:hover { color: #d6d3d1; }
.hover\:text-green-700:hover { color: #15803d; }
.hover\:text-brand-600:hover { color: var(--brand-600); }
.hover\:border-green-700:hover { border-color: #15803d; }
.hover\:shadow-md:hover { box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); }
.hover\:-translate-y-1:hover { --tw-translate-y: -0.25rem; transform: translate(var(--tw-translate-x), -0.25rem); }
.hover\:scale-\[1\.02\]:hover { --tw-scale-x: 1.02; --tw-scale-y: 1.02; transform: scale(1.02); }
.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: scale(1.05); }
.hover\:rotate-0:hover { --tw-rotate: 0deg; transform: rotate(0deg); }
.group:hover .group-hover\:scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: scale(1.05); }
.group:hover .group-hover\:rotate-6 { --tw-rotate: 6deg; transform: rotate(6deg); }
.group:hover .group-hover\:border-brand-500 { border-color: var(--brand-500); }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

/* Utilitários Específicos */
.object-cover { object-fit: cover; }
.cursor-pointer { cursor: pointer; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.pointer-events-none { pointer-events: none; }
.scroll-smooth { scroll-behavior: smooth; }
.scroll-pt-24 { scroll-padding-top: 6rem; }

/* Imagem de fundo específica */
.bg-\[url\(\'\/images\/casamento\/textura-cream-paper\.webp\'\)\] {
  background-image: url('/images/casamento/textura-cream-paper.webp');
}

/* Media Queries (Responsividade) */
@media (min-width: 640px) { /* sm */
  .sm\:block { display: block; }
}

@media (min-width: 768px) { /* md */
  .md\:hidden { display: none; }
  .md\:flex-row { flex-direction: row; }
  .md\:items-start { align-items: flex-start; }
  .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\:text-left { text-align: left; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:p-8 { padding: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-40 { width: 10rem; }
  .md\:h-40 { height: 10rem; }
  .md\:scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; transform: scale(1.05); }
  .md\:order-1 { order: 1; }
  .md\:order-2 { order: 2; }
  .md\:mx-0 { margin-left: 0; margin-right: 0; }
}