:root{
  --brand: #8b5e3c;
  --brand-2: #1e5f8e;
  --text: #111827;
  --muted: #6b7280;
  --bg: #ffffff;
  --soft: #f3f4f6;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-hover: 0 20px 45px rgba(0,0,0,0.16);
  --radius: 18px;
}

html{ scroll-behavior: smooth; scroll-padding-top: 92px; }
html, body { width: 100%; overflow-x: hidden; }
body{
  font-family: "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a{ text-decoration: none; }

/* NAVBAR */
.navbar{
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255,255,255,0.92) !important;
  transition: box-shadow .25s ease, background .25s ease;
  padding-top: 6px;
  padding-bottom: 6px;
}
.navbar.navbar-scrolled{
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
  background: rgba(255,255,255,0.98) !important;
}
.navbar-brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-right: 14px;
}
.navbar-brand img{
  height: 60px;
  width: auto;
  display: block;
}
.nav-link{
  color: var(--text);
  font-weight: 800;
  position: relative;
  padding: 10px 10px;
}
.nav-link:hover{ color: var(--brand) !important; }
.nav-link::after{
  content:"";
  position:absolute;
  left: 10px;
  bottom: 6px;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  transition: width .25s ease;
}
.nav-link:hover::after{ width: calc(100% - 20px); }

.dropdown-menu{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow);
  padding: 10px;
}
.dropdown-item{
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 800;
}
.dropdown-item:hover{
  background: rgba(30,95,142,0.08);
  color: var(--brand-2);
}

