/* ========================================
   RESET BÁSICO E VARIÁVEIS
   ======================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg1: #f0f9f0;
  --bg2: #e6f7e6;
  --green: #16a34a;
  --green-dark: #12833a;
  --green-cta: #25d366;
  --text: #1a472a;
  --text-light: #2d5a2d;
}

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

body {
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial,
    sans-serif;
  line-height: 1.6;
}

/* ========================================
   HEADER E NAVEGAÇÃO
   ======================================== */
.mt-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 139, 34, 0.12);
}

.mt-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mt-brand {
  font-weight: 700;
  font-size: 18px;
  color: #228b22;
  letter-spacing: 0.2px;
}

.mt-menu {
  display: flex;
  gap: 8px;
  list-style: none;
}

.mt-menu a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mt-menu a:hover {
  background: #228b22;
  color: #fff;
}

/* ========================================
   MAIN E HERO (AJUSTADO PARA ESPAÇAMENTO)
   ======================================== */
.mt-main {
  height: calc(100vh - 100px);
  display: grid;
  place-items: center;
  padding: 20px 16px;
}

.mt-hero {
  text-align: center;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mt-title {
  font-size: 32px;
  margin: 0;
  font-weight: 700;
  background: linear-gradient(135deg, #228b22, #32cd32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mt-sub {
  max-width: 520px;
  margin: 0;
  color: var(--text-light);
  font-size: 16px;
}

/* ========================================
   RELÓGIO ANIMADO
   ======================================== */
.mt-logo {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 8px 0;
}

.mt-logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 12px solid var(--green);
  background: #fff;
  z-index: 0;
}

.mt-logo-ticks {
  position: absolute;
  inset: 16px;
  z-index: 1;
}

.tick {
  position: absolute;
  background: var(--green);
  border-radius: 4px;
}

.t12 {
  width: 6px;
  height: 16px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.t3 {
  width: 16px;
  height: 6px;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.t6 {
  width: 6px;
  height: 16px;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

.t9 {
  width: 16px;
  height: 6px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* ========================================
   PONTEIROS ANIMADOS
   ======================================== */
.mt-hands {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.hand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: 50% 100%;
  will-change: transform;
}

.hand.hour {
  width: 5px;
  height: 35px;
  background: var(--green-dark);
  border-radius: 5px;
  margin-left: -2.5px;
  margin-top: -35px;
  animation: turn 43200s linear infinite;
}

.hand.min {
  width: 3px;
  height: 45px;
  background: var(--green-dark);
  border-radius: 3px;
  margin-left: -1.5px;
  margin-top: -45px;
  animation: turn 3600s linear infinite;
}

.hand.sec {
  width: 2px;
  height: 52px;
  background: #32cd32;
  border-radius: 2px;
  margin-left: -1px;
  margin-top: -52px;
  animation: turn 60s linear infinite;
}

.cap {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--green);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  margin-left: -5px;
  margin-top: -5px;
  box-shadow: 0 0 6px rgba(34, 139, 34, 0.4);
  z-index: 4;
}

@keyframes turn {
  to {
    transform: rotate(1turn);
  }
}

/* ========================================
   BOTÃO WHATSAPP CTA (MAIS ESPAÇAMENTO)
   ======================================== */
.mt-cta {
  margin-top: 20px;
  display: inline-block;
  background: var(--green-cta);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: all 0.2s ease;
}

.mt-cta:hover {
  background: #20b954;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* ========================================
   FOOTER COM LINKS LEGAIS
   ======================================== */
.mt-footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 12px 16px;
  text-align: center;
  color: var(--text-light);
  font-size: 11px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
}

.mt-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.mt-links a {
  color: #227a22;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.mt-links a:hover {
  color: #175e17;
}

/* ========================================
   RESPONSIVIDADE
   ======================================== */
@media (max-width: 640px) {
  .mt-title {
    font-size: 28px;
  }

  .mt-logo {
    width: 130px;
    height: 130px;
  }

  .mt-menu {
    gap: 6px;
  }

  .mt-menu a {
    font-size: 11px;
    padding: 4px 8px;
  }

  .mt-sub {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .mt-nav {
    padding: 6px 12px;
  }

  .mt-title {
    font-size: 26px;
  }

  .mt-logo {
    width: 120px;
    height: 120px;
  }

  .mt-menu {
    flex-wrap: wrap;
    gap: 4px;
  }

  .mt-links {
    flex-direction: column;
    gap: 6px;
  }
}
