/* ============ Homepage — Wireframe Conecta Itamogi ============ */

.body-home .main-header {
  display: none;
}

.body-home .footer {
  display: none;
}

.home-page {
  background: #f0f2f1;
}

/* Header wireframe — logo + menu horizontal */
.site-header-wireframe {
  background: #fff;
  border-bottom: 1px solid rgba(0, 74, 68, 0.1);
  padding: 0.75rem 0;
}

.site-header-wireframe__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-brand-wireframe {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.site-brand-wireframe__logo {
  display: block;
  width: clamp(190px, 22vw, 300px);
  height: auto;
  max-height: 76px;
  object-fit: contain;
}

.site-brand-wireframe__icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-brand-wireframe__icon svg {
  display: block;
  width: 56px;
  height: 56px;
}

.site-brand-wireframe__text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.site-brand-wireframe__line {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-brand-wireframe__line--conecta {
  font-size: 1.35rem;
  color: #1b5e20;
}

.site-brand-wireframe__line--itamogi {
  font-size: 1.35rem;
  color: #1a1a1a;
}

.site-nav-wireframe {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
  justify-content: flex-end;
}

.site-nav-wireframe__link {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #333;
  text-decoration: none;
  padding: 0.25rem 0.15rem;
  white-space: nowrap;
}

.site-nav-wireframe__link:hover {
  color: var(--verde-folha);
}

.site-nav-wireframe__sep {
  color: #bbb;
  font-weight: 300;
  user-select: none;
}

.site-header-wireframe .site-nav-toggle {
  margin-left: auto;
  color: #1b5e20;
}

@media (max-width: 991px) {
  .site-header-wireframe__inner {
    flex-wrap: wrap;
  }

  .site-nav-wireframe {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0 0.25rem;
    border-top: 1px solid #eee;
  }

  .site-nav-wireframe__sep {
    display: none;
  }

  .site-nav-wireframe__link {
    width: 100%;
    padding: 0.5rem 0;
  }
}

@media (max-width: 575px) {
  .site-brand-wireframe__logo {
    width: min(68vw, 220px);
    max-height: 58px;
  }
}

/* Hero carrossel */
.home-hero {
  position: relative;
  display: block;
  min-height: 0;
  color: inherit;
}

.home-hero::before {
  display: none;
}

.home-hero-carousel {
  position: relative;
  width: 100%;
  flex: 1 1 100%;
  min-height: 420px;
  overflow: hidden;
  background-color: #051626;
}

.home-hero-carousel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(5, 22, 38, 0.7), rgba(5, 22, 38, 0.25));
  pointer-events: none;
}

.home-hero-carousel .carousel-inner {
  position: relative;
  z-index: 2;
}

.home-hero-carousel .carousel-item {
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-hero-carousel .carousel-content {
  justify-content: center;
  padding-bottom: 5rem;
}

.home-hero-carousel .carousel-indicators {
  bottom: 5.75rem;
  z-index: 5;
  margin-bottom: 0;
}

.home-hero-carousel .carousel-control-prev,
.home-hero-carousel .carousel-control-next {
  z-index: 5;
}

.home-hero-carousel__indicators [data-bs-target] {
  background: rgba(255, 255, 255, 0.55);
}

.home-hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.home-hero-banner__cta {
  margin-top: 1rem;
  border-radius: 50px;
  padding: 0.65rem 1.75rem;
  font-weight: 700;
}

.home-hero-banner__actions .home-hero-banner__cta {
  margin-top: 0;
}

.home-hero-banner__read {
  border-width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.home-hero-banner__read:hover,
.home-hero-banner__read:focus {
  color: var(--verde-petroleo);
  background: #fff;
}

.home-hero-banner__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.home-hero-banner__content--overlay {
  max-width: 680px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(0, 74, 68, 0.72), rgba(0, 0, 0, 0.32));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
  animation: bannerFloatIn 0.7s ease both;
}

.home-hero-banner__title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.home-hero-banner__subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  margin-bottom: 0;
}

@keyframes bannerFloatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-hero .carousel-search-wrapper,
.home-hero-carousel .carousel-search-wrapper {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 640px;
  z-index: 5;
}

.home-hero-banner .search-container {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Layout principal + sidebar */
.home-main-layout {
  padding: 2rem 0 3rem;
}

.home-main-layout .container-home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.home-columns {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.home-column-main {
  min-width: 0;
}

.home-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

/* Destaques da semana */
.destaques-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.destaque-card {
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destaque-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.destaque-card--jobs {
  background: linear-gradient(160deg, #1a3a6e 0%, #0d2247 100%);
  color: #fff;
}

.destaque-card--jobs .destaque-card__icon {
  color: rgba(255, 255, 255, 0.9);
  font-size: 2.5rem;
  margin-bottom: auto;
}

.destaque-card--cafe {
  background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.6)),
    url('https://images.unsplash.com/photo-1447933601403-0c6688de566e?w=400&q=80') center/cover;
  color: #fff;
}

.destaque-card--cafe .destaque-card__icon--bean {
  font-size: 2.25rem;
  margin-bottom: auto;
  color: #d4a574;
}

.destaque-card--cafe .destaque-card__price {
  font-size: 1.05rem;
  font-weight: 800;
}

.destaque-card__source {
  font-size: 0.65rem;
  opacity: 0.85;
  margin: 0.35rem 0 0;
}

.coffee-quote-variacao--up {
  color: #a5d6a7;
}

.coffee-quote-variacao--down {
  color: #ef9a9a;
}

.coffee-quote-card--loaded .destaque-card__price {
  animation: coffeePricePulse 0.5s ease;
}

@keyframes coffeePricePulse {
  0% { opacity: 0.6; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}

.destaque-card--eventos {
  background: #f5e8d8;
  color: #3d3020;
}

.destaque-card--eventos .destaque-card__icons {
  display: flex;
  gap: 0.5rem;
  font-size: 1.75rem;
  margin-bottom: auto;
  color: #c45c26;
}

.destaque-card--roteiro {
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55)),
    url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?w=400&q=80') center/cover;
  color: #fff;
}

.destaque-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 0.35rem;
}

