@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Pacifico&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Balsamiq+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap");


body {
  font-family: "Poppins", sans-serif;
 /* background: url(../img/background-1.jpg);*/
 /* background-size: cover;*/
}

#nossa-escola {
    background: url(../img/background-1.jpg);
}

#parceiros {
    background: url(../img/bg-piupiuei.png);
    padding: 100px 0;
}

#pp-section {
  padding: 150px 0;
}

.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

h2 {
  color: #ff882a;;
  font-weight: 600;
  font-size: 30px;
}

h1 {
  color: #ff882a;
  font-weight: 600;
  text-transform: uppercase;
}

h3 {
  color: #fff;
}

.topbar{
  text-align: right;
  padding-right: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  background-color: #006990;
}

div#navbarSupportedContent {    
    font-size: 13px;
    margin: -60px;
}

.topbar span{
  color: #fff; 
  font-size: 15px;
  margin-right: 5px;
}

.topbar a{
  color: #fff; 
  font-size: 12px;
  margin-right: 5px;
}

.topbar a:hover{
  color: #ff882a !important;
}


.navbar {
  -webkit-transition: all 1s ease 0s;
  transition: all 1s ease 0s;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  padding-top: 0px;
  /*padding-bottom: 25px;*/
}

.navbar-light a {
  color: #004597 !important;
}

.navbar-light a:hover {
  color: #ff882a !important;
}


.navbar-mob a {
  color: #004597 !important;
  font-weight:600;
}

.navbar-mob a:hover {
  color: #ff882a !important;
}

.dropdown-menu a {
  color: #000000 !important;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.dropdown-menu a:hover {
  color: #ff882a !important;
  background-color: #ffffff !important;
}

.dropdown-menu {
  border-radius: 0px !important;
}

.icon-nav {
  font-size: 20px;
}

.bg-verde {
  background-color: #cc0c2f;
}

.bg-cinza {
  background-color: #eeeeee;
}

.bg-custom {
  background-color: #fff;
}

.btn-tour{
  background-color: #ff882a;
  padding: 10px 30px;
  color: #fff !important;
  border-radius: 25px;
}

.btn-tour2{
  background-color: transparent;
  border:2px solid #fff !important;
  padding: 10px 30px;
  color:#fff !important;
  border-radius: 15px;
}

.btn-tour:hover {
  background-color: transparent;
  border: 2px solid #ff882a;
  color: #ff882a !important;
}

.btn-custom {
  background-color: transparent;
  padding: 10px 30px;
  color: #fff;
  font-size: 18px;
  border: 2px solid #fff;
  border-radius: 250px;
}

.btn-custom-branco {
  color: #006830;
}

.btn-custom:hover {
  background-color: #fff;
  border: 2px solid #fff;
  color: #f2c83d !important;
}

.btn-verde {
  background-color: #006830;
  padding: 10px 30px;
  color: #fff7b3;
  font-size: 18px;
  border: 2px solid #006830;
}

.btn-verde-branco {
  color: #006830;
}

.btn-verde:hover {
  background-color: transparent;
  border: 2px solid #006830;
  color: #006830 !important;
}

.rounded {
  border-radius: 20px !important;
}

/*Turmas Overlay*/
.unidades-container {
  position: relative;
  padding-top: 30px;
  padding-bottom: 80px;
}

.unidades-container h1{
  text-align: center;
  text-transform: none;
  color: #fff;
  font-size: 25px;
  margin-top: 70px;
}

.unidades-container h3{
display: none;
}

.unidades-container p{
  text-align: center;
  text-transform: none;
  color: #fff;
  margin-top: 15px;
}


.turmas-container {
  position: relative;
  /*padding-top: 30px;
  padding-bottom: 80px;*/
}

.turmas-container h1{
  text-align: center;
  text-transform: none;
  color: #fff;
  font-size: 35px;
  margin-top: 100px;
}

.turmas-container p{
  text-align: center;
  text-transform: none;
  color: #fff;
  margin: 25px;
}

.btn-saiba2{
  color: #fff;
  background-color: #ff882a;
  text-align: center;
  border-radius: 45px;
  padding: 10px 35px 10px 35px;
  transition: 0.5s;
  display: inline-block;
  position: relative;
  font-size: 18px;
}

.btn-saiba2:after{
  content: '>';
  position: absolute;
  opacity: 0;  
  transition: 0.5s;
}


.btn-saiba2:hover{
  padding-right: 40px;
  padding-left:25px;
  color: #fff;

}

.btn-saiba2:hover:after {
  opacity: 1;
  right: 10px;
  color: #fff;
}

.btn-saiba{
  color: #ff882a;
  background-color: #fff;
  text-align: center;
  margin-left: 39%;
  border-radius: 45px;
  padding: 10px 35px 10px 35px;
  transition: 0.5s;
  display: inline-block;
  position: relative;
  font-size: 18px;
}

.btn-saiba:after{
  content: '>';
  position: absolute;
  opacity: 0;  
  
  right: -20px;
  transition: 0.5s;
}


.btn-saiba:hover{
  padding-right: 40px;
  padding-left:25px;
  color: #ff882a;

}

.btn-saiba:hover:after {
  opacity: 1;
  right: 10px;
  color: #ff882a;
}


.overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: #006990;
}

.unidades-card:hover .overlay {
  opacity: 0.9;
}

.text-unidades {
  color: #ff882a;
  font-size: 20px;
  font-weight: 600;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}

/*End of Turmas Overlay*/
.educadores-texto {
  line-height: 25px;
}

.educadores img{
  width: 100%;
  /*border-radius: 1550px;*/
}

.educadores h4{
  font-size: 18px;
  margin-top: 10px;
  color: #292d96;
  text-align: center;
}

.educadores h3{
  font-size: 15px;
  margin-top: 5px;
  color: #a8a8a8;
  text-align: center;
}

.educadores p{
  text-align: center;
  margin-top: 5px;
}

/*.bg-objetivo{
    background-image: url(../img/bg-objetivo.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}*/
.form-control {
  padding: 30px 20px;
  border-radius: 10px;
  border: solid 1px #006830;
}

.form-control:focus {
  box-shadow: none;
  border: solid 1px #fff7b3;
}

textarea {
  resize: none;
}

