/*---------------Google Fonts---------------*/
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap');

/* ---------------Background/Fundo---------------*/
html {
  overflow-x: hidden;
}
body {
  background: linear-gradient(160deg, #1a3a7d 0%, #2c62b5 60%, #1a3a7d 100%);
  background-attachment: fixed;
  font-family: 'Fredoka', sans-serif;
  overflow-x: hidden;
}

.ripple-background {
  position:absolute;
  z-index:1;
}
.circle {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: ripple 15s infinite;
  box-shadow: 0px 0px 1px 0px #508fb9;
}

.small {
  width: 200px;
  height: 200px;
  left: -100px;
  bottom: -100px;
}

.medium {
  width: 400px;
  height: 400px;
  left: -200px;
  bottom: -200px;
}

.large {
  width: 600px;
  height: 600px;
  left: -300px;
  bottom: -300px;
}

.xlarge {
  width: 800px;
  height: 800px;
  left: -400px;
  bottom: -400px;
}

.xxlarge {
  width: 1000px;
  height: 1000px;
  left: -500px;
  bottom: -500px;
}

/*Opacidade dos circulos fundo*/
.shade1 {
  opacity: 0.2;
}
.shade2 {
  opacity: 0.2;
}

.shade3 {
  opacity: 0.2;
}

.shade4 {
  opacity: 0.2;
}

.shade5 {
  opacity: 0.2;
}

@keyframes ripple {
  0% {
    transform: scale(0.8);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(0.8);
  }
}

/*---------------Menu---------------*/
a {
	color: #000000;
}

nav {
  display: block;
  position: fixed;
  width: 500px;
  height: 500px;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transform: translate3d(25px, -25px, 0);
  transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 0.9);
}
nav {
  pointer-events: none;
}
nav .toggle {
  pointer-events: all;
}
nav.open {
  transform: translate3d(0, 0, 0);
  pointer-events: all;
}
nav.top-right {
  top: -150px;
  right: -140px;
  z-index: 999;
}

.disc {
  position: absolute;
  display: inline-block;
  text-align: center;
  cursor: pointer;
  font: 23px 'Fredoka', sans-serif;
  line-height: 44px;
  padding-top: 11px;
  border-radius: 250px;
  transform: scale3d(0.5, 0.5, 0.5) rotate3d(0, 0, 1, 190deg);
  pointer-events: none;
  opacity: 0;
  color: #fff;
  transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 0.9), opacity 0.5s, background 0.2s ease;
}
.disc div {
  transform: rotate(180deg);
}
.open .disc {
  pointer-events: auto;
  opacity: 1;
}

.l2 {
  top: 50px;
  left: 50px;
  right: 50px;
  bottom: 50px;
  background: #508ce0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.18) inset, 0 6px 24px rgba(26,58,125,0.22);
  transition-delay: 0.1s;
}
.open .l2 {
  transition-delay: 0.1s;
  transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 190deg);
  opacity: 1;
}
.open .l2:hover {
  background: #6fa3e8;
  transition-delay: 0s;
}
.open .l2:active {
  background: #3d7ad0;
}
.open .l2.toggle {
  transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, 10deg);
}

.l3 {
  top: 100px;
  left: 100px;
  right: 100px;
  bottom: 100px;
  background: #2d6cc8;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.18) inset, 0 4px 18px rgba(26,58,125,0.26);
  transition-delay: 0.2s;
}
.open .l3 {
  transition-delay: 0.2s;
  transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 190deg);
  opacity: 1;
}
.open .l3:hover {
  background: #4080d8;
  transition-delay: 0s;
}
.open .l3:active {
  background: #2d6cc8;
}
.open .l3.toggle {
  transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, 10deg);
}
.l4 {
  top: 150px;
  left: 150px;
  right: 150px;
  bottom: 150px;
  background: #1f55a5;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.14) inset, 0 4px 14px rgba(26,58,125,0.30);
  transition-delay: 0.3s;
}
.open .l4 {
  transition-delay: 0.3s;
  transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 190deg);
  opacity: 1;
}
.open .l4:hover {
  background: #4d82d8;
  transition-delay: 0s;
}
.open .l4:active {
  background: #1f55a5;
}
.open .l4.toggle {
  transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, 10deg);
}
.l5 {
  top: 200px;
  left: 200px;
  right: 200px;
  bottom: 200px;
  transition-delay: 0.4s;
}
.open .l5 {
  transition-delay: 0.4s;
  transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 190deg);
  opacity: 1;
}
.open .l5:hover {
  background: #2153a0;
  color: #fff;
  transition-delay: 0s;
}
.open .l5:active {
  background: #1a3a7d;
  color: #fff;
}
.open .l5.toggle {
  transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, 10deg);
}

