/**
 * Estilos principais do site - Pessoa Física
 * Inclui variáveis, reset, tipografia e componentes
 * Design futurista com elementos clássicos
 */

:root {
  /* Cores principais */
  --primary-color: #671313;
  --secondary-color: #d4af37;
  --dark-color: #1a1a1a;
  --light-color: #ffffff;
  --gray-color: #333333;
  --light-gray: #f5f5f5;
  --accent-color: rgba(212, 175, 55, 0.2);

  /* Fontes */
  --font-primary: "Montserrat", sans-serif;
  --font-secondary: "Cormorant Garamond", serif;

  /* Transições */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;

  /* Sombras */
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.2);
  --glow-shadow: 0 0 10px var(--secondary-color);
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  background-color: var(--dark-color);
  color: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

h1 {
  font-size: 3.5rem;
  text-transform: uppercase;
}

h2 {
  font-size: 2.8rem;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.8;
}

.section-title {
  position: relative;
  margin-bottom: 2.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  box-shadow: var(--glow-shadow);
}

/* Botões */
.btn {
  display: inline-block;
  padding: 14px 35px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-slow);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-color);
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--light-color);
  border: 2px solid var(--secondary-color);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.1);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* Header e Navegação - Estilo Futurista */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.95), rgba(26, 26, 26, 0.8));
  backdrop-filter: blur(10px);
  transition: var(--transition);
  padding: 15px 0;
}

.main-header.scrolled {
  padding: 10px 0;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0.98), rgba(26, 26, 26, 0.95));
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.header-glow {
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  bottom: 0;
  left: 0;
  box-shadow: var(--glow-shadow);
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 150px;
  position: relative;
}

.logo img {
  width: 100%;
}

.main-nav ul {
  display: flex;
  gap: 30px;
}

.nav-link {
  position: relative;
  font-weight: 500;
  padding: 5px 0;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  transition: width 0.3s ease, left 0.3s ease;
  box-shadow: var(--glow-shadow);
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
  left: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--light-color);
  transition: var(--transition);
}

/* Hero Banner - Combinação de Clássico e Futurista */
.hero-banner {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-image: url("/assets/images/banner-advocacia.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
}

.hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

/* Elementos geométricos futuristas */
.geometric-shape {
  position: absolute;
  border: 1px solid var(--secondary-color);
  opacity: 0.3;
  z-index: 1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  top: 15%;
  left: 10%;
  animation: float 15s infinite ease-in-out, rotate 30s infinite linear;
}

.shape-2 {
  width: 200px;
  height: 200px;
  transform: rotate(45deg);
  bottom: 15%;
  right: 10%;
  animation: float 12s infinite ease-in-out reverse, pulse 8s infinite ease-in-out;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.typing-container {
  height: 60px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.typing-text {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--font-secondary);
}

.cursor {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  animation: blink 0.7s infinite;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  animation: fadeInUp 1s ease 0.5s both;
}

/* Scroll Down Indicator */
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--light-color);
  font-size: 0.9rem;
  opacity: 0.7;
  z-index: 2;
  animation: fadeInUp 1s ease 1s both, bounce 2s infinite 2s;
}

.scroll-down i {
  font-size: 1.2rem;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Page Banner */
.page-banner {
  position: relative;
  height: 60vh;
  min-height: 360px;
  background-image: url("/assets/images/banner-advocacia.webp");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 0;
  overflow: hidden;
}

.page-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.page-banner-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
  color: var(--light-color);
}

.page-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--secondary-color);
  animation: fadeInUp 1s ease 0.3s both;
}

/* Serviços Destaque */
.services-highlight {
  padding: 100px 0;
  position: relative;
}

/* Centralização dos cards de serviço */
.services-grid.centered {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Ensure card doesn't block pointer events */
  pointer-events: auto;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(139, 0, 0, 0.3), transparent 70%);
  transition: all 0.8s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  top: 0;
  left: 0;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg);
  background-color: var(--primary-color);
  color: var(--secondary-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--secondary-color);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  transition: var(--transition);
}

.service-card h3 {
  margin-bottom: 15px;
  transition: var(--transition);
}

.service-card p {
  margin-bottom: 20px;
  transition: var(--transition);
  flex-grow: 1;
}

.service-link {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
  margin-top: auto;
  align-self: center;
  /* Force link to be clickable with higher z-index and pointer events */
  pointer-events: auto !important;
  position: relative;
  z-index: 100;
  cursor: pointer;
}

.service-link i {
  transition: var(--transition);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* Sobre Preview */
.about-preview {
  padding: 100px 0;
  background-color: rgba(255, 255, 255, 0.02);
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text {
  padding-right: 20px;
}

.section-subtitle {
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.about-image::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 5px solid var(--secondary-color);
  border-left: 5px solid var(--secondary-color);
}

.about-image::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-bottom: 5px solid var(--secondary-color);
  border-right: 5px solid var(--secondary-color);
}

.about-image img {
  border-radius: 10px;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.05);
}