.destaque-card__text {
  font-size: 0.78rem;
  opacity: 0.92;
  line-height: 1.35;
  margin: 0;
}

.destaque-card__price {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

/* Cards de comércio */
.comercios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.commerce-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.commerce-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.commerce-card__cover {
  height: 82px;
  margin: 0.75rem 0.75rem 0;
  border-radius: 10px;
  background-color: #f4f7f4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  position: relative;
}

.commerce-card__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.commerce-card__body {
  padding: 2.25rem 1rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
}

.commerce-card__logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #fff;
  object-fit: cover;
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.commerce-card__name {
  font-size: 1rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.commerce-card__desc {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 1rem;
  flex: 1;
}

.commerce-card__whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--verde-folha);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-top: auto;
}

.commerce-card__whatsapp:hover {
  background: #43a047;
  color: #fff;
}

/* Sidebar */
.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.widget-pharmacy {
  border: 2px solid var(--verde-folha);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.widget-pharmacy__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(0, 74, 68, 0.1);
}

.widget-pharmacy__header i.fa-plus {
  color: #d32f2f;
  font-size: 1.25rem;
}

.widget-pharmacy__header h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0;
}

.widget-pharmacy__item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #eee;
}

.widget-pharmacy__item:last-child {
  border-bottom: none;
}

.widget-pharmacy__content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.widget-pharmacy__thumb {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  border-radius: 10px;
  object-fit: contain;
  background: #f4f7f4;
  border: 1px solid rgba(0, 74, 68, 0.1);
}

.widget-pharmacy__name {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a1a1a;
  margin-bottom: 0.35rem;
}

.widget-pharmacy__status {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.widget-obituary {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.widget-obituary__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.widget-obituary__header h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}

.widget-obituary__intro {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 1rem;
}

.obituary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.obituary-person {
  text-align: center;
}

.obituary-person__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.5rem;
  background: #e8e8e8;
  display: block;
}

.obituary-person__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 1.5rem;
}

.obituary-person__name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

.widget-obituary__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--verde-folha);
  text-decoration: none;
}

.widget-obituary__link:hover {
  text-decoration: underline;
  color: var(--verde-petroleo);
}

.widget-classifieds {
  background: #fff;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.widget-classifieds h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.classifieds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.classified-mini {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease;
}

.classified-mini:hover {
  border-color: var(--verde-folha);
}

.classified-mini__thumb {
  height: 72px;
  background-size: cover;
  background-position: center;
}

.classified-mini__body {
  padding: 0.5rem 0.65rem;
}

.classified-mini__title {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.classified-mini__price {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 0.25rem;
}

.classified-mini__location {
  font-size: 0.7rem;
  color: #666;
}

.classified-mini__location i {
  color: var(--verde-folha);
  margin-right: 0.2rem;
}

/* Footer wireframe */
.footer-wireframe {
  background: #2a2a2a;
  color: #fff;
  padding: 1.5rem 0;
  margin-top: 0;
}

.footer-wireframe__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.footer-wireframe__contact {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-wireframe__contact strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-wireframe__contact a {
  color: #fff;
  text-decoration: none;
}

.footer-wireframe__tagline {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.footer-wireframe__social {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.footer-wireframe__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--verde-folha);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.9rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-wireframe__social .social-link-x {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.footer-wireframe__social a:hover {
  background: #43a047;
  transform: scale(1.08);
  color: #fff;
}

/* FAB WhatsApp */
.fab-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--verde-folha);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(76, 175, 80, 0.5);
  color: #fff;
}

.fab-whatsapp i {
  font-size: 1.35rem;
}


/* Responsivo */
@media (max-width: 1199px) {
  .destaques-grid,
  .comercios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-columns {
    grid-template-columns: 1fr;
  }

  .home-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 767px) {
  .destaques-grid,
  .comercios-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-carousel,
  .home-hero-carousel .carousel-item {
    min-height: 360px;
  }

  .footer-wireframe__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-wireframe__social {
    justify-content: center;
  }

  .obituary-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fab-whatsapp span {
    display: none;
  }

  .fab-whatsapp {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
}

@media (max-width: 576px) {
  .classifieds-grid {
    grid-template-columns: 1fr;
  }
}
