/* /opt/webpage/css/style.css (Etapas 1 e 2) */

:root {
  --bg-dark: #080808;
  --bg-panel: #121212;
  --bg-panel-light: #1a1a1a;
  --accent-red: #a31d24; /* Baseado no vermelho carmesim do logo */
  --accent-red-hover: #c4232b;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Botões --- */
.btn-primary {
  background-color: var(--accent-red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: 1px solid var(--accent-red);
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  border-color: var(--accent-red-hover);
  box-shadow: 0 4px 15px rgba(163, 29, 36, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
}

/* --- Header --- */
#main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background-color: transparent;
  border-bottom: 1px solid transparent;
}

#main-header.scrolled {
  background-color: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 50%; /* Arredondamento suave caso a imagem tenha fundo branco nas bordas */
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.logo-text strong {
  font-weight: 700;
  color: var(--accent-red);
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-red);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.hero-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(163,29,36,0.15) 0%, rgba(8,8,8,0) 70%);
  z-index: 1;
  pointer-events: none;
}

/* --- Sobre a Empresa --- */
.about-section {
  padding: 100px 24px;
  background-color: var(--bg-panel);
  border-top: 1px solid var(--border-color);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background-color: var(--bg-panel-light);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateX(10px);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-card.highlight {
  border-left: 4px solid var(--accent-red);
}

.stat-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Animações --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsividade Básica --- */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
}

/* --- Seção de Soluções (Australis Chat) --- */
.solutions-section {
  padding: 100px 24px;
  background-color: var(--bg-dark);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.badge-subtitle {
  color: var(--accent-red);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  background-color: var(--bg-panel);
  padding: 32px 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.feature-card.highlight-border {
  border-color: rgba(163, 29, 36, 0.4);
}

.feature-icon {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.feature-icon.red {
  color: var(--accent-red);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Abas Interativas --- */
.tabs-section {
  padding: 80px 24px;
  background-color: var(--bg-panel);
  border-top: 1px solid var(--border-color);
}

.tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: var(--bg-panel-light);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  background-color: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
}

.tabs-content {
  background-color: var(--bg-panel-light);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.tab-pane h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.tab-pane p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- CTA e Embed Agendamento --- */
.cta-section {
  padding: 100px 24px;
  background-color: var(--bg-dark);
  border-top: 1px solid var(--border-color);
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-contact-info p {
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cta-contact-info i {
  color: var(--accent-red);
}

.cta-embed iframe {
  width: 100%;
  height: 550px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  background-color: var(--bg-panel);
}

/* --- Rodapé --- */
.main-footer {
  background-color: var(--bg-panel);
  border-top: 1px solid var(--border-color);
  padding-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.brand-col p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 350px;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding: 24px;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- Keyframes --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Ajustes Responsivos para CTA e Footer --- */
@media (max-width: 900px) {
  .cta-container, .footer-container {
    grid-template-columns: 1fr;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