/* Background elements */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  z-index: 1;
  opacity: 0.5;
}

.bg-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-color), transparent 70%);
  z-index: 0;
  opacity: 0.3;
}

.bg-circle-1 {
  top: -200px;
  right: -200px;
}

.bg-circle-2 {
  bottom: -200px;
  left: -200px;
}

.bg-circle-footer {
  bottom: -350px;
  right: -350px;
}

/* Depoimentos */
.testimonials {
  padding: 100px 0;
  position: relative;
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
  scrollbar-width: none;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-item {
  min-width: 350px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  transition: var(--transition);
}

.testimonial-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.1);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  position: relative;
  padding: 0 20px;
}

.testimonial-content p::before,
.testimonial-content p::after {
  content: '"';
  font-size: 2rem;
  color: var(--secondary-color);
  position: absolute;
}

.testimonial-content p::before {
  top: -10px;
  left: 0;
}

.testimonial-content p::after {
  bottom: -20px;
  right: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--secondary-color);
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-info p {
  margin-bottom: 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* CTA Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--light-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.cta-section .btn-primary {
  background-color: var(--secondary-color);
  color: var(--dark-color);
}

.cta-section .btn-primary:hover {
  background-color: #c5a22f;
  color: var(--dark-color);
}

/* Footer */
.main-footer {
  background: linear-gradient(to top, #0a0a0a, #1a1a1a);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.footer-logo {
  max-width: 180px;
}

.footer-logo img {
  width: 100%;
}

.footer-social {
  text-align: right;
}

.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-family: var(--font-secondary);
  letter-spacing: 1px;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--secondary-color), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  color: var(--dark-color);
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon i {
  position: relative;
  z-index: 1;
  font-size: 1.2rem;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  margin: 20px 0;
  box-shadow: 0 0 10px var(--secondary-color);
}

.footer-copyright {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
  position: relative;
  z-index: 2;
}

.footer-copyright a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-copyright a:hover {
  text-decoration: underline;
}

/* Team Page Styles */
.team-section {
  padding: 100px 0;
  position: relative;
}

.team-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.team-members {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 100px;
  flex-wrap: wrap;
}

.team-card {
  width: 300px;
  height: 400px;
  perspective: 1000px;
  position: relative;
}

.team-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.team-card:hover .team-card-inner {
  transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.team-card-front {
  background-color: rgba(255, 255, 255, 0.05);
}

.team-card-back {
  background-color: rgba(255, 255, 255, 0.08);
  transform: rotateY(180deg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  padding-right: 20px;
}

.team-card-image {
  height: 80%;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-name {
  height: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  /* Added proper styling for team member names on card front */
  padding: 15px;
  border-top: 2px solid var(--secondary-color);
}

.team-card-name h3 {
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
  /* Enhanced typography for names */
  color: var(--light-color);
  font-family: var(--font-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team-card-back h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
  flex-shrink: 0;
}

.team-card-back p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.team-card-back::-webkit-scrollbar {
  width: 5px;
}

.team-card-back::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.team-card-back::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

.team-card-back::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Responsive styles for team cards on mobile */
@media (max-width: 768px) {
  .team-members {
    gap: 30px;
  }

  .team-card {
    width: 100%;
    max-width: 350px;
  }
}

@media (max-width: 480px) {
  .team-card {
    max-width: 300px;
  }
}

/* History Section */
.history-section {
  padding: 100px 0;
  position: relative;
  background-color: rgba(255, 255, 255, 0.02);
}

.history-title {
  text-align: center;
  margin-bottom: 80px;
}

.history-timeline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.history-item {
  width: 45%;
  max-width: 500px;
  perspective: 1000px;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s, transform 0.8s;
}

.history-item.animated {
  opacity: 1;
  transform: translateY(0);
}

.history-item:nth-child(odd) {
  transform: translateY(30px) translateX(-30px);
}

.history-item:nth-child(even) {
  transform: translateY(30px) translateX(30px);
}

.history-item.animated:nth-child(odd) {
  transform: translateY(0) translateX(0);
}

.history-item.animated:nth-child(even) {
  transform: translateY(0) translateX(0);
}

.history-card {
  width: 100%;
  height: 300px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s;
}

.history-card:hover {
  transform: rotateY(180deg);
}

.history-card-front,
.history-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
}

.history-card-front {
  background-color: rgba(255, 255, 255, 0.05);
}

.history-card-back {
  background-color: rgba(255, 255, 255, 0.08);
  transform: rotateY(180deg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-y: auto;
  overflow-x: hidden;
}

.history-card-back::-webkit-scrollbar {
  width: 5px;
}

.history-card-back::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.history-card-back::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
}

.history-card-back::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.history-card-image {
  height: 85%;
  overflow: hidden;
}

.history-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.history-card:hover .history-card-image img {
  transform: scale(1.1);
}

.history-card-date {
  height: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
}

.history-card-date span {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  color: var(--secondary-color);
}

.history-card-back h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
  width: 100%;
  flex-shrink: 0;
}

.history-card-back p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  text-align: left;
  width: 100%;
}

/* Contact Page */
.contact-section {
  padding: 100px 0;
  position: relative;
}

.contact-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-form {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--light-color);
  font-family: var(--font-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 14px 30px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  display: block;
  width: 100%;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  transition: width 0.5s ease;
  z-index: 0;
}

.btn-submit:hover::before {
  width: 100%;
}

.btn-submit:hover {
  box-shadow: 0 8px 25px rgba(139, 0, 0, 0.5);
  transform: translateY(-3px);
}

.contact-info {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-icon {
  min-width: 50px;
  height: 50px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.info-content h4 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.info-content p,
.info-content a {
  margin-bottom: 0;
  font-size: 1rem;
}

.info-content a:hover {
  color: var(--secondary-color);
}

/* Social Bar */
.social-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.social-bar .social-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(139, 0, 0, 0.1);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  text-decoration: none;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  font-size: 1.3rem;
}

.social-bar .social-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--primary-color), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.social-bar .social-icon:hover {
  transform: translateY(-8px) scale(1.15);
  color: var(--secondary-color);
  box-shadow: 0 10px 25px rgba(139, 0, 0, 0.4);
  border-color: var(--secondary-color);
}

.social-bar .social-icon:hover::before {
  opacity: 1;
}

.social-bar .social-icon i {
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}

.social-bar .social-icon:hover i {
  color: var(--secondary-color);
}

/* Service Detail Pages */
.service-detail-section {
  padding: 100px 0;
  position: relative;
}

.service-detail-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.service-icon-large {
  width: 100px;
  height: 100px;
  background-color: rgba(212, 175, 55, 0.1);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 3rem;
  transition: var(--transition-slow);
  border: 2px solid var(--secondary-color);
}

.service-icon-large:hover {
  background-color: var(--secondary-color);
  color: var(--dark-color);
  transform: rotateY(360deg);
}

/* Added full-width content layout for service pages without images */
.service-detail-content-full {
  margin-top: 60px;
}

.service-detail-text-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.service-detail-text-centered h3 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.service-detail-text-centered p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: left;
}

.service-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.feature-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
}

