@font-face {
  font-family: "Outfit";
  src: url("../font/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary-color: #D48C45;
  --secondary-color: #b76935;
  --accent-gold: #D48C45;
  --bg-dark: #0E0C0B;
  --text-light: #ffffff;
  --text-muted: #e2d8d3;
}

.authority-bio {
  background-color: #0E0C0B;
}

.bio-background {
  width: 1000px;
  height: 600px;
}

.bio-background svg {
  width: 1000px;
  height: 600px;
}

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

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
}

.container {
  max-width: 1000px; /* Aligned with the header container */
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10002; /* Maior que o mobile-menu (10000) e cookies (9999) */
  padding: 15px 0;
  background: rgba(15, 13, 11, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

header.scrolled {
  padding: 8px 0;
  background: rgba(15, 13, 11, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  grid-column: 1;
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 100%;
  width: auto;
  transition: opacity 0.4s ease, transform 0.4s ease;
  object-fit: contain;
}

.logo .logo-main {
  opacity: 1;
  visibility: visible;
  height: 40px;
}

.logo .logo-scroll {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  visibility: hidden;
  height: 30px; /* Logo horizontal mais baixo para ocupar menos espaço vertical */
}

header.scrolled .logo-main {
  opacity: 0;
  visibility: hidden;
}

header.scrolled .logo-scroll {
  opacity: 1;
  visibility: visible;
}

.menu {
  grid-column: 2;
  display: flex;
  list-style: none;
  gap: 30px;
}

.menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.menu a:hover {
  color: var(--primary-color);
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #f09b64; /* Specific requested color for icons background */
  border-radius: 8px;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.icon-social {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 10001;
  padding: 0;
}

.hamburger-box {
  width: 24px;
  height: 18px;
  display: block;
  position: relative;
  margin: 0 auto;
}

.hamburger-inner {
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--text-light);
  position: absolute;
  left: 0;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

/* Estado Ativo Hamburger */
.mobile-toggle.active .hamburger-inner {
  background-color: transparent;
}

.mobile-toggle.active .hamburger-inner::before {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active .hamburger-inner::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden; /* Garante que o zoom da imagem não transborde */
}

/* Pseudo-elemento para animação de zoom da imagem de fundo */
.mobile-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(15, 13, 11, 0.93), rgba(15, 13, 11, 0.93)),
    url("../images/img_01.jpg");
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -1;
  transform: scale(1.2); /* Começa 20% maior */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.mobile-menu.active::before {
  transform: scale(1); /* Retorna ao tamanho original */
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  list-style: none;
  text-align: center;
}

.mobile-menu-links li {
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-menu-links li {
  opacity: 1;
  transform: translateY(0);
}

/* Delay gradual para os links aparecerem */
.mobile-menu.active .mobile-menu-links li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-links li:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-links li:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-links li:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu.active .mobile-menu-links li:nth-child(5) { transition-delay: 0.5s; }

.mobile-menu-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s;
}

.mobile-menu-links a:hover {
  color: var(--primary-color);
}

.mobile-menu-social {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.6s;
}

.mobile-menu.active .mobile-menu-social {
  opacity: 1;
  transform: translateY(0);
}

.social-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: #f09b64;
  border-radius: 12px;
  transition: all 0.3s;
}

.social-icon-link:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.social-icon-link img {
  width: 22px;
  height: 22px;
  filter: invert(1);
}

/* Hero Section */
.hero {
  position: relative;
  height: 520px; /* Increased height as requested */
  background:
    linear-gradient(rgba(15, 13, 11, 0.95), rgba(15, 13, 11, 0.8)),
    url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center; /* Ensure container is centered in the viewport */
  align-items: center;
  padding-top: 0;
  overflow: visible; /* Allow photo to reach exact bottom */
  margin-top: 70px; /* Space for the fixed header height */
  scroll-margin-top: 70px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
  width: 100%;
}

.hero-text {
  z-index: 2;
  padding-left: 20px; /* Re-adding the 20px padding specifically to align with the header content padding */
  max-width: 650px; /* Restrict text to the red rectangle area (left side) */

}

.headline-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.bar {
  width: 3px;
  height: 45px;
  background-color: #b76935; /* Using direct color for visibility fix */
  margin-top: 8px;
  flex-shrink: 0; /* Ensure the bar doesn't collapse */
}

.hero-text h1 {
  font-size: 30px;
  line-height: 1.4; /* Increased line height to accommodate the background rectangles */
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.5px;
  margin: 0;
}

.hero-text h1 span {
  background-color: #6b3e26; /* Darker brown/gold background */
  color: var(--text-light); /* Text is white on the background */
  padding: 0px 8px; /* Removed vertical padding */
  border-radius: 4px;
  display: inline-block;
  line-height: 1.1; /* Adjusted line height to shrink the box towards lowercase letters */
  vertical-align: middle; /* Align better with the rest of the text */
  margin-top: -10px; /* Slight adjustment to center it on the line */
}

.subheadline {
  font-size: 15px;
  color: var(--text-muted);
  margin: 10px 0 25px 18px; /* Aligned with text after bar */
  max-width: 400px;
  font-weight: 400;
}

.btn-cta {
  display: inline-block;
  padding: 16px 40px;
  background: linear-gradient(135deg, #8c4b2d 0%, #D48C45 100%);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 10px 20px rgba(140, 75, 45, 0.4);
}

.hero-image {
  bottom: 0; /* Exact bottom alignment */
  right: 0;
  height: 520px; /* Synchronized with Hero height */
  display: flex;
  align-items: flex-end;
  z-index: 1;
}

.hero-image img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  margin-bottom: 0; /* Touch exact bottom line */
}

/* Stats Section */
.stats {
  background: linear-gradient(to right, #8a4e2d, #b76935, #e08c56);
  height: 120px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--text-light);
}

.stat-icon {
  margin-bottom: 8px;
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 1.5;
}

.stat-item p {
  font-size: 13px;
  line-height: 1.3;
  max-width: 200px;
  color: #ffffff;
  font-weight: 400;
}

.stat-item strong {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
}

/* Authority Section */
.authority {
  background-color: #ffffff;
  padding: 80px 0;
  color: #0f0d0b;
}

.authority-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.authority-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 30px;
}

.authority-content h2 span {
  color: #b76935;
}

.authority-content p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #444;
}