.toggle {
  line-height: 100px;
  padding: 0;
  width: 100px;
  background: #1a3a7d;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.14) inset, 0 4px 20px rgba(26,58,125,0.40);
  opacity: 1;
  transform: none;
  pointer-events: auto;
  transition-delay: 0s;
  transition: background 0.2s ease;
}
.open .toggle {
  transform: rotate3d(0, 0, 1, 0deg);
}
.toggle:hover {
  background: #2153a0;
  text-decoration: underline;
}
.toggle:active {
  background: #1a3a7d;
  color: #fff;
  transform: scale(0.9);
  transition-duration: 0s;
}

/*---------------Logo---------------*/
header {
  display: flex;
  align-items: center;
  font-family: 'Fredoka', sans-serif;
  margin-bottom: 16px;
  position: relative;
  padding: 0 20px;
}


/*---------------Símbolo PT | EN---------------*/
.lang-pill {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(26, 58, 125, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  padding: 5px 6px;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}
.lang-pill-item {
  border-radius: 20px;
  padding: 4px 12px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1;
}
.lang-pill-item.active {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  cursor: default;
}
.lang-pill-item.inactive {
  color: rgba(255, 255, 255, 0.48);
}
.lang-pill-item.inactive:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

/*-------------Slider Menu Principal--------------*/
#slider {
  width: 100%;
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
}

#slider .slick-track img {
  width: 100%;
  position: relative;
  display: block;
  height: 100%;
  object-fit: cover;
  max-height: 600px;
  min-height: 600px;
  transform-origin: center;
  will-change: transform;
}

#slider .slick-list {
  height: 600px;
  overflow: hidden;
}
#slider .slick-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Ken Burns: zoom suave na imagem ativa */
#slider .slick-active img {
  animation: kenBurns 8s ease-in-out forwards;
}
@keyframes kenBurns {
  0%   { transform: scale(1.04) translateX(0%) translateY(0%); }
  100% { transform: scale(1.12) translateX(-1.5%) translateY(-0.8%); }
}

#slider .slick-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  position: relative;
  transform: translateY(-50px);
  gap: 4px;
}

#slider .slick-dots li {
  display: inline-flex;
  transition: all .4s ease-in-out;
}

.slick-dots li button {
  transform-origin: center;
}
.slick-dots li button:before {
  color: rgba(255,255,255,0.5);
  font-size: 8px;
  transition: all .4s ease-in-out;
}

.slick-dots li.slick-active button:before {
  color: #fff;
  font-size: 11px;
  opacity: 1;
}

/* Setas de navegação do slider */
#slider .slick-prev,
#slider .slick-next {
  z-index: 10;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 0.3s ease, transform 0.2s ease;
}
#slider .slick-prev { left: 20px; }
#slider .slick-next { right: 20px; }
#slider .slick-prev:hover,
#slider .slick-next:hover {
  background: rgba(255,255,255,0.30);
  transform: scale(1.08);
}
#slider .slick-prev:before,
#slider .slick-next:before {
  font-size: 20px;
  opacity: 1;
}