hr {
  border-bottom: 2px solid #ff882a;
  line-height: 1px;
}

.icon-amarelo {
  color: #f2c83d;
  text-decoration: none;
}

.icon-verde {
  color: #000000;
  text-decoration: none;
}

.icon-amarelo:hover {
  color: #ffffff;
  text-decoration: none;
}

.navbar-mobile {
  display: none;
}

p {
  color: #545454;
}

.txt-verde-bg-creme {
  color: #2c0674;
}
  
.txt-verde {
  color: #006830;
}

.breadcrumb-verde {
  padding-top: 160px;
  padding-bottom: 40px;
  background-color: #76c767;
}

.breadcrumb-verde h2 {
  text-transform: none !important;
  font-size: 50px;
  font-family: "Balsamiq Sans", cursive;
}

  /*------------CARDS------------------*/
#card{
  margin-top: 0px;
}
#bercario{
    background: #1a95be;
    text-align: center;
    padding: 10px 0px;
    color: white;
    
}
#texto-bercario{
    background-color: #1a95be;
    color: #77b8db;
    padding: 0px 10px;
    /*height: 150px;*/
    font-size: 15px;
    font-weight: 700;
}
#botao-card-bercario{
    text-align: center;
    background-color: #1A95BE;
    padding: 10px 0px;
    
}
.botao-card{
    padding-top: 10px ;
    background-color: transparent ;
    border: none;
    color: white;
    font-size: 18px;
}

#infantil{
    background: #F6B939;
    text-align: center;
    padding: 10px 0px;
    color: white;
}
#texto-infantil{
    background-color: #F6B939;
    color: white;
    padding: 0px 10px;
    /*height: 150px;*/
    font-size: 15px;
    font-weight: 700;
}
#botao-card-infantil{
    text-align: center;
    background-color: #F6B939;
    padding: 10px 0px;
    
}
#cursos{
    background-color: #198754;
    text-align: center;
    padding: 10px 0px;
    color: white;
}
#texto-cursos{
    background-color: #198754;
    color: white;
    padding: 0px 10px;
    /*height: 150px;*/
    font-size: 15px;
    font-weight: 700;
}
#botao-card-medio{
    text-align: center;
    background-color: #198754;
    padding: 10px 0px;
    
}

#integral{
    background-color: #FF8282;
    text-align: center;
    padding: 10px 0px;
    color: #fff;
}

#texto-integral{
    background-color: #FF8282;
    color: white;
    padding: 0px 10px;
    /*height: 150px;*/
    font-size: 15px;
    font-weight: 700;
}

#botao-card-integral{
    text-align: center;
    background-color: #FF8282;    
    padding: 10px 0px;
    
}

.botao-card-integral{
    padding-top: 10px ;
    background-color: transparent ;
    border: none;
    color: #fff;
    font-size: 18px;
}


.extras i {
  margin-bottom: 20px;
  color: #76c767;
}

.extras p {
  font-size: 30px;
  font-family: "Balsamiq Sans", cursive;
}


a.btn.btn-theme.margintop10 {
    margin-bottom: 80px;
}

div#navbarSupportedContent {
    margin-bottom: -55px;
}

img.navbar-brand.navbar-brand-desktop {

margin-top: -10px;
}

@media screen and (max-width: 699px) {
  .overlay {
    display: none;
  }

  .turmas-card:hover .overlay {
    display: none;
  }

  .breadcrumb-verde {
    padding-top: 60px;
    padding-bottom: 40px;
    background-color: #76c767;
  }

  .breadcrumb-verde h2 {
    text-transform: none !important;
    font-size: 30px;
    font-family: "Balsamiq Sans", cursive;
  }

   .topbar span{
  font-size: 12px;
  margin-right: 5px;
  }
}

@media screen and (max-width: 992px) {


  .navbar-mobile {
    display: block;
  }

  .education {
    padding-left: 10%;
    padding-right: 10%;
  }

  .topbar span{
  font-size: 12px;
  margin-right: 5px;
  }

    .topbar a{
  font-size: 8px;
  margin-right: 2px;
  }

  .turmas-card img{
    display: none;
  }

  .btn-saiba{
    margin-left: 27%;
    margin-bottom: 25px;
  }

  .unidades-container h3{
    display: block;
    color: #335d97;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 5px;
  }

}


.custom-card {
  position: relative;
  border: none;
  border-radius: 0;
  overflow: hidden;
  text-align: center;
}

.custom-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.6;
}

.custom-card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente */
  padding: 10px 0;
}

.custom-card .card-title {
  color: white; /* Cor branca */
  font-weight: bold; /* Texto em negrito */
  margin: 0;
}

/* Cores personalizadas dos cards */
.card-bg-blue {
  background-color: #3f51b5; /* Azul */
}

.card-bg-light-blue {
  background-color: #03a9f4; /* Azul claro */
}

.card-bg-green {
  background-color: #c22f33;
}

.card-bg-light-green {
  background-color: #dbc27b;
}

/* contact form */

.contact-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hidden_image {
  display: none;
}

/* New */

/* ============================================================
   PIU PIU — NAVBAR REDESIGN
   Responsive, dropdown Estrutura, criss-cross button effect
   ============================================================ */

:root {
  --piu-primary:   #006990;
  --piu-orange:    #ff882a;
  --piu-dark:      #004597;
  --piu-yellow:    #f4d951;
  --piu-red:       #D94055;
  --piu-hover-bg:  #F5A623;
  --piu-white:     #ffffff;
  --nav-height:    68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: 'Poppins', sans-serif; background: #f5f5f5; }

/* ── TOPBAR ───────────────────────────────────────────────── */
.piu-topbar {
  background: var(--piu-primary);
  padding: 7px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.piu-topbar span,
.piu-topbar a {
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}

.piu-topbar a:hover { color: var(--piu-orange); }

.piu-topbar .sep {
  color: rgba(255,255,255,.35);
  font-size: 11px;
}

/* ── NAVBAR SHELL ─────────────────────────────────────────── */
.piu-nav {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  height: 130px;
  display: flex;
  align-items: center;
}

.piu-nav__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ── LOGO ─────────────────────────────────────────────────── */
.piu-nav__logo img {
  height: 100px;
  width: auto;
  display: block;
}

/* ── MENU LIST ────────────────────────────────────────────── */
.piu-nav__list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.piu-nav__item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  color: var(--piu-dark) !important;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .3px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.piu-nav__item > a:hover {
  color: var(--piu-orange) !important;
  background: rgba(255,136,42,.06);
}

/* ── ICON LINKS (social) ──────────────────────────────────── */
.piu-nav__icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--piu-dark) !important;
  font-size: 18px;
  border-radius: 4px;
  transition: color .2s, background .2s;
  text-decoration: none;
}

