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

/* ---------- VARIABLES ---------- */
:root {
  --primary: #501d1d;
  --primary-hover: #3d1616;
  --secondary: #ebded2;
  --secondary-light: #f5eee8;
  --accent: #c5a059;
  --dark: #0b0b0b;
  --light: #f8f9fa;
  --text: #2c2c2c;
  --text-muted: #555;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.1);
  --glass-dark: rgba(0, 0, 0, 0.2);
  --shadow-sm: 0 4px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
  --transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---------- RESET ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

html,
body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  color: var(--text);
  background: var(--secondary);
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ---------- ACCESSIBILITY ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 1rem;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ---------- UTILITIES ---------- */
.container {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  /* Added internal padding for extra safety on small screens */
}

.section-padding {
  padding: 160px 0 100px;
}

/* For main page sections that don't need huge top padding because they follow separators */
section.section-padding:not(:first-of-type) {
  padding-top: 60px;
}

.text-center {
  text-align: center;
}

.section-title {
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--primary);
  margin-bottom: 0;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent);
}

.legal-hero {
  padding-top: 180px !important;
  /* Increased from 150px to clear fixed header with more breathing room */
}

@media (max-width: 768px) {
  .legal-hero {
    padding-top: 140px !important;
    /* Increased from 120px */
  }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.header-cta {
  border: 1px solid var(--white);
  color: var(--white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin-left: 1.5rem;
  display: inline-block;
}

.header-cta:hover {
  background: var(--white);
  color: var(--primary) !important;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

header.scrolled .header-cta {
  border-color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  /* Mais forte e visível */
  color: var(--white);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* ---------- HEADER ---------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 2000;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(80, 29, 29, 0.98);
  backdrop-filter: blur(15px);
  padding: 0.8rem 0;
  box-shadow: var(--shadow-md);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 90px;
  transition: var(--transition);
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---------- HERO ---------- */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/hero-bg.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards 0.5s;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  /* Responsive fluid scaling */
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--white);
  font-weight: 300;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* Reduced to fit mobile */
  gap: 2.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

/* Apply transitions to child elements for smooth color changing */
.service-card h4, 
.service-card p,
.service-card .btn-outline {
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card .btn {
  margin-top: auto;
  align-self: center;
}

/* Normal button state */
.service-card .btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.service-card .btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.service-card i {
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: inline-block;
}

/* PREMIUM HOVER STATE: Reverse Out (Dark Mode) */
.service-card:hover {
  transform: translateY(-12px);
  background: var(--primary);
  box-shadow: 0 20px 40px rgba(80, 29, 29, 0.2);
  border-color: var(--primary);
}

.service-card:hover h4 {
  color: var(--white);
}

.service-card:hover p {
  color: var(--secondary-light);
  opacity: 0.9;
}

.service-card:hover i {
  transform: scale(1.2) translateY(-5px);
  /* Leaves the inline gold (--accent) color intact for premium contrast */
}

/* Button state when card is hovered */
.service-card:hover .btn-outline {
  border-color: var(--accent);
  color: var(--white);
}

.service-card:hover .btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.service-card h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* ---------- PORTFOLIO ---------- */
.portfolio-grid {
  display: flex;
  align-items: center;
  /* Center items vertically for an artistic balance */
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.portfolio-item {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--dark);
  flex: 1;
  min-width: 280px;
  /* Reduced to fit mobile */
  max-width: 380px;
  height: auto;
  /* Allow natural proportions */
  transition: var(--transition);
}

/* Artistic Vertical Staggering */
.portfolio-item:nth-child(even) {
  transform: translateY(40px);
}

.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-item:hover img,
.portfolio-item:hover video {
  transform: scale(1.06);
}

.portfolio-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.portfolio-item:nth-child(even):hover {
  transform: translateY(30px) scale(1.02);
  z-index: 10;
}

/* Mobile: Remove staggering for single column */
@media (max-width: 992px) {
  .portfolio-grid {
    gap: 2rem;
  }

  .portfolio-item:nth-child(even) {
    transform: none;
  }

  .portfolio-item:nth-child(even):hover {
    transform: translateY(-5px);
  }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--primary);
  color: var(--white);
}

/* ---------- BANNER QUOTE ---------- */
.banner-quote {
  background: var(--primary);
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.quote-text {
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  /* Fluid scaling to prevent mobile overflow */
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: clamp(1px, 1vw, 4px);
  /* Reduce spacing on mobile to save width */
  line-height: 1.3;
  max-width: 1100px;
  margin: 0 auto;
  font-weight: 700;
  padding: 0 10px;
}

.quote-text::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 2rem auto 0;
}

.testimonial-carousel {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.carousel-viewport {
  position: relative;
  padding: 0 1rem;
  overflow: hidden;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: -70px;
}

.carousel-btn.next {
  right: -70px;
}

@media (max-width: 1400px) {
  .carousel-btn.prev {
    left: 0;
  }

  .carousel-btn.next {
    right: 0;
  }

  .carousel-viewport {
    padding: 0 4rem;
  }
}

@media (max-width: 768px) {
  .testimonial-carousel {
    padding: 0 10px;
  }

  /* Reduced padding since arrows are hidden */
  .carousel-viewport {
    padding: 0;
  }

  .carousel-btn {
    display: none;
    /* Hide arrows on mobile */
  }
}

.testimonial-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}


.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
}

.about-img::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent);
  border-radius: 30px;
  z-index: -1;
}

