/* Design System - ConexBr */
/* Todas as cores em HSL */

:root {
  --background: 0 0% 100%;
  --foreground: 210 20% 15%;

  --card: 0 0% 100%;
  --card-foreground: 210 20% 15%;

  --popover: 0 0% 100%;
  --popover-foreground: 210 20% 15%;

  /* Brazilian green inspired primary */
  --primary: 152 65% 35%;
  --primary-foreground: 0 0% 100%;

  /* Warm yellow accent */
  --secondary: 48 95% 53%;
  --secondary-foreground: 210 20% 15%;

  --muted: 210 25% 96%;
  --muted-foreground: 210 15% 45%;

  /* Brazilian blue accent */
  --accent: 214 85% 45%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 210 20% 88%;
  --input: 210 20% 88%;
  --ring: 152 65% 35%;

  --radius: 0.75rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1400px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid hsl(var(--border));
  background-color: hsla(var(--background), 0.95);
  backdrop-filter: blur(8px);
}

.header-container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
}

.logo-image {
  height: 3.5rem;
  width: auto;
  object-fit: contain;
}

/* Icons */
.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon-lg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Footer */
footer {
  background-color: hsl(var(--muted));
  padding: 3rem 0 1.5rem;
  margin-top: 0;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer-brand-text-primary {
  color: hsl(var(--primary));
}

.footer-brand-text-accent {
  color: hsl(var(--accent));
}

.footer-description {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: hsl(var(--foreground));
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  justify-content: center;
}

@media (min-width: 640px) {
  .footer-contact-item {
    justify-content: flex-start;
  }
}

.footer-contact-item svg {
  width: 1rem;
  height: 1rem;
}

.footer-contact-item a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: hsl(var(--foreground));
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .footer-social {
    justify-content: flex-start;
  }
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  text-decoration: none;
  transition: all 0.2s;
}

.footer-social a:hover {
  background-color: hsl(152, 65%, 28%);
  color: hsl(var(--primary-foreground));
}

.footer-social a.accent {
  background-color: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}

.footer-social a.accent:hover {
  background-color: hsl(214, 85%, 38%);
  color: hsl(var(--accent-foreground));
}

.footer-social a.instagram {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}

.footer-social a.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  opacity: 0.9;
  color: white;
}

.footer-social svg {
  width: 1rem;
  height: 1rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Landing Page Styles */
.lp-hero {
  background: linear-gradient(to bottom right, hsl(152, 65%, 35%), hsla(152, 65%, 35%, 0.9), hsl(214, 85%, 45%));
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.lp-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.3;
}

.lp-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.lp-hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.lp-hero-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  opacity: 0.95;
  margin-bottom: 2rem;
}

.lp-section {
  padding: 4rem 0;
}

.lp-section-alt {
  background-color: hsl(var(--muted));
}

.lp-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
  color: hsl(var(--foreground));
}

.lp-section-subtitle {
  font-size: 1.125rem;
  text-align: center;
  color: hsl(var(--muted-foreground));
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.lp-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.lp-feature-card {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.lp-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.lp-feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.lp-feature-icon.empresas {
  background: hsla(48, 95%, 53%, 0.15);
  color: hsl(48, 95%, 48%);
}

.lp-feature-icon.informacoes {
  background: hsla(214, 85%, 45%, 0.15);
  color: hsl(214, 85%, 45%);
}

.lp-feature-icon.classificados {
  background: hsla(152, 65%, 35%, 0.15);
  color: hsl(152, 65%, 35%);
}

.lp-feature-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: hsl(var(--foreground));
}

.lp-feature-card p {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  font-size: 1rem;
}

.lp-video-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.lp-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.lp-apps-section {
  background: linear-gradient(135deg, hsl(152, 65%, 35%), hsl(214, 85%, 45%));
  padding: 4rem 0;
  text-align: center;
  color: white;
}

.lp-apps-content {
  max-width: 700px;
  margin: 0 auto;
}

.lp-apps-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.lp-apps-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.lp-app-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

.lp-app-buttons a {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.lp-app-buttons a:hover {
  transform: translateY(-4px);
  opacity: 0.9;
}

.lp-app-buttons img {
  height: 60px;
  width: auto;
}

@media (max-width: 768px) {
  .lp-hero {
    padding: 4rem 0 3rem;
  }
  
  .lp-hero-content h1 {
    font-size: 2rem;
  }
  
  .lp-hero-content p {
    font-size: 1.125rem;
  }
  
  .lp-section-title {
    font-size: 2rem;
  }
  
  .lp-section {
    padding: 3rem 0;
  }
  
  .lp-features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .lp-app-buttons {
    flex-direction: column;
  }
  
  .lp-app-buttons img {
    height: 50px;
  }
}

/* FAQ Styles */
.lp-faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.lp-faq-item {
  background: hsl(var(--card));
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.2s;
}

.lp-faq-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.lp-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  padding: 0;
  background: none;
  border: none;
  text-align: left;
  color: hsl(var(--foreground));
  line-height: 1.4;
  cursor: pointer;
  transition: color 0.2s;
}

.lp-faq-question:hover {
  color: hsl(var(--primary));
}

.lp-faq-question span {
  flex: 1;
}

.lp-faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: hsl(var(--muted-foreground));
}

.lp-faq-item.active .lp-faq-icon {
  transform: rotate(180deg);
  color: hsl(var(--primary));
}

.lp-faq-answer {
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  font-size: 1rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0 0 0;
}

.lp-faq-item.active .lp-faq-answer {
  max-height: 2000px;
  padding: 1rem 0 0 0;
}

.lp-faq-answer p {
  margin-bottom: 1rem;
}

.lp-faq-answer p:last-child {
  margin-bottom: 0;
}

.lp-faq-answer ul,
.lp-faq-answer ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.lp-faq-answer ul {
  list-style-type: disc;
}

.lp-faq-answer ol {
  list-style-type: decimal;
}

.lp-faq-answer li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .lp-faq-item {
    padding: 1.5rem;
  }
  
  .lp-faq-question {
    font-size: 1.25rem;
    gap: 0.75rem;
  }
  
  .lp-faq-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .lp-faq-answer {
    font-size: 0.9375rem;
  }
}