@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

:root {
  /* Design Tokens - Coletivo Raiz Palette */
  --bg-surface: #FCF9F8;
  --color-primary: #86452A;
  --color-primary-hover: #6E361F;
  --color-primary-light: #A45C40;
  --color-secondary: #536252;
  --color-secondary-light: #D4E4D0;
  --color-text-main: #1C1B1B;
  --color-text-muted: #53433D;
  --color-text-subtle: #726F68;
  --color-outline-soft: rgba(134, 115, 108, 0.25);
  
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-surface);
  color: var(--color-text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

::selection {
  background-color: var(--color-primary-light);
  color: #FFFFFF;
}

/* Background Texture & Canvas */
#root-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.texture-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Ambient Radial Glows */
.ambient-glow {
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;
  height: 70vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(229, 226, 225, 0.45) 0%, rgba(252, 249, 248, 0) 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

/* Container Structure */
.page-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
  .page-wrapper {
    padding: 3.5rem 3rem;
  }
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-tagline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
  display: inline-block;
  animation: pulseDot 3s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.6); opacity: 0.4; }
}

/* Main Hero Section */
.hero-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 840px;
  margin: 0 auto;
  padding: 2rem 0;
}

.logo-wrapper {
  margin-bottom: 2.5rem;
  position: relative;
  transition: transform 0.6s var(--ease-out-expo);
}

.logo-wrapper:hover {
  transform: translateY(-2px) scale(1.02);
}

.logo-img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(28, 27, 27, 0.05), 0 1px 3px rgba(28, 27, 27, 0.08);
  border: 1px solid rgba(134, 115, 108, 0.18);
  background-color: #FFFFFF;
  padding: 6px;
}

@media (min-width: 768px) {
  .logo-img {
    width: 155px;
    height: 155px;
    border-radius: 20px;
  }
}

.headline-main {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 640px) {
  .headline-main {
    font-size: 3.25rem;
  }
}

@media (min-width: 1024px) {
  .headline-main {
    font-size: 4rem;
  }
}

.headline-italic {
  font-style: italic;
  font-weight: 400;
  opacity: 0.92;
  display: block;
}

.support-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 580px;
  margin: 0 auto 2.5rem auto;
  font-weight: 400;
}

@media (min-width: 768px) {
  .support-text {
    font-size: 1.18rem;
  }
}

/* Secondary CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
  border-radius: 2px;
}

.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-secondary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 0;
}

.cta-button:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.cta-button:hover {
  color: #FFFFFF;
  border-color: var(--color-secondary);
  box-shadow: 0 8px 24px rgba(83, 98, 82, 0.18);
  transform: translateY(-2px);
}

.cta-button span, .cta-button svg {
  position: relative;
  z-index: 1;
}

.cta-button svg {
  transition: transform 0.3s ease;
}

.cta-button:hover svg {
  transform: translateX(4px);
}

/* Footer Section */
.site-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding-top: 2rem;
}

@media (min-width: 640px) {
  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}

@media (min-width: 640px) {
  .footer-info {
    text-align: left;
  }
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.02em;
}

.footer-credits {
  font-size: 0.72rem;
  color: var(--color-text-subtle);
  letter-spacing: 0.03em;
  opacity: 0.85;
}

.credits-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.credits-link:hover {
  text-decoration: underline;
  opacity: 0.75;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.3s ease;
}

.social-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-primary);
  transition: width 0.3s var(--ease-out-expo);
}

.social-link:hover {
  color: var(--color-primary);
}

.social-link:hover::after {
  width: 100%;
}

.social-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Motion Reveal Animation Classes */
.reveal-item {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.8s var(--ease-out-expo) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
