/* ==========================================================================
   Spazio Dentall — style.css
   Bootstrap 4 + custom design system
   ========================================================================== */

:root{
  --navy-950:#141d34;
  --navy-900:#182448;
  --navy-800:#1c2b52;
  --navy-700:#22346a;
  --navy-600:#2c4183;
  --blue-accent:#7d93b8;
  --blue-accent-2:#608CA5;
  --taupe:#6f6a60;
  --taupe-dark:#5c584f;
  --gray-bg:#E7E9E7;
  --gray-pill:#cac8c3;
  --gray-pill-2:#bdbbb6;
  --cream:#f2f0ec;
  --green-wpp:#3fa13d;
  --green-wpp-dark:#2f8a2d;
  --text-navy:#1c2b52;
  --font-main:'Nicky Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  font-family:var(--font-main);
  color:var(--text-navy);
  overflow-x:hidden;
  background:#fff;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4,h5,h6{
  font-family:var(--font-main);
  font-weight:800;
  color:var(--text-navy);
  margin:0;
}

p{ margin:0 0 1rem; line-height:1.6; }
p:last-child{ margin-bottom:0; }

a{ text-decoration:none; }
a:hover{ text-decoration:none; }

img{ max-width:100%; }

.section-pad{ padding:70px 0; }

.section-pad-2{ padding:70px 0 0 0; }

.section-pad p{
  font-size: 1.3rem;
  line-height: 1.3;
}
@media (max-width:767px){ .section-pad p{ font-size: 1rem; } }


@media (max-width:767px){ .section-pad{ padding:44px 0; } }

