:root {
  --surface: #f8f9fa;
  --surface-dim: #d9dadb;
  --surface-bright: #f8f9fa;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #f3f4f5;
  --surface-container: #edeeef;
  --surface-container-high: #e7e8e9;
  --surface-container-highest: #e1e3e4;
  --on-surface: #191c1d;
  --on-surface-variant: #3e494a;
  --inverse-surface: #2e3132;
  --inverse-on-surface: #f0f1f2;
  --outline: #6f797a;
  --outline-variant: #bec8ca;
  --surface-tint: #006972;
  --primary: #00535b;
  --on-primary: #ffffff;
  --primary-container: #006d77;
  --on-primary-container: #9becf7;
  --inverse-primary: #82d3de;
  --secondary: #705d00;
  --on-secondary: #ffffff;
  --secondary-container: #fcd400;
  --on-secondary-container: #6e5c00;
  --tertiary: #01544f;
  --on-tertiary: #ffffff;
  --tertiary-container: #286d67;
  --on-tertiary-container: #a9ece4;
  --error: #ba1a1a;
  --on-error: #ffffff;
  --error-container: #ffdad6;
  --on-error-container: #93000a;
  --background: #f8f9fa;
  --on-background: #191c1d;

  --rounded-sm: 0.25rem;
  --rounded-DEFAULT: 0.5rem;
  --rounded-md: 0.75rem;
  --rounded-lg: 1rem;
  --rounded-xl: 1.5rem;
  --rounded-full: 9999px;

  --unit: 8px;
  --container-max: 1200px;
  --gutter: 24px;
  --stack-sm: 12px;
  --stack-md: 24px;
  --stack-lg: 48px;
  --stack-xl: 64px;

  --vibrant-yellow: #FFD700;
  --deep-teal: #006D77;
  --soft-teal: #83C5BE;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #000; /* Dark background between snaps */
  color: var(--on-background);
  line-height: 1.6;
}

/* SNAP SCROLLING */
.scroll-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.dobra {
  min-height: 100vh;
  height: 100vh;
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* TYPOGRAPHY UTILS */
.display-lg { font-size: clamp(36px, 5vw, 64px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.display-md { font-size: clamp(28px, 4vw, 48px); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.headline-sm { font-size: 20px; font-weight: 700; line-height: 1.3; }
.body-lg { font-size: 18px; font-weight: 400; line-height: 1.6; }
.body-md { font-size: 16px; font-weight: 400; line-height: 1.6; }
.body-sm { font-size: 14px; font-weight: 400; line-height: 1.5; }
.label-bold { font-size: 14px; font-weight: 700; line-height: 1.2; }

.text-white { color: #ffffff; }
.text-yellow { color: var(--vibrant-yellow); }
.text-gray { color: rgba(255,255,255,0.8); }
.text-center { text-align: center; }
.italic { font-style: italic; }

.mb-sm { margin-bottom: var(--stack-sm); }
.mb-md { margin-bottom: var(--stack-md); }
.mb-lg { margin-bottom: var(--stack-lg); }
.mb-xl { margin-bottom: var(--stack-xl); }
.mt-sm { margin-top: var(--stack-sm); }
.mt-md { margin-top: var(--stack-md); }

/* LAYOUT UTILS */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 10;
}

.content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.content-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
}

.full-width {
  width: 100%;
}

.bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* OVERLAYS */
.overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0, 109, 119, 0.4), rgba(0, 109, 119, 0.2) 60%, rgba(0, 109, 119, 0.8));
  z-index: 1;
}

.overlay-gradient-left {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0, 83, 91, 0.9) 0%, rgba(0, 83, 91, 0.4) 50%, transparent 100%);
  z-index: 1;
}

.overlay-dark {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 31, 35, 0.5);
  z-index: 1;
}

.overlay-darker {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--stack-md) 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-scrolled {
  background-color: rgba(0, 83, 91, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-logo {
  width: 200px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  gap: var(--stack-md);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--vibrant-yellow);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--rounded-full);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--vibrant-yellow);
  color: var(--on-surface);
}

.btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* GLASSMORPHISM */
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--rounded-lg);
  padding: var(--stack-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* HERO SECTION SPECIFICS */
.hero .subtitle {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin-bottom: var(--stack-lg);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 24px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
  40% { transform: translateY(-15px) translateX(-50%); }
  60% { transform: translateY(-7px) translateX(-50%); }
}

/* SOBRE SECTION SPECIFICS */
.main-glass-card {
  max-width: 500px;
}

.main-glass-card p {
  margin: var(--stack-md) 0;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--stack-sm);
  margin-top: var(--stack-md);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,215,0,0.2);
  color: var(--vibrant-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* SERVIÇOS SECTION SPECIFICS */
.glass-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--stack-md);
  width: 100%;
}

.service-icon {
  font-size: 32px;
  color: var(--vibrant-yellow);
  margin-bottom: var(--stack-sm);
}

.hover-up {
  transition: transform 0.3s ease, background 0.3s ease;
}

.hover-up:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

