:root {
  --verde: #0b5d3b;
  --verde2: #1d8f61;
  --azul: #24577a;
  --claro: #f4f8f5;
  --texto: #1f2d2b;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--claro);
  color: var(--texto);
}

.hero {
  min-height: 520px;
  background:
    linear-gradient(120deg, rgba(7,73,48,.92), rgba(36,87,122,.85)),
    url('https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 40px 8%;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-area img {
  height: 75px;
  background: rgba(255,255,255,.95);
  padding: 8px 14px;
  border-radius: 14px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-size: 15px;
  opacity: .9;
}

.brand-text span:last-child {
  font-size: 24px;
  font-weight: bold;
}

.brand {
  font-weight: bold;
  font-size: 20px;
}

.login {
  background: white;
  color: var(--verde);
  padding: 12px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.hero-content {
  max-width: 850px;
  margin-top: 95px;
}

.hero h1 {
  font-size: 52px;
  margin: 0 0 18px;
}

.hero p {
  font-size: 21px;
  line-height: 1.5;
}

.search-box {
  margin-top: 35px;
  background: white;
  padding: 12px;
  border-radius: 18px;
  display: flex;
  gap: 10px;
  max-width: 720px;
}

.search-box input {
  flex: 1;
  border: 0;
  padding: 18px;
  font-size: 16px;
  outline: none;
}

.search-box button {
  border: 0;
  background: var(--verde2);
  color: white;
  padding: 0 28px;
  border-radius: 14px;
  font-weight: bold;
  cursor: pointer;
}

.container {
  max-width: 1150px;
  margin: -70px auto 50px;
  padding: 0 20px;
}

.panel {
  background: white;
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 15px 45px rgba(0,0,0,.16);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 25px;
}

.card {
  border-radius: 20px;
  padding: 26px;
  background: #f7fbf8;
  border: 1px solid #dceee4;
}

.card h3 {
  color: var(--verde);
  margin-top: 0;
}

.card a {
  color: var(--azul);
  font-weight: bold;
  text-decoration: none;
}

.actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  padding: 15px 22px;
  border-radius: 30px;
  text-decoration: none;
  background: var(--verde);
  color: white;
  font-weight: bold;
}

.btn.secondary {
  background: var(--azul);
}

.footer {
  background: #0b2f25;
  color: white;
  padding: 35px 8%;
  font-size: 14px;
}

@media (max-width: 700px) {
  .hero h1 { font-size: 36px; }
  .search-box { flex-direction: column; }
  .search-box button { padding: 16px; }
}
