/* ============================================
   Concilia Pix - Estilos Principais
   Design: Minimalismo Corporativo
   Cores: Azul #1e40af | Verde #10b981
   Tipografia: Poppins (títulos) + Inter (corpo)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

ul {
  list-style: none;
}

/* === Container === */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
}

/* === Botões === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1e40af, #2563eb);
  box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: #1e40af;
  color: #1e40af;
}

.btn-outline:hover {
  background: #eff6ff;
}

.btn-white {
  background: #ffffff;
  color: #1e40af;
}

.btn-white:hover {
  background: #f3f4f6;
}

.btn-outline-white {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
}

/* === Navegação === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-logo img {
  max-height: 3rem;
  height: auto;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.navbar-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

.navbar-menu a {
  color: #4b5563;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.navbar-menu a:hover {
  color: #1e40af;
}

.navbar-menu a.btn-primary,
.navbar-menu a.btn-primary:visited,
.navbar-menu a.btn-primary:hover,
.navbar-menu a.btn-primary:focus-visible {
  color: #ffffff;
}

.navbar-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: #1f2937;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: #4b5563;
  font-weight: 500;
  border-radius: 0.5rem;
}

.mobile-menu a:hover {
  background: #f3f4f6;
  color: #1e40af;
}

@media (min-width: 768px) {
  .navbar-menu { display: flex; }
  .navbar-toggle { display: none; }
}

/* === Hero Section === */
.hero {
  padding: 6rem 0;
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 50%, #ffffff 100%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  animation: fadeIn 0.6s ease-out;
}

.hero h1 {
  font-size: 2.5rem;
  color: #1e40af;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-divider {
  width: 4rem;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #3b82f6);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.hero p.subtitle {
  font-size: 1.25rem;
  color: #374151;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-image {
  display: none;
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d1fae5, #dbeafe, #bfdbfe);
  border-radius: 1rem;
  filter: blur(40px);
  opacity: 0.6;
}

.hero-image-card {
  position: relative;
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border: 1px solid #dbeafe;
}

.hero-image-card img {
  height: 24rem;
  width: auto;
  object-fit: cover;
  border-radius: 0.75rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  .hero h1 { font-size: 3rem; }
  .hero-image { display: flex; align-items: center; justify-content: center; }
  .hero-buttons { flex-direction: row; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}

/* === Carousel Section === */
.carousel-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #eff6ff 0%, #ffffff 100%);
}

.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: 1.875rem;
  color: #111827;
  margin-bottom: 1rem;
}

.section-header p {
  color: #6b7280;
  font-size: 1.125rem;
}

.carousel {
  position: relative;
  width: 100%;
  background: #111827;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.carousel-inner {
  position: relative;
  height: 24rem;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent, transparent);
}

.carousel-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 2rem;
  color: #ffffff;
}

.carousel-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.carousel-info p {
  font-size: 0.875rem;
  color: #d1d5db;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-btn.prev { left: 1rem; }
.carousel-btn.next { right: 1rem; }

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.carousel-dot {
  height: 0.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.5);
  width: 0.5rem;
}

.carousel-dot.active {
  background: #ffffff;
  width: 2rem;
}

@media (min-width: 768px) {
  .carousel-inner { height: 31rem; }
  .carousel-info h3 { font-size: 1.875rem; }
  .carousel-info p { font-size: 1rem; }
}

@media (min-width: 1024px) {
  .carousel-inner { height: 37.5rem; }
}

/* === Problems Section === */
.problems {
  padding: 5rem 0;
  background: #f9fafb;
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.problem-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #f97316;
  transition: box-shadow 0.3s;
}

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

.problem-card p {
  color: #374151;
  font-weight: 500;
}

@media (min-width: 768px) {
  .problems-grid { grid-template-columns: 1fr 1fr; }
}

/* === Solution Section === */
.solution {
  padding: 5rem 0;
}

.solution-content {
  max-width: 56rem;
  margin: 0 auto;
}

.solution h2 {
  font-size: 1.875rem;
  color: #1e40af;
  margin-bottom: 2rem;
}

.solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.solution-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.solution-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.solution-list li span {
  color: #374151;
}

