/* ============================================================
   HOME PROFISSIONAL — Construtora Portellanato
   Extraído de portfolio/home_professional.html
   ============================================================ */

.home-shell {
  position: relative;
  overflow: hidden;
}

.home-shell::before,
.home-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
}

.home-shell::before {
  width: 34rem;
  height: 34rem;
  top: -10rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(200, 90, 84, 0.18), transparent 68%);
}

.home-shell::after {
  width: 30rem;
  height: 30rem;
  left: -10rem;
  bottom: 20%;
  background: radial-gradient(circle, rgba(45, 95, 79, 0.16), transparent 72%);
}

.home-hero {
  position: relative;
  padding: 5.5rem 0 3rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(45, 95, 79, 0.1);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(18, 30, 26, 0.08);
}

.hero-kicker::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-color), #f1b09f);
}

.hero-title {
  margin: 1.3rem 0 0.6rem;
  color: #16352c;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  max-width: 20ch;
}

.hero-copy {
  max-width: 38rem;
  margin-bottom: 1.8rem;
  font-size: 1.08rem;
  color: rgba(21, 34, 30, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.btn-soft-ghost {
  background: rgba(255, 255, 255, 0.78);
  color: #16352c;
  border: 1px solid rgba(22, 53, 44, 0.14);
}

.btn-soft-ghost:hover {
  background: #fff;
  color: #16352c;
  border-color: rgba(22, 53, 44, 0.25);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
  color: rgba(22, 53, 44, 0.76);
  font-size: 0.96rem;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-proof i {
  color: var(--accent-color);
}

.hero-stage {
  position: relative;
}

.hero-visual {
  padding: 1rem;
  border-radius: 1.9rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px rgba(17, 28, 25, 0.14);
}

.hero-visual-media {
  position: relative;
  min-height: 28rem;
  border-radius: 1.4rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(8, 21, 18, 0.12), rgba(8, 21, 18, 0.6)),
    url('../images/obra_fundo.jpg') center/cover no-repeat;
}

.hero-visual-tag {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.58rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual-content {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.hero-visual-content h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.hero-visual-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 18rem;
}

.hero-floating {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  display: grid;
  gap: 1rem;
  width: min(16rem, 44vw);
}

.hero-floating-card {
  padding: 1.15rem 1.2rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(17, 28, 25, 0.12);
}

.hero-floating-card small {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(22, 53, 44, 0.55);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-floating-card strong {
  color: #16352c;
  font-size: 1.05rem;
}

.hero-floating-card.accent {
  background: linear-gradient(145deg, rgba(200, 90, 84, 0.95), rgba(158, 61, 57, 0.92));
}

.hero-floating-card.accent small,
.hero-floating-card.accent strong,
.hero-floating-card.accent span {
  color: #fff;
}

.hero-floating-card.accent span {
  display: block;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.93rem;
}

.trust-strip {
  margin-top: 1.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.trust-card {
  padding: 1.35rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(22, 53, 44, 0.08);
  box-shadow: 0 18px 44px rgba(19, 28, 25, 0.06);
}

.trust-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: #16352c;
  font-size: 1.65rem;
  line-height: 1;
}

.trust-card span {
  color: rgba(22, 53, 44, 0.72);
  font-size: 0.94rem;
}

.home-section {
  position: relative;
  padding: 6rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(245,241,232,0.72));
}

.section-dark {
  background:
    linear-gradient(135deg, rgba(15, 36, 30, 0.97), rgba(24, 58, 48, 0.94)),
    url('../images/tela_fundo.webp') center/cover no-repeat;
  color: #fff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p,
.section-dark .section-kicker {
  color: inherit;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.8rem;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-header h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
}

.section-header p {
  max-width: 40rem;
  margin: 0;
  color: rgba(24, 34, 30, 0.72);
  font-size: 1rem;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.76);
}

.manifesto-card,
.service-panel,
.project-card,
.value-card {
  height: 100%;
  border-radius: 1.5rem;
  border: 1px solid rgba(22, 53, 44, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 54px rgba(18, 28, 24, 0.07);
}

.manifesto-card,
.service-panel,
.value-card {
  padding: 2rem;
}

.manifesto-card h3,
.service-panel h3,
.value-card h4 {
  margin-bottom: 0.8rem;
}

.manifesto-card p,
.service-panel p,
.value-card p {
  margin: 0;
  color: rgba(24, 34, 30, 0.72);
}

.service-icon {
  width: 4.15rem;
  height: 4.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border-radius: 1.15rem;
  background: linear-gradient(145deg, rgba(45, 95, 79, 0.14), rgba(200, 90, 84, 0.16));
  color: #16352c;
  font-size: 1.4rem;
}

.process-card {
  height: 100%;
  padding: 1.8rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.project-card {
  overflow: hidden;
}

.project-media {
  position: relative;
  min-height: 17rem;
  background: linear-gradient(180deg, rgba(18, 34, 29, 0.06), rgba(18, 34, 29, 0.48));
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.08);
}

.project-chip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #16352c;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-body {
  padding: 1.65rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.2rem;
  margin-bottom: 1rem;
  color: rgba(22, 53, 44, 0.72);
  font-size: 0.92rem;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.project-body p {
  color: rgba(24, 34, 30, 0.72);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.value-card i {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-size: 1.35rem;
}

.contact-wrap {
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(22, 53, 44, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 26px 70px rgba(18, 28, 24, 0.08);
}

.contact-aside {
  height: 100%;
  padding: 2.4rem;
  background:
    linear-gradient(180deg, rgba(18, 42, 35, 0.92), rgba(24, 58, 48, 0.94)),
    url('../images/port.jpeg') center/cover no-repeat;
  color: #fff;
}

.contact-aside h2,
.contact-aside p {
  color: #fff;
}

.contact-row {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-row strong {
  display: block;
  margin-bottom: 0.25rem;
}

.contact-row span {
  color: rgba(255, 255, 255, 0.8);
}

.contact-form-panel {
  padding: 2.4rem;
  background: rgba(255, 255, 255, 0.92);
}

.contact-form-panel p {
  margin-bottom: 1.5rem;
  color: rgba(24, 34, 30, 0.72);
}

.contact-form-panel .form-control,
.contact-form-panel .form-select {
  min-height: 3.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(22, 53, 44, 0.12);
  background: rgba(245, 241, 232, 0.48);
  box-shadow: none;
}

.contact-form-panel textarea.form-control {
  min-height: 8.75rem;
  padding-top: 1rem;
}

.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
  border-color: rgba(200, 90, 84, 0.4);
  background: #fff;
  box-shadow: 0 0 0 0.2rem rgba(200, 90, 84, 0.12);
}

.alert-floating {
  padding: 1rem 1.2rem;
  border-radius: 1rem;
}

/* ── Google Reviews no hero ── */
.hero-gr-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 3.5rem .9rem .9rem;
  gap: .55rem;
}
.hero-gr-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: .55rem .85rem;
  flex-shrink: 0;
}
.hero-gr-score {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.hero-gr-score-info { display: flex; flex-direction: column; gap: .1rem; }
.hero-gr-stars-row { color: #f5a623; font-size: .72rem; letter-spacing: 1.5px; }
.hero-gr-count { color: rgba(255,255,255,.6); font-size: .7rem; }
.hero-gr-glogo { margin-left: auto; }
.hero-gr-scroll {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: .45rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
  padding-right: 2px;
}
.hero-gr-scroll::-webkit-scrollbar { width: 3px; }
.hero-gr-scroll::-webkit-scrollbar-track { background: transparent; }
.hero-gr-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.3); border-radius: 3px; }
.hero-gr-card {
  background: rgba(255,255,255,.93);
  border-radius: 10px;
  padding: .65rem .85rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  flex-shrink: 0;
}
.hero-gr-card-top {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hero-gr-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700; color: #fff;
  text-transform: uppercase;
}
.hero-gr-name {
  font-size: .78rem;
  font-weight: 700;
  color: #16352c;
  flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-gr-card-stars { color: #f5a623; font-size: .65rem; letter-spacing: 1px; }
.hero-gr-text {
  font-size: .75rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-gr-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  padding-top: .1rem;
}
.hero-gr-see-all {
  color: rgba(255,255,255,.8);
  font-size: .72rem;
  font-weight: 600;
  text-decoration: none;
  display: flex; align-items: center; gap: .3rem;
}
.hero-gr-see-all:hover { color: #fff; }

/* Avatar color palette (hero reviews) */
.av-color-0 { background: #4285F4; }
.av-color-1 { background: #EA4335; }
.av-color-2 { background: #34A853; }
.av-color-3 { background: #FBBC04; color: #333 !important; }
.av-color-4 { background: #9C27B0; }
.av-color-5 { background: #FF6D00; }
.av-color-6 { background: #00ACC1; }
.av-color-7 { background: #C62828; }

/* ── Feedback Form ── */
.feedback-wrap {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.07);
}
.feedback-aside {
  background: linear-gradient(135deg, #16352c 0%, #1e4a3b 100%);
  color: #fff;
  padding: 1.8rem;
  height: 100%;
}
.feedback-aside h3 { color: #fff; margin-bottom: .5rem; font-size: 1.1rem; }
.feedback-aside p { color: rgba(255,255,255,.72); font-size: .9rem; margin-bottom: 0; }
.feedback-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.feedback-points li {
  color: rgba(255,255,255,.82);
  font-size: .85rem;
  margin-bottom: .35rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.feedback-points li i { color: #6fcfa0; font-size: .8rem; }
.feedback-form-panel {
  padding: 1.8rem;
}
.feedback-form-panel h4 { color: #16352c; margin-bottom: 1rem; font-size: 1rem; }

/* ── Star selector ── */
.star-selector { display: flex; gap: .25rem; margin-bottom: .25rem; }
.star-btn {
  font-size: 1.75rem;
  cursor: pointer;
  color: #ddd;
  transition: color .15s, transform .1s;
}
.star-btn:hover, .star-btn.active { color: #f5a623; transform: scale(1.1); }

/* ── Responsivo ── */
@media (max-width: 1199px) {
  .hero-floating {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .home-hero {
    padding-top: 4rem;
  }

  .section-header {
    flex-direction: column;
    align-items: start;
    margin-bottom: 2.2rem;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero-title {
    max-width: none;
  }

  .hero-visual-media {
    min-height: 21rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .home-section {
    padding: 4.5rem 0;
  }

  .manifesto-card,
  .service-panel,
  .value-card,
  .contact-aside,
  .contact-form-panel,
  .feedback-aside,
  .feedback-form-panel,
  .project-body {
    padding: 1.5rem;
  }
}