.piu-nav__icon-link:hover {
  color: var(--piu-orange) !important;
  background: rgba(255,136,42,.06);
}

/* ── CTA PILLS (Matrículas / Indique) ────────────────────── */
.piu-nav__item--cta > a {
  background: var(--piu-yellow);
  color: #333 !important;
  border-radius: 20px;
  padding: 5px 13px;
  font-size: 12px;
}

.piu-nav__item--cta > a:hover {
  background: var(--piu-orange);
  color: #fff !important;
}

/* ── CONTACT DROPDOWN (existing) ─────────────────────────── */
.piu-nav__item--has-drop {
  position: relative;
}

/* Adiciona padding-top invisível que serve de "ponte"
   entre o link e o dropdown, impedindo que o hover quebre */
.piu-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0px); /* era +6px — reduz gap */
  left: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  list-style: none;
  padding: 6px 0;
  min-width: 210px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 9999;
  /* Ponte invisível de 10px acima do dropdown */
  margin-top: 0;
  padding-top: 10px;
}

/* Área "fantasma" que conecta o link ao dropdown */
.piu-nav__item--has-drop::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 10px; /* mesma altura do padding-top do dropdown */
  background: transparent;
}

.piu-nav__item--has-drop:hover .piu-dropdown,
.piu-nav__item--has-drop:focus-within .piu-dropdown {
  display: block;
  animation: dropIn .18s ease;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.piu-dropdown__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #bbb;
  padding: 6px 16px 4px;
}

.piu-dropdown li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 13px;
  color: #333 !important;
  text-decoration: none;
  transition: background .15s, color .15s;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}

.piu-dropdown li a:hover {
  background: rgba(255,136,42,.07);
  color: var(--piu-orange) !important;
}

.piu-dropdown li a i {
  font-size: 15px;
  color: var(--piu-primary);
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.piu-dropdown hr {
  border: none;
  border-top: 1px solid #f0f0f0;
  margin: 4px 12px;
}

/* ── TRANSLATE WIDGET ─────────────────────────────────────── */
.piu-translate-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

/* Constrain the gtranslate widget so flags don't blow up layout */
.piu-translate-wrap .gtranslate_wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  flex-wrap: nowrap !important;
}

.piu-translate-wrap .gtranslate_wrapper img,
.piu-translate-wrap .gtranslate_wrapper a img {
  width: 22px !important;
  height: 16px !important;
  object-fit: cover !important;
  border-radius: 2px !important;
}

/* ── HAMBURGER ────────────────────────────────────────────── */
.piu-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

.piu-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--piu-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.piu-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.piu-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.piu-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE DRAWER ────────────────────────────────────────── */
/* ── OVERLAY ─────────────────────────────────────────────── */
.piu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 9998;
  opacity: 0;
  transition: opacity .3s ease;
}

.piu-overlay.is-active {
  display: block;
  opacity: 1;
}

/* ── MOBILE DRAWER ────────────────────────────────────────── */
/* .piu-mobile-menu {
  display: none;
  position: relative;
  z-index: 9999;
  background: #fff;
  border-top: 3px solid #f2d44e;
  padding: 8px 0 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
}

.piu-mobile-menu.is-open {
  display: block;
} */

/* SUBSTITUIR o bloco .piu-mobile-menu existente */
.piu-mobile-menu {
    display: none;
    position: relative;
    z-index: 9999;
    background: #fff;
    border-top: 3px solid #f2d44e;
    padding: 8px 0 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,.12);
    max-height: 80vh;             /* ← limita a altura */
    overflow-y: auto;             /* ← rola internamente */
    -webkit-overflow-scrolling: touch;
}

.piu-mobile-menu.is-open {
    display: block;
}

.piu-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Links principais */
.piu-mobile-menu > ul > li > a {
  display: block;
  padding: 13px 24px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
  color: #006990 !important;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  transition: color .2s, background .2s, border-left .2s;
  border-left: 3px solid transparent;
}

.piu-mobile-menu > ul > li > a:hover {
  color: #bc2138 !important;
  background: rgba(242, 212, 78, .08);
  border-left-color: #f2d44e;
}

/* Sub-itens (Baby Prime / Unidade Infantil) */
.piu-mobile-sub {
  background: #fafafa;
  border-left: 3px solid #f2d44e;
  margin: 0 0 0 24px;
  border-radius: 0 4px 4px 0;
}

.piu-mobile-sub a {
  font-size: 12.5px !important;
  text-transform: none !important;
  padding: 10px 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #006990 !important;
  border-bottom: 1px solid #eee !important;
  border-left: none !important;
  display: flex !important;
  align-items: center;
}

.piu-mobile-sub a:hover {
  color: #bc2138 !important;
  background: rgba(188, 33, 56, .05) !important;
  border-left-color: transparent !important;
}

/* CTAs do drawer */
.piu-mobile-menu .mob-cta {
  margin: 14px 24px 0;
}

.piu-mobile-menu .mob-cta a {
  text-align: center;
  border-radius: 20px;
  border-bottom: none !important;
  border-left: none !important;
  padding: 10px 20px !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  letter-spacing: .4px !important;
}

/* Redes sociais */
.piu-mobile-menu .mob-social {
  display: flex;
  gap: 16px;
  padding: 16px 24px 0;
}

.piu-mobile-menu .mob-social a {
  font-size: 22px;
  padding: 0 !important;
  border: none !important;
  text-transform: none !important;
  border-left: none !important;
  display: flex;
  align-items: center;
  color: #006990 !important;
  transition: color .2s;
}

.piu-mobile-menu .mob-social a:hover {
  color: #bc2138 !important;
  background: transparent !important;
}

/* ============================================================
   CRISS-CROSS BUTTON EFFECT
   ============================================================ */