.nav-cta{
  border-radius: 999px;
  font-weight: 900;
  padding: 10px 14px;
  border: 1px solid rgba(139,94,60,0.28);
  background: rgba(139,94,60,0.10);
  color: var(--brand);
  transition: .25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover{
  background: rgba(139,94,60,0.16);
  transform: translateY(-1px);
  color: var(--brand);
}

@media (max-width: 991.98px){
  html{ scroll-padding-top: 76px; }
  .navbar-brand img{ height: 56px; }
  .nav-link{ padding: 10px 6px; }
}

/* ✅ DROPDOWN PREMIUM — FIX DEFINITIVO + "PONTE INVISÍVEL" (desktop) */
@media (min-width: 992px){

  /* O <li> precisa ser relativo para podermos criar a ponte */
  .dropdown-premium{
    position: relative;
  }

  /* ✅ Ponte invisível: mantém o hover quando o rato desce */
  .dropdown-premium::after{
    content:"";
    position:absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;              /* altura da ponte */
    background: transparent;
    pointer-events: auto;      /* importante: a ponte apanha o rato */
  }

  /* Estado base (fechado) */
  .dropdown-premium .dropdown-menu{
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.985);
    transform-origin: top right;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;

    margin-top: 10px;          /* podes deixar 10px, agora já não fecha */
  }

  /* Abre por hover */
  .dropdown-premium:hover > .dropdown-menu{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  /* Abre quando Bootstrap dá .show (clique) */
  .dropdown-premium.show > .dropdown-menu{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
}


/* TITULOS */
.section-title{ font-weight: 900; letter-spacing: 0.2px; }
.section-subtitle{ color: var(--muted); max-width: 760px; }

/* HERO */
.hero-pro{
  position: relative;
  min-height: 86vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero-pro__bg{
  position:absolute;
  inset:0;
  background: url("hero_1920x1080.jpg") center/cover no-repeat;
  transform: scale(1.02);
}
.hero-pro__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 450px at 15% 25%, rgba(30,95,142,0.26), transparent 60%),
    radial-gradient(900px 450px at 85% 70%, rgba(139,94,60,0.26), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.55) 55%, rgba(0,0,0,0.56) 100%);
}
.hero-pro__content{
  position: relative;
  z-index: 1;
  padding-top: 46px;
  padding-bottom: 46px;
  color:#fff;
}
.hero-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  font-size: 12px;
  width: fit-content;
}
.hero-chip .dot{
  width:10px; height:10px; border-radius:50%;
  background: #25D366;
  box-shadow: 0 0 0 6px rgba(37,211,102,0.18);
}
.hero-title{
  margin-top: 14px;
  font-size: clamp(34px, 4.8vw, 58px);
  font-weight: 950;
  letter-spacing: 0.2px;
  line-height: 1.05;
  text-shadow: 0 14px 40px rgba(0,0,0,0.35);
}
.hero-subtitle{
  margin-top: 12px;
  max-width: 640px;
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
}
.hero-actions{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items:center;
}
.btn-brand{
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(139,94,60,0.28);
  transition: 0.25s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn-brand:hover{
  filter: brightness(0.96);
  transform: translateY(-1px);
  color: #fff;
}
.btn-ghost{
  border: 1px solid rgba(255,255,255,0.28);
  color:#fff;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 900;
  background: rgba(255,255,255,0.08);
  transition: 0.25s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn-ghost:hover{
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
  color:#fff;
}
.hero-metrics{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.metric{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.metric__top{
  width:32px; height:32px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: rgba(255,255,255,0.12);
  font-weight: 900;
}
.metric__text{ font-size: 13px; line-height: 1.2; }
.metric__text span{ color: rgba(255,255,255,0.82); font-weight: 700; }

.hero-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.50);
  border-radius: 22px;
  box-shadow: 0 22px 65px rgba(0,0,0,0.28);
  padding: 18px;
  color: var(--text);
}
.hero-card__title{
  font-weight: 950;
  font-size: 14px;
  letter-spacing: .2px;
  margin-bottom: 12px;
}
.hero-card__steps{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.step{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
}
.step__n{
  width:30px; height:30px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  font-weight: 950;
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.step__t strong{ font-weight: 950; }

.hero-inline-link{
  color: var(--brand-2);
  font-weight: 900;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.hero-inline-link::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  transition: width .25s ease;
}
.hero-inline-link:hover{ color: var(--brand-2); }
.hero-inline-link:hover::after{ width: 100%; }

.hero-scroll{
  position:absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
}
.hero-scroll__text{ font-size: 12px; font-weight: 800; letter-spacing: .2px; }
.mouse{
  width: 24px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.30);
  background: rgba(255,255,255,0.06);
  position: relative;
}
.mouse::after{
  content:"";
  width:4px;
  height:8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.78);
  position:absolute;
  left:50%;
  top:10px;
  transform: translateX(-50%);
  animation: scrollDot 1.3s infinite;
}
@keyframes scrollDot{
  0%{ transform: translateX(-50%) translateY(0); opacity: .95; }
  70%{ transform: translateX(-50%) translateY(10px); opacity: .35; }
  100%{ transform: translateX(-50%) translateY(0); opacity: .95; }
}

/* SERVICOS */
.services-pro{
  background:
    radial-gradient(900px 450px at 10% 0%, rgba(30,95,142,0.08), transparent 55%),
    radial-gradient(900px 450px at 90% 100%, rgba(139,94,60,0.08), transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
}
.card-pro{
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
  height: 100%;
  transition: transform .30s ease, box-shadow .30s ease;
}
.card-pro:hover{
  transform: translateY(-8px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.16);
}
.card-pro__media{ position: relative; padding: 14px 14px 0 14px; }
.card-pro__media img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  display:block;
  transition: transform .55s ease;
}
.card-pro:hover .card-pro__media img{ transform: scale(1.05); }
.card-pro__badge{
  position:absolute;
  top: 22px;
  left: 22px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  color: #fff;
  background: rgba(17,24,39,0.70);
  border: 1px solid rgba(255,255,255,0.20);
  backdrop-filter: blur(8px);
}
.card-pro__body{ padding: 16px 18px 18px 18px; }
.card-pro__title{ font-weight: 950; font-size: 16px; margin: 6px 0 8px 0; }
.card-pro__text{
  color: #334155;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 14px 0;
}
.card-pro__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 13px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color:#fff;
  transition: .25s ease;
}
.card-pro__btn:hover{
  filter: brightness(0.97);
  transform: translateY(-1px);
  color:#fff;
}
.vintro-img{
  object-fit: contain !important;
  background: #f7f7f7;
  padding: 12px;
}

/* PROCESSO */
.process-timeline{
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
  padding: 22px;
}
.timeline-row{
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}
.timeline-row::before{
  content:"";
  position:absolute;
  left: 6%;
  right: 6%;
  top: 26px;
  height: 2px;
  background: linear-gradient(90deg, rgba(30,95,142,0.30), rgba(139,94,60,0.30));
  border-radius: 999px;
}
@media (max-width: 991.98px){
  .timeline-row{ grid-template-columns: 1fr; }
  .timeline-row::before{ display:none; }
}
.timeline-step{
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.06);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.timeline-step:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}
.tl-top{ display:flex; align-items:center; justify-content:space-between; gap: 10px; }
.tl-dot{
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  font-weight: 950;
  color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 30px rgba(0,0,0,0.14);
}
.tl-ic{
  width: 44px;
  height: 44px;
  border-radius: 18px;
  display:grid;
  place-items:center;
  background: rgba(30,95,142,0.10);
  border: 1px solid rgba(30,95,142,0.18);
  font-weight: 900;
}
.tl-title{ margin-top: 10px; font-weight: 950; font-size: 14px; }
.tl-sub{ margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.45; }