/*-------------Hero (Slider + Destaque)--------------*/
.hero {
  position: relative;
  margin: 0 8% 0 2%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.hero-below {
  margin: 40px auto 56px;
  max-width: 88%;
  border-radius: 16px;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-cta {
  position: absolute;
  left: 72px;
  right: auto;
  bottom: 48px;
  z-index: 2;
  text-align: left;
  color: #fff;
  max-width: 580px;
}
.hero-cta h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 12px;
  text-shadow: 0 3px 14px rgba(0,0,0,0.75);
}
.btn-cta {
  display: inline-block;
  background: #2d6cc8;
  color: #fff;
  padding: 14px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Fredoka', sans-serif;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-cta:hover {
  background: #1f55a5;
  color: #fff;
  text-decoration: none;
  transform: translateY(-3px);
}

/* Hero eyebrow + subtitle */
.hero-eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 10px;
  margin-top: 0;
}
.hero-sub {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  opacity: 0.80;
  margin-top: -8px;
  margin-bottom: 26px;
}
/* Wave separator */
.wave-sep {
  display: block;
  line-height: 0;
  margin-bottom: -6px;
  position: relative;
  z-index: 0;
}
.wave-sep svg {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* Intro 2-column highlight box */
.intro-highlight {
  background: linear-gradient(145deg, #1a3a7d 0%, #2d6cc8 100%);
  border-radius: 20px;
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  box-shadow: 0 18px 50px rgba(26, 58, 125, 0.38);
  margin: 20px 0;
}
.intro-highlight-number {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 14px;
}
.intro-highlight-number sup {
  font-size: 2.5rem;
  vertical-align: super;
}
.intro-highlight-text {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.88;
  margin-bottom: 22px;
}
.intro-highlight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.intro-highlight-link {
  display: inline-block;
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 30px;
  padding: 10px 26px;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}
.intro-highlight-link:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  text-decoration: none;
}
.intro-highlight-link.primary {
  background: #fff;
  color: #1a3a7d;
  border-color: #fff;
  font-weight: 600;
}
.intro-highlight-link.primary:hover {
  background: rgba(255,255,255,0.88);
  color: #1a3a7d;
  border-color: #fff;
}

/* Intro text improvements */
.index-intro::before {
  display: none;
}
.index-intro {
  position: relative;
}

/* Stats — agora dentro do first-text */
.stats-inline {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(45, 108, 200, 0.12);
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(45, 108, 200, 0.16);
  animation: fadeInUp 0.6s ease both;
}
.stat-item:nth-child(2) { animation-delay: 0.12s; }
.stat-item:nth-child(3) { animation-delay: 0.24s; }
.stat-item:last-child { border-right: none; }
.stat-number {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 4.2rem;
  font-weight: 700;
  color: #2d6cc8;
  line-height: 1;
}
.stat-number sup {
  font-size: 2.2rem;
  vertical-align: super;
}
.stat-label {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #5a6a8a;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* Closing CTA */
.closing-cta {
  background: linear-gradient(135deg, #1a3a7d 0%, #2d6cc8 100%);
  padding: 88px 0;
  text-align: center;
}
.closing-quote {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.45rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  line-height: 1.80;
  max-width: 820px;
  margin: 0 auto 44px;
  position: relative;
  padding-top: 40px;
}
.closing-quote::before {
  content: "\201C";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,255,255,0.22);
  font-family: Georgia, serif;
}
.closing-cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.closing-cta-btns .btn-cta {
  background: #fff;
  color: #1f55a5;
}
.closing-cta-btns .btn-cta:hover {
  background: rgba(255,255,255,0.88);
  color: #1a3a7d;
}
.btn-cta-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.65);
  color: #fff;
  padding: 13px 38px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.btn-cta-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: #fff;
  color: #fff;
  text-decoration: none;
}

/* Entrance animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/*---------------Textos---------------*/
.first-text {
  padding: 72px 0 80px;
  background-color: #ffffff;
  font-family: 'Fredoka', sans-serif;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.10);
  position: relative;
  z-index: 1;
}

.intro-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2d6cc8;
  margin-bottom: 10px;
}

.intro-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0f2040;
  line-height: 1.2;
  margin-bottom: 24px;
}

.intro-body {
  font-size: 1.20rem;
  font-weight: 500;
  color: #3d4f6e;
  line-height: 1.80;
  margin-bottom: 16px;
}

