/* ============================================================
   IMOB SYSTEM — novo.css
   Stack: Bootstrap 5.3 + AOS + Swiper + Font Awesome 6
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --brand:      #fa5b0f;
  --brand-dark: #d44800;
  --dark:       #1c1c2e;
  --dark2:      #121218;
  --text:       #555;
  --light-bg:   #f8f9fa;
  --nav-h:      72px;
  --radius:     10px;
  --shadow:     0 4px 24px rgba(0,0,0,.10);
  --transition: .3s ease;
}

/* ── Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { color: #222; font-weight: 700; }

a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; }

.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: .5rem;
}
.section-title span { color: var(--brand); }

.section-subtitle {
  text-align: center;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.divider-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  margin-bottom: 2.5rem;
}
.divider-line::before,
.divider-line::after {
  content: '';
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: #ddd;
}
.divider-line i { color: var(--brand); font-size: 1.2rem; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-brand {
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: .7rem 1.8rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  letter-spacing: .03em;
  transition: background var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-brand:hover {
  background: var(--brand-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-brand {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
  border-radius: 4px;
  padding: .65rem 1.7rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  transition: all var(--transition);
  display: inline-block;
}
.btn-outline-brand:hover {
  background: var(--brand);
  color: #fff;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: .8rem 2rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background var(--transition), transform var(--transition);
}
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-2px); }

/* ── Navbar ─────────────────────────────────────────────────── */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  background: transparent;
}

#mainNav.scrolled {
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.12);
}

#mainNav .navbar-brand img { height: 44px; transition: opacity var(--transition); }
#mainNav .logo-dark { display: none; }
#mainNav.scrolled .logo-light { display: none; }
#mainNav.scrolled .logo-dark  { display: block; }

#mainNav .nav-link {
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .5rem .75rem !important;
  transition: color var(--transition);
}
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--brand); }

#mainNav.scrolled .nav-link { color: #333; }
#mainNav.scrolled .nav-link:hover,
#mainNav.scrolled .nav-link.active { color: var(--brand); }

#mainNav .nav-cta {
  background: var(--brand);
  color: #fff !important;
  border-radius: 4px;
  padding: .45rem 1.1rem !important;
  margin-left: .5rem;
}
#mainNav .nav-cta:hover { background: var(--brand-dark); }

#mainNav .navbar-toggler {
  border: none;
  outline: none;
  box-shadow: none;
  padding: 4px 8px;
}
#mainNav .navbar-toggler-icon-custom {
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  position: relative;
  transition: all var(--transition);
}
#mainNav .navbar-toggler-icon-custom::before,
#mainNav .navbar-toggler-icon-custom::after {
  content: '';
  width: 24px;
  height: 2px;
  background: #fff;
  display: block;
  position: absolute;
  transition: all var(--transition);
}
#mainNav .navbar-toggler-icon-custom::before { top: -7px; }
#mainNav .navbar-toggler-icon-custom::after  { top:  7px; }

#mainNav.scrolled .navbar-toggler-icon-custom,
#mainNav.scrolled .navbar-toggler-icon-custom::before,
#mainNav.scrolled .navbar-toggler-icon-custom::after { background: #333; }

/* Mobile collapse */
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: #fff;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 1rem 1.5rem;
    margin-top: 4px;
  }
  #mainNav .nav-link { color: #333 !important; }
  #mainNav .nav-link:hover { color: var(--brand) !important; }
  #mainNav .nav-cta { margin-left: 0; margin-top: .5rem; display: inline-block; }
}

/* ── Hero ───────────────────────────────────────────────────── */
#home {
  min-height: 100vh;
  background: url('../img/sections/projectmanager-bg.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

#home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28,28,46,.82) 0%, rgba(0,0,0,.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-top: var(--nav-h);
}

.hero-pre {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: .5rem;
}

.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: .25rem;
}

.hero-words-wrap {
  display: inline-block;
  position: relative;
  height: 1.3em;
  vertical-align: bottom;
  overflow: hidden;
  min-width: clamp(220px, 48vw, 440px);
}