/* TESTEMUNHOS */
.testimonials{
  background:
    radial-gradient(900px 450px at 10% 0%, rgba(139,94,60,0.08), transparent 55%),
    radial-gradient(900px 450px at 90% 100%, rgba(30,95,142,0.08), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.t-card{
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
  padding: 18px;
  height: 100%;
}
.t-stars{ letter-spacing: 2px; font-size: 12px; color: #f59e0b; margin-bottom: 8px; }
.t-quote{ color: #334155; font-size: 14px; line-height: 1.7; margin: 0 0 12px 0; }
.t-person{ display:flex; align-items:center; gap: 10px; }
.t-avatar{
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(139,94,60,0.18), rgba(30,95,142,0.16));
  border: 1px solid rgba(0,0,0,0.06);
}
.t-name{ font-weight: 950; font-size: 13px; }
.t-loc{ color: var(--muted); font-size: 12px; }
.carousel-indicators [data-bs-target]{ width: 8px; height: 8px; border-radius: 999px; }
.carousel-control-prev, .carousel-control-next{ width: 44px; }
.carousel-control-prev-icon, .carousel-control-next-icon{
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.25));
}

/* CONTACTOS PREMIUM */
.contacts-pro{
  background:
    radial-gradient(900px 450px at 10% 0%, rgba(30,95,142,0.06), transparent 55%),
    radial-gradient(900px 450px at 90% 100%, rgba(139,94,60,0.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.contacts-chips{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  justify-content:center;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: #0f172a;
  background: rgba(17,24,39,0.04);
  border: 1px solid rgba(0,0,0,0.06);
}
.chip i{ color: var(--brand-2); }

.contacts-map-wrap{ position: relative; }
.contacts-map{
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
  border-radius: 22px !important;
}
.contacts-info-card{
  margin-top: 14px;
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
  padding: 16px;
}
.info-row{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 10px 10px;
  border-radius: 16px;
}
.info-row + .info-row{
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 8px;
  padding-top: 14px;
}
.info-ic{
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(30,95,142,0.10);
  border: 1px solid rgba(30,95,142,0.18);
  color: var(--brand-2);
  font-size: 18px;
}
.info-title{
  font-weight: 950;
  font-size: 13px;
  color: #0f172a;
}
.info-sub{
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}
.info-note{
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  display:flex;
  gap: 8px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(139,94,60,0.08);
  border: 1px solid rgba(139,94,60,0.18);
}
.info-note i{ color: var(--brand); }

.contacts-form-card{
  background: #fff;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 14px 40px rgba(0,0,0,0.10) !important;
}
.contacts-form-head{
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.cfh-title{ font-weight: 950; font-size: 16px; }
.cfh-sub{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  margin-top: 4px;
}

.form-control{
  border-radius: 16px;
  border-color: rgba(0,0,0,0.10);
}
.form-floating > .form-control,
.form-floating > .form-control:focus,
.form-floating > textarea.form-control{
  border-radius: 16px;
}
.form-floating > label{
  color: #64748b;
  font-weight: 800;
}

.contacts-btn{
  border-radius: 999px;
  font-weight: 950;
  padding: 12px 14px;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  box-shadow: 0 12px 28px rgba(30,95,142,0.20);
  transition: .25s ease;
}
.contacts-btn:hover{
  filter: brightness(0.97);
  transform: translateY(-1px);
  color: #fff;
}

.contacts-mini{
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.contacts-mini a{
  color: var(--brand-2);
  font-weight: 950;
}
.contacts-mini a:hover{ color: var(--brand); }

/* FOOTER */
.footer-pro{
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 22px 0;
  background: #fff;
}
.footer-pro__brand{ font-weight: 950; color: var(--text); }
.footer-pro__muted{ color: var(--muted); font-size: 13px; }
.footer-pro__link{ color: var(--text); font-weight: 900; }
.footer-pro__link:hover{ color: var(--brand); }
.footer-pro__sep{ color: #cbd5e1; padding: 0 8px; }

/* WhatsApp fixo (NÃO alterar) */
.whatsapp-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 15px 35px rgba(0,0,0,0.18);
  transition: 0.25s ease;
}
.whatsapp-float:hover{
  filter: brightness(0.95);
  transform: translateY(-2px);
  color: #fff;
}
.whatsapp-float img{ width: 22px; height: 22px; }

/* ===================================================
   CMS BAR (COLLAPSIBLE)
   =================================================== */
.cms-bar-wrapper {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #1a1a1a;
  border-radius: 50px;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  padding: 6px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 48px;
  height: 48px;
  overflow: hidden;
  white-space: nowrap;
}

.cms-bar-wrapper:hover,
.cms-bar-wrapper.is-editing {
  max-width: 500px;
  padding: 6px 20px 6px 6px;
}

.cms-bar-wrapper .cms-icon {
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  cursor: pointer;
}

.cms-bar-wrapper .cms-content {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  margin-left: 10px;
}

.cms-bar-wrapper:hover .cms-content,
.cms-bar-wrapper.is-editing .cms-content {
  opacity: 1;
  pointer-events: auto;
}
