/* ==========================================================
   Seibert Jordão — Página "Em breve"
   Paleta e tipografia baseadas no Manual de Identidade Visual.
   Títulos: Freight Display Comp Pro (licenciada). Aqui usamos
   Instrument Serif (Google Fonts) como alternativa gratuita.
   Se tiver um kit Adobe Fonts, basta trocar --font-display.
   ========================================================== */

:root {
  /* Paleta oficial */
  --navy-900: #081a33;   /* Pantone 239 C  */
  --navy-700: #012856;   /* Pantone 4252 C */
  --sky:      #9ec8f0;   /* Pantone 432 C  */
  --cream:    #f6f0eb;   /* Pantone 2341 C */
  --taupe:    #746e62;   /* Pantone 1829 C */
  --stone:    #d8d4cf;   /* Pantone 635 C  */
  --mist:     #bdcfda;   /* Pantone 124 C  */
  --ice:      #e8ebf0;   /* Pantone 898 C  */

  /* Sinal de obra (fora da paleta, usado só no selo) */
  --obra: #f2b705;

  --font-display: "Instrument Serif", "Freight Display Comp Pro", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--navy-700);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

em { font-style: italic; }

.eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--taupe);
}
.eyebrow--light { color: var(--sky); }

/* ==================== TELA 1 ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 44px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
  background: var(--ice);
}

/* Fundo em gradiente orgânico, inspirado nos wallpapers da marca */
.hero__bg { position: absolute; inset: 0; z-index: -1; }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .9;
  will-change: transform;
}
.blob--1 { width: 60vmax; height: 60vmax; top: -25vmax; left: -15vmax; background: var(--cream); animation: drift1 26s var(--ease) infinite alternate; }
.blob--2 { width: 55vmax; height: 55vmax; bottom: -30vmax; left: -20vmax; background: var(--mist); animation: drift2 30s var(--ease) infinite alternate; }
.blob--3 { width: 50vmax; height: 50vmax; bottom: -25vmax; right: -18vmax; background: var(--taupe); opacity: .55; animation: drift3 34s var(--ease) infinite alternate; }
.blob--4 { width: 40vmax; height: 40vmax; top: -15vmax; right: -10vmax; background: #f3f6fb; animation: drift1 28s var(--ease) infinite alternate-reverse; }

.grain {
  position: absolute; inset: 0;
  opacity: .08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

@keyframes drift1 { to { transform: translate(8vw, 6vh) scale(1.08); } }
@keyframes drift2 { to { transform: translate(10vw, -8vh) scale(1.12); } }
@keyframes drift3 { to { transform: translate(-8vw, -6vh) scale(1.1); } }

.hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero__logo { width: clamp(190px, 24vw, 300px); }

/* Selo "Site em construção" */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--navy-700);
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(1, 40, 86, .12);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.status__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--obra);
  box-shadow: 0 0 0 0 rgba(242, 183, 5, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(242, 183, 5, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 183, 5, 0); }
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 980px;
  padding: 48px 0;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 124px);
  line-height: .95;
  letter-spacing: -.01em;
  color: var(--navy-700);
}
.hero__title span { display: block; }
.hero__title em { color: var(--navy-900); }

.hero__lead {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: #3a4a61;
}

/* Frase rotativa */
.rotator {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(1, 40, 86, .15);
  max-width: 560px;
}
.rotator__label {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--taupe);
}
.rotator__word {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--navy-700);
  transition: opacity .5s var(--ease), transform .5s var(--ease), filter .5s var(--ease);
}
.rotator__word.is-out {
  opacity: 0;
  transform: translateY(10px);
  filter: blur(4px);
}

/* Barra de progresso indeterminada (sem data definida) */
.progress {
  position: relative;
  width: min(560px, 100%);
  height: 2px;
  margin-top: 22px;
  background: rgba(1, 40, 86, .1);
  overflow: hidden;
  border-radius: 2px;
}
.progress__bar {
  position: absolute; top: 0; bottom: 0;
  width: 35%;
  background: linear-gradient(90deg, transparent, var(--navy-700), transparent);
  animation: loading 2.8s var(--ease) infinite;
}
@keyframes loading {
  from { left: -35%; }
  to   { left: 100%; }
}

/* Rodapé da tela 1: contatos à esquerda, "Conheça" ao centro */
.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
}

