/*
Theme Name:  MachLaser – Em Breve
Theme URI:   https://machlaser.com.br
Author:      MachLaser
Author URI:  https://machlaser.com.br
Description: Página "Em Breve" para o site MachLaser – Consumíveis para Corte a Laser.
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: machlaser-embreve
Tags:        coming-soon, one-page, dark
*/

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

:root {
  --blue:   #0057FF;
  --cyan:   #00C8FF;
  --green:  #25D366;
  --dark:   #070A10;
  --border: rgba(255,255,255,.07);
  --white:  #FFFFFF;
  --muted:  rgba(255,255,255,.50);
  --font-h: 'Barlow Condensed', sans-serif;
  --font-b: 'Barlow', sans-serif;
  --ease:   cubic-bezier(.25,.46,.45,.94);
}

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

body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-b);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── BACKGROUND ── */
.bg-glow-1 {
  position: fixed; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 40%, rgba(0,87,255,.14) 0%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: glowBreath 6s ease-in-out infinite;
}
.bg-glow-2 {
  position: fixed;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,200,255,.07) 0%, transparent 65%);
  bottom: -80px; right: -80px;
  pointer-events: none; z-index: 0;
}
@keyframes glowBreath {
  0%,100% { opacity: .7; }
  50%      { opacity: 1; }
}
.scan-line {
  position: fixed; top: -2px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan) 40%, var(--blue) 60%, transparent);
  opacity: .5; z-index: 0;
  animation: scanDown 7s linear infinite;
}
@keyframes scanDown {
  from { top: -2px; opacity: .5; }
  85%  { opacity: .5; }
  to   { top: 100vh; opacity: 0; }
}

/* ── PAGE LAYOUT ── */
.page {
  position: relative; z-index: 1;
  width: 100%; max-width: 860px;
  height: 100vh;
  padding: clamp(14px, 3vh, 40px) clamp(20px, 5vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}

/* ── LOGO ── */
.logo-wrap {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  opacity: 0; transform: translateY(-12px);
  animation: fadeDown .6s .1s var(--ease) forwards;
  flex-shrink: 0;
}
.logo-wordmark {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
  filter: drop-shadow(0 0 14px rgba(0,200,255,.25));
}
.logo-wordmark span {
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-sep { width: 1px; height: 26px; background: var(--border); }
.logo-tagline {
  font-size: clamp(.48rem, 1vw, .6rem); font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); line-height: 1.5; text-align: left;
}

/* ── MIDDLE CONTENT ── */
.middle {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; justify-content: center;
  padding: clamp(6px, 1.5vh, 20px) 0;
  gap: 0;
}

.em-breve-tag {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(0,87,255,.12); border: 1px solid rgba(0,87,255,.35);
  color: var(--cyan);
  font-size: clamp(.56rem, 1vw, .66rem); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 100px;
  margin-bottom: clamp(8px, 1.8vh, 20px);
  opacity: 0; transform: translateY(12px);
  animation: fadeUp .6s .3s var(--ease) forwards;
}
.dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--cyan);
  animation: pulse 2s infinite; flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .3; transform: scale(.6); }
}

.headline {
  font-family: var(--font-h);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 900; line-height: .88;
  letter-spacing: -.01em; text-transform: uppercase;
  margin-bottom: clamp(8px, 1.8vh, 20px);
  opacity: 0; transform: translateY(20px);
  animation: fadeUp .7s .45s var(--ease) forwards;
}
.line-white { color: var(--white); display: block; }
.line-blue {
  display: block;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 28px rgba(0,87,255,.5));
}

.sub {
  font-size: clamp(.75rem, 1.4vw, .93rem); font-weight: 300;
  color: rgba(255,255,255,.6); line-height: 1.6; max-width: 500px;
  margin-bottom: clamp(12px, 2.5vh, 30px);
  opacity: 0; transform: translateY(14px);
  animation: fadeUp .6s .6s var(--ease) forwards;
}

.divider {
  width: 100%; max-width: 400px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,87,255,.35) 30%, rgba(0,200,255,.5) 50%, rgba(0,87,255,.35) 70%, transparent);
  margin-bottom: clamp(12px, 2.5vh, 30px);
  opacity: 0; animation: fadeIn .5s .75s forwards;
}