.authority-highlight {
  margin-top: 40px;
  padding: 20px;
  background-color: #f8f5f3;
  border-left: 4px solid #b76935;
}

.authority-highlight p {
  font-weight: 700;
  color: #0f0d0b;
  margin-bottom: 0;
}

/* Benefits Section */
.benefits {
  background: linear-gradient(rgba(15, 13, 11, 0.85), rgba(15, 13, 11, 0.85)), url("../images/bg2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  padding: 80px 0;
  color: #ffffff;
}

.section-header h2 {
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05); /* Slight glass effect for contrast */
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
}

.benefit-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

.benefit-icon {
  color: #f29e64;
  font-weight: bold;
  font-size: 20px;
}

.benefit-item p {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 0;
}

/* Dashboard Section */
.dashboard {
  background-color: #ffffff;
  padding: 80px 0;
  color: #0f0d0b;
}

.dashboard-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.dashboard-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.dashboard-text h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

.dashboard-text p {
  font-size: 17px;
  margin-bottom: 25px;
  color: #444;
}

.dashboard-list {
  list-style: none;
}

.dashboard-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.dashboard-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #b76935;
}

/* --- New Sections (Dobras) --- */

/* Dobra 2 - Pain Points */
.pain-points {
  background: 
    linear-gradient(rgba(0, 0, 0, 0.93), rgba(100, 50, 1, 0.7)),
    url("../images/bg3.jpg");
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 33px;
  font-weight: 300;
}

.pain-points {
  position: relative;
  background-color: var(--bg-dark);
  padding: 70px 0;
  scroll-margin-top: 70px;
  z-index: 2;
}

.pain-points::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-gold), transparent);
  z-index: 10;
}

.pain-points h2 {
  font-size: 33px;
  line-height: 1.2;
  font-weight: 600;
  max-width: 1000px;
  margin-bottom: 50px;
  color: var(--text-light);
}

.pain-points .highlight-accent {
  color: var(--accent-gold);
}

.pain-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pain-text-block {
  padding: 30px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 2px solid var(--accent-gold);
  border-radius: 0 12px 12px 0;
}

.pain-text-block h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pain-text-block p {
  font-size: 17px;
  color: var(--text-muted);
  margin: 0;
}

.authority-bio {
  position: relative;
  background-color: #0E0C0B; /* Reverted to match image base precisely */
  padding: 100px 0;
  scroll-margin-top: 70px;
  z-index: 2;
  overflow: hidden; /* Contains the background image */
}

/* New Background Layer (Now contained within the container) */
.bio-background {
  position: absolute;
  right: 0;
  bottom: 0; 
  height: 600px; /* Lock height as requested */
  width: 1000px;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  
  /* Mask to blend edges into background */
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent), 
                     linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent), 
              linear-gradient(to bottom, transparent, black 15%, black 85%, transparent);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.bio-background svg {
  width: 1000px;
  height: 600px;
  max-width: 1000px; /* Aligned with new slide images size */
  opacity: 0.2; /* Brand preference for background subtle layer */
  filter: grayscale(1) contrast(1.1);
  display: block;
}