.text-accent{ color:var(--blue-accent); }
.text-accent-2{color: var(--taupe);}
.bg-navy{ background:#122349; }
.bg-navy-grad{background: linear-gradient(180deg,rgba(17, 34, 71, 1) 20%, rgba(26, 60, 108, 1) 30%);}
.bg-navy-grad-2{
  background: linear-gradient(180deg,rgba(27, 61, 108, 1) 15%, rgba(26, 60, 108, 1) 50%, rgba(21, 39, 77, 1) 85%);
}
.bg-gray{ background:var(--gray-bg); }
.bg-gray-2{
  background-color: #C2C3C3;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-spazio{
  display:inline-block;
  font-family:var(--font-main);
  font-weight:700;
  font-size:22px;
  color:#fff;
  background:linear-gradient(135deg,#22346a 0%, #1a2c63 45%, #101a37 100%);
  border:2px solid #cfa77c;
  padding:10px 65px;
  border-radius:50px;
  text-align:center;
  transition:transform .25s ease, box-shadow .25s ease;
  box-shadow:0 8px 18px rgba(20,29,52,.25);
}

.btn-spazio-font{
  font-size: 21px !important;
}

@media (max-width:767px){
  .btn-spazio{
    font-size:16px;
  }
}

.btn-spazio:hover{
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 12px 22px rgba(20,29,52,.35);
}

.bg-blue-ocean{
  background-color: #162950;
}

.btn-spazio-outline-box{
  margin-left: -15px;
  margin-right: -15px;
}

.btn-spazio-outline{
  display:inline-block;
  font-family:var(--font-main);
  font-weight:700;
  font-size:22px;
  color:#fff;
  background:linear-gradient(135deg,#22346a 0%, #1a2c63 45%, #101a37 100%);
  border:2px solid #cfa77c;
  padding:12px 65px;
  border-radius:50px;
  text-align:center;
  transition:all .25s ease;
  position: relative;
  z-index: 2;
  margin-top: -20px;
}
.btn-spazio-outline:hover{
  color:#fff;
  background:rgba(255,255,255,.08);
}

@media (max-width:767px){
.btn-spazio-outline{
  font-size: 16px;
  margin-top: -40px;
}

}


.resize-p{
  font-size: 1.3rem;
}

.btn-spazio-light{
  display:inline-block;
  font-family:var(--font-main);
  font-weight:700;
  font-size:15px;
  color:var(--text-navy);
  background:#dcdad5;
  border:1px solid #b9b7b2;
  padding:13px 28px;
  border-radius:50px;
  transition:all .2s ease;
}
.btn-spazio-light:hover{ background:#cfcdc8; color:var(--text-navy); }

.btn-whatsapp{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-main);
  font-weight:700;
  font-size:20px;
  color:#fff;
  background:var(--green-wpp);
  border:none;
  padding:6px 32px;
  border-radius:50px;
  transition:all .2s ease;
  box-shadow:0 8px 18px rgba(63,161,61,.3);
}
.btn-whatsapp:hover{ background:var(--green-wpp-dark); color:#fff; transform:translateY(-2px); }
.btn-whatsapp svg{ width:22px; height:22px; flex-shrink:0; }

.btn-form-l{
  border: 1px solid #01102E !important;
  border-radius: 10px;
  padding: 6px 55px;
}

/* ==========================================================================
   Navbar
   ========================================================================== */

.navbar-spazio{
  background:#e2e0dc;
  padding:14px 0;
  top:0;
  z-index:1000;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}
.navbar-spazio .navbar-brand img{ height:62px; }
.navbar-spazio .nav-link-pill{
  font-family:var(--font-main);
  font-weight:700;
  font-size:13px;
  letter-spacing:.02em;
  color:var(--text-navy) !important;
  border:1px solid #b9b7b2;
  border-radius:50px;
  padding:0 20px;
  margin:0 5px;
  white-space:nowrap;
  transition:all .2s ease;
}
.navbar-spazio .nav-link-pill:hover{
  background:rgba(28,43,82,.08);
}
.navbar-spazio .nav-link-pill.active{
  background:var(--navy-800);
  color:#fff !important;
  border-color:var(--navy-800);
}
.navbar-toggler{ border-color:var(--text-navy); }

/* ==========================================================================
   Decorative shape backgrounds (used on dark sections)
   ========================================================================== */

.shapes-field{
  position:relative;
  overflow:hidden;
}
.shape-block{
  position:absolute;
  border-radius:26px;
  z-index:0;
}
.shape-blue{ background:var(--blue-accent-2); opacity:.9; border-radius: 22px 0 22px 22px !important;}
.shape-taupe{ background:var(--taupe); opacity:.9; border-radius: 22px 22px 22px 0 !important;}
.shape-navy-light{ background:var(--navy-700); opacity:.8; border-radius: 22px 22px 0 22px !important;}
.shape-white{ background:#fff; border-radius: 22px 0 22px 22px !important;}
.shape-ocean{ background:#01102E; border-radius: 22px 0 22px 22px !important;}

.shapes-field > .container{ position:relative; z-index:2; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section{
  background:var(--navy-800);
  padding: 0 0 70px;
  position:relative;
}
.hero-panel{
  background:#f4f3f0;
  border-radius:0 0 34px 34px;
  padding:44px;
  position:relative;
  overflow:hidden;
}

.hero-panel-2{
 padding: 0 0 0 44px;
}

.hero-panel-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:.5;
  z-index:0;
}
.hero-panel > .row{ position:relative; z-index:1; }

.hero-title{
  font-size:2.6rem;
  font-weight:800;
  line-height:1.2;
  margin-bottom:18px;
}
@media (max-width:991px){ .hero-title{ font-size:2rem; } }
@media (max-width:575px){ .hero-title{ font-size:1.6rem; } }

.hero-lead{
  font-size:1.1rem;
  margin-bottom:22px;
}
.hero-lead b{ font-weight:800; }

.hero-photo-frame{
  overflow:hidden;
  height:100%;
  min-height:320px;
}
.hero-photo-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.mini-carousel{
  position:relative;
  border-radius:26px;
  overflow:hidden;
  margin:20px 0 26px;
}
.mini-carousel img{ width:95%; display:block; }
.mini-carousel .carousel-indicators{ margin-bottom:10px; }
.mini-carousel .carousel-indicators li{
  width:8px; height:8px; border-radius:50%; background:#fff; opacity:.7; border: 0;
}
.mini-carousel .carousel-indicators li.active{ background:var(--navy-800); opacity:1; }

.hero-final-text b{ font-weight:800; }


.drImg{
  margin-top: -8rem;
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.h2-section{
  font-size:2.5rem;
  font-weight:800;
  line-height:1.25;
  margin-bottom:22px;
}
@media (max-width:575px){ .h2-section{ font-size:1.55rem; } }

.h2-section.light{ color:#fff; }
.h2-section .text-accent{ color:var(--blue-accent-2); }

/* ==========================================================================
   Image carousel with round arrow buttons (centro cirurgico)
   ========================================================================== */

.arrow-carousel{ position:relative; }
.arrow-carousel .carousel-item img{
  height:620px;
  object-fit:cover;
  border-radius: 5px;
}
@media (max-width:767px){ .arrow-carousel .carousel-item img{ height:230px; } }

.arrow-btn{
  width:56px; height:56px;
  border-radius:50%;
  background:#8b877e;
  border:4px solid #fff;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 6px 14px rgba(0,0,0,.25);
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  transition:background .2s ease;
}
.arrow-btn:hover{ background:var(--navy-800); color:#fff; }
.arrow-btn.left{ left:-75px; }
.arrow-btn.right{ right:-75px; }
@media (max-width:767px){
  .arrow-btn{ width:42px; height:42px; }
  .arrow-btn.left{ left:-8px; }
  .arrow-btn.right{ right:-8px; }
}

.info-card-taupe{
  background:linear-gradient(135deg,#78736a,#615c53);
  border-radius:26px;
  padding:40px;
  color:#fff;
  margin-top: 5rem;
  margin-left: -55px;
  margin-right: -55px;
  position:relative;
  z-index:2;
}
.info-card-taupe p{ color:#f1efec; font-size: 1.3rem;}

@media (max-width:767px){ 
  .info-card-taupe{ 
    padding:26px; 
    margin-top: 2rem; 
    margin-left: 0;
    margin-right: 0;
  } 
  .info-card-taupe p{ font-size: 1rem;}

}


/* ==========================================================================
   Checklist pills
   ========================================================================== */

.check-pill{
  display:flex;
  align-items:center;
  gap:16px;
  background:var(--gray-pill);
  border-radius:50px;
  padding:16px 26px;
  margin-bottom:16px;
  font-weight:700;
  color:var(--text-navy);
}
.check-pill.alt{
  background:linear-gradient(90deg,var(--navy-800),var(--blue-accent-2));
  color:#fff;
}
.check-pill .check-ic{
  width:30px; height:30px;
  border-radius:50%;
  background:#fff;
  color:var(--navy-800);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  font-size:14px;
}
.check-pill.alt .check-ic{ color:var(--navy-800); }

/* ==========================================================================
   Instagram-style stacked video showcase
   ========================================================================== */

.stack-showcase{
  position:relative;
  min-height:520px;
}
.stack-block{
  position:absolute;
  border-radius:22px;
}

.stack-reel{
  position:absolute;
  left:50%;
  top:0;
  transform:translateX(-50%);
  width:295px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 20px 40px rgba(0,0,0,.35);
  z-index:3;
}
.stack-reel img{ width:100%; display:block; }
.stack-reel .reel-header{
  position:absolute;
  top:14px; left:14px;
  display:flex;
  align-items:center;
  gap:8px;
  color:#fff;
  font-size:12px;
  font-weight:600;
  z-index:2;
}
.stack-reel .reel-header .dot{
  width:26px;height:26px;border-radius:50%;
  background:rgba(255,255,255,.25);
  border:1.5px solid #fff;
}
.play-overlay{
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:56px; height:56px;
  border-radius:50%;
  background:rgba(255,255,255,.35);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:2;
  cursor:pointer;
}
.play-overlay svg{ width:22px; height:22px; margin-left:3px; }

/* ==========================================================================
   Benefit / info cards grid (taupe rounded cards with icon)
   ========================================================================== */

.benefit-card{
  background:linear-gradient(160deg,#7A7871,#63625B);
  border-radius:30px;
  border: 1px solid #101a37;
  padding:55px;
  color:#fff;
  height:100%;
}
.benefit-card .ic-box{
  width:52px; height:52px;
  border-radius:14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
}
.benefit-card .ic-box svg{ width:26px; height:26px; }
.benefit-card h4{
  color:#fff;
  font-size:2rem;
  margin-bottom:10px;
}

.benefit-card p{ color:#eae8e4; font-size:1.3rem; margin:0; }

@media (max-width:767px){ 
  .benefit-card h4{
    font-size: 1.2rem;
  }
  .benefit-card p{
    font-size: 1rem;
  }
}

/* ==========================================================================
   Comparison table
   ========================================================================== */

.compare-table{
  background: #17345e;
  border-collapse:separate;
  border-spacing:0;
  width:100%;
}

.img-td{
  border-radius: 5px;
  width: 320px;
  max-width: 320px;
}

.bg-table{
  background: #17345e;
}

.compare-table thead th{
  background:#fff;
  color:var(--text-navy);
  font-weight:800;
  text-align:center;
  padding:18px 14px;
  font-size:1rem;
}
.compare-table thead th:first-child{ border-radius:16px 0 0 16px; }
.compare-table thead th:last-child{ border-radius:0 16px 16px 0; }
.compare-table tbody td{
  text-align:center;
  color:#e7e9ee;
  padding:16px 18px;
  font-size:.92rem;
  border-bottom:1px solid rgba(255,255,255,.12);
}

/* ==========================================================================
   Video / testimonial thumbnails
   ========================================================================== */

.video-thumb{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  cursor:pointer;
}
.video-thumb img{ width:100%; display:block; }
.video-thumb .play-overlay{ width:48px; height:48px; }

 .video-thumb-2{
  border-radius: 0;
 }

/* ==========================================================================
   Micro-proof pills
   ========================================================================== */

.pill-outline{
  display:inline-block;
  border:1px solid var(--navy-800);
  border-radius:50px;
  padding:9px 20px;
  font-weight:700;
  font-size:.85rem;
  color:var(--text-navy);
  background:#809EAE;
  margin:0 8px 12px 0;
}

.text-res-pill{
  font-size: 1.2rem;
  padding: 5px 20px;
}
.text-res-pill-2{
  font-size: 1.2rem;
}
.text-sub-pill{
  font-size: 1.2rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-spazio label{
  font-weight:800;
  color:var(--text-navy);
  margin-bottom:8px;
}
.form-spazio .form-control{
  border:1px solid #b9b7b2;
  border-radius:10px;
  padding:22px 18px;
  height:auto;
  font-family:var(--font-main);
  margin-bottom:18px;
}
.form-spazio .form-control:focus{
  border-color:var(--navy-800);
  box-shadow:0 0 0 .2rem rgba(28,43,82,.15);
}
.form-spazio button.btn-spazio-light{ 
  border:none; 
  cursor:pointer; 
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-spazio{
  background: #C2C3C3;
  padding:50px 0 0;
}
.footer-spazio h5{
  font-size:1rem;
  font-weight:800;
  margin-bottom:14px;
}
.footer-spazio p, .footer-spazio a{
  color:var(--text-navy);
  font-size:.92rem;
}
.footer-spazio .footer-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom:10px;
}
.footer-spazio .footer-item img{ width:20px; margin-top:3px; }
.social-ic{
  width:44px;height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-right:10px;
}
.footer-bottom{
  border-top:1px solid #cfcdc8;
  text-align:center;
  padding:18px 0;
  margin-top:34px;
  font-size:.85rem;
}

/* ==========================================================================
   Floating WhatsApp button
   ========================================================================== */

.wpp-float{
  position:fixed;
  right:30px;
  bottom:40px;
  z-index:1200;
  width:80px;
  height:82px;
  border-radius:50%;
  background: #30D24E;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 10px 24px rgba(0,0,0,.3);
  animation:bounce-wpp 2s ease-in-out infinite;
}
.wpp-float svg{ width:42px; height:42px; }
@keyframes bounce-wpp{
  0%   { transform: scale(1,1)      translateY(0); box-shadow: 0 0 0 0 rgba(197, 197, 197, 0.82);}
  10%  { transform: scale(1,1)      translateY(-18px); }
  30%  { transform: scale(1,1)      translateY(0); }
  50%  { transform: scale(1,1)      translateY(0); }
  57%  { transform: scale(1,1)      translateY(0); }
  64%  { transform: scale(1,1)      translateY(0); box-shadow: 0 0 0 10px rgba(28, 42, 140, 0);}
  100% { transform: scale(1,1)      translateY(0); box-shadow: 0 0 0 0 rgba(28, 42, 140, 0);}
}

/* ==========================================================================
   Preloader
   ========================================================================== */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #EDECEB;
  z-index: 9999;
  height: 100%;
  width: 100%;
  display: table;
}

.no-js #preloader,
.oldie #preloader {
  display: none;
}

#loader {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.line-scale-pulse-out > div {
  background-color: #1C2B52;
  width: 4px;
  height: 35px;
  border-radius: 2px;
  margin: 2px;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  display: inline-block;
  -webkit-animation: line-scale-pulse-out 0.9s -0.6s infinite cubic-bezier(0.85, 0.25, 0.37, 0.85);
  animation: line-scale-pulse-out 0.9s -0.6s infinite cubic-bezier(0.85, 0.25, 0.37, 0.85);
}

.line-scale-pulse-out > div:nth-child(2),
.line-scale-pulse-out > div:nth-child(4) {
  -webkit-animation-delay: -0.4s !important;
  animation-delay: -0.4s !important;
}

.line-scale-pulse-out > div:nth-child(1),
.line-scale-pulse-out > div:nth-child(5) {
  -webkit-animation-delay: -0.2s !important;
  animation-delay: -0.2s !important;
}

@-webkit-keyframes line-scale-pulse-out {
  0% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }

  50% {
    -webkit-transform: scaley(0.4);
    transform: scaley(0.4);
  }

  100% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }

}

@keyframes line-scale-pulse-out {
  0% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }

  50% {
    -webkit-transform: scaley(0.4);
    transform: scaley(0.4);
  }

  100% {
    -webkit-transform: scaley(1);
    transform: scaley(1);
  }

}


/* ==========================================================================
   Misc
   ========================================================================== */

.rounded-photo{ border-radius:26px; }
.rounded-photo-2{border-radius:0 0 26px 26px; }
.text-navy{ color:var(--text-navy) !important; }
.bg-cream{ background:var(--cream); }

.important-box{
  width: 60%;
  border:1px solid #c9c7c2;
  border-radius:18px;
  padding:28px 60px;
  text-align:center;
  margin:26px 0;
  position:relative;
}

@media (max-width:767px){ 
  .important-box{
    width: 100%;
    padding:28px 22px;
    margin:26px 0;
  }
}

.important-tag{
  position:absolute;
  top:-20px;
  left:50%;
  transform:translateX(-50%);
  background:var(--taupe);
  color:#fff;
  font-weight:700;
  padding:9px 22px;
  border-radius:50px;
  display:flex;
  align-items:center;
  gap:8px;
  white-space:nowrap;
}

.divider-tag{
  width:34px;
  height:4px;
  background:var(--taupe);
  display:inline-block;
  margin-bottom:10px;
}

.pt-mod-s{
  padding-top: 9rem;
}
@media (max-width:767px){ 
  .pt-mod-s{
    padding-top: 1rem;
  }
}

.zig-img{
  max-height:620px;
  object-fit:cover; 
  height:620px;
}

@media (max-width:767px){ 
 .zig-img{
    height:320px;
    border-radius: 18px;
  }
}

.para-quem-img{
  position: relative;
  z-index:1;
  width:60%;
  left:20%;
}

@media (max-width:767px){ 
 .para-quem-img{
    width:100%;
    left: 0;
    border-radius: 10px;
  }
  .hero-panel-2{
  padding: 0 0 0 0;
  }
}


@media (max-width:767px){ 
 .footer-spazio .footer-item{
    display:block;
    align-items:flex-start;
    margin-bottom:10px;
  }
}

.compare-item p, h3{
  color: white;
}

.compare-item img {
  border-radius: 10px;
}

.compare-item h3 {
  margin-bottom: 15px;
}

@media (max-width: 767px) {
  .compare-item .col-md-6:first-child {
    margin-bottom: 20px;
  }
  .drImg{
    margin-top: 0;
  }
  .benefit-card {
    padding: 30px;
  }
}