.feature-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  min-width: 30px;
}

.feature-item span {
  font-size: 1rem;
  line-height: 1.5;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 60px;
}

.service-detail-text h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-size: 2rem;
}

.service-detail-text ul {
  padding-left: 20px;
  margin-top: 20px;
}

.service-detail-text ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 25px;
}

.service-detail-text ul li::before {
  content: "✓";
  color: var(--secondary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.service-detail-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: var(--transition-slow);
}

.service-detail-image:hover img {
  transform: scale(1.05);
}

/* Service Process Section */
.service-process {
  padding: 100px 0;
  position: relative;
  background-color: rgba(255, 255, 255, 0.02);
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}

.process-step {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  width: 100%;
  max-width: 250px;
  position: relative;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-step:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(139, 0, 0, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  transition: all 0.5s ease;
}

.process-step:hover .step-icon {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: rotateY(360deg);
}

.process-step h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.process-step p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Service Areas Section */
.service-areas {
  padding: 100px 0;
  position: relative;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.area-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.area-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
}

.area-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(139, 0, 0, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: all 0.5s ease;
}

.area-card:hover .area-icon {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: rotateY(360deg);
}

.area-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.area-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Added benefits section styles */
.benefits-section {
  padding: 100px 0;
  position: relative;
  background-color: rgba(255, 255, 255, 0.02);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.benefit-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefit-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(139, 0, 0, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: all 0.5s ease;
}

.benefit-item:hover .benefit-icon {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: rotateY(360deg);
}

.benefit-item h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.benefit-item p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Rights Section */
.rights-section {
  padding: 100px 0;
  background-color: rgba(255, 255, 255, 0.02);
  position: relative;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.right-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  gap: 20px;
  transition: all 0.5s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.right-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background-color: rgba(255, 255, 255, 0.08);
}

.right-icon {
  min-width: 60px;
  height: 60px;
  background-color: rgba(139, 0, 0, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.5s ease;
}

.right-card:hover .right-icon {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: rotateY(360deg);
}

.right-content h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: var(--secondary-color);
}

.right-content ul {
  padding-left: 20px;
}

.right-content ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 15px;
}

.right-content ul li::before {
  content: "•";
  color: var(--primary-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* FAQ Section */
.faq-section {
  padding: 100px 0;
  position: relative;
}

.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.faq-question {
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
}

.faq-toggle {
  width: 30px;
  height: 30px;
  background-color: rgba(139, 0, 0, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 30px 20px;
  max-height: 1000px;
}

.faq-answer p {
  margin-bottom: 0;
  line-height: 1.8;
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: rotate(45deg) scale(1);
  }
  50% {
    transform: rotate(45deg) scale(1.1);
  }
}