/* CONTATO SECTION SPECIFICS */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--stack-xl);
  align-items: center;
  padding-bottom: 100px;
}

.ceo-glass {
  max-width: 450px;
}

.ceo-header {
  display: flex;
  align-items: center;
  gap: var(--stack-sm);
}

.ceo-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  border: 2px solid var(--vibrant-yellow);
}

.stars {
  color: var(--vibrant-yellow);
  font-size: 14px;
}

.form-container {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  padding: 8px;
  margin-bottom: var(--stack-md);
}

.glass-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0 20px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.glass-input::placeholder {
  color: rgba(255,255,255,0.6);
}

.contact-links {
  display: flex;
  gap: var(--stack-md);
}

.contact-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--vibrant-yellow);
}

/* ABSOLUTE FOOTER */
.absolute-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: var(--stack-md) 0 var(--stack-sm) 0;
  background: transparent;
  z-index: 10;
}

.footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--stack-sm);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-logo {
  width: 150px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-icons {
  display: flex;
  gap: 16px;
}

.social-icon {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icon:hover {
  color: var(--vibrant-yellow);
}

.footer-links {
  display: flex;
  gap: var(--stack-md);
}

.footer-links a {
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--vibrant-yellow);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .glass-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--stack-md);
  }
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .scroll-container {
    scroll-snap-type: y proximity;
  }
  .dobra {
    min-height: 100vh;
    height: auto;
    padding: 80px 0 40px;
  }
  .nav-links {
    display: none;
  }
  .navbar .btn-primary {
    padding: 8px 16px;
    font-size: 12px;
  }
  .display-lg {
    font-size: clamp(28px, 8vw, 40px);
  }
  .display-md {
    font-size: clamp(22px, 6vw, 32px);
  }
  .glass-services-grid {
    grid-template-columns: 1fr;
    gap: var(--stack-sm);
  }
  .glass-services-grid .glass-card {
    padding: var(--stack-md);
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--stack-md);
    padding-bottom: 60px;
  }
  .right-pane {
    padding-bottom: 0;
  }
  .ceo-glass {
    max-width: 100%;
  }
  .ceo-img {
    width: 60px;
    height: 60px;
  }
  .form-container {
    flex-direction: column;
    border-radius: var(--rounded-lg);
    background: transparent;
    border: none;
  }
  .glass-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--rounded-full);
    padding: 16px 20px;
    margin-bottom: 8px;
  }
  .contact-links {
    flex-direction: column;
    gap: 8px;
  }
  .polaroid-grid {
    gap: var(--stack-md);
    padding: 20px 10px;
  }
  .polaroid-item {
    width: 200px;
    padding: 8px 8px 30px 8px;
  }
  .polaroid-img {
    height: 150px;
  }
  .polaroid-caption {
    font-size: 18px;
    margin-top: 10px;
  }
  .mb-xl {
    margin-bottom: var(--stack-md);
  }
  .hero .subtitle {
    font-size: 16px;
    max-width: 90%;
  }
  .main-glass-card {
    max-width: 100%;
  }
  .absolute-footer {
    position: relative;
  }
}

/* GALERIA POLAROID */
.polaroid-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  align-items: center;
  justify-content: flex-start;
  gap: var(--stack-lg);
  margin-top: var(--stack-md);
  padding: 40px 20px;
  width: 100%;
  max-width: 1000px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.polaroid-grid::-webkit-scrollbar {
  height: 8px;
}
.polaroid-grid::-webkit-scrollbar-track {
  background: transparent;
}
.polaroid-grid::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 20px;
}

.polaroid-item {
  background: #ffffff;
  padding: 12px 12px 40px 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  text-align: center;
  width: 260px;
  flex-shrink: 0;
  position: relative;
  border-radius: 2px;
  
  --rot: 0deg;
  --y: 0px;
  transform: rotate(var(--rot)) translateY(var(--y));
  animation: floatAnim 6s ease-in-out infinite;
  transition: box-shadow 0.4s ease;
}

@keyframes floatAnim {
  0%, 100% { transform: rotate(var(--rot)) translateY(var(--y)); }
  50% { transform: rotate(var(--rot)) translateY(calc(var(--y) - 15px)); }
}

.polaroid-item:nth-child(3n+1) {
  --rot: -3deg;
  animation-duration: 6s;
  animation-delay: 0s;
}

.polaroid-item:nth-child(3n+2) {
  --rot: 2deg;
  --y: -10px;
  animation-duration: 5s;
  animation-delay: 1s;
}

.polaroid-item:nth-child(3n+3) {
  --rot: 4deg;
  animation-duration: 7s;
  animation-delay: 2s;
}

.polaroid-item:hover {
  animation: none;
  transform: rotate(0deg) scale(1.1) translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.6);
  z-index: 20;
}

.polaroid-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #eee;
  border-radius: 2px;
}

.polaroid-caption {
  font-family: 'Caveat', cursive;
  color: #333;
  font-size: 24px;
  margin-top: 15px;
  min-height: 28px;
  line-height: 1.2;
}