.hero-word {
  display: block;
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(30px);
  animation: wordSlide 16s infinite;
}
.hero-word:nth-child(1) { animation-delay:  0s; }
.hero-word:nth-child(2) { animation-delay:  4s; }
.hero-word:nth-child(3) { animation-delay:  8s; }
.hero-word:nth-child(4) { animation-delay: 12s; }

@keyframes wordSlide {
  0%   { opacity: 0; transform: translateY(30px); }
  5%   { opacity: 1; transform: translateY(0); }
  20%  { opacity: 1; transform: translateY(0); }
  25%  { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 0; transform: translateY(30px); }
}

.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(255,255,255,.8);
  margin-top: 1.25rem;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 540px;
}

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

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  animation: bounce 2s infinite;
}
.hero-scroll-hint a { color: rgba(255,255,255,.6); font-size: 1.5rem; }

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ── Sobre ──────────────────────────────────────────────────── */
#sobre { background: #fff; }

.sobre-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.sobre-img-wrap img { width: 100%; object-fit: cover; }

/* Imagem da Lais (quase quadrada e grande) — limitar e centralizar */
.leads-img-wrap {
  display: inline-block;
  max-width: 380px;
  width: 100%;
}

.nav-tabs-brand {
  border-bottom: 2px solid #eee;
  gap: .25rem;
  margin-bottom: 1.5rem;
}
.nav-tabs-brand .nav-link {
  border: none;
  color: var(--text);
  font-weight: 600;
  padding: .5rem 1.1rem;
  border-radius: 4px 4px 0 0;
  transition: all var(--transition);
}
.nav-tabs-brand .nav-link:hover { color: var(--brand); }
.nav-tabs-brand .nav-link.active {
  color: var(--brand);
  border-bottom: 3px solid var(--brand);
  background: transparent;
}

/* ── Dark section (Captação) ────────────────────────────────── */
.section-dark {
  background: linear-gradient(135deg, var(--dark) 0%, #2a1f3d 100%);
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.8); }

.badge-integration {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 20px;
  padding: .35rem .9rem;
  font-size: .85rem;
  font-weight: 600;
  color: #fff;
  margin: .3rem;
}

/* ── Leads section ──────────────────────────────────────────── */
#leads { background: var(--light-bg); }

.leads-portal {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  padding: .4rem .9rem;
  font-weight: 600;
  font-size: .9rem;
  color: #333;
  margin: .3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.leads-portal i { color: var(--brand); }

/* ── Módulos ─────────────────────────────────────────────────── */
#modulos { background: #fff; }

.module-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand);
  opacity: 0;
  transition: opacity var(--transition);
}

.module-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(250,91,15,.2); border-color: var(--brand); }
.module-card:hover::before { opacity: 1; }
.module-card:hover .module-icon,
.module-card:hover h3,
.module-card:hover p { color: #fff; position: relative; }

.module-icon {
  font-size: 2.2rem;
  color: var(--brand);
  margin-bottom: 1rem;
  display: block;
  position: relative;
  transition: color var(--transition);
}

.module-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .6rem;
  position: relative;
  transition: color var(--transition);
}

.module-card p {
  font-size: .88rem;
  color: var(--text);
  margin: 0;
  line-height: 1.6;
  position: relative;
  transition: color var(--transition);
}

/* ── Exemplos ────────────────────────────────────────────────── */
#exemplos { background: var(--light-bg); }

.swiper-exemplos {
  padding-bottom: 50px !important;
}

.cliente-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
  padding: 1.5rem;
  min-height: 130px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cliente-slide a:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.15);
}
.cliente-slide img {
  width: auto;
  max-width: 186px;
  height: auto;
  display: block;
}

.swiper-exemplos .swiper-pagination-bullet-active { background: var(--brand); }

/* ── Vídeo ───────────────────────────────────────────────────── */
#video-section {
  background: linear-gradient(135deg, var(--dark2) 0%, var(--dark) 100%);
  padding: 80px 0;
}