/*
  Applied to any element with class .btn-piu
  Works on: .btn-saiba, .btn-saiba2, .btn-tour, .btn-custom,
            nav CTAs and all other button links
*/

/* ============================================================
   CRISS-CROSS BUTTON EFFECT (Corrigido)
   ============================================================ */

.btn-piu {
  position: relative;
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
  z-index: 0;
  /* Garante que o texto fique acima do fundo */
  isolation: isolate; 
}

.btn-piu::before,
.btn-piu::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50%; /* Cada uma ocupa metade da largura inicial */
  height: 100%;
  background: var(--piu-hover-bg);
  z-index: -1;
  transition: transform 0.5s ease;
  transform: scaleX(0);
}

.btn-piu::before { 
  left: 0; 
  transform-origin: left; 
}

.btn-piu::after { 
  right: 0; 
  transform-origin: right; 
}

.btn-piu:hover::before,
.btn-piu:hover::after {
  transform: scaleX(1);
}

@keyframes criss-cross-left {
  0%   { left: -20px; opacity: 0; width: 20px; height: 20px; }
  50%  { left: 50%; width: 20px; height: 20px; opacity: 1; }
  100% { left: 50%; width: 300px; height: 300px; opacity: 1; }
}

@keyframes criss-cross-right {
  0%   { right: -20px; opacity: 0; width: 20px; height: 20px; }
  50%  { right: 50%; width: 20px; height: 20px; opacity: 1; }
  100% { right: 50%; width: 300px; height: 300px; opacity: 1; }
}

/* ── Default button styles (matching style.css originals) ─── */

/* btn-saiba2 */
.btn-saiba2 {
  color: #fff;
  background-color: var(--piu-red); /* #D94055 */
  text-align: center;
  border-radius: 45px;
  padding: 10px 35px;
  font-size: 18px;
  text-decoration: none;
  transition: color .3s;
  border: 2px solid var(--piu-red);
}

.btn-saiba2:hover {
  color: #fff;
  text-decoration: none;
}

/* btn-saiba */
.btn-saiba {
  color: var(--piu-red);
  background-color: #fff;
  border-radius: 45px;
  padding: 10px 35px;
  font-size: 18px;
  text-decoration: none;
  transition: color .3s;
  display: inline-block;
  border: 2px solid var(--piu-red);
}

.btn-saiba:hover {
  color: var(--piu-dark);
  text-decoration: none;
}

/* btn-tour */
.btn-tour {
  background-color: var(--piu-red);
  padding: 10px 30px;
  color: #fff !important;
  border-radius: 25px;
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--piu-red);
  transition: color .3s;
}

.btn-tour:hover {
  color: #fff !important;
  text-decoration: none;
}

/* btn-custom */
.btn-custom {
  padding: 10px 30px;
  color: #fff;
  font-size: 18px;
  border: 2px solid #fff;
  border-radius: 250px;
  background-color: transparent;
  display: inline-block;
  text-decoration: none;
  transition: color .3s;
}

.btn-custom:hover {
  color: #fff !important;
  text-decoration: none;
}

/* ── Demo section ─────────────────────────────────────────── */
.demo-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.demo-section h2 {
  font-size: 22px;
  color: var(--piu-dark);
  margin-bottom: 32px;
  font-weight: 600;
}

.demo-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 24px;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .piu-nav__item > a {
    font-size: 11.5px;
    padding: 6px 7px;
  }
}

@media (max-width: 992px) {
  .piu-nav__list,
  .piu-translate-wrap { display: none; }

  .piu-hamburger { display: flex; }

  .piu-nav {
    height: 80px;
  }

  .piu-nav__logo img {
    height: 62px;
    max-width: 180px;
    object-fit: contain;
  }
}

@media (max-width: 400px) {
  .piu-topbar {
    justify-content: center;
    gap: 8px;
  }

  .piu-topbar .sep { display: none; }
}


/* ── CAROUSEL RESPONSIVO ─────────────────────────────────── */
.carousel-img {
    width: 100%;
    height: auto;          /* altura proporcional por padrão */
    max-height: 600px;     /* nunca passa da altura original */
    object-fit: cover;     /* preenche sem distorcer */
    object-position: center center;
    display: block;
}

/* Em tablets: reduz a altura máxima para não ficar alto demais */
@media (max-width: 768px) {
    .carousel-img {
        max-height: 350px;
    }
}

/* Em celulares: altura ainda menor, foco no centro */
@media (max-width: 480px) {
    .carousel-img {
        max-height: 200px;
        object-position: center top; /* prioriza o topo, onde fica o texto do banner */
    }
}

/* ============================================================
   FOOTER — Piu Piu (padrão LP)
============================================================ */
.piu-footer {
    background: linear-gradient(160deg, #96182c 0%, #bc2138 50%, #d43652 100%);
    padding: 52px 0 44px;
    position: relative;
    overflow: hidden;
}
.piu-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}
.piu-footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 10% 60%, rgba(243,213,77,0.13) 0%, transparent 55%);
    pointer-events: none;
}

/* Logo */
.piu-footer__logo {
    text-align: center;
    margin-bottom: 36px;
}
.piu-footer__logo img {
    max-height: 100px;
    margin: 0 auto;
    
    opacity: .92;
}

/* Grid de unidades */
.piu-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 36px;
    margin-bottom: 28px;
}
.piu-footer__sep {
    background: rgba(255,255,255,0.18);
    border-radius: 2px;
    align-self: stretch;
}

/* Cada unidade */
.piu-footer__unit h3 {
    font-family: 'Baloo 2', cursive;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #f3d54d;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.piu-footer__badge {
    background: rgba(243,213,77,0.18);
    border: 1px solid rgba(243,213,77,0.4);
    border-radius: 50px;
    padding: 2px 10px;
    font-size: 10px;
    letter-spacing: 1px;
    color: #f3d54d;
    font-family: 'Nunito', sans-serif;
}
.piu-footer__unit address {
    font-style: normal;
    color: rgba(255,255,255,0.88);
    font-size: 14px;
    line-height: 1;
}
.piu-footer__unit address p {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}
.piu-footer__unit address p:last-child { margin-bottom: 0; }
.piu-footer__unit address i {
    color: #f3d54d;
    font-size: 13px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}
