/* ============================================
   SAMET - Design System "Premium Dark"
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap");

:root {
  --green: #3d4a21;
  --green-light: #96ba3e;
  --green-pale: #e8f0d4;
  --dark: #151a0d;
  --text: #2d3436;
  --text-light: #7c8389;
  --border: #e2e4e1;
  --bg-light: #f7f8f5;
  --white: #ffffff;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 25px 60px rgba(15, 18, 8, 0.35), 0 8px 24px rgba(0,0,0,0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--dark);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
}

/* Blobs decorativos de fundo */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
body::before {
  width: 550px;
  height: 550px;
  background: var(--green);
  top: -180px;
  right: -120px;
}
body::after {
  width: 420px;
  height: 420px;
  background: var(--green-light);
  bottom: -120px;
  left: -120px;
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 24px 16px;
}

.container-content {
  width: 420px;
  min-height: 640px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

/* Accent stripe no topo */
.container-content::before {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--green-light), var(--green));
  flex-shrink: 0;
}

/* ---- HEADER ---- */
.header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 8px;
  border-bottom: none;
  background: linear-gradient(180deg, var(--green-pale) 0%, var(--white) 100%);
}

.header img {
  max-width: 80%;
  transition: transform 0.3s ease;
}

/* ---- CONTENT ---- */
.content {
  width: 100%;
  min-height: max-content;
  display: flex;
  align-items: center;
  justify-content: start;
  flex-direction: column;
  padding-top: 16px;
  flex-grow: 1;
}

.content h3 {
  font-size: 1.05rem;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.5px;
  line-height: 1.15;
}

.content p {
  width: 80%;
  text-align: center;
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.2;
}

/* ---- FORM ---- */
.content form {
  width: 92%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 12px;
  gap: 0;
}

.divInput {
  width: 90%;
  height: 44px;
  background-color: transparent;
  color: var(--text);
  border: none;
  border-bottom: 2px solid var(--border);
  border-radius: 0;
  padding: 0 4px;
  transition: border-color 0.3s ease;
  margin-bottom: 4px;
}

.divInput:focus-within {
  border-bottom-color: var(--green-light);
}

.formInput {
  width: 100%;
  height: 44px;
  background-color: transparent;
  color: var(--text);
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

.formInput::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.content form select {
  width: 100%;
  height: 44px;
  background-color: transparent;
  color: var(--text);
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

.content form select:focus,
.content form input:focus {
  outline: none;
}

/* ---- BUTTONS ---- */
.btnStandard {
  text-decoration: none;
  background: linear-gradient(135deg, var(--green) 0%, #5a6e30 100%);
  width: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  color: var(--white);
  height: 40px;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-top: 12px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(61, 74, 33, 0.25);
}

.btnStandard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 74, 33, 0.35);
}

#buttonAgendar {
  background: linear-gradient(135deg, var(--green) 0%, #5a6e30 100%);
  border-radius: 50px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  padding: 12px 32px;
  user-select: none;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(61, 74, 33, 0.25);
  letter-spacing: 0.5px;
}

#buttonAgendar:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 74, 33, 0.4);
}

#buttonAgendar:disabled {
  background: #d4d6d2;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.buttonWhatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50px;
  border: none;
  background-color: #25d366;
  color: var(--white);
  cursor: pointer;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.buttonWhatsapp:hover {
  background-color: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* ---- VOLTAR (link) ---- */
.voltar {
  text-decoration: none;
  color: var(--text-light);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.voltar:hover {
  color: var(--green);
  background: var(--green-pale);
}

/* ---- FOOTER ---- */
.footer {
  width: 92%;
  display: flex;
  align-items: center;
  padding: 16px 0;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

.footer form {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- UTILITIES ---- */
.f-spaceb {
  justify-content: space-between;
}
.f-row {
  flex-direction: row;
}
.f-center {
  align-items: center;
  justify-content: center;
}
.f-column {
  flex-direction: column;
}
.align-left {
  text-align: left;
}
.align-center {
  text-align: center;
}

/* ---- LOADING BUTTON ---- */
.loading-button {
  position: relative;
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), #5a6e30);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(61, 74, 33, 0.25);
}

.loading-button:disabled {
  background: #d4d6d2;
  cursor: not-allowed;
  box-shadow: none;
}

.loading-button span {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.loading-button.loading span {
  opacity: 0;
}

.loading-button .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 3px solid transparent;
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loading-button.loading .loader {
  opacity: 1;
}

/* ---- COMUNICADOS ---- */
.comunicados {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  gap: 10px;
}

.comunicado-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 80%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.info {
  border: 1px solid #3b82f6;
  background-color: #eff6ff;
  color: #1e40af;
}

.warning {
  border: 1px solid #f59e0b;
  background-color: #fffbeb;
  color: #92400e;
}

.danger {
  border: 1px solid #ef4444;
  background-color: #fef2f2;
  color: #991b1b;
}

/* ---- LISTA COLABORADORES ---- */
.lista-colaboradores {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
  list-style-type: none;
  width: 90%;
  font-family: "Inter", sans-serif;
}

.lista-colaboradores li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 14px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: all 0.25s ease;
}

.lista-colaboradores li:hover {
  border-color: var(--green-light);
  background-color: var(--green-pale);
}

.lista-colaboradores li a {
  text-decoration: none;
  color: var(--green);
  font-weight: 600;
}

/* ---- BOTAO AGENDAR VISITA ---- */
.buttonAgendarVisita {
  width: 80%;
  height: 44px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: var(--white);
  cursor: pointer;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.buttonAgendarVisita:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* ---- ANIMATIONS ---- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container-content {
  animation: fadeInUp 0.5s ease-out;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 480px) {
  .container {
    padding: 12px 8px;
  }

  .container-content {
    width: 100%;
    min-height: 100vh;
    border-radius: 0;
  }

  .container-content::before {
    border-radius: 0;
  }

  .header {
    padding: 20px 16px 16px;
  }

  .header img {
    max-width: 80%;
  }
}