.index-intro p {
  font-size: 1.20rem;
  font-weight: 500;
  color: #3d4f6e;
  margin-bottom: 16px;
  line-height: 1.80;
}
/*----- Página Localização -----*/
.page-hero-loc {
  padding: 72px 0 40px;
  text-align: center;
}
.page-hero-loc-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.15;
}
.page-hero-loc-sub {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.72);
}
.loc-main-section {
  padding: 64px 0 80px;
}
.loc-info-col {
  padding-right: 40px;
}
.loc-cards {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.loc-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f4f7fc;
  border-radius: 14px;
  padding: 18px 20px;
}
.loc-card-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, #1a3a7d 0%, #3d7ad0 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loc-card-icon svg {
  color: #fff;
}
.loc-card-body strong {
  display: block;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0f2040;
  margin-bottom: 4px;
}
.loc-card-body p {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  color: #5a6a8a;
  line-height: 1.6;
}
.loc-card-body a {
  color: #2d6cc8;
  text-decoration: none;
}
.loc-map-col {
  padding-left: 16px;
}
.loc-map-wrap {
  border-radius: 18px;
  overflow: hidden;
  height: 480px;
  box-shadow: 0 16px 48px rgba(26,58,125,0.18);
}
.loc-map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}
@media (max-width: 767px) {
  .loc-info-col { padding-right: 0; margin-bottom: 32px; }
  .loc-map-col { padding-left: 0; }
  .loc-map-wrap { height: 320px; }
  .page-hero-loc-title { font-size: 2.2rem; }
}

/*----- Compromissos Section -----*/
.compromissos-section {
  margin: 56px auto 56px;
  padding: 56px 0 80px;
  position: relative;
}
.comp-header {
  text-align: center;
  margin-bottom: 64px;
}
.comp-tag {
  display: inline-block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  margin-bottom: 10px;
  font-family: 'Fredoka', sans-serif;
}
.comp-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 12px;
  font-family: 'Fredoka', sans-serif;
}
.comp-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
  font-family: 'Fredoka', sans-serif;
}

/*---------------Card Compromisso---------------*/
.mainin {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.cards-wrapper {
  padding: 0 2%;
  max-width: 100% !important;
  width: 100% !important;
}
.mainin .cardd {
  position: relative;
  height: 240px;
  margin-bottom: 20px;
  padding: 0 8px;
  overflow: hidden;
}
.mainin .cardd .face {
  position: absolute;
  top: 0;
  left: 8px;
  right: 8px;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.mainin .cardd .face.face1 {
  background: rgba(255,255,255,0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  transform: translateY(0);
}
.mainin .cardd:hover .face.face1 {
  transform: translateY(-100%);
}
.mainin .cardd .face.face1 .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 1;
}
.mainin .cardd .face.face1 svg {
  width: 68px;
  height: 68px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  padding: 16px;
  box-sizing: border-box;
  display: block;
  margin: 0 auto 16px;
  transform: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}
.mainin .cardd .face.face1 svg path {
  fill: #1a3a7d;
}
.mainin .cardd .face.face1 .content h3 {
  margin: 0;
  padding: 0;
  color: #ffffff;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'Fredoka', sans-serif;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.mainin .cardd .face.face2 {
  background: rgba(10,22,58,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 22px;
  box-sizing: border-box;
  box-shadow: none;
  z-index: 1;
  transform: translateY(100%);
}
.mainin .cardd:hover .face.face2 {
  transform: translateY(0);
}
.mainin .cardd .face.face2 .content p {
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  color: #ffffff;
  line-height: 1.65;
  text-align: center;
  font-family: 'Fredoka', sans-serif;
  font-weight: 400;
}

/*--------------Suporte--------------*/
.support-contact-form {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1000;
  pointer-events: none;
}

.support-contact-form.openform {
  pointer-events: all;
}

/* Expanding panel */
.support-contact-form-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 310px;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(26, 58, 125, 0.22);
  transition: height 0.38s cubic-bezier(0.67, 0.17, 0.32, 0.95);
}

.openform .support-contact-form-wrapper {
  height: 460px;
}

/* Form fills wrapper as flex column */
.support-contact-form-wrapper form {
  height: 460px;
  display: flex;
  flex-direction: column;
}

/* Header */
.support-contact-form-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 18px;
  height: 56px;
  background: linear-gradient(135deg, #1a3a7d 0%, #2d6cc8 100%);
  flex-shrink: 0;
}

.support-contact-form-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.support-contact-form-title svg {
  width: 20px;
  height: 20px;
  fill: #fff;
  opacity: 0.9;
  flex-shrink: 0;
}

.support-contact-form-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  font-family: sans-serif;
  font-weight: 300;
}

.support-contact-form-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

/* Body */
.support-contact-form-body {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  min-height: 0;
}

.support-form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #dde3f0;
  border-radius: 10px;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  color: #1a3a7d;
  background: #f8faff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.support-form-input:focus {
  border-color: #2d6cc8;
  box-shadow: 0 0 0 3px rgba(45, 108, 200, 0.10);
  background: #fff;
}