.piu-footer__unit address a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    transition: color .2s;
}
.piu-footer__unit address a:hover {
    color: #f3d54d;
}

/* Divisor */
.piu-footer__divider {
    border: none;
    border-top: 1px dashed rgba(255,255,255,0.18);
    margin: 0 0 24px;
}

/* Bottom bar */
.piu-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

/* Redes sociais */
.piu-footer__social {
    display: flex;
    gap: 10px;
}
.piu-footer__social-ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    text-decoration: none;
    transition: all .25s;
}
.piu-footer__social-ico:hover {
    background: #f3d54d;
    border-color: #f3d54d;
    color: #96182c;
    transform: translateY(-3px) rotate(-5deg);
}

/* CTA de matrícula */
.piu-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f3d54d;
    color: #96182c;
    font-family: 'Baloo 2', cursive;
    font-weight: 900;
    font-size: 14px;
    padding: 11px 26px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: all .3s ease;
}
.piu-footer__cta:hover {
    background: #fff;
    color: #96182c;
    text-decoration: none;
    transform: translateY(-2px) scale(1.03);
}

/* Copy bar */
.copy-bar {
    background: #f8f7f4;
    padding: 14px 0;
    text-align: center;
}
.copy-bar p { color: #aaa; font-size: 12px; margin: 0; }
.copy-bar a { color: #bc2138; text-decoration: none; font-weight: 700; }
.copy-bar a:hover { color: #96182c; }

/* Responsivo */
@media (max-width: 767px) {
    .piu-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px 0;
    }
    .piu-footer__sep { display: none; }
    .piu-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .piu-footer__cta { width: 100%; justify-content: center; }
}

/* ============================================================
   NOVOS CARDS DA SEÇÃO NOSSA ESCOLA
   ============================================================ */
.nossa-escola-cards {
    padding: 60px 0;
}

.escola-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    position: relative;
}

.escola-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.escola-card__header {
    padding: 30px 20px 20px;
    text-align: center;
    position: relative;
}

.escola-card__header i {
    font-size: 48px;
    margin-bottom: 15px;
    display: inline-block;
}

.escola-card__header h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.escola-card__content {
    padding: 20px 25px 25px;
    text-align: center;
}

.escola-card__content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.escola-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: transparent;
    border: 2px solid;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.escola-card__btn:hover {
    transform: translateX(5px);
    text-decoration: none;
}

/* Cores individuais dos cards */
.card-sobre {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-metodologia {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.card-estrutura {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.card-contato {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.section-wrap {
  padding: 60px 20px;
  background: linear-gradient(160deg, #f5f7fa 0%, #e8edf5 100%);
}

.section-title {
  text-align: center;
  margin-bottom: 10px;
}

.section-title h2 {
  font-size: 28px;
  font-weight: 700;
  color: #2c0674;
  margin-bottom: 8px;
}

.section-title p {
  color: #888;
  font-size: 14px;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 28px;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}

.card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card-header {
  border-radius: 28px 28px 0 0;
  padding: 28px 20px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.card-header::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 100px; height: 100px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
}

.card-header::after {
  content: '';
  position: absolute;
  bottom: -20px; left: -20px;
  width: 70px; height: 70px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
}

.card-header .icon-wrap {
  width: 58px; height: 58px;
  border-radius: 18px;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  font-size: 26px;
  position: relative; z-index: 1;
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: transform 0.35s ease;
}

.card:hover .icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.card-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  position: relative; z-index: 1;
  letter-spacing: 0.2px;
}

.card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.card-body p {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  flex: 1;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid;
  cursor: pointer;
  background: transparent;
  font-family: 'Poppins', sans-serif;
}

.card-btn:hover {
  transform: translateX(4px);
}

/* Card Cores */
.card-sobre .card-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.card-sobre .card-btn { color: #764ba2; border-color: #764ba2; }
.card-sobre .card-btn:hover { background: rgba(118,75,162,0.08); }

.card-metodologia .card-header { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.card-metodologia .card-btn { color: #f5576c; border-color: #f5576c; }
.card-metodologia .card-btn:hover { background: rgba(245,87,108,0.08); }

.card-estrutura .card-header { background: linear-gradient(135deg, #4facfe 0%, #00c6fb 100%); }
.card-estrutura .card-btn { color: #4facfe; border-color: #4facfe; }

.card-contato .card-header { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.card-contato .card-btn { color: #1db86b; border-color: #1db86b; }
.card-contato .card-btn:hover { background: rgba(67,233,123,0.08); }

/* === ESTRUTURA HOVER PANEL === */
.card-estrutura {
  overflow: visible;
}

.estrutura-hover-panel {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 240px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.18);
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 100;
  border: 1px solid rgba(79,172,254,0.2);
}

.estrutura-hover-panel::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #fff;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,0.05));
}

.card-estrutura:hover .estrutura-hover-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.panel-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #bbb;
  margin-bottom: 10px;
  padding: 0 2px;
}

.unidade-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-radius: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 6px;
  border: 1px solid #f0f0f0;
}

.unidade-link:last-child { margin-bottom: 0; }

.unidade-link:hover {
  background: linear-gradient(135deg, rgba(79,172,254,0.08), rgba(0,198,251,0.05));
  border-color: rgba(79,172,254,0.3);
  transform: translateX(3px);
}

.unidade-link .u-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.unidade-link.bercario .u-icon { background: rgba(79,172,254,0.12); color: #4facfe; }
.unidade-link.infantil .u-icon { background: rgba(0,198,251,0.12); color: #00c6fb; }

.unidade-link .u-info strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #2c2c2a;
  line-height: 1.3;
}

.unidade-link .u-info small {
  font-size: 11px;
  color: #aaa;
}

.panel-maps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding: 8px;
  border-radius: 10px;
  background: #f8f9fa;
  font-size: 12px;
  color: #888;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #eee;
}

.panel-maps:hover {
  background: #fff3e8;
  color: #ff882a;
  border-color: rgba(255,136,42,0.25);
}

.panel-maps span { font-size: 14px; }

/* Tooltip do botão estrutura */
.estrutura-trigger {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  color: #4facfe;
  border: 2px solid #4facfe;
  background: transparent;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.estrutura-trigger:hover {
  background: rgba(79,172,254,0.08);
}

.chevron-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.card-estrutura:hover .chevron-icon {
  transform: rotate(180deg);
}

/* Pulse dot na estrutura */
.pulse-dot {
  position: absolute;
  top: 14px; right: 14px;
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  z-index: 2;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5);
  animation: pulse-ring 1.8s ease-out infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Responsive */
@media (max-width: 800px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .cards-grid { grid-template-columns: 1fr; }
  .section-title h2 { font-size: 22px; }
}

/* GSAP initial states */
.card { opacity: 0; transform: translateY(30px) scale(0.96); }

/* ============================================================
   SEÇÃO DE UNIDADES MODERNIZADA
   ============================================================ */
.unidades-modernas {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.unidade-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    margin-bottom: 30px;
}

.unidade-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.15);
}

.unidade-card__image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.unidade-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.unidade-card:hover .unidade-card__image img {
    transform: scale(1.05);
}

.unidade-card__badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff882a;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.unidade-card__content {
    padding: 25px;
}

.unidade-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #004597;
    margin-bottom: 5px;
}

.unidade-card__subtitle {
    font-size: 13px;
    color: #ff882a;
    margin-bottom: 15px;
    display: block;
}

.unidade-card__address {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.unidade-card__address i {
    color: #ff882a;
    margin-top: 2px;
}

.unidade-card__info {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.unidade-card__info-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #555;
}

.unidade-card__info-item i {
    color: #ff882a;
}

.unidade-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #004597;
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.unidade-card__btn:hover {
    background: #ff882a;
    color: #fff;
    text-decoration: none;
    transform: translateX(5px);
}

/* ============================================================
   ANIMAÇÕES GSAP
   ============================================================ */
.gsap-fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.gsap-fade-left {
    opacity: 0;
    transform: translateX(-40px);
}

.gsap-fade-right {
    opacity: 0;
    transform: translateX(40px);
}

.gsap-scale {
    opacity: 0;
    transform: scale(0.8);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 768px) {
    .escola-card__header i {
        font-size: 36px;
    }
    
    .escola-card__header h3 {
        font-size: 18px;
    }
    
    .estrutura-dropdown-menu {
        position: static;
        transform: none;
        margin-top: 15px;
        margin-bottom: 0;
        opacity: 1;
        visibility: visible;
        display: none;
    }
    
    .estrutura-dropdown.active .estrutura-dropdown-menu {
        display: block;
    }
    
    .unidade-card__image {
        height: 180px;
    }
    
    .unidades-modernas {
        padding: 50px 0;
    }
}

/* Classe para elementos ocultos semanticamente */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================================
   SEÇÃO DE UNIDADES COM IMAGEM DE FUNDO
   ============================================================ */
.unidades-modernas {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.unidade-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    height: 500px;
    cursor: pointer;
}

.unidade-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.unidade-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.unidade-card:hover .unidade-card__bg {
    transform: scale(1.08);
}

/* Gradiente sobreposto */
.unidade-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.2) 0%,
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.85) 70%,
        rgba(0,0,0,0.95) 100%
    );
    transition: all 0.4s ease;
}

.unidade-card:hover .unidade-card__overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.5) 30%,
        rgba(0,0,0,0.85) 60%,
        rgba(0,0,0,0.95) 100%
    );
}

/* Conteúdo do card */
.unidade-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px 25px;
    color: #fff;
    z-index: 2;
}

