@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --header-height: 73px;
  --sea-ink: #173a40;
  --sea-ink-soft: #416166;
  --lagoon: #4fb8b2;
  --lagoon-deep: #328f97;
  --palm: #2f6a4a;
  --sand: #e7f0e8;
  --foam: #f3faf5;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --line: rgba(23, 58, 64, 0.14);
  --inset-glint: rgba(255, 255, 255, 0.82);
  --kicker: rgba(47, 106, 74, 0.9);
  --bg-base: #f3f8f5; /* Cor base única e uniforme para todo o site */
  --header-bg: rgba(243, 248, 245, 0.85);
  --chip-bg: rgba(255, 255, 255, 0.85);
  --chip-line: rgba(47, 106, 74, 0.18);
}

html, body { min-height: 100%; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  scroll-snap-type: none;
}

@media (min-width: 1024px) {
  html { scroll-snap-type: y mandatory; }
}

body {
  margin: 0;
  color: var(--sea-ink);
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  /* Fundo contínuo e uniforme sem transições de cor em etapas/porcentagens */
  background-image: 
    radial-gradient(1200px 800px at 50% 0%, rgba(79, 184, 178, 0.15), transparent 70%),
    radial-gradient(1000px 600px at 100% 50%, rgba(47, 106, 74, 0.08), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lagoon-deep);
  text-decoration-color: rgba(50, 143, 151, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 180ms ease;
}
a:hover { color: #246f76; }

.page-wrap {
  width: min(1080px, calc(100% - 2rem));
  margin-inline: auto;
}

.snap-section {
  min-height: calc(100svh - var(--header-height));
  scroll-snap-align: center;
  scroll-snap-stop: always;
  scroll-margin-top: 0;
  background: transparent !important; /* Garante fundo 100% transparente em todas as seções */
}

.display-title { font-family: 'Fraunces', Georgia, serif; }

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--sea-ink-soft);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--lagoon), #7ed3bf);
  transition: transform 170ms ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--sea-ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }

/* --- AJUSTES DE RESPONSIVIDADE (TABLET E MOBILE) --- */

@media (max-width: 1023px) {
  :root { --header-height: 115px; }
  .snap-section {
    min-height: auto !important;
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
    padding-top: 5.5rem !important; /* Espaço suficiente para o título no tablet */
    padding-bottom: 3rem !important;
  }
}

@media (max-width: 640px) {
  .page-wrap { width: calc(100% - 1.5rem) !important; }
}

/* --- ANIMAÇÕES GEOMÉTRICAS GERAIS --- */

.geo-ring-1 { animation: geoRotate 45s linear infinite; }
.geo-ring-2 { animation: geoRotate 30s linear infinite reverse; }

/* Grade pontilhada suave */
.bg-dot-grid { 
  background-image: radial-gradient(var(--sea-ink-soft) 1px, transparent 1px); 
  background-size: 28px 28px; 
  opacity: 0.1; 
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}

.geo-diamond-1 { animation: diamondFloat 10s ease-in-out infinite; }
.geo-diamond-2 { animation: diamondFloat 14s ease-in-out infinite 2s; }
.geo-flow-slide { animation: flowSlide 16s ease-in-out infinite alternate; }

@keyframes geoRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes diamondFloat {
  0%, 100% { transform: translateY(0px) rotate(45deg); }
  50% { transform: translateY(-25px) rotate(55deg); }
}

@keyframes flowSlide {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 20px) scale(1.05); }
}

/* --- TEXTURAS E ELEMENTOS DA SEÇÃO INÍCIO --- */

.bg-grid-lines {
  background-size: 48px 48px;
  background-image: 
    linear-gradient(to right, rgba(23, 58, 64, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 58, 64, 0.04) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

.float-slow { animation: floatNode 7s ease-in-out infinite; }
.float-slower { animation: floatNode 11s ease-in-out infinite reverse; }

@keyframes floatNode {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px); }
}

/* --- ONDAS ANIMADAS DA SEÇÃO CONTATO --- */

.wave-line {
  stroke-dasharray: 12 12;
  animation: waveFlow 25s linear infinite;
}

.wave-line-reverse {
  stroke-dasharray: 8 16;
  animation: waveFlow 20s linear infinite reverse;
}

@keyframes waveFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -480; }
}

/* --- REMOÇÃO DA BARRA DE ROLAGEM HORIZONTAL --- */
.overflow-x-auto::-webkit-scrollbar {
  display: none;
}
.overflow-x-auto {
  -ms-overflow-style: none;
  scrollbar-width: none;
}