/*
Theme Name: KeelHub — Em Breve
Theme URI: https://keelhub.com.br
Author: KeelHub Group
Author URI: https://keelhub.com.br
Description: Landing page "em breve" do grupo KeelHub. Substitui completamente o conteúdo existente.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: keelhub-soon
*/

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

:root {
  --navy:   #0D1B2A;
  --deep:   #0A1520;
  --blue:   #1A6CC4;
  --blue-lt:#3A8CD4;
  --white:  #FFFFFF;
  --muted:  rgba(155,184,212,0.7);
}

html, body {
  height: 100%;
  font-family: 'Playfair Display', Georgia, serif;
  background: var(--deep);
  color: var(--white);
  overflow: hidden;
}

/* ── KEEL BACKGROUND ─────────────────────────────────────────────────────── */
.bg-keel {
  position: fixed;
  inset: 0;
  background: url('keel.png') center/cover no-repeat;
  opacity: 0.38;
  animation: slowDrift 18s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes slowDrift {
  0%   { transform: scale(1.04) translateY(0px); }
  100% { transform: scale(1.08) translateY(-18px); }
}

/* ── GRADIENT OVERLAY ────────────────────────────────────────────────────── */
.bg-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(13,27,42,0.55) 0%, transparent 65%),
    linear-gradient(to bottom, rgba(10,21,32,0.92) 0%, rgba(10,21,32,0.60) 40%, rgba(10,21,32,0.92) 100%);
}

/* ── WATER CAUSTICS ──────────────────────────────────────────────────────── */
.caustics {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
}
.caustics svg { width: 100%; height: 100%; }

/* ── CONTENT ─────────────────────────────────────────────────────────────── */
.stage {
  position: relative;
  z-index: 10;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
}

/* ── LOGO ────────────────────────────────────────────────────────────────── */
.logo {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: riseUp 1.2s ease 0.3s forwards;
}
.logo span { color: var(--blue); }

.logo-sub {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4rem;
  opacity: 0;
  animation: riseUp 1.2s ease 0.6s forwards;
}

/* ── DIVIDER ─────────────────────────────────────────────────────────────── */
.divider {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--blue), transparent);
  margin: 0 auto 4rem;
  animation: expandLine 1.4s ease 0.9s forwards;
}
@keyframes expandLine {
  to { width: min(320px, 60vw); }
}

/* ── MESSAGE ─────────────────────────────────────────────────────────────── */
.message {
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  line-height: 1.5;
  max-width: 20ch;
  margin: 0 auto 1.5rem;
  opacity: 0;
  animation: riseUp 1.2s ease 1.1s forwards;
}

.message-detail {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: clamp(0.78rem, 1.8vw, 0.9rem);
  color: var(--muted);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: riseUp 1.2s ease 1.4s forwards;
}

/* ── ANCHOR PULSE ────────────────────────────────────────────────────────── */
.anchor-wrap {
  margin: 3.5rem 0;
  opacity: 0;
  animation: riseUp 1.2s ease 1.6s forwards;
}
.anchor-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto;
  opacity: 0.22;
  animation: anchorPulse 3s ease-in-out infinite;
}
@keyframes anchorPulse {
  0%, 100% { opacity: 0.18; transform: translateY(0); }
  50%       { opacity: 0.38; transform: translateY(-6px); }
}

/* ── WATER LINE ──────────────────────────────────────────────────────────── */
.water-line {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, var(--blue) 30%, var(--blue-lt) 50%, var(--blue) 70%, transparent 100%);
  opacity: 0.4;
  animation: waterShimmer 4s ease infinite;
}
@keyframes waterShimmer {
  0%, 100% { opacity: 0.3; transform: scaleX(0.95); }
  50%       { opacity: 0.6; transform: scaleX(1); }
}

/* ── BUBBLES ─────────────────────────────────────────────────────────────── */
.bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.bubble {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(26,108,196,0.25);
  animation: floatUp linear infinite;
  bottom: -20px;
}
.bubble:nth-child(1)  { width:6px;  height:6px;  left:15%;  animation-duration:12s; animation-delay:0s; }
.bubble:nth-child(2)  { width:4px;  height:4px;  left:28%;  animation-duration:9s;  animation-delay:2s; }
.bubble:nth-child(3)  { width:8px;  height:8px;  left:42%;  animation-duration:14s; animation-delay:4s; }
.bubble:nth-child(4)  { width:3px;  height:3px;  left:58%;  animation-duration:10s; animation-delay:1s; }
.bubble:nth-child(5)  { width:5px;  height:5px;  left:72%;  animation-duration:11s; animation-delay:3s; }
.bubble:nth-child(6)  { width:7px;  height:7px;  left:85%;  animation-duration:13s; animation-delay:5s; }
.bubble:nth-child(7)  { width:4px;  height:4px;  left:8%;   animation-duration:8s;  animation-delay:6s; }
.bubble:nth-child(8)  { width:5px;  height:5px;  left:92%;  animation-duration:15s; animation-delay:2s; }
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.2; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}

/* ── ANIMATIONS ──────────────────────────────────────────────────────────── */
@keyframes riseUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
.footer-note {
  position: fixed;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  color: rgba(90,120,150,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  animation: riseUp 1.2s ease 2s forwards;
}

@media (max-width: 480px) {
  .message { max-width: 24ch; }
  .anchor-wrap { margin: 2rem 0; }
}