.unidade-card__title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.unidade-card__subtitle {
    font-size: 14px;
    color: #ff882a;
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
    letter-spacing: 1px;
}

.unidade-card__address {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.unidade-card__address i {
    color: #ff882a;
    margin-top: 2px;
    font-size: 16px;
}

.unidade-card__info {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.unidade-card__info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
}

.unidade-card__info-item i {
    color: #ff882a;
    font-size: 14px;
}

.unidade-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff882a;
    color: #fff;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.unidade-card__btn:hover {
    background: #ff9f4a;
    color: #fff;
    transform: translateX(5px);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(255,136,42,0.4);
}

/* Badge do Maps */
.unidade-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,136,42,0.95);
    color: #fff;
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.unidade-card__badge:hover {
    background: #ff9f4a;
    transform: translateY(-2px);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.unidade-card__badge i {
    font-size: 14px;
}

/* Ícone de localização flutuante */
.unidade-card__location-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0,0,0,0.6);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    text-decoration: none;
}

.unidade-card__location-icon i {
    color: #ff882a;
    font-size: 18px;
}

.unidade-card__location-icon:hover {
    background: #ff882a;
    transform: scale(1.1);
}

.unidade-card__location-icon:hover i {
    color: #fff;
}

/* Responsividade */
@media (max-width: 768px) {
    .unidade-card {
        height: 450px;
    }
    
    .unidade-card__title {
        font-size: 24px;
    }
    
    .unidade-card__content {
        padding: 20px 20px 20px;
    }
    
    .unidade-card__info {
        gap: 12px;
    }
    
    .unidade-card__btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .unidade-card__badge {
        top: 15px;
        right: 15px;
        padding: 6px 12px;
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .unidade-card {
        height: 420px;
    }
    
    .unidade-card__title {
        font-size: 20px;
    }
    
    .unidade-card__info-item {
        font-size: 11px;
    }
}

.pp-section-wrap {
  padding: 60px 20px;
  background: #f0f2f5;
}
.pp-section-title {
  text-align: center;
  margin-bottom: 40px;
}
.pp-section-title h2 {
  font-size: 26px;
  font-weight: 700;
  color: #2c0674;
  margin-bottom: 8px;
}
.pp-section-title p {
  color: #888;
  font-size: 14px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}
.pp-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}
.pp-card {
  border-radius: 22px;
  overflow: visible;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transition: box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.34,1.4,0.64,1);
  cursor: pointer;
  transform-origin: center center;
}
.pp-card:hover {
  box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}
