
/* ========================================
   ESTILO COMPLETO AGROINOVA – AJUSTADO
   (NADA REMOVIDO, APENAS REFINADO)
   ======================================== */

/* RESET */
* {
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: 'Montserrat', sans-serif;
  background-image: url(fundo.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  margin: 0;
  padding: 16px;
}

/* CONTAINER PRINCIPAL */
.container {
  max-width: 1100px;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(232, 245, 233, 0.92),
    rgba(255, 255, 255, 0.88)
  );
  backdrop-filter: blur(4px);
  margin: 0 auto;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(46, 125, 50, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* TÍTULO */
h1 {
  font-family: 'Poppins', sans-serif;
  text-align: center;
  font-size: clamp(24px, 4.5vw, 36px);
  color: #1b5e20;
  margin-bottom: 15px;
}

/* LABEL */
label {
  font-weight: 600;
  color: #333;
}

/* INPUTS E SELECT */
select,
input,
button:not(#floating-info-btn):not(.close-btn) {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  font-size: 16px;
  border-radius: 14px;
}

select {
  border: 1px solid #ccc;
  background: #fff;
  transition: all 0.3s;
  outline: none;
}

select:focus {
  border-color: #2e7d32;
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

/* DROPZONE */
.file-dropzone {
  margin-top: 18px;
  padding: 28px;
  border: 2px dashed #2e7d32;
  border-radius: 18px;
  text-align: center;
  cursor: pointer;
  background: #f9fff9;
  transition: all 0.25s ease;
}

.file-dropzone:hover {
  background: #eef7ee;
  transform: translateY(-2px);
}

.file-dropzone .icon {
  font-size: 32px;
}

#file-name {
  margin-top: 10px;
  font-weight: 600;
  color: #2e7d32;
}

/* BOTÕES */
button:not(#floating-info-btn):not(.close-btn) {
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-transform: uppercase;
}

/* BOTÃO PRINCIPAL */
button:not(.btn-reiniciar):not(#floating-info-btn):not(.close-btn) {
  background: linear-gradient(135deg, #2e7d32, #1b5e20);
  color: white;
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.35);
}

button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* BOTÃO REINICIAR */
.btn-reiniciar {
  background: transparent;
  color: #444;
  border: 1px solid #bbb;
  margin-top: 10px;
}

.btn-reiniciar:hover {
  background: #f1f1f1;
}

/* RESULTADO GERAL */
.resultado {
  margin-top: 28px;
  background: #ffffff;
  padding: 22px;
  border-radius: 18px;
  line-height: 1.6;
  border-left: 6px solid #2e7d32;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

/* RESULTADO ERRO */
.resultado.erro {
  border-left-color: #e53935;
  background: #fff5f5;
}

/* TEXTO PEQUENO */
small {
  display: block;
  margin-top: 12px;
  color: #444;
  font-size: 14px;
}

/* ===============================
   SEÇÕES DE DOENÇA (COMPLETO)
   =============================== */

.doenca-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  border-left: 8px solid #2e7d32;
}

.doenca-card h3 {
  margin-top: 0;
  color: #1b5e20;
  font-size: 1.5rem;
}

.subtitulo {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.info-box,
.secao-prevencao {
  background-color: #f9f9f9;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.secao-sintomas ul {
  background: #f1f8e9;
  padding: 15px 15px 15px 35px;
  border-radius: 12px;
  border: 1px solid #c5e1a5;
  margin-bottom: 15px;
}

.secao-tecnica ul {
  background: #fff3e0;
  padding: 15px 15px 15px 35px;
  border-radius: 12px;
  border: 1px solid #ffe0b2;
  margin-bottom: 15px;
}

.secao-controle {
  background-color: #e3f2fd;
  padding: 15px;
  border-radius: 12px;
  border-left: 6px solid #2196f3;
  font-weight: 500;
}

/* ===============================
   BOTÃO FLUTUANTE
   =============================== */

#floating-info-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: #1b5e20;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
}

#floating-info-btn:hover {
  transform: scale(1.1);
}

/* ===============================
   MENU INFO
   =============================== */

.hidden {
  display: none !important;
}

#info-menu {
  position: fixed;
  bottom: 95px;
  right: 25px;
  width: 380px;
  max-width: 90vw;
  max-height: calc(100vh - 150px);
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  overflow: auto-y;
  animation: slideUp 0.3s ease-out forwards;
}

.info-header {
  background: #1b5e20;
  color: white;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.title-badge {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.close-btn {
  background: transparent !important;
  color: #ffffff !important;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.info-body {
  padding: 18px;
  color: #000000;
  font-weight: 500;
  line-height: 1.6;
  overflow-y: auto;
}

.explanation-box {
  background: #f1f1f1;
  border-left: 5px solid #1b5e20;
  padding: 12px;
  margin: 15px 0;
  font-style: italic;
  font-size: 13px;
}

.contact-link {
  display: block;
  margin-top: 10px;
  padding: 12px;
  background: #e9ecef;
  color: #1b5e20;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  border-radius: 12px;
}

.contact-link:hover {
  background: #dedede;
}

/* DIVIDER */
.divider {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 15px 0;
}

.thanks-msg {
  margin-top: 25px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  color: #1a3d1d;
  text-transform: uppercase;
}

/* ANIMAÇÃO */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   TEXTO INTRODUTÓRIO ABAIXO DO TÍTULO
   ======================================== */
.intro-text {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 28px;
  color: #444;
  font-size: 15px;
  line-height: 1.6;
}

/* ========================================
   DICA ABAIXO DO UPLOAD
   ======================================== */
.hint {
  color: #2e7d32;
  font-size: 13px;
  margin-top: 8px;
  display: block;
}

/* ========================================
   RESULTADO PLACEHOLDER (ANTES DA ANÁLISE)
   ======================================== */
.resultado.placeholder {
  background: transparent;
  border: 2px dashed #c8e6c9;
  color: #666;
  text-align: center;
  box-shadow: none;
  font-style: italic;
}



/* ========================================
   CAIXA DE CONTEXTO / PROPÓSITO DO PROJETO
   ======================================== */
.context-box {
  margin-top: 16px;
  padding: 20px;
  background: #f1f8e9;
  border-radius: 14px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
  border-left: 5px solid #2e7d32;
  margin-bottom: 28px;
   
}
.app-title {
  font-size: 2.7rem;
  font-weight: 900; /* mais gordinha */
  color: #fff;
  letter-spacing: -1px;

  /* contorno preto */
  -webkit-text-stroke: 1.2px #000;
  text-stroke: 1.2px #000;

  /* fallback */
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.app-title span {
  color: #2e7d32;
}

.app-subtitle {
  margin-top: 4px;
  font-size: 1rem;
  color: #4e7c57;
}

/* RESPONSIVO */
@media (max-width: 600px) {
  body { padding: 8px; }
  .container { padding: 18px; }
  button:not(#floating-info-btn) { font-size: 15px; }
  #info-menu {
    width: 90vw;
    right: 5vw;
    bottom: 85px;
  }
   }







