/* CSS Variables - Based on Tailwind globals.css */
:root {
  --font-size: 14px;
  --background: #faf9f7;
  --foreground: #4a4a4a;
  --card: #ffffff;
  --card-foreground: #4a4a4a;
  --primary: #4a4a4a;
  --primary-foreground: #ffffff;
  --secondary: #f5f4f2;
  --secondary-foreground: #4a4a4a;
  --muted: #e8e6e3;
  --muted-foreground: #6b6b6b;
  --border: rgba(74, 74, 74, 0.1);
  --radius: 0.625rem;
  
  /* Service Colors */
  --blue-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8);
  --gray-gradient: linear-gradient(135deg, #181818, #181818);
  --green-gradient: linear-gradient(135deg, #10b981, #059669);
  --pink-gradient: linear-gradient(135deg, #ec4899, #be185d);
  --purple-gradient: linear-gradient(135deg, #8b5cf6, #7c3aed);
  --orange-gradient: linear-gradient(135deg, #f59e0b, #d97706);
  --indigo-gradient: linear-gradient(135deg, #6366f1, #4f46e5);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Header Styles */
.frivo-navbar {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

.navbar-brand {
  color: var(--primary) !important;
  font-size: 1.5rem;
}

.nav-link {
  color: var(--foreground) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary) !important;
}

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

.btn-primary:hover {
  background-color: rgba(74, 74, 74, 0.9);
  border-color: rgba(74, 74, 74, 0.9);
}

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

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

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.77vh; /* 16:9 aspect ratio */
    height: 100vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
    backdrop-filter: blur(400px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-text-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 0 15px;
}

/* .hero-text-content h1,
.hero-text-content p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
} */



.hero-content {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  padding-top: 20vh;
}


.hero-overlay {
    background: rgba(255, 255, 255, 0.808);
    backdrop-filter: blur(4px);
}



.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: rgba(74, 74, 74, 0.1);
  color: var(--primary);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-title {
  font-size: 3rem;         /* ajuste conforme seu layout */
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Section Styles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services-section {
  background-color: rgba(245, 244, 242, 0.3);
}

.service-card {
  background: var(--card);
  border: 1px solid rgba(74, 74, 74, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.service-buttons {
  display: flex;
  gap: 0.5rem;
}

.service-buttons .btn {
  flex: 1;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

/* About Section */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.team-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
}

.team-subtitle {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

.team-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  height: 450px;
  width: 100%;
  cursor: pointer;
  transition: all 0.7s ease;
  transform-style: preserve-3d;
  position: relative;
}

.team-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  
}

.team-card.flipped {
  
  transform: rotateY(180deg);
  overflow: visible;
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  
}

.card-back {
  transform: rotateY(180deg);
  padding: 1.5rem;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;

}

.team-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.responsibility-section {
  margin-bottom: 1.5rem;
}

.responsibility-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.responsibility-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.attributes-section .attributes-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.attribute-item {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.attribute-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  margin-right: 0.5rem;
}

.values-card {
  background: rgba(245, 244, 242, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.value-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  color: #555;
  font-size: 0.95rem;
}

.floating-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    animation: floaty 4.5s ease-in-out infinite;
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.floating-card .icon {
    color: #5A5A5A;
}

@keyframes floaty {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}



.delay-1 { animation-delay: 0s; }
.delay-2 { animation-delay: 1s; }
.delay-3 { animation-delay: 2s; }

/* Portfolio Section */
.portfolio-section {
  background: rgba(245, 244, 242, 0.3);
}

.portfolio-item {
  display: none;
}

.portfolio-item.active {
  display: block;
}

.portfolio-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s ease;
}

.portfolio-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  position: relative;
}

.portfolio-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: #6b7280;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
}

.portfolio-growth {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.portfolio-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.portfolio-metric {
  font-size: 1.5rem;
  font-weight: 700;
}

.portfolio-metric-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-card {
  border: 2px solid;
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
}

.testimonial-quote {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--primary);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.author-name {
  font-weight: 600;
  color: var(--primary);
}

.author-company {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-rating {
  display: flex;
  align-items: center;
}

.star {
  color: #fbbf24;
  margin-right: 0.25rem;
}

.rating-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-left: 0.5rem;
}

.carousel-controls {
  margin-top: 2rem;
}

.carousel-indicators {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9ca3af;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.indicator.active {
  transform: scale(1.25);
}

/* Contact Section */
.contact-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
}

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

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: var(--primary-foreground);
  font-size: 1.25rem;
}

.contact-details h5 {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-details p {
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.contact-details small {
  color: var(--muted-foreground);
}

.consultation-card {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1.5rem;
  border-radius: var(--radius);
}

.consultation-card h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.consultation-card p {
  font-size: 0.875rem;
  opacity: 0.9;
  margin: 0;
}

.contact-form-card {
  border: 1px solid var(--border);
}

.contact-form-card .card-header {
  background: var(--secondary);
  border-bottom: 1px solid var(--border);
}

.contact-form-card .card-header h4 {
  color: var(--primary);
  margin: 0;
}

.form-control {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(74, 74, 74, 0.25);
}

.terms-section {
  background: rgba(245, 244, 242, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.terms-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.5rem;
}

.privacy-info {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
}

.privacy-info p {
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 2rem 0;
}

.footer-brand h4 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-contact a {
  color: var(--primary-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}

.footer-contact a:hover {
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  color: var(--primary-foreground);
  font-size: 1.25rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.1);
}

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

.footer-bottom p {
  font-size: 0.875rem;
  opacity: 0.8;
  margin: 0;
}

.footer-link {
  color: var(--primary-foreground);
  text-decoration: none;
  font-size: 0.875rem;
  margin-left: 1rem;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.8;
}

/* Social Sidebar */
.social-sidebar {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.social-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.social-btn:hover {
  transform: scale(1.1);
  color: white;
}

.whatsapp-btn {
  background: #222222;
}

.whatsapp-btn:hover {
  background: #22c55e;
}

.instagram-btn {
  background: #222222;
}

.instagram-btn:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Toast */
.toast {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .social-sidebar {
    bottom: 1rem;
    right: 1rem;
  }
  
  .footer-contact {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-bottom .row > div:last-child {
    text-align: start !important;
    margin-top: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-buttons {
    flex-direction: column;
  }
  
  .team-card {
    height: 350px;
  }
  
  .team-image {
    height: 200px;
  }
}

/* Utility Classes */
.text-muted {
  color: var(--muted-foreground) !important;
}

.dark {
  --background: #1a1917;
  --foreground: #f5f4f2;
  --card: #1a1917;
  --card-foreground: #f5f4f2;
  --popover: #1a1917;
  --popover-foreground: #f5f4f2;
  --primary: #f5f4f2;
  --primary-foreground: #1a1917;
  --secondary: #2d2b28;
  --secondary-foreground: #f5f4f2;
  --muted: #2d2b28;
  --muted-foreground: #a19b94;
  --accent: #2d2b28;
  --accent-foreground: #f5f4f2;
  --destructive: #dc2626;
  --destructive-foreground: #f5f4f2;
  --border: #2d2b28;
  --input: #2d2b28;
  --ring: #a19b94;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --chart-1: #8b7355;
  --chart-2: #a68b5b;
  --chart-3: #d4b896;
  --chart-4: #e8dcc6;
  --chart-5: #f2ede4;
  --sidebar: #1a1917;
  --sidebar-foreground: #f5f4f2;
  --sidebar-primary: #8b7355;
  --sidebar-primary-foreground: #f5f4f2;
  --sidebar-accent: #2d2b28;
  --sidebar-accent-foreground: #f5f4f2;
  --sidebar-border: #2d2b28;
  --sidebar-ring: #a19b94;
}



.bg-gradient-blue { background: var(--blue-gradient); }
.bg-gradient-gray { background: var(--gray-gradient); }
.bg-gradient-green { background: var(--green-gradient); }
.bg-gradient-pink { background: var(--pink-gradient); }
.bg-gradient-purple { background: var(--purple-gradient); }
.bg-gradient-orange { background: var(--orange-gradient); }
.bg-gradient-indigo { background: var(--indigo-gradient); }

/* Before elements for service features */
.service-features li.gray::before { background: #434343; }
.service-features li.blue::before { background: #3b82f6; }
.service-features li.green::before { background: #10b981; }
.service-features li.pink::before { background: #ec4899; }
.service-features li.purple::before { background: #8b5cf6; }
.service-features li.orange::before { background: #f59e0b; }
.service-features li.indigo::before { background: #6366f1; }