:root {
  --primary-blue: #31377E;
  --primary-blue-dark: #1F2355;
  --primary-red: #C02236;
  --primary-red-hover: #A01B2B;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A24;
  --text-muted: #5A5A66;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-sm: 0 4px 6px rgba(49, 55, 126, 0.05);
  --shadow-md: 0 10px 30px rgba(49, 55, 126, 0.1);
  --shadow-lg: 0 20px 40px rgba(49, 55, 126, 0.15);
  --radius-md: 12px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: initial;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

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

/* Typography Utilities */
.text-primary {
  color: var(--primary-blue);
}

.text-red {
  color: var(--primary-red);
}

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

.section-subtitle {
  color: var(--primary-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--primary-blue);
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
}

.section-title i {
  color: var(--primary-red);
  font-style: italic;
  font-weight: 700;
}


/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--bg-white);
  box-shadow: 0 4px 10px rgba(49, 55, 126, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(49, 55, 126, 0.3);
}

.btn-secondary {
  background-color: var(--primary-red);
  color: var(--bg-white);
  box-shadow: 0 4px 10px rgba(192, 34, 54, 0.2);
}

.btn-secondary:hover {
  background-color: var(--primary-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(192, 34, 54, 0.3);
}



.hero-ctas .btn {
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid rgba(0, 0, 0, 0.2);
}

.hero-ctas .btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #4a54c5 100%);
  box-shadow: 0 15px 30px rgba(49, 55, 126, 0.4);
}

.hero-ctas .btn-secondary {
  background: linear-gradient(135deg, var(--primary-red) 0%, #e63946 100%);
  box-shadow: 0 15px 30px rgba(192, 34, 54, 0.4);
}

.hero-ctas .btn:hover {
  transform: translateY(-5px);
  border-bottom-width: 6px;
}

.hero-ctas .btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  transition: 0.6s;
  pointer-events: none;
}

.hero-ctas .btn:hover::before {
  left: 100%;
}


.header .btn-outline {
  color: white;
  border-color: white;
}

.header.scrolled .btn-outline {
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

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

.header.scrolled .btn-outline:hover {
  background-color: var(--primary-blue);
  color: white !important;
  border-color: var(--primary-blue);
}

.btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}





.btn:active {
  transform: translateY(-1px);
}


/* Header / Navbar */
.header,
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled,
#navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 0; /* Navbar fica ligeiramente mais compacta */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

.header .logo img {
  height: 60px;
  transition: var(--transition);
  filter: brightness(0) invert(1);
}

.header.scrolled .logo img {
  height: 50px;
  filter: none;
}





.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: white;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.header.scrolled .nav-links a {
  color: var(--primary-blue);
}

.nav-links a:hover {
  color: var(--primary-red);
}


.header:not(.scrolled) .nav-links a {
  color: var(--bg-white);
}

.header:not(.scrolled) .nav-links .btn-outline {
  color: var(--bg-white);
  border-color: var(--bg-white);
}

.header:not(.scrolled) .nav-links .btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary-blue);
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

.header:not(.scrolled) .mobile-menu-btn {
  color: var(--bg-white);
}


