/* =========================================================
   ARBORVITAE — formulários PT (reconstrução estrutural 2026)
   ========================================================= */

:root {
  --av-teal: #1e5a65;
  --av-teal-deep: #0a1e22;
  --av-ink: #15262b;
  --av-muted: #5a6b70;
  --av-line: #d8ddd8;
  --av-line-soft: #e6ebe6;
  --av-surface: #f3f6f4;
  --av-white: #ffffff;
  --av-radius-card: 16px;
  --av-radius-input: 10px;
  --av-shadow: 0 1px 2px rgba(21, 38, 43, 0.04), 0 8px 24px rgba(21, 38, 43, 0.05);
  --av-font: "Montserrat", "Exo 2", system-ui, sans-serif;
}

/* Hide legacy Mobirise title blocks — titles live inside new stages */
.cid-v7ZCRDrDoY {
  display: none !important;
}

#custom-html-2a {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--av-surface) !important;
  font-family: var(--av-font) !important;
}

#custom-html-2a * {
  box-sizing: border-box;
}

/* ---- ORDER STAGE: same widths as Bootstrap .container ---- */
.arbor-order-stage {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 3.5rem 16px 4.5rem;
  color: var(--av-ink);
}

@media (min-width: 576px) {
  .arbor-order-stage {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .arbor-order-stage {
    max-width: 720px;
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 992px) {
  .arbor-order-stage {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .arbor-order-stage {
    max-width: 1140px;
  }
}

.arbor-order-hero {
  margin: 0 0 2.5rem;
  max-width: 40rem;
}

.arbor-order-hero h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--av-ink);
  text-transform: uppercase;
}

.arbor-order-hero p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--av-muted);
}

/* Product grid */
.arbor-products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 0 0 2.75rem;
}

@media (min-width: 900px) {
  .arbor-products {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.arbor-product-card {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  min-height: 100%;
  padding: 1.75rem 1.75rem 1.6rem;
  background: var(--av-white);
  border: 1px solid var(--av-line-soft);
  border-radius: var(--av-radius-card);
  box-shadow: var(--av-shadow);
}

.arbor-product-card__name {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--av-ink);
}

.arbor-product-card__size {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--av-muted);
}

.arbor-product-card__price {
  margin: 0.85rem 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--av-teal);
}

.arbor-product-card__price span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--av-muted);
}

.arbor-product-card__qty-label {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--av-ink);
}

.arbor-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem;
  background: var(--av-surface);
  border: 1px solid var(--av-line);
  border-radius: 12px;
}

.arbor-qty__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 10px;
  background: var(--av-white);
  color: var(--av-teal);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(21, 38, 43, 0.06);
  transition: background-color 0.12s ease, color 0.12s ease;
}

.arbor-qty__btn:hover {
  background: var(--av-teal);
  color: #fff;
}

.arbor-qty__btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 90, 101, 0.22);
}

.arbor-qty__input,
#custom-html-2a .arbor-qty__input {
  width: 4.25rem;
  min-width: 4.25rem;
  height: 56px;
  min-height: 56px;
  margin: 0;
  padding: 0;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center;
  font-family: inherit;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--av-ink);
  -moz-appearance: textfield;
}

.arbor-qty__input::-webkit-outer-spin-button,
.arbor-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.arbor-product-card__line {
  margin: 0.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--av-line-soft);
  font-size: 1rem;
  color: var(--av-muted);
}

.arbor-product-card__line strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--av-ink);
  font-variant-numeric: tabular-nums;
}

/* Shared cards / fields */
.arbor-panel {
  margin: 0 0 1.75rem;
  padding: 2rem 1.75rem;
  background: var(--av-white);
  border: 1px solid var(--av-line-soft);
  border-radius: var(--av-radius-card);
  box-shadow: var(--av-shadow);
}

@media (min-width: 768px) {
  .arbor-panel {
    padding: 2.25rem 2.25rem;
  }
}

.arbor-panel__title {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--av-ink);
}

.arbor-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 1.5rem;
}

@media (min-width: 768px) {
  .arbor-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .arbor-form-grid .arbor-field--full {
    grid-column: 1 / -1;
  }
}

.arbor-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 0;
}

.arbor-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--av-ink);
}

.arbor-label .arbor-req {
  color: var(--av-teal);
  margin-left: 0.15rem;
}

.arbor-control,
#custom-html-2a .arbor-control,
.arbor-contact-stage .arbor-control {
  width: 100%;
  height: 52px;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--av-line);
  border-radius: var(--av-radius-input);
  background: var(--av-white);
  color: var(--av-ink);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