.bio-background svg image {
  transition: opacity 220ms ease; /* Only used if script sets opacity */
  height: 600px; /* Lock height as requested */
}

.bio-content-wrapper {
  position: relative;
  z-index: 3; /* Above background */
}

.bio-text {
  text-align: left;
  max-width: 100%; /* Full width text as requested */
}

.tagline {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 25px;
}

.bio-heading {
  font-size: 33px;
  line-height: 1.1;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 40px;
}

.bio-heading span {
  color: var(--accent-gold);
}

.bio-intro {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
}

.accent-line {
  width: 30px;
  height: 1px;
  background-color: var(--accent-gold);
}

.bio-intro span {
  font-size: 18px;
  font-weight: 500;
}

.bio-text p {
  font-size: 17px;
  color: #ccc;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 90%;
}

.btn-insights {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  background: linear-gradient(135deg, #6b3e26 0%, #b76935 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 30px;
}

.btn-insights:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.btn-insights:hover .arrow-icon {
  transform: translate(3px, -3px);
}

.btn-insights .arrow-icon {
  font-size: 18px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.icon-white {
  filter: brightness(0) invert(1);
}





.bio-text p {
  font-size: 18px;
  margin-bottom: 25px;
  color: var(--text-muted);
}

.bio-text .name-highlight {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 15px;
}

/* Dobra 4 - Solutions Grid (Updated to white background) */
.solutions-grid {
  background: 
    linear-gradient(rgba(255, 253, 249, 0.93), rgba(100, 50, 1, 0.7)),
    url("../images/bg.jpg");
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 100px 0;
  color: #000000;
  text-align: center;
}

.separador {
  width: 100%;
  max-width: 1600px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}
.separador-bottom {
  width: 100%;
  max-width: 1600px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
}


.solutions-header h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 60px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.3;
  color: #000000;
}

.solutions-header h2 span {
  font-weight: 800;
  color: #b76935;
}

.solutions-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  position: relative;
  height: 520px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.4s ease;
}

.solution-card:hover {
  transform: translateY(-10px);
}

.solution-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  z-index: 0;
}

.solution-card:hover::before {
  transform: scale(1.1);
}

.solution-card.card-palestras::before { background-image: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent 80%), url("../images/service-palestras.png"); }
.solution-card.card-advisory::before { background-image: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent 80%), url("../images/service-advisory.png"); }
.solution-card.card-jotalab::before { background-image: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent 80%), url("../images/service-jotalab.png"); }

.card-content {
  position: relative;
  z-index: 1;
}

.solution-card h3 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: 1px;
}

.solution-card p {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 25px;
  line-height: 1.5;
}

.btn-solution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  padding: 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #8c4b2d 0%, #D48C45 100%);
  color: #fff;
}