.support-form-input::placeholder {
  color: #9aaac8;
}

.support-form-textarea {
  resize: none;
  height: 130px;
  flex-shrink: 0;
}

/* Submit */
.support-contact-form-submit {
  padding: 10px 18px 16px;
  flex-shrink: 0;
}

.support-contact-form-submit button {
  width: 100%;
  padding: 11px;
  background: linear-gradient(135deg, #1a3a7d 0%, #2d6cc8 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.support-contact-form-submit button:hover {
  opacity: 0.88;
}

/* Toggle button */
.support-contact-form-toggle {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #1a3a7d 0%, #2d6cc8 100%);
  box-shadow: 0 4px 20px rgba(26, 58, 125, 0.40);
  cursor: pointer;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
  z-index: 2;
}

.support-contact-form-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(26, 58, 125, 0.52);
}

.support-contact-form-toggle svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.openform .support-contact-form-toggle {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

/* Flash messages */
.support-flash {
  position: fixed;
  bottom: 28px;
  left: 108px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-radius: 12px;
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.13);
  animation: flashIn 0.35s ease;
  max-width: 340px;
}

.support-flash-success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left: 4px solid #43a047;
}

.support-flash-error {
  background: #fdecea;
  color: #c62828;
  border-left: 4px solid #e53935;
}

.support-flash button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: inherit;
  opacity: 0.55;
  padding: 0;
  flex-shrink: 0;
  font-family: sans-serif;
}

.support-flash button:hover {
  opacity: 1;
}

@keyframes flashIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0);    }
}

/*---------------FOOTER---------------*/
footer {
  font-family: 'Fredoka', sans-serif;
}

.footer-main {
  background: linear-gradient(160deg, #0f2040 0%, #1a3a7d 100%);
  padding: 56px 0 40px;
}

.footer-col {
  margin-bottom: 32px;
  display: flex;
  justify-content: center;
}

.footer-col-inner {
  width: 100%;
  max-width: 260px;
}

.footer-heading-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-heading-wrap svg {
  color: #a8c9f5;
  flex-shrink: 0;
}

.footer-heading {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}

.footer-item {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
  font-weight: 400;
}

.footer-item a {
  color: #a8c9f5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-item a:hover {
  color: #fff;
  text-decoration: none;
}

/* Horário */
.footer-schedule {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-schedule li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-weight: 400;
}

.footer-schedule li:last-child {
  border-bottom: none;
}

.footer-schedule .day {
  color: rgba(255,255,255,0.90);
  font-weight: 500;
  min-width: 90px;
}

.footer-schedule .hours {
  color: rgba(255,255,255,0.65);
  text-align: right;
}

.footer-schedule .hours.closed {
  color: rgba(255,120,120,0.80);
  font-weight: 500;
}

/* Social */
.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 30px;
  padding: 9px 20px;
  transition: background 0.2s ease, color 0.2s ease;
}

.footer-social-link:hover {
  background: rgba(255,255,255,0.16);
  color: #fff;
  text-decoration: none;
}

/* Footer bottom bar */
.footer-bottom {
  background: #0a1830;
  padding: 16px 0;
}

.footer-copy {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.40);
  margin: 0;
  font-weight: 400;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-links a:hover {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
}

