/* ==========================================================================
   Rio Modal Expo Log — página "Em breve"
   ========================================================================== */

:root {
  /* Cores da marca (extraídas do logo) */
  --navy: #002c8d;
  --blue: #1275c6;
  --cyan: #1fb4c8;
  --cyan-light: #5fe0e4;

  --bg: #070b14;
  --text: #ffffff;
  --text-muted: rgba(226, 234, 244, 0.78);
  --line: rgba(255, 255, 255, 0.16);

  --gradient: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 55%, var(--cyan-light) 100%);

  --font-display: "Sora", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Sora", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --radius: 999px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Fundo: foto do Rio com zoom lento + escurecimento
   -------------------------------------------------------------------------- */

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 70%; /* Pão de Açúcar na metade inferior, abaixo do texto */
  transform-origin: 62% 60%;
  animation: slow-zoom 32s ease-in-out infinite alternate;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 60% at 50% 48%, rgba(7, 11, 20, 0.9) 0%, rgba(7, 11, 20, 0.72) 55%, rgba(7, 11, 20, 0.5) 100%),
    linear-gradient(0deg, rgba(7, 11, 20, 0.96) 0%, rgba(7, 11, 20, 0.7) 22%, rgba(7, 11, 20, 0) 45%),
    linear-gradient(180deg, rgba(7, 11, 20, 0.6) 0%, rgba(7, 11, 20, 0) 25%);
}

@keyframes slow-zoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.14); }
}

/* --------------------------------------------------------------------------
   Estrutura
   -------------------------------------------------------------------------- */

.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding:
    max(24px, env(safe-area-inset-top))
    var(--gutter)
    max(24px, env(safe-area-inset-bottom));
}

.top {
  display: flex;
  justify-content: center;
}

.logo {
  width: clamp(92px, 10vw, 128px);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(31, 180, 200, 0.25));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: center;
  margin-bottom: 28px;
  padding: 7px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-light);
  box-shadow: 0 0 0 0 rgba(95, 224, 228, 0.7);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 10px rgba(95, 224, 228, 0); }
  100% { box-shadow: 0 0 0 0 rgba(95, 224, 228, 0); }
}

/* --------------------------------------------------------------------------
   Conteúdo principal
   -------------------------------------------------------------------------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding-block: clamp(40px, 7vh, 88px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-size: clamp(10px, 1vw, 12px);
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cyan-light);
}

.title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.8vw, 60px);
  font-weight: 200;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.accent {
  font-weight: 400;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 500px;
  margin: 28px auto 0;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(236, 242, 250, 0.9);
  text-wrap: pretty;
}

.tagline {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--text);
  text-wrap: balance;
}

.tagline strong {
  font-weight: 500;
}

/* Botões */

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 28px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn--primary {
  padding-right: 8px;
  background: var(--text);
  color: var(--bg);
}

.btn__arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gradient);
  transition: transform 0.3s var(--ease);
}

.btn__arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn--primary:hover {
  box-shadow: 0 12px 40px -12px rgba(31, 180, 200, 0.7);
}

.btn--primary:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--cyan-light);
  background: rgba(95, 224, 228, 0.1);
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible,
.social a:focus-visible {
  outline: 2px solid var(--cyan-light);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

.foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.social {
  display: flex;
  gap: 10px;
}

.social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.social a:hover {
  border-color: var(--cyan-light);
  background: rgba(95, 224, 228, 0.1);
}

.social svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social svg .fill {
  fill: currentColor;
  stroke: none;
}

.copy {
  margin: 0;
  font-size: 12px;
  font-weight: 300;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Aviso para links ainda sem destino
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 10;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 14px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 18, 34, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 15px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* --------------------------------------------------------------------------
   Animação de entrada
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 0.9s var(--ease) forwards;
}

.top.reveal     { animation-delay: 0.05s; }
.badge.reveal   { animation-delay: 0.12s; }
.eyebrow.reveal { animation-delay: 0.2s; }
.title.reveal   { animation-delay: 0.3s; }
.lead.reveal    { animation-delay: 0.45s; }
.tagline.reveal { animation-delay: 0.52s; }
.actions.reveal { animation-delay: 0.58s; }
.foot.reveal    { animation-delay: 0.85s; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */

@media (max-width: 640px) {
  .bg::after {
    background:
      linear-gradient(180deg, rgba(7, 11, 20, 0.6) 0%, rgba(7, 11, 20, 0.8) 40%, rgba(7, 11, 20, 0.7) 70%, rgba(7, 11, 20, 0.95) 100%);
  }

  .actions {
    flex-direction: column;
    width: 100%;
  }

  .tagline strong {
    display: block;
  }

  .btn {
    width: 100%;
  }

  .btn--primary {
    justify-content: space-between;
    padding-left: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