/* Ticker Strip */
.ticker-wrapper {
  background: var(--primary-blue);
  color: white;
  padding: 15px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.ticker-container {
  display: flex;
  white-space: nowrap;
}

.ticker-content {
  display: flex;
  animation: ticker 40s linear infinite;
}

.ticker-content span {
  padding: 0 40px;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 1px;
  font-size: 0.9rem;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}




/* About Section */
.about-section {
  background-color: var(--bg-white);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content-block {
  margin-bottom: 2.5rem;
}

.about-content-block h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-content-block h3 i {
  color: var(--primary-red);
}

.about-content-block p {
  color: var(--text-muted);
}

.about-images {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.since-badge-photo {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-red);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transform: rotate(5deg);
  animation: badgeFloat 3s ease-in-out infinite alternate;
}

@keyframes badgeFloat {
  0% {
    transform: rotate(5deg) translateY(0);
  }

  100% {
    transform: rotate(5deg) translateY(-5px);
  }
}

.img-main,
.img-float {

  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: absolute;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.img-main {
  width: 80%;
  height: 80%;
  top: 0;
  right: 0;
  z-index: 1;
}

.img-main:hover {
  transform: scale(1.03);
  z-index: 3;
}

.img-float {
  width: 60%;
  height: 60%;
  bottom: 0;
  left: 0;
  z-index: 2;
  border: 8px solid var(--bg-white);
}

.img-float:hover {
  transform: translate(10px, -10px) scale(1.05);
  z-index: 4;
}

/* Stats Section */
.stats-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1F2355 0%, #121433 100%);
  color: white;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  text-align: center;
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(192, 34, 54, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 1.25rem;
  transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-number-wrapper {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  font-family: var(--font-heading);
  color: white;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number {
  font-variant-numeric: tabular-nums;
}

.stat-suffix {
  color: var(--primary-red);
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}


/* Differentials Section */
.differentials-section {
  position: relative;
  background-image: linear-gradient(rgba(31, 35, 85, 0.92), rgba(31, 35, 85, 0.92)), url('images/hero-lab.webp');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* 2. Efeito Parallax clássico usando CSS puro (usado na seção de Diferenciais) */
.diff-parallax-bg {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('images/hero-lab.webp');
   background-size: cover;
   background-position: center;
   background-attachment: fixed; /* Isso trava a imagem no fundo enquanto a página rola */
   z-index: 0;
}

.differentials-section .section-title {
  color: white;
}

.differentials-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}


.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.diff-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-bottom: 4px solid transparent;
}

.diff-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--primary-red);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.diff-icon {
  width: 60px;
  height: 60px;
  background: rgba(49, 55, 126, 0.07);
  color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.diff-card:hover .diff-icon {
  transform: rotate(10deg) scale(1.1);
  background: var(--primary-red);
  color: white;
}


.diff-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-blue-dark);
}

.diff-card p {
  color: var(--text-muted);
}

.diff-list {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4rem;
}

.diff-tag {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  color: var(--primary-blue);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.diff-tag:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.diff-tag i {
  color: var(--primary-red);
}

/* Gallery Section */
.gallery-section {
  background-color: var(--bg-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 400px;
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(49, 55, 126, 0.3));
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.15);
}


/* Contact Section */
.contact-section {
  background-color: var(--primary-blue-dark);
  color: var(--bg-white);
  position: relative;
}

.contact-section .section-title {
  color: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
}

.info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-red);
  flex-shrink: 0;
  transition: var(--transition);
}

.info-item:hover .info-icon {
  background: var(--primary-red);
  color: white;
  transform: scale(1.1);
}


.info-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.info-content p,
.info-content a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
}

.info-content a:hover {
  color: var(--primary-red);
}

.social-links-contact {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links-contact a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition);
}

.social-links-contact a:hover {
  background: var(--primary-red);
  transform: translateY(-5px) scale(1.15);
  box-shadow: 0 5px 15px rgba(192, 34, 54, 0.4);
}


.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  background-color: #121433;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
  display: inline-block;
  background: white;
  padding: 10px;
  border-radius: 8px;
}

.footer-brand .logo img {
  height: 40px;
}

.footer-brand p {
  margin-bottom: 1.5rem;
}

.footer h4 {
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-red);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a i {
  font-size: 0.875rem;
  color: var(--primary-red);
}

.footer-links a:hover {
  color: var(--bg-white);
  padding-left: 5px;
}

.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;
  font-size: 0.875rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: #128c7e;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Floating Store */
.floating-store {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #31377E 0%, #1F2355 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-store:hover {
  transform: scale(1.1) rotate(-10deg);
  background: linear-gradient(135deg, #C02236 0%, #A01C2B 100%);
  box-shadow: 0 8px 25px rgba(192, 34, 54, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-images {
    min-height: 400px;
    margin-top: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header:not(.scrolled) .btn-outline {
    border-color: white;
    color: white;
  }


  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header:not(.scrolled) .nav-links a {
    color: var(--text-dark);
  }

  .mobile-menu-btn {
    display: block;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .diff-tag {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }
}



/* =====================================================================
   HERO — "Precisão de laboratório. Cuidado de família."
   Arco de boticário + receita viva + rede molecular + ano em contorno
   ===================================================================== */
.hero {
  --hero-ink: #0b0c26;
  --hero-red-light: #ff6b7d;
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 150px 0 120px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(110% 85% at 88% 8%, rgba(74, 84, 197, 0.55) 0%, transparent 55%),
    radial-gradient(70% 60% at -5% 105%, rgba(192, 34, 54, 0.28) 0%, transparent 60%),
    linear-gradient(160deg, #1d2157 0%, #12143a 55%, var(--hero-ink) 100%);
}

.hero::after {
  /* filete de luz na base, transição para o ticker */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 125, 0.6), rgba(255, 255, 255, 0.4), transparent);
}

.hero .container {
  max-width: 1280px;
}

/* --- Atmosfera ------------------------------------------------------ */
.hero-atmos {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

#hero-molecules {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-glow {
  position: absolute;
  left: var(--mx, 72%);
  top: var(--my, 42%);
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(192, 34, 54, 0.22) 0%, rgba(74, 84, 197, 0.14) 38%, transparent 68%);
  transition: left 1.2s cubic-bezier(0.16, 1, 0.3, 1), top 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-grain {
  position: absolute;
  inset: -50%;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: heroGrain 9s steps(9) infinite;
}

@keyframes heroGrain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-6%, 4%); }
  40% { transform: translate(5%, -7%); }
  60% { transform: translate(-3%, 8%); }
  80% { transform: translate(7%, 2%); }
}