.btn-solution.btn-green {
  background: linear-gradient(135deg, #064e21 0%, #10b981 100%);
}

.btn-solution.btn-blue {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.btn-solution:hover {
  filter: brightness(1.2);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.btn-solution .arrow-icon {
  font-size: 18px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
  font-weight: 700;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-solution:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* Form Styles for Modals */
.modal-form {
  display: grid;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.modal-form label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: var(--text-light);
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
}

.modal-form input:focus,
.modal-form textarea:focus {
  border-color: var(--accent-gold);
  outline: none;
}

@media (max-width: 768px) {
  .pain-content, .bio-grid, .solutions-container {
    grid-template-columns: 1fr;
  }
  .pain-points h2, .bio-text h2 {
    font-size: 32px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Contact Section */
.contact-section {
  background: linear-gradient(to top, #d8895e 0%, #f5cbaf 45%, #f09b64 100%);
  padding: 80px 0;
  color: #0f0d0b;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/bg2.jpg") center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  background: #ffffff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.contact-methods {
  margin-top: 30px;
}

.method {
  margin-bottom: 15px;
  font-size: 16px;
}

.method strong {
  display: block;
  color: #b76935;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: "Outfit", sans-serif;
}

/* Footer */
.footer {
  background:
    linear-gradient(rgba(15, 13, 11, 0.9), rgba(15, 13, 11, 0.9)),
    url("../images/bg3.jpg");
  background-size: cover;
  background-position: center;
  padding: 80px 0 40px;
  color: #ffffff;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
}

.logo-footer-horizontal {
  display: none;
}

.footer-brand p {
  color: #ccc;
}

.footer-links h3,
.footer-legal h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: #ffffff;
}

.footer-links ul,
.footer-legal ul {
  list-style: none;
}

.footer-links li,
.footer-legal li {
  margin-bottom: 10px;
}

.footer-links a,
.footer-legal a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #f29e64;
}

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

.footer-bottom p {
  color: #888;
  font-size: 14px;
}

/* Blog Category Pills (YouTube-Style) */
.category-pills-container {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 10px 20px;
  margin-bottom: 40px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  cursor: grab;
  user-select: none;
}

.category-pills-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.category-pill {
  white-space: nowrap;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.category-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.category-pill.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #000;
  font-weight: 700;
}

.category-pills-container:active {
  cursor: grabbing;
}

/* Blog Pages Styles */

/* Page Header (Blog List) */
.page-header {
  padding: 180px 0 80px;
  background: 
    linear-gradient(rgba(15, 13, 11, 0.9), rgba(15, 13, 11, 0.8)),
    url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=2000&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header h1 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-header h1 span {
  color: var(--primary-color);
}

.page-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Blog List Section */
.blog-list-section {
  padding: 80px 0;
  background-color: var(--bg-dark);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(242, 158, 100, 0.3); /* Primary color subtly glowing the border */
}

.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

/* Overriding overflow for the transform effect */
.blog-card {
   overflow: hidden; 
}

.blog-card-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: transparent; /* Ensures image scaling behind doesn't break border-radius */
  position: relative;
  z-index: 2;
}

.blog-meta {
  font-size: 13px;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-light);
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.3s;
}

.blog-card-title:hover {
  color: var(--primary-color);
}

.blog-card-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.6;
  flex-grow: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: gap 0.3s, color 0.3s;
  margin-top: auto;
}

.read-more:hover {
  gap: 12px;
  color: var(--text-light);
}

/* Blog Post Page Styles */
.blog-post-header {
  padding: 180px 0 80px;
  background: 
    linear-gradient(rgba(15, 13, 11, 0.8), rgba(15, 13, 11, 0.95)),
    url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?q=80&w=2000&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-post-header .container {
  max-width: 800px; /* Narrower container for reading comfort */
}

.blog-post-meta {
  color: var(--primary-color);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  gap: 15px;
  align-items: center;
  font-weight: 500;
}

.meta-dot {
  color: rgba(255,255,255,0.3);
  font-size: 10px;
}

.blog-post-meta strong {
  color: var(--text-light);
}

.blog-post-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-light);
  letter-spacing: -1px;
}

.blog-post-content-wrap {
  padding: 80px 0;
  position: relative;
  background-color: var(--bg-dark);
}

.blog-post-content-wrap .container {
  max-width: 1000px;
}

.blog-post-content {
  max-width: 100%; /* Now respect the parent container */
  margin: 0 auto;
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.8;
}

.blog-post-content h2 {
  color: var(--text-light);
  font-size: 32px;
  margin: 50px 0 25px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.blog-post-content h3 {
  color: var(--text-light);
  font-size: 24px;
  margin: 40px 0 20px;
  font-weight: 700;
}

.blog-post-content p {
  margin-bottom: 25px;
}

.blog-post-content img {
  width: 100%;
  border-radius: 16px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.post-parallax-container {
  width: 100%;
  max-width: 1000px;
  height: 400px;
  overflow: hidden;
  border-radius: 16px;
  margin: 40px 0;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: #000;
}

#parallaxImg {
  width: 100%;
  height: 140%; /* Extra height for parallax movement */
  object-fit: cover;
  position: absolute;
  top: -20%; /* Offset starting position */
  left: 0;
  transition: transform 0.1s ease-out; /* Smooth movement */
}

.blog-post-content blockquote {
  border-left: 4px solid var(--primary-color);
  padding: 30px;
  margin: 40px 0;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 22px;
  color: var(--text-light);
  line-height: 1.6;
}

.blog-post-content ul, .blog-post-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.blog-post-content li {
  margin-bottom: 12px;
}

.blog-post-content strong {
  color: var(--text-light);
}

.post-cta-box {
  margin-top: 60px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(183, 105, 53, 0.1), rgba(242, 158, 100, 0.05));
  border: 1px solid rgba(242, 158, 100, 0.3);
  border-radius: 16px;
  text-align: center;
}

.post-cta-box h3 {
  margin-top: 0;
  font-size: 26px;
  color: var(--text-light);
}

.post-cta-box p {
  margin-bottom: 30px;
  font-size: 16px;
}

.post-cta-box .btn-cta {
  margin-left: 0;
}

/* Author Overlap Badge */
.author-overlap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -150px; 
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
  text-align: center;
}

.author-overlap.list-author {
  margin-bottom: 80px !important;
}

.author-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--bg-dark);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background-color: var(--primary-color);
  object-position: top;
  position: relative;
  z-index: 11;
}