.video-wrapper {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding-bottom: min(56.25%, 382px);
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ── Simulador ───────────────────────────────────────────────── */
#simulador { background: #fff; }

.sim-select {
  width: 100%;
  padding: .75rem 1rem;
  border: 2px solid #eee;
  border-radius: var(--radius);
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  color: #333;
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%23fa5b0f' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
  transition: border-color var(--transition);
}
.sim-select:focus { outline: none; border-color: var(--brand); }

.sim-label {
  font-weight: 700;
  font-size: .9rem;
  color: #333;
  margin-bottom: .5rem;
  display: block;
}

.sim-price-box {
  background: var(--brand);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: #fff;
  margin: 2rem 0;
}
.sim-price-box .price-label { font-size: .9rem; opacity: .85; margin-bottom: .25rem; }
.sim-price-box .price-value { font-size: 3rem; font-weight: 800; line-height: 1; }
.sim-price-box .price-sub { font-size: .9rem; opacity: .85; margin-top: .5rem; }
.sim-price-box .price-anual { font-size: 1.1rem; font-weight: 700; margin-top: .75rem; }

.included-list { list-style: none; padding: 0; margin: 0; }
.included-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  padding: .35rem 0;
  font-size: .9rem;
  border-bottom: 1px solid #f0f0f0;
}
.included-list li:last-child { border-bottom: none; }
.included-list li .li-icon { flex-shrink: 0; margin-top: 2px; }
.included-list li .li-icon.yes { color: #27ae60; }
.included-list li .li-icon.no  { color: #e74c3c; }

.sim-notes { font-size: .8rem; color: #888; line-height: 1.7; }
.sim-notes p { margin-bottom: .5rem; }

/* ── FAQ ─────────────────────────────────────────────────────── */
#duvidas { background: var(--light-bg); }

.accordion-brand .accordion-item {
  border: 1px solid #e5e5e5;
  border-radius: var(--radius) !important;
  margin-bottom: .75rem;
  overflow: hidden;
}
.accordion-brand .accordion-button {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  color: #222;
  background: #fff;
  box-shadow: none;
  padding: 1.1rem 1.4rem;
}
.accordion-brand .accordion-button:not(.collapsed) {
  color: var(--brand);
  background: #fff5f0;
}
.accordion-brand .accordion-button::after {
  filter: invert(40%) sepia(80%) saturate(600%) hue-rotate(340deg);
}
.accordion-brand .accordion-body {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--text);
  padding: 1rem 1.4rem 1.4rem;
}

.faq-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ── Contato ─────────────────────────────────────────────────── */
#contato { background: #fff; }

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-wrapper iframe { display: block; }

.contact-info-card {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}
.contact-info-card h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-info-item i {
  color: var(--brand);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.contact-info-item p { margin: 0; font-size: .92rem; line-height: 1.6; }

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--dark2);
  color: rgba(255,255,255,.6);
  padding: 2.5rem 0;
  text-align: center;
}
footer p { margin: 0; font-size: .87rem; }
footer a { color: rgba(255,255,255,.5); font-size: .87rem; }
footer a:hover { color: var(--brand); }
footer .footer-links { margin-top: .75rem; display: flex; justify-content: center; gap: 1.5rem; }

/* ── Back to top ─────────────────────────────────────────────── */
#backTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  box-shadow: 0 4px 16px rgba(250,91,15,.4);
}
#backTop.visible { opacity: 1; visibility: visible; }
#backTop:hover { background: var(--brand-dark); transform: translateY(-3px); }

/* ── Utility ─────────────────────────────────────────────────── */
.text-brand { color: var(--brand) !important; }
.bg-brand   { background-color: var(--brand) !important; }

/* ── Responsive tweaks ───────────────────────────────────────── */
@media (max-width: 767.98px) {
  .section-pad { padding: 60px 0; }
  .hero-words-wrap { min-width: 200px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .sim-price-box .price-value { font-size: 2.4rem; }
  .cliente-slide img { height: 180px; }
}

@media (max-width: 575.98px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-brand,
  .hero-actions .btn-outline-brand { text-align: center; }
}
