:root {
  --trevo-forest: #41603c;
  --trevo-forest-deep: #2d452a;
  --trevo-leaf: #5db54f;
  --trevo-leaf-light: #80cf66;
  --trevo-paper: #f8faf6;
}

.trevo-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.trevo-service-card {
  overflow: hidden;
  border: 1px solid rgba(65, 96, 60, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(45, 69, 42, 0.08);
}

.trevo-service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.trevo-service-card__body {
  padding: 1.25rem;
}

.trevo-service-card__body h3 {
  margin: 0 0 1rem;
  color: var(--trevo-forest-deep);
  font-size: 1.05rem;
  line-height: 1.35;
}

.trevo-service-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--trevo-forest);
}

.trevo-service-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--trevo-forest);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.trevo-service-card__button:hover,
.trevo-service-card__button:focus {
  background: var(--trevo-forest-deep);
  color: #fff;
}

.trevo-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--trevo-forest);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.trevo-action-button:hover,
.trevo-action-button:focus {
  background: var(--trevo-forest-deep);
  color: #fff;
}

.trevo-contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.trevo-contact-details > div {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border-radius: 14px;
  background: var(--trevo-paper);
}

.trevo-contact-details span {
  color: var(--trevo-forest);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trevo-floating-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;
  display: flex;
  gap: 0.65rem;
}

.trevo-action-button--whatsapp {
  background: #1f8f4e;
}

@media (max-width: 680px) {
  .trevo-floating-actions {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .trevo-floating-actions .trevo-action-button {
    flex: 1;
    padding-inline: 0.75rem;
  }
}

/* Faça parte da equipe */
.trevo-rh {
  --trevo-rh-border: rgba(65, 96, 60, 0.2);
  --trevo-rh-error: #b42318;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  margin: 1rem auto 4rem;
  max-width: 880px;
}

.trevo-rh__intro {
  display: grid;
  gap: 0.85rem;
  max-width: 720px;
}

.trevo-rh__intro h2,
.trevo-rh-status h2 {
  margin: 0;
  color: var(--trevo-forest-deep);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
}

.trevo-rh__intro p,
.trevo-rh-status p {
  margin: 0;
  color: #465249;
  font-size: 1.05rem;
  line-height: 1.65;
}

.trevo-rh-eyebrow {
  color: var(--trevo-forest) !important;
  font-size: 0.76rem !important;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.trevo-rh-form {
  display: grid;
  gap: 1.5rem;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--trevo-rh-border);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(45, 69, 42, 0.08);
}

.trevo-rh-form fieldset {
  display: grid;
  gap: 1rem;
  min-width: 0;
  margin: 0;
  padding: 0 0 1.5rem;
  border: 0;
  border-bottom: 1px solid var(--trevo-rh-border);
}

.trevo-rh-form fieldset:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
}

.trevo-rh-form legend {
  margin-bottom: 1rem;
  padding: 0;
  color: var(--trevo-forest-deep);
  font-size: 1.2rem;
  font-weight: 800;
}

.trevo-rh-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.trevo-rh-field {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  min-width: 0;
}

.trevo-rh-field--full {
  grid-column: 1 / -1;
}

.trevo-rh-field label {
  color: var(--trevo-forest-deep);
  font-size: 0.92rem;
  font-weight: 750;
}

.trevo-rh-optional {
  margin-left: 0.3rem;
  color: #69756d;
  font-size: 0.78rem;
  font-weight: 500;
}

.trevo-rh-field input,
.trevo-rh-field select,
.trevo-rh-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0.78rem 0.9rem;
  border: 1px solid #b9c7ba;
  border-radius: 10px;
  background: #fff;
  color: #142019;
  font: inherit;
  line-height: 1.4;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.trevo-rh-field textarea {
  min-height: 140px;
  resize: vertical;
}

.trevo-rh-field input[type="file"] {
  min-height: auto;
  padding: 0.65rem;
  background: var(--trevo-paper);
}

.trevo-rh-field input:focus,
.trevo-rh-field select:focus,
.trevo-rh-field textarea:focus,
.trevo-rh-consent input:focus-visible,
.trevo-rh-submit:focus-visible {
  outline: 3px solid rgba(93, 181, 79, 0.28);
  outline-offset: 2px;
  border-color: var(--trevo-forest);
  box-shadow: 0 0 0 1px var(--trevo-forest);
}

.trevo-rh-field [aria-invalid="true"] {
  border-color: var(--trevo-rh-error);
}

.trevo-rh-help,
.trevo-rh-required-note {
  margin: 0;
  color: #657068;
  font-size: 0.84rem;
  line-height: 1.5;
}

.trevo-rh-error {
  display: block;
  color: var(--trevo-rh-error);
  font-size: 0.84rem;
  font-weight: 650;
}

.trevo-rh-consent {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border-radius: 12px;
  background: var(--trevo-paper);
}

.trevo-rh-consent label {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  color: #334239;
  font-size: 0.92rem;
  line-height: 1.55;
}

.trevo-rh-consent input {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
  accent-color: var(--trevo-forest);
}

.trevo-rh-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  width: min(100%, 260px);
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 10px;
  background: var(--trevo-forest-deep);
  color: #fff;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.trevo-rh-submit:hover {
  background: var(--trevo-forest);
  transform: translateY(-1px);
}

.trevo-rh-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.trevo-rh-status {
  display: grid;
  gap: 0.8rem;
  padding: clamp(1.25rem, 4vw, 2.25rem);
  border: 1px solid var(--trevo-rh-border);
  border-radius: 16px;
  background: #fff;
}

.trevo-rh-status--success {
  border-color: rgba(36, 138, 75, 0.32);
  background: #f3fbf5;
}

.trevo-rh-status--error {
  border-color: rgba(180, 35, 24, 0.28);
  background: #fff7f6;
  color: var(--trevo-rh-error);
}

.trevo-rh-status--pending {
  margin: 2rem auto 4rem;
  max-width: 760px;
}

.trevo-rh-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.trevo-rh-live:empty {
  display: none;
}

@media (max-width: 680px) {
  .trevo-rh {
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  .trevo-rh-grid {
    grid-template-columns: 1fr;
  }

  .trevo-rh-field--full {
    grid-column: auto;
  }

  .trevo-rh-form {
    border-radius: 14px;
  }

  .trevo-rh-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trevo-rh-field input,
  .trevo-rh-field select,
  .trevo-rh-field textarea,
  .trevo-rh-submit {
    transition: none;
  }
}
