/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 600;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

p {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Sections */
.section {
  padding: var(--spacing-xl) 0;
}

.section-light {
  background-color: var(--color-background);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-primary-light);
  color: var(--color-white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-whatsapp {
  background-color: var(--color-accent-green);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp:hover {
  background-color: #219a52; /* Slightly darker green */
  color: var(--color-white);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Paint Splash Corner Effect */
.paint-splash-container {
  position: fixed;
  bottom: -20px;
  left: -20px;
  width: 250px;
  height: 250px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.85;
  animation: splash-in 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform-origin: bottom left;
}

/* Esconde em celulares */
@media (max-width: 768px) {
    .paint-splash-container {
        display: none !important;
    }
}

.splash-blob {
  position: absolute;
  background-color: var(--color-primary);
  border-radius: 50%;
  transform-origin: center;
}

.main-blob {
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  animation: splash-pulse 5s infinite alternate ease-in-out;
  box-shadow: inset -10px -10px 20px rgba(0,0,0,0.1);
}

.drop-1 { width: 15px; height: 25px; bottom: 130px; left: 110px; transform: rotate(45deg); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.drop-2 { width: 12px; height: 12px; bottom: 160px; left: 80px; }
.drop-3 { width: 8px; height: 8px; bottom: 180px; left: 40px; }
.drop-4 { width: 20px; height: 35px; bottom: 70px; left: 150px; transform: rotate(70deg); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; }
.drop-5 { width: 10px; height: 10px; bottom: 40px; left: 190px; }
.drop-6 { width: 18px; height: 18px; bottom: 100px; left: 170px; }

@keyframes splash-pulse {
  0% { transform: scale(1) rotate(0deg); border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
  100% { transform: scale(1.05) rotate(-5deg); border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%; }
}

@keyframes splash-in {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 0.85; }
}
