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

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

/* Import Montserrat including weight 200 */

body {
  background-color: #EDECEC;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

/* Navbar Styles */
.navbar-container {
  max-width: 100%;
  margin: 5px auto;
  background: transparent;
  border-radius: 15px;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hamburger Menu (Hidden by default) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 2000 !important;
  /* Force high z-index */
  position: relative;
  /* Ensure z-index works */
  /* Ensure above everything */
  transition: all 0.3s ease;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #fff;
  /* Default white */
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Dark Navbar Hamburger Color */
header.navbar-dark .menu-toggle .bar {
  background-color: #fff !important;
}

/* Mobile Menu Styles */
/* Scroll Lock Class */
html.no-scroll,
body.no-scroll {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none;
  /* Disables touch scrolling */
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden off-screen */
    width: 100%;
    /* Full width for immersive feel */
    height: 100vh;
    background: linear-gradient(135deg, #05182d 0%, #092547 100%);
    /* Deep premium blue gradient */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    /* Premium ease */
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
    /* Slide in */
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 35px;
  }

  .nav-menu ul li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .nav-menu.active ul li {
    opacity: 1;
    transform: translateY(0);
    /* Staggered animation will be handled by delay or just natural CSS cascade if refined further, but keeping simple transition here */
    transition-delay: 0.2s;
  }

  /* Add manual stagger for first few items for extra polish */
  .nav-menu.active ul li:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-menu.active ul li:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-menu.active ul li:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-menu.active ul li:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav-menu.active ul li:nth-child(5) {
    transition-delay: 0.3s;
  }

  .nav-menu.active ul li:nth-child(6) {
    transition-delay: 0.35s;
  }

  .nav-menu ul li a {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 1px;
    padding: 10px 20px;
  }

  .nav-menu ul li a::after {
    background-color: white;
    /* White underline for contrast */
  }

  .nav-menu ul li a:hover {
    color: #b0c4de;
    /* Light blue on hover */
  }

  /* Hamburger Animation when Active */
  /* Hamburger Animation when Active */
  /* Default active state (Initial/Light Navbar) */
  .menu-toggle.is-active {
    top: 20px;
    /* Raised slightly (was 30px) */
  }

  /* Specific override for Sticky/Dark Navbar */
  header.navbar-sticky-clone .menu-toggle.is-active {
    top: 120px !important;
    /* Lowered slightly (was 100px) */
  }

  /* Force white bars in ALL states with maximum specificity to kill the red color */
  .menu-toggle .bar,
  .menu-toggle.is-active .bar,
  header .menu-toggle .bar,
  header .menu-toggle.is-active .bar,
  header.navbar-dark .menu-toggle .bar,
  header.navbar-dark .menu-toggle.is-active .bar,
  header.navbar-sticky-clone .menu-toggle .bar,
  header.navbar-sticky-clone .menu-toggle.is-active .bar {
    background-color: #ffffff !important;
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
  }

  /* Remove any potential red background on the toggle itself */
  .menu-toggle,
  .menu-toggle.is-active {
    background-color: transparent !important;
    background: transparent !important;
  }

  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.navbar-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.25);
  /* Even lighter translucent background */
  filter: blur(50px);
  /* Apply blur here */
  z-index: -1;
  /* Place behind content */
  border-radius: 15px;
  /* Match container's border-radius */
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Match container's border */
}

.navbar-logo {
  height: auto;
  width: 200px;
  /* Maintain aspect ratio */
}

@media (max-width: 992px) {
  .navbar-container {
    padding: 8px 20px !important;
  }

  /* Force dark background on mobile even for index-navbar-style */
  header.index-navbar-style .navbar-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
    border-radius: 0 0 15px 15px !important;
    margin: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
  }

  header.index-navbar-style .navbar-container::before {
    display: none !important;
    /* Remove blur effect on mobile */
  }

  .navbar-logo {
    width: 150px !important;
    height: auto !important;
  }
}

nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px;
  /* Match dark navbar */
}

nav li {
  margin: 0;
  /* Remove margin, use gap in ul instead */
}

nav li a {
  color: #ffffff;
  /* Changed to solid black */
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 400;
  position: relative;
}

nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  /* Start after left padding, at the text */
  width: 0;
  height: 3px;
  background-color: #4a6fa5;
  border-radius: 10px;
  transition: width 0.3s ease;
}

nav li a:hover::after {
  width: 60%;
  /* Shorter underline */
}


.hero-section {
  margin-top: -80px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/images/piscina-home.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  color: white;
  position: relative;
  padding-top: 180px;
  /* Layout handled in index.css / header.php */
}


.hero-section::after {
  content: '';
  position: absolute;
  top: 150px;
  left: 50px;
  width: 800px;
  height: 300px;
  background: rgba(0, 0, 0, 0.6);
  filter: blur(80px);
  z-index: 0;
  border-radius: 15px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  max-width: none;
  line-height: 1.4;
  word-wrap: break-word;
}

@media (min-width: 1100px) {
  .hero-content {
    display: inline-block;
    padding-left: 5%;
    align-items: flex-start;
    text-align: left;
    margin: 0;
  }
}

/* Cria a sombra-blur por trás do texto */
.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  filter: blur(90px);
  z-index: -1;
  border-radius: 20px;
  pointer-events: none;
  transform: scale(1.3);
  /* faz o blur se espalhar além das bordas */
}





.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  font-weight: 200;
}

.hero-content a {
  color: white;
  text-decoration: none;
  border: 1.5px solid white;
  /* mais fino */
  padding: 6px 12px;
  /* menor */
  border-radius: 40px;
  /* levemente menor */
  font-size: 0.9rem;
  /* diminui o tamanho do texto */
  line-height: 1;
  transition: background-color 0.2s, color 0.2s, transform 0.12s;
  position: relative;
  z-index: 1;
  display: inline-flex;
  /* <- permite ficarem lado a lado */
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* evita que os botões encolham e quebrem linha */
  min-height: 36px;
  /* garante toque confortável */
}

/* ajusta espaçamento entre botões para combinar com o novo tamanho */
.hero-content .hero-actions {
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hero-content .hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  /* Changed from flex-start */
  margin-top: 12px;
  flex-wrap: wrap;
  width: 100%;
  /* Changed from auto */
}

.hero-content h1,
.hero-content p {
  max-width: 500px;
  display: block;
}

.hero-content .hero-text {
  max-width: 700px;
  /* mantém o texto numa coluna estreita */
}

/* Fallback: se os links estiverem dentro de <p>, aplique ao próprio <a> (não sobrescreve o estilo dos parágrafos) */
.hero-content>p>a {
  display: inline-flex;
  margin-right: 12px;
  align-items: center;
}

.wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 250px;
  /* Adjust as needed */
  background-image: url('../assets/images/onda-home.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 10;
  transform: translateY(35%);
}