.author-overlap .author-info {
  margin-top: -20px; /* Overlaps text box with the photo slightly */
  position: relative;
  z-index: 12;
  background: var(--bg-dark);
  padding: 10px 30px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.author-overlap h4 {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 0px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.author-overlap p {
  font-size: 13px;
  color: var(--primary-color);
  margin-bottom: 0;
  font-weight: 500;
}

/* Interação de Autoridade Animada (Blog Post) */
.author-overlap.moving .author-avatar,
.author-overlap.moving .balloon-quote-container {
  animation: moveAuthorBlock var(--move-duration) cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.author-overlap.moving .author-info {
  animation: moveAuthorBlock var(--move-duration) cubic-bezier(0.65, 0, 0.35, 1) forwards;
  animation-delay: 0.12s;
}

@keyframes moveAuthorBlock {
  0%, 100% { transform: translateX(0); }
  10%, 90% { transform: translateX(-300px); /* Leva a imagem até bater exatamente na linha da margem esquerda da página */ }
}

.balloon-quote-container {
  position: absolute;
  left: 50%;
  top: 50px; 
  transform: translateY(-50%);
  z-index: 5; 
}

.balloon-quote {
  background: linear-gradient(135deg, var(--secondary-color), #d8895e);
  border-radius: 0 30px 30px 0;
  padding: 16px 40px 16px 80px;
  box-shadow: 0 8px 20px rgba(183, 105, 53, 0.4);
  font-style: italic;
  font-weight: 500;
  color: white;
  font-size: 15px;
  line-height: 1.5;
  width: max-content;
  max-width: 680px; /* Ao nascer do centro (-300px), sua expansão vai esguia até +380px para bater exato na linha margem direita da página! */
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  transform: translateX(-20px);
  transition: clip-path 1s cubic-bezier(0.65, 0, 0.35, 1), 
              opacity 0.6s ease,
              transform 1s cubic-bezier(0.65, 0, 0.35, 1);
}

.balloon-quote.show {
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateX(0);
}

/* Paginação - Blog List */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 60px;
  margin-bottom: 20px;
}

.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.pagination .page-link:hover:not(.disabled) {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.pagination .page-link.active {
  background: var(--primary-color);
  color: var(--bg-dark);
  font-weight: 700;
  pointer-events: none;
}

.pagination .page-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: transparent;
}

.pagination .page-dots {
  color: var(--text-muted);
  font-weight: 700;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .author-overlap.moving .author-avatar,
  .author-overlap.moving .author-info {
    animation: none !important;
    transform: translateX(0) !important;
  }
  .balloon-quote-container { 
    display: none !important; 
  }
}

/* Responsive */
@media (max-width: 992px) {
  header {
    padding: 10px 0;
  }

  .hero {
    height: auto;
    min-height: 500px;
    padding: 30px 0 10px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

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

  .headline-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .bar {
    width: 30px;
    height: 3px;
    margin-top: 0;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-image {
    position: relative;
    height: 400px;
    bottom: 0;
    right: 0;
    margin-top: 20px;
    justify-content: center;
  }

  .stats {
    height: auto;
    padding: 40px 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .menu {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  nav {
    grid-template-columns: 1fr auto;
  }

  .header-spacer {
    display: none;
  }

  /* Forçar logo horizontal no mobile */
  .logo-default {
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    pointer-events: none;
  }

  .logo-scrolled {
    opacity: 1 !important;
    transform: translateY(0) !important;
    position: relative !important;
    left: auto !important;
  }

  .logo-footer-default {
    display: none !important;
  }
  
  .logo-footer-horizontal {
    display: block !important;
  }

  .logo-footer-default {
    display: none !important;
  }
  
  .logo-footer-horizontal {
    display: block !important;
  }

  .dashboard-content,
  .contact-container,
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  /* Blog Responsive */
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .blog-post-title {
    font-size: 36px;
  }
  
  .page-header {
    padding: 140px 0 60px;
  }
  
  .blog-post-header {
    padding: 140px 0 60px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .page-header {
    padding: 140px 0 95px;
  }
  
  .blog-post-header {
    padding: 140px 0 95px;
  }

  .hero-image img {
    margin-bottom: -41px;
  }

  .hero-image {
    margin-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer-bottom p {
    text-align: center;
    font-size: 13px;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
  }
}