.solution-placeholder {
  background: #eff6ff;
  border-radius: 0.75rem;
  padding: 2rem;
  height: 20rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.solution-placeholder svg {
  width: 4rem;
  height: 4rem;
  color: #1e40af;
  margin: 0 auto 1rem;
}

.solution-placeholder p {
  color: #6b7280;
}

@media (min-width: 768px) {
  .solution-grid { grid-template-columns: 1fr 1fr; }
  .solution h2 { font-size: 2.25rem; }
}

/* === Mobile App Section === */
.mobile-app {
  padding: 5rem 0;
  background: linear-gradient(135deg, #ecfdf5 0%, #eff6ff 100%);
}

.mobile-app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.mobile-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mobile-screenshot {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.mobile-app-info h2 {
  font-size: 1.875rem;
  color: #111827;
  margin-bottom: 1rem;
}

.mobile-app-info > p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-list li span {
  color: #374151;
}

@media (min-width: 768px) {
  .mobile-app-grid { grid-template-columns: 1fr 1fr; }
  .mobile-app-info h2 { font-size: 2.25rem; }
}

/* === Benefits Section === */
.benefits {
  padding: 5rem 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.benefit-card {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s;
  display: flex;
  gap: 0.75rem;
}

.benefit-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #bfdbfe;
}

.benefit-card p {
  color: #374151;
  font-weight: 500;
}

@media (min-width: 768px) {
  .benefits-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* === Access Levels Section === */
.access-levels {
  padding: 5rem 0;
  background: #f9fafb;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.access-card {
  background: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all 0.3s;
}

.access-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: #bfdbfe;
}

.access-card svg {
  width: 2.5rem;
  height: 2.5rem;
  color: #1e40af;
  margin: 0 auto 1rem;
}

.access-card h3 {
  font-size: 1.125rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.access-card p {
  font-size: 0.875rem;
  color: #6b7280;
}

@media (min-width: 1024px) {
  .access-grid { grid-template-columns: repeat(4, 1fr); }
}

/* === Audit Section === */
.audit {
  padding: 5rem 0;
}

.audit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.audit-info h2 {
  font-size: 1.875rem;
  color: #111827;
  margin-bottom: 1rem;
}

.audit-info > p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .audit-grid { grid-template-columns: 1fr 1fr; }
  .audit-info h2 { font-size: 2.25rem; }
}

/* === FAQ Section === */
.faq {
  padding: 5rem 0;
  background: #f9fafb;
}

.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.faq-question .chevron {
  width: 1.25rem;
  height: 1.25rem;
  color: #1e40af;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-question .chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  padding-top: 1rem;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer p {
  color: #6b7280;
  line-height: 1.7;
}

/* === Contact Section === */
.contact {
  padding: 5rem 0;
  background: #ffffff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 1.875rem;
  color: #111827;
  margin-bottom: 1rem;
}

.contact-info > p {
  color: #6b7280;
  margin-bottom: 2rem;
}

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

.contact-app-image {
  margin-top: 2.75rem;
  text-align: center;
}

.contact-app-image img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-detail {
  display: flex;
  gap: 1rem;
}

.contact-detail-icon {
  background: #eff6ff;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #1e40af;
}

.contact-detail h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.contact-detail p {
  color: #6b7280;
}

.contact-form-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #1f2937;
  background: #ffffff;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #1e40af;
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.15);
}

.form-group textarea {
  resize: none;
  min-height: 100px;
}

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-info h2 { font-size: 2.25rem; }
}

/* === CTA Section === */
.cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1e3a8a, #1e40af);
  color: #ffffff;
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.125rem;
  color: #bfdbfe;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons { flex-direction: row; }
  .cta h2 { font-size: 2.25rem; }
}

/* === Footer === */
.footer {
  background: #111827;
  color: #9ca3af;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand img {
  width: 300px;
  height: 75px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
}

.footer-links h4 {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* === Modal === */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: #ffffff;
  border-radius: 0.75rem;
  width: 100%;
  max-width: 28rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  animation: modalIn 0.3s ease-out;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  font-size: 1.5rem;
  color: #111827;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 0.25rem;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #111827;
}

.modal-body {
  padding: 1.5rem;
}

.modal-buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-buttons .btn {
  flex: 1;
}

/* === SVG Icons === */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-check {
  color: #10b981;
}

.icon-check-blue {
  color: #1e40af;
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* === Toast Notification === */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #065f46;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 200;
  animation: fadeIn 0.3s ease-out;
  display: none;
  font-weight: 500;
}

.toast.active {
  display: block;
}

.toast.error {
  background: #991b1b;
}