.hero-year {
  position: absolute;
  right: -3vw;
  bottom: -7vw;
  z-index: -1;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(11rem, 31vw, 36rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}

/* --- Grid ----------------------------------------------------------- */
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

/* --- Conteúdo ------------------------------------------------------- */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 2.2rem;
  padding: 0.55rem 1.1rem 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-eyebrow .sep {
  opacity: 0.35;
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-red);
  animation: heroPulse 2.4s infinite;
}

@keyframes heroPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 107, 125, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(255, 107, 125, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 125, 0); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: clamp(2.8rem, 4.9vw, 5.1rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 1.9rem;
  color: #fff;
}

.hero-title .line {
  display: block;
  overflow: hidden;
  padding: 0 0.06em 0.1em 0;
  margin-bottom: -0.1em;
}

.hero-title .line-inner {
  display: inline-block;
  transform-origin: 0 100%;
  will-change: transform;
}

.hero-title em {
  font-style: italic;
  color: var(--hero-red-light);
  background: linear-gradient(100deg, #ff8796 0%, #ff4d63 30%, #ffc2ca 50%, #ff4d63 70%, #ff8796 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroShine 7s linear infinite;
}

@keyframes heroShine {
  to { background-position: -220% center; }
}

.hero-desc {
  max-width: 520px;
  margin-bottom: 2.6rem;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

/* --- CTAs ----------------------------------------------------------- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 2rem;
  margin-bottom: 3.2rem;
}

.hero-cta--primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 1.7rem 0.55rem 0.55rem;
  border-radius: 100px;
  overflow: hidden;
  background: #fff;
  color: var(--primary-blue-dark);
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 700;
  box-shadow: 0 24px 60px -18px rgba(192, 34, 54, 0.7), 0 0 0 6px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.4s ease;
}

.hero-cta--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(49, 55, 126, 0.12) 50%, transparent 70%);
  transform: translateX(-100%);
  animation: heroSweep 4.5s ease-in-out infinite 2.5s;
  pointer-events: none;
}

@keyframes heroSweep {
  0%, 60% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.hero-cta--primary:hover {
  box-shadow: 0 30px 70px -15px rgba(192, 34, 54, 0.85), 0 0 0 10px rgba(255, 255, 255, 0.08);
}

.hero-cta-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8394f, var(--primary-red));
  color: #fff;
  font-size: 1.45rem;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-cta--primary:hover .hero-cta-icon {
  transform: rotate(-12deg) scale(1.06);
}

.hero-cta-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.hero-cta-text small {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary-red);
}

.hero-cta-arrow {
  margin-left: 0.4rem;
  font-size: 0.9rem;
  transition: transform 0.4s ease;
}

.hero-cta--primary:hover .hero-cta-arrow {
  transform: translateX(6px);
}

.hero-cta--ghost {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
}

.hero-cta--ghost i {
  font-size: 0.75rem;
  opacity: 0.7;
}

.hero-cta--ghost::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  opacity: 0.5;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.hero-cta--ghost:hover::after {
  transform: scaleX(1);
  opacity: 1;
}

/* --- Prova social --------------------------------------------------- */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.6rem;
  max-width: 560px;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
}

.hero-proof li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-proof strong {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  font-variant-numeric: lining-nums;
}

.hero-proof strong em {
  margin: 0 2px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 600;
  color: var(--hero-red-light);
  vertical-align: top;
}

.hero-proof span {
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* --- Visual --------------------------------------------------------- */
.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 420px);
  perspective: 1200px;
}

