@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

@font-face{
  font-family:'Insignia';
  src:url('https://ginasiopulse.pt/wp-content/uploads/2025/11/Insignia.ttf') format('truetype');
  font-weight:400;
  font-style:normal;
}

.eg-tabs{
  width:100%;
  position:relative;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.eg-tabs-nav{
  display:flex;
  gap:1rem;
  margin-bottom:1.5rem;
  justify-content:center;
  flex-wrap:wrap;
  position:relative;
  z-index:2;
}

.eg-tab-btn{
  background:transparent;
  border:4px solid #CD2E2B;
  padding:0.8rem 1.6rem;
  border-radius:50px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.75rem;
  transition:color .25s ease, border-color .25s ease, background .25s ease;
  text-align:left;
  width:100%;
  max-width:260px;
  flex:0 0 auto;
  color:#ffffff;
}

.eg-tab-btn:hover{ border-color:#FFFFFF; }
.eg-tab-pane{ display:none; }
.eg-tab-pane.active{ display:block; }

.eg-tab-btn h2{
  position:relative;
  margin:0;
  font-size:1.2rem;
  color:#ffffff;
  font-weight:700;
}

.eg-tab-btn h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-0.15rem;
  transform:translateX(-50%);
  width:0;
  height:2px;
  background:#cd2e2b;
  border-radius:999px;
  transition:width .2s ease, background .2s ease;
}

.eg-tab-btn:hover h2::after{
  width:60%;
  background:#ffffff;
}

.eg-tab-btn.active{
  background:#CD2E2B;
  border-color:#CD2E2B;
}

.eg-tab-btn.active h2{ color:#FFFFFF !important; }
.eg-tab-btn.active h2::after{ background:#FFFFFF; width:60%; }

.eg-tabs-deco{
  position:absolute;
  top:0;
  right:0;
  width:360px;
  max-width:45vw;
  height:240px;
  pointer-events:none;
  z-index:1;
  opacity:1;
}

.eg-tabs-wave{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.pulse-schedule-pombal,
.pulse-schedule-guia{
  background:transparent;
  padding:2rem 1rem 3rem;
  color:#FFFFFF;
  font-family:'Insignia',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  position:relative;
  z-index:2;
}

.ps-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  justify-content:center;
  margin:0 auto 1.5rem;
}

.ps-tab{
  border-radius:50px;
  border:none;
  background:transparent;
  color:#fff;
  text-transform:uppercase;
  font-weight:700;
  letter-spacing:.08em;
  padding:.6rem 1rem;
  cursor:pointer;
  border-bottom:4px solid transparent;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}

.ps-tab:hover{
  background:#FFFFFF;
  color:#CD2E2B;
  box-shadow:none !important;
}

.ps-tab.ps-tab--active{
  background:#CD2E2B;
  color:#fff;
}

.ps-header{
  display:grid;
  grid-template-columns:1.7fr 1.2fr .9fr 1.3fr 1.1fr;
  align-items:center;
  padding:.6rem 1rem;
  margin:0 auto .3rem;
  max-width:1200px;
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.1em;
  color:#FFFFFF;
  opacity:.7;
}

.ps-col{ padding:.3rem .4rem; }

.ps-col--class{
  display:flex;
  align-items:center;
  gap:.4rem;
}

.ps-col--time,
.ps-col--duration,
.ps-col--mod,
.ps-col--difficulty{ text-align:center; }

.ps-panel{
  display:none;
  max-width:1200px;
  margin:0 auto;
}

.ps-panel.ps-panel--active{ display:block; }

.ps-row{
  border-right:4px solid #CD2E2B;
  font-family:'Montserrat', sans-serif;
  display:grid;
  grid-template-columns:1.7fr 1.2fr .9fr 1.3fr 1.1fr;
  align-items:center;
  width:100%;
  padding:1.2rem 1.4rem;
  background:#212121;
  color:#ffffff;
  border-top:4px solid #CD2E2B;
  border-bottom:4px solid #CD2E2B;
  border-left:4px solid transparent;
  position:relative;
  transition:background .2s ease,transform .15s ease;
  margin:0.6rem 0;
  border-radius:50px;
  cursor:pointer;
  text-align:initial;
  appearance:none;
  font-size:inherit;
}

.ps-row:hover{
  transform:translateY(-1px);
  border-top-color:#FFFFFF;
  border-right-color:#FFFFFF;
  border-bottom-color:#FFFFFF;
}

.ps-now-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.2rem .5rem;
  font-size:.65rem;
  font-weight:900;
  letter-spacing:.12em;
  background:#cd2e2b;
  color:#FFFFFF;
  border-radius:999px;
  text-transform:uppercase;
  opacity:0;
  transform:translateY(2px);
  transition:opacity .15s ease,transform .15s ease;
}

.ps-row--now .ps-now-badge{
  opacity:1;
  transform:translateY(0);
}

.ps-col--class .ps-now-badge{ margin-left:auto; }
.pulse-map-empty{ padding:1rem; color:#FFFFFF; text-align:center; }

@media (max-width:900px){
  .ps-header,
  .ps-row{
    grid-template-columns:1.6fr 1.2fr .8fr;
    grid-template-rows:auto auto;
    row-gap:.2rem;
  }

  .ps-col--mod,
  .ps-col--difficulty{
    grid-column:1 / -1;
    font-size:.8rem;
  }

  .eg-tabs-deco{ display:none; }
}

@media (max-width:767px){
  .eg-tabs-nav{
    gap:.75rem;
    margin-bottom:1rem;
    padding:0 .25rem;
    flex-wrap:nowrap;
  }

  .eg-tab-btn{
    flex:1 1 0;
    max-width:none;
    min-width:0;
    padding:.75rem 1rem;
    border-width:3px;
  }

  .eg-tab-btn h2{ font-size:1rem; }

  .pulse-schedule-pombal,
  .pulse-schedule-guia{ padding:1rem 0 2rem; }

  .ps-tabs{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.45rem;
    justify-content:stretch;
    padding:0 .5rem;
    margin:0 0 1rem;
  }

  .ps-tab{
    width:100%;
    min-width:0;
    white-space:normal;
    text-align:center;
    padding:.7rem .45rem;
    font-size:.72rem;
    line-height:1.15;
    letter-spacing:.04em;
  }

  .ps-panel{ padding:0 .5rem; }
  .ps-header{ display:none; }

  .ps-row{
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "class diff"
      "mod mod"
      "time duration";
    gap:.45rem .65rem;
    align-items:center;
    padding:1rem 1rem;
    margin:.55rem 0;
    border-top-width:4px;
    border-right-width:4px;
    border-bottom-width:4px;
    border-left-width:4px;
    border-radius:28px;
    background:#212121;
  }

  .ps-col{ padding:0; }

  .ps-col--class{
    grid-area:class;
    min-width:0;
    display:flex;
    align-items:center;
    gap:.35rem;
    flex-wrap:wrap;
  }

  .ps-col--class b{
    display:block;
    min-width:0;
    width:100%;
    font-size:.94rem;
    line-height:1.15;
    white-space:normal;
    overflow:visible;
    text-overflow:clip;
  }

  .ps-col--class .ps-now-badge{
    display:none;
    margin-left:0;
    margin-top:.05rem;
    flex:0 0 auto;
  }

  .ps-row--now .ps-col--class .ps-now-badge{
    display:inline-flex;
    opacity:1;
    transform:translateY(0);
  }

  .ps-row--now .ps-col--mod{ display:none; }

  .ps-col--mod{
    grid-area:mod;
    grid-column:auto;
    display:block;
    min-width:0;
    text-align:left;
    font-size:.74rem;
    line-height:1.15;
    opacity:.82;
    overflow-wrap:anywhere;
  }

  .ps-col--difficulty{
    grid-area:diff;
    grid-column:auto;
    display:flex;
    justify-content:flex-end;
    align-items:flex-start;
    align-self:start;
    text-align:right;
    font-size:inherit;
  }

  .ps-col--time{
    grid-area:time;
    text-align:left;
    font-size:.84rem;
    opacity:.95;
  }

  .ps-col--duration{
    grid-area:duration;
    text-align:right;
    font-size:.8rem;
    opacity:.8;
  }

  .ps-now-badge{
    font-size:.54rem;
    padding:.16rem .38rem;
  }

  .ps-diff-badge{
    min-width:1.6rem;
    height:1.6rem;
    font-size:.74rem;
  }

  .ps-modal{ padding:8px; }

  .ps-modal-box{
    width:min(50vw, 190px);
    max-width:min(50vw, 190px);
    height:auto;
    aspect-ratio:2 / 3;
    max-height:50vh;
    border-radius:20px;
    padding:.75rem .7rem !important;
  }

  .ps-modal-title{
    font-size:.92rem;
    text-align:left;
  }

  .ps-modal-desc{
    font-size:.68rem;
    line-height:1.2;
  }

  .ps-modal-cta{
    width:100%;
    justify-content:center;
    padding:.62rem .7rem;
    font-size:.72rem;
  }
}

@media (max-width:500px){
  .eg-tabs-nav{ gap:.5rem; }

  .eg-tab-btn{
    padding:.7rem .85rem;
    border-radius:22px;
  }

  .eg-tab-btn h2{ font-size:.95rem; }

  .ps-tabs{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:.4rem;
    padding:0 .4rem;
  }

  .ps-tab{
    padding:.65rem .35rem;
    font-size:.66rem;
    letter-spacing:.02em;
  }

  .ps-row{
    grid-template-columns:minmax(0,1.25fr) minmax(0,.9fr) auto;
    padding:.95rem .9rem;
    border-top-width:3px;
    border-right-width:3px;
    border-bottom-width:3px;
    border-radius:24px;
  }

  .ps-row[data-diff="1"],
  .ps-row[data-diff="2"],
  .ps-row[data-diff="3"],
  .ps-row[data-diff="4"]{ border-left-width:3px; }

  .ps-col--class b{ font-size:.88rem; }
  .ps-col--mod{ font-size:.7rem; }
  .ps-col--time,
  .ps-col--duration{ font-size:.72rem; }

  .ps-modal-box{
    width:min(48vw, 175px);
    max-width:min(48vw, 175px);
    max-height:46vh;
    border-radius:18px;
    padding:.68rem .65rem !important;
  }

  .ps-modal-title{ font-size:.86rem; }

  .ps-modal-desc{
    font-size:.64rem;
    line-height:1.18;
  }

  .ps-modal-cta{
    font-size:.68rem;
    padding:.58rem .62rem;
  }
}

.ps-row[data-diff="1"]{ border-left:4px solid #2A75C8; }
.ps-row[data-diff="2"]{ border-left:4px solid #4EA43C; }
.ps-row[data-diff="3"]{ border-left:4px solid #CC7E1F; }
.ps-row[data-diff="4"]{ border-left:4px solid #CD2E2B; }
.ps-col--difficulty{ text-align:center; }

.ps-diff-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:1.8rem;
  height:1.8rem;
  border-radius:999px;
  font-size:.8rem;
  font-weight:700;
  font-style:normal;
}

.ps-row[data-diff="1"] .ps-diff-badge{ background:#2A75C8; color:#FFFFFF; }
.ps-row[data-diff="2"] .ps-diff-badge{ background:#4EA43C; color:#FFFFFF; }
.ps-row[data-diff="3"] .ps-diff-badge{ background:#CC7E1F; color:#FFFFFF; }
.ps-row[data-diff="4"] .ps-diff-badge{ background:#CD2E2B; color:#FFFFFF; }

body.ps-modal-open{ overflow:hidden; }

.ps-modal{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  place-items:center;
  padding:clamp(12px, 2vh, 24px);
}

.ps-modal.ps-modal--visible{ display:grid; }

.ps-modal-backdrop{
  position:absolute;
  inset:0;
  width:100%;
  border:0;
  background:rgba(0,0,0,.65);
  appearance:none;
  border-radius:0;
  box-shadow:none;
  opacity:0;
  transition:opacity .25s ease;
}

.ps-modal-backdrop:hover,
.ps-modal-backdrop:focus,
.ps-modal-backdrop:focus-visible,
.ps-modal-backdrop:active{
  border:0 !important;
  background:rgba(0,0,0,.65) !important;
  box-shadow:none !important;
  outline:none;
  transform:none !important;
}

.ps-modal.ps-modal--visible .ps-modal-backdrop{ opacity:1; }

.ps-modal-box{
  position:relative;
  z-index:1;
  aspect-ratio:2 / 3;
  height:min(92vh, 1080px);
  width:auto;
  max-width:92vw;
  max-height:92vh;
  background:#212121;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
  text-align:center;
  color:#FFFFFF;
  border-radius:50px;
  padding:2.2rem 1.8rem !important;
  gap:.6rem !important;
  overflow:hidden;
  transform:translateY(40px) scale(.98);
  opacity:0;
  transition:opacity .25s ease;
}

.ps-modal-box::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.85) 80%,
    rgba(0,0,0,0.95) 100%
  );
  z-index:0;
}

.ps-modal.ps-modal--visible .ps-modal-box{
  transform:none;
  opacity:1;
  animation:psModalUp .45s cubic-bezier(.19,1,.22,1) both;
}

.ps-modal-title,
.ps-modal-desc,
.ps-modal-cta{
  align-self:flex-start;
  position:relative;
  z-index:1;
}

.ps-modal-title{
  margin:0 !important;
  font-size:1.9rem;
  font-weight:700;
  color:#FFFFFF;
  text-shadow:0 6px 20px rgba(0,0,0,.6);
}

.ps-modal-desc{
  margin:0 !important;
  font-size:1rem;
  line-height:1.45;
  color:#FFFFFF;
  text-align:left;
  text-shadow:0 4px 16px rgba(0,0,0,.6);
}

.ps-modal-cta{
  margin-top:.8rem !important;
  padding:0.85rem 1.9rem;
  background:#CD2E2B;
  color:#FFFFFF;
  text-decoration:none;
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  border-radius:50px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition:background .2s ease, color .2s ease, transform .2s ease;
}

.ps-modal-cta:hover{
  background:#FFFFFF;
  color:#CD2E2B;
  transform:translateY(-1px);
}

@keyframes psModalUp{
  from{ transform:translateY(48px) scale(.98); opacity:0; }
  to{ transform:translateY(0) scale(1); opacity:1; }
}

@media (prefers-reduced-motion: reduce){
  .ps-modal.ps-modal--visible .ps-modal-box{ animation:none !important; }
  .ps-modal-box{ transition:none !important; }
  .ps-modal-backdrop{ transition:none !important; }
}

@media (max-width:767px){
  .ps-modal{ padding:12px !important; }

  .ps-modal-box{
    width:60vw !important;
    max-width:60vw !important;
    height:72vh !important;
    max-height:72vh !important;
    aspect-ratio:auto !important;
    border-radius:20px !important;
    padding:.9rem .85rem !important;
  }

  .ps-modal-title{ font-size:1rem !important; }

  .ps-modal-desc{
    font-size:.75rem !important;
    line-height:1.22 !important;
  }

  .ps-modal-cta{
    width:100% !important;
    font-size:.72rem !important;
    padding:.65rem .7rem !important;
  }
}

@media (max-width:500px){
  .ps-modal{ padding:10px !important; }

  .ps-modal-box{
    width:60vw !important;
    max-width:60vw !important;
    height:68vh !important;
    max-height:68vh !important;
    aspect-ratio:auto !important;
    border-radius:18px !important;
    padding:.8rem .75rem !important;
  }

  .ps-modal-title{ font-size:.92rem !important; }

  .ps-modal-desc{
    font-size:.7rem !important;
    line-height:1.18 !important;
  }

  .ps-modal-cta{
    font-size:.68rem !important;
    padding:.58rem .62rem !important;
  }
}
.eg-meeting-form .field[hidden] {
  display: none !important;
}

.eg-meeting-form .pulse-booking-value {
  display: none !important;
}

.eg-meeting-form .eg-help:not(:empty) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100%;
  box-sizing: border-box;
  margin-top: 1.1rem;
  padding: 1rem 1.2rem;
  border: 0;
  border-radius: 20px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .055em;
  text-transform: none;
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
  animation: pulse-feedback-in .32s ease both;
}

.eg-meeting-form .eg-help--success {
  color: #fff !important;
  background: #CD2E2B !important;
}

.eg-meeting-form .eg-help--error {
  color: #fff !important;
  background: #CD2E2B !important;
}

.eg-meeting-form .eg-help--success *,
.eg-meeting-form .eg-help--error * {
  color: #fff !important;
}

@keyframes pulse-feedback-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 520px) {
  .eg-meeting-form .eg-help:not(:empty) {
    padding: .9rem 1rem;
    font-size: .74rem;
    letter-spacing: .04em;
  }
}