/* ── EMAIL ── */
.notify-wrap {
  width: 100%; max-width: 460px;
  margin-bottom: clamp(10px, 2vh, 24px);
  opacity: 0; transform: translateY(12px);
  animation: fadeUp .6s .85s var(--ease) forwards;
}
.notify-label {
  font-size: clamp(.55rem, .95vw, .66rem); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 9px;
}
.notify-form { display: flex; gap: 8px; }
.notify-input {
  flex: 1; background: rgba(255,255,255,.04);
  border: 1px solid rgba(0,87,255,.28); border-radius: 7px;
  padding: 9px 13px; color: var(--white);
  font-family: var(--font-b); font-size: .82rem;
  outline: none; transition: border-color .25s, box-shadow .25s;
}
.notify-input::placeholder { color: rgba(255,255,255,.28); }
.notify-input:focus { border-color: rgba(0,87,255,.65); box-shadow: 0 0 0 3px rgba(0,87,255,.1); }
.notify-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; background: var(--blue);
  color: var(--white); font-family: var(--font-b);
  font-size: .76rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  border: none; border-radius: 7px; cursor: pointer; white-space: nowrap;
  position: relative; overflow: hidden;
  transition: transform .2s, box-shadow .3s;
  box-shadow: 0 4px 16px rgba(0,87,255,.35);
}
.notify-btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.15), transparent);
  transform: translateX(-100%); transition: transform .5s var(--ease);
}
.notify-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,87,255,.5); }
.notify-btn:hover::before { transform: translateX(100%); }
.notify-success {
  display: none; align-items: center; gap: 7px;
  font-size: .76rem; font-weight: 600; color: var(--green);
  margin-top: 7px; padding: 7px 13px;
  background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.22); border-radius: 7px;
}
.notify-success.show { display: flex; }

/* ── CTA BUTTONS ── */
.cta-row {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp .6s 1s var(--ease) forwards;
}
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; background: transparent; color: var(--white);
  font-family: var(--font-b); font-size: .8rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid rgba(37,211,102,.45); border-radius: 7px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .2s, box-shadow .3s;
}
.btn-wa::before {
  content: ''; position: absolute; inset: 0; background: var(--green);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.btn-wa:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,211,102,.22); }
.btn-wa:hover::before { transform: scaleX(1); }
.btn-wa span, .btn-wa svg { position: relative; z-index: 1; }
.btn-wa svg { width: 15px; height: 15px; flex-shrink: 0; }

.btn-ig {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; background: rgba(255,255,255,.04); color: rgba(255,255,255,.7);
  font-family: var(--font-b); font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  border: 1px solid rgba(255,255,255,.1); border-radius: 7px;
  transition: background .25s, border-color .25s, color .25s, transform .2s;
}
.btn-ig:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2); color: var(--white); transform: translateY(-2px); }
.btn-ig svg { width: 15px; height: 15px; }

/* ── FEATURES BAR ── */
.features-bar {
  width: 100%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 11px; overflow: hidden;
  opacity: 0; transform: translateY(12px);
  animation: fadeUp .6s 1.15s var(--ease) forwards;
  flex-shrink: 0;
}
.feat-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: clamp(9px, 1.6vh, 16px) 10px;
  background: rgba(255,255,255,.02); transition: background .25s;
}
.feat-item:hover { background: rgba(0,87,255,.06); }
.feat-icon {
  width: 30px; height: 30px; border-radius: 7px;
  background: rgba(0,87,255,.1); border: 1px solid rgba(0,87,255,.2);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feat-icon svg {
  width: 13px; height: 13px; fill: none; stroke: var(--cyan);
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feat-title {
  font-family: var(--font-h); font-size: clamp(.7rem, 1.2vw, .82rem);
  font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--white);
}
.feat-desc { font-size: clamp(.58rem, .95vw, .66rem); color: var(--muted); line-height: 1.3; }

/* ── FOOTER ── */
.page-footer {
  flex-shrink: 0;
  opacity: 0; animation: fadeIn .5s 1.35s forwards;
}
.page-footer p { font-size: clamp(.58rem, .95vw, .66rem); color: rgba(255,255,255,.22); letter-spacing: .05em; }
.page-footer a { color: rgba(0,200,255,.45); text-decoration: none; transition: color .2s; }
.page-footer a:hover { color: var(--cyan); }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeDown { from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
  .logo-sep, .logo-tagline { display: none; }
  .features-bar { grid-template-columns: repeat(2, 1fr); }
  .notify-form { flex-direction: column; }
  .notify-btn { justify-content: center; }
  .cta-row { width: 100%; }
  .btn-wa, .btn-ig { justify-content: center; flex: 1; }
}
@media (max-height: 620px) { .sub { display: none; } }
@media (max-height: 520px) { .divider { display: none; } .feat-desc { display: none; } }
@media (max-height: 440px) { .features-bar { display: none; } }