.hero-visual::before {
  /* moldura dupla de boticário */
  content: '';
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px 999px 40px 40px;
  pointer-events: none;
}

.hero-arch {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5.3;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  background: #1b1f52;
  box-shadow: 0 70px 120px -40px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
  will-change: transform, clip-path;
}

.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  will-change: transform;
}

.hero-arch::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(11, 12, 38, 0.9) 0%, rgba(11, 12, 38, 0.15) 45%, transparent 70%),
    linear-gradient(200deg, rgba(49, 55, 126, 0.25), transparent 50%);
  pointer-events: none;
}

.hero-arch-caption {
  position: absolute;
  right: 26px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.hero-arch-caption span:last-child {
  color: rgba(255, 255, 255, 0.5);
}

/* Selo giratório */
.hero-seal {
  position: absolute;
  top: 7%;
  right: -56px;
  z-index: 3;
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: rgba(18, 20, 58, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
}

.hero-seal > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: heroSpin 24s linear infinite;
}

.hero-seal text {
  fill: rgba(255, 255, 255, 0.88);
  font-family: 'Outfit', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@keyframes heroSpin {
  to { transform: rotate(360deg); }
}

.hero-seal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(140deg, #e8394f, var(--primary-red) 60%, #8f1626);
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.3), 0 8px 20px -6px rgba(192, 34, 54, 0.8);
  color: #fff;
}

.hero-seal-tube {
  width: 18px;
  height: 30px;
}

.hero-seal-tube .liquid {
  fill: #fff;
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: heroLiquid 3.2s ease-in-out infinite;
}

@keyframes heroLiquid {
  0%, 100% { transform: scaleY(0.55); }
  50% { transform: scaleY(1.25); }
}

/* Chip matérias-primas */
.hero-chip {
  position: absolute;
  top: 17%;
  left: -78px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 250px;
  padding: 0.5rem 1.2rem 0.5rem 0.5rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.6);
  color: var(--primary-blue-dark);
  font-size: 0.78rem;
  line-height: 1.25;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-chip img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-chip b {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.86rem;
}

@keyframes heroFloat {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* --- Receita viva --------------------------------------------------- */
.rx-card {
  position: absolute;
  left: -150px;
  bottom: -52px;
  z-index: 4;
  width: 316px;
  padding: 1.2rem 1.3rem 1.3rem;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(43, 49, 120, 0.78), rgba(14, 16, 48, 0.88));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  color: #fff;
  animation: heroFloat 7s ease-in-out infinite 1s;
}

.rx-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}

.rx-symbol {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--hero-red-light);
}

.rx-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.rx-number {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.88rem;
}

.rx-number b {
  font-weight: 500;
}

.rx-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rx-status b {
  font-weight: 600;
}

.rx-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffb547;
  box-shadow: 0 0 10px #ffb547;
  animation: rxBlink 1s ease-in-out infinite alternate;
}

.rx-card.is-done .rx-status i {
  background: #3ddc97;
  box-shadow: 0 0 10px #3ddc97;
  animation: none;
}

@keyframes rxBlink {
  to { opacity: 0.3; }
}

