/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #9f0000; 
  --primary-dark: #770000; 
  --secondary: #FFD700; 
  --text-dark: #333333;
  --text-light: #FFFFFF;
  --background-light: #F8F9FA;
  --background-dark: #2C0000; 
  --accent: #E6B800; 
  --gray-light: #E9ECEF;
  --gray-medium: #6C757D;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
/*
a:hover {
  color: var(--primary-dark);
}
  */

img {
  max-width: 100%;
  height: auto;
}

.monet {
  font-family: Montserrat, sans-serif;
}
.iA {
  font-family: Montserrat, sans-serif;
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 6rem 0 2rem 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.25rem;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--gray-light);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-accent {
  background-color: var(--secondary);
  color: var(--background-dark);
}

.btn-accent:hover {
  background-color: var(--accent);
}

.text-center {
  text-align: center;
}

.right {
  float: right;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 1000;
    color: white;
    background-color: #5A0000;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
    padding: 1rem 0px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-logo {
  font-family: Montserrat, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.navbar-logo span:first-child {
  color: var(--text-light);
}

.navbar-logo span:last-child {
  color: var(--accent);
}

.navbar-menu {
  display: flex;
  list-style: none;
}

.navbar-item {
  margin-left: 1.5rem;
}

.navbar-link {  
    color: white;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FFD700;
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

/* Hero Section */
.hero {
  background: 
    linear-gradient(rgba(77, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
    url('../images/hero.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  color: var(--text-light);
  padding: 5rem 0;
  position: relative;
}

.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  text-align: center;
}

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

.hero-title {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Problem Section */
.problem {
  background-color: var(--background-light);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.problem-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.problem-icon {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.problem-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Solution Section */
.solution {
  background-color: white;
}

.solution-flex {
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}

.solution-content {
  flex: 1;
  padding-right: 2rem;
}

.solution-image {
  flex: 1;
  background-color: #EFEEE3;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.solution-card {
  background-color: var(--background-light);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.solution-icon {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.solution-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Target segments section styles */
.target-segments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.target-segment-card {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.target-segment-icon {
    font-size: 2.5rem;
    color: #C00000;
    margin-bottom: 1.5rem;
}

.target-segment-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.target-segment-description {
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .target-segments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .target-segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .target-segments-grid {
        grid-template-columns: 1fr;
    }
}


/* Differentials Section */
.differentials {
  background: linear-gradient(to right, var(--background-dark), var(--primary));
  color: var(--text-light);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.differential-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.differential-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.differential-icon {
  color: var(--secondary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.differential-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* How It Works Section */
.how-it-works {
  background-color: var(--background-light);
}

.process-container {
  position: relative;
  margin-top: 3rem;
}

.process-line {
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary);
  z-index: 1;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.process-number {
  width: 4rem;
  height: 4rem;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.process-content {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.process-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Use Cases Section */
.use-cases {
  background-color: white;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.use-case-card {
  background-color: white;
  border: 1px solid var(--gray-light);
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.use-case-icon {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.use-case-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.use-case-list {
  list-style-position: inside;
  margin-top: 1rem;
}

.use-case-item {
  margin-bottom: 0.5rem;
}

/* Contact Form Section */
.contact {
  background: linear-gradient(to right, var(--background-dark), var(--primary));
  color: var(--text-light);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.form-success {
  text-align: center;
  padding: 2rem;
}

.form-success-icon {
  color: #28a745;
  font-size: 4rem;
  margin-bottom: 1rem;
}

.form-success-title {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-success-message {
  color: var(--gray-medium);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  color: var(--text-dark);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
  background-color: white;
  border: 1px solid var(--gray-light);
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(192, 0, 0, 0.25); /* Adjusted focus shadow color */
}

.form-control.error {
  border-color: #dc3545;
}

.form-error {
  color: #dc3545;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-check-input {
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.form-check-label {
  font-size: 0.875rem;
}

.form-text {
  font-size: 0.75rem;
  color: var(--gray-medium);
}

.form-submit {
  grid-column: span 2;
}

.btn-submit {
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--background-dark);
  color: var(--gray-light);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  font-family: Montserrat, sans-serif;
}

.footer-logo span:first-child {
  color: white;
}

.footer-logo span:last-child {
  color: var(--accent);
}

.footer-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

.footer-social-link {
  color: var(--gray-light);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

.footer-social-link:hover {
  color: var(--accent);
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-link-item {
  margin-bottom: 0.75rem;
}

.footer-link {
  color: var(--gray-light);
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  color: var(--secondary);
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.footer-contact-text {
  color: var(--gray-light);
}

.footer-newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.footer-newsletter-input {
  flex: 1;
  padding: 0.75rem;
  border: none;
  border-radius: 0.375rem 0 0 0.375rem;
}

.footer-newsletter-button {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 0 0.375rem 0.375rem 0;
  padding: 0 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.footer-newsletter-button:hover {
  background-color: var(--primary-dark);
}

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

.footer-copyright {
  color: var(--gray-medium);
  font-size: 0.875rem;
}

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

.footer-legal-link {
  color: var(--gray-medium);
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: white;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
  }
  
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .solution-flex {
    flex-direction: column;
  }
  
  .solution-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .process-line {
    display: none;
  }
  
  .process-steps {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 6rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #5A0000;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .navbar-item {
    margin: 0.5rem 0;
  }
  
  .navbar-toggle {
    display: block;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .form {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width,
  .form-submit {
    grid-column: span 1;
  }
}

/* css/styles.css - ADIÇÕES PARA solucao.html e especialistas.html */

/* Estilo para cabeçalho de página genérico, se diferente do .hero */
.page-header {
  /* padding-top: 120px; /* Já definido inline, ajuste globalmente se preferir */
  /* padding-bottom: 3rem; */
}
.page-header .section-subtitle { /* Para garantir cor correta no fundo claro */
    color: var(--gray-medium);
}


/* Estilos para a lista com ícones na seção Billing Transversal (solucao.html) */
.list-styled {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}
.list-styled li {
    padding-left: 2.5rem; /* Espaço para o ícone */
    position: relative;
    margin-bottom: 1rem;
    line-height: 1.7;
}
.list-styled .icon-list {
    position: absolute;
    left: 0;
    top: 5px; /* Ajuste vertical */
    font-size: 1.5rem; /* Tamanho do ícone da lista */
    color: var(--primary); /* Cor primária para ícones de lista */
}

/* Estilos para a página de Especialistas */
.persona-header {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza horizontalmente */
    gap: 1rem;
    margin-bottom: 0.5rem; /* Reduzido para aproximar do subtítulo */
    text-align: center; /* Garante que o título também se centralize se o flex não ocupar tudo */
}

.persona-icon-bg {
    width: 60px; /* Tamanho do círculo de fundo */
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Impede que o círculo encolha */
}

.persona-icon-bg i {
    font-size: 2rem; /* Tamanho do ícone dentro do círculo */
}

.persona-section-title {
    font-size: 2rem; /* Ajuste o tamanho do título da seção da persona */
    margin-bottom: 0; /* Remove margem inferior para ficar mais próximo do subtítulo */
    color: var(--text-dark);
}

.persona-intro {
    font-size: 1.1rem;
    color: var(--gray-medium);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}

/* Listas estilizadas para Desafios e Como <span class="monet">Monet</span><span class="iA">iA</span> Ajuda */
.list-styled.dashed li::before {
  content: "\f068"; /* fas fa-minus (traço) do FontAwesome */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--primary-dark); /* Cor para os bullets de desafios */
  position: absolute;
  left: 0;
  top: 7px; /* Ajuste vertical */
  font-size: 0.9em;
}

.list-styled.checkmark li::before {
  content: "\f058"; /* fas fa-check-circle do FontAwesome */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #28a745; /* Verde para os bullets de soluções/ajuda */
  position: absolute;
  left: 0;
  top: 5px; /* Ajuste vertical */
}

/* Garante que o solution-content tenha um bom espaçamento quando em layout flex */
.solution-flex .solution-content {
    flex-basis: 48%; /* Para que caibam dois lado a lado com um gap */
}
@media (max-width: 992px) { /* Ajuste para telas menores se .solution-flex já não faz isso */
    .solution-flex .solution-content {
        flex-basis: 100%;
        padding-right: 0; /* Remove padding se não houver imagem ao lado */
    }
    .persona-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    .persona-section-title {
        font-size: 1.8rem;
    }
}

/* Seção de CTA no final da página de especialistas */
#cta-especialistas .section-title,
#cta-especialistas .section-subtitle {
    color: var(--text-light); /* Garante cor clara no fundo escuro/primário */
}

.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.6;
}

.legal-content h1 {
    color: #990000;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.legal-content h2 {
    color: #990000;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #333;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    font-weight: 600;
}

.legal-content .last-updated {
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
}

.legal-content .footer-note {
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #666;
    text-align: center;
}

.legal-nav {
    background-color: #f5f5f5;
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    border-radius: 5px;
}

.legal-nav a {
    margin-right: 1.5rem;
    color: #990000;
    text-decoration: none;
    font-weight: 500;
}

.legal-nav a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.2rem;
    }
}