/* Cores da fachada, com intervenções discretas no desktop e abertura clara no celular. */
:root {
  --brand-blue: #1b429c;
  --brand-blue-soft: #eef4ff;
  --brand-orange: #e77c43;
  --brand-orange-soft: #fff0e7;
  --brand-green-soft: #e5f2e9;
  --orange: var(--brand-orange);
}

.topbar {
  background: var(--brand-blue);
  color: #fff;
}

.header {
  border-bottom-color: #ecd3bf;
  box-shadow: 0 2px 0 #e77c432e;
}

.brand strong,
.nav a.active {
  color: var(--brand-blue);
}

.nav a:after {
  background: var(--brand-orange);
}

.hero .eyebrow:before {
  background: #ffa56e;
}

.quick-strip > div:first-child svg {
  color: var(--brand-blue);
}

.quick-strip > div:last-child svg {
  color: #b95224;
}

.unit-card {
  --unit-color: var(--brand-blue);
  border-bottom: 2px solid #d7e1f0;
}

.unit-card:nth-child(2) {
  --unit-color: #b65025;
  border-bottom-color: #f2d8c8;
}

.unit-card:nth-child(3) {
  --unit-color: var(--green);
  border-bottom-color: #cce3d5;
}

.unit-number {
  background: #f2f6ff;
  color: var(--brand-blue);
  border: 1px solid #ffffff80;
}

.unit-card:nth-child(2) .unit-number {
  background: var(--brand-orange-soft);
  color: #98401e;
}

.unit-card:nth-child(3) .unit-number {
  background: var(--brand-green-soft);
  color: #24624b;
}

.unit-card h3 span {
  color: var(--unit-color);
}

.products-section {
  background: #f0f4fa;
}

.product-tag {
  background: var(--brand-green-soft);
  border-color: #cce2d3;
  color: #245d46;
}

.care-panel {
  background: #f0f4fa;
}

.closing {
  background: #193e87;
  border-top: 3px solid var(--brand-orange);
}

.footer {
  background: #f6f8fc;
}

.floating-contact {
  border-color: #a7d8bd;
}

.page-hero {
  background: #eef3fb;
}

/* A fachada fica livre da camada escura nos celulares e tablets. */
@media (max-width: 850px) {
  .hero {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    background: #f3f7ff;
    color: var(--ink);
  }

  .hero-img {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    border-bottom: 3px solid var(--brand-orange);
    animation: none;
  }

  .hero:after {
    display: none;
  }

  .hero .wrap {
    padding: 34px 30px 26px;
  }

  .hero .eyebrow {
    color: var(--brand-blue);
  }

  .hero .eyebrow:before {
    background: var(--brand-orange);
  }

  .hero h1 {
    font-size: clamp(46px, 7.6vw, 64px);
  }

  .hero h1 em {
    color: var(--green);
  }

  .hero-copy {
    color: #4c6178;
  }

  .hero .button.light {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: #fff;
  }

  .hero .button.light:hover {
    background: #173983;
  }

  .hero .button.ghost {
    background: #fff;
    color: #21624d;
    border-color: #b9d5c8;
  }

  .hero .button.ghost:hover {
    background: var(--brand-green-soft);
  }

  .hero-bottom {
    position: static;
    padding: 0 30px 24px;
    color: #536a82;
  }

  .hero-bottom a {
    color: var(--brand-blue);
  }
}

@media (max-width: 600px) {
  .header {
    background: #fffffffa;
  }

  .hero .wrap {
    padding: 28px 22px 24px;
  }

  .hero h1 {
    font-size: clamp(42px, 11.7vw, 56px);
  }

  .hero-copy {
    margin: 20px 0 25px;
    max-width: 360px;
  }

  .hero .button-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero .button {
    min-height: 48px;
    font-size: 13px;
    justify-content: space-between;
    padding: 14px 18px;
  }

  .hero-bottom {
    padding: 0 22px 22px;
  }

  .hero-credit {
    color: #536a82;
  }

  .quick-strip {
    background: #fff;
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .unit-card {
    border-radius: 8px;
    padding: 0 0 22px;
    background: #fff;
    box-shadow: 0 6px 22px #1b429c07;
  }

  .unit-card .unit-photo {
    border-radius: 8px 8px 0 0;
  }

  .unit-card > .eyebrow,
  .unit-card > h3,
  .unit-card > p,
  .unit-card > .visit {
    margin-left: 18px;
    margin-right: 18px;
  }

  .products-section {
    background: #edf4ff;
    border-top: 1px solid #dce7f7;
    border-bottom: 1px solid #dce7f7;
  }

  .product-picture {
    background: #fff;
    border: 1px solid #dfe7f1;
  }

  .service {
    padding-left: 61px;
  }

  .service .service-icon {
    width: 43px;
    height: 43px;
    border-radius: 11px;
    background: var(--brand-blue-soft);
    color: var(--brand-blue);
    align-items: center;
    justify-content: center;
  }

  .service .service-icon svg {
    width: 27px;
    height: 27px;
  }

  .service:nth-child(2) .service-icon {
    background: var(--brand-green-soft);
    color: #24624b;
  }

  .service:nth-child(3) .service-icon {
    background: var(--brand-orange-soft);
    color: #a54b23;
  }

  .care-panel {
    background: #fff5ed;
    border-bottom: 2px solid #f1c5a9;
  }

  .closing {
    background: #edf4ff;
    color: var(--ink);
  }

  .closing:after {
    color: #1b429c04;
  }

  .closing .eyebrow {
    color: var(--green);
  }

  .closing p {
    color: #4c6178;
  }

  .closing .button.light {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
  }

  .closing .button.light:hover {
    background: #1b604e;
  }

  .closing .button.ghost {
    color: var(--brand-blue);
    background: #fff;
    border-color: #bdd0ed;
  }

  .closing .button.ghost:hover {
    background: #e4edfc;
  }

  .footer {
    background: #fff;
  }

  .page-hero {
    border-top: 2px solid #e77c435c;
  }

  .floating-contact {
    background: #237958;
    box-shadow: 0 5px 18px #1c60352b;
  }
}