.footer-links img {
  height: 36px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.footer-links img:hover {
  opacity: 1;
}

@media (max-width: 767px) {
  .footer-col-inner {
    padding: 0 8px;
  }
  .footer-links {
    justify-content: flex-start;
    margin-top: 10px;
    gap: 14px;
  }
  .footer-copy {
    margin-bottom: 4px;
  }
}

/*---------------Serviços Page---------------*/
.serv-section {
  padding: 72px 0 88px;
}
.serv-header {
  margin-bottom: 48px;
}
.serv-col {
  padding: 10px 12px;
  margin-bottom: 4px;
}
.serv-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px 28px;
  height: 100%;
  box-shadow: 0 4px 20px rgba(26,58,125,0.08);
  border: 1px solid rgba(26,58,125,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.serv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(26,58,125,0.09);
}
.serv-card-icon {
  width: 54px;
  height: 54px;
  min-width: 54px;
  background: linear-gradient(135deg, #1a3a7d, #3d7ad0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.serv-card-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #0f2040;
  margin-bottom: 10px;
}
.serv-card-body {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.95rem;
  color: #5a6a8a;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
@media (max-width: 767px) {
  .serv-section { padding: 48px 0 56px; }
  .serv-col { padding: 8px; }
}

/*----- Páginas Legais (Cookies / Privacidade) -----*/
.legal-section {
  padding: 64px 0 88px;
}
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-intro {
  background: linear-gradient(135deg, #f4f7fc 0%, #eaf0fb 100%);
  border-radius: 16px;
  padding: 22px 28px;
  margin-bottom: 40px;
  font-family: 'Fredoka', sans-serif;
  font-size: 1.02rem;
  color: #3d4f6e;
  line-height: 1.80;
  border-left: 4px solid #2d6cc8;
}
.legal-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(45, 108, 200, 0.10);
}
.legal-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.legal-block h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.30rem;
  font-weight: 700;
  color: #1a3a7d;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.legal-block h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  min-width: 4px;
  height: 22px;
  background: linear-gradient(to bottom, #2d6cc8, #6fa3e8);
  border-radius: 4px;
}
.legal-block p {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  color: #3d4f6e;
  line-height: 1.80;
  margin-bottom: 10px;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block ul,
.legal-block ol {
  padding-left: 22px;
  margin-top: 10px;
  margin-bottom: 0;
}
.legal-block li {
  font-family: 'Fredoka', sans-serif;
  font-size: 1rem;
  color: #3d4f6e;
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-block a {
  color: #2d6cc8;
  text-decoration: none;
}
.legal-block a:hover {
  text-decoration: underline;
}
.legal-back {
  text-align: center;
  margin-top: 52px;
}

/*---------------Responsividade Mobile---------------*/
@media (max-width: 600px) {
  /* Páginas com fundo de círculos decorativos (Localização/Serviços) */
  .ripple-background {
    overflow: hidden;
  }

  /* Menu radial: reduzir a escala e reancorar para caber no ecrã */
  nav.top-right {
    right: -90px;
  }
  nav {
    transform: translate3d(25px, -25px, 0) scale(0.6);
  }
  nav.open {
    transform: translate3d(0, 0, 0) scale(0.6);
  }

  /* Slider com menos altura em telas pequenas */
  #slider,
  #slider .slick-list {
    height: 300px;
  }
  #slider .slick-track img {
    max-height: 300px;
    min-height: 300px;
  }
  #slider .slick-prev,
  #slider .slick-next {
    display: none !important;
  }

  .hero {
    margin: 0 auto;
    max-width: 96%;
    border-radius: 10px;
  }

  /* Destaque sobre o slider: texto menor */
  .hero-cta {
    bottom: 20px;
  }
  .hero-cta h2 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  /* Formulário de suporte: impedir que ultrapasse a largura do ecrã */
  .support-contact-form {
    left: 16px;
    bottom: 16px;
  }
  .support-contact-form form {
    width: calc(100vw - 32px);
    max-width: 340px;
  }

  /* Estatísticas: remover bordas laterais quando empilhadas */
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(45, 108, 200, 0.14);
    padding-bottom: 20px;
    margin-bottom: 8px;
  }
  .stat-item:last-child {
    border-bottom: none;
  }

  /* Subtítulo do slider oculto em ecrãs pequenos */
  .hero-sub {
    display: none;
  }

  /* Intro highlight com espaçamento quando empilhado abaixo do texto */
  .intro-highlight {
    margin-top: 28px;
  }
}

/* ── Cookie Consent Banner ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15,15,25,.96);
  color: #e0e0e0;
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 10000;
  font-size: .875rem;
  font-family: 'Fredoka', sans-serif;
  box-shadow: 0 -2px 12px rgba(0,0,0,.4);
}
#cookie-banner p { margin: 0; }
#cookie-banner a { color: #a78bfa; text-decoration: underline; }
#cookie-banner a:hover { color: #c4b5fd; }
#cookie-accept {
  background: #7c3aed;
  color: #fff;
  border: none;
  padding: .4rem 1.4rem;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Fredoka', sans-serif;
  font-size: .9rem;
  flex-shrink: 0;
}
#cookie-accept:hover { background: #6d28d9; }