.about-content h2 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.legal-content p,
.legal-content li {
  text-align: left;
}

.legal-content ul {
  padding-left: 0;
  list-style-position: inside;
}

.legal-content li {
  margin-bottom: 0.8rem;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-logo img {
  height: 120px;
  width: auto;
  margin-bottom: 2rem;
}

.footer-info p {
  line-height: 1.8;
  font-size: 0.95rem;
  color: var(--white);
  opacity: 0.7; /* Soften text for premium look */
  max-width: 90%;
}

.footer-social a {
  font-size: 1.5rem;
  color: var(--secondary);
}

.footer-links a,
.footer-legal-links a {
  color: var(--white);
  position: relative;
  padding-bottom: 2px;
  display: inline-block;
  transition: var(--transition);
  opacity: 1;
}

.footer-links a:hover,
.footer-legal-links a:hover {
  color: var(--white);
  opacity: 1;
  transform: translateX(3px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--white);
  opacity: 0.7; /* Subtler bottom footer */
}

.footer-legal-bottom {
  display: flex;
  gap: 25px;
}

.footer-legal-bottom a {
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-bottom a:hover {
  color: var(--accent);
}

.back-top {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.back-top:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

.footer-info {
  flex: 1 1 400px;
  max-width: 500px;
}

.footer-links,
.footer-contact {
  flex: 1 1 200px;
}

.footer-inav a {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
}



.footer-links h4,
.footer-contact h4 {
  color: var(--accent);
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.footer-links ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-contact .contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  /* Spacing between ALL items */
}

/* Container for socials if needed, but we can also just put them all in contact-details */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

/* Unified Footer Contact Links */
.footer-contact-link {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  color: var(--white) !important;
  transition: var(--transition) !important;
  opacity: 1;
}

.footer-contact-link i {
  color: var(--accent);
  /* Dourado inicial */
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  transition: var(--transition);
}

.footer-contact-link:hover {
  opacity: 1;
  color: var(--white) !important;
  transform: translateX(3px);
}

.footer-contact-link:hover i {
  color: var(--white) !important;
  /* Torna-se branco no hover */
}

/* Complaints Portal Logo */
.complaints-link {
  display: inline-block;
  margin-top: 0.5rem;
  transition: var(--transition);
  opacity: 0.8;
  /* Mais discreto por padrão */
}

.complaints-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.complaints-link img {
  height: 22px;
  /* Tamanho mínimo legível e discreto */
  width: auto;
  display: block;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.2s;
}

.reveal-delay-2 {
  transition-delay: 0.4s;
}

.reveal-delay-3 {
  transition-delay: 0.6s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-logo img {
  height: 100px;
  width: auto;
  margin-bottom: 2rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.footer-social a {
  font-size: 1.5rem;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.9rem;
  color: var(--white);
  opacity: 0.8;
}

.footer-bottom a:hover {
  color: var(--accent);
  opacity: 1;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-img {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(80, 29, 29, 0.95);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 2000;
  }

  nav.active {
    right: 0;
  }

  nav a {
    font-size: 1.5rem;
    padding: 1.5rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s ease;
  }

  nav.active a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
  }

  nav.active a:nth-child(2) {
    transition-delay: 0.3s;
  }

  nav.active a:nth-child(3) {
    transition-delay: 0.4s;
  }

  nav.active a:nth-child(4) {
    transition-delay: 0.5s;
  }

  nav.active a:nth-child(5) {
    transition-delay: 0.6s;
  }

  .header-cta {
    margin-left: 0;
    margin-top: 2rem;
    border-color: var(--accent);
    color: var(--accent) !important;
    padding: 1rem 3rem !important;
    font-size: 1rem !important;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
    /* Above mobile nav */
    transition: var(--transition);
  }

  .section-padding {
    padding: 40px 0;
    /* More compact for mobile */
  }

  .section-title {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 155px;
  /* Above WhatsApp button (80px + 60px + 15px gap) */
  right: 35px;
  /* Offset adjusted to center with 60px WhatsApp button (30px + 5px) */
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.invert {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}

.back-to-top.invert:hover {
  background-color: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.back-to-top:hover {
  background-color: var(--accent);
  color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 80px;
    /* Above mobile WhatsApp button (20px + 50px + 10px gap) */
    right: 22.5px;
    /* Offset adjusted to center with 50px WhatsApp button (20px + 2.5px) */
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* ---------- WHATSAPP FLOATING ---------- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 80px;
  right: 30px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #128c7e;
  box-shadow: 0 6px 20px rgba(18, 140, 126, 0.5);
  color: #FFF;
}

/* Hide on very small screens if desired, but usually useful */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 25px;
  }
}

/* ---------- PAGE TRANSITIONS ---------- */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  z-index: 9999;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.6s;
}

.page-transition-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.page-transition-overlay.fade-in {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}