.hero__contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero__contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--navy-700);
  text-decoration: none;
}
.hero__contact svg {
  width: 16px; height: 16px;
  flex: none;
  fill: currentColor;
  opacity: .7;
}
.hero__contact a:hover { text-decoration: underline; text-underline-offset: 4px; }

.scroll-cue {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-700);
}
.scroll-cue__line {
  position: relative;
  width: 1px; height: 44px;
  background: rgba(1, 40, 86, .2);
  overflow: hidden;
}
.scroll-cue__line::after {
  content: "";
  position: absolute; left: 0; top: -50%;
  width: 1px; height: 50%;
  background: var(--navy-700);
  animation: cue 2s var(--ease) infinite;
}
@keyframes cue { to { top: 100%; } }

/* Animação de entrada */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 1s var(--ease) forwards;
}
.reveal--d1 { animation-delay: .15s; }
.reveal--d2 { animation-delay: .35s; }
.reveal--d3 { animation-delay: .55s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==================== TELA 2 ==================== */
.about {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(72px, 10vw, 128px) var(--gutter) 32px;
  color: var(--cream);
  background:
    radial-gradient(ellipse 70% 60% at 85% 0%, rgba(158, 200, 240, .28), transparent 60%),
    linear-gradient(180deg, var(--navy-700) 0%, var(--navy-900) 70%);
  overflow: hidden;
  isolation: isolate;
}

.about__symbol {
  position: absolute;
  z-index: -1;
  width: clamp(320px, 42vw, 620px);
  right: -8vw;
  bottom: 10%;
  opacity: .04;
  pointer-events: none;
}

.about__inner {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
}

.about__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1;
  color: #fff;
}
.about__title em { color: var(--sky); }

.about__text {
  max-width: 460px;
  margin: 26px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(246, 240, 235, .75);
}

.stats {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  margin-top: 44px;
}
.stat { display: flex; flex-direction: column; gap: 8px; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 80px);
  line-height: .9;
  color: #fff;
}
.stat__label {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(246, 240, 235, .6);
}

/* Pilares */
.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(246, 240, 235, .1);
  border: 1px solid rgba(246, 240, 235, .1);
  border-radius: 18px;
  overflow: hidden;
}
.pillar {
  position: relative;
  padding: 28px 26px 30px;
  background: var(--navy-900);
  transition: background .6s var(--ease);
}
.pillar::before {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 0; height: 2px;
  background: var(--sky);
  transition: width .6s var(--ease);
}
.pillar.is-active,
.pillar:hover { background: #0d2444; }
.pillar.is-active::before { width: 100%; transition-duration: 3.4s; transition-timing-function: linear; }

.pillar__n {
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--sky);
}
.pillar h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.1;
  color: #fff;
}
.pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246, 240, 235, .62);
}

/* Revelar ao rolar */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.fade-up.is-visible { opacity: 1; transform: none; }

/* Rodapé */
.footer {
  max-width: 1280px;
  width: 100%;
  margin: clamp(56px, 8vw, 96px) auto 0;
}
.footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 28px;
}
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 14px;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid rgba(246, 240, 235, .2);
  border-radius: 999px;
  transition: background .3s, border-color .3s, color .3s;
}
.footer__contact a:hover { background: var(--cream); color: var(--navy-900); border-color: var(--cream); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(246, 240, 235, .12);
}
.footer__logo { width: 200px; opacity: .9; }
.footer__tagline {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--cream);
}
.footer__copy {
  margin: 0;
  font-size: 12px;
  color: rgba(246, 240, 235, .5);
}

/* Botão flutuante de WhatsApp */
.wpp {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(12px);
  animation: rise .6s var(--ease) 1.2s forwards;
}
.wpp__icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 20px rgba(8, 26, 51, .25);
  transition: transform .3s var(--ease);
}
.wpp__icon svg { width: 28px; height: 28px; fill: #fff; }
.wpp__label {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-900);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(8, 26, 51, .15);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.wpp:hover .wpp__icon,
.wpp:focus-visible .wpp__icon { transform: scale(1.06); }
.wpp:hover .wpp__label,
.wpp:focus-visible .wpp__label { opacity: 1; transform: none; }

/* ==================== RESPONSIVO ==================== */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero__top { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__bottom { grid-template-columns: 1fr; gap: 32px; }
  .scroll-cue { grid-column: 1; justify-self: center; }
  .wpp__icon { width: 52px; height: 52px; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 24px 22px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}