/* append-only: smaller buttons + subtle liquid-glass (não altera regras existentes) */
.hero-content .hero-actions a,
.hero-content>p>a {
  font-size: 0.9rem !important;
  padding: 12px 28px !important;
  min-height: 44px !important;
  border-radius: 40px !important;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  position: relative;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.btn-hero-primary {
  background: linear-gradient(135deg, #4a6fa5 0%, #5b7c99 100%) !important;
  border: none !important;
  font-weight: 600 !important;
  box-shadow: 0 15px 35px rgba(74, 111, 165, 0.4) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-hero-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 45px rgba(74, 111, 165, 0.55) !important;
  filter: brightness(1.1);
}

.btn-hero-secondary {
  border-width: 1.5px !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* layers para simular o liquid glass */
.hero-content .hero-actions a::before,
.hero-content>p>a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content .hero-actions a::after,
.hero-content>p>a::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: -40%;
  top: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(40% 30% at 15% 15%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.03) 30%, transparent 55%);
  filter: blur(10px);
  opacity: 0.9;
  transform: translateX(-20%);
  transition: transform 600ms cubic-bezier(.2, .9, .2, 1), opacity 300ms ease;
  pointer-events: none;
}

/* hover */
.hero-content .hero-actions a:hover::after,
.hero-content>p>a:hover::after {
  transform: translateX(6%);
  opacity: 1;
}

.hero-content .hero-actions a:hover,
.hero-content>p>a:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* garante texto acima dos layers */
.hero-content .hero-actions a *,
.hero-content>p>a * {
  position: relative;
  z-index: 2;
}

/* ajuste para telas pequenas */
/* ajuste para telas pequenas */
@media (max-width: 420px) {

  .hero-content .hero-actions a,
  .hero-content>p>a {
    font-size: 0.66rem !important;
    padding: 5px 8px !important;
    min-height: 28px !important;
  }

  /* Adjust shadow to not bleed */
  .hero-content::before {
    display: block !important;
    transform: scale(1) translateY(-10px) !important;
    filter: blur(40px) !important;
    height: 90% !important;
  }
}

/* ===== HERO SECTION RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-section {
    padding-left: 30px;
    padding-top: 150px;
  }

  .hero-section::after {
    width: 600px;
    height: 250px;
    top: 120px;
    left: 30px;
  }

  .hero-content {
    padding-left: 3%;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-left: 20px;
    padding-top: 120px;
    min-height: 80vh;
  }

  .hero-section::after {
    width: 100%;
    height: 200px;
    top: 100px;
    left: 20px;
    filter: blur(60px);
  }

  .hero-content {
    max-width: 90%;
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-content .hero-actions {
    gap: 10px;
    margin-top: 10px;
  }

  .wave-divider {
    height: 150px;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding-left: 15px;
    padding-top: 100px;
    padding-right: 15px;
    align-items: center;
    justify-content: center;
  }

  .hero-section::after {
    width: 90%;
    height: 180px;
    left: 5%;
    top: 80px;
  }

  .hero-content {
    padding-left: 0;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .hero-content .hero-actions {
    justify-content: center;
  }

  .hero-content .hero-text {
    max-width: 100%;
  }

  .wave-divider {
    height: 100px;
  }
}

/* ===== CUIDADO SECTION RESPONSIVE ===== */
@media (max-width: 992px) {
  .cuidado-section h2 {
    font-size: 2.5rem;
  }

  .cuidado-section p {
    font-size: 1rem;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .cuidado-section {
    padding: 50px 20px;
  }

  .cuidado-section h2 {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .cuidado-section p {
    font-size: 0.95rem;
    max-width: 100%;
    margin-bottom: 30px;
  }

  .btn-gradient-blue {
    padding: 12px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .cuidado-section {
    padding: 40px 15px;
  }

  .cuidado-section h2 {
    font-size: 1.6rem;
  }

  .cuidado-section p {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .btn-gradient-blue {
    padding: 10px 24px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 300px;
  }
}

/* ===== PILLARS SECTION RESPONSIVE ===== */
@media (max-width: 992px) {
  .pillars-section {
    padding: 60px 20px;
  }

  .pillars-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .pillars-container {
    gap: 25px;
  }

  .pillar-card {
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .pillars-section {
    padding: 50px 20px;
  }

  .pillars-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .pillars-container {
    flex-direction: column;
    gap: 20px;
    max-width: 280px;
    /* Adjusted to allow cards to be smaller and centered */
    margin: 0 auto;
  }

  .pillar-card {
    flex: initial;
    /* Prevent card from growing */
    width: 250px;
    /* Set a fixed width */
    padding: 50px 4.5px;
    /* Updated padding for mobile */
  }

  .pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .pillar-card h3 {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .pillar-card p {
    font-size: 0.75rem;
  }
}

@media (max-width: 576px) {
  .pillars-section {
    padding: 40px 15px;
  }

  .pillars-section h2 {
    font-size: 1.5rem;
  }

  .pillars-container {
    max-width: 260px;
    /* Adjusted to allow cards to be smaller and centered */
  }

  .pillar-card {
    flex: initial;
    /* Prevent card from growing */
    width: 260px;
    /* Further reduced fixed width */
    padding: 50px 4.5px;
    /* Updated padding for mobile */
  }

  .pillar-icon {
    font-size: 2rem;
  }

  .pillar-card h3 {

    font-size: 0.9rem;

  }

  .pillar-card p {

    font-size: 0.7rem;

  }
}

/* Footer Background - Light background behind CTA */
footer {
  background-color: #EDECEC;
}

/* Footer CTA Section */
.footer-cta {
  background: linear-gradient(135deg, #05182d 0%, #092547 100%);
  /* Deep rich blue gradient */
  color: white;
  padding: 80px 40px;
  /* Increased padding for better spacing */
  text-align: center;
  border-radius: 30px;
  /* More rounded */
  margin: 60px auto;
  max-width: 1000px;
  /* Wider */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  /* Stronger shadow */
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta-content h2 {
  font-size: 3rem;
  /* Larger title */
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.footer-cta-content p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #b0c4de;
  /* Lighter blue-grey text */
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.6;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: linear-gradient(90deg, #5b7c99 0%, #4a6fa5 100%);
  /* Muted blue gradient */
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 400;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Subtle border */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(255, 255, 255, 0.1);
  /* Inner glow */
  backdrop-filter: blur(5px);
}

.btn-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2);
  background: linear-gradient(90deg, #6b8ca9 0%, #5a7fb5 100%);
}

/* ===== FOOTER CTA RESPONSIVE ===== */
@media (max-width: 992px) {
  .footer-cta {
    padding: 70px 40px;
    margin: 50px auto;
    width: 90%;
  }

  .footer-cta-content h2 {
    font-size: 2.5rem;
  }

  .footer-cta-content p {
    font-size: 1.05rem;
    margin-bottom: 35px;
    max-width: 600px;
  }

  .btn-cta {
    padding: 15px 35px;
    font-size: 1.05rem;
  }
}

@media (max-width: 768px) {
  .footer-cta {
    padding: 60px 30px;
    margin: 40px auto;
    width: 92%;
    border-radius: 25px;
  }

  .footer-cta-content h2 {
    font-size: 2.5rem;
  }

  .footer-cta-content p {
    font-size: 1rem;
    margin-bottom: 30px;
    max-width: 100%;
    line-height: 1.5;
  }

  .btn-cta {
    padding: 14px 30px;
    font-size: 1rem;
    width: auto;
    max-width: 80%;
    display: inline-flex;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .footer-cta {
    padding: 50px 20px;
    margin: 30px auto;
    width: 94%;
    border-radius: 20px;
  }

  .footer-cta-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
  }

  .footer-cta-content p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
  }

  .btn-cta {
    padding: 13px 25px;
    font-size: 0.95rem;
    width: auto;
    max-width: 90%;
    display: inline-flex;
    justify-content: center;
    margin: 0 auto;
  }
}

.footer-wave {
  width: 100%;
  line-height: 0;
  /* Remove gap below image */
  position: relative;
  z-index: 1;
  margin-bottom: 1px;
  /* Fix potential sub-pixel gap */
}

.footer-wave img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-main {
  background-color: #000000;
  color: #ffffff;
  padding: 40px 20px 10px;
  /* Reduced padding */
  font-family: 'Montserrat', sans-serif;
  border-radius: 15px 15px 0 0;
  /* Rounded top corners */
  margin-top: -20px;
  /* Overlap wave to hide white background */
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  /* Reduced gap */
  padding-bottom: 30px;
  /* Reduced padding */
}

/* Brand Section (Left) */
.footer-brand {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  max-width: 160px;
  /* Smaller logo */
  height: auto;
  margin-bottom: 20px;
  /* Reduced margin */
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  /* Smaller icons */
  height: 35px;
  background-color: #ffffff;
  color: #000000;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
  font-size: 1rem;
}

.social-icons a:hover {
  transform: translateY(-3px);
  background-color: #e0e0e0;
}

/* Links Section (Right) */
.footer-links-container {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  /* Reduced gap */
}

.footer-column {
  flex: 1;
  min-width: 150px;
}

.footer-column h3 {
  font-size: 1rem;
  /* Slightly smaller heading */
  font-weight: 500;
  margin-bottom: 15px;
  /* Reduced margin */
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
  /* Reduced margin */
}

.footer-column ul li a,
.footer-column ul li {
  color: #cccccc;
  /* Grey text */
  text-decoration: none;
  font-size: 0.9rem;
  /* Slightly smaller text */
  font-weight: 300;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #ffffff;
}

.footer-column address {
  font-style: normal;
  color: #cccccc;
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.5;
}

.footer-column address p {
  margin-bottom: 10px;
  /* Reduced margin */
}

.footer-column address strong {
  color: #ffffff;
  font-weight: 500;
}

.footer-column address a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column address a:hover {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  /* Reduced padding */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666666;
  font-size: 0.8rem;
  font-weight: 300;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-links-container {
    justify-content: center;
    text-align: center;
    /* Center align for mobile if preferred, or keep left */
  }

  .footer-column {
    min-width: 45%;
    /* 2 columns on tablet */
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .footer-links-container {
    flex-direction: column;
    align-items: center;
  }

  .footer-column {
    width: 100%;
    text-align: center;
  }
}

header.navbar-dark .navbar-container {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  /* Dark gradient background */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0 0 15px 15px;
  /* Rounded bottom corners */
  margin: 0;
  padding: 15px 40px;
  max-width: 100%;
}

header.navbar-dark .navbar-container::before {
  display: none;
  /* Remove the default light glass effect */
}

header.navbar-dark .navbar-logo {
  height: auto;
  width: 200px;
}

@media (max-width: 992px) {
  header.navbar-dark .navbar-logo {
    width: 150px !important;
    height: auto !important;
  }
}

@media (max-width: 992px) {
  header.navbar-dark .navbar-container {
    padding: 8px 20px !important;
  }
}

header.navbar-dark nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

header.navbar-dark nav ul {
  display: flex;
  gap: 30px;
  /* Match default navbar spacing */
  align-items: center;
}

header.navbar-dark nav li a {
  color: #ffffff;
  /* Inherit all other styles from default nav li a */
  position: relative;
}

header.navbar-dark nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  /* Start after left padding, at the text */
  width: 0;
  height: 3px;
  background-color: #4a6fa5;
  border-radius: 10px;
  transition: width 0.3s ease;
}

header.navbar-dark nav li a:hover::after {
  width: 60%;
  /* Shorter underline */
}

/* Active link style */
header.navbar-dark nav li a.active {
  border-bottom: 2px solid #4a6fa5;
  /* Blue underline */
  border-radius: 0;
  padding-bottom: 5px;
  background: transparent;
}

/* Contato Button Style in Dark Navbar */
header.navbar-dark nav li a[href*="contato.php"] {
  background: linear-gradient(90deg, #4a6fa5 0%, #5b7c99 100%);
  /* Blue gradient button */
  padding: 12px 30px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(74, 111, 165, 0.3);
  border: none;
  color: #ffffff;
  font-weight: 500;
}

header.navbar-dark nav li a[href*="contato.php"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 111, 165, 0.5);
  background: linear-gradient(90deg, #5b7c99 0%, #4a6fa5 100%);
  color: #ffffff;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  /* Smooth easing */
  will-change: opacity, transform;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* End of file */

.menu-toggle.is-active .bar {
  border: 1px solid red;
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: -150px;
  left: 20px;
  right: 20px;
  background: rgba(5, 24, 45, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: white;
  padding: 25px 40px;
  border-radius: 25px;
  z-index: 10000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 1000px;
  margin: 0 auto;
}

.cookie-banner.visible {
  bottom: 40px;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cookie-text {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cookie-text i {
  font-size: 2.2rem;
  background: linear-gradient(135deg, #4a6fa5 0%, #b8d4f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
}

.cookie-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-text a {
  color: #4a6fa5;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(74, 111, 165, 0.3);
  transition: all 0.3s ease;
}

.cookie-text a:hover {
  color: #b8d4f1;
  border-bottom-color: #b8d4f1;
}

.cookie-actions {
  display: flex;
  gap: 15px;
}

.btn-cookie {
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
}

.btn-cookie.accept {
  background: linear-gradient(135deg, #4a6fa5 0%, #5b7c99 100%);
  color: white;
  box-shadow: 0 8px 20px rgba(74, 111, 165, 0.3);
}

.btn-cookie.accept:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 30px rgba(74, 111, 165, 0.5);
}

.btn-cookie.reject {
  background: rgba(255, 255, 255, 0.05);
  color: #a0a0a0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-cookie.reject:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

@media (max-width: 900px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cookie-text {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-banner {
    padding: 25px 20px;
    padding-bottom: calc(25px + env(safe-area-inset-bottom, 0px));
    bottom: 10px;
  }

  .cookie-banner.visible {
    bottom: 10px;
  }
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 15px;
    right: 15px;
    padding: 20px 20px;
    border-radius: 20px;
    width: auto;
    max-width: none;
    bottom: -400px;
    /* Hide deeper */
  }

  .cookie-banner.visible {
    bottom: 100px;
    /* High enough to clear Safari address bar */
  }

  .cookie-text i {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  .cookie-text p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .cookie-actions {
    width: 100%;
    margin-top: 15px;
    gap: 10px;
  }

  .btn-cookie {
    padding: 10px;
    font-size: 0.85rem;
    flex: 1;
  }
}

/* ===== LEGAL PAGES (Privacy & Terms) ===== */
.legal-page-wrapper {
  background-color: #f9f9f9;
  min-height: 100vh;
}

.legal-hero {
  height: 60vh;
  background: linear-gradient(135deg, #05182d 0%, #0a1e35 50%, #162f4e 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 80px;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(74, 111, 165, 0.1) 0%, transparent 70%);
  animation: rotate-slow 30s linear infinite;
}

@keyframes rotate-slow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.legal-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, #f9f9f9);
  pointer-events: none;
}

.legal-hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #b8d4f1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -2px;
  line-height: 1;
  position: relative;
  z-index: 10;
}

.legal-hero p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 300;
}

.legal-container {
  max-width: 1000px;
  margin: -100px auto 120px;
  background: white;
  padding: 100px 80px;
  border-radius: 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 20;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.legal-content h2 {
  font-size: 1.8rem;
  color: #4a6fa5;
  margin: 40px 0 20px;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.legal-content h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #4a6fa5;
  border-radius: 10px;
}

.legal-content p,
.legal-content li {
  font-size: 1.1rem;
  line-height: 2;
  color: #555;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .legal-hero h1 {
    font-size: 2.8rem;
  }

  .legal-hero p {
    font-size: 1.1rem;
  }

  .legal-container {
    padding: 50px 30px;
    margin-top: -60px;
    border-radius: 30px;
    width: 90%;
  }
}

/* Form Validation Feedback */
.form-group input.input-success {
  border-color: #27ae60 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2327ae60'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 45px !important;
}

.form-group input.input-error {
  border-color: #e74c3c !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e74c3c'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 45px !important;
}

.form-group input {
  transition: all 0.3s ease;
}