.rx-scale {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0.95rem 0 0.8rem;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rx-scale-label {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.rx-scale-value {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.rx-scale-value b {
  font-size: 1.55rem;
  font-weight: 500;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.rx-steps {
  list-style: none;
  margin-bottom: 0.9rem;
}

.rx-steps li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.24rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.4s ease;
}

.rx-steps li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  background: center / 10px no-repeat;
  transition: background-color 0.35s, border-color 0.35s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rx-steps li.is-active {
  color: #fff;
}

.rx-steps li.is-active::before {
  border-color: var(--hero-red-light);
  border-top-color: transparent;
  animation: heroSpin 0.8s linear infinite;
}

.rx-steps li.is-done {
  color: rgba(255, 255, 255, 0.85);
}

.rx-steps li.is-done::before {
  border-color: var(--primary-red);
  background-color: var(--primary-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: scale(1.05);
}

.rx-progress {
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.rx-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary-red), var(--hero-red-light), #ffd1d7);
  box-shadow: 0 0 12px rgba(255, 107, 125, 0.7);
  transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Indicador de rolagem ------------------------------------------ */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.hero-scroll:hover {
  color: #fff;
}

.hero-scroll-line {
  position: relative;
  width: 1px;
  height: 46px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(transparent, var(--hero-red-light));
  animation: heroScrollLine 2.2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes heroScrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* --- Responsivo ----------------------------------------------------- */
@media (max-width: 1200px) {
  .rx-card {
    left: -80px;
    width: 290px;
  }

  .hero-chip {
    left: -50px;
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 130px 0 120px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 4.5rem;
  }

  .hero-visual {
    width: min(74%, 400px);
    margin: 0 auto 40px;
  }

  .hero-year {
    bottom: auto;
    top: 38%;
    font-size: 48vw;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 120px 0 100px;
  }

  .hero-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    margin-bottom: 1.6rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 12.5vw, 3.6rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .hero-cta--primary {
    justify-content: flex-start;
  }

  .hero-cta-arrow {
    margin-left: auto;
  }

  .hero-cta--ghost {
    justify-content: center;
  }

  .hero-proof {
    gap: 1.2rem 1.4rem;
    justify-content: space-between;
  }

  .hero-proof li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .hero-proof strong {
    font-size: 1.9rem;
  }

  .hero-proof span {
    font-size: 0.6rem;
  }

  .hero-visual {
    width: 72%;
    margin-left: 22%;
  }

  .hero-seal {
    width: 98px;
    height: 98px;
    right: -34px;
  }

  .hero-seal-core {
    width: 46px;
    height: 46px;
  }

  .hero-chip {
    display: none;
  }

  .rx-card {
    left: -26%;
    bottom: -64px;
    width: 245px;
    padding: 1rem;
  }

  .rx-scale-value b {
    font-size: 1.25rem;
  }

  .rx-steps li {
    font-size: 0.72rem;
    padding: 0.18rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero *,
  .hero *::before,
  .hero *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Links animados pelo GSAP não podem herdar "transition: all" global */
.hero-cta--primary,
.hero-cta--ghost,
.hero-scroll {
  transition: color 0.3s ease, box-shadow 0.4s ease;
}

.rx-scale-value {
  white-space: nowrap;
}

@media (max-width: 576px) {
  .rx-scale {
    align-items: center;
    padding: 0.6rem 0.75rem;
  }

  .rx-scale-label {
    font-size: 0.52rem;
    max-width: 70px;
  }
}

@media (max-width: 576px) {
  .hero-eyebrow-since {
    display: none;
  }

  .hero-cta--ghost {
    align-self: center;
  }

  .hero-cta--ghost::after {
    transform: scaleX(1);
    opacity: 0.3;
  }

  .hero-visual {
    width: 100%;
    margin: 0;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-arch {
    width: 78%;
    margin: 0 auto;
    aspect-ratio: 4 / 4.8;
  }

  .hero-seal {
    right: 2%;
  }

  .rx-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 92%;
    margin: -120px auto 0;
  }
}

/* --- Fachada real: traços em duotone + revelação colorida pelo cursor --- */
.hero-facade {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.3) 36%, #000 72%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.3) 36%, #000 72%);
  will-change: transform, opacity;
}

.hero-facade::after {
  /* funde a base da fachada com o fundo da seção */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--hero-ink) 0%, rgba(11, 12, 38, 0.4) 30%, transparent 60%);
}

.hero-facade-layer,
.hero-facade-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-facade-layer img {
  object-fit: cover;
  object-position: center 40%;
}

.hero-facade-base img {
  /* duotone azul-marinho da marca */
  filter: grayscale(1) sepia(1) hue-rotate(195deg) saturate(2.4) brightness(0.72) contrast(1.15);
}

.hero-facade-color {
  opacity: 0;
  -webkit-mask-image: radial-gradient(circle 240px at var(--mx, 70%) var(--my, 40%), #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
  mask-image: radial-gradient(circle 240px at var(--mx, 70%) var(--my, 40%), #000 0%, rgba(0, 0, 0, 0.6) 45%, transparent 100%);
  transition: opacity 0.8s ease;
}

.hero-facade-color img {
  filter: saturate(1.1) brightness(0.95);
}

.hero.is-pointer .hero-facade-color {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-facade {
    inset: 0 0 auto 0;
    height: 72%;
    opacity: 0.34;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.55) 55%, transparent 100%);
  }

  .hero-facade-layer img {
    object-position: 35% top;
  }

  .hero-facade-color {
    display: none;
  }
}

/* Ajustes de enquadramento da fachada */
.hero-facade-layer {
  /* alarga a camada para que a fachada vizinha (à direita da foto) fique fora do quadro */
  right: -36%;
  width: auto;
}

@media (max-width: 768px) {
  .hero-facade {
    height: min(620px, 78svh);
    opacity: 0.28;
  }

  .hero-facade-layer {
    right: 0;
  }

  .hero-facade-layer img {
    object-position: 30% 20%;
  }
}

/* Traços mais discretos atrás do texto; lanterna colorida mais nítida */
@media (min-width: 769px) {
  .hero-facade {
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.07) 0%, rgba(0, 0, 0, 0.16) 34%, rgba(0, 0, 0, 0.75) 55%, #000 75%);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.07) 0%, rgba(0, 0, 0, 0.16) 34%, rgba(0, 0, 0, 0.75) 55%, #000 75%);
  }
}

.hero.is-pointer .hero-facade-color {
  opacity: 0.6;
}

/* --- H1 semântico (SEO local): selo + assinatura dentro do mesmo título --- */
.hero-heading {
  margin: 0;
  font: inherit;
  line-height: normal;
}

.hero-heading .hero-eyebrow {
  line-height: 1.3;
}

.hero-heading .hero-title {
  display: block;
}

.hero-desc strong {
  color: #fff;
  font-weight: 600;
}

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

/* --- Selo "Desde 1988" ---------------------------------------------- */
.hero-since {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.hero-since-mark {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  padding-right: 1.2rem;
}

.hero-since-mark::after {
  /* filete vertical separando o ano da marca */
  content: '';
  position: absolute;
  right: 0;
  top: 18%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.35), transparent);
}

.hero-since-mark em {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 500;
  color: var(--hero-red-light);
}

.hero-since-mark strong {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 3.6vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: lining-nums tabular-nums;
  text-shadow: 0 0 40px rgba(255, 107, 125, 0.35);
}

.hero-since-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-since-meta b {
  color: #fff;
  font-weight: 700;
}

/* o "1988" gigante de fundo ganha um pouco mais de presença */
.hero-year {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.11);
}

@media (max-width: 576px) {
  .hero-since {
    gap: 0.9rem;
    margin-bottom: 1.4rem;
  }

  .hero-since-mark {
    padding-right: 0.9rem;
  }

  .hero-since-mark em {
    font-size: 1.1rem;
  }

  .hero-since-mark strong {
    font-size: 2.4rem;
  }

  .hero-since-meta {
    font-size: 0.6rem;
    letter-spacing: 0.14em;
  }
}

/* --- Hero enxuta: menos texto, mais respiro ------------------------- */
.hero-since-mark {
  padding-right: 0;
}

.hero-since-mark::after {
  display: none;
}

.hero-title {
  margin-bottom: 1.6rem;
}

.hero-desc {
  max-width: 440px;
  margin-bottom: 2.4rem;
}

.hero-actions {
  margin-bottom: 0;
}

.hero-cta--primary {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.rx-card {
  width: 280px;
}

.rx-scale {
  justify-content: center;
}

.hero-arch-caption {
  letter-spacing: 0.18em;
}

@media (max-width: 576px) {
  .rx-card {
    width: 92%;
  }
}

.rx-number {
  white-space: nowrap;
}

.rx-status {
  padding: 0.28rem 0.5rem;
  font-size: 0.56rem;
}

@media (min-width: 577px) {
  .rx-card {
    width: 300px;
  }
}

/* --- Mobile: ajustes da hero --------------------------------------- */
.floating-whatsapp,
.floating-store {
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease,
    opacity 0.4s ease, translate 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}

@media (max-width: 768px) {
  /* flutuantes saem de cena enquanto o CTA da hero está na tela */
  body.hero-cta-visible .floating-whatsapp,
  body.hero-cta-visible .floating-store {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    translate: 0 24px;
  }

  /* fachada vira atmosfera: mais suave e levemente desfocada, sem disputar com o texto */
  .hero-facade {
    opacity: 0.2;
  }

  .hero-facade-base img {
    filter: grayscale(1) sepia(1) hue-rotate(195deg) saturate(2.4) brightness(0.72) contrast(1.15) blur(2px);
  }

  .hero {
    padding-top: 128px;
  }
}