textarea.arbor-control,
#custom-html-2a textarea.arbor-control,
.arbor-contact-stage textarea.arbor-control {
  height: auto;
  min-height: 140px;
  resize: vertical;
}

.arbor-control:hover {
  border-color: #c2c9c2;
}

.arbor-control:focus {
  border-color: var(--av-teal);
  box-shadow: 0 0 0 3px rgba(30, 90, 101, 0.16);
}

.arbor-control:user-invalid {
  border-color: #b42318;
}

/* Summary */
.arbor-summary {
  margin: 0 0 1.75rem;
  padding: 2rem 1.75rem;
  background: var(--av-white);
  border: 1px solid var(--av-line-soft);
  border-radius: var(--av-radius-card);
  box-shadow: var(--av-shadow);
}

@media (min-width: 768px) {
  .arbor-summary {
    padding: 2.25rem 2.5rem;
  }
}

.arbor-summary__title {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.arbor-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.arbor-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  font-size: 1.08rem;
  color: var(--av-muted);
}

.arbor-summary__row span:last-child {
  color: var(--av-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.arbor-summary__divider {
  height: 1px;
  margin: 1rem 0 1.15rem;
  border: 0;
  background: var(--av-line);
}

.arbor-summary__row--total {
  align-items: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--av-ink);
}

.arbor-summary__row--total span:first-child {
  color: var(--av-ink);
}

.arbor-summary__row--total span:last-child {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--av-teal);
}

.arbor-calc-store {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* GDPR + CTA */
.arbor-gdpr {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
  padding: 1.15rem 1.25rem;
  background: var(--av-white);
  border: 1px solid var(--av-line);
  border-radius: 12px;
}

.arbor-gdpr input[type="checkbox"] {
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--av-teal);
  cursor: pointer;
}

.arbor-gdpr-text {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--av-ink);
  cursor: pointer;
}

.arbor-gdpr-text a {
  color: var(--av-teal);
  font-weight: 700;
  text-decoration: underline;
}

.arbor-form-actions {
  display: flex;
  width: 100%;
}

.arbor-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0.95rem 2rem;
  border: none;
  border-radius: 12px;
  background: var(--av-teal);
  color: #fff !important;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 768px) {
  .arbor-btn-primary {
    width: auto;
    min-width: 320px;
  }

  .arbor-order-stage .arbor-btn-primary {
    min-width: 360px;
  }
}

.arbor-btn-primary:hover {
  background: var(--av-teal-deep);
}

.arbor-btn-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(30, 90, 101, 0.28);
}

/* ---- CONTACT STAGE ---- */
.cid-uhVqWyrMoJ .title {
  display: none !important;
}

.cid-utaXTL6cim {
  background: var(--av-surface) !important;
  padding: 0 !important;
}

.cid-utaXTL6cim .mbr-row,
.cid-utaXTL6cim .text-block {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.arbor-contact-stage {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 2.5rem 16px 4rem;
  font-family: var(--av-font);
  color: var(--av-ink);
}

@media (min-width: 576px) {
  .arbor-contact-stage {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .arbor-contact-stage {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .arbor-contact-stage {
    max-width: 850px; /* slightly narrower card, still within site container */
  }
}

.arbor-contact-stage * {
  box-sizing: border-box;
}

.arbor-contact-hero {
  margin: 0 0 1.75rem;
}

.arbor-contact-hero h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--av-ink);
}

.arbor-contact-hero p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--av-muted);
}

.arbor-contact-card {
  padding: 2rem 1.5rem;
  background: var(--av-white);
  border: 1px solid var(--av-line-soft);
  border-radius: var(--av-radius-card);
  box-shadow: var(--av-shadow);
}

@media (min-width: 768px) {
  .arbor-contact-card {
    padding: 2.25rem 2.25rem;
  }
}

.arbor-recaptcha-wrap {
  margin: 0 0 1.25rem;
}

.arbor-contact-stage .arbor-form-actions {
  margin-top: 0.25rem;
}

.arbor-contact-stage .arbor-btn-primary {
  width: 100%;
}

@media (min-width: 768px) {
  .arbor-contact-stage .arbor-btn-primary {
    width: auto;
    min-width: 280px;
  }
}

/* Soften social strip above contact */
.cid-unsYM8V4Q6 {
  background: var(--av-surface) !important;
  padding-top: 1.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Mobile safety */
@media (max-width: 429px) {
  .arbor-order-stage,
  .arbor-contact-stage {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .arbor-product-card,
  .arbor-panel,
  .arbor-summary,
  .arbor-contact-card {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .arbor-qty__btn {
    width: 52px;
    height: 52px;
  }
}
