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

:root {
  --green-deep: #0a2e1a;
  --green-mid: #1a5c30;
  --green-light: #3a8c52;
  --green-pale: #c8e6d0;
  --cream: #f5f0e8;
  --cream-dark: #ede6d8;
  --text-main: #0a2e1a;
  --text-muted: #4a7060;
}

html, body {
  height: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--cream);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.bg-shapes {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-shapes svg {
  width: 100%;
  height: 100%;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px;
}

main {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 4rem 3.5rem 4.5rem;
  border-right: 1px solid rgba(10, 46, 26, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--green-deep);
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 2rem;
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--green-light);
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--green-deep);
  margin-bottom: 1.8rem;
}

h1 em {
  font-style: italic;
  color: var(--green-mid);
}

.description {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 38ch;
  margin-bottom: 3rem;
}

.progress-wrap {
  margin-bottom: 3.5rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.progress-bar {
  height: 3px;
  background: rgba(10, 46, 26, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 65%;
  background: linear-gradient(90deg, var(--green-light), var(--green-mid));
  border-radius: 2px;
  animation: fillBar 1.8s cubic-bezier(0.4, 0, 0.2, 1) both;
  animation-delay: 0.6s;
}

@keyframes fillBar {
  from { width: 0; }
  to { width: 65%; }
}

.notify-form {
  display: flex;
  max-width: 420px;
  border: 1px solid rgba(10, 46, 26, 0.2);
  border-radius: 4px;
  overflow: hidden;
  background: white;
  transition: border-color 0.2s;
}

.notify-form:focus-within {
  border-color: var(--green-mid);
}

.notify-form input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0.85rem 1.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-main);
  background: transparent;
}

.notify-form input::placeholder {
  color: rgba(74, 112, 96, 0.5);
}

.notify-form button {
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.85rem 1.4rem;
  background: var(--green-deep);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
}

.notify-form button:hover {
  background: var(--green-mid);
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-left a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-left a:hover {
  color: var(--green-deep);
}

.right {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 4rem;
  background-color: var(--green-deep);
  overflow: hidden;
}

.right-top {
  display: flex;
  justify-content: flex-end;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 0.4rem 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-pale);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.info-block {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 1.1rem 1.2rem;
}

.info-block .label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(200, 230, 208, 0.5);
  margin-bottom: 0.35rem;
}

.info-block .value {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--cream);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-1 { animation: fadeUp 0.8s ease both; animation-delay: 0.1s; }
.anim-2 { animation: fadeUp 0.8s ease both; animation-delay: 0.25s; }
.anim-3 { animation: fadeUp 0.8s ease both; animation-delay: 0.4s; }
.anim-4 { animation: fadeUp 0.8s ease both; animation-delay: 0.55s; }
.anim-5 { animation: fadeUp 0.8s ease both; animation-delay: 0.7s; }

@media (max-width: 860px) {
  main {
    grid-template-columns: 1fr;
  }

  .right {
    min-height: 360px;
  }

  .left {
    padding: 2.5rem 2rem;
    border-right: none;
    border-bottom: 1px solid rgba(10, 46, 26, 0.12);
  }
}

/* ── Botão Webmail ── */
.webmail-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(10, 46, 26, 0.2);
  border-radius: 100px;
  padding: 0.4rem 0.9rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.webmail-btn:hover {
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: var(--cream);
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 46, 26, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--cream);
  border-radius: 10px;
  width: 100%;
  max-width: 900px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid rgba(10, 46, 26, 0.1);
  background: white;
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--green-deep);
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-open-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.modal-open-btn:hover {
  background: rgba(10, 46, 26, 0.08);
  color: var(--green-deep);
}

.modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.modal-close:hover {
  background: rgba(10, 46, 26, 0.08);
  color: var(--green-deep);
}

.modal-body {
  flex: 1;
  overflow: hidden;
}

.modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
}
