/* ============================================
   CERRADO GYN PLANEJADOS — CUSTOMIZAÇÕES v3
   ============================================ */

/* --- Slider: altura fixa com object-fit --- */
#slides.slides2 .bx-wrapper { height: auto !important; }
#slides.slides2 ul.bxslider li,
#slides ul.bxslider li { position: relative; display: block; }
#slides ul.bxslider li img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media(max-width:991px){ #slides ul.bxslider li img{ height:380px; } }
@media(max-width:767px){ #slides ul.bxslider li img{ height:260px; } }

/* Overlay escuro no slider para o texto ficar legível */
#slides .symbol { background-color: rgba(27,42,58,.55); }
#slides .absShape { padding: 1.5em; }

/* --- Header: logomarca no lugar de company.png --- */
.cbp-af-header.header2 { height: 130px; }
.cbp-af-header.header2 .logo { padding-top: 8px; }
.cbp-af-header.header2 .logo img { max-height: 70px; width: auto; }
.cbp-af-header.header2.cbp-af-header-shrink { height: 100px; margin-top: -2.4em; }
.cbp-af-header.header2.cbp-af-header-shrink .logo img { max-height: 52px; }

/* --- Margem do slide abaixo do header --- */
#slides { margin-top: 130px; }
@media(max-width:767px){ #slides { margin-top: 0; } }

/* --- Preloader: tamanho controlado --- */
#preloader img { max-width: 110px; max-height: 110px; margin: -55px 0 0 -55px; }

/* --- OWL carousel: imagens dos projetos com altura fixa --- */
#owl-recent-project .item { height: 500px; overflow: hidden; }
#owl-recent-project .item img { width: 100%; height: 100%; object-fit: cover; }
@media(max-width:767px){ #owl-recent-project .item { height: 340px; } }

/* --- Portfolio grid .two: 2 colunas com imagens quadradas --- */
.project-gallery .two .item { width: 48%; margin: 1%; }
.project-gallery .two .item img { width: 100%; height: 300px; object-fit: cover; }
@media(max-width:767px){ .project-gallery .two .item { width: 98%; } }

/* --- prettyPhoto: garante que a zoom use a imagem certa --- */
/* (o seletor correto é data-rel^='prettyPhoto', já no master.js) */

/* --- Linha decorativa na cor primária --- */
span.line, .line { background-color: #D27300; }

/* --- Botão primário suave --- */
.btn-primary { box-shadow: 0 2px 6px rgba(210,115,0,.2); }
.btn-primary:hover { background-color: #b86500; }

/* --- Footer: logomarca sem fundo ao invés de company-grey.png --- */
footer.footer2 .pull-left.img-responsive { opacity: .82; }
footer.footer2 ul li a { color: rgba(255,255,255,.62); }
footer.footer2 ul li a:hover { color: #D27300; }
footer.footer2 .office span a { color: rgba(255,255,255,.82); }
footer.footer2 .office span a:hover { color: #D27300; }

/* --- Header top: redes sociais cerrado --- */
.header-top ul.social li a { background: transparent; }

/* --- Calltoaction: widget 2 da inscrição vira WhatsApp --- */
.calltoAction .widget .btn-whats {
  background-color: #25D366; border: none; color: #fff;
  padding: .55em 1.2em; font-size: 1.15em;
  display: inline-flex; align-items: center; gap: .4em;
  border-radius: 2px; font-weight: 700;
  transition: background .2s;
}
.calltoAction .widget .btn-whats:hover { background-color: #1db555; }
.calltoAction .widget .btn-whats i { font-size: 1.2em; margin: 0; }

/* --- BOTÃO FLUTUANTE WHATSAPP --- */
.wa-flutuante {
  position: fixed; bottom: 1.8em; right: 1.8em; z-index: 99999;
  background: #25D366; color: #fff !important;
  border-radius: 50px; padding: .7em 1.3em;
  text-decoration: none !important; font-weight: 700; font-size: .95em;
  display: flex; align-items: center; gap: .45em;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  transition: transform .2s, box-shadow .2s;
  animation: wapulse 2.8s infinite;
}
.wa-flutuante i { font-size: 1.3em; margin: 0; }
.wa-flutuante:hover { color:#fff !important; transform: scale(1.05); }
.wa-flutuante span { display: inline; }
@media(max-width:600px){ .wa-flutuante span { display: none; } .wa-flutuante { border-radius: 50%; padding: .85em; } }
@keyframes wapulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* --- Breadcrumb escuro --- */
section.breadcrumbs.breadcrumbs2 { position: relative; }
section.breadcrumbs.breadcrumbs2::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(27,42,58,.7); z-index: 0;
}
section.breadcrumbs.breadcrumbs2 > * { position: relative; z-index: 1; }

/* --- Contato: mapa --- */
#map_canvas, #map_canvas1 { height: 380px; background: #e8e0d4; }

/* --- Form de contato: destaque no foco --- */
.form-control:focus { border-color: #D27300 !important; box-shadow: 0 0 0 2px rgba(210,115,0,.15) !important; }

/* --- Orçamento: steps --- */
.orc-progress { height: 4px; background: rgba(210,115,0,.12); border-radius: 2px; margin-bottom: 2.5em; overflow: hidden; }
.orc-fill     { height: 100%; background: #D27300; border-radius: 2px; transition: width .4s ease; }
.step-bar     { display: flex; align-items: center; justify-content: center; margin-bottom: 2.5em; flex-wrap: wrap; gap: 4px; }
.sb-item      { display: flex; flex-direction: column; align-items: center; }
.sb-num       { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(0,0,0,.12); color: #aaa; font-weight: 700; font-size: .88em; display: flex; align-items: center; justify-content: center; transition: all .3s; background: #fff; }
.sb-item.done  .sb-num { background: rgba(210,115,0,.12); color: #D27300; border-color: #D27300; }
.sb-item.curr  .sb-num { background: #D27300; color: #fff; border-color: #D27300; }
.sb-label     { font-size: 10px; margin-top: .3em; color: #aaa; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; }
.sb-item.curr  .sb-label { color: #D27300; }
.sb-line      { flex: 1; height: 2px; background: rgba(0,0,0,.08); max-width: 70px; margin: 0 4px; transition: background .3s; }
.sb-line.done { background: #D27300; }
.orc-step     { display: none; animation: fadeStep .3s ease; }
.orc-step.ativo { display: block; }
@keyframes fadeStep { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.sel-card {
  border: 2px solid rgba(0,0,0,.1); border-radius: 6px; padding: 1.2em .7em; text-align: center;
  cursor: pointer; transition: all .2s; background: #fff; margin-bottom: .6em;
}
.sel-card:hover  { border-color: #D27300; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(210,115,0,.12); }
.sel-card.sel    { border-color: #D27300; background: rgba(210,115,0,.07); }
.sel-card i      { font-size: 1.8em; color: #D27300; display: block; margin: 0 0 .4em; }
.sel-card span   { font-size: .8em; font-weight: 700; color: #1B2A3A; }
.radio-card      { border: 2px solid rgba(0,0,0,.1); border-radius: 6px; padding: .8em 1em; cursor: pointer; transition: all .2s; font-size: .88em; font-weight: 600; color: #1B2A3A; margin-bottom: .5em; }
.radio-card:hover{ border-color: #D27300; }
.radio-card.sel  { border-color: #D27300; background: rgba(210,115,0,.07); color: #D27300; }
.radio-card i    { color: #D27300; margin-right: .5em; }
.orc-nav         { display: flex; justify-content: space-between; align-items: center; margin-top: 2em; padding-top: 1.5em; border-top: 1px solid rgba(0,0,0,.07); }
.btn-voltar      { background: transparent; border: 2px solid rgba(0,0,0,.12); color: #4A4540; padding: .5em 1.4em; border-radius: 3px; font-weight: 600; cursor: pointer; transition: all .2s; }
.btn-voltar:hover{ border-color: #1B2A3A; color: #1B2A3A; }
.btn-avancar     { background: #D27300; border: none; color: #fff; padding: .6em 2em; border-radius: 3px; font-weight: 700; cursor: pointer; font-size: 1em; transition: all .2s; }
.btn-avancar:hover{ background: #b86500; }
.btn-enviar-wa   { background: #25D366; border: none; color: #fff; padding: .65em 2em; border-radius: 3px; font-weight: 700; cursor: pointer; font-size: 1em; transition: all .2s; display: inline-flex; align-items: center; gap: .5em; }
.btn-enviar-wa:hover { background: #1db555; }
.btn-enviar-wa i { font-size: 1.2em; margin: 0; }
.campo-label     { display: block; font-size: .78em; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #1B2A3A; margin: .9em 0 .3em; }
.campo-req       { color: #D27300; }
.campo-erro      { color: #d03030; font-size: .8em; margin-top: .2em; display: none; }
.campo-erro.vis  { display: block; }
.resumo-box      { background: #f7f2eb; border-radius: 4px; padding: 1.2em 1.5em; margin-bottom: 1.5em; }
.resumo-row      { display: flex; justify-content: space-between; padding: .4em 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: .86em; }
.resumo-row:last-child { border: 0; }
.resumo-row .rk { color: #888; }
.resumo-row .rv { color: #1B2A3A; font-weight: 600; }