.pp-card-1 { background: #1a95be; }
.pp-card-2 { background: #f6b939; }
.pp-card-3 { background: #198754; }
.pp-card-4 { background: #ff8282; }

.pp-card-1:hover { transform: rotate(-4deg) translateY(-8px); }
.pp-card-2:hover { transform: rotate(3.5deg) translateY(-8px); }
.pp-card-3:hover { transform: rotate(-3deg) translateY(-8px); }
.pp-card-4:hover { transform: rotate(4deg) translateY(-8px); }

.pp-card-header {
  padding: 28px 20px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}
.pp-card-header::before {
  content: '';
  position: absolute;
  top: -28px; right: -28px;
  width: 90px; height: 90px;
  background: rgba(255,255,255,0.13);
  border-radius: 50%;
}
.pp-card-header::after {
  content: '';
  position: absolute;
  bottom: -18px; left: -18px;
  width: 65px; height: 65px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
}
.pp-card-header h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  position: relative; z-index: 1;
  margin: 0;
}
.pp-card-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255,255,255,0.13);
  border-radius: 0 0 22px 22px;
}
.pp-card-body p {
  font-size: 13px;
  color: #fff;
  line-height: 1.6;
  flex: 1;
  margin: 0;
  opacity: 0.92;
}
.pp-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.pp-card-btn:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
  text-decoration: none;
}

.pp-estrutura-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.85);
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  width: 100%;
  transition: background 0.25s;
}
.pp-estrutura-trigger:hover {
  background: rgba(255,255,255,0.22);
}
.pp-chevron {
  font-size: 12px;
  transition: transform 0.3s ease;
  display: inline-block;
}
.pp-card-estrutura.pp-open .pp-chevron {
  transform: rotate(180deg);
}

.pp-estrutura-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 230px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.34,1.4,0.64,1);
  z-index: 200;
  border: 1px solid rgba(25,135,84,0.18);
}
.pp-card-estrutura.pp-open .pp-estrutura-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.pp-panel-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #bbb;
  margin-bottom: 8px;
  padding: 0 2px;
}
.pp-unidade-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.22s ease;
  margin-bottom: 6px;
  border: 1px solid #f0f0f0;
}
.pp-unidade-link:last-child { margin-bottom: 0; }
.pp-unidade-link:hover {
  background: rgba(25,135,84,0.07);
  border-color: rgba(25,135,84,0.25);
  transform: translateX(3px);
}
.pp-unidade-link .pp-u-icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}
.pp-unidade-link.pp-bercario .pp-u-icon { background: rgba(26,149,190,0.12); color: #1a95be; }
.pp-unidade-link.pp-infantil .pp-u-icon { background: rgba(25,135,84,0.12); color: #198754; }
.pp-unidade-link .pp-u-info strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #2c2c2a;
  line-height: 1.3;
}
.pp-unidade-link .pp-u-info small {
  font-size: 10.5px;
  color: #aaa;
}

.pp-pulse-dot {
  position: absolute;
  top: 13px; right: 13px;
  width: 9px; height: 9px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  z-index: 2;
}
.pp-pulse-dot::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.45);
  animation: pp-pulse 1.8s ease-out infinite;
}
@keyframes pp-pulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

@media (max-width: 800px) {
  .pp-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .pp-cards-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   NV — HERO CAROUSEL REDESENHADO

============================================================ */
.nv-hero {
    position: relative;
    background: #f5f7fa;
    overflow-x: hidden;
}

.nv-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.nv-carousel__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    width: 100%;
}

.nv-carousel__slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}

.nv-carousel__img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Versão com gradiente que une imagem ao fundo */
.nv-carousel__slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.2) 20%,
        rgba(0,0,0,0.5) 40%,
        rgba(245,247,250,0.8) 80%,
        #f5f7fa 100%
    );
    pointer-events: none;
    z-index: 1;
}

.slider-container-hero {
  position: relative;
}

/* Onda decorativa */
.hero-wave {
    position: absolute;
    bottom: -70px;
    left: 0;
    width: 100%;
    z-index: 15;
    line-height: 0;
    pointer-events: none;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 150px;
    fill: #ffffff;
}


/* Controles prev/next */
.nv-carousel__ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nv-carousel__ctrl:hover {
    background: rgba(255,136,42,0.9);
    transform: translateY(-50%) scale(1.1);
}

.nv-carousel__ctrl--prev { left: 20px; }
.nv-carousel__ctrl--next { right: 20px; }

/* Dots circulares */
.nv-carousel__dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.nv-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.nv-dot--active {
    background: #ff882a;
    width: 28px;
    border-radius: 10px;
}

/* Versão responsiva */
@media (max-width: 992px) {
    .nv-carousel__img {
        max-height: 450px;
    }
    .nv-carousel__dots {
        bottom: 50px;
    }
    .nv-carousel__ctrl {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .nv-carousel__img {
        max-height: 350px;
    }
    .nv-carousel__dots {
        bottom: 40px;
        gap: 8px;
    }
    .nv-carousel__ctrl {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .nv-carousel__img {
        max-height: 250px;
        object-position: center top;
    }
    .nv-carousel__slide::after {
        height: 80px;
    }
    .nv-carousel__dots {
        bottom: 25px;
        gap: 6px;
    }
    .nv-dot--active {
        width: 20px;
    }
    .nv-hero__wave svg {
        min-height: 35px;
    }
}

/* ============================================================
    DIFERENCIAIS CARDS COM IMAGEM DE FUNDO E GRADIENTE
    ============================================================ */
.dif-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
}

.dif-container {
    max-width: 1200px;
    margin: 0 auto;
}

.dif-header {
    text-align: center;
    margin-bottom: 60px;
}

.dif-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #004597;
    margin-bottom: 15px;
}

.dif-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

.dif-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Card com imagem de fundo e gradiente */
.dif-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 380px;
    cursor: pointer;
}

.dif-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Imagem de fundo */
.dif-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.dif-card:hover .dif-card__bg {
    transform: scale(1.08);
}

/* Gradiente overlay - mais escuro na parte inferior */
.dif-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.5) 40%,
        rgba(0,0,0,0.85) 70%,
        rgba(0,0,0,0.95) 100%
    );
    transition: all 0.4s ease;
}

.dif-card:hover .dif-card__overlay {
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.6) 30%,
        rgba(0,0,0,0.88) 60%,
        rgba(0,0,0,0.95) 100%
    );
}

/* Ícone/emoji flutuante */
.dif-card__icon {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.dif-card:hover .dif-card__icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(255,136,42,0.8);
}

/* Conteúdo do card */
.dif-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 25px 25px;
    color: #fff;
    z-index: 2;
}

