/*
Theme Name: Apex Protocolo Agenda Premium
Description: Professional WordPress theme for dental clinic marketing landing page promoting the "Protocolo Agenda Premium" service with conversion-optimized design
Version: 1.0
Author: Apex Soluções Digitais
*/

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

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #f9fafb;
}

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

/* Apex Brand Colors */
:root {
  --apex-blue: #1e40af; /* Primary blue */
  --apex-blue-darker: #1e3a8a; /* Darker blue for hover, etc. */
  --apex-blue-light: #3b82f6;
  --apex-blue-lighter: #60a5fa;
  --apex-success: #10b981;
  --apex-required-red: #ef4444; 
}

/* Header Styles */
.attention-bar {
  background: linear-gradient(135deg, var(--apex-blue) 0%, var(--apex-blue-light) 100%);
  color: white;
  padding: 0.75rem 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.attention-badge {
  background: white;
  color: var(--apex-blue);
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: bold;
  margin-right: 0.5rem;
}

.site-header {
  background: white;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  text-align: center;
}

.logo {
  height: 3rem;
  width: auto;
}

/* Main Content Styles */
.hero-section {
  background: white;
  padding: 3rem 0 5rem;
  text-align: center;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero-highlight {
  background: linear-gradient(to right, var(--apex-blue-light), var(--apex-blue-lighter));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  background: linear-gradient(135deg, var(--apex-blue) 0%, var(--apex-blue-light) 100%);
  color: white;
  font-weight: bold;
  font-size: 1.125rem;
  padding: 1.5rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--apex-blue-darker) 0%, var(--apex-blue) 100%);
  transform: scale(1.05);
  color: white;
  text-decoration: none;
}

/* Section Styles */
.section {
  padding: 5rem 0;
}

.section-gray {
  background: #f9fafb;
}

.section-white {
  background: white;
}

.section-title {
  font-size: 2.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 3rem;
  text-align: center;
}

.section-content {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.7;
  max-width: 64rem;
  margin: 0 auto;
}

.section-content p {
  margin-bottom: 1.5rem;
}

.highlight-card {
  background: white;
  border-left: 4px solid var(--apex-blue-light);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin: 2rem 0;
  border-radius: 0.5rem;
}

.highlight-card p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem auto;
  max-width: 64rem;
}

.metric-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.metric-card.green {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #bbf7d0;
}

.metric-card.blue {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
}

.metric-value {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.metric-card.green .metric-value {
  color: #047857;
}

.metric-card.blue .metric-value {
  color: #1d4ed8;
}

.metric-label {
  font-weight: 500;
}

.metric-card.green .metric-label {
  color: #059669;
}

.metric-card.blue .metric-label {
  color: #2563eb;
}

/* Dashboard Screenshot */
.dashboard-card {
  background: #f3f4f6;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  border-radius: 0.75rem;
  margin: 3rem 0;
}

.dashboard-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
  text-align: center;
}

.dashboard-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  border-radius: 0.75rem;
  transition: box-shadow 0.3s;
}

.benefit-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.benefit-icon.green {
  background: #dcfce7;
}

.benefit-icon.blue {
  background: #dbeafe;
}

.benefit-icon.purple {
  background: #f3e8ff;
}

.benefit-icon.orange {
  background: #fed7aa;
}

.benefit-icon.indigo {
  background: #e0e7ff;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #111827;
  margin-bottom: 1rem;
}

.benefit-description {
  color: #4b5563;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  background: #111827;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-text {
  color: #d1d5db;
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .logo {
    height: 4rem;
  }
}

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

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}

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

.strong-blue {
  color: var(--apex-blue);
  font-weight: 600;
}


/* --- FORM STYLES --- */
.section-form {
  background-color: #f0f4f8; /* Lighter gray for distinct section */
  padding: 4rem 0;
}

.form-container-wrapper {
  max-width: 48rem; 
  margin: 0 auto; /* Centralized */
  background: #ffffff;
  padding: 2.5rem; 
  border-radius: 0.75rem; /* 12px */
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0; 
}

.form-container-wrapper .form-section-title { /* Custom class for form title */
  font-size: 1.875rem; /* 30px, smaller than main section titles */
  font-weight: 700;
  color: #1a202c; /* Darker text */
  margin-bottom: 0.75rem;
  text-align: center;
}

.form-container-wrapper .form-subtitle {
  text-align: center;
  color: #4a5568; /* Slightly darker gray for readability */
  margin-bottom: 2.5rem;
  font-size: 1rem; /* 16px */
  line-height: 1.6;
}

#consultoriaForm .form-group {
  margin-bottom: 1.5rem; /* 24px */
}

#consultoriaForm label {
  display: block;
  font-weight: 600; /* Semibold */
  color: #2d3748; /* Darker label color */
  margin-bottom: 0.5rem; /* 8px */
  font-size: 0.875rem; /* 14px */
}

#consultoriaForm .required-asterisk {
  color: var(--apex-required-red); 
  margin-left: 0.25rem;
}

#consultoriaForm input[type="text"],
#consultoriaForm input[type="email"],
#consultoriaForm input[type="tel"],
#consultoriaForm select {
  width: 100%;
  padding: 0.875rem 1rem; /* 14px 16px */
  border: 1px solid #cbd5e0; /* Tailwind gray-400 */
  border-radius: 0.5rem; /* 8px */
  font-size: 1rem; /* 16px */
  color: #2d3748;
  background-color: #fff;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  -webkit-appearance: none; /* For consistency on iOS */
  -moz-appearance: none;
  appearance: none;
}

#consultoriaForm input[type="text"]:focus,
#consultoriaForm input[type="email"]:focus,
#consultoriaForm input[type="tel"]:focus,
#consultoriaForm select:focus {
  border-color: var(--apex-blue-light); 
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25); 
  outline: none;
}

#consultoriaForm input::placeholder {
  color: #a0aec0; /* Tailwind gray-500 */
  font-size: 0.9375rem; /* 15px */
}

#consultoriaForm select {
  /* Custom arrow for select */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23718096'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.25em 1.25em;
  padding-right: 2.5rem; 
}

#consultoriaForm select option[disabled] {
    color: #a0aec0; /* Placeholder color */
}
/* Ensure selected option is not grayed out */
#consultoriaForm select option {
    color: #2d3748;
}

.form-submit-button {
  background-color: var(--apex-blue); /* UPDATED: Changed to primary blue */
  color: white;
  font-weight: bold;
  font-size: 1.125rem; /* 18px */
  padding: 0.875rem 1.5rem; /* 14px 24px */
  border-radius: 0.75rem; /* 12px */
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
  width: 100%; 
  text-transform: uppercase; 
  display: block; /* To ensure width 100% behaves as expected */
  line-height: 1.5; /* Improved text centering */
}

.form-submit-button:hover {
  background-color: var(--apex-blue-darker); /* UPDATED: Changed to darker blue for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.form-submit-button:active {
  transform: translateY(0px);
  box-shadow: none;
}

.form-submit-button:disabled {
    background-color: #cccccc;
    color: #888888;
    cursor: not-allowed;
    transform: translateY(0px);
    box-shadow: none;
}