.dif-card__title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dif-card__badge {
    background: rgba(255,136,42,0.9);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.dif-card__text {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
}

.dif-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff882a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 40px;
    backdrop-filter: blur(4px);
}

.dif-card__link:hover {
    background: #ff882a;
    color: #fff;
    transform: translateX(5px);
    text-decoration: none;
}

/* Cores específicas para cada card no hover do link */
.dif-card--1 .dif-card__link:hover { background: #667eea; }
.dif-card--2 .dif-card__link:hover { background: #f093fb; }
.dif-card--3 .dif-card__link:hover { background: #4facfe; }
.dif-card--4 .dif-card__link:hover { background: #43e97b; }

/* Responsividade */
@media (max-width: 992px) {
    .dif-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .dif-card {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .dif-section {
        padding: 50px 15px;
    }
    .dif-header h2 {
        font-size: 26px;
    }
    .dif-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .dif-card {
        height: 320px;
    }
    .dif-card__title {
        font-size: 18px;
    }
}

/* Animações GSAP */
.dif-card {
    opacity: 0;
    transform: translateY(30px);
}

.hero-container{
  display: flex;
  padding: 100px 50px;
  width: 100%;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-img {
  max-width: 50%;
}

.hero-msg {
  max-width: 50%;
  padding: 20px;
}

.hero-msg p {
  text-align: justify;
}

@media screen and (max-width: 992px) {
  .hero-container {
    padding: 20px;
  }
  .hero-content{
    flex-direction: column;
  }

  .hero-img {
    margin-top: 50px;
    max-width: 100%;
  }

  .hero-msg {
    max-width: 100%;
  }
}



/* ============================================================
   NV — PARCEIROS SCROLL INFINITO (CORRIGIDO - SEM PAUSA)
   Prefixo: nv-partners
============================================================ */
.nv-partners {
    background: url('../img/bg-parallax.svg'); /* Substitua pelo SVG abaixo */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 72px 0 80px;
    overflow: hidden;
    position: relative;
}

/* Overlay para melhor contraste do texto */
.nv-partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 0;
}

.nv-partners__title {
    text-align: center;
    font-size: 50px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 44px;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
}

.nv-partners__track-wrap {
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* fades nas bordas */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.nv-partners__track {
    display: flex;
    align-items: center;
    gap: 60px;
    height: 150px;
    width: max-content;
    animation: nv-partners-scroll 30s linear infinite;
}

/* Efeito hover mais suave - não pausa bruscamente */
.nv-partners__track:hover {
    animation-play-state: running;
}

/* Versão mais suave do hover - apenas desacelera levemente */
.nv-partners__track-wrap:hover .nv-partners__track {
    animation-play-state: running;
}

.nv-partners__item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    background: rgba(255,255,255,0.95);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    min-width: 160px;
}

.nv-partners__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.2);
    background: #fff;
}

.nv-partners__item img {
    height: 80px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
    transition: all 0.3s ease;
}

.nv-partners__item:hover img {
    transform: scale(1.05);
}

/* Animação contínua e suave */
@keyframes nv-partners-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .nv-partners {
        padding: 50px 0;
        background-attachment: scroll; /* melhor performance em mobile */
    }
    .nv-partners__track {
        gap: 30px;
        animation-duration: 20s;
    }
    .nv-partners__item {
        padding: 12px 20px;
        min-width: 130px;
    }
    .nv-partners__item img {
        height: 36px;
        max-width: 100px;
    }
    .nv-partners__title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .nv-partners__track {
        gap: 20px;
        animation-duration: 15s;
    }
    .nv-partners__item {
        padding: 10px 16px;
        min-width: 110px;
    }
    .nv-partners__item img {
        height: 30px;
        max-width: 80px;
    }
}


/* ============================================================
   PP CARD ESTRUTURA — FLIP DE CARTA
============================================================ */
.pp-card-3 {
  background: transparent !important;
  box-shadow: none;
  perspective: 1000px;
}

.pp-card-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 260px;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}

.pp-card-3.pp-open .pp-card-flip-inner {
  transform: rotateY(180deg);
}

.pp-flip-front,
.pp-flip-back {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.pp-flip-front {
  background: #198754;
  box-shadow: 0 6px 24px rgba(25,135,84,0.25);
  flex-direction: column;
}

.pp-flip-back {
  background: linear-gradient(145deg, #004597 0%, #006990 100%);
  transform: rotateY(180deg);
  box-shadow: 0 6px 24px rgba(0,69,151,0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 18px;
}

/* mantém o estilo visual original na frente */
.pp-flip-front .pp-card-header {
  border-radius: 22px 22px 0 0;
  flex: 0;
}
.pp-flip-front .pp-card-body {
  flex: 1;
  border-radius: 0 0 22px 22px;
}

/* hint de interação */
.pp-flip-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center;
}

/* verso — título */
.pp-flip-back-title {
  color: #f4d951;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 4px;
  align-self: flex-start;
}

/* verso — links das unidades */
.pp-flip-unit-link {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 13px 14px;
  width: 100%;
  text-decoration: none;
  color: #fff;
  transition: background 0.22s, transform 0.22s;
}

.pp-flip-unit-link:hover {
  background: rgba(255,255,255,0.22);
  transform: translateX(3px);
  color: #fff;
  text-decoration: none;
}

.pp-flip-unit-link .pfu-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(244,217,81,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  color: #f4d951;
  flex-shrink: 0;
}

.pp-flip-unit-link .pfu-info strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.pp-flip-unit-link .pfu-info small {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* botão voltar */
.pp-flip-back-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.65);
  font-size: 11.5px;
  border-radius: 20px;
  padding: 5px 16px;
  cursor: pointer;
  margin-top: 4px;
  font-family: 'Poppins', sans-serif;
  transition: background 0.2s;
}
.pp-flip-back-btn:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* ============================================================
   CAROUSEL CONTROLS — mais visíveis
============================================================ */
.carousel-control-prev,
.carousel-control-next {
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  border-radius: 50%;
  background: rgba(255, 136, 42, 0.92);
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  opacity: 1;
  transition: background 0.25s, transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-control-prev {
  left: 16px;
}

.carousel-control-next {
  right: 16px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: #ff882a